Hi,
I upgrade from v0.92.1 to v0.99.1
https://twiki.cern.ch/twiki/bin/view/CDS/InvenioUpgrade#Upgrade_from_0_92_1_to_0_99_0
|make update-v0.92.1-tables > ok
||make check-custom-templates|| > ok|
|python ./modules/websubmit/lib/fulltext_files_migration_kit.py| >> error
Thanks in advance
Rita
***********************
web361:/opt/local/cds-invenio-0.99.1 root# sudo /opt/local/bin/python2.4
python ./modules/websubmit/lib/fulltext_files_migration_kit.py
/opt/local/Library/Frameworks/Python.framework/Versions/2.4/Resources/Python.app/Contents/MacOS/Python:
can't open file 'python': [Errno 2] No such file or directory
web361:/opt/local/cds-invenio-0.99.1 root# sudo /opt/local/bin/python2.4
./modules/websubmit/lib/fulltext_files_migration_kit.py
*******************************************************************
** This script migrate the filesystem structure used to store **
** fulltext files to the new stricter structure.This script must **
** not be run during normal Invenio operations.It is safe to run **
** this script. No file will be deleted.Anyway it is recommended **
** to run a backup of the filesystem structure just in case.A **
** backup of the database tables involved will be automatically **
** performed. **
*******************************************************************
218 records will be migrated/fixed.
Please type yes if you want to go further: yes
Backing up database tables
******************************************************************
** It appears that is not the first time that you run this **
** script.Backup tables have been already created by a previous **
** run.In order for the script to go further they need to be **
** removed. **
******************************************************************
Please, type yes if you agree to remove them and go further: yes
Backing up database tables (after dropping previous backup) -> OK
Created a complete log file into
/opt/local/cds-invenio/var/log/fulltext_files_migration_kit-20081015122910.log
Upgrading record 1 ->
Traceback (most recent call last):
File "./modules/websubmit/lib/fulltext_files_migration_kit.py", line
144, in ?
main()
File "./modules/websubmit/lib/fulltext_files_migration_kit.py", line
136, in main
if not fix_recid(recid, logfile):
File "./modules/websubmit/lib/fulltext_files_migration_kit.py", line
46, in fix_recid
bibrec = BibRecDocs(recid)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/invenio/bibdocfile.py",
line 156, in __init__
self.build_bibdoc_list()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/invenio/bibdocfile.py",
line 252, in build_bibdoc_list
cur_doc = BibDoc(docid=row[0], recid=self.id, doctype=row[1])
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/invenio/bibdocfile.py",
line 636, in __init__
"modification_date,more_info from bibdoc where id=%s", (docid,))
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/invenio/dbquery.py",
line 233, in run_sql
rc = cur.execute(sql, param)
File "/opt/local/lib/python2.4/site-packages/MySQLdb/cursors.py", line
166, in execute
self.errorhandler(self, exc, value)
File "/opt/local/lib/python2.4/site-packages/MySQLdb/connections.py",
line 35, in defaulterrorhandler
raise errorclass, errorvalue
_mysql_exceptions.OperationalError: (1054, "Unknown column 'more_info'
in 'field list'")
web361:/opt/local/cds-invenio-0.99.1 root#