Traceback (most recent call last):
File "/Users/hnw5/Projects/mosaic/mosaicgui/fiteventsview/fiteventsview.py", line 254, in OnEventIndexLineEditChange
self.eventIndex=int(self.eventIndexLineEdit.text())
ValueError: invalid literal for int() with base 10: ''
Traceback (most recent call last):
File "/Users/hnw5/Projects/mosaic/mosaicgui/fiteventsview/fiteventsview.py", line 254, in OnEventIndexLineEditChange
self.eventIndex=int(self.eventIndexLineEdit.text())
ValueError: invalid literal for int() with base 10: ''
database is locked
database is locked
Process Process-1:
Traceback (most recent call last):
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/Users/hnw5/Projects/mosaic/mosaic/apps/SingleChannelAnalysis.py", line 42, in run_eventpartition
EventPartition.PartitionEvents()
File "/Users/hnw5/Projects/mosaic/mosaic/partition/metaEventPartition.py", line 198, in PartitionEvents
self._writeanalysisinfo()
File "/Users/hnw5/Projects/mosaic/mosaic/partition/metaEventPartition.py", line 296, in _writeanalysisinfo
self.FsHz
File "/Users/hnw5/Projects/mosaic/mosaic/mdio/sqlite3MDIO.py", line 170, in writeAnalysisInfo
self.db.execute( 'INSERT INTO analysisinfo VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)', (infolist+[mosaic.__version__, mosaic.__build__, None]))
OperationalError: database is locked
^C^CTraceback (most recent call last):
File "/Users/hnw5/Projects/mosaic/mosaicgui/statisticsview/statisticsview.py", line 251, in OnAppIdle
def OnAppIdle(self):
KeyboardInterrupt
Problem: When using GUI to analyze a very long data set (time series written out), gui stalled. Error suggests problem writing to database. This error occurred after ~100k events written out. (total size of db was ~500MB). To my knowledge, user was not manually updating the BD histogram when this error occurred.
Commit Version: 53e7a14
Notes Is it possible this problem is due to the processing thread and GUI trying to access the database at the same time? As the number of events gets large the query time for the BD histogram increases.
Console output: