From abusiek at gmail.com Fri Apr 11 17:20:14 2008 From: abusiek at gmail.com (Adr!an Serafin) Date: Fri, 11 Apr 2008 23:20:14 +0200 Subject: [Instiki] Internal error Message-ID: <43be7de10804111420p3b994c9o4d79f898a8b060a6@mail.gmail.com> Hi all :) I'm starting with Instiki :) I download instiki-0.13.0.tgz, unpack it, run ruby instiki and everything is ok. Then I go to localhost:2500 and fill the first form (with name and address), get redirected to HomePage form, after filling fields and submitting i get error: An application error occurred while processing your request. That's what webrick says: http://manta.univ.gda.pl:2500/create_system -> /wiki/new/HomePage 85.255.185.59 - - [11/Apr/2008:22:49:54 CEST] "POST /wiki/save/HomePage HTTP/1.1" 500 7828 http://manta.univ.gda.pl:2500/wiki/new/HomePage -> /wiki/save/HomePage That's production.log: SyntaxError (/home/inf/aserafin/ruby/instiki-0.13.0/lib/sanitize.rb:227: too short multibyte code string: /^( [\x09\x0A\x0D\x20-\x7E] # ASCII | [\xC2-\xDF][\x80-\xBF] # non-overlong 2-byte | \xE0[\xA0-\xBF][\x80-\xBF] # excluding overlongs | [\xE1-\xEC\xEE\xEF][\x80-\xBF]{2} # straight 3-byte | \xED[\x80-\x9F][\x80-\xBF] # excluding surrogates | \xF0[\x90-\xBF][\x80-\xBF]{2} # planes 1-3 | [\xF1-\xF3][\x80-\xBF]{3} # planes 4-15 | \xF4[\x80-\x8F][\x80-\xBF]{2} # plane 16 )*$/): That's my sqlite version: sqlite3 --version 3.5.7 And that's my ruby version: ruby --version ruby 1.8.6 (2007-09-24 patchlevel 111) [i686-linux] When I install Instiki on my laptop there was no error. But really need to have it on that server ;) Thanks for any help -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instiki-users/attachments/20080411/84e5f559/attachment.html From bdruth at gmail.com Fri Apr 18 00:31:11 2008 From: bdruth at gmail.com (Brice Ruth) Date: Thu, 17 Apr 2008 23:31:11 -0500 Subject: [Instiki] file upload, RoutingError Message-ID: When clicking on the "?" link to get to the file upload form, I get an error screen and this in the production log: ActionController::RoutingError (no route found to match "/wiki/files/myfile.pdf" with {:method=>:get}): I checked routes.rb and :web/files/:id is there, file_controller.rb is in app/controllers/, and wiki/files is created under instiki/public/ ... so not sure why Rails is complaining. Any ideas? Thanks! -- Brice Ruth, FCD Software Engineer, Madison WI -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instiki-users/attachments/20080417/34e11299/attachment.html From kris.weston at gmail.com Fri Apr 18 05:11:33 2008 From: kris.weston at gmail.com (Kristian Weston) Date: Fri, 18 Apr 2008 11:11:33 +0200 Subject: [Instiki] file upload, RoutingError In-Reply-To: References: Message-ID: <480865C5.2040909@gmail.com> Brice Ruth wrote: > When clicking on the "?" link to get to the file upload form, I get an > error screen and this in the production log: > > ActionController::RoutingError (no route found to match > "/wiki/files/myfile.pdf" with {:method=>:get}): > > I checked routes.rb and :web/files/:id is there, file_controller.rb is > in app/controllers/, and wiki/files is created under instiki/public/ > ... so not sure why Rails is complaining. > > Any ideas? > > Thanks! > > -- > Brice Ruth, FCD > Software Engineer, Madison WI yes. dont use the dot. > ------------------------------------------------------------------------ > > _______________________________________________ > Instiki-users mailing list > Instiki-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users From bdruth at gmail.com Fri Apr 18 08:27:01 2008 From: bdruth at gmail.com (Brice Ruth) Date: Fri, 18 Apr 2008 07:27:01 -0500 Subject: [Instiki] file upload, RoutingError In-Reply-To: <480865C5.2040909@gmail.com> References: <480865C5.2040909@gmail.com> Message-ID: Hmm, ok - so like myfile_pdf? But then it apparently will *save* as myfile_pdf, and purportedly download as such, too ... so how will that lead to a valid download for users? Apache won't send the right mime-type and there won't be a valid file extension to infer the file contents, either ... right? On Fri, Apr 18, 2008 at 4:11 AM, Kristian Weston wrote: > Brice Ruth wrote: > > When clicking on the "?" link to get to the file upload form, I get an > > error screen and this in the production log: > > > > ActionController::RoutingError (no route found to match > > "/wiki/files/myfile.pdf" with {:method=>:get}): > > > > I checked routes.rb and :web/files/:id is there, file_controller.rb is > > in app/controllers/, and wiki/files is created under instiki/public/ > > ... so not sure why Rails is complaining. > > > > Any ideas? > > > > Thanks! > > > > -- > > Brice Ruth, FCD > > Software Engineer, Madison WI > > yes. dont use the dot. > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Instiki-users mailing list > > Instiki-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/instiki-users > > _______________________________________________ > Instiki-users mailing list > Instiki-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users > -- Brice Ruth, FCD Software Engineer, Madison WI -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instiki-users/attachments/20080418/ba53f3f0/attachment.html From kris.weston at gmail.com Fri Apr 18 10:55:51 2008 From: kris.weston at gmail.com (Kristian Weston) Date: Fri, 18 Apr 2008 16:55:51 +0200 Subject: [Instiki] file upload, RoutingError In-Reply-To: References: <480865C5.2040909@gmail.com> Message-ID: <4808B677.5050805@gmail.com> Brice Ruth wrote: > Hmm, ok - so like myfile_pdf? But then it apparently will *save* as > myfile_pdf, and purportedly download as such, too ... so how will that > lead to a valid download for users? Apache won't send the right > mime-type and there won't be a valid file extension to infer the file > contents, either ... right? > > On Fri, Apr 18, 2008 at 4:11 AM, Kristian Weston > > wrote: > > Brice Ruth wrote: > > When clicking on the "?" link to get to the file upload form, I > get an > > error screen and this in the production log: > > > > ActionController::RoutingError (no route found to match > > "/wiki/files/myfile.pdf" with {:method=>:get}): > > > > I checked routes.rb and :web/files/:id is there, > file_controller.rb is > > in app/controllers/, and wiki/files is created under instiki/public/ > > ... so not sure why Rails is complaining. > > > > Any ideas? > > > > Thanks! > > > > -- > > Brice Ruth, FCD > > Software Engineer, Madison WI > > yes. dont use the dot. > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Instiki-users mailing list > > Instiki-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/instiki-users > > _______________________________________________ > Instiki-users mailing list > Instiki-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users > > > > > -- > Brice Ruth, FCD > Software Engineer, Madison WI > ------------------------------------------------------------------------ > > _______________________________________________ > Instiki-users mailing list > Instiki-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users no idea - looks like that bit is broken From jevyjevjevs at gmail.com Fri Apr 18 20:04:20 2008 From: jevyjevjevs at gmail.com (Jevin Maltais) Date: Fri, 18 Apr 2008 20:04:20 -0400 Subject: [Instiki] can't modify frozen string Message-ID: Hi guys! I just installed the wiki but when I try to modify the very first page I get in the flash: "can't modify frozen string". It doesn't seemed like it's a permissions problem. Any ideas? Jevin From parasew at 5uper.net Sun Apr 20 07:43:35 2008 From: parasew at 5uper.net (Matthias Tarasiewicz) Date: Sun, 20 Apr 2008 13:43:35 +0200 Subject: [Instiki] can't modify frozen string In-Reply-To: References: Message-ID: <5D8AD229-7B46-49F6-A71B-6977C35A44B5@5uper.net> hi jevin - on which os are you, with which version of ruby? this should be fixed already - did you use instiki 0.13? regards, matthias On 19.04.2008, at 02:04, Jevin Maltais wrote: > Hi guys! > > I just installed the wiki but when I try to modify the very first page > I get in the flash: "can't modify frozen string". It doesn't seemed > like it's a permissions problem. Any ideas? > > Jevin > _______________________________________________ > Instiki-users mailing list > Instiki-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users