Redcloth and instiki

  • Thread starter Guillaume Marcais
  • Start date
G

Guillaume Marcais

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:in `span'
./libraries/redcloth.rb:454:in `each'
./libraries/redcloth.rb:454:in `span'
./libraries/redcloth.rb:639:in `glyphs'
./libraries/redcloth.rb:625:in `collect'
./libraries/redcloth.rb:625:in `glyphs'
./libraries/redcloth.rb:277:in `to_html'
./app/models/page.rb:24:in `display_content'
(erb):12:in `template_result'
./libraries/action_controller_servlet.rb:94:in `template_result'
./libraries/action_controller_servlet.rb:40:in `render'
./libraries/action_controller_servlet.rb:50:in `render_action'
./app/controllers/wiki.rb:25:in `do_show'
./libraries/action_controller_servlet.rb:74:in `send'
./libraries/action_controller_servlet.rb:74:in `perform_action'
./libraries/action_controller_servlet.rb:17:in `do_GET'
/usr/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in
`__send__'
/usr/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in
`service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:92:in `service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:54:in `run'
/usr/lib/ruby/1.8/webrick/server.rb:150:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:144:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:94:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:89:in `each'
/usr/lib/ruby/1.8/webrick/server.rb:89:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:79:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:79:in `start'
./libraries/web_controller_server.rb:77:in `start_server'
./libraries/web_controller_server.rb:19:in `initialize'
instiki.rb:17:in `new'
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.
 
W

why the lucky stiff

Guillaume said:
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
 
G

Guillaume Marcais

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 said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top