Talk:Installation

From mx Help Wiki
Revision as of 16:58, 13 February 2008 by Kweskm (Talk | contribs)

Jump to: navigation, search

Under: "Add a root taxon name to your table," I created the root record in the taxon_name table successfully:

insert into taxon_names (name, l, r, creator_id, updator_id) values ('root', 1, 2, 1, 1);

However, no taxa show up in the web interface of the database so I can't add new real taxa because there is no existing parent for the new taxa to be children off.

set "editable taxon names" in /admin

The level at which a user can edit the taxonomic name heirarchy (not OTUs!) can be set on the admin tab. Assign the 'root' taxon to admin, enter a couple of names, and then assign those children to your various users.


still not sure

I found the "editable taxon names" in the /admin page. When I click on the admin's name I can choose 'root' from the drop down list below "Add a name". After submitting that with the Add button, I get this:

Error creating thumbnail: Unable to save thumbnail to destination

I'm not sure what to do from there. No taxa show up in the "Taxon names" tab when logged in as the admin to a test project.

Kweskm 15:41, 13 February 2008 (CST)


Another question re image uploads

I'm getting an error when I try to upload images or link to Morphbank images. First the odd thing. I'm only having this problem on one of the computers where I've tried installing mx, so I thing it's an install problem rather than an mx script error. The error is:

ActiveRecord::StatementInvalid in ImageController#create Mysql::Error: #23000Column 'file_name' cannot be null: INSERT INTO images (`created_on`, `file_type`, `taken_on_month`, `creator_id`, `file_name`, `updated_on`, `file_size`, `user_file_name`, `file_md5`, `notes`, `taken_on_year`, `technique`, `height`, `proj_id`, `ref_id`, `owner`, `mb_id`, `taken_on_day`, `updator_id`, `width`) VALUES('2008-02-13 16:49:21', 'png', NULL, 1, NULL, '2008-02-13 16:49:21', 289765, 'Picture2.png', '4390684438f0da000f2050d87241d9a5', , NULL, , 900, 1, NULL, , NULL, NULL, 1, 1440)

RAILS_ROOT: ./script/../config/..

and then more lines listed under Trace and Request.

I've compared the good and bad computers and they both have the same rail version (1.2.6) and gems. I've tried different browsers and webservers (WEBrick and Mongrel). I tried uploading under gel image and I got the same error. There were some differences in the installation of ruby in the two computers and one is a Mac OS 10.4 G4 and the other is 10.4 intel. Any thoughts about where to go for debugging this problem?

Kweskm 15:58, 13 February 2008 (CST)

Personal tools