From: Gaute Hope <eg@gaute.vetsj.com>
To: Sup Talk <sup-talk@rubyforge.org>
Subject: Re: [sup-talk] exception --- RuntimeError from thread: poll after loading inbox
Date: Wed, 09 Nov 2011 20:52:28 +0100 [thread overview]
Message-ID: <1320868149-sup-368@qwerzila> (raw)
In-Reply-To: <CABKe4Mut=UnKFBt91UxgJu5NxOJ57iQPv464K=e5mS_jQUn1tA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 588 bytes --]
Excerpts from Gaute Hope's message of 2011-11-09 20:25:13 +0100:
> I am getting the same error now, after upgraded ruby and gems..
>
> bin/sup-sync:11: warning: method redefined; discarding old to_s
> /home/gaute/dev/ruby/sup.git/lib/sup.rb:18:in `id': wrong id called on
This seems to be due to the new yamler 'psych', by requiring the old one
'sych' before 'yaml' it can be loaded.
The proper fix is to expect content to be represented the way 'psych'
does it. This is not the same as the old way.
Also the gem spec date was in the wrong format, see both attached
patches.
- Gaute
[-- Attachment #2: 0001-Use-correct-date-format-for-gem-spec.patch --]
[-- Type: application/octet-stream, Size: 862 bytes --]
From b0611fdff831a4ca7c973b96690c176bc82ad48c Mon Sep 17 00:00:00 2001
From: Gaute Hope <eg@gaute.vetsj.com>
Date: Wed, 9 Nov 2011 20:43:25 +0100
Subject: [PATCH 1/2] Use correct date format for gem spec
---
Rakefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Rakefile b/Rakefile
index 860f69b..cdf2273 100644
--- a/Rakefile
+++ b/Rakefile
@@ -38,7 +38,7 @@ require 'rake/gempackagetask.rb'
spec = Gem::Specification.new do |s|
s.name = %q{sup}
s.version = SUP_VERSION
- s.date = Time.now.to_s
+ s.date = Time.now.strftime "%Y-%m-%d"
s.authors = ["William Morgan"]
s.email = %q{wmorgan-sup@masanjin.net}
s.summary = %q{A console-based email client with the best features of GMail, mutt, and emacs. Features full text search, labels, tagged operations, multiple buffers, recent contacts, and more.}
--
1.7.7.3
[-- Attachment #3: 0002-Use-old-syck-module-for-YAML-parsing.patch --]
[-- Type: application/octet-stream, Size: 499 bytes --]
From e4bcb6b373dac4954d5bb64707e8aca6595f66e6 Mon Sep 17 00:00:00 2001
From: Gaute Hope <eg@gaute.vetsj.com>
Date: Wed, 9 Nov 2011 20:43:49 +0100
Subject: [PATCH 2/2] Use old 'syck' module for YAML parsing
---
lib/sup.rb | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/lib/sup.rb b/lib/sup.rb
index 169b73e..74d5cde 100644
--- a/lib/sup.rb
+++ b/lib/sup.rb
@@ -1,4 +1,5 @@
require 'rubygems'
+require 'syck'
require 'yaml'
require 'zlib'
require 'thread'
--
1.7.7.3
next prev parent reply other threads:[~2011-11-09 19:59 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-07 9:17 hollunder
2011-11-07 21:27 ` Tero Tilus
2011-11-08 9:57 ` hollunder
2011-11-09 19:25 ` Gaute Hope
2011-11-09 19:52 ` Gaute Hope [this message]
2011-11-18 19:34 ` hollunder
2011-11-21 20:36 ` Gaute Hope
2011-11-21 20:16 ` Philipp Überbacher
2011-11-21 21:18 ` Michael Stapelberg
2011-11-21 22:15 ` Philipp Überbacher
2011-11-21 22:24 ` Michael Stapelberg
2011-11-22 8:39 ` Philipp Überbacher
2011-11-21 23:48 ` Gaute Hope
[not found] ` <1321953145-sup-1447@eris>
2011-11-22 15:10 ` Gaute Hope
2011-11-18 20:55 ` Michael Stapelberg
2011-11-19 0:33 ` [sup-talk] small patch and build error hollunder
2011-11-21 20:29 ` Gaute Hope
2011-11-29 20:39 ` [sup-talk] exception --- RuntimeError from thread: poll after loading inbox Johannes Janosovits
2011-11-29 22:19 ` Johannes Janosovits
2011-12-17 18:47 ` Hamish D
2011-11-08 13:39 ` Mark Alexander
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1320868149-sup-368@qwerzila \
--to=eg@gaute.vetsj.com \
--cc=sup-talk@rubyforge.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox