BUG / Windows 10: Cherrytree freeze when activate window

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

This topic contains 5 replies, has 3 voices, and was last updated by  Arafurian 2 months, 3 weeks ago.

Viewing 6 posts - 1 through 6 (of 6 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.

    #124360

    < delete this post >

    • This reply was modified 2 months, 4 weeks ago by  Sprinterdriver. Reason: was ment for another issue
    #124364

    Arafurian
    Member

    I am a little puzzled by this. I note the reference to ‘CDB’ file extension, which my copy of Cherrytree (0.38.1) does not appear to offer.

    I too use the portable version of Cherrytree in Win10. When ‘saving-as’ a file, I am offered the choice of SQLite or XML, without or with a password. The extension options for these are, respectively, ctb, ctx, ctd and ctz. There is no option for a cdb extension. So where did it come from?

    I have been using Cherrytree for several years now, and it often remains open, either on my desktop or in the system tray, for weeks on end, never closing, and never freezing.

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

You must be logged in to reply to this topic.