Jérôme Blanc | 25 Jul 2010 22:26

invalid multibyte char (US-ASCII) (SyntaxError)

Hello,

today, I installed Arch Linux on my computer. Unfortunately, there is
no package for this distro, so I installed booh manually. I followed
exactly the instructions in the INSTALL file.

However, when starting Booh, I have many error messages, the first one
beeing « invalid multibyte char (US-ASCII) (SyntaxError) ». See
attached text file for details. 

As for the software versions, since Arch Linux is a rolling distro, I
guess I have the latest versions of all the dependencies.

I would be glad if someone would have a clue on what’s going on. 

Thanks !
--

-- 
Jérôme Blanc
OpenPGP : 2048R/2815F561
[gemini <at> gemini ~]$ booh
/usr/lib/ruby/site_ruby/1.9.1/booh/rexml/text.rb:2:in `require':
/usr/lib/ruby/site_ruby/1.9.1/booh/rexml/doctype.rb:200: invalid multibyte char (US-ASCII) (SyntaxError)
/usr/lib/ruby/site_ruby/1.9.1/booh/rexml/doctype.rb:200: syntax error, unexpected $undefined,
expecting keyword_end
      quoted_string =~ /^[\'\"].*[\´\"]$/ ?
                                      ^
/usr/lib/ruby/site_ruby/1.9.1/booh/rexml/doctype.rb:261: syntax error, unexpected '}',
expecting keyword_end
(Continue reading)

Guillaume Cottenceau | 27 Jul 2010 22:56
Picon

Re: invalid multibyte char (US-ASCII) (SyntaxError)

argh, i guess ruby-1.9 is not deemed "stable" and I have problems with it :/

i'll try to have a look but at best mid of next week..

On Sun, Jul 25, 2010 at 10:26 PM, Jérôme Blanc
<jerome.blanc <at> sanctuaire.fr.eu.org> wrote:
> Hello,
>
> today, I installed Arch Linux on my computer. Unfortunately, there is
> no package for this distro, so I installed booh manually. I followed
> exactly the instructions in the INSTALL file.
>
> However, when starting Booh, I have many error messages, the first one
> beeing « invalid multibyte char (US-ASCII) (SyntaxError) ». See
> attached text file for details.
>
> As for the software versions, since Arch Linux is a rolling distro, I
> guess I have the latest versions of all the dependencies.
>
> I would be glad if someone would have a clue on what’s going on.
>
> Thanks !
> --
> Jérôme Blanc
> OpenPGP : 2048R/2815F561
>
> _______________________________________________
> Booh-discuss mailing list
> Booh-discuss <at> zarb.org
> https://www.zarb.org/mailman/listinfo/booh-discuss
(Continue reading)

Guillaume Cottenceau | 19 Aug 2010 17:16
Picon

Re: invalid multibyte char (US-ASCII) (SyntaxError)

can you try again with 1.9.2? I read that 1.9.0 and 1.9.1 were not
considered stable

On Sun, Jul 25, 2010 at 10:26 PM, Jérôme Blanc
<jerome.blanc <at> sanctuaire.fr.eu.org> wrote:
> Hello,
>
> today, I installed Arch Linux on my computer. Unfortunately, there is
> no package for this distro, so I installed booh manually. I followed
> exactly the instructions in the INSTALL file.
>
> However, when starting Booh, I have many error messages, the first one
> beeing « invalid multibyte char (US-ASCII) (SyntaxError) ». See
> attached text file for details.
>
> As for the software versions, since Arch Linux is a rolling distro, I
> guess I have the latest versions of all the dependencies.
>
> I would be glad if someone would have a clue on what’s going on.
>
> Thanks !
> --
> Jérôme Blanc
> OpenPGP : 2048R/2815F561
>
> _______________________________________________
> Booh-discuss mailing list
> Booh-discuss <at> zarb.org
> https://www.zarb.org/mailman/listinfo/booh-discuss
>
(Continue reading)

Jérôme Blanc | 21 Aug 2010 09:48

Re: invalid multibyte char (US-ASCII) (SyntaxError)

At the moment, I cannot, as the package is orphaned on ArchLinux, thus
not up to date any more, and as I dont’t know how I can do it myself.

Hopefully, someone will carry on ruby support in arch so I can try
again.

Does it work for you on 1.9.2 ?
-- 
Jérôme Blanc
OpenPGP : 2048R/2815F561

Le Thu, 19 Aug 2010 17:16:33 +0200,
Guillaume Cottenceau <gcottenc <at> gmail.com> a écrit :

> can you try again with 1.9.2? I read that 1.9.0 and 1.9.1 were not
> considered stable
> 
> On Sun, Jul 25, 2010 at 10:26 PM, Jérôme Blanc
> <jerome.blanc <at> sanctuaire.fr.eu.org> wrote:
> > Hello,
> >
> > today, I installed Arch Linux on my computer. Unfortunately, there
> > is no package for this distro, so I installed booh manually. I
> > followed exactly the instructions in the INSTALL file.
> >
> > However, when starting Booh, I have many error messages, the first
> > one beeing « invalid multibyte char (US-ASCII) (SyntaxError) ». See
> > attached text file for details.
> >
> > As for the software versions, since Arch Linux is a rolling distro,
(Continue reading)

Guillaume Cottenceau | 24 Aug 2010 09:29
Picon

Re: invalid multibyte char (US-ASCII) (SyntaxError)

it's not supported on mandriva yet, so I had a hard time compiling it myself.

so, that commit is gonna be necessary for the problem you reported:

http://git.zarb.org/cgi-bin/gitweb.cgi?p=booh;a=commit;h=e7c33e0aa6e9f8cc9999424e3d503d669559a918

however, it doesn't still properly work for me because of an issue
with the translatable strings; can you tell me what version of
ruby-gettext is used on your distro? the version i'm using doesn't
work out of the box with ruby 1.9 anyways so I'm suspecting some
upstream changes but the package I'm using seems to not have been
updated.

On Sat, Aug 21, 2010 at 9:48 AM, Jérôme Blanc
<jerome.blanc <at> sanctuaire.fr.eu.org> wrote:
> At the moment, I cannot, as the package is orphaned on ArchLinux, thus
> not up to date any more, and as I dont’t know how I can do it myself.
>
> Hopefully, someone will carry on ruby support in arch so I can try
> again.
>
> Does it work for you on 1.9.2 ?
> --
> Jérôme Blanc
> OpenPGP : 2048R/2815F561
>
> Le Thu, 19 Aug 2010 17:16:33 +0200,
> Guillaume Cottenceau <gcottenc <at> gmail.com> a écrit :
>
>> can you try again with 1.9.2? I read that 1.9.0 and 1.9.1 were not
(Continue reading)

Jérôme Blanc | 29 Aug 2010 12:05

Re: invalid multibyte char (US-ASCII) (SyntaxError)

I have ruby-gettext 2.1.0-1 installed on my computer.
-- 
Jérôme Blanc
OpenPGP : 2048R/2815F561

Le Tue, 24 Aug 2010 09:29:56 +0200,
Guillaume Cottenceau <gcottenc <at> gmail.com> a écrit :

> it's not supported on mandriva yet, so I had a hard time compiling it
> myself.
> 
> so, that commit is gonna be necessary for the problem you reported:
> 
> http://git.zarb.org/cgi-bin/gitweb.cgi?p=booh;a=commit;h=e7c33e0aa6e9f8cc9999424e3d503d669559a918
> 
> however, it doesn't still properly work for me because of an issue
> with the translatable strings; can you tell me what version of
> ruby-gettext is used on your distro? the version i'm using doesn't
> work out of the box with ruby 1.9 anyways so I'm suspecting some
> upstream changes but the package I'm using seems to not have been
> updated.
> 

_______________________________________________
Booh-discuss mailing list
Booh-discuss <at> zarb.org
https://www.zarb.org/mailman/listinfo/booh-discuss
(Continue reading)

Guillaume Cottenceau | 29 Aug 2010 19:32
Picon

Re: invalid multibyte char (US-ASCII) (SyntaxError)

and what is the result with in booh with ruby 1.9?

On Sun, Aug 29, 2010 at 12:05 PM, Jérôme Blanc
<jerome.blanc <at> sanctuaire.fr.eu.org> wrote:
> I have ruby-gettext 2.1.0-1 installed on my computer.
> --
> Jérôme Blanc
> OpenPGP : 2048R/2815F561
>
> Le Tue, 24 Aug 2010 09:29:56 +0200,
> Guillaume Cottenceau <gcottenc <at> gmail.com> a écrit :
>
>> it's not supported on mandriva yet, so I had a hard time compiling it
>> myself.
>>
>> so, that commit is gonna be necessary for the problem you reported:
>>
>> http://git.zarb.org/cgi-bin/gitweb.cgi?p=booh;a=commit;h=e7c33e0aa6e9f8cc9999424e3d503d669559a918
>>
>> however, it doesn't still properly work for me because of an issue
>> with the translatable strings; can you tell me what version of
>> ruby-gettext is used on your distro? the version i'm using doesn't
>> work out of the box with ruby 1.9 anyways so I'm suspecting some
>> upstream changes but the package I'm using seems to not have been
>> updated.
>>
>
>
>
>
(Continue reading)

Jérôme Blanc | 29 Aug 2010 22:03

Re: invalid multibyte char (US-ASCII) (SyntaxError)

At the moment, still no one has taken on the maintenance of the ruby
package on arch Linux, so I have no clue if it works or not with ruby
1.9.

I will let you know as soon as I can test. Unfortunately, I really
don’t have a clue when this can be :/

Le Sun, 29 Aug 2010 19:32:07 +0200,
Guillaume Cottenceau <gcottenc <at> gmail.com> a écrit :

> and what is the result with in booh with ruby 1.9?
> 
> On Sun, Aug 29, 2010 at 12:05 PM, Jérôme Blanc
> <jerome.blanc <at> sanctuaire.fr.eu.org> wrote:
> > I have ruby-gettext 2.1.0-1 installed on my computer.
> > --
> > Jérôme Blanc
> > OpenPGP : 2048R/2815F561
> >
> > Le Tue, 24 Aug 2010 09:29:56 +0200,
> > Guillaume Cottenceau <gcottenc <at> gmail.com> a écrit :
> >
> >> it's not supported on mandriva yet, so I had a hard time compiling
> >> it myself.
> >>
> >> so, that commit is gonna be necessary for the problem you reported:
> >>
> >> http://git.zarb.org/cgi-bin/gitweb.cgi?p=booh;a=commit;h=e7c33e0aa6e9f8cc9999424e3d503d669559a918
> >>
> >> however, it doesn't still properly work for me because of an issue
(Continue reading)

Jérôme Blanc | 3 Sep 2010 00:12

Re: invalid multibyte char (US-ASCII) (SyntaxError)

Hello, 

finally, ruby is up to date on Arch Linux ! I patched according to your
commit. Now, I can start Booh, but I can see already two problems :

 — the strings are wierd, surrounded by [] and "" (see attached
 screeshot) ;
 — booh crashes when opening my webalbum file (see attached text file
 for details).

Have a nice day ! ;)

Le Tue, 24 Aug 2010 09:29:56 +0200,
Guillaume Cottenceau <gcottenc <at> gmail.com> a écrit :

> it's not supported on mandriva yet, so I had a hard time compiling it
> myself.
> 
> so, that commit is gonna be necessary for the problem you reported:
> 
> http://git.zarb.org/cgi-bin/gitweb.cgi?p=booh;a=commit;h=e7c33e0aa6e9f8cc9999424e3d503d669559a918
> 
> however, it doesn't still properly work for me because of an issue
> with the translatable strings; can you tell me what version of
> ruby-gettext is used on your distro? the version i'm using doesn't
> work out of the box with ruby 1.9 anyways so I'm suspecting some
> upstream changes but the package I'm using seems to not have been
> updated.
> 
> On Sat, Aug 21, 2010 at 9:48 AM, Jérôme Blanc
(Continue reading)

Guillaume Cottenceau | 3 Sep 2010 09:25
Picon

Re: invalid multibyte char (US-ASCII) (SyntaxError)

On Fri, Sep 3, 2010 at 12:12 AM, Jérôme Blanc
<jerome.blanc <at> sanctuaire.fr.eu.org> wrote:
> Hello,
>
> finally, ruby is up to date on Arch Linux ! I patched according to your
> commit. Now, I can start Booh, but I can see already two problems :
>
>  — the strings are wierd, surrounded by [] and "" (see attached
>  screeshot) ;

that's also what I had. I still have to see if I'm using badly
ruby-gettext, or if ruby-gettext is bugged.

>  — booh crashes when opening my webalbum file (see attached text file
>  for details).

can you try with the two latest commits?

--

-- 
Guillaume Cottenceau - http://zarb.org/~gc/
_______________________________________________
Booh-discuss mailing list
Booh-discuss <at> zarb.org
https://www.zarb.org/mailman/listinfo/booh-discuss
Jérôme Blanc | 5 Sep 2010 22:45

Re: invalid multibyte char (US-ASCII) (SyntaxError)

Le Fri, 3 Sep 2010 09:25:36 +0200,
Guillaume Cottenceau <gcottenc <at> gmail.com> a écrit :

[…]
> 
> that's also what I had. I still have to see if I'm using badly
> ruby-gettext, or if ruby-gettext is bugged.
> 
> >  — booh crashes when opening my webalbum file (see attached text
> > file for details).
> 
> can you try with the two latest commits?
> 

During the install process, I have the following errors : 

[gemini <at> gemini booh]$ ruby setup.rb setup
data
data/locale
data/locale/ja
data/locale/ja/LC_MESSAGES
data
data/locale
data/locale/fr
data/locale/fr/LC_MESSAGES
po/fr.po:1151: Les chaînes « msgid » et « msgstr » ne se terminent pas
toutes les deux par « \n » po/fr.po:1247: Les chaînes « msgid » et
« msgstr » ne se terminent pas toutes les deux par « \n » msgfmt: 2
erreurs fatales trouvées
hook /home/gemini/Programmes/Sources/booh/./pre-setup.rb failed: msgfmt
(Continue reading)

Guillaume Cottenceau | 5 Sep 2010 23:13
Picon

Re: invalid multibyte char (US-ASCII) (SyntaxError)

I have found that Array#to_s is now equivalent to Array#inspect, so I
think I fixed the problem by using the iconv module in a safer (more
normal) way that before. Can you try, it's latest commit?

On Sun, Sep 5, 2010 at 10:45 PM, Jérôme Blanc
<jerome.blanc <at> sanctuaire.fr.eu.org> wrote:
> Le Fri, 3 Sep 2010 09:25:36 +0200,
> Guillaume Cottenceau <gcottenc <at> gmail.com> a écrit :
>
> […]
>>
>> that's also what I had. I still have to see if I'm using badly
>> ruby-gettext, or if ruby-gettext is bugged.
>>
>> >  — booh crashes when opening my webalbum file (see attached text
>> > file for details).
>>
>> can you try with the two latest commits?
>>
>
> During the install process, I have the following errors :
>
> [gemini <at> gemini booh]$ ruby setup.rb setup
> data
> data/locale
> data/locale/ja
> data/locale/ja/LC_MESSAGES
> data
> data/locale
> data/locale/fr
(Continue reading)

Jérôme Blanc | 5 Sep 2010 23:47

Re: invalid multibyte char (US-ASCII) (SyntaxError)

I still have an error on the po/fr.po, at  1247 . The other error at
this stage disappeared. 

After that, booh starts just fine and can load my web album file.
However, it still cannot find any picture, and it says, in the
console : 

La version du fichier est 0.9.2.2, la version de booh est maintenant
0.9.3, marquage du fichier comme sale convert -interlace line +profile
"*" -rotate 0 -size 300x225 -resize '300x225>'
'/home/gemini/Images/2009-05-01 - Viaduc de Millau/DSCF0096.JPG' '["/",
"h", "o", "m", "e", "/", "g", "e", "m", "i", "n", "i", "/", "I", "m",
"a", "g", "e", "s", "/", "w", "e", "b"]/thumbnails-["2", "0", "0", "9",
"-", "0", "5", "-", "0", "1", "~20", "-", "~20", "V", "i", "a", "d",
"u", "c", "~20", "d", "e", "~20", "M", "i", "l", "l", "a", "u"].jpg'

Le dim. 05 sept. 2010 23:13:46 CEST
Guillaume Cottenceau <gcottenc <at> gmail.com> a écrit :

> I have found that Array#to_s is now equivalent to Array#inspect, so I
> think I fixed the problem by using the iconv module in a safer (more
> normal) way that before. Can you try, it's latest commit?
> 
_______________________________________________
Booh-discuss mailing list
Booh-discuss <at> zarb.org
https://www.zarb.org/mailman/listinfo/booh-discuss
(Continue reading)

Guillaume Cottenceau | 6 Sep 2010 10:06
Picon

Re: invalid multibyte char (US-ASCII) (SyntaxError)

latest commit should improve. this time i have even tested myself:)

On Sun, Sep 5, 2010 at 11:47 PM, Jérôme Blanc
<jerome.blanc <at> sanctuaire.fr.eu.org> wrote:
> I still have an error on the po/fr.po, at  1247 . The other error at
> this stage disappeared.
>
> After that, booh starts just fine and can load my web album file.
> However, it still cannot find any picture, and it says, in the
> console :
>
> La version du fichier est 0.9.2.2, la version de booh est maintenant
> 0.9.3, marquage du fichier comme sale convert -interlace line +profile
> "*" -rotate 0 -size 300x225 -resize '300x225>'
> '/home/gemini/Images/2009-05-01 - Viaduc de Millau/DSCF0096.JPG' '["/",
> "h", "o", "m", "e", "/", "g", "e", "m", "i", "n", "i", "/", "I", "m",
> "a", "g", "e", "s", "/", "w", "e", "b"]/thumbnails-["2", "0", "0", "9",
> "-", "0", "5", "-", "0", "1", "~20", "-", "~20", "V", "i", "a", "d",
> "u", "c", "~20", "d", "e", "~20", "M", "i", "l", "l", "a", "u"].jpg'
>
> Le dim. 05 sept. 2010 23:13:46 CEST
> Guillaume Cottenceau <gcottenc <at> gmail.com> a écrit :
>
>> I have found that Array#to_s is now equivalent to Array#inspect, so I
>> think I fixed the problem by using the iconv module in a safer (more
>> normal) way that before. Can you try, it's latest commit?
>>
>
> _______________________________________________
> Booh-discuss mailing list
(Continue reading)

Guillaume Cottenceau | 10 Sep 2010 22:23
Picon

Re: invalid multibyte char (US-ASCII) (SyntaxError)

no news = good news?

On Mon, Sep 6, 2010 at 10:06 AM, Guillaume Cottenceau
<gcottenc <at> gmail.com> wrote:
> latest commit should improve. this time i have even tested myself:)
>
> On Sun, Sep 5, 2010 at 11:47 PM, Jérôme Blanc
> <jerome.blanc <at> sanctuaire.fr.eu.org> wrote:
>> I still have an error on the po/fr.po, at  1247 . The other error at
>> this stage disappeared.
>>
>> After that, booh starts just fine and can load my web album file.
>> However, it still cannot find any picture, and it says, in the
>> console :
>>
>> La version du fichier est 0.9.2.2, la version de booh est maintenant
>> 0.9.3, marquage du fichier comme sale convert -interlace line +profile
>> "*" -rotate 0 -size 300x225 -resize '300x225>'
>> '/home/gemini/Images/2009-05-01 - Viaduc de Millau/DSCF0096.JPG' '["/",
>> "h", "o", "m", "e", "/", "g", "e", "m", "i", "n", "i", "/", "I", "m",
>> "a", "g", "e", "s", "/", "w", "e", "b"]/thumbnails-["2", "0", "0", "9",
>> "-", "0", "5", "-", "0", "1", "~20", "-", "~20", "V", "i", "a", "d",
>> "u", "c", "~20", "d", "e", "~20", "M", "i", "l", "l", "a", "u"].jpg'
>>
>> Le dim. 05 sept. 2010 23:13:46 CEST
>> Guillaume Cottenceau <gcottenc <at> gmail.com> a écrit :
>>
>>> I have found that Array#to_s is now equivalent to Array#inspect, so I
>>> think I fixed the problem by using the iconv module in a safer (more
>>> normal) way that before. Can you try, it's latest commit?
(Continue reading)

Jérôme Blanc | 11 Sep 2010 20:08

Re: invalid multibyte char (US-ASCII) (SyntaxError)


Le ven. 10 sept. 2010 22:23:48 CEST
Guillaume Cottenceau <gcottenc <at> gmail.com> a écrit :

> no news = good news?
> 

Unfortunately, no, it only means « no time to write a proper mail or
report » :P

Let’s do it now : we are getting further. Now, booh can start and is
clean. I can display my webalbums, but for the sub albums.  (at least
that is what it seems). In that case, I have a lovely segfault. See the
attached file for details.

We are getting closer ;)
--

-- 
Jérôme Blanc
OpenPGP : 2048R/2815F561

> On Mon, Sep 6, 2010 at 10:06 AM, Guillaume Cottenceau
> <gcottenc <at> gmail.com> wrote:
> > latest commit should improve. this time i have even tested myself:)
> >
> > On Sun, Sep 5, 2010 at 11:47 PM, Jérôme Blanc
> > <jerome.blanc <at> sanctuaire.fr.eu.org> wrote:
> >> I still have an error on the po/fr.po, at  1247 . The other error
> >> at this stage disappeared.
> >>
> >> After that, booh starts just fine and can load my web album file.
(Continue reading)

Guillaume Cottenceau | 13 Sep 2010 14:31
Picon

Re: invalid multibyte char (US-ASCII) (SyntaxError)

i cannot reproduce. what are you doing specific, in particular in the
field of non US-ASCII stuff? any strange dirnames or filenames? a
dirname with an accented character? can you send me a small .booh file
exhibiting?

On Sat, Sep 11, 2010 at 8:08 PM, Jérôme Blanc
<jerome.blanc <at> sanctuaire.fr.eu.org> wrote:
>
>
> Le ven. 10 sept. 2010 22:23:48 CEST
> Guillaume Cottenceau <gcottenc <at> gmail.com> a écrit :
>
>> no news = good news?
>>
>
> Unfortunately, no, it only means « no time to write a proper mail or
> report » :P
>
> Let’s do it now : we are getting further. Now, booh can start and is
> clean. I can display my webalbums, but for the sub albums.  (at least
> that is what it seems). In that case, I have a lovely segfault. See the
> attached file for details.
>
> We are getting closer ;)
> --
> Jérôme Blanc
> OpenPGP : 2048R/2815F561
>
>> On Mon, Sep 6, 2010 at 10:06 AM, Guillaume Cottenceau
>> <gcottenc <at> gmail.com> wrote:
(Continue reading)


Gmane