Project

General

Profile

Actions

Bug #2909

closed

Uploading images unstable and then creating processing db error

Added by ShinBo Chen over 10 years ago. Updated about 9 years ago.

Status:
Won't Fix or Won't Do
Priority:
High
Assignee:
Category:
-
Target version:
-
Start date:
08/20/2014
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 3.1.0
Show in known bugs:
No
Workaround:

Description

[Uploading images]Stop:

Starting image 24 ( skip:0, remain:914 ) file: 14aug21z_Image_023
... Reading original image: /home/fuchiyu/Documents/STIVsingleparticle2012Apr/Image_023.mrc
Traceback (most recent call last):
File "/usr/bin/appion/imageloader.py", line 582, in <module>
imgLoop.run()
File "/usr/bin/appion/imageloader.py", line 237, in run
imgdata, results = self.loopProcessImage(info)
File "/usr/lib/python2.6/site-packages/appionlib/appionLoop2.py", line 139, in loopProcessImage
return self.processImage(imgdata)
File "/usr/bin/appion/imageloader.py", line 327, in processImage
imgdata = self.makeImageData(imagearray,imginfo)
File "/usr/bin/appion/imageloader.py", line 550, in makeImageData
self.publish(imgdata)
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 287, in _insert
return self.recursiveInsert(newdata, force=force)
File "/usr/lib/python2.6/site-packages/sinedon/dbdatakeeper.py", line 280, in recursiveInsert
dbid = self.flatInsert(newdata, force=force)
File "/usr/lib/python2.6/site-packages/sinedon/dbdatakeeper.py", line 297, in flatInsert
definition, formatedData = sqldict.dataSQLColumns(newdata, fail)
File "/usr/lib/python2.6/site-packages/sinedon/sqldict.py", line 1515, in dataSQLColumns
result = type2columns(key, value, value_type, data_instance)
File "/usr/lib/python2.6/site-packages/sinedon/sqldict.py", line 1584, in type2columns
column_dict = value_dict = saveMRC(value, key, path, filename)
File "/usr/lib/python2.6/site-packages/sinedon/sqldict.py", line 1456, in saveMRC
pyami.mrc.write(object, fullname)
File "/usr/lib/python2.6/site-packages/pyami/mrc.py", line 524, in write
appendArray(a, fobj)
File "/usr/lib/python2.6/site-packages/pyami/mrc.py", line 593, in appendArray
b[start:end].tofile(f)
ValueError: 4194304 requested and 2806528 written

[New Project "creating processing" db error ]
Error: CREATE TABLE IF NOT EXISTS ApAppionJobData ( `DEF_id` int(20) NOT NULL auto_increment, `DEF_timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP , `REF|ApPathData|path` int(20) null , `name` text null , `jobtype` text null , `REF|ApPathData|dmfpath` int(20) null , `REF|ApPathData|clusterpath` int(20) null , `REF|leginondata|SessionData|session` int(20) null , `cluster` text null , `clusterjobid` int(20) null , `status` varchar(1) null , `user` text null , PRIMARY KEY (`DEF_id`), KEY `DEF_timestamp` (`DEF_timestamp`), KEY `REF|ApPathData|clusterpath` (`REF|ApPathData|clusterpath`), KEY `REF|leginondata|SessionData|session` (`REF|leginondata|SessionData|session`), KEY `REF|ApPathData|dmfpath` (`REF|ApPathData|dmfpath`), KEY `clusterjobid` (`clusterjobid`), KEY `status` (`status`), KEY `jobtype_10` (`jobtype`(10)) ) ;Error writing file './ap9/ApAppionJobData.frm' (Errcode: 28)


Should I check the database (rebuild/restart) or Appion installed.
Thanks help to figure it out! 


Files

create processing db_ap link.PNG (34.2 KB) create processing db_ap link.PNG ShinBo Chen, 08/20/2014 08:21 PM
Actions

Also available in: Atom PDF