Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Redcloth and instiki

Reply
Thread Tools

Redcloth and instiki

 
 
Guillaume Marcais
Guest
Posts: n/a
 
      04-07-2004
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.



 
Reply With Quote
 
 
 
 
why the lucky stiff
Guest
Posts: n/a
 
      04-07-2004
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


 
Reply With Quote
 
 
 
 
Guillaume Marcais
Guest
Posts: n/a
 
      04-08-2004
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; rootnu/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
>





 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IRC Transcripts in Instiki and Markdown levander Ruby 3 06-24-2007 01:28 AM
Instiki/Redcloth Escaping James Edward Gray II Ruby 3 05-11-2005 01:53 AM
[Nuby on instiki/wiki] Putting images on an instiki page Peña, Botp Ruby 1 09-19-2004 10:51 AM
Problem with Instiki and Windows Daniel Berger Ruby 3 08-13-2004 04:42 PM
[ANN] Instiki 0.6.0: Feeds, Exports, Safety, and Compatibility David Heinemeier Hansson Ruby 13 04-19-2004 05:40 PM



Advertisments