← Back to team overview

gtg-contributors team mailing list archive

Re: set_row_separator_func invocation error

 

Python3 and Gtk3 port also need corresponding liblarch
You can find more information at here [1]

[1]
https://wiki.gnome.org/Outreach/SummerOfCode/2013/Projects/XuanHu_PortingGTG


On Fri, Jan 31, 2014 at 3:37 PM, Chenxiong Qi <qcxhome@xxxxxxxxx> wrote:

> Hi folks,
>
> I just got a copy of liblarch and gtg-py3-gtk3 branch. Then, when issue
> ./gtg, I got this following error. Has anyone of you notice this error and
> be working on this? Did not search related bugs to this. If not, I'd file a
> bug to track this problem.
>
> error writing file /home/chen/.local/share/gtg/gtg_tasks.xml
> Traceback (most recent call last):
>   File "/home/chen/projects/gtg/to-gtk3/port-to-gtk3-py3/GTG/gtk/browser/browser.py",
> line 666, in on_sidebar_toggled
>     self.init_tags_sidebar()
>   File "/home/chen/projects/gtg/to-gtk3/port-to-gtk3-py3/GTG/gtk/browser/browser.py",
> line 196, in init_tags_sidebar
>     self.tagtreeview = self.tv_factory.tags_treeview(self.tagtree)
>   File "/home/chen/projects/gtg/to-gtk3/port-to-gtk3-py3/GTG/gtk/browser/treeview_factory.py",
> line 313, in tags_treeview
>     return self.build_tag_treeview(tree, desc)
>   File "/home/chen/projects/gtg/to-gtk3/port-to-gtk3-py3/GTG/gtk/browser/treeview_factory.py",
> line 450, in build_tag_treeview
>     treeview.set_row_separator_func(self.is_tag_separator_filter)
>   File "../liblarch/liblarch_gtk/__init__.py", line 554, in
> set_row_separator_func
>     destroy)
>   File "/usr/lib64/python3.3/site-packages/gi/types.py", line 113, in
> function
>     return info.invoke(*args, **kwargs)
> TypeError: set_row_separator_func() takes exactly 3 arguments (4 given)
> Traceback (most recent call last):
>   File "./gtg", line 90, in <module>
>     main()
>   File "./gtg", line 85, in main
>     sys.exit(gtg.main(options, args))
>   File "/home/chen/projects/gtg/to-gtk3/port-to-gtk3-py3/GTG/gtg.py",
> line 123, in main
>     manager = Manager(req)
>   File "/home/chen/projects/gtg/to-gtk3/port-to-gtk3-py3/GTG/gtk/manager.py",
> line 78, in __init__
>     self.browser = TaskBrowser(self.req, self)
>   File "/home/chen/projects/gtg/to-gtk3/port-to-gtk3-py3/GTG/gtk/browser/browser.py",
> line 122, in __init__
>     self.restore_state_from_conf()
>   File "/home/chen/projects/gtg/to-gtk3/port-to-gtk3-py3/GTG/gtk/browser/browser.py",
> line 464, in restore_state_from_conf
>     self.init_tags_sidebar()
>   File "/home/chen/projects/gtg/to-gtk3/port-to-gtk3-py3/GTG/gtk/browser/browser.py",
> line 196, in init_tags_sidebar
>     self.tagtreeview = self.tv_factory.tags_treeview(self.tagtree)
>   File "/home/chen/projects/gtg/to-gtk3/port-to-gtk3-py3/GTG/gtk/browser/treeview_factory.py",
> line 313, in tags_treeview
>     return self.build_tag_treeview(tree, desc)
>   File "/home/chen/projects/gtg/to-gtk3/port-to-gtk3-py3/GTG/gtk/browser/treeview_factory.py",
> line 450, in build_tag_treeview
>     treeview.set_row_separator_func(self.is_tag_separator_filter)
>   File "../liblarch/liblarch_gtk/__init__.py", line 554, in
> set_row_separator_func
>     destroy)
>   File "/usr/lib64/python3.3/site-packages/gi/types.py", line 113, in
> function
>     return info.invoke(*args, **kwargs)
> TypeError: set_row_separator_func() takes exactly 3 arguments (4 given)
>
> Regards,
> Chenxiong Qi
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~gtg-contributors
> Post to     : gtg-contributors@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~gtg-contributors
> More help   : https://help.launchpad.net/ListHelp
>



-- 
扈煊 Xuan (Sean) Hu

北京大学信息科学技术学院2012级硕士研究生
2012, Master Degree Candidate, EECS, Peking Univ.

Blog <http://huxuan.org/> | LInkedIn <http://linkedin.com/in/huxuan/> |
GitHub <https://github.com/huxuan/> | Twitter <https://twitter.com/huxuan/>|
Douban <http://www.douban.com/people/huxuan/> |
Jiepang<http://jiepang.com/huxuan/>

References