← Back to team overview

gtg team mailing list archive

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

 

** Patch added: "editor.py.patch"
   http://launchpadlibrarian.net/42201637/editor.py.patch

** Description changed:

  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)
+   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 think this error occurs because in ./GTG/taskeditor/editor.py on line 183 should be 'view_manager' manager instead of 'browser'. I attach a patch.
+  I attach a patch.

-- 
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.







References