Sometimes crashes when writing data. #7

Open
opened 2025-06-10 08:06:12 +00:00 by markusro · 0 comments
Owner

`
will invalidate all outstanding iterators
logtext = codecs.getencoder( "iso-8859-15" )( logtextbuffer.get_text( logtext_start, logtext_end ), "replace" )[
/usr/lib/python2.7/dist-packages/damaris/gui/DamarisGUI.py:910: GtkWarning: IA__gtk_text_buffer_get_text: assertion 'gtk_text_iter_get_buffer (start) == buffer' failed
logtext = codecs.getencoder( "iso-8859-15" )( logtextbuffer.get_text( logtext_start, logtext_end ), "replace" )[
Exception in thread dump states:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/lib/python2.7/dist-packages/damaris/gui/DamarisGUI.py", line 910, in dump_states
logtext = codecs.getencoder( "iso-8859-15" )( logtextbuffer.get_text( logtext_start, logtext_end ), "replace" )[
File "/usr/lib/python2.7/encodings/iso8859_15.py", line 12, in encode
return codecs.charmap_encode(input,errors,encoding_table)
TypeError: coercing to Unicode: need string or buffer, NoneType found

done (1.1 s, 14.7 MB)
dumping data pool
Exception in thread dump states:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/lib/python2.7/dist-packages/damaris/gui/DamarisGUI.py", line 867, in dump_states
old_dump_file.copy_file( self.dump_filename )
File "/usr/lib/python2.7/dist-packages/tables/file.py", line 1939, in copy_file
dstfilename, mode="w", title=title, filters=filters, **kwargs)
File "/usr/lib/python2.7/dist-packages/tables/file.py", line 317, in open_file
"close it before reopening in write mode." % filename)
ValueError: The file 'data/2025-06-09_1332.h5' is already opened. Please close it before reopening in write mode.
`

` will invalidate all outstanding iterators logtext = codecs.getencoder( "iso-8859-15" )( logtextbuffer.get_text( logtext_start, logtext_end ), "replace" )[ /usr/lib/python2.7/dist-packages/damaris/gui/DamarisGUI.py:910: GtkWarning: IA__gtk_text_buffer_get_text: assertion 'gtk_text_iter_get_buffer (start) == buffer' failed logtext = codecs.getencoder( "iso-8859-15" )( logtextbuffer.get_text( logtext_start, logtext_end ), "replace" )[ Exception in thread dump states: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 754, in run self.__target(*self.__args, **self.__kwargs) File "/usr/lib/python2.7/dist-packages/damaris/gui/DamarisGUI.py", line 910, in dump_states logtext = codecs.getencoder( "iso-8859-15" )( logtextbuffer.get_text( logtext_start, logtext_end ), "replace" )[ File "/usr/lib/python2.7/encodings/iso8859_15.py", line 12, in encode return codecs.charmap_encode(input,errors,encoding_table) TypeError: coercing to Unicode: need string or buffer, NoneType found done (1.1 s, 14.7 MB) dumping data pool Exception in thread dump states: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 754, in run self.__target(*self.__args, **self.__kwargs) File "/usr/lib/python2.7/dist-packages/damaris/gui/DamarisGUI.py", line 867, in dump_states old_dump_file.copy_file( self.dump_filename ) File "/usr/lib/python2.7/dist-packages/tables/file.py", line 1939, in copy_file dstfilename, mode="w", title=title, filters=filters, **kwargs) File "/usr/lib/python2.7/dist-packages/tables/file.py", line 317, in open_file "close it before reopening in write mode." % filename) ValueError: The file 'data/2025-06-09_1332.h5' is already opened. Please close it before reopening in write mode. `
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: IPKM/python-damaris#7
No description provided.