Forums » Appion and Leginon Web tools »
ProjectDB can not be uploaded Image !!
Added by ShinBo Chen about 11 years ago
I got the error message for uploading images.
Is it the database or setting error ?
[fulab@140 STIVsingleparticle2012Apr]$ imageloader.py --projectid=3 --session=14aug13z --cs=2.7 --dir=/home/fulab/STIVsingleparticle2012Apr --filetype=mrc --apix=1.37 --binx=1 --biny=1 --df=-2 --mag=102190 --kv=300 --description="STIV_2012_04" --jobtype=uploadimage
... Time stamp: 14aug13t39
 ... Function name: imageloader
 ... Appion directory: /usr/lib/python2.6/site-packages
 ... Using split database
Connected to database: 'ap3'
 ... Committing data to database
Creating a new session
Traceback (most recent call last):
  File "/usr/bin/appion/imageloader.py", line 581, in <module>
    imgLoop = ImageLoader()
  File "/usr/bin/appion/imageloader.py", line 30, in init
    appionLoop2.AppionLoop.__init__(self)
  File "/usr/lib/python2.6/site-packages/appionlib/appionLoop2.py", line 31, in init
    appionScript.AppionScript.__init__(self)
  File "/usr/lib/python2.6/site-packages/appionlib/appionScript.py", line 84, in init
    self.checkConflicts()
  File "/usr/bin/appion/imageloader.py", line 163, in checkConflicts
    sessiondata = self.createSession(userdata, self.params['sessionname'], self.params['description'], directory)
  File "/usr/bin/appion/imageloader.py", line 358, in createSession
    sessiondata = self.publish(sessionq)
  File "/usr/bin/appion/imageloader.py", line 344, in publish
    data.insert(force=dbforce)
  File "/usr/lib/python2.6/site-packages/sinedon/data.py", line 390, in insert
    db.insert(self, **kwargs)
  File "/usr/lib/python2.6/site-packages/sinedon/dbdatakeeper.py", line 253, in insert
    self._insert(newdata, force=force)
  File "/usr/lib/python2.6/site-packages/sinedon/dbdatakeeper.py", line 291, in insert
    raise InsertError(e.args[-1])
sinedon.dbdatakeeper.InsertError: Column 'hidden' cannot be null
Exception AttributeError: "'NoneType' object has no attribute 'startswith'" in <bound method ImageLoader._del__ of <__main__.ImageLoader object at 0x2892510>> ignored
Replies (1)
RE: ProjectDB can not be uploaded Image !! - Added by Anchi Cheng about 11 years ago
Looks like your download is more than 3 months old where this same bug was discovered and the fix merged into 3.0 version. See Problem uploading images to a new session