GNOME Bugzilla – Bug 642304
Cannot edit Activity
Last modified: 2011-05-21 13:29:44 UTC
When I click the 'edit' icon on an activity in the overview or day's activity list Hamster fails with the following error: ** (hamster-applet:8061): DEBUG: Opening calendar source uri: file:///home/martron/.evolution/tasks/local/system Traceback (most recent call last):
+ Trace 225962
self.fact_tree.connect("edit-clicked", lambda tree, fact: self.on_edit_clicked(fact))
self.launch_edit(fact)
dialogs.edit.show(self, fact_id = fact_or_date["id"])
dialog = self.get_dialog_class()(parent, **kwargs)
self.on_in_progress_toggled(self.get_widget("in_progress"))
self.validate_fields()
activity_text, temporary = self.new_name.get_value()
name = "%s@%s" % name, activity['category']
This is using Ubuntu 10.10 64 bit.
have you tried reproducing the bug with the code check out from the repository?
Yes, I just installed from Git and the same error occurs with 2.91.3. My current theory is that I have category names that include square brackets, maybe that code is trying to turn those categories into arrays instead of strings? e.g. MyCategoryName[x]
Hi dear, I'm using gentoo with hamster 2.32.1 but I have the same problem; I can't edit the task. How can I do more debug? Any news about this problem?
Any news on this bug? How can I help ? Can we confirm? It exists.
I've tried with the last code from repository and I get the same error: Traceback (most recent call last):
+ Trace 226427
dialogs.edit.show(self.applet, fact_id = fact.id)
I had the same bug, I don't know if it's the proper way to do this but the following patch did it for me.
Created attachment 186377 [details] [review] Fixes the case where "name" is null This makes sure the code doesn't crash even if "activity name" is null. I'm not sure it's the correct approach, but it shuts the error up, and my edition window comes back and is fully editable.
It works for me! Thanks
sorry for taking so long. this is a dupe and has been fixed in git master *** This bug has been marked as a duplicate of bug 642488 ***
Review of attachment 186377 [details] [review]: obsolete