Dear Jaap and Alessandro,
I have tried to test the plugin against ZIM versio 0.62 and it failed with
the following error:
*INFO: This is zim 0.62DEBUG: Python version is sys.version_info(major=2,
minor=7, micro=6, releaselevel='final', serial=0)...ERROR: Could not
generate imageTraceback (most recent call last): File
338, in generate_image imagefile, logfile =
"/home/norfcran/.local/share/zim/plugins/treemapeditor.py", line 69, in
generate_image text = text.split("\n")AttributeError: 'list' object has
no attribute 'split'*
On the other other hand ZIM version 0.63 generates the graph image
correctly. It seems that the text variable is a string in 0.63 instead of a
list in 0.62,
therefore I have changed it to split the text with the up to date version
of the plugin suitable for ZIM version 0.63.
Furthermore the plugin depends on python-pydot package.
All the best,
On 28 June 2015 at 21:10, Jaap Karssenberg <jaap.karssenb...@gmail.com>
> Hi Alessandro,
> Sounds like you installed the plugin correctly. The fact that the ".pyc"
> file is created shows that zim tries to load the plugin. However if it does
> not show up, there may be an error in the plugin that prevents it from
> Try running zim with "zim -D" to get debug output and open the preferences
> window. The error while loading the plugin should show up there.
> On Wed, Jun 24, 2015 at 10:57 AM, Alessandro La Fauci <alafa...@yahoo.it>
>> Dear Zim team,
>> I would really like to install and use the TreeMap plugin published on
>> this page
>> I saved and put the code in folder ~/.local/share/zim/plugins , the file
>> is saved as "tremapeditor.py". After starting Zim i found another file in
>> the same directory called "tremapeditor.pyc".
>> Nevertheless the plugin doesn't appear under preferences > plugins, and I
>> can't see any new option in all the other menus.
>> What should I do to correctly install this plugin.
>> Thank you in advance
>> Mailing list: https://launchpad.net/~zim-wiki
>> Post to : firstname.lastname@example.org
>> Unsubscribe : https://launchpad.net/~zim-wiki
>> More help : https://help.launchpad.net/ListHelp
> Mailing list: https://launchpad.net/~zim-wiki
> Post to : email@example.com
> Unsubscribe : https://launchpad.net/~zim-wiki
> More help : https://help.launchpad.net/ListHelp
Mailing list: https://launchpad.net/~zim-wiki
Post to : firstname.lastname@example.org
Unsubscribe : https://launchpad.net/~zim-wiki
More help : https://help.launchpad.net/ListHelp