BUG / Windows 10: Cherrytree freeze when activate window

Home Forums cherrytree BUG / Windows 10: Cherrytree freeze when activate window

This topic contains 3 replies, has 2 voices, and was last updated by  Sprinterdriver 1 month, 2 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #124289

    Hi.

    Have a Windows 10 computer where I use the portable version of Cherrytree version 0.38.

    Have a relatively small database (cdb file without password) that contains mostly formatted text, no images.

    If I let Cherrytree stay open in background for some minutes and then tries to activate the program window, it may not respond, or it responds very jerky. I may force selection of a node in tree even if it’s half way frozen (takes a number of seconds from I press mouse button on tree node before something happens) but the main window show only empty, even when I know there is a lot of text. I may be able to repeat this three to five times before Cherrytree windows completely freeze (that is response takes so long that I just cannot wait).

    The log file says:
    Traceback (most recent call last):
    File “clipboard.pyc”, line 421, in to_image
    AttributeError: ‘NoneType’ object has no attribute ‘link’
    Traceback (most recent call last):
    File “core.pyc”, line 1523, in file_save
    File “core.pyc”, line 1670, in file_write
    File “core.pyc”, line 1571, in file_write_low_level
    File “ctdb.pyc”, line 60, in pending_data_write
    File “ctdb.pyc”, line 308, in write_db_node
    sqlite3.OperationalError: database is locked
    Traceback (most recent call last):
    File “core.pyc”, line 1523, in file_save
    File “core.pyc”, line 1670, in file_write
    File “core.pyc”, line 1571, in file_write_low_level
    File “ctdb.pyc”, line 60, in pending_data_write
    File “ctdb.pyc”, line 308, in write_db_node
    sqlite3.OperationalError: database is locked
    Traceback (most recent call last):
    File “core.pyc”, line 1498, in file_save_as
    File “core.pyc”, line 1670, in file_write
    File “core.pyc”, line 1563, in file_write_low_level
    File “ctdb.pyc”, line 149, in new_db
    File “ctdb.pyc”, line 387, in write_db_full
    File “ctdb.pyc”, line 275, in write_db_node
    File “ctdb.pyc”, line 481, in read_db_node_content
    sqlite3.OperationalError: database is locked
    Traceback (most recent call last):
    File “core.pyc”, line 1523, in file_save
    File “core.pyc”, line 1670, in file_write
    File “core.pyc”, line 1571, in file_write_low_level
    File “ctdb.pyc”, line 60, in pending_data_write
    File “ctdb.pyc”, line 308, in write_db_node
    sqlite3.OperationalError: database is locked
    Traceback (most recent call last):
    File “core.pyc”, line 1523, in file_save
    File “core.pyc”, line 1670, in file_write
    File “core.pyc”, line 1571, in file_write_low_level
    File “ctdb.pyc”, line 60, in pending_data_write
    File “ctdb.pyc”, line 308, in write_db_node
    sqlite3.OperationalError: database is locked
    Traceback (most recent call last):
    File “core.pyc”, line 3752, in on_window_delete_event
    File “core.pyc”, line 3729, in quit_application
    File “core.pyc”, line 3736, in quit_application_totally
    File “core.pyc”, line 3761, in check_unsaved
    File “core.pyc”, line 1523, in file_save
    File “core.pyc”, line 1670, in file_write
    File “core.pyc”, line 1571, in file_write_low_level
    File “ctdb.pyc”, line 60, in pending_data_write
    File “ctdb.pyc”, line 308, in write_db_node
    sqlite3.OperationalError: database is locked
    Traceback (most recent call last):
    File “core.pyc”, line 1523, in file_save
    File “core.pyc”, line 1670, in file_write
    File “core.pyc”, line 1571, in file_write_low_level
    File “ctdb.pyc”, line 60, in pending_data_write
    File “ctdb.pyc”, line 308, in write_db_node
    sqlite3.OperationalError: database is locked
    Traceback (most recent call last):
    File “core.pyc”, line 2996, in on_node_changed
    File “core.pyc”, line 3109, in get_textbuffer_from_tree_iter
    File “ctdb.pyc”, line 500, in read_db_node_content
    sqlite3.OperationalError: database is locked
    Traceback (most recent call last):
    File “core.pyc”, line 2996, in on_node_changed
    File “core.pyc”, line 3109, in get_textbuffer_from_tree_iter
    File “ctdb.pyc”, line 500, in read_db_node_content
    sqlite3.OperationalError: database is locked
    Traceback (most recent call last):
    File “core.pyc”, line 2996, in on_node_changed
    File “core.pyc”, line 3109, in get_textbuffer_from_tree_iter
    File “ctdb.pyc”, line 500, in read_db_node_content
    sqlite3.OperationalError: database is locked
    Traceback (most recent call last):
    File “core.pyc”, line 2996, in on_node_changed
    File “core.pyc”, line 3109, in get_textbuffer_from_tree_iter
    File “ctdb.pyc”, line 500, in read_db_node_content
    sqlite3.OperationalError: database is locked
    Traceback (most recent call last):
    File “core.pyc”, line 2996, in on_node_changed
    File “core.pyc”, line 3109, in get_textbuffer_from_tree_iter
    File “ctdb.pyc”, line 500, in read_db_node_content
    sqlite3.OperationalError: database is locked
    Traceback (most recent call last):
    File “core.pyc”, line 2996, in on_node_changed
    File “core.pyc”, line 3109, in get_textbuffer_from_tree_iter
    File “ctdb.pyc”, line 500, in read_db_node_content
    sqlite3.OperationalError: database is locked
    Traceback (most recent call last):
    File “core.pyc”, line 2996, in on_node_changed
    File “core.pyc”, line 3109, in get_textbuffer_from_tree_iter
    File “ctdb.pyc”, line 500, in read_db_node_content
    sqlite3.OperationalError: database is locked
    Traceback (most recent call last):
    File “core.pyc”, line 2996, in on_node_changed
    File “core.pyc”, line 3109, in get_textbuffer_from_tree_iter
    File “ctdb.pyc”, line 500, in read_db_node_content
    sqlite3.OperationalError: database is locked

    #124291

    For now, the workaround that works for me is by saving the file as XML (ctd).

    #124294

    philippHRO
    Member

    I also use the ctb format and my cherrytree window freezes all the time. Freezes last for 1 to 3 seconds.

    This needs to get fixed. It’s very annoying.

    #124295

    The only workaround so far I have tested is to just use XML formatted files, and just avoid using cdb files.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.