Bug#676114: Ruby help needed (Was: Bug#676114: wordnet: FTBFS: debian/wn-for-goldendict.rb:465: invalid multibyte char (US-ASCII))

2012-06-06 Thread Dmitry E. Oboukhov
Per Andersson escreveu isso aí: Please see the attached patch and try if it works. Heh, except that you missed other usages of the same pattern. Andreas, please try the attached patch. As Per explained, the problem is that in Ruby 1.8, a string is an array of bytes, so str[0] returns a

Bug#676114: Ruby help needed (Was: Bug#676114: wordnet: FTBFS: debian/wn-for-goldendict.rb:465: invalid multibyte char (US-ASCII))

2012-06-05 Thread Andreas Tille
Hi, Dmitry E. Oboukhov un...@debian.org has added some Ruby code to wordnet packaging (debian/wn-for-goldendict.rb) which worked for two years and at least up to Fri, 01 Jun 2012 13:45:40 +0200 when I did the last upload. Yesterday I wanted to try to fix two (unrelated) open bugs and realised

Bug#676114: Ruby help needed (Was: Bug#676114: wordnet: FTBFS: debian/wn-for-goldendict.rb:465: invalid multibyte char (US-ASCII))

2012-06-05 Thread Sam Ruby
On 06/05/2012 10:08 AM, Andreas Tille wrote: debian/wn-for-goldendict.rb:465: invalid multibyte char (US-ASCII) debian/wn-for-goldendict.rb:465: invalid multibyte char (US-ASCII) debian/wn-for-goldendict.rb:465: syntax error, unexpected $end, expecting ')' print_array(@words, 'Syn', [c

Bug#676114: Ruby help needed (Was: Bug#676114: wordnet: FTBFS: debian/wn-for-goldendict.rb:465: invalid multibyte char (US-ASCII))

2012-06-05 Thread Andreas Tille
Hi Sam, On Tue, Jun 05, 2012 at 11:26:42AM -0400, Sam Ruby wrote: On 06/05/2012 10:08 AM, Andreas Tille wrote: debian/wn-for-goldendict.rb:465: invalid multibyte char (US-ASCII) debian/wn-for-goldendict.rb:465: invalid multibyte char (US-ASCII) debian/wn-for-goldendict.rb:465: syntax error,

Bug#676114: Ruby help needed (Was: Bug#676114: wordnet: FTBFS: debian/wn-for-goldendict.rb:465: invalid multibyte char (US-ASCII))

2012-06-05 Thread Steve McIntyre
On Tue, Jun 05, 2012 at 04:08:51PM +0200, Andreas Tille wrote: Hi, Dmitry E. Oboukhov un...@debian.org has added some Ruby code to wordnet packaging (debian/wn-for-goldendict.rb) which worked for two years and at least up to Fri, 01 Jun 2012 13:45:40 +0200 when I did the last upload. Yesterday I

Bug#676114: Ruby help needed (Was: Bug#676114: wordnet: FTBFS: debian/wn-for-goldendict.rb:465: invalid multibyte char (US-ASCII))

2012-06-05 Thread Andreas Tille
Hi Steve, On Tue, Jun 05, 2012 at 06:10:55PM +0100, Steve McIntyre wrote: Any better hint? It sounds like you should replace the functionality of the script in a more suitable language, specifically: * one you (and other maintainers) understand * one that's stable and supported on all

Bug#676114: Ruby help needed (Was: Bug#676114: wordnet: FTBFS: debian/wn-for-goldendict.rb:465: invalid multibyte char (US-ASCII))

2012-06-05 Thread Steve McIntyre
On Tue, Jun 05, 2012 at 07:24:00PM +0200, Andreas Tille wrote: Hi Steve, On Tue, Jun 05, 2012 at 06:10:55PM +0100, Steve McIntyre wrote: Any better hint? It sounds like you should replace the functionality of the script in a more suitable language, specifically: * one you (and other

Bug#676114: Ruby help needed (Was: Bug#676114: wordnet: FTBFS: debian/wn-for-goldendict.rb:465: invalid multibyte char (US-ASCII))

2012-06-05 Thread Andreas Tille
On Tue, Jun 05, 2012 at 06:35:28PM +0100, Steve McIntyre wrote: Sounds like you made a mistake, I'm afraid. :-( My barrier to revert this mistake is low. If there is no simple solution in three days (OK, I'll be offline weekend+Monday - so there is some additional delay) - I'll kick the binary

Bug#676114: Ruby help needed (Was: Bug#676114: wordnet: FTBFS: debian/wn-for-goldendict.rb:465: invalid multibyte char (US-ASCII))

2012-06-05 Thread Per Andersson
tag 676114 + patch kthxbye Hi! On Tue, Jun 5, 2012 at 6:53 PM, Andreas Tille andr...@an3as.eu wrote: Hi Sam, On Tue, Jun 05, 2012 at 11:26:42AM -0400, Sam Ruby wrote: On 06/05/2012 10:08 AM, Andreas Tille wrote: debian/wn-for-goldendict.rb:465: invalid multibyte char (US-ASCII)

Bug#676114: Ruby help needed (Was: Bug#676114: wordnet: FTBFS: debian/wn-for-goldendict.rb:465: invalid multibyte char (US-ASCII))

2012-06-05 Thread Antonio Terceiro
Hi, Per Andersson escreveu isso aí: Please see the attached patch and try if it works. Heh, except that you missed other usages of the same pattern. Andreas, please try the attached patch. As Per explained, the problem is that in Ruby 1.8, a string is an array of bytes, so str[0] returns a