Re: [Zim-wiki] Customizing journal plugin per notebook
Hi Nilesh, I am not sure what you mean by "custom configuration", but I think you can get Zim plugins configured differently per notebook if you define a different profile for each notebook. You can try this going to >File >Properties and define a name in the Profile field. Do this for each notebook and make sure you define a different profile name for each notebook. Marcio Em 02/10/2016 12:57, Nilesh escreveu: Hello zim users, Is it possible to have custom configuration for the journal plugin per notebook? Also how about changing the way the plugin generates *file names* (not page names, I know how to do that)? ___ 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
Re: [Zim-wiki] Zim glib errors on macOS Homebrew
I restored my old packages, and zim is working again. I suspect the culprit is glib, which went from version 2.48.2 to 2.50 since my last update. Can anyone confirm? On 10/3/16 12:30 PM, Joseph Reagle wrote: > Help! Zim isn't working for me this morning. I updated my homebrew, that's > the only think that I think could have led to this... > > Anyone seeing the same thing? Any suggestions? > > ``` > ~/tmp/zim-0.65$ /usr/local/bin/python zim.py > ERROR: No such file or directory > 2016-10-03 12:27:36.029 Python[75439:1782910] *** WARNING: Method > userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It > should not be used in new applications. Use convertRectToBacking: instead. > Traceback (most recent call last): > File "zim.py", line 53, in > exitcode = zim.main.main(*argv) > File "/Users/reagle/Downloads/zim-0.65/zim/main.py", line 452, in main > zim.errors.exception_handler('Exception in main()') > File "/Users/reagle/Downloads/zim-0.65/zim/errors.py", line 101, in > exception_handler > _run_error_dialog(error) > File "/Users/reagle/Downloads/zim-0.65/zim/errors.py", line 71, in > _run_error_dialog > from zim.gui.widgets import ErrorDialog > File "/Users/reagle/Downloads/zim-0.65/zim/gui/__init__.py", line 256, in > > load_zim_stock_icons() > File "/Users/reagle/Downloads/zim-0.65/zim/gui/__init__.py", line 248, in > load_zim_stock_icons > pixbuf = gtk.gdk.pixbuf_new_from_file(str(dir+file)) > glib.GError: Couldn't recognize the image file format for file > '/Users/reagle/Downloads/zim-0.65/data/pixmaps/add-bookmark.png' > ``` ___ 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
[Zim-wiki] Zim glib errors on macOS Homebrew
Help! Zim isn't working for me this morning. I updated my homebrew, that's the only think that I think could have led to this... Anyone seeing the same thing? Any suggestions? ``` ~/tmp/zim-0.65$ /usr/local/bin/python zim.py ERROR: No such file or directory 2016-10-03 12:27:36.029 Python[75439:1782910] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead. Traceback (most recent call last): File "zim.py", line 53, in exitcode = zim.main.main(*argv) File "/Users/reagle/Downloads/zim-0.65/zim/main.py", line 452, in main zim.errors.exception_handler('Exception in main()') File "/Users/reagle/Downloads/zim-0.65/zim/errors.py", line 101, in exception_handler _run_error_dialog(error) File "/Users/reagle/Downloads/zim-0.65/zim/errors.py", line 71, in _run_error_dialog from zim.gui.widgets import ErrorDialog File "/Users/reagle/Downloads/zim-0.65/zim/gui/__init__.py", line 256, in load_zim_stock_icons() File "/Users/reagle/Downloads/zim-0.65/zim/gui/__init__.py", line 248, in load_zim_stock_icons pixbuf = gtk.gdk.pixbuf_new_from_file(str(dir+file)) glib.GError: Couldn't recognize the image file format for file '/Users/reagle/Downloads/zim-0.65/data/pixmaps/add-bookmark.png' ``` ___ 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
Re: [Zim-wiki] Too large notebook
Thank you, Nathaniel, for your recommendations and sorry for late response. Actually I don't use large single plages. My largest notebook contains for about <6000 items with 6.5 MB size of the whole notebook directory. It's strange that the size is 6.5 MB when I right-click on the notebook folder, but Baobab disk analyzing app shows 27.8 MB size of the same folder. Anyway, most of the pages are small enough to be shown at once without scrolling. > Just make sure you don't move any internal links or embedded images during this process, because Zim won't be able to fix them automatically. I don't use many embedded images, but I strongly use internal links. Actually that's my main reason for flat structure - the internal links in flat structure are maintained very easily. However, I will try to change the structure. Thanks again, Robert Dňa 19.09.2016 o 16:42 Nathaniel Beaver napísal(a): On 09/19/2016 01:11 AM, Robert Zelník wrote: Hi all, I am a very happy Zim user, I use it for many years as my personal external memory. I mostly use flat page structure, that means most of the pages are in the same level of hierarchy and under the same folding/parent page. I also used to do this. Unfortunately, I found it does not play to Zim's strengths. What is the size in kilobytes of the largest pages in your notebook? This general notebook contains for about 3500 pages in the main level (with some subpages under some of these main pages) and it causes few (8-9) seconds of freeze after each new click on a page. I also have some much smaller notebooks and there the freeze doesn't occur. What should I do to get it faster? Would be helpful to divide the notebook in multiple sub-sections, or should I divide it in multiple notebooks? I would recommend dividing into multiple sub-sections, not dividing into multiple notebooks. I have good performance on a single notebook that totals around 13 MB, but almost all of the pages are less than 8 kilobytes, and no single page is more than 12 KB. There are slightly more than 1000 pages in about 400 directories. This might sound difficult to navigate, but because of the structured hierarchy I've built up and the "Jump to" command, it is quite manageable. Normally a deep hierarchy would be constraining, but because Zim updates internal links automatically, there is less cost to re-arranging pages. I use a hybrid of categorizing by year/date and categorizing by subject. Keeping things in separate categories also helps avoid unintentional duplication, another problem I experienced when trying to keep everything in a few large pages. What could cause the freeze? Is it some kind of indexing? The task list plugin does index every file, but even that only takes a few seconds to start up for me, and usually has a latency less than a second when updating. I think the main issue you are experiencing is that Zim is both a text editor and a markup language renderer, and this does not mix well with large single pages. Since Zim pages are just text files, you could use a text editor that does not try to render the pages, but that would remove most of the benefits of Zim. However, with some care, you can use a different text editor when splitting up the larger pages. For example, you could create several "stub" pages with Zim, then close Zim and use your favorite text editor to cut and paste sections of the larger pages into the smaller stub pages. Just make sure you don't move any internal links or embedded images during this process, because Zim won't be able to fix them automatically. Also, I would recommend making a full backup of your notebook before undertaking this process. -- Robert Zelník http://about.me/robert.zelnik ___ 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 -- Robert Zelník http://about.me/robert.zelnik ___ 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