← Back to team overview

gtg team mailing list archive

[Bug 549838] [NEW] Can't add, view or edit task

 

Public bug reported:

Hi!

When I try to add or edit task in GTG! from trunk (rev 709) an error
occurs:

Traceback (most recent call last):
  File "/home/prmtl/gtg/GTG/taskbrowser/browser.py", line 1097, in on_add_task
    self.vmanager.open_task(uid,thisisnew=True)
  File "/home/prmtl/gtg/GTG/viewmanager/manager.py", line 160, in open_task
    clipboard = self.clipboard)
  File "/home/prmtl/gtg/GTG/taskeditor/editor.py", line 183, in __init__
    texteditor = self)
TypeError: __init__() got an unexpected keyword argument 'browser'

I think this error occurs because in ./GTG/taskeditor/editor.py on line 183 should be 'view_manager' manager instead of 'browser'.
When I change 'browser' to 'view_manager' adding and viewing task works.

 I attach a patch.

** Affects: gtg
     Importance: Undecided
         Status: New

-- 
Can't add, view or edit task
https://bugs.launchpad.net/bugs/549838
You received this bug notification because you are a member of Gtg
contributors, which is subscribed to Getting Things GNOME!.

Status in Getting Things GNOME!: New

Bug description:
Hi!

When I try to add or edit task in GTG! from trunk (rev 709) an error occurs:

Traceback (most recent call last):
  File "/home/prmtl/gtg/GTG/taskbrowser/browser.py", line 1097, in on_add_task
    self.vmanager.open_task(uid,thisisnew=True)
  File "/home/prmtl/gtg/GTG/viewmanager/manager.py", line 160, in open_task
    clipboard = self.clipboard)
  File "/home/prmtl/gtg/GTG/taskeditor/editor.py", line 183, in __init__
    texteditor = self)
TypeError: __init__() got an unexpected keyword argument 'browser'

I think this error occurs because in ./GTG/taskeditor/editor.py on line 183 should be 'view_manager' manager instead of 'browser'.
When I change 'browser' to 'view_manager' adding and viewing task works.

 I attach a patch.







Follow ups

References