From pinglek at hotmail.com Mon Jan 2 10:54:39 2006 From: pinglek at hotmail.com (Ping-Lek Lee) Date: Mon, 02 Jan 2006 23:54:39 +0800 Subject: [Instiki] Newbie: Problems with setting up Instiki-AR-beta1 Message-ID: Hi, I'm trying to setup a wiki and use it as a scratchpad for my pet project. However, I'm also a newbie to SQLite and Instiki. I've a problem with installing Instiki. Tried searching the web and instiki-user list for December and November 2005 briefly but to no avail. Help needed. (A) My Setup System: Win2k Ruby: ruby182-15.exe (the one-stop Windows installer, not for cygwin) SQLite: sqlite-3_2_8.zip, sqlitedll-3_2_8.zip, both in \bin sqlite-ruby: sqlite3-ruby-1.1.0-mswin32.gem Instiki: instiki-ar-beta1.zip (B) My Problem (i) I copied config\database.default.yml to config\database.yml (ii) In the command window I did the following :- ====win-cmd-top==== dos> cd dos> ruby instiki.rb => Instiki started on http://0.0.0.0:2500 => Ctrl-C to shutdown; call with --help for options [2006-01-02 23:13:23] INFO WEBrick 1.3.1 [2006-01-02 23:13:23] INFO ruby 1.8.2 (2004-12-25) [i386-mswin32] [2006-01-02 23:13:23] INFO WEBrick::HTTPServer#start: pid=944 port=2500 ====win-cmd-bot==== (iii) From my browser, I goto http://localhost:2500 and get the following page: ====win-firefox-top==== ActiveRecord::StatementInvalid in Wiki#index no such table: webs: SELECT COUNT(*) FROM webs /app/models/wiki.rb:82:in `setup?' /app/controllers/wiki_controller.rb:17:in `index' ./script/server:49 instiki.rb:3:in `load' instiki.rb:3 Show framework trace /vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:462:in `log' /vendor/rails/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb:108:in `execute' : : : Request Parameters: None Show session dump --- flash: !ruby/hash:ActionController::Flash::FlashHash {} Response Headers: {"cookie"=>[], "Content-Type"=>"text/html; charset=UTF-8", "Cache-Control"=>"no-cache"} ====win-firefox-bot==== What have I missed out? Thanks in advance! ping-lek From assaph at gmail.com Mon Jan 2 14:43:25 2006 From: assaph at gmail.com (Assaph Mehr) Date: Tue, 3 Jan 2006 06:43:25 +1100 Subject: [Instiki] Newbie: Problems with setting up Instiki-AR-beta1 In-Reply-To: References: Message-ID: <3ff47be90601021143r20a712a9v618b0b54eb6c5d4f@mail.gmail.com> Hi Ping-Lek, > (i) I copied config\database.default.yml to config\database.yml > > (ii) In the command window I did the following :- > ====win-cmd-top==== > dos> cd On the first time only, you will need to run: ruby script/create_db at this stage (from the command line) > dos> rub instiki.rb HTH, Assaph From potthast at umr.edu Mon Jan 9 18:20:12 2006 From: potthast at umr.edu (Potthast, Adam) Date: Mon, 09 Jan 2006 17:20:12 -0600 Subject: [Instiki] Problems with Instiki-AR create_db Message-ID: For some reason, the create_db script isn't working like it should for me. Can anyone help me figure out what's going wrong? First of all, I get "argument errors" when trying to use the regular format for database.yml. If I take out all of the spaces before the lines in the configuration file, line 68 of environment.rb goes through, but I still get the following error and no tables are created: /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection _adapters/abstract/connection_specification.rb:73:in `establish_connection': production database is not configured (ActiveRecord::AdapterNotSpecified) from /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection _adapters/abstract/connection_specification.rb:66:in `establish_connection' from /home/myusernamehere/instiki/script/../config/environment.rb:69 from script/create_db:5 Is this a ruby configuration issue somewhere? Because my database.yml file is fine. Adam From potthast at umr.edu Mon Jan 9 18:51:46 2006 From: potthast at umr.edu (Potthast, Adam) Date: Mon, 09 Jan 2006 17:51:46 -0600 Subject: [Instiki] Problems with Instiki-AR create_db In-Reply-To: Message-ID: Well, never mind. Apparently putting the spaces back in before the configuration options in database.yml and switching from the development environment to the production environment did the trick. Adam On 1/9/06 5:20 PM, "Potthast, Adam" wrote: > > For some reason, the create_db script isn't working like it should for me. > Can anyone help me figure out what's going wrong? > > First of all, I get "argument errors" when trying to use the regular format > for database.yml. If I take out all of the spaces before the lines in the > configuration file, line 68 of environment.rb goes through, but I still get > the following error and no tables are created: > > /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection > _adapters/abstract/connection_specification.rb:73:in `establish_connection': > production database is not configured (ActiveRecord::AdapterNotSpecified) > from > /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection > _adapters/abstract/connection_specification.rb:66:in `establish_connection' > from /home/myusernamehere/instiki/script/../config/environment.rb:69 > from script/create_db:5 > > Is this a ruby configuration issue somewhere? Because my database.yml file > is fine. > > > Adam > > _______________________________________________ > Instiki-users mailing list > Instiki-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users > -- Adam Potthast, PhD. Assistant Professor of Professional Ethics G-3 H-SS University of Missouri - Rolla Rolla, MO 65409-0570 USA Voice: 573.341.4868 Fax: 573.341.6312 potthast at umr.edu From rdm at cfcl.com Tue Jan 17 10:55:49 2006 From: rdm at cfcl.com (Rich Morin) Date: Tue, 17 Jan 2006 07:55:49 -0800 Subject: [Instiki] search capability? Message-ID: I was just looking at the nascent "RailsBestPractices" page http://wiki.rubyonrails.org/rails/pages/RailsBestPractices and realized that I didn't see a "search" item. Is there a wiki search plug-in (or whatever) for Instiki/I2/...? -r -- Technical editing and writing, programming, and web development: http://www.cfcl.com/rdm/resume Contact information: rdm at cfcl.com, +1 650-873-7841 From rdm at cfcl.com Tue Jan 17 11:00:28 2006 From: rdm at cfcl.com (Rich Morin) Date: Tue, 17 Jan 2006 08:00:28 -0800 Subject: [Instiki] search capability? Message-ID: Looking on the main page, I see that there's an entry for "Search with Google". This works, but a dedicated search facility (like Swish-e) would be private and customizable. -r At 7:57 AM -0800 1/17/06, Rich Morin wrote: > I was just looking at the nascent "RailsBestPractices" page > > http://wiki.rubyonrails.org/rails/pages/RailsBestPractices > > and realized that I didn't see a "search" item. Is there a > wiki search plug-in (or whatever) for Instiki/I2/...? -- Technical editing and writing, programming, and web development: http://www.cfcl.com/rdm/resume Contact information: rdm at cfcl.com, +1 650-873-7841 From BArmstrong at dymaxion.ca Wed Jan 18 10:19:49 2006 From: BArmstrong at dymaxion.ca (BG - Ben Armstrong) Date: Wed, 18 Jan 2006 11:19:49 -0400 Subject: [Instiki] Username on login form Message-ID: <1137597589.32177.20.camel@bgpc.dymaxion.ca> Before we see if we can do this ourselves, has anyone hacked Instiki to have a password-protected wiki web ask for the author on the login page & subsequently suppress the author field on the edit page? Thanks, Ben -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instiki-users/attachments/20060118/985410f4/attachment.htm From assaph at gmail.com Thu Jan 19 08:21:11 2006 From: assaph at gmail.com (Assaph Mehr) Date: Fri, 20 Jan 2006 00:21:11 +1100 Subject: [Instiki] Username on login form In-Reply-To: <1137597589.32177.20.camel@bgpc.dymaxion.ca> References: <1137597589.32177.20.camel@bgpc.dymaxion.ca> Message-ID: <3ff47be90601190521t66b855aeic478562c125cfae0@mail.gmail.com> Hi Ben, On 1/19/06, BG - Ben Armstrong wrote: > Before we see if we can do this ourselves, has anyone hacked Instiki to > have a password-protected wiki web ask for the author on the login page & > subsequently suppress the author field on the edit page? Am not aware of any such work but it should not be hard to hack: All you need it to set the cookie at the login page, and retrieve it in the #save action (and remove the textfield for author name from the view of course). Let us know if you need more info... and patches are always welcome :-) Cheers, Assaph From BArmstrong at dymaxion.ca Thu Jan 19 09:31:07 2006 From: BArmstrong at dymaxion.ca (BG - Ben Armstrong) Date: Thu, 19 Jan 2006 10:31:07 -0400 Subject: [Instiki] Username on login form In-Reply-To: <3ff47be90601190521t66b855aeic478562c125cfae0@mail.gmail.com> References: <1137597589.32177.20.camel@bgpc.dymaxion.ca> <3ff47be90601190521t66b855aeic478562c125cfae0@mail.gmail.com> Message-ID: <1137681067.5898.9.camel@bgpc.dymaxion.ca> On Fri, 2006-01-20 at 00:21 +1100, Assaph Mehr wrote: > Am not aware of any such work but it should not be hard to hack: All > you need it to set the cookie at the login page, and retrieve it in > the #save action (and remove the textfield for author name from the > view of course). > > Let us know if you need more info... and patches are always welcome :-) This is not very general purpose, I'm afraid, but it does the job for us. The one thing I didn't understand was this 'default="yes"' business in the password field in login.rhtml. I couldn't find any doc on that attribute. Something to do with being able to press enter in a textfield to submit the form? But now that we have two text fields, I think we need a submit button of some sort, so I added one. Ben -------------- next part -------------- A non-text attachment was scrubbed... Name: author.diff Type: text/x-patch Size: 3151 bytes Desc: not available Url : http://rubyforge.org/pipermail/instiki-users/attachments/20060119/63954fd3/author.bin From rdm at cfcl.com Fri Jan 20 03:51:58 2006 From: rdm at cfcl.com (Rich Morin) Date: Fri, 20 Jan 2006 00:51:58 -0800 Subject: [Instiki] (no subject) Message-ID: OK, I finally got brave and downloaded a copy of Instiki. Specifically, instiki-ar-beta1.zip The README says: Step 1. Download Step 2. Run "instiki" Step 3. Chuckle... "There's no step three!" (TM) This is not precisely true. It _is_ true that (on my OSX box) the zipfile unpacked itself automagically. I then went into the instiki-ar directory and ran instiki, as follows: > % cd ~/De*/instiki-ar > % instiki > ./script/../config/environment.rb:68:in `initialize': > No such file or directory - > /Local/_Private/Homes/rdm/Desktop/instiki-ar/config/database.yml >(Errno::ENOENT) > from ./script/../config/environment.rb:68:in `open' > from ./script/../config/environment.rb:68 > from ./script/server:42:in `require' > from ./script/server:42 > from instiki:6:in `load' > from instiki:6 > % ls config > database.default.yml environments > environment.rb routes.rb Uhuh. OK, I'm still feeling brave. > % cp config/database.default.yml config/database.yml > % instiki > => Instiki started on http://0.0.0.0:2500 > => Ctrl-C to shutdown; call with --help for options > [2006-01-20 00:42:01] INFO WEBrick 1.3.1 > [2006-01-20 00:42:01] INFO ruby 1.8.2 (2004-12-25) [powerpc-darwin8.0] > [2006-01-20 00:42:01] INFO WEBrick::HTTPServer#start: pid=15639 port=2500 Looks promising, but when I tried the URL (http://localhost:2500), I got this nastygram: > No such file to load -- sqlite3 > /app/models/wiki.rb:82:in `setup?' > /app/controllers/wiki_controller.rb:17:in `index' > ./script/server:49 > instiki:6:in `load' > instiki:6 > Show framework trace > > This error occured while loading the following files: > sqlite3 > > Request > > Parameters: None > > Show session dump > > Response > Headers: {"cookie"=>[], "Content-Type"=>"text/html; charset=UTF-8", >"Cache-Control"=>"no-cache"} Gosh, OSX has sqlite3... > % which sqlite3 > /usr/bin/sqlite3 So, it looks like there SHOULD be a step 3. Anyone want to help this ruby/rails/instiki nuby get started? -r -- Technical editing and writing, programming, and web development: http://www.cfcl.com/rdm/resume Contact information: rdm at cfcl.com, +1 650-873-7841 From chris at seagul.co.uk Fri Jan 20 04:38:31 2006 From: chris at seagul.co.uk (Chris Roos) Date: Fri, 20 Jan 2006 09:38:31 +0000 Subject: [Instiki] (no subject) In-Reply-To: References: Message-ID: <43D0AF97.5010709@seagul.co.uk> Rich Morin wrote: > OK, I finally got brave and downloaded a copy of Instiki. > Specifically, instiki-ar-beta1.zip > > > Gosh, OSX has sqlite3... > >> % which sqlite3 >> /usr/bin/sqlite3 > > So, it looks like there SHOULD be a step 3. Anyone want to help > this ruby/rails/instiki nuby get started? > > -r Have you got the sqlite3 ruby gem installed? # gem install sqlite3 You also need to create the initial database tables, I believe by running script/create_db Chris From BArmstrong at dymaxion.ca Fri Jan 20 11:30:47 2006 From: BArmstrong at dymaxion.ca (BG - Ben Armstrong) Date: Fri, 20 Jan 2006 12:30:47 -0400 Subject: [Instiki] Instiki-ar: "There is no step 3" unsustainable? In-Reply-To: References: Message-ID: <1137774647.7512.44.camel@bgpc.dymaxion.ca> On Fri, 2006-01-20 at 00:51 -0800, Rich Morin wrote: > Step 3. Chuckle... "There's no step three!" (TM) > > This is not precisely true. ... > So, it looks like there SHOULD be a step 3. Anyone want to help > this ruby/rails/instiki nuby get started? While the original Instiki was a bit flip about this, I don't know if "there is no step three" is a claim that Instiki-ar will ever be able to live up to, except for a very limited (and therefore possibly not terribly useful) subset of possible configurations. Because of the rather broad range of possible relational backends and different configurations of those backends (locally hosted? remotely hosted? virtual hosting? mysql? postgresql? sqlite? root access?) I rather doubt it. Caveat: IANAID (I am not an Instiki developer). I'd love to hear from those who set the goals for the project whether or not they consider "there is no step 3" something that is important, or even possible to continue to deliver if Instiki-ar is to become the successor to the Madeleine-based instiki. Ben From wpollans at gmail.com Fri Jan 20 13:05:01 2006 From: wpollans at gmail.com (Warren Pollans) Date: Fri, 20 Jan 2006 13:05:01 -0500 Subject: [Instiki] installs old versions of RedCloth and rubyzip Message-ID: I currently have gems RedCloth 3.0.4 and rubyzip 0.5.12 installed. Installing instiki gem installs RedCloth 3.0.3 and rubyzip 0.5.8 and won't run if the older versions are removed. How can I get instiki to work with the current versions of RedCloth and rubyzip? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instiki-users/attachments/20060120/3bb921ff/attachment.htm From rdm at cfcl.com Fri Jan 20 13:02:54 2006 From: rdm at cfcl.com (Rich Morin) Date: Fri, 20 Jan 2006 10:02:54 -0800 Subject: [Instiki] OSX install travails Message-ID: [ Sorry about leaving the subject line off my first message; it was getting late out... -r] At 9:38 AM +0000 1/20/06, Chris Roos wrote: > Have you got the sqlite3 ruby gem installed? > > # gem install sqlite3 Interesting notion. I tried this: > % sudo gem install sqlite3 > Attempting local installation of 'sqlite3' > Local gem file not found: sqlite3*.gem > Attempting remote installation of 'sqlite3' > Updating Gem source index for: http://gems.rubyforge.org > ERROR: While executing gem ... (Gem::GemNotFoundException) > Could not find sqlite3 (> 0) in the repository Thinking that it might be trying to find "sqlite", I tried: > % sudo gem install sqlite > Attempting local installation of 'sqlite' > Local gem file not found: sqlite*.gem > Attempting remote installation of 'sqlite' > Building native extensions. This could take a while... > ERROR: While executing gem ... (RuntimeError) > ERROR: Failed to build gem native extension. > Gem files will remain installed in > /usr/lib/ruby/gems/1.8/gems/sqlite-2.0.1 for inspection. > ruby extconf.rb install sqlite > checking for main() in -lsqlite... no > checking for sqlite.h... no > > Results logged to >/usr/lib/ruby/gems/1.8/gems/sqlite-2.0.1/ext/gem_make.out So, I'm still stuck... -r -- Technical editing and writing, programming, and web development: http://www.cfcl.com/rdm/resume Contact information: rdm at cfcl.com, +1 650-873-7841 From lists-instiki at shopwatch.org Fri Jan 20 13:27:13 2006 From: lists-instiki at shopwatch.org (Jay Levitt) Date: Fri, 20 Jan 2006 13:27:13 -0500 Subject: [Instiki] installs old versions of RedCloth and rubyzip In-Reply-To: References: Message-ID: <43D12B81.30606@rubyforge.org> Warren Pollans wrote: > I currently have gems RedCloth 3.0.4 and rubyzip 0.5.12 installed. > Installing instiki gem installs RedCloth 3.0.3 and rubyzip 0.5.8 and > won't run if the older versions are removed. > > How can I get instiki to work with the current versions of RedCloth and > rubyzip? RedCloth 3.0.4 won't work, period. The recommended fix for it is "roll back to 3.0.3." From wpollans at gmail.com Fri Jan 20 13:44:10 2006 From: wpollans at gmail.com (Warren Pollans) Date: Fri, 20 Jan 2006 13:44:10 -0500 Subject: [Instiki] installs old versions of RedCloth and rubyzip In-Reply-To: <43D12B81.30606@rubyforge.org> References: <43D12B81.30606@rubyforge.org> Message-ID: instiki also wants rails 0.13.1 - I have rails 1.0.0 is this older version of rails also a requirement? On 1/20/06, Jay Levitt wrote: > > Warren Pollans wrote: > > I currently have gems RedCloth 3.0.4 and rubyzip 0.5.12 installed. > > Installing instiki gem installs RedCloth 3.0.3 and rubyzip 0.5.8 and > > won't run if the older versions are removed. > > > > How can I get instiki to work with the current versions of RedCloth and > > rubyzip? > > RedCloth 3.0.4 won't work, period. The recommended fix for it is "roll > back to 3.0.3." > > _______________________________________________ > Instiki-users mailing list > Instiki-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instiki-users/attachments/20060120/45b6e993/attachment.htm From rdm at cfcl.com Fri Jan 20 17:54:59 2006 From: rdm at cfcl.com (Rich Morin) Date: Fri, 20 Jan 2006 14:54:59 -0800 Subject: [Instiki] OSX install travails In-Reply-To: References: Message-ID: http://wiki.rubyonrails.com/rails/pages/HowtoUseSQLite says (boiled down a bit): % sudo port install swig % sudo gem install sqlite3-ruby 1. sqlite3-ruby 1.1.0 (ruby) 2. sqlite3-ruby 1.1.0 (mswin32) ... ==> Choose the highest-numbered "(ruby)" version. So I did that, without apparent errors. I also installed and built ruby-1.8.4, for good measure (this may have been a mistake). Then I tried running Instiki again: % instiki /usr/local/lib/ruby/1.8/webrick/httputils.rb:11:in `require': no such file to load -- socket (LoadError) from /usr/local/lib/ruby/1.8/webrick/httputils.rb:11 from /usr/local/lib/ruby/1.8/webrick/config.rb:13 from /usr/local/lib/ruby/1.8/webrick.rb:14 from ./script/server:3 from instiki:6 So far the non-existent step 3 has taken me through several hours of hunt-the wumpus. In fact, I seem to be worse off than I was earlier (at least, the server started up before). In case the ruby-1.8.4 install had broken things, I tried to redo the swig and sqlite3 install, but the latter failed: % sudo port install swig Password: ---> Unpacking tgz archive for swig 1.3.27_0+darwin_8 ---> Cleaning swig % sudo gem install sqlite3-ruby /usr/bin/gem:3:in `require': no such file to load -- rubygems (LoadError) from /usr/bin/gem:3 So, I continue to be hosed... Help? -r -- Technical editing and writing, programming, and web development: http://www.cfcl.com/rdm/resume Contact information: rdm at cfcl.com, +1 650-873-7841 From rdm at cfcl.com Sat Jan 21 04:59:33 2006 From: rdm at cfcl.com (Rich Morin) Date: Sat, 21 Jan 2006 01:59:33 -0800 Subject: [Instiki] Ruby (etc) setup on Mac OS X Message-ID: There is a small omission in the instructions on http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger Specifically, if the user has set "umask 022" or some such, the "make" operations will create files with restrictive permissions and the "sudo make install" commands will put them in place in that condition. As a result, the user will not be able to "require" assorted files, etc. Now really, I think that this is more a problem in the make files than in the web page, but regardless, it cost me more time than I'd care to admit to figure it out. Going to a local "code camp", in fact, was what led me to start looking in the right place (Thanks, RB!). After discovering the problem, I removed /usr/local/lib/ruby and rebuilt the whole thing. However, I'm still having problems: > % instiki > ./vendor/rails/activesupport/lib/active_support/clean_logger.rb:13:in > `remove_const': constant Logger::Format not defined (NameError) > from ./vendor/rails/activesupport/lib/active_support/clean_logger.rb:13 > from ./vendor/rails/activesupport/lib/active_support.rb:31 > from ./script/../config/environment.rb:60 > from ./script/server:42 > from instiki:6 Suggestions, anyone? -r -- Technical editing and writing, programming, and web development: http://www.cfcl.com/rdm/resume Contact information: rdm at cfcl.com, +1 650-873-7841 From rdm at cfcl.com Sat Jan 21 05:06:24 2006 From: rdm at cfcl.com (Rich Morin) Date: Sat, 21 Jan 2006 02:06:24 -0800 Subject: [Instiki] http://www.instiki.org/show/HomePage Message-ID: was perverted by some porn junk. I reverted it. -r -- Technical editing and writing, programming, and web development: http://www.cfcl.com/rdm/resume Contact information: rdm at cfcl.com, +1 650-873-7841 From assaph at gmail.com Sat Jan 21 05:18:12 2006 From: assaph at gmail.com (Assaph Mehr) Date: Sat, 21 Jan 2006 21:18:12 +1100 Subject: [Instiki] installs old versions of RedCloth and rubyzip In-Reply-To: References: <43D12B81.30606@rubyforge.org> Message-ID: <3ff47be90601210218n67b1cff8m6b17ef7fd54f5ff9@mail.gmail.com> On 1/21/06, Warren Pollans wrote: > instiki also wants rails 0.13.1 - I have rails 1.0.0 > > is this older version of rails also a requirement? Yep. There are significant changes in API and functionality between all those libraries/versions, so Instiki requires the specific versions that it's tested against. From assaph at gmail.com Sat Jan 21 05:25:47 2006 From: assaph at gmail.com (Assaph Mehr) Date: Sat, 21 Jan 2006 21:25:47 +1100 Subject: [Instiki] Instiki-ar: "There is no step 3" unsustainable? In-Reply-To: <1137774647.7512.44.camel@bgpc.dymaxion.ca> References: <1137774647.7512.44.camel@bgpc.dymaxion.ca> Message-ID: <3ff47be90601210225y7e111c64vf3df0e2f743145dc@mail.gmail.com> > Caveat: IANAID (I am not an Instiki developer). I'd love to hear from > those who set the goals for the project whether or not they consider > "there is no step 3" something that is important, or even possible to > continue to deliver if Instiki-ar is to become the successor to the > Madeleine-based instiki. IANAID either, but I don't see how is that sustainable over multiple platforms. There are just too many issues with repackaging and setting up the databases that I guess this will have to be dropped. For Pimki, I am currently developing an ActiveRecord adapter to KirbyBase (pure ruby DBMS)... but WEBrick + KB probably won't scale above small groups. Fine for me, not so good for Instiki. Cheers, Assaph From lists-instiki at shopwatch.org Sat Jan 21 06:56:15 2006 From: lists-instiki at shopwatch.org (Jay Levitt) Date: Sat, 21 Jan 2006 06:56:15 -0500 Subject: [Instiki] Instiki-ar: "There is no step 3" unsustainable? In-Reply-To: <3ff47be90601210225y7e111c64vf3df0e2f743145dc@mail.gmail.com> References: <1137774647.7512.44.camel@bgpc.dymaxion.ca> <3ff47be90601210225y7e111c64vf3df0e2f743145dc@mail.gmail.com> Message-ID: <43D2215F.3090000@rubyforge.org> Assaph Mehr wrote: >> Caveat: IANAID (I am not an Instiki developer). I'd love to hear from >> those who set the goals for the project whether or not they consider >> "there is no step 3" something that is important, or even possible to >> continue to deliver if Instiki-ar is to become the successor to the >> Madeleine-based instiki. > > IANAID either, but I don't see how is that sustainable over multiple > platforms. IANAID (though I keep threatening to become one...) Seems to me that, if Instiki were to become a Rails engine, it could be "no step 3" in two ways simultaneously: 1. Package it as a standalone app which just happens to be based on Rails, and 2. Offer it as an engine which has "no step 3" if you're already running Rails. Jay Levitt From rdm at cfcl.com Sat Jan 21 14:43:03 2006 From: rdm at cfcl.com (Rich Morin) Date: Sat, 21 Jan 2006 11:43:03 -0800 Subject: [Instiki] re-grouping, once again Message-ID: At 10:33 AM +1100 12/30/05, Assaph Mehr wrote: > And while catching up to new releases may be a pain, > if you don't mind a few rough corners the version in > SVN head should be an excellent base. It is a clean > and simple wiki that can be extended easily. There > are a few gotchas, but we'll gladly help with them :-) Although the instructions I followed eventually got me to a working version of Ruby 1.8.4, etc, I suspect that I'll be better off following AM's advice than in trying to start from the Instiki Beta (which appears not to be compatible with the current version of Rails). So, I installed an svn client and downloaded the head: svn co http://svn.instiki.org/instiki/trunk instiki per AV's instructions on http://instiki.org/show/Subversion This appears to include a copy of Rails, so that issue may be out of the way. Getting brave, I tried to run it: % instiki ./vendor/rails/railties/lib/initializer.rb:424:in `read': No such file or directory - ./config/database.yml (Errno::ENOENT) ... OK, ./config/database.yml is missing. Look at the README, which tells me to: 3. Kill "instiki" >> It's not running. 4. Install SQLite 3 database engine from http://www.sqlite.org/ 5. Install SQLite 3 driver for Ruby from http://sqlite-ruby.rubyforge.org/ 6. Install Rake from http://rake.rubyforge.org/ >> I already have these. 7. Execute rm -f db/*.db >> No such files in this tree. 8. Execute 'rake migrate' % rake migrate (in /Local/_Private/Homes/rdm/pkgs/zip/instiki_head/instiki) rake aborted! No such file or directory - ./config/database.yml (See full trace by running task with --trace) So, I appear to really need a config/database.yml file and there doesn't seem to be a sample on hand. This sounds like the place where I ask AM to make good on his unwary promise. -r -- Technical editing and writing, programming, and web development: http://www.cfcl.com/rdm/resume Contact information: rdm at cfcl.com, +1 650-873-7841 From assaph at gmail.com Sun Jan 22 03:00:20 2006 From: assaph at gmail.com (Assaph Mehr) Date: Sun, 22 Jan 2006 19:00:20 +1100 Subject: [Instiki] re-grouping, once again In-Reply-To: References: Message-ID: <3ff47be90601220000v36e2950r410fab65191506f8@mail.gmail.com> > So, I appear to really need a config/database.yml file and > there doesn't seem to be a sample on hand. This sounds like > the place where I ask AM to make good on his unwary promise. You'll need something like the attached in the config directory :-) If you run 'rake migrate' it will create the development database. If you want to run the tests run 'rake prepare_test_database' (and 'rake purge_test_database' afterwords). Cheers, Assaph -------------- next part -------------- A non-text attachment was scrubbed... Name: database.yml Type: application/octet-stream Size: 151 bytes Desc: not available Url : http://rubyforge.org/pipermail/instiki-users/attachments/20060122/f80b7788/database.obj From rdm at cfcl.com Sun Jan 22 04:24:56 2006 From: rdm at cfcl.com (Rich Morin) Date: Sun, 22 Jan 2006 01:24:56 -0800 Subject: [Instiki] re-grouping, once again In-Reply-To: <3ff47be90601220000v36e2950r410fab65191506f8@mail.gmail.com> References: <3ff47be90601220000v36e2950r410fab65191506f8@mail.gmail.com> Message-ID: At 7:00 PM +1100 1/22/06, Assaph Mehr wrote: > You'll need something like the attached in the config directory :-) I guessed it was about that simple, but I've gotten really tired of having my guesses land me in trouble. So, thanks! > If you run 'rake migrate' it will create the development database. If > you want to run the tests run 'rake prepare_test_database' (and 'rake > purge_test_database' afterwords). I did this, with no errors reported. Then I tried instiki and got: % instiki => Instiki started on http://0.0.0.0:2500 => Ctrl-C to shutdown; call with --help for options [2006-01-22 00:55:36] INFO WEBrick 1.3.1 [2006-01-22 00:55:36] INFO ruby 1.8.4 (2005-12-24) [powerpc-darwin8.4.0] [2006-01-22 00:55:36] INFO WEBrick::HTTPServer#start: pid=16154 port=2500 Unfortunately, although it responds to http://0.0.0.0:2500/ or http://localhost:2500, the result is a blank screen (and view source also shows up as empty). I tried the instructions in the README: % rm -f db/*.db % rake migrate (in /Local/_Private/Homes/rdm/pkgs/zip/instiki_head/instiki) % instiki => Instiki started on http://0.0.0.0:2500 => Ctrl-C to shutdown; call with --help for options [2006-01-22 00:58:00] INFO WEBrick 1.3.1 [2006-01-22 00:58:00] INFO ruby 1.8.4 (2005-12-24) [powerpc-darwin8.4.0] [2006-01-22 00:58:00] INFO WEBrick::HTTPServer#start: pid=16196 port=2500 but I still got a blank screen. I tried running a plain "rake" and got a fair number of errors. Is this normal? % rake ... 1) Failure: test_html_diff_preserves_endlines_in_pre(DiffTest) [./test/unit/diff_test.rb:88]: ... 2) Error: test_wiki_word_linking(PageRendererTest): ... 3) Failure: test_revise_changes_references_from_wanted_to_linked_for_new_pages(PageTest) [./test/unit/page_test.rb:107]: ... 4) Failure: test_new_page_linked_from_mother_page(WebTest) [./test/unit/web_test.rb:69]: ... 5) Failure: test_orphaned_pages(WebTest) [./test/unit/web_test.rb:85]: ... 6) Error: test_pages_by_match(WebTest): ... 7) Error: test_pages_by_revision(WebTest): ... 8) Failure: test_references(WebTest) [./test/unit/web_test.rb:24]: ... 114 tests, 720 assertions, 5 failures, 3 errors ... Loaded suite /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake/rake_test_loader Started ... ruby(16448,0xa000ed68) malloc: *** vm_allocate(size=1349320704) failed (error code=3) ruby(16448,0xa000ed68) malloc: *** error: can't allocate region ruby(16448,0xa000ed68) malloc: *** set a breakpoint in szone_error to debug ruby(16448,0xa000ed68) malloc: *** vm_allocate(size=1069056) failed (error code=3) ruby(16448,0xa000ed68) malloc: *** error: can't allocate region ruby(16448,0xa000ed68) malloc: *** set a breakpoint in szone_error to debug ruby(16448,0xa000ed68) malloc: *** vm_allocate(size=1069056) failed (error code=3) ruby(16448,0xa000ed68) malloc: *** error: can't allocate region ruby(16448,0xa000ed68) malloc: *** set a breakpoint in szone_error to debug ruby(16448,0xa000ed68) malloc: *** vm_allocate(size=1069056) failed (error code=3) ruby(16448,0xa000ed68) malloc: *** error: can't allocate region ruby(16448,0xa000ed68) malloc: *** set a breakpoint in szone_error to debug ruby(16448,0xa000ed68) malloc: *** vm_allocate(size=1069056) failed (error code=3) ruby(16448,0xa000ed68) malloc: *** error: can't allocate region ruby(16448,0xa000ed68) malloc: *** set a breakpoint in szone_error to debug [FATAL] failed to allocate memory rake aborted! Test failures (See full trace by running task with --trace) Somehow, this doesn't seem right... -r -- Technical editing and writing, programming, and web development: http://www.cfcl.com/rdm/resume Contact information: rdm at cfcl.com, +1 650-873-7841 From assaph at gmail.com Sun Jan 22 05:03:13 2006 From: assaph at gmail.com (Assaph Mehr) Date: Sun, 22 Jan 2006 21:03:13 +1100 Subject: [Instiki] re-grouping, once again In-Reply-To: References: <3ff47be90601220000v36e2950r410fab65191506f8@mail.gmail.com> Message-ID: <3ff47be90601220203p9a84dfaw41856389c0d95571@mail.gmail.com> > % instiki > => Instiki started on http://0.0.0.0:2500 > => Ctrl-C to shutdown; call with --help for options > [2006-01-22 00:55:36] INFO WEBrick 1.3.1 > [2006-01-22 00:55:36] INFO ruby 1.8.4 (2005-12-24) [powerpc-darwin8.4.0] > [2006-01-22 00:55:36] INFO WEBrick::HTTPServer#start: pid=16154 port=2500 > > Unfortunately, although it responds to http://0.0.0.0:2500/ or > http://localhost:2500, the result is a blank screen (and view source > also shows up as empty). I tried the instructions in the README: I think that actually starts the production environment, for which you haven't created the database. Either copy the dev.db to prod.db, or start it with: ruby script\server -e development > but I still got a blank screen. I tried running a plain "rake" and got > a fair number of errors. Is this normal? That's all the tests failing. It sorta hangs on my Windows box (haven't tested on *nix yet). The malloc ones which look particularly nasty are probably the cause of that. Sorry, but I haven't looked in the HEAD for a while. My recommendation may have been inappropriate as it seems it's been in this state from before Christmas. Cheers, Assaph From rdm at cfcl.com Sun Jan 22 11:52:34 2006 From: rdm at cfcl.com (Rich Morin) Date: Sun, 22 Jan 2006 08:52:34 -0800 Subject: [Instiki] re-grouping, once again In-Reply-To: <3ff47be90601220203p9a84dfaw41856389c0d95571@mail.gmail.com> References: <3ff47be90601220000v36e2950r410fab65191506f8@mail.gmail.com> <3ff47be90601220203p9a84dfaw41856389c0d95571@mail.gmail.com> Message-ID: At 9:03 PM +1100 1/22/06, Assaph Mehr wrote: > I think that actually starts the production environment, for > which you haven't created the database. Either copy the dev.db > to prod.db, or start it with: > > ruby script\server -e development That appears to work. At least, I got the "Instiki Setup" screen. I was beginning to wonder if running this under Ruby 1.8.4 was the problem. Incidentally, is that likely to be an issue? If so, can I simply avoid it by saying: /usr/bin/ruby script/server -e development where this specifically starts up the OSX 1.8.2: % ruby -v ruby 1.8.4 (2005-12-24) [powerpc-darwin8.4.0] % /usr/bin/ruby -v ruby 1.8.2 (2004-12-25) [powerpc-darwin8.0] > That's all the tests failing. ... I gathered that (:-). > My recommendation may have been inappropriate as it > seems it's been in this state from before Christmas. Could be. As a Ruby Nuby, I'm not really the person who should be trying to work on these problems (though it would certainly be a learning experience). Alexey, can you give us any idea of your plans? -r -- Technical editing and writing, programming, and web development: http://www.cfcl.com/rdm/resume Contact information: rdm at cfcl.com, +1 650-873-7841 From rdm at cfcl.com Sun Jan 22 19:05:24 2006 From: rdm at cfcl.com (Rich Morin) Date: Sun, 22 Jan 2006 16:05:24 -0800 Subject: [Instiki] re-grouping, once again In-Reply-To: References: <3ff47be90601220000v36e2950r410fab65191506f8@mail.gmail.com> <3ff47be90601220203p9a84dfaw41856389c0d95571@mail.gmail.com> Message-ID: Well, I filled in the "Instiki Setup" screen and then, kaboom! Specifically, http://0.0.0.0:2500/create_system displayed: > You have a nil object when you didn't expect it! > The error occurred while evaluating nil.files_path > > RAILS_ROOT: . > > You have a nil object when you didn't expect it! > The error occured while evaluating nil.files_path > > RAILS_ROOT: . > Application Trace | Framework Trace | Full Trace > #{RAILS_ROOT}/app/models/wiki_file.rb:49:in `content_path' > #{RAILS_ROOT}/app/models/web.rb:86:in `create_files_directory' > #{RAILS_ROOT}/app/models/wiki.rb:13:in `create_web' > #{RAILS_ROOT}/app/models/wiki.rb:70:in `setup' > #{RAILS_ROOT}/app/controllers/admin_controller.rb:17:in `create_system' > > Request > > Parameters: {"web_name"=>"Ontiki", "password_check"=>"xxx", > "web_address"=>"ontiki", "password"=>"xxx"} > > Show session dump > > Response > Headers: {"cookie"=>[], "Content-Type"=>"text/html; charset=UTF-8", > "Cache-Control"=>"no-cache"} > > Application Trace | Framework Trace | Full Trace > #{RAILS_ROOT}/app/models/wiki_file.rb:49:in `content_path' > #{RAILS_ROOT}/app/models/web.rb:86:in `create_files_directory' > #{RAILS_ROOT}/app/models/wiki.rb:13:in `create_web' > #{RAILS_ROOT}/app/models/wiki.rb:70:in `setup' > #{RAILS_ROOT}/app/controllers/admin_controller.rb:17:in `create_system' > > Request > > Parameters: {"web_name"=>"Ontiki", "password_check"=>"abc", > "web_address"=>"ontiki", "password"=>"abc"} > > Show session dump > > Response > Headers: {"cookie"=>[], "Content-Type"=>"text/html; charset=UTF-8", > "Cache-Control"=>"no-cache"} So, I decided to try "going with the flow": % rm -f db/*.db % rake migrate % cp db/dev.db db/prod.db % instiki This resulted in: > undefined method `files_path' for nil:NilClass > > RAILS_ROOT: . > Application Trace | Framework Trace | Full Trace > #{RAILS_ROOT}/app/models/wiki_file.rb:49:in `content_path' > #{RAILS_ROOT}/app/models/web.rb:86:in `create_files_directory' > #{RAILS_ROOT}/app/models/wiki.rb:13:in `create_web' > #{RAILS_ROOT}/app/models/wiki.rb:70:in `setup' > #{RAILS_ROOT}/app/controllers/admin_controller.rb:17:in `create_system' > instiki:6 > > Request > > Parameters: {"web_name"=>"Ontiki", "password_check"=>"abc", > "web_address"=>"ontiki", "password"=>"abc"} > > Show session dump > > Response > Headers: {"cookie"=>[], "Content-Type"=>"text/html; charset=UTF-8", > "Cache-Control"=>"no-cache"} So, recalling some noise about 1.8.4 and Rails being incompatible, I edited "instiki" to use /usr/bin/ruby. This allowed me to get to the "Creating Home Page" page! That page seemed to run OK, but I got a long list of nastygrams from the server: > instiki_h > => Instiki started on http://0.0.0.0:2500 > => Ctrl-C to shutdown; call with --help for options > [2006-01-22 15:40:23] INFO WEBrick 1.3.1 > [2006-01-22 15:40:23] INFO ruby 1.8.2 (2004-12-25) [powerpc-darwin8.0] > [2006-01-22 15:40:23] INFO WEBrick::HTTPServer#start: pid=27538 port=2500 > 127.0.0.1 - - [22/Jan/2006:15:40:38 PST] > "GET / HTTP/1.1" 302 99 > - -> / > 127.0.0.1 - - [22/Jan/2006:15:40:40 PST] "GET /create_system HTTP/1.1" 200 3620 > - -> /create_system > 127.0.0.1 - - [22/Jan/2006:15:41:02 PST] > "POST /create_system HTTP/1.1" 302 105 > http://0.0.0.0:2500/create_system -> /create_system > 127.0.0.1 - - [22/Jan/2006:15:41:04 PST] > "GET /ontiki/new/HomePage HTTP/1.1" 200 3982 > http://0.0.0.0:2500/create_system -> /ontiki/new/HomePage > 127.0.0.1 - - [22/Jan/2006:15:41:22 PST] > "GET /create_system HTTP/1.1" 302 106 > - -> /create_system > 127.0.0.1 - - [22/Jan/2006:15:41:23 PST] > "GET /ontiki/show/HomePage HTTP/1.1" 302 105 > - -> /ontiki/show/HomePage > 127.0.0.1 - - [22/Jan/2006:15:41:24 PST] > "GET /ontiki/new/HomePage HTTP/1.1" 200 3858 > - -> /ontiki/new/HomePage > ./lib/bluecloth_tweaked.rb:85: warning: already initialized constant >Version > ./lib/bluecloth_tweaked.rb:88: warning: already initialized constant >SvnRev > ./lib/bluecloth_tweaked.rb:91: warning: already initialized constant SvnId > ./lib/bluecloth_tweaked.rb:94: warning: already initialized constant >SvnUrl > ./lib/bluecloth_tweaked.rb:100: warning: redefining constant >Struct::RenderState > ./lib/bluecloth_tweaked.rb:100: warning: already initialized constant >RenderState Is this just more of the same sort of cruft that is causing the tests to yelp? Owell, at least I'm able to fool around... -r -- Technical editing and writing, programming, and web development: http://www.cfcl.com/rdm/resume Contact information: rdm at cfcl.com, +1 650-873-7841 From rdm at cfcl.com Sun Jan 22 19:09:03 2006 From: rdm at cfcl.com (Rich Morin) Date: Sun, 22 Jan 2006 16:09:03 -0800 Subject: [Instiki] wish list Message-ID: In playing with Instiki, I've developed a bit of a wish list. I thought I'd share it, in case anyone wants to comment, etc. * Why can't addresses contain underscores? If I want to create a wiki named "Ontiki Test Area 1" and give it the address "ontiki_t01", I think I should be able to do so. * All edit pages should have preview buttons. All the best wikis have these... * There seem to be some missing pages. I don't see a "help" page, an "editing hints" page, etc. I also don't see a way to login, so I'm currently running as "Anonymous_Coward". * Ability to edit page sections independently. I'd like to be able to break pages into sections that can be edited independently. Going a bit further, I'd like to be able to control which classes of users (!) can edit any given section (type). Well, those should raise some eyebrows... Note that I'm NOT yelling for anyone to work on these, just bringing them up... -r -- Technical editing and writing, programming, and web development: http://www.cfcl.com/rdm/resume Contact information: rdm at cfcl.com, +1 650-873-7841 From assaph at gmail.com Sun Jan 22 19:26:00 2006 From: assaph at gmail.com (Assaph Mehr) Date: Mon, 23 Jan 2006 11:26:00 +1100 Subject: [Instiki] re-grouping, once again In-Reply-To: References: <3ff47be90601220000v36e2950r410fab65191506f8@mail.gmail.com> <3ff47be90601220203p9a84dfaw41856389c0d95571@mail.gmail.com> Message-ID: <3ff47be90601221626n33cf606cv65b72184ce8f1e95@mail.gmail.com> Hi Rich, > So, recalling some noise about 1.8.4 and Rails being incompatible, I > edited "instiki" to use /usr/bin/ruby. This allowed me to get to the > "Creating Home Page" page! Just be aware that you're running in production mode. > That page seemed to run OK, but I got a long list of nastygrams from > the server: > > "GET /ontiki/new/HomePage HTTP/1.1" 200 3858 > > - -> /ontiki/new/HomePage > > ./lib/bluecloth_tweaked.rb:85: warning: already initialized constant > >Version > > ./lib/bluecloth_tweaked.rb:88: warning: already initialized constant > >SvnRev > > ./lib/bluecloth_tweaked.rb:91: warning: already initialized constant SvnId > > ./lib/bluecloth_tweaked.rb:94: warning: already initialized constant > >SvnUrl > > ./lib/bluecloth_tweaked.rb:100: warning: redefining constant > >Struct::RenderState > > ./lib/bluecloth_tweaked.rb:100: warning: already initialized constant > >RenderState > > Is this just more of the same sort of cruft that is causing the tests to > yelp? Ignorable warnings :-) bluecloth_tweaked is, well, a tweaked version of BlueCloth (Markdown) for Instiki. When you require it it overrides certain perviously defined constants, which makes Ruby complain. HTH, Assaph From napalm at spiderfish.net Sun Jan 22 19:31:56 2006 From: napalm at spiderfish.net (Joao Cruz Morais) Date: Mon, 23 Jan 2006 00:31:56 +0000 Subject: [Instiki] wish list In-Reply-To: References: Message-ID: In addition to a preview button I loved to see a save&continue feature (or something like auto-save?). Rgds, Jo?o C Morais On 1/23/06, Rich Morin wrote: > > In playing with Instiki, I've developed a bit of a wish list. > I thought I'd share it, in case anyone wants to comment, etc. > > * Why can't addresses contain underscores? > > If I want to create a wiki named "Ontiki Test Area 1" and > give it the address "ontiki_t01", I think I should be able > to do so. > > > * All edit pages should have preview buttons. > > All the best wikis have these... > > > * There seem to be some missing pages. > > I don't see a "help" page, an "editing hints" page, etc. > I also don't see a way to login, so I'm currently running > as "Anonymous_Coward". > > > * Ability to edit page sections independently. > > I'd like to be able to break pages into sections that can > be edited independently. Going a bit further, I'd like to > be able to control which classes of users (!) can edit any > given section (type). > > Well, those should raise some eyebrows... Note that I'm NOT > yelling for anyone to work on these, just bringing them up... > > -r > -- > Technical editing and writing, programming, and web development: > http://www.cfcl.com/rdm/resume > > Contact information: rdm at cfcl.com, +1 650-873-7841 > _______________________________________________ > Instiki-users mailing list > Instiki-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instiki-users/attachments/20060123/bb6a7db8/attachment-0001.htm From assaph at gmail.com Sun Jan 22 20:50:39 2006 From: assaph at gmail.com (Assaph Mehr) Date: Mon, 23 Jan 2006 12:50:39 +1100 Subject: [Instiki] wish list In-Reply-To: References: Message-ID: <3ff47be90601221750s26ad483cmd74a89f1015ac45f@mail.gmail.com> IANAID, but here goes... On 1/23/06, Rich Morin wrote: > * Why can't addresses contain underscores? Cause the javascript that sanitizes the address is a bit overzealous and strips allowed characters as well. Modify cleanAddress() in \app\views\admin\create_system.rhtml. > * All edit pages should have preview buttons. ... and patches are welcome :-) I actually have tested this for Pimki in the templates section, and it's not too big a mess; but that was on pre-AR instiki. > * There seem to be some missing pages. > > I don't see a "help" page, There is no help page in Instiki (under Pimki it's filed as "don't panic" :-). > an "editing hints" page, etc. There is a textile/markdown help side bar. What are you after exactly? > I also don't see a way to login, so I'm currently running > as "Anonymous_Coward". When you edit a page there is a Author text field at the bottom. That's all you need to fill. There is no login functionality as there is no user model. This is a feature: it's a lightweight open wiki, not some enterprise lockdown version. > * Ability to edit page sections independently. Yep, patches are welcome. > I'd like to be able to break pages into sections that can > be edited independently. Going a bit further, I'd like to > be able to control which classes of users (!) can edit any > given section (type). If you're really after those kinds of controls than you'll need to start with a user model first. I don't think Instiki will ever have one, nor do I think it should. On 1/23/06, Joao Cruz Morais wrote: > In addition to a preview button I loved to see a save&continue feature (or > something like auto-save?). Have I mentioned patches? :-) This is probably harder than the preview as you need to keep it in a "temp" state and manage it as well as the page edit lock. HTH, Assaph From rdm at cfcl.com Mon Jan 23 00:14:21 2006 From: rdm at cfcl.com (Rich Morin) Date: Sun, 22 Jan 2006 21:14:21 -0800 Subject: [Instiki] wish list In-Reply-To: <3ff47be90601221750s26ad483cmd74a89f1015ac45f@mail.gmail.com> References: <3ff47be90601221750s26ad483cmd74a89f1015ac45f@mail.gmail.com> Message-ID: At 12:50 PM +1100 1/23/06, Assaph Mehr wrote: >> an "editing hints" page, etc. > There is a textile/markdown help side bar. > What are you after exactly? I see a side bar on the Instiki Home Page http://instiki.org/show/HomePage but I'm not seeing this on my copy of Instiki. Perhaps something is broken or mis-configured. Sigh. Anyway, is this what you're talking about? I created a set of Wish List pages on instiki.org, all linked off of http://instiki.org/show/Wish+List. I took the liberty of editing in the comments from AM and JM, as if our recent dialog had bee on the wiki. Take a look... -r P.S. I've been getting a fair number of nastygrams from instiki.org, saying that pages are locked. I think something is getting confused... -- Technical editing and writing, programming, and web development: http://www.cfcl.com/rdm/resume Contact information: rdm at cfcl.com, +1 650-873-7841 From rdm at cfcl.com Mon Jan 23 00:33:39 2006 From: rdm at cfcl.com (Rich Morin) Date: Sun, 22 Jan 2006 21:33:39 -0800 Subject: [Instiki] re-grouping, once again In-Reply-To: <3ff47be90601220203p9a84dfaw41856389c0d95571@mail.gmail.com> References: <3ff47be90601220000v36e2950r410fab65191506f8@mail.gmail.com> <3ff47be90601220203p9a84dfaw41856389c0d95571@mail.gmail.com> Message-ID: At 9:03 PM +1100 1/22/06, Assaph Mehr wrote: > start it with: > ruby script\server -e development I'd like to find a way to shoehorn this option into (my copy of) the instiki script, or put it into a setting somewhere, or ... I'm already using my own first line: > #!/usr/bin/ruby > #!/usr/bin/env ruby # disabled; 1.8.4 causes problems! > > # Executable file for a gem > # must be same as ./instiki.rb > > load File.dirname(__FILE__) + '/script/server' Suggestions? Also, some questions: * Is this (SVN HEAD) version using Rails 1.0? (How would I tell?) * Does Rails have a problem with Ruby 1.8.4? (Certainly, this code does!) -r -- Technical editing and writing, programming, and web development: http://www.cfcl.com/rdm/resume Contact information: rdm at cfcl.com, +1 650-873-7841 From assaph at gmail.com Mon Jan 23 05:07:04 2006 From: assaph at gmail.com (Assaph Mehr) Date: Mon, 23 Jan 2006 21:07:04 +1100 Subject: [Instiki] re-grouping, once again In-Reply-To: References: <3ff47be90601220000v36e2950r410fab65191506f8@mail.gmail.com> <3ff47be90601220203p9a84dfaw41856389c0d95571@mail.gmail.com> Message-ID: <3ff47be90601230207i1275f449nde60571ad5eb22f2@mail.gmail.com> > I'd like to find a way to shoehorn this option into > (my copy of) the instiki script, or put it into a > setting somewhere Normally you'd use the RAILS_ENV environment variable, but Instiki doesn't use it properly. Here's a patch to fix: --- server.orig 2006-01-23 20:54:09.921875000 +1100 +++ server 2006-01-23 20:55:06.453125000 +1100 @@ -6,7 +6,7 @@ OPTIONS = { :port => 2500, :ip => "0.0.0.0", - :environment => "production", + :environment => ENV["RAILS_ENV"] || "development", :server_root => File.expand_path(File.dirname(__FILE__) + "/../public/"), :server_type => WEBrick::SimpleServer } @@ -25,7 +25,7 @@ "Default: 0.0.0.0") { |OPTIONS[:ip]| } opts.on("-e", "--environment=name", String, "Specifies the environment to run this server under (test/development/production).", - "Default: development") { |OPTIONS[:environment]| } + "Default: #{OPTIONS[:environment]}") { |OPTIONS[:environment]| } opts.on("-d", "--daemon", "Make Instiki run as a Daemon (only works if fork is available -- meaning on *nix)." ) { OPTIONS[:server_type] = WEBrick::Daemon } @@ -38,7 +38,7 @@ opts.parse! end -ENV["RAILS_ENV"] = OPTIONS[:environment] +ENV["RAILS_ENV"] ||= OPTIONS[:environment] require File.dirname(__FILE__) + "/../config/environment" require 'webrick_server' If you're on Windows, override the instiki.cmd as well (or delete and run instiki.rb). > * Is this (SVN HEAD) version using Rails 1.0? > (How would I tell?) Look at the CHANGELOG, which says: Upgraded to Rails 0.14.3 (also know as 1.0 RC 4) So I think it should work OK with 1.0. You can also look at http://dev.instiki.org/timeline. > * Does Rails have a problem with Ruby 1.8.4? > (Certainly, this code does!) Not AFAIK. I know it had a problem with the (broken) 1.8.2 on OSX, but I think 1.8.4 is the recommended party line. From rdm at cfcl.com Mon Jan 23 12:45:15 2006 From: rdm at cfcl.com (Rich Morin) Date: Mon, 23 Jan 2006 09:45:15 -0800 Subject: [Instiki] re-grouping, once again In-Reply-To: <3ff47be90601230207i1275f449nde60571ad5eb22f2@mail.gmail.com> References: <3ff47be90601220000v36e2950r410fab65191506f8@mail.gmail.com> <3ff47be90601220203p9a84dfaw41856389c0d95571@mail.gmail.com> <3ff47be90601230207i1275f449nde60571ad5eb22f2@mail.gmail.com> Message-ID: At 9:07 PM +1100 1/23/06, Assaph Mehr wrote: >> ... Here's a patch to fix: ... Thanks! >> * Does Rails have a problem with Ruby 1.8.4? >> (Certainly, this code does!) > > Not AFAIK. I know it had a problem with the (broken) 1.8.2 > on OSX, but I think 1.8.4 is the recommended party line. Well, I definitely found that Instiki crashed and burned when I tried to run it on (my copy of) Ruby 1.8.4. If and when Instiki tests and runs cleanly on 1.8.2, we should revisit this. -r -- Technical editing and writing, programming, and web development: http://www.cfcl.com/rdm/resume Contact information: rdm at cfcl.com, +1 650-873-7841 From andy at preloaded.com Mon Jan 23 13:07:38 2006 From: andy at preloaded.com (Andy Beaumont) Date: Mon, 23 Jan 2006 18:07:38 +0000 Subject: [Instiki] My instiki died Message-ID: <43D51B6A.5000808@preloaded.com> Hi, I installed instiki as a gem some time ago and today had to restart the server that it's running on but instiki is refusing to start up for me. It's throwing up a ton of errors like these... /usr/lib/ruby/gems/1.8/gems/instiki-0.10.2/lib/bluecloth_tweaked.rb:85: warning: already initialized constant Version /usr/lib/ruby/gems/1.8/gems/instiki-0.10.2/lib/bluecloth_tweaked.rb:88: warning: already initialized constant SvnRev They all seem to be bluecloth related. Any ideas how I can get my wiki back? Thanks. Andy From warpman at kv.net.pl Mon Jan 23 13:26:23 2006 From: warpman at kv.net.pl (=?iso-8859-2?B?UHJ6ZW15c7NhdyBQYXdls2N6eWs=?=) Date: Mon, 23 Jan 2006 19:26:23 +0100 Subject: [Instiki] Problems with Instiki-AR create_db, part II Message-ID: Hi, I got Debian 3.1, and sqlite3 installed. I had unpacked instiki-ar.zip to my home directory then had run instiki.db and tried to exec create_db. What I got is as follows: pp at tytan:~/data/instiki-ar$ ./script/create_db /home/pp/data/instiki-ar/script/../config/environment.rb:16: warning: already initialized constant RAILS_ROOT /home/pp/data/instiki-ar/script/../config/environment.rb:23: warning: already initialized constant RAILS_ENV /home/pp/data/instiki-ar/script/../config/environment.rb:26: warning: already initialized constant ADDITIONAL_LOAD_PATHS /home/pp/data/instiki-ar/script/../config/environment.rb:73: warning: already initialized constant RAILS_DEFAULT_LOGGER /home/pp/data/instiki-ar/script/../config/environment.rb:90: warning: already initialized constant Controllers Creating tables for production... /home/pp/data/instiki-ar/vendor/rails/activesupport/lib/active_support/dependencies.rb:200:in `require': no such file to load -- sqlite3 (MissingSourceFile) from /home/pp/data/instiki-ar/vendor/rails/activesupport/lib/active_support/dependencies.rb:200:in `require' from /home/pp/data/instiki-ar/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:10:in `require_library_or_gem' from /home/pp/data/instiki-ar/vendor/rails/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb:15:in `sqlite3_connection' from /home/pp/data/instiki-ar/vendor/rails/activerecord/lib/active_record/query_cache.rb:52:in `send' from /home/pp/data/instiki-ar/vendor/rails/activerecord/lib/active_record/query_cache.rb:52:in `connection=' from /home/pp/data/instiki-ar/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:108:in `retrieve_connection' from /home/pp/data/instiki-ar/vendor/rails/activerecord/lib/active_record/base.rb:239:in `connection' from ./script/create_db:17 from ./script/create_db:16:in `each' from ./script/create_db:16 from ./script/create_db:10:in `each' from ./script/create_db:10 Of course database was not created. Why? I'll appreciate any help. BTW. Could one of the developers/users be so kind to write one page at least how to install the wiki, without the need to ferretting about through users mailing list? I'm totally confused. Sqlite3 is very simple and efficient and it was a good decision to switch to it but having such snags at the beginning are discouraging. Best regards, Przemys?aw Pawe?czyk (warpman) -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ From assaph at gmail.com Mon Jan 23 16:25:32 2006 From: assaph at gmail.com (Assaph Mehr) Date: Tue, 24 Jan 2006 08:25:32 +1100 Subject: [Instiki] My instiki died In-Reply-To: <43D51B6A.5000808@preloaded.com> References: <43D51B6A.5000808@preloaded.com> Message-ID: <3ff47be90601231325g60c030ay7945a18a07894272@mail.gmail.com> > /usr/lib/ruby/gems/1.8/gems/instiki-0.10.2/lib/bluecloth_tweaked.rb:85: > warning: already initialized constant Version > /usr/lib/ruby/gems/1.8/gems/instiki-0.10.2/lib/bluecloth_tweaked.rb:88: > warning: already initialized constant SvnRev These are warnings, not errors, and do not impact running Instiki. > They all seem to be bluecloth related. Any ideas how I can get my wiki back? What are the symptoms, OS... ? Cheers, Assaph From assaph at gmail.com Mon Jan 23 16:30:03 2006 From: assaph at gmail.com (Assaph Mehr) Date: Tue, 24 Jan 2006 08:30:03 +1100 Subject: [Instiki] Problems with Instiki-AR create_db, part II In-Reply-To: References: Message-ID: <3ff47be90601231330h4a074028xb6f75d7f4807d393@mail.gmail.com> > I got Debian 3.1, and sqlite3 installed. I had unpacked instiki-ar.zip to > my home directory then had run instiki.db and tried to exec create_db. > What I got is as follows: [snip] > `require': no such file to load -- sqlite3 (MissingSourceFile) You also need the Ruby SQLite driver: gem install sqlite3-ruby Instiki-AR is a beta software and haven't been packaged properly yet, that's why most the info is in the mailing list. There's also a note on the instiki.org home page. Cheers, Assaph From rdm at cfcl.com Tue Jan 24 00:43:35 2006 From: rdm at cfcl.com (Rich Morin) Date: Mon, 23 Jan 2006 21:43:35 -0800 Subject: [Instiki] re-grouping, once again In-Reply-To: References: <3ff47be90601220000v36e2950r410fab65191506f8@mail.gmail.com> <3ff47be90601220203p9a84dfaw41856389c0d95571@mail.gmail.com> <3ff47be90601230207i1275f449nde60571ad5eb22f2@mail.gmail.com> Message-ID: I received a reasonably authoritative response (:-) to my query on the Ruby-talk list. So, I assume that any issues I had in using the svn HEAD Instiki on Ruby 1.8.4 were the result of (a) configuration problems or (b) oddities in the svn HEAD version of Instiki. Can anyone try the svn HEAD version of Instiki under Ruby 1.8.4 and report back? -r At 10:53 PM -0600 1/23/06, David Heinemeier Hansson wrote: >> I think I recall reading that there were some incompatibilities, >> but that was a while back. What's the current situation? > > It works! ;) -- Technical editing and writing, programming, and web development: http://www.cfcl.com/rdm/resume Contact information: rdm at cfcl.com, +1 650-873-7841 From andy at preloaded.com Tue Jan 24 06:02:24 2006 From: andy at preloaded.com (Andy Beaumont) Date: Tue, 24 Jan 2006 11:02:24 +0000 Subject: [Instiki] My instiki died In-Reply-To: <3ff47be90601231325g60c030ay7945a18a07894272@mail.gmail.com> References: <43D51B6A.5000808@preloaded.com> <3ff47be90601231325g60c030ay7945a18a07894272@mail.gmail.com> Message-ID: <43D60940.1040307@preloaded.com> > What are the symptoms, OS... ? Oops sorry, should have mentioned, it's running on Debian Sarge, Ruby 1.8.2, Rails has been upgraded to 1.0 since instiki was installed and I'm starting instiki using ruby /usr/lib/ruby/gems/1.8/gems/instiki-0.10.2/instiki.rb --port 2500 --daemon --storage /storage which gives me 34 bluecloth related errors followed by => Starting Instiki on http://0.0.0.0:2500 => Data files are stored in /storage/2500 [2006-01-24 10:51:11] Taking a Madeleine snapshot [2006-01-24 10:51:11] INFO WEBrick 1.3.1 [2006-01-24 10:51:11] INFO ruby 1.8.2 (2005-04-11) [i386-linux] When I then try to go to my instiki page though it just fails to get anywhere. From warpman at kv.net.pl Tue Jan 24 07:44:19 2006 From: warpman at kv.net.pl (=?iso-8859-2?B?UHJ6ZW15c7NhdyBQYXdls2N6eWs=?=) Date: Tue, 24 Jan 2006 13:44:19 +0100 Subject: [Instiki] Problems with Instiki-AR create_db, part II In-Reply-To: <3ff47be90601231330h4a074028xb6f75d7f4807d393@mail.gmail.com> References: <3ff47be90601231330h4a074028xb6f75d7f4807d393@mail.gmail.com> Message-ID: On Mon, 23 Jan 2006 22:30:03 +0100, Assaph Mehr wrote: Hi, I did as you said. Thanks. Pardon me to be sarcastic but how long will this go on: root at tytan:~/zip# gem install sqlite3-ruby-1.1.0.gem Attempting local installation of 'sqlite3-ruby-1.1.0.gem' Building native extensions. This could take a while... extconf.rb:1:in `require': no such file to load -- mkmf (LoadError) from extconf.rb:1 ERROR: Error installing gem sqlite3-ruby-1.1.0.gem[.gem]: ERROR: Failed to build gem native extension. Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0 for inspection. ruby extconf.rb install sqlite3-ruby-1.1.0.gem\n Results logged to /usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0/ext/sqlite3_api/gem_make.out root at tytan:~/zip# And I'd like to test the instiki-ar only, as instiki seemed to suit my needs. Now I have to go through all the hassles of P.h.D. ;-) Regards, warpman >> I got Debian 3.1, and sqlite3 installed. I had unpacked instiki-ar.zip >> to >> my home directory then had run instiki.db and tried to exec create_db. >> What I got is as follows: > [snip] >> `require': no such file to load -- sqlite3 (MissingSourceFile) > > You also need the Ruby SQLite driver: > gem install sqlite3-ruby > > Instiki-AR is a beta software and haven't been packaged properly yet, > that's why most the info is in the mailing list. There's also a note > on the instiki.org home page. > > Cheers, > Assaph > > _______________________________________________ > Instiki-users mailing list > Instiki-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users > -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ From andy at preloaded.com Tue Jan 24 07:49:29 2006 From: andy at preloaded.com (Andy Beaumont) Date: Tue, 24 Jan 2006 12:49:29 +0000 Subject: [Instiki] My instiki died In-Reply-To: <43D60940.1040307@preloaded.com> References: <43D51B6A.5000808@preloaded.com> <3ff47be90601231325g60c030ay7945a18a07894272@mail.gmail.com> <43D60940.1040307@preloaded.com> Message-ID: <43D62259.9030305@preloaded.com> OK, I've got it working again now but not as a daemon, I have to keep a terminal window open for it. Also sadly the formatting is all screwed up. I'm guessing this is to do with my bluecloth warnings. Anyone else had these problems? Maybe it's time to try the switch to instiki-ar, is there an easy migration of the data from Madeleine to database? From BArmstrong at dymaxion.ca Tue Jan 24 09:24:11 2006 From: BArmstrong at dymaxion.ca (BG - Ben Armstrong) Date: Tue, 24 Jan 2006 10:24:11 -0400 Subject: [Instiki] Username on login form & init script for Ubuntu In-Reply-To: <1137681067.5898.9.camel@bgpc.dymaxion.ca> References: <1137597589.32177.20.camel@bgpc.dymaxion.ca> <3ff47be90601190521t66b855aeic478562c125cfae0@mail.gmail.com> <1137681067.5898.9.camel@bgpc.dymaxion.ca> Message-ID: <1138112651.24213.29.camel@bgpc.dymaxion.ca> I have been working on putting up an Instiki 0.10.2 server on an Ubuntu "breezy" system. As mentioned earlier, we would like to require a username to be entered (any username, so long as it isn't "AnonymousCoward") at login time instead of when the page is edited. This patch is considerably improved over my first effort. In this version, I have properly supported configuring a wiki web, using edit_web, to require a username independently of requiring a password. See the attached patch, relative to 0.10.2. Also, config/environments/production.rb is patched to use the environment variable INSTIKILOG as the log file if it is set. Finally, I have also attached an init script. Some notes about this script: I would have preferred to use a pid file, but Instiki doesn't create one in --daemon mode, and start-stop-daemon --make-pidfile --background is an ugly hack, so --user was much easier. To use this init script, I assume you have put unpacked the instiki tarball in /opt/instiki/ and have created an instiki user, e.g. adduser --system --group instiki --home /var/lib/instiki --shell /bin/sh You're also on your own for log rollover. I have a script external to the system that triggers a nightly backup of the wiki and log rollver, pulling off the files across the network to another system. Most people will probably want to use logrotate instead. I would have liked to refine this manual setup and this init script into a proper package, but there are Debian packaging issues to address here that are larger than I have time to solve. I have tested this init script on Ubuntu "breezy", but it should work just as well on most Debian systems, provided the system has a compatible version of ruby, since the only other dependency is the self-contained instiki 0.10.2 tarball (and therein lies most of the difficulty of packaging: I'd have to make it play nice with the current version of ruby + rails on each target distribution). Ben -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instiki-users/attachments/20060124/d8d812e8/attachment.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: instiki_username_required.diff Type: text/x-patch Size: 10651 bytes Desc: not available Url : http://rubyforge.org/pipermail/instiki-users/attachments/20060124/d8d812e8/instiki_username_required.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: instiki Type: application/x-shellscript Size: 1704 bytes Desc: not available Url : http://rubyforge.org/pipermail/instiki-users/attachments/20060124/d8d812e8/instiki.bin From assaph at gmail.com Tue Jan 24 14:32:44 2006 From: assaph at gmail.com (Assaph Mehr) Date: Wed, 25 Jan 2006 06:32:44 +1100 Subject: [Instiki] Problems with Instiki-AR create_db, part II In-Reply-To: References: <3ff47be90601231330h4a074028xb6f75d7f4807d393@mail.gmail.com> Message-ID: <3ff47be90601241132y3b8ebb06kac4c6005765d43fb@mail.gmail.com> Hi, > root at tytan:~/zip# gem install sqlite3-ruby-1.1.0.gem > Attempting local installation of 'sqlite3-ruby-1.1.0.gem' You shoudl normally do 'gem install sqlite3-ruby' and let gems figure out the version/file. You also don't normally have to manually download the gem file. > Building native extensions. This could take a while... > extconf.rb:1:in `require': no such file to load -- mkmf (LoadError) > from extconf.rb:1 Ruby can't load mkmf, which is in the stdlib. try 'irb -r mkmf' to make sure it's there. If it's not, it might be Debian packagers have placed it in a separate package (they broke the stdlib in a few places before). > ERROR: Error installing gem sqlite3-ruby-1.1.0.gem[.gem]: ERROR: Failed > to build gem native extension. > Gem files will remain installed in > /usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0 for inspection. > ruby extconf.rb install sqlite3-ruby-1.1.0.gem\n > > Results logged to > /usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0/ext/sqlite3_api/gem_make.out Try checking the log file on why the compilation failed. HTH, Assaph From assaph at gmail.com Tue Jan 24 17:18:02 2006 From: assaph at gmail.com (Assaph Mehr) Date: Wed, 25 Jan 2006 09:18:02 +1100 Subject: [Instiki] My instiki died In-Reply-To: <43D62259.9030305@preloaded.com> References: <43D51B6A.5000808@preloaded.com> <3ff47be90601231325g60c030ay7945a18a07894272@mail.gmail.com> <43D60940.1040307@preloaded.com> <43D62259.9030305@preloaded.com> Message-ID: <3ff47be90601241418s5bd0a3e8sf2e4179370c3040d@mail.gmail.com> > OK, I've got it working again now but not as a daemon, I have to keep a > terminal window open for it. Also sadly the formatting is all screwed > up. I'm guessing this is to do with my bluecloth warnings. Anyone else > had these problems? That bluecloth warning have nothing to do with it (it is just from the tweaked version of bluecloth which redefines a few things). Go to the edit web page and make sure that the markup style is still set to MarkDown. > Maybe it's time to try the switch to instiki-ar, is there an easy > migration of the data from Madeleine to database? There is a script/import_storage script that should help with that. Cheers, Assaph From warpman at kv.net.pl Wed Jan 25 07:43:46 2006 From: warpman at kv.net.pl (=?iso-8859-2?B?UHJ6ZW15c7NhdyBQYXdls2N6eWs=?=) Date: Wed, 25 Jan 2006 13:43:46 +0100 Subject: [Instiki] Problems with Instiki-AR create_db, part II In-Reply-To: <3ff47be90601241132y3b8ebb06kac4c6005765d43fb@mail.gmail.com> References: <3ff47be90601231330h4a074028xb6f75d7f4807d393@mail.gmail.com> <3ff47be90601241132y3b8ebb06kac4c6005765d43fb@mail.gmail.com> Message-ID: On Tue, 24 Jan 2006 20:32:44 +0100, Assaph Mehr wrote: >> Building native extensions. This could take a while... >> extconf.rb:1:in `require': no such file to load -- mkmf (LoadError) >> from extconf.rb:1 > > Ruby can't load mkmf, which is in the stdlib. try 'irb -r mkmf' to > make sure it's there. If it's not, it might be Debian packagers have > placed it in a separate package (they broke the stdlib in a few places > before). Hi, Thank you very much for your help. But as I predicted the chain of lacks went ad infinitum. I had to install irb to find out I needed mkmf.rb which in turn happened to be in ruby1.8-dev. And even the dev packet didn't resolve my problems. Enough is enough. I'll wait for the work out version. Good luck to you all. Regards, warpman -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ From assaph at gmail.com Wed Jan 25 07:50:18 2006 From: assaph at gmail.com (Assaph Mehr) Date: Wed, 25 Jan 2006 23:50:18 +1100 Subject: [Instiki] Problems with Instiki-AR create_db, part II In-Reply-To: References: <3ff47be90601231330h4a074028xb6f75d7f4807d393@mail.gmail.com> <3ff47be90601241132y3b8ebb06kac4c6005765d43fb@mail.gmail.com> Message-ID: <3ff47be90601250450t7c7f0d45l19b34e233d8faae@mail.gmail.com> > Thank you very much for your help. But as I predicted the chain of lacks > went ad infinitum. > I had to install irb to find out I needed mkmf.rb which in turn happened > to be in ruby1.8-dev. And even the dev packet didn't resolve my problems. > Enough is enough. I'll wait for the work out version. Good luck to you all. There will be no "work out" version until you fix your Ruby install. Debian packagers have basically wrecked the Ruby stdlib thinking they know better than the core developers. You can join the complaints or just build it from the source. From warpman at kv.net.pl Wed Jan 25 08:56:11 2006 From: warpman at kv.net.pl (=?iso-8859-2?B?UHJ6ZW15c7NhdyBQYXdls2N6eWs=?=) Date: Wed, 25 Jan 2006 14:56:11 +0100 Subject: [Instiki] Problems with Instiki-AR create_db, part II In-Reply-To: <3ff47be90601250450t7c7f0d45l19b34e233d8faae@mail.gmail.com> References: <3ff47be90601231330h4a074028xb6f75d7f4807d393@mail.gmail.com> <3ff47be90601241132y3b8ebb06kac4c6005765d43fb@mail.gmail.com> <3ff47be90601250450t7c7f0d45l19b34e233d8faae@mail.gmail.com> Message-ID: On Wed, 25 Jan 2006 13:50:18 +0100, Assaph Mehr wrote: > There will be no "work out" version until you fix your Ruby install. > Debian packagers have basically wrecked the Ruby stdlib thinking they > know better than the core developers. You can join the complaints or > just build it from the source. Hi, Thanks for quick reply. I must agree with you. Debian "fanatics" processed Generic Mapping Tools (GIS package) into their way as well, but I had experiance with GMT and was able to correct the installation. Not this time with Ruby. I'll pay more attention to the Debian "philosophy" next time. Many thanks. warpman -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ From BArmstrong at dymaxion.ca Wed Jan 25 09:12:17 2006 From: BArmstrong at dymaxion.ca (BG - Ben Armstrong) Date: Wed, 25 Jan 2006 10:12:17 -0400 Subject: [Instiki] Log rollover: no safe shutdown of Win32 Instiki service? Message-ID: <1138198337.31968.60.camel@bgpc.dymaxion.ca> I'd love to be able to turn on logging on our win32 wiki, but I can't roll over the log the way I do on the Linux system (by simply doing a 'logrotate' followed by a /etc/init.d/instiki restart). The trouble is, our Instiki process isn't really a Windows service, so it won't respond to a shutdown messages the way real Windows services do (analogous to the TERM signal sent to Instiki on Linux). If I just locate and terminate the process, Madeleine will surely be corrupted. So I am left without a way to safely roll over the log file. Thus, I can't turn on logging. Of course, shutting down and restarting Instiki would just be one way of rolling over the log. I suppose if Instiki supported a "new log" adminstrative function that the admin could trigger from edit_web, I could have a script trigger that with an appropriately formed URL containing the administrative password. This raises a second, issue, distinct from logging: Wouldn't an orderly shutdown or reboot of a win32 system corrupt Madeleine too? Presumably Windows attempts to shut down all of its services properly, but again, our Ruby webrick server isn't really a Windows service, so there is no way for Windows to tell it to flush before exiting. Ben -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instiki-users/attachments/20060125/3b36a511/attachment.htm From assaph at gmail.com Wed Jan 25 15:57:33 2006 From: assaph at gmail.com (Assaph Mehr) Date: Thu, 26 Jan 2006 07:57:33 +1100 Subject: [Instiki] Log rollover: no safe shutdown of Win32 Instiki service? In-Reply-To: <1138198337.31968.60.camel@bgpc.dymaxion.ca> References: <1138198337.31968.60.camel@bgpc.dymaxion.ca> Message-ID: <3ff47be90601251257u6722e30ah64b3fd5d4843c475@mail.gmail.com> Hi Ben. k > This raises a second, issue, distinct from logging: Wouldn't an orderly > shutdown or reboot of a win32 system corrupt Madeleine too? Presumably > Windows attempts to shut down all of its services properly, but again, our > Ruby webrick server isn't really a Windows service, so there is no way for > Windows to tell it to flush before exiting. Madeleine has proved unstable with many data corruptions. This is one of the reasons for the move to a database backup. The new Instiki should with all dmbs supported by Rails. In Pimki I have implemented a "stop service" functionality to reduce the chances of those coruptions. If you're interested it should be simple to look at the source and extract just the relevant patch for Instiki. It will also give you a sample on how to add more admin functions to the edit web, like a log rollover. HTH, Assaph From straightflush at gmail.com Sat Jan 28 16:29:06 2006 From: straightflush at gmail.com (Adam Denenberg) Date: Sat, 28 Jan 2006 16:29:06 -0500 Subject: [Instiki] instikie keeps dying Message-ID: Does anyone have the issue with instiki dying every couple of days? I have to restart instiki every 1-2 days and then everything is fine. Its very frustrating. Anyone have this issue or can provide any info would be helpful. Running on Linux 7.3 Server adam From alex at verk.info Sat Jan 28 19:00:02 2006 From: alex at verk.info (Alexey Verkhovsky) Date: Sat, 28 Jan 2006 17:00:02 -0700 Subject: [Instiki] StikiPad (commercial, hosted wiki based on Instiki) launched Message-ID: <43DC0582.3090609@verk.info> Hi all, http://www.stikipad.com/ launched today. I am not affiliated with these guys in any way other than having a look at their private beta version. From what I've seen there, my impression was "wow, if I had a year of spare time and had much better grasp of HTML design, that's what Instiki might look like". Best regards, Alexey Verkhovsky -------------- next part -------------- An embedded message was scrubbed... From: "StikiPad" Subject: Introducing StikiPad.. (and a special offer!) Date: Sun, 29 Jan 2006 06:17:15 +1100 Size: 7856 Url: http://rubyforge.org/pipermail/instiki-users/attachments/20060128/b4aea187/IntroducingStikiPad.-0001.eml From semt at psitrans.de Tue Jan 31 10:30:56 2006 From: semt at psitrans.de (Semt, Andreas) Date: Tue, 31 Jan 2006 16:30:56 +0100 Subject: [Instiki] Release date for Instiki-AR? Message-ID: <81DBB1DB4CC3B348AA5E2B892428AACC0B5E2D@exchangeptr.psitrans.de> Hello, can anybody say when the next release for Instiki-AR will be available for the public? Thanks for some illuminative answers! Greetings, Andreas Semt From robin.shannon at gmail.com Tue Jan 31 18:33:32 2006 From: robin.shannon at gmail.com (Robin Shannon) Date: Wed, 1 Feb 2006 10:33:32 +1100 Subject: [Instiki] Everybody's dead dave, they're all dead. - Help, instiki just killed my wiki Message-ID: <623d73380601311533n7119d96ey@mail.gmail.com> AAAARRRRRRRRGGGG!!!!!!!! Pardon me. My wiki just completely disappeared. I have no idea why. There is no longer anything in Storage. Is there anything i could have done which would have told instiki to kill everything with out me realising what i was doing? and are there any backups held anywhere? I thought they were in storage but it's empty. The last time i used instiki i don't think i ^C ed it at the command line, but i've forgotten to do that before and it hasn't killed EVERYTHING. And i just don't get why the backups instiki seems to make regularly would be gone. I'm just kinda hoping that there is something big and obvious that i have overlooked, but there probably isn't :( Thanks for listening to my sad tale. Any pointers would be very much appreciated. Paz y amor, -rjs. -- DO NOT SEND ME WORD ATTACHMENTS - I *WILL* BITE! Hit me: [broken] Jab me: Upgrade to kubuntu linux: Faith is under the left nipple. -- Martin Luther From assaph at gmail.com Tue Jan 31 18:49:45 2006 From: assaph at gmail.com (Assaph Mehr) Date: Wed, 1 Feb 2006 10:49:45 +1100 Subject: [Instiki] Everybody's dead dave, they're all dead. - Help, instiki just killed my wiki In-Reply-To: <623d73380601311533n7119d96ey@mail.gmail.com> References: <623d73380601311533n7119d96ey@mail.gmail.com> Message-ID: <3ff47be90601311549w45a761f8qc800634f3b617e9@mail.gmail.com> Hi Robin, I assume you're on Instiki 0.10.x or earlier. Normally Madeleiene (the Instiki backend) keeps snapshots in the storage. Each snapshot file has a complete set of data at the time it is taken The .command_log files are incremental changes from the last snapshot, which will be deleted after a new snapshot is taken. This is considered the backup, are never deleted from within Instiki, and there is no other place these are kept. Besides the really clueless "are you looking at the right directory on the right drive", I can think of anything that would force it to delete all those files. SOMETHING must have recreated the storage directory. Could it have been an external issue? Info on Instiki version, OS, how you run etc might help. Cheers, Assaph On 2/1/06, Robin Shannon wrote: > AAAARRRRRRRRGGGG!!!!!!!! > > Pardon me. > > My wiki just completely disappeared. I have no idea why. There is no > longer anything in Storage. > > Is there anything i could have done which would have told instiki to > kill everything with out me realising what i was doing? and are there > any backups held anywhere? I thought they were in storage but it's > empty. > > The last time i used instiki i don't think i ^C ed it at the command > line, but i've forgotten to do that before and it hasn't killed > EVERYTHING. And i just don't get why the backups instiki seems to make > regularly would be gone. > > I'm just kinda hoping that there is something big and obvious that i > have overlooked, but there probably isn't :( > > Thanks for listening to my sad tale. Any pointers would be very much > appreciated. > Paz y amor, > -rjs. > > -- > DO NOT SEND ME WORD ATTACHMENTS - I *WILL* BITE! > > > Hit me: [broken] > Jab me: > Upgrade to kubuntu linux: > Faith is under the left nipple. -- Martin Luther > > _______________________________________________ > Instiki-users mailing list > Instiki-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users > From robin.shannon at gmail.com Tue Jan 31 19:47:52 2006 From: robin.shannon at gmail.com (Robin Shannon) Date: Wed, 1 Feb 2006 11:47:52 +1100 Subject: [Instiki] Everybody's dead dave, they're all dead. - Help, instiki just killed my wiki In-Reply-To: <3ff47be90601311549w45a761f8qc800634f3b617e9@mail.gmail.com> References: <623d73380601311533n7119d96ey@mail.gmail.com> <3ff47be90601311549w45a761f8qc800634f3b617e9@mail.gmail.com> Message-ID: <623d73380601311647u1e3f51edl@mail.gmail.com> G'day I'm using Kubuntu 5.10 (a modern Debian based linux distro) on an oldish i686 laptop and instiki 0.10.2 Anyway, somehow instiki seems to be back and working. (it didn't matter how many times i killed and started it again in the terminal emulator inside konqueror, but when i restarted konqueror altogether it appeared to magically come back to life - i got no idea) Anyway. Yep you were right. I WAS looking in the wrong directory. I was looking at the storage created by an old (test) wiki that i had deleated hence why there was nothing in it. bollocks. Sorry for wasting everyone's time. I still don't understand why it had the hissy fit before, but am pretty sure it was knoqueror rather than instiki which was mucking up. Paz y amor, -rjs. On 01/02/06, Assaph Mehr wrote: > Hi Robin, > > I assume you're on Instiki 0.10.x or earlier. Normally Madeleiene (the > Instiki backend) keeps snapshots in the storage. Each snapshot file > has a complete set of data at the time it is taken The .command_log > files are incremental changes from the last snapshot, which will be > deleted after a new snapshot is taken. This is considered the backup, > are never deleted from within Instiki, and there is no other place > these are kept. > > Besides the really clueless "are you looking at the right directory on > the right drive", I can think of anything that would force it to > delete all those files. SOMETHING must have recreated the storage > directory. Could it have been an external issue? Info on Instiki > version, OS, how you run etc might help. > > Cheers, > Assaph > > On 2/1/06, Robin Shannon wrote: > > AAAARRRRRRRRGGGG!!!!!!!! > > > > Pardon me. > > > > My wiki just completely disappeared. I have no idea why. There is no > > longer anything in Storage. > > > > Is there anything i could have done which would have told instiki to > > kill everything with out me realising what i was doing? and are there > > any backups held anywhere? I thought they were in storage but it's > > empty. > > > > The last time i used instiki i don't think i ^C ed it at the command > > line, but i've forgotten to do that before and it hasn't killed > > EVERYTHING. And i just don't get why the backups instiki seems to make > > regularly would be gone. > > > > I'm just kinda hoping that there is something big and obvious that i > > have overlooked, but there probably isn't :( > > > > Thanks for listening to my sad tale. Any pointers would be very much > > appreciated. > > Paz y amor, > > -rjs. > > > > -- > > DO NOT SEND ME WORD ATTACHMENTS - I *WILL* BITE! > > > > > > Hit me: [broken] > > Jab me: > > Upgrade to kubuntu linux: > > Faith is under the left nipple. -- Martin Luther > > > > _______________________________________________ > > 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 > -- DO NOT SEND ME WORD ATTACHMENTS - I *WILL* BITE! Hit me: [broken] Jab me: Upgrade to kubuntu linux: Faith is under the left nipple. -- Martin Luther