I'm on Debian Etch and I could perfectly install gaphor using
"apt-get", but this install the 0.8.1 version. However, I'd like to
install the last version from svn. In order to do that I did a
checkout from the trunk and tried to run the program. After this, I
get an error message when it tries to execute the following line:
gtkact.set_property('active', act.active)
This is the exception:
2008-04-11 20:25:18,978 DEBUG found entry point uicomponent.mainwindow
Traceback (most recent call last):
File "/usr/bin/gaphor", line 7, in ?
sys.exit(
File "/usr/lib/python2.4/site-packages/gaphor-0.13.0.dev_r2226-py2.4.egg/gaphor/__init__.py",
line 37, in main
Application.init()
File "/usr/lib/python2.4/site-packages/gaphor-0.13.0.dev_r2226-py2.4.egg/gaphor/application.py",
line 45, in init
self.init_all_services()
File "/usr/lib/python2.4/site-packages/gaphor-0.13.0.dev_r2226-py2.4.egg/gaphor/application.py",
line 91, in init_all_services
self.init_service(self._uninitialized_services.iterkeys().next())
File "/usr/lib/python2.4/site-packages/gaphor-0.13.0.dev_r2226-py2.4.egg/gaphor/application.py",
line 105, in init_service
srv.init(self)
File "/usr/lib/python2.4/site-packages/gaphor-0.13.0.dev_r2226-py2.4.egg/gaphor/services/guimanager.py",
line 26, in init
self.init_ui_components()
File "/usr/lib/python2.4/site-packages/gaphor-0.13.0.dev_r2226-py2.4.egg/gaphor/services/guimanager.py",
line 49, in init_ui_components
uicomp = cls()
File "/usr/lib/python2.4/site-packages/gaphor-0.13.0.dev_r2226-py2.4.egg/gaphor/ui/mainwindow.py",
line 119, in __init__
self.action_group = build_action_group(self)
File "/usr/lib/python2.4/site-packages/gaphor-0.13.0.dev_r2226-py2.4.egg/gaphor/action.py",
line 136, in build_action_group
gtkact.set_property('active', act.active)
TypeError: the object does not support the given parameter
That's why I updated to their latest versions pygtk (2.12.1), cario
(1.6.2) and pycairo(1.4.12), but the problem persisted. After
reinstalling GTK everything started to fail =S. It wasn't a big deal
but I had to reinstall Debian (I admit I'm a newbie, at least in
Linux). The thing is... I don´t want to reinstall GTK anymore!
Any suggestions?
Thanks!
Marcos.
I have to look into this. I have pyGTK 2.10.4 and no problem with
set_property().
BTW. what version of GTK+ do you have installed?
Regards,
Arjan
Thanks for the reply. You were right, I have GTK+ 2.8.20 so I should
update. I found that gtk+ 2.10 is not on Debian etch (stable), and
maybe that was my problem. I will consider using Debian testing
(Lenny)... or maybe Ubuntu 7.10.
Thanks again.
Marcos.
Thanks for the reply. I updated the gnomefiles.org entry an an older
(win32 related) page on our wiki too. GTK+ 2.8 is quite old actually,
so updating would be a good thing. AFAIK 2.10 is completely backwards
compatible with 2.8, so I wonder why the debian guys do now update.
Regards,
Arjan
> Thanks for the reply. I updated the gnomefiles.org entry an an older
> (win32 related) page on our wiki too. GTK+ 2.8 is quite old actually,
> so updating would be a good thing. AFAIK 2.10 is completely backwards
> compatible with 2.8, so I wonder why the debian guys do now update.
By the way, I asked this to some friends and I talked with a debian
developer. They told me that Debian stable won't update any packages.
The packages maintained are the same packages that came with the
release. By the time that etch was released, the version of gtk was
2.8. They have like a freeze time, where they won't take any more
packages for next release. This is because their goal it isn't to
update packages but to fix bugs (that is why is 'stable').
The next release will have the actual version of gtk. But i think we
have to wait a couple of months until that.
Marcos.