Zim

tray icon unable to activate application

Bug #1687414 reported by jreidthompson
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Zim
Fix Committed
Undecided
Unassigned

Bug Description

Clicking on the tray icon does not bring up the application. App built from master source on 4/28/2017

INFO: This is zim 0.66
INFO: Using default notebook: file:///home/rthompso/.zim/notes
INFO: VCS detected: fossil - /home/rthompso/.zim/notes
INFO: Running: ['fossil', 'changes'] (cwd: /home/rthompso/.zim/notes)
INFO: Open page: PostgreSQL:Clinton (PostgreSQL:Clinton)
Traceback (most recent call last):
  File "/home/rthompso/src/bzr/zim/zim/plugins/trayicon.py", line 268, in do_activate
    self.do_activate_notebook(notebooks.default)
  File "/home/rthompso/src/bzr/zim/zim/plugins/trayicon.py", line 223, in do_activate_notebook
    ZIM_APPLICATION.run('--gui', uri)
  File "/home/rthompso/src/bzr/zim/zim/main/__init__.py", line 553, in run
    cmd = build_command(args)
  File "/home/rthompso/src/bzr/zim/zim/main/__init__.py", line 502, in build_command
    obj.parse_options(*args)
  File "/home/rthompso/src/bzr/zim/zim/main/command.py", line 81, in parse_options
    optlist, args = gnu_getopt(args, options, long_options)
  File "/usr/lib64/python2.7/getopt.py", line 130, in gnu_getopt
    if args[0][:2] == '--':
TypeError: 'NotebookInfo' object has no attribute '__getitem__'

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

commit 68466b625cf50cc148fdc98c66ac794e987ae10a

Changed in zim:
status: New → Fix Committed
Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote : Re: [Bug 1687414] Re: tray icon unable to activate application

make that fbdba42ebfff4e61a2891a898647a42f13c60586

On Sun, May 7, 2017 at 9:20 PM Jaap Karssenberg <email address hidden>
wrote:

> commit 68466b625cf50cc148fdc98c66ac794e987ae10a
>
> ** Changed in: zim
> Status: New => Fix Committed
>
> --
> You received this bug notification because you are subscribed to Zim.
> https://bugs.launchpad.net/bugs/1687414
>
> Title:
> tray icon unable to activate application
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/zim/+bug/1687414/+subscriptions
>

Revision history for this message
John Robson (johnrobson) wrote :

I'm using Zim 0.66 and I confirm this problem when click in the tray icon.

TypeError: 'NotebookInfo' object has no attribute '__getitem__'
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/zim/plugins/trayicon.py", line 268, in do_activate
    self.do_activate_notebook(notebooks.default)
  File "/usr/lib/python2.7/site-packages/zim/plugins/trayicon.py", line 223, in do_activate_notebook
    ZIM_APPLICATION.run('--gui', uri)
  File "/usr/lib/python2.7/site-packages/zim/main/__init__.py", line 553, in run
    cmd = build_command(args)
  File "/usr/lib/python2.7/site-packages/zim/main/__init__.py", line 502, in build_command
    obj.parse_options(*args)
  File "/usr/lib/python2.7/site-packages/zim/main/command.py", line 81, in parse_options
    optlist, args = gnu_getopt(args, options, long_options)
  File "/usr/lib/python2.7/getopt.py", line 130, in gnu_getopt
    if args[0][:2] == '--':
TypeError: 'NotebookInfo' object has no attribute '__getitem__'

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.