Release Zim desktop wiki(with additions)

eyecreate

Member
Joined
Feb 3, 2009
Messages
253
Website
git.eyecreate.org
I've been using Zim desktop wiki from repos recently but have found that missing plugin requirements were preventing some core functionality I was looking for. So, I made a new Zim pnd with the addition of gtkspell+python modules and graphviz(experimental, haven't tested/set up). This will allow spell checking and diagramming to take place.


http://www.mediafire.com/?ohse440ye4ttzno
 

peelie

Member
Joined
Apr 6, 2007
Messages
887
hi can't get this to run:


------


[ START ]--- Mount the PND ----------


Mounting : mount -t squashfs "/dev/loop2" "/mnt/utmp/zim"


Mounting the Union FS : mount -t aufs -o exec,noplink,dirs="/media/PANDORA1/pandora/appdata/zim=rw+nolwh":"/mnt/pnd/zim=rr" none "/mnt/utmp/zim"


[sUCCESS]--- Mount the PND ----------


[ START ]--- Starting the application (./zim.sh ) ----------


WARNING: Can not import 'xdg.Mime' - falling back to 'mimetypes'


WARNING: Filesystem encoding is set to ASCII or Latin1, using UTF-8 instead


Traceback (most recent call last):


File "./zim.py", line 45, in <module>


zim.main(argv)


File "/mnt/utmp/zim/zim/zim/__init__.py", line 300, in main


notebook = zim.gui.notebookdialog.prompt_notebook()


File "/mnt/utmp/zim/zim/zim/gui/notebookdialog.py", line 44, in prompt_notebook


list.write()


File "/mnt/utmp/zim/zim/zim/notebook.py", line 111, in write


self.file.writelines(lines)


File "/mnt/utmp/zim/zim/zim/fs.py", line 997, in writelines


self._writelines(lines)


File "/mnt/utmp/zim/zim/zim/fs.py", line 1022, in _writelines


file = self.open('w')


File "/mnt/utmp/zim/zim/zim/fs.py", line 839, in open


fh = FileHandle(tmp, mode=mode, on_close=self._on_write)


File "/mnt/utmp/zim/zim/zim/fs.py", line 1276, in __init__


file.__init__(self, path, **opts)


IOError: [Errno 1] Operation not permitted: '/mnt/utmp/zim/zim/notebooks.list.zim-new~'


[ FAILED]--- Starting the application (./zim.sh ) ----------


[ START ]--- uMount the PND ----------


[ START ]--- Waiting the Union to be available ----------


[sUCCESS]--- Waiting the Union to be available ----------


rmdir: failed to remove `/mnt/utmp/zim': Device or resource busy


[ START ]--- Waiting the PND mount dir to be free ----------


[sUCCESS]--- Waiting the PND mount dir to be free ----------


cleanup done


[sUCCESS]--- uMount the PND ----------
 

peelie

Member
Joined
Apr 6, 2007
Messages
887
hm...try this pnd and see if anything changes...after you reboot your pandora(if you haven't between then and now)


http://www.mediafire.com/?c3ygjgem79gvn45
still not starting unfortunately, also fwiw i could never get zim that is on repos started either:



Code:
=======================================================================================

[ START ]--- Mount the PND ----------

Mounting : mount -t squashfs "/dev/loop4" "/mnt/utmp/zim"

Mounting the Union FS : mount -t aufs -o exec,noplink,dirs="/media/PANDORA1/pandora/appdata/zim=rw+nolwh":"/mnt/pnd/zim=rr" none "/mnt/utmp/zim"

[SUCCESS]--- Mount the PND ----------

[ START ]--- Starting the application (./zim.sh ) ----------

WARNING: Can not import 'xdg.Mime' - falling back to 'mimetypes'

WARNING: Filesystem encoding is set to ASCII or Latin1, using UTF-8 instead

Traceback (most recent call last):

  File "./zim.py", line 45, in <module>

    zim.main(argv)

  File "/mnt/utmp/zim/zim/zim/__init__.py", line 300, in main

    notebook = zim.gui.notebookdialog.prompt_notebook()

  File "/mnt/utmp/zim/zim/zim/gui/notebookdialog.py", line 44, in prompt_notebook

    list.write()

  File "/mnt/utmp/zim/zim/zim/notebook.py", line 111, in write

    self.file.writelines(lines)

  File "/mnt/utmp/zim/zim/zim/fs.py", line 997, in writelines

    self._writelines(lines)

  File "/mnt/utmp/zim/zim/zim/fs.py", line 1022, in _writelines

    file = self.open('w')

  File "/mnt/utmp/zim/zim/zim/fs.py", line 839, in open

    fh = FileHandle(tmp, mode=mode, on_close=self._on_write)

  File "/mnt/utmp/zim/zim/zim/fs.py", line 1276, in __init__

    file.__init__(self, path, **opts)

IOError: [Errno 1] Operation not permitted: '/mnt/utmp/zim/zim/notebooks.list.zim-new~'

[ FAILED]--- Starting the application (./zim.sh ) ----------

[ START ]--- uMount the PND ----------

[ START ]--- Waiting the Union to be available ----------

[SUCCESS]--- Waiting the Union to be available ----------

rmdir: failed to remove `/mnt/utmp/zim': Device or resource busy

[ START ]--- Waiting the PND mount dir to be free ----------

[SUCCESS]--- Waiting the PND mount dir to be free ----------

cleanup done

[SUCCESS]--- uMount the PND ----------

=======================================================================================

Return code is : 3
 
Last edited by a moderator:

eyecreate

Member
Joined
Feb 3, 2009
Messages
253
Website
git.eyecreate.org
hm...try this pnd and see if anything changes...after you reboot your pandora(if you haven't between then and now)


http://www.mediafire.com/?c3ygjgem79gvn45
still not starting unfortunately, also fwiw i could never get zim that is on repos started either:



Code:
=======================================================================================

[ START ]--- Mount the PND ----------

Mounting : mount -t squashfs "/dev/loop4" "/mnt/utmp/zim"

Mounting the Union FS : mount -t aufs -o exec,noplink,dirs="/media/PANDORA1/pandora/appdata/zim=rw+nolwh":"/mnt/pnd/zim=rr" none "/mnt/utmp/zim"

[SUCCESS]--- Mount the PND ----------

[ START ]--- Starting the application (./zim.sh ) ----------

WARNING: Can not import 'xdg.Mime' - falling back to 'mimetypes'

WARNING: Filesystem encoding is set to ASCII or Latin1, using UTF-8 instead

Traceback (most recent call last):

  File "./zim.py", line 45, in <module>

    zim.main(argv)

  File "/mnt/utmp/zim/zim/zim/__init__.py", line 300, in main

    notebook = zim.gui.notebookdialog.prompt_notebook()

  File "/mnt/utmp/zim/zim/zim/gui/notebookdialog.py", line 44, in prompt_notebook

    list.write()

  File "/mnt/utmp/zim/zim/zim/notebook.py", line 111, in write

    self.file.writelines(lines)

  File "/mnt/utmp/zim/zim/zim/fs.py", line 997, in writelines

    self._writelines(lines)

  File "/mnt/utmp/zim/zim/zim/fs.py", line 1022, in _writelines

    file = self.open('w')

  File "/mnt/utmp/zim/zim/zim/fs.py", line 839, in open

    fh = FileHandle(tmp, mode=mode, on_close=self._on_write)

  File "/mnt/utmp/zim/zim/zim/fs.py", line 1276, in __init__

    file.__init__(self, path, **opts)

IOError: [Errno 1] Operation not permitted: '/mnt/utmp/zim/zim/notebooks.list.zim-new~'

[ FAILED]--- Starting the application (./zim.sh ) ----------

[ START ]--- uMount the PND ----------

[ START ]--- Waiting the Union to be available ----------

[SUCCESS]--- Waiting the Union to be available ----------

rmdir: failed to remove `/mnt/utmp/zim': Device or resource busy

[ START ]--- Waiting the PND mount dir to be free ----------

[SUCCESS]--- Waiting the PND mount dir to be free ----------

cleanup done

[SUCCESS]--- uMount the PND ----------

=======================================================================================

Return code is : 3
I would check if, after restarting your pandora, there is still a folder in /mnt/utmp that is zim. This seems to be the fact something went wrong and it doesn't have the permission to make file changes it needs to. If the folder is still there, delete it as root and try again. If not, not sure what step would work next.
 

peelie

Member
Joined
Apr 6, 2007
Messages
887
there is no /mnt/utmp/zim folder i think the problem is it can't create this for some reason?
 

eyecreate

Member
Joined
Feb 3, 2009
Messages
253
Website
git.eyecreate.org

peelie

Member
Joined
Apr 6, 2007
Messages
887
hi this is out file running on hf6a3:



Code:
[ START ]--- Mount the PND ----------

Mounting : mount -t squashfs "/dev/loop0" "/mnt/utmp/zim"

Mounting the Union FS : mount -t aufs -o exec,noplink,dirs="/media/PANDORA1/pandora/appdata/zim=rw+nolwh":"/mnt/pnd/zim=rr" none "/mnt/utmp/zim"

[SUCCESS]--- Mount the PND ----------

[ START ]--- Starting the application (./zim.sh ) ----------

WARNING: Can not import 'xdg.Mime' - falling back to 'mimetypes'

WARNING: Filesystem encoding is set to ASCII or Latin1, using UTF-8 instead

Traceback (most recent call last):

  File "./zim.py", line 45, in <module>

    zim.main(argv)

  File "/mnt/utmp/zim/zim/zim/__init__.py", line 300, in main

    notebook = zim.gui.notebookdialog.prompt_notebook()

  File "/mnt/utmp/zim/zim/zim/gui/notebookdialog.py", line 44, in prompt_notebook

    list.write()

  File "/mnt/utmp/zim/zim/zim/notebook.py", line 111, in write

    self.file.writelines(lines)

  File "/mnt/utmp/zim/zim/zim/fs.py", line 997, in writelines

    self._writelines(lines)

  File "/mnt/utmp/zim/zim/zim/fs.py", line 1022, in _writelines

    file = self.open('w')

  File "/mnt/utmp/zim/zim/zim/fs.py", line 839, in open

    fh = FileHandle(tmp, mode=mode, on_close=self._on_write)

  File "/mnt/utmp/zim/zim/zim/fs.py", line 1276, in __init__

    file.__init__(self, path, **opts)

IOError: [Errno 1] Operation not permitted: '/mnt/utmp/zim/zim/notebooks.list.zim-new~'

[ FAILED]--- Starting the application (./zim.sh ) ----------

[ START ]--- uMount the PND ----------

[ START ]--- Waiting the Union to be available ----------

[SUCCESS]--- Waiting the Union to be available ----------

rmdir: failed to remove `/mnt/utmp/zim': Device or resource busy

[ START ]--- Waiting the PND mount dir to be free ----------

[SUCCESS]--- Waiting the PND mount dir to be free ----------

cleanup done

[SUCCESS]--- uMount the PND ----------

=======================================================================================

Return code is : 3
 

eyecreate

Member
Joined
Feb 3, 2009
Messages
253
Website
git.eyecreate.org
hi this is out file running on hf6a3:



Code:
[ START ]--- Mount the PND ----------

Mounting : mount -t squashfs "/dev/loop0" "/mnt/utmp/zim"

Mounting the Union FS : mount -t aufs -o exec,noplink,dirs="/media/PANDORA1/pandora/appdata/zim=rw+nolwh":"/mnt/pnd/zim=rr" none "/mnt/utmp/zim"

[SUCCESS]--- Mount the PND ----------

[ START ]--- Starting the application (./zim.sh ) ----------

WARNING: Can not import 'xdg.Mime' - falling back to 'mimetypes'

WARNING: Filesystem encoding is set to ASCII or Latin1, using UTF-8 instead

Traceback (most recent call last):

  File "./zim.py", line 45, in <module>

    zim.main(argv)

  File "/mnt/utmp/zim/zim/zim/__init__.py", line 300, in main

    notebook = zim.gui.notebookdialog.prompt_notebook()

  File "/mnt/utmp/zim/zim/zim/gui/notebookdialog.py", line 44, in prompt_notebook

    list.write()

  File "/mnt/utmp/zim/zim/zim/notebook.py", line 111, in write

    self.file.writelines(lines)

  File "/mnt/utmp/zim/zim/zim/fs.py", line 997, in writelines

    self._writelines(lines)

  File "/mnt/utmp/zim/zim/zim/fs.py", line 1022, in _writelines

    file = self.open('w')

  File "/mnt/utmp/zim/zim/zim/fs.py", line 839, in open

    fh = FileHandle(tmp, mode=mode, on_close=self._on_write)

  File "/mnt/utmp/zim/zim/zim/fs.py", line 1276, in __init__

    file.__init__(self, path, **opts)

IOError: [Errno 1] Operation not permitted: '/mnt/utmp/zim/zim/notebooks.list.zim-new~'

[ FAILED]--- Starting the application (./zim.sh ) ----------

[ START ]--- uMount the PND ----------

[ START ]--- Waiting the Union to be available ----------

[SUCCESS]--- Waiting the Union to be available ----------

rmdir: failed to remove `/mnt/utmp/zim': Device or resource busy

[ START ]--- Waiting the PND mount dir to be free ----------

[SUCCESS]--- Waiting the PND mount dir to be free ----------

cleanup done

[SUCCESS]--- uMount the PND ----------

=======================================================================================

Return code is : 3
This is looking like this post here:





Try what they say...as it should be either permission or corrupted files.
 

Neelix

Insecticidal Maniac
Joined
Jan 8, 2011
Messages
3,231
Location
Melbourne, Australia
hi this is out file running on hf6a3:

Code:
[ START ]--- Mount the PND ----------

Mounting : mount -t squashfs "/dev/loop0" "/mnt/utmp/zim"

Mounting the Union FS : mount -t aufs -o exec,noplink,dirs="/media/PANDORA1/pandora/appdata/zim=rw+nolwh":"/mnt/pnd/zim=rr" none "/mnt/utmp/zim"

[SUCCESS]--- Mount the PND ----------

[ START ]--- Starting the application (./zim.sh ) ----------

WARNING: Can not import 'xdg.Mime' - falling back to 'mimetypes'

WARNING: Filesystem encoding is set to ASCII or Latin1, using UTF-8 instead

Traceback (most recent call last):

  File "./zim.py", line 45, in <module>

    zim.main(argv)

  File "/mnt/utmp/zim/zim/zim/__init__.py", line 300, in main

    notebook = zim.gui.notebookdialog.prompt_notebook()

  File "/mnt/utmp/zim/zim/zim/gui/notebookdialog.py", line 44, in prompt_notebook

    list.write()

  File "/mnt/utmp/zim/zim/zim/notebook.py", line 111, in write

    self.file.writelines(lines)

  File "/mnt/utmp/zim/zim/zim/fs.py", line 997, in writelines

    self._writelines(lines)

  File "/mnt/utmp/zim/zim/zim/fs.py", line 1022, in _writelines

    file = self.open('w')

  File "/mnt/utmp/zim/zim/zim/fs.py", line 839, in open

    fh = FileHandle(tmp, mode=mode, on_close=self._on_write)

  File "/mnt/utmp/zim/zim/zim/fs.py", line 1276, in __init__

    file.__init__(self, path, **opts)

IOError: [Errno 1] Operation not permitted: '/mnt/utmp/zim/zim/notebooks.list.zim-new~'

[ FAILED]--- Starting the application (./zim.sh ) ----------

[ START ]--- uMount the PND ----------

[ START ]--- Waiting the Union to be available ----------

[SUCCESS]--- Waiting the Union to be available ----------

rmdir: failed to remove `/mnt/utmp/zim': Device or resource busy

[ START ]--- Waiting the PND mount dir to be free ----------

[SUCCESS]--- Waiting the PND mount dir to be free ----------

cleanup done

[SUCCESS]--- uMount the PND ----------

=======================================================================================

Return code is : 3
This is looking like this post here:





Try what they say...as it should be either permission or corrupted files.

Does the PND contain more than one file/folder with the same name but different capitalisation? if so this can cause problems if the appdata folder is stored on a FAT fs, as FAT is not case sensitive.


-Neelix
 
Last edited by a moderator:

eyecreate

Member
Joined
Feb 3, 2009
Messages
253
Website
git.eyecreate.org
hi this is out file running on hf6a3:

Code:
[ START ]--- Mount the PND ----------

Mounting : mount -t squashfs "/dev/loop0" "/mnt/utmp/zim"

Mounting the Union FS : mount -t aufs -o exec,noplink,dirs="/media/PANDORA1/pandora/appdata/zim=rw+nolwh":"/mnt/pnd/zim=rr" none "/mnt/utmp/zim"

[SUCCESS]--- Mount the PND ----------

[ START ]--- Starting the application (./zim.sh ) ----------

WARNING: Can not import 'xdg.Mime' - falling back to 'mimetypes'

WARNING: Filesystem encoding is set to ASCII or Latin1, using UTF-8 instead

Traceback (most recent call last):

  File "./zim.py", line 45, in <module>

    zim.main(argv)

  File "/mnt/utmp/zim/zim/zim/__init__.py", line 300, in main

    notebook = zim.gui.notebookdialog.prompt_notebook()

  File "/mnt/utmp/zim/zim/zim/gui/notebookdialog.py", line 44, in prompt_notebook

    list.write()

  File "/mnt/utmp/zim/zim/zim/notebook.py", line 111, in write

    self.file.writelines(lines)

  File "/mnt/utmp/zim/zim/zim/fs.py", line 997, in writelines

    self._writelines(lines)

  File "/mnt/utmp/zim/zim/zim/fs.py", line 1022, in _writelines

    file = self.open('w')

  File "/mnt/utmp/zim/zim/zim/fs.py", line 839, in open

    fh = FileHandle(tmp, mode=mode, on_close=self._on_write)

  File "/mnt/utmp/zim/zim/zim/fs.py", line 1276, in __init__

    file.__init__(self, path, **opts)

IOError: [Errno 1] Operation not permitted: '/mnt/utmp/zim/zim/notebooks.list.zim-new~'

[ FAILED]--- Starting the application (./zim.sh ) ----------

[ START ]--- uMount the PND ----------

[ START ]--- Waiting the Union to be available ----------

[SUCCESS]--- Waiting the Union to be available ----------

rmdir: failed to remove `/mnt/utmp/zim': Device or resource busy

[ START ]--- Waiting the PND mount dir to be free ----------

[SUCCESS]--- Waiting the PND mount dir to be free ----------

cleanup done

[SUCCESS]--- uMount the PND ----------

=======================================================================================

Return code is : 3
This is looking like this post here:





Try what they say...as it should be either permission or corrupted files.
Does the PND contain more than one file/folder with the same name but different capitalisation? if so this can cause problems if the appdata folder is stored on a FAT fs, as FAT is not case sensitive.


-Neelix
Ah, that might be it, as I think I remember seeing that.(I most likely didn't see it as my SD card is using ext3.) Try this:


http://www.mediafire.com/?l6qiaew6m0gvmma
 

FBnil

Waiting to Champion the Pyra to the World...
Joined
Dec 14, 2012
Messages
2,893
Location
Yurp
I've been using Zim desktop wiki from repos recently but have found that missing plugin requirements were preventing some core functionality I was looking for. So, I made a new Zim pnd with the addition of gtkspell+python modules and graphviz(experimental, haven't tested/set up). This will allow spell checking and diagramming to take place.

http://www.mediafire.com/?ohse440ye4ttzno
Hey man, the link does not work anymore. Do you have the instructions for Graphviz and gtkspell? And how many are interested to have this added? (both need to be compiled)
 
Top