Cannot open .ctb file

Home Forums cherrytree Cannot open .ctb file

This topic contains 6 replies, has 2 voices, and was last updated by  giuspen 2 weeks ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #124868

    jamers
    Member

    Hi All,

    Does anyone know where this comes from and how to fix it?
    From the logging:
    Traceback (most recent call last):
    File “core.pyc”, line 1737, in file_open
    File “core.pyc”, line 1787, in filepath_open
    File “core.pyc”, line 1995, in file_load
    File “ctdb.pyc”, line 644, in read_db_full
    sqlite3.DatabaseError: database disk image is malformed

    I was able to make a .sql file from the malformed database, but cannot import the .sql file into cherrytree.

    Kind Regards,

    #124870

    giuspen
    Moderator

    Can you make a sqlite db from the sql file?

    #124871

    jamers
    Member

    No I can’t. Can you help me with the converting from sql file to sqlite db?

    #124872

    jamers
    Member

    Hi Giuspen, i made a sqlite db. can you help me futher?

    #124874

    giuspen
    Moderator

    Hi James, the ctb file is a sqlite db, so try to change the extension to ctb and open with cherrytree. The error seemed to be that the sqlite db was somehow invalid but maybe you successfully fixed it with this double conversion

    #124883

    jamers
    Member

    Hi Giuspen it worked! thank you.

    #124887

    giuspen
    Moderator

    Hi @jamers, I’m glad that it worked; for everybody remember always to keep backups of important data 😉

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

You must be logged in to reply to this topic.