Redcloth and instiki

While saving some pages with instiki and get the following error
message:

http://192.168.3.1:2505/show/CmWonders -> /save
[2004-04-06 23:07:47] ERROR RegexpError: unmatched ):
/\250\371\251M\250\371\25
M>[!"#$%&’*+,-./:;=?@\^_`|~{([])
+

((?:(?:([^)]+))?(?:{[^}]+})?(?:[[^]]+])?
(?:{[^}]+})?(?:[[^]]+])?(?:([^)]+))?|(?:[[^]]+])?(?:
{[^}]+})?(?:([
)]+))?))
(?::(\S+?))?
(\S(?:[^\n]|\n(?!\n))*?)

([!"#$%&’*+,-./:;=?@\^_`|~]*?)
+

(?=[])}]|[!"#$%&’*+,-./:;=?@\^_\|~] ?|<|\s|$)/ ./libraries/redcloth.rb:465:inspan’
./libraries/redcloth.rb:454:in each' ./libraries/redcloth.rb:454:inspan’
./libraries/redcloth.rb:639:in glyphs' ./libraries/redcloth.rb:625:incollect’
./libraries/redcloth.rb:625:in glyphs' ./libraries/redcloth.rb:277:into_html’
./app/models/page.rb:24:in display_content' (erb):12:intemplate_result’
./libraries/action_controller_servlet.rb:94:in template_result' ./libraries/action_controller_servlet.rb:40:inrender’
./libraries/action_controller_servlet.rb:50:in render_action' ./app/controllers/wiki.rb:25:indo_show’
./libraries/action_controller_servlet.rb:74:in send' ./libraries/action_controller_servlet.rb:74:inperform_action’
./libraries/action_controller_servlet.rb:17:in do_GET' /usr/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:insend
/usr/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in
service' /usr/lib/ruby/1.8/webrick/httpserver.rb:92:inservice’
/usr/lib/ruby/1.8/webrick/httpserver.rb:54:in run' /usr/lib/ruby/1.8/webrick/server.rb:150:instart_thread’
/usr/lib/ruby/1.8/webrick/server.rb:144:in start' /usr/lib/ruby/1.8/webrick/server.rb:144:instart_thread’
/usr/lib/ruby/1.8/webrick/server.rb:94:in start' /usr/lib/ruby/1.8/webrick/server.rb:89:ineach’
/usr/lib/ruby/1.8/webrick/server.rb:89:in start' /usr/lib/ruby/1.8/webrick/server.rb:79:instart’
/usr/lib/ruby/1.8/webrick/server.rb:79:in start' ./libraries/web_controller_server.rb:77:instart_server’
./libraries/web_controller_server.rb:19:in initialize' instiki.rb:17:innew’
instiki.rb:17

ruby -v

ruby 1.8.1 (2004-03-31) [i586-linux-gnu]

and instiki 2.5.

Do you need to see the input? Any fix?

Guillaume.

Guillaume Marcais wrote:

While saving some pages with instiki and get the following error
message:

http://192.168.3.1:2505/show/CmWonders → /save
[2004-04-06 23:07:47] ERROR RegexpError: unmatched ):
/\250\371\251M\250\371\25M|[!"#$%&'*+,-./:;=?@\^_`|~{()

the problem is this garbage showing up at the beginning of a regexp:

/\250\371\251M\250\371\25M

are you running instiki under a different character set?

_why

No, I am not. Some system info:

[gus@gusmac gus]$ uname -a
Darwin gusmac.local 7.3.0 Darwin Kernel Version 7.3.0: Fri Mar 5
14:22:55 PST 2004; root:xnu/xnu-517.3.15.obj~4/RELEASE_PPC Power
Macintosh powerpc
[gus@gusmac gus]$ set | grep LC_
[gus@gusmac gus]$

There is not a single local variable set! The system is running in
French, although it was all non accented English text.

Guillaume.

···

Le 7 avr. 04, à 15:34, why the lucky stiff a écrit :

Guillaume Marcais wrote:

While saving some pages with instiki and get the following error
message:

http://192.168.3.1:2505/show/CmWonders → /save
[2004-04-06 23:07:47] ERROR RegexpError: unmatched ):
/\250\371\251M\250\371\25M|[!"#$%&'*+,-./:;=?@\^_`|~{()

the problem is this garbage showing up at the beginning of a regexp:

/\250\371\251M\250\371\25M

are you running instiki under a different character set?

_why