ModelSEED / Model-SEED-core

The Model SEED is a tool for building, curating, and analyzing gonome-scale metabolic models. Visit the Model SEED homepage for installation instructions and full feature documentation.
http://bionet.mcs.anl.gov/index.php/Model_SEED_Homepage
Other
19 stars 10 forks source link

Database error and warning when running fbafva and testmodelgrowth #46

Closed mdejongh closed 13 years ago

mdejongh commented 13 years ago

I get these two errors/warnings consistenty when using fbafva and testmodelgrowth:

~/Desktop/ModelSEED/Model-SEED-core> bin/fbafva -model "iYusMp.149"

Processing argument: fbafva [PPOBackend.pm 246]Database error: DBD::mysql::st execute failed: Unknown column 'defaultStudyMedi\ a' in 'field list' at /Users/dejongh/Desktop/ModelSEED/Model-SEED-core/lib/PPO/PPOBackend.pm line 2\ 29. mkdir: /Users/dejongh/Desktop/ModelSEED/Model-SEED-core/data/ReactionDB/MFAToolkitOutputFiles/20982\ 67/MFAOutput: File exists

cshenry commented 13 years ago

Matt, does the model table in your database have a column called "defaultStudyMedia"? I believe your database scheme does not match the scheme expected by your code.

One thing we haven't quite figured out yet is how we go about updating the distributed model SEEDs to scheme adjustments. I believe this will come down to exporting your user objects, swapping the db, then importing your user objects again.

devoid commented 13 years ago

Closing this issue. Reopen if the defaultStudyMedia column error is appearing again.