Re: [Zim-wiki] zim 5.9 and CPU load on win7

2013-04-17 Thread Svenn Are Bjerkem
A short update on zim 0.59 on win7 and CPU load.

I just happened to fire up the external editor in the 'insert symbol' plugin
I noted that the fan started running almost immediately.
Inspecting the CPU load showed that zim.exe was using 13% of the CPU
When I closed the external editor and the dialogs, the CPU load was still
13% until i finally closed zim.
I then tried to use the external editor on a regular page.
The load increased again.
When closing the external editor the load decreased and the fan went back
to silent.
I then did the insert symbol, edit, thing again and load increased.
The load did not decrease when closing the external editor.

I have been using zim every day since my previous report without noting
that the fan speed increased.
I did not use the external editor during this period until I clicked the
wrong button in insert symbol dialog today.

Anybody cares to try to reproduce?

-- 
Svenn
___
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 5.9 and CPU load on win7

2013-04-17 Thread Jaap Karssenberg
On Wed, Apr 17, 2013 at 2:06 PM, Svenn Are Bjerkem
svenn.bjer...@googlemail.com wrote:
 A short update on zim 0.59 on win7 and CPU load.

 I just happened to fire up the external editor in the 'insert symbol' plugin
 I noted that the fan started running almost immediately.
 Inspecting the CPU load showed that zim.exe was using 13% of the CPU
 When I closed the external editor and the dialogs, the CPU load was still
 13% until i finally closed zim.
 I then tried to use the external editor on a regular page.
 The load increased again.
 When closing the external editor the load decreased and the fan went back to
 silent.
 I then did the insert symbol, edit, thing again and load increased.
 The load did not decrease when closing the external editor.

 I have been using zim every day since my previous report without noting that
 the fan speed increased.
 I did not use the external editor during this period until I clicked the
 wrong button in insert symbol dialog today.

 Anybody cares to try to reproduce?


Quick check on my system does not show this - no CPU load whatsoever
from the zim process.

Also checked code for edit source, but nothing there that might loop.
So not sure how to investigate.

Regards,

Jaap

___
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 5.9 and CPU load on win7

2013-04-17 Thread Mariano Draghi
Interesting finding.

I can reproduce what you're describing, but for me, even when
launching the external editor on a regular page, the CPU usage won't
go down to normal until I close Zim. From your report I understand
that when you launch the editor from the Insert plugin dialog the
CPU usage hangs until you close Zim, but when launching it from a
regular page, the CPU gets back no normal once you close the editor,
right?

Well... in my case, the only way to go back to the normal CPU usage is
to close Zim, on both cases.

Tested on a Windows 7 Enterprise 64 bits SP1, up to date, using the
regular, Desktop Zim 0.59 build from here:
http://www.glump.net/software/zim-windows

Svenn, are you using that Zim build also?

Jaap, maybe you're testing on development/source code build, and
that's why you can't reproduce the issue?

I use Windows 7 regularly at my job, so if anyone needs further
testing, just propose it, and I'll try to make the time. But without
further instructions I really don't know how to debug this in more
detail.




--
Mariano


On Wed, Apr 17, 2013 at 9:06 AM, Svenn Are Bjerkem
svenn.bjer...@googlemail.com wrote:
 A short update on zim 0.59 on win7 and CPU load.

 I just happened to fire up the external editor in the 'insert symbol' plugin
 I noted that the fan started running almost immediately.
 Inspecting the CPU load showed that zim.exe was using 13% of the CPU
 When I closed the external editor and the dialogs, the CPU load was still
 13% until i finally closed zim.
 I then tried to use the external editor on a regular page.
 The load increased again.
 When closing the external editor the load decreased and the fan went back to
 silent.
 I then did the insert symbol, edit, thing again and load increased.
 The load did not decrease when closing the external editor.

 I have been using zim every day since my previous report without noting that
 the fan speed increased.
 I did not use the external editor during this period until I clicked the
 wrong button in insert symbol dialog today.

 Anybody cares to try to reproduce?

 --
 Svenn

 ___
 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


Re: [Zim-wiki] zim 5.9 and CPU load on win7

2013-04-17 Thread Jaap Karssenberg
OK, thanks for confirming it is reproducible - please open a bug
report for this.

Regards,

Jaap

On Wed, Apr 17, 2013 at 4:01 PM, Mariano Draghi mdra...@gmail.com wrote:
 Interesting finding.

 I can reproduce what you're describing, but for me, even when
 launching the external editor on a regular page, the CPU usage won't
 go down to normal until I close Zim. From your report I understand
 that when you launch the editor from the Insert plugin dialog the
 CPU usage hangs until you close Zim, but when launching it from a
 regular page, the CPU gets back no normal once you close the editor,
 right?

 Well... in my case, the only way to go back to the normal CPU usage is
 to close Zim, on both cases.

 Tested on a Windows 7 Enterprise 64 bits SP1, up to date, using the
 regular, Desktop Zim 0.59 build from here:
 http://www.glump.net/software/zim-windows

 Svenn, are you using that Zim build also?

 Jaap, maybe you're testing on development/source code build, and
 that's why you can't reproduce the issue?

 I use Windows 7 regularly at my job, so if anyone needs further
 testing, just propose it, and I'll try to make the time. But without
 further instructions I really don't know how to debug this in more
 detail.




 --
 Mariano


 On Wed, Apr 17, 2013 at 9:06 AM, Svenn Are Bjerkem
 svenn.bjer...@googlemail.com wrote:
 A short update on zim 0.59 on win7 and CPU load.

 I just happened to fire up the external editor in the 'insert symbol' plugin
 I noted that the fan started running almost immediately.
 Inspecting the CPU load showed that zim.exe was using 13% of the CPU
 When I closed the external editor and the dialogs, the CPU load was still
 13% until i finally closed zim.
 I then tried to use the external editor on a regular page.
 The load increased again.
 When closing the external editor the load decreased and the fan went back to
 silent.
 I then did the insert symbol, edit, thing again and load increased.
 The load did not decrease when closing the external editor.

 I have been using zim every day since my previous report without noting that
 the fan speed increased.
 I did not use the external editor during this period until I clicked the
 wrong button in insert symbol dialog today.

 Anybody cares to try to reproduce?

 --
 Svenn

 ___
 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

___
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] Searching for single quotes

2013-04-17 Thread Syv Ritch
Hi,

I opened my note book and search for the sentence:

If you don't mind me asking (without the quotes)

and I got from Z59, xUbuntu 12.04

***START
Looks like you found a bug

Assertion Error:

This is zim 0.59
Python version is sys.version_info(major=2, minor=7, micro=3, 
releaselevel='final', serial=0)
Gtk version is (2, 24, 10)
Pygtk version is (2, 24, 0)
Platform is posix
Zim revision is:
  branch: pyzim-trunk
  revision: 636 par...@cpan.org-20130123210740-rquhot1l1yzx9w0i
  date: 2013-01-23 22:07:40 +0100

=== Traceback ===
  File /usr/lib/pymodules/python2.7/zim/gui/searchdialog.py, line 89, in 
_search 
self.results_treeview.search(string)
  File /usr/lib/pymodules/python2.7/zim/gui/searchdialog.py, line 173, in 
search
self.query = Query(query)
  File /usr/lib/pymodules/python2.7/zim/search.py, line 125, in __init__
self.root = self._parse_query(string)
  File /usr/lib/pymodules/python2.7/zim/search.py, line 129, in _parse_query
words = split_quoted_strings(string, unescape=False)
  File /usr/lib/pymodules/python2.7/zim/parsing.py, line 41, in 
split_quoted_strings
assert not string
AssertionError: 

***END

If I search for:

mind me asking (without the quotes) it works. It looks like a problem with 
the ' 

If I search for:

If you don\'t mind me asking (without the quotes) same error. Can't escape 
the single quote. How do I search for the quotes (single and double)?



-- 
Thanks
http://www.foto-biz.com
The Business Of Being A Photographer -- Lightroom QA

___
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