From jevyjevjevs at gmail.com Thu May 1 20:50:53 2008 From: jevyjevjevs at gmail.com (Jevin Maltais) Date: Thu, 1 May 2008 20:50:53 -0400 Subject: [Instiki] can't modify frozen string In-Reply-To: <5D8AD229-7B46-49F6-A71B-6977C35A44B5@5uper.net> References: <5D8AD229-7B46-49F6-A71B-6977C35A44B5@5uper.net> Message-ID: Hiya! I'm running on "hostingrails" which is Linux based. You can play with it if you'd like: wiki.jevy.org It is in fact 0.13 so I guess it's not fixed? Thanks for your interest in helping me, Jevin On Sun, Apr 20, 2008 at 7:43 AM, Matthias Tarasiewicz wrote: > 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 > > _______________________________________________ > Instiki-users mailing list > Instiki-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users > From parasew at 5uper.net Thu May 8 10:38:07 2008 From: parasew at 5uper.net (Matthias Tarasiewicz) Date: Thu, 8 May 2008 11:38:07 -0300 Subject: [Instiki] can't modify frozen string In-Reply-To: References: <5D8AD229-7B46-49F6-A71B-6977C35A44B5@5uper.net> Message-ID: jevin, can you please post more information from the production.log file so i can reproduce the error? i will try to fix it asap. anyone else experiencing this behaviour? On 01.05.2008, at 21:50, Jevin Maltais wrote: > Hiya! > > I'm running on "hostingrails" which is Linux based. > You can play with it if you'd like: wiki.jevy.org > It is in fact 0.13 so I guess it's not fixed? > > Thanks for your interest in helping me, > Jevin > > > On Sun, Apr 20, 2008 at 7:43 AM, Matthias Tarasiewicz > wrote: >> 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 >> >> _______________________________________________ >> Instiki-users mailing list >> Instiki-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/instiki-users >> > _______________________________________________ > Instiki-use From jevyjevjevs at gmail.com Thu May 8 21:31:26 2008 From: jevyjevjevs at gmail.com (Jevin Maltais) Date: Thu, 8 May 2008 21:31:26 -0400 Subject: [Instiki] can't modify frozen string In-Reply-To: References: <5D8AD229-7B46-49F6-A71B-6977C35A44B5@5uper.net> Message-ID: Sure thing. This is from a fresh log where I just went to the site, did the redirection then tried to post "test test" as anony coward. On Thu, May 8, 2008 at 10:38 AM, Matthias Tarasiewicz wrote: > jevin, can you please post more information from the production.log file so > i can reproduce the error? > i will try to fix it asap. > anyone else experiencing this behaviour? > > On 01.05.2008, at 21:50, Jevin Maltais wrote: >> >> Hiya! >> >> I'm running on "hostingrails" which is Linux based. >> You can play with it if you'd like: wiki.jevy.org >> It is in fact 0.13 so I guess it's not fixed? >> >> Thanks for your interest in helping me, >> Jevin >> >> >> On Sun, Apr 20, 2008 at 7:43 AM, Matthias Tarasiewicz >> wrote: >>> >>> 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 >>> >>> _______________________________________________ >>> Instiki-users mailing list >>> Instiki-users at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/instiki-users >>> >> _______________________________________________ >> Instiki-use > > _______________________________________________ > Instiki-users mailing list > Instiki-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users > -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Production Log.txt URL: From camccuk at yahoo.com Mon May 19 06:58:36 2008 From: camccuk at yahoo.com (cam) Date: Mon, 19 May 2008 03:58:36 -0700 (PDT) Subject: [Instiki] Errors upgrading storage 0.10 to 0.13 Message-ID: <87100.20566.qm@web31008.mail.mud.yahoo.com> An HTML attachment was scrubbed... URL: From camccuk at yahoo.com Mon May 19 07:12:03 2008 From: camccuk at yahoo.com (cam) Date: Mon, 19 May 2008 04:12:03 -0700 (PDT) Subject: [Instiki] Errors upgrading storage 0.10 -> 0.13 Message-ID: <47556.25155.qm@web31005.mail.mud.yahoo.com> Hello all, Apologies for the repost - Yahoo mangled my first attempt... I am having trouble getting my 0.10.2 Madeleine-base data migrated to sqlite on 0.13. I have closely followed the README, the FAQ and found a few relevant posts on this list but I am unable to get reset_references to run properly. So far I have successfully managed to generate the SQL to populate sqlite and it seems to have worked in that the script threw no errors and I can now see various populated tables when I mount production.db.sqlite3. I'd be vastly grateful for any help - I miss the ease of use of instiki and the info that I have in it is nearly 3 years worth of personal notes on my various job processes - its invaluable. Failing a fix for instiki, can anyone point me at something that can convert an unpacked snapshot to a format that I could import into another wiki or tool? Going to the next step of the upgrade process, after sqlite import, to run rest_references, here's what I'm getting: ----------------------------------------------- C:\cam\util\instiki-0.13.0 >ruby C:\cam\util\instiki-0.13.0 \script\reset_references Loading Rails for development environment... The DL driver for sqlite3-ruby is deprecated and will be removed in a future release. Please update your installation to use the Native driver. C:/cam/util/instiki-0.13.0 /vendor/rails/activerecord/lib /active_record/connection _adapters/abstract_adapter.rb :128:in `log': SQLite3::SQL Exception: no such table: wiki_references: DELETE FROM wiki_references WHERE 1=1 (ActiveRecord::StatementInvali d) from C:/cam/util/instiki-0.13.0 /vendor/rails/activerecord/lib /active_record/connection _adapters/sqlite_adapter.rb :145:in `execute' from C:/cam/util/instiki-0.13.0 /vendor/rails/activerecord/lib /active_record/connection _adapters/sqlite_adapter.rb :346:in `catch_schema_changes' from C:/cam/util/instiki-0.13.0 /vendor/rails/activerecord/lib /active_record/connection _adapters/sqlite_adapter.rb :145:in `execute' from C:/cam/util/instiki-0.13.0 /vendor/rails/activerecord/lib /active_record/connection _adapters/sqlite_adapter.rb :155:in `delete' from C:/cam/util/instiki-0.13.0 /vendor/rails/activerecord/lib /active_record/base.rb:513:in `delete_all' from C:/cam/util/instiki-0.13.0 /script/reset_references:15 ------------------------------ ----------------- Since I can see there IS a wiki_references table, altho its empty: ------------------------------ ----------------- C:\cam\util>sqlite3.exe instiki-0.13.0\db\production .db.sqlite3 "select * from wiki_references" C:\cam\util>sqlite3.exe instiki-0.13.0\db\production .db.sqlite3 "select * from webs" 1|2005-09-21 12:08:26|2008-05-08 16:23:01|localnotes|localnotes |XXX| |false|false|false|textile |008B26|0|false|false ------------------------------ ----------------- I thought I would comment out the wiki_references.delete_all call , but this only gets me this far: ------------------------------ ----------------- C:\cam\util\instiki-0.13.0 >ruby C:\cam\util\instiki-0.13.0 \script\reset_references Loading Rails for development environment... The DL driver for sqlite3-ruby is deprecated and will be removed in a future release. Please update your installation to use the Native driver. C:/cam/util/instiki-0.13.0 /vendor/rails/activerecord/lib /active_record/connection _adapters/abstract_adapter.rb :128:in `log': SQLite3::SQL Exception: no such table: webs: SELECT * FROM webs (ActiveRecord::StatementInvali d) from C:/cam/util/instiki-0.13.0 /vendor/rails/activerecord/lib /active_record/connection _adapters/sqlite_adapter.rb :145:in `execute' from C:/cam/util/instiki-0.13.0 /vendor/rails/activerecord/lib /active_record/connection _adapters/sqlite_adapter.rb :346:in `catch_schema_changes' from C:/cam/util/instiki-0.13.0 /vendor/rails/activerecord/lib /active_record/connection _adapters/sqlite_adapter.rb :145:in `execute' from C:/cam/util/instiki-0.13.0 /vendor/rails/activerecord/lib /active_record/connection _adapters/sqlite_adapter.rb :165:in `select_all' from C:/cam/util/instiki-0.13.0 /vendor/rails/activerecord/lib /active_record/base.rb:427:in `find_by_sql' from C:/cam/util/instiki-0.13.0 /vendor/rails/activerecord/lib /active_record/base.rb:997:in `find_every' from C:/cam/util/instiki-0.13.0 /vendor/rails/activerecord/lib /active_record/base.rb:418:in `find' from C:/cam/util/instiki-0.13.0 /vendor/rails/activerecord/lib /active_record/deprecated _finders.rb:39:in `find_all_without_deprecation' from C:/cam/util/instiki-0.13.0 /vendor/rails/activerecord/lib /../../activesupport/lib /active_support/deprecation.rb :94:in `find_all' from C:/cam/util/instiki-0.13.0 /script/reset_references:17 C:\cam\util\instiki-0.13.0>c: \cam\util\sqlite3.exe db\production.db.sqlite3 "select * from webs" 1|2005-09-21 12:08:26|2008-05-08 16:23:01|localnotes|localnotes |password| |false|false|false|textile |008B26|0|false|false ------------------------------ ----------------- Some diagnostic stuff: C:\cam\util>ruby -v ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] Windows XP SP2 instiki\lib\native\win32 and the directory of my sqlite3.exe are both on my PATH. Cheers, cam From parasew at 5uper.net Mon May 19 08:51:30 2008 From: parasew at 5uper.net (Matthias Tarasiewicz) Date: Mon, 19 May 2008 14:51:30 +0200 Subject: [Instiki] Errors upgrading storage 0.10 to 0.13 In-Reply-To: <87100.20566.qm@web31008.mail.mud.yahoo.com> References: <87100.20566.qm@web31008.mail.mud.yahoo.com> Message-ID: <0891EF7D-9798-4049-BA23-E0ED21AD5BB0@5uper.net> hello, the script seems to be started in development mode (see the line where it says "Loading Rails for development environment..."). you would need to change that to the production environment. for a quick fix: you can change the settings in database.yml to be the same for development as for the production environment. if that does not do the trick, please tell me so i can take a look at the migration script. regards, matthias On 19.05.2008, at 12:58, cam wrote: > Hello all, > > I am having trouble getting my 0.10.2 Madeleine-base data migrated to > sqlite on 0.13. I have closely followed the README, the FAQ and found > a few relevant posts on this list but I am unable to get > reset_references to run properly. So far I have successfully managed > to generate the SQL to populate sqlite and it seems to have worked in > that the script threw no errors and I can now see various populated > tables when I mount production.db.sqlite3. > > I'd be vastly grateful for any help - I miss the ease of use of > instiki and the info that I have in it is nearly 3 years worth of > personal notes on my various job processes - its invaluable. Failing a > fix for instiki, can anyone point me at something that can convert an > unpacked snapshot to a format that I could import into another wiki or > tool? > > Going to the next step of the upgrade process, after sqlite import, to > run rest_references, here's what I'm getting: > > ----------------------------------------------- > C:\cam\util\instiki-0.13.0>ruby > C:\cam\util\instiki-0.13.0\script\reset_references > Loading Rails for development environment... > The DL driver for sqlite3-ruby is deprecated and will be removed > in a future release. Please update your installation to use the > Native driver. > C:/cam/util/instiki-0.13.0/vendor/rails/activerecord/lib/ > active_record/connection_adapters/abstract_adapter.rb:128:in `log': > SQLite3::SQL > Exception: no such table: wiki_references: DELETE FROM wiki_references > WHERE 1=1 (ActiveRecord::StatementInvalid) > from C:/cam/util/instiki-0.13.0/vendor/rails/activerecord/lib/ > active_record/connection_adapters/sqlite_adapter.rb:145:in `execute' > from C:/cam/util/instiki-0.13.0/vendor/rails/activerecord/lib/ > active_record/connection_adapters/sqlite_adapter.rb:346:in > `catch_schema_changes' > from C:/cam/util/instiki-0.13.0/vendor/rails/activerecord/lib/ > active_record/connection_adapters/sqlite_adapter.rb:145:in `execute' > from C:/cam/util/instiki-0.13.0/vendor/rails/activerecord/lib/ > active_record/connection_adapters/sqlite_adapter.rb:155:in `delete' > from C:/cam/util/instiki-0.13.0/vendor/rails/activerecord/lib/ > active_record/base.rb:513:in > `delete_all' > from C:/cam/util/instiki-0.13.0/script/reset_references:15 > ----------------------------------------------- > > Since I can see there IS a wiki_references table, altho its empty: > > ----------------------------------------------- > C:\cam\util>sqlite3.exe instiki-0.13.0\db\production.db.sqlite3 > "select * from wiki_references" > > C:\cam\util>sqlite3.exe instiki-0.13.0\db\production.db.sqlite3 > "select * from webs" > 1|2005-09-21 12:08:26|2008-05-08 16:23:01|localnotes|localnotes|XXX| > |false|false|false|textile|008B26|0|false|false > ----------------------------------------------- > > I thought I would comment out the wiki_references.delete_all call , > but this only gets me this far: > > ----------------------------------------------- > C:\cam\util\instiki-0.13.0>ruby > C:\cam\util\instiki-0.13.0\script\reset_references > Loading Rails for development environment... > The DL driver for sqlite3-ruby is deprecated and will be removed > in a future release. Please update your installation to use the > Native driver. > C:/cam/util/instiki-0.13.0/vendor/rails/activerecord/lib/ > active_record/connection _adapters/abstract_adapter.rb:128:in `log': > SQLite3::SQL > Exception: no such table: webs: SELECT * FROM webs > (ActiveRecord::StatementInvalid) > from C:/cam/util/instiki-0.13.0/vendor/rails/activerecord/lib/ > active_record/connection_adapters/sqlite_adapter.rb:145:in `execute' > from C:/cam/util/instiki-0.13.0/vendor/rails/activerecord/lib/ > active_record/connection_adapters/sqlite_adapter.rb:346:in > `catch_schema_changes' > from C:/cam/util/instiki-0.13.0/vendor/rails/activerecord/lib/ > active_record/connection_adapters/sqlite_adapter.rb:145:in `execute' > from C:/cam/util/instiki-0.13.0/vendor/rails/activerecord/lib/ > active_record/connection_adapters/sqlite_adapter.rb:165:in > `select_all' > from C:/cam/util/instiki-0.13.0/vendor/rails/activerecord/lib/ > active_record/base.rb:427:in > `find_by_sql' > from C:/cam/util/instiki-0.13.0/vendor/rails/activerecord/lib/ > active_record/base.rb:997:in > `find_every' > from C:/cam/util/instiki-0.13.0/vendor/rails/activerecord/lib/ > active_record/base.rb:418:in > `find' > from C:/cam/util/instiki-0.13.0/vendor/rails/activerecord/lib/ > active_record/deprecated_finders.rb:39:in > `find_all_without_deprecation' > from C:/cam/util/instiki-0.13.0/vendor/rails/activerecord/ > lib/../../activesupport/lib/active_support/deprecation.rb:94:in > `find_all' > from C:/cam/util/instiki-0.13.0/script/reset_references:17 > > C:\cam\util\instiki-0.13.0>c:\cam\util\sqlite3.exe db > \production.db.sqlite3 "select * from webs" > 1|2005-09-21 12:08:26|2008-05-08 16:23:01|localnotes|localnotes| > password| > |false|false|false|textile|008B26|0|false|false > > ----------------------------------------------- > > Some diagnostic stuff: > > C:\cam\util>ruby -v > ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] > Windows XP SP2 > > instiki\lib\native\win32 and the directory of my sqlite3.exe are both > on my PATH. > > Cheers, > cam > > _______________________________________________ > Instiki-users mailing list > Instiki-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users