Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   Can't Start Gramps (http://www.linux-archive.org/debian-user/468362-cant-start-gramps.html)

Kent West 12-22-2010 01:13 PM

Can't Start Gramps
 
I filed a bug report last week, but haven't heard anything back; thought
maybe you folks might offer a solution.


westk@westek:~$ uname -a
Linux westek 2.6.32-5-686 #1 SMP Fri Dec 10 16:12:40 UTC 2010 i686 GNU/Linux

westk@westek:~$ cat /etc/apt/sources.list
deb http://ftp.us.debian.org/debian/ unstable main contrib non-free
deb http://ftp.us.debian.org/debian/ testing main contrib non-free
deb http://ftp.us.debian.org/debian/ stable main contrib non-free
deb http://security.debian.org/ stable/updates main contrib non-free
deb http://volatile.debian.org/debian-volatile stable/volatile main
contrib non-free


The system is aptitude update'd and dist-upgrade'd

westk@westek:~$ gramps &
[1] 27439
westk@westek:~$ Upgrading INI file
/usr/share/gramps/ThumbNails.py:31: DeprecationWarning: the md5 module
is deprecated; use hashlib instead

import md5
/usr/share/gramps/ViewManager.py:216: DeprecationWarning: Use the new
widget gtk.Tooltip

self.tips = gtk.Tooltips()
15393: ERROR: gramps.py: line 215: Gramps failed to start.
Traceback (most recent call last):
File "/usr/share/gramps/gramps.py", line 193, in run
gramps_main.Gramps(args)
File "/usr/share/gramps/gramps_main.py", line 234, in __init__
self.vm = ViewManager.ViewManager(state)
File "/usr/share/gramps/ViewManager.py", line 224, in __init__
self.__build_main_window()
File "/usr/share/gramps/ViewManager.py", line 270, in __build_main_window
self.uimanager, self.progress_monitor, self)
File "/usr/share/gramps/DisplayState.py", line 324, in __init__
self.last_bar = self.status.insert(min_width=15, ralign=True)
File "/usr/share/gramps/GrampsWidgets.py", line 1216, in insert
label.set_alignment(xalign=1.0, yalign=0.5)
AttributeError: 'gtk.HBox' object has no attribute 'set_alignment'

[1]+ Exit 1 gramps



Thanks!

--
Kent West<*)))><
http://kentwest.blogspot.com
Praise Yah! o/



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 4D1207A1.2040700@acu.edu">http://lists.debian.org/4D1207A1.2040700@acu.edu

Camaleón 12-22-2010 02:18 PM

Can't Start Gramps
 
On Wed, 22 Dec 2010 08:13:53 -0600, Kent West wrote:

> I filed a bug report last week, but haven't heard anything back; thought
> maybe you folks might offer a solution.

(...)

Could it be a regression of this old/fixed bug?

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=566958

The referenced offending file is different (now "GrampsWidgets.py"
instead "statusbar.py") but the error looks the same.

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: pan.2010.12.22.15.18.54@gmail.com">http://lists.debian.org/pan.2010.12.22.15.18.54@gmail.com

Brad Rogers 12-22-2010 02:18 PM

Can't Start Gramps
 
On Wed, 22 Dec 2010 08:13:53 -0600
Kent West <westk@acu.edu> wrote:

Hello Kent,

> westk@westek:~$ cat /etc/apt/sources.list
> deb http://ftp.us.debian.org/debian/ unstable main contrib non-free
> deb http://ftp.us.debian.org/debian/ testing main contrib non-free
> deb http://ftp.us.debian.org/debian/ stable main contrib non-free
> deb http://security.debian.org/ stable/updates main contrib non-free
> deb http://volatile.debian.org/debian-volatile stable/volatile main
> contrib non-free
> The system is aptitude update'd and dist-upgrade'd

Since you're using stable, testing and unstable in your sources, it's
probably be a good idea to say which version of Gramps and also which
version of python you're using.

Even then, I probably won't be able to help. There is a Gramps ML you
may care to ask for help on. Post to "Gramps Users List
<gramps-users@lists.sourceforge.net>". I'm not sure, but you probably
have to subscribe. Traffic isn't huge and the dev team hang out there.

--
Regards _
/ ) "The blindingly obvious is
/ _)rad never immediately apparent"
Life's short, don't make a mess of it
No Time To Be 21 - The Adverts

Kent West 12-22-2010 02:39 PM

Can't Start Gramps
 
On 12/22/2010 09:18 AM, Camaleón wrote:

On Wed, 22 Dec 2010 08:13:53 -0600, Kent West wrote:



I filed a bug report last week, but haven't heard anything back; thought
maybe you folks might offer a solution.


(...)

Could it be a regression of this old/fixed bug?

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=566958

The referenced offending file is different (now "GrampsWidgets.py"
instead "statusbar.py") but the error looks the same.

Greetings,




That didn't solve my problem directly, but it did trigger a thought.
Based on the manpage for sources.list ("with the most preferred source
listed first"), I actually believed that the order of lines in
/etc/apt/sources.list mattered, and since I had unstable listed first, I
thought my system was running unstable for the most part.


But this triggered thought sent me on a tangent, which led me to the
page at
http://osdir.com/ml/linux.conectiva.apt-rpm/2003-11/msg00043.html which
said (among other things):


...no matter what's in apt.conf.d, placed there by packages or
whatever. Sources.list currently behaves exactly the opposite vs
sources.list.d - I think the rule of least surprise should be followed
here, instead of trying to change all documentation and brainwash
users to forget about /etc/apt/sources.list :)"


So I tinkered around in /etc/apt/apt.conf.d, and found the "local" file,
which had:

westk@westek:/etc/apt/apt.conf.d$ cat local
APT::Default-Release "lenny";
APT::Install-Recommends "0";
APT::Install-Suggests "0";


I changed "lenny" to "unstable", ran aptitude update and aptitude
install gramps, and now gramps works.


Dare I do a dist-upgrade now?

Yep, think I'm gonna try it.

Thanks!

--
Kent West<*)))><
http://kentwest.blogspot.com
Praise Yah! o/



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 4D121BC1.9060800@acu.edu">http://lists.debian.org/4D121BC1.9060800@acu.edu


All times are GMT. The time now is 06:36 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.