Dear Jaap, dear zims,

today I got a zim update via Ubuntu/Mint to 0.62, and the new plugin in the 
directory 'for zim 0.62 and above' worked perfectly.

zim -D gave me at least one error about the 'treepath', but nothing related to 
treemap. The error may be related to the fact that I sometimes have to 'Update 
Index' as it seems that pages disappear from the index in the left side bar. It 
doesn't disturb me really - refreshing the index is just 2 clicks. If anyone is 
interested in looking at/fixing the error, please mail me.

Thank you again!

Best wishes,
Hella




On 01/10/14 11:28, Jaap Karssenberg wrote:
Hi Hella,

For zim 0.61 and older:

Any "zim/plugins" folder that is in the python search path.

I believe in your case "~/.local/lib/python2.7/site-packages/zim/plugins"
should work.


For zim 0.62 and newer:

"~/.local/share/zim/plugins"


I would also run zim in debug mode (zim -D) and check if there is an error
when you open the preferences dialog. Maybe the plugin is found, but an
error occurred loading it.

Hope this helps,

Jaap


On Wed, Oct 1, 2014 at 2:39 AM, Hella Riede <hella_ri...@gmx.de> wrote:

Continued from topic 'Can Text2mindmap insert a figure directly into the
zim page?'


Dear NorfCran / Jaap,

thanks a lot! I still have an issue with the installation - sorry for
bothering with the installation. What I did:

- copy the contents of the plugin to local file treemap.py
- copy file to the following directories, just to be sure:
         1) /usr/share/pyshared/zim/plugins/ (existed)
         2) ~/.local/lib/python2.6/site-packages/. (had to create from lib
on, based on http://www.zim-wiki.org/manual/Plugins.html)
         3) ~/.local/lib/python2.7/site-packages/. (had to create it)
         4) /usr/local/lib/python2.7/site-packages
- chmod go+rxw treemap.py in all directories, then rehash
- close and open zim
- go to Edit > Preferences > Plugins ==> couldn't find name 'Insert
TreeMap'

'python --version' says Python 2.7.3.

Do I have to manually import it into python somehow before zim sees it?
On the recommended page http://legacy.python.org/dev/peps/pep-0370/, only
python 2.6 and 3.0 are mentioned.

Any help greatly appreciated.

Cheers,
Hella




On 01/10/14 01:35, NorfCran wrote:

Dear Hella,

I just finished conversion of the custom tool Text2mindmap and now it
follows your example. Previously, I thought that it will be sufficient to
have only the custom tool, but your feedback made me reconsider Hope some
other users can take advantage of this plugin.
https://github.com/jaap-karssenberg/zim-wiki/wiki/
TreeMap-plugin-%28converted-Text2mindmap-custom-tool%29

All the best, NorfCran


On 30 September 2014 14:17, Hella Riede <hella_ri...@gmx.de> wrote:


Dear zim mailing list,

Jaap encouraged me to send my question concerning Text2mindmap here:


Dear Jaap, dear zim community,

I appreciate zim a lot. To try out the custom tools, I downloaded

Text2mindmap from
https://github.com/jaap-karssenberg/zim-wiki/wiki/
Text2mindmap-custom-tool.


In the "command" field of the zim custom tool dialogue, I entered

'~/bin/zim_mindmap.py %s', without the apostrophes.


The correct figure is produced from a certain page, but not inserted into

that page automatically. I can then insert it via the "insert > image"
dialogue, but I am relatively sure that the embedding of the figure was
meant to be automatic (?).


Example:
- I write the mindmap "code" into a page in the path /my/zim/test.txt
- then I save, refresh, and call the Text2mindmap custom tool
- result: the expected figure is written to /my/zim/test.png, but it is
not automatically embedded into the page

Thank you in advance for your help.

Ixtos (Linux Mint Maya, zim version 0.61)

_______________________________________________
Mailing list: https://launchpad.net/~zim-wiki
Post to     : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp

_______________________________________________
Mailing list: https://launchpad.net/~zim-wiki
Post to     : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp

Reply via email to