← Back to team overview

zim-wiki team mailing list archive

Zim from windows to Ubuntu


Hello and thank you for this great software !

Excuse my english, I'm French and english is not my native tongue.
I'm coming to you because I have problem using Zim desktop under Ubuntu.
I'm trying to migrate from Windows to Linux and I'd like to use the notepad I was using under windows. I used to sync it through different computers and it worked well, even if I had often to delete the .zim directory. Unfortunately, it seems not to work the same way with my fresh Ubuntu install. When I open the notepad, Zim tries to build index for ever. Once, I let him do it an entire night but in the morning, Zim had crashed.
Now, Zim does not even wants to launch and he tells me that on startup :

"This is zim 0.70-rc3
Platform: posix
Locale: en_US UTF-8
FS encoding: utf-8
Python: (3, 6, 7, 'final', 0)
PyGObject: (3, 26, 1)

======= Traceback =======
  File "/usr/lib/python3/dist-packages/zim/main/__init__.py", line 915, in main
  File "/usr/lib/python3/dist-packages/zim/main/__init__.py", line 684, in run
    self._run_cmd(cmd, args) # test seam
  File "/usr/lib/python3/dist-packages/zim/main/__init__.py", line 714, in _run_cmd
  File "/usr/lib/python3/dist-packages/zim/main/__init__.py", line 756, in _run_main_loop
    w = cmd.run()
  File "/usr/lib/python3/dist-packages/zim/main/__init__.py", line 267, in run
    notebook, page = self.build_notebook()
  File "/usr/lib/python3/dist-packages/zim/main/__init__.py", line 239, in build_notebook     notebook, uripage = build_notebook(notebookinfo) # can raise FileNotFound   File "/usr/lib/python3/dist-packages/zim/notebook/__init__.py", line 109, in build_notebook
    notebook = Notebook.new_from_dir(dir)
  File "/usr/lib/python3/dist-packages/zim/notebook/notebook.py", line 253, in new_from_dir
    index = Index(cache_dir.file('index.db').path, layout)
  File "/usr/lib/python3/dist-packages/zim/notebook/index/__init__.py", line 64, in __init__
    self._db = self._new_connection()
  File "/usr/lib/python3/dist-packages/zim/notebook/index/__init__.py", line 84, in _new_connection
    db.execute('PRAGMA synchronous=OFF;')
OperationalError: database is locked"

Do you have any idea ?
I'd like to use my Notepad with both Ubuntu and Windows. Is it possible ?

Thank you,

Follow ups