Description of problem: Running Mageia2 64bit fully updated. Gramps will not run. This is what I get in Konsole -------------------------------------- [richard@localhost ~]$ gramps ** (process:3770): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags' ** (process:3770): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags' ** (process:3770): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags' Gtk-Message: Failed to load module "canberra-gtk-module" 2153: ERROR: gramps.py: line 142: Unhandled exception Traceback (most recent call last): File "/usr/share/gramps/gui/grampsgui.py", line 271, in __startgramps from GrampsLogger import RotateHandler, GtkHandler File "/usr/share/gramps/GrampsLogger/__init__.py", line 45, in <module> from _GtkHandler import GtkHandler File "/usr/share/gramps/GrampsLogger/_GtkHandler.py", line 4, in <module> from _ErrorView import ErrorView File "/usr/share/gramps/GrampsLogger/_ErrorView.py", line 15, in <module> from _ErrorReportAssistant import ErrorReportAssistant File "/usr/share/gramps/GrampsLogger/_ErrorReportAssistant.py", line 14, in <module> import bsddb File "/usr/lib64/python2.7/bsddb/__init__.py", line 67, in <module> import _bsddb ImportError: No module named _bsddb ----------------------------------------- Output from gramps -v ------------------------------------------- [richard@localhost ~]$ gramps -v ** (process:4108): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags' ** (process:4108): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags' ** (process:4108): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags' Gtk-Message: Failed to load module "canberra-gtk-module" Gramps Settings: ---------------- python : 2.7.3 gramps : 3.3.1-1 gtk++ : 2.24.10 pygtk : 2.24.0 gobject : 2.28.6 Not using bsddb3 bsddb : not found bsddb.db : not found cairo : 1.10.0 osmgpsmap : 0.7.3 pyexiv2 : 0.3.0 o.s. : Linux kernel : 3.3.6-desktop-2.mga2 Environment settings: --------------------- LANG : en_GB.UTF-8 LANGUAGE : en_GB.UTF-8 GRAMPSI18N: not set GRAMPSDIR : /usr/share/gramps PYTHONPATH: /usr/share/gramps /usr/lib/python27.zip /usr/lib64/python2.7 /usr/lib64/python2.7/plat-linux2 /usr/lib64/python2.7/lib-tk /usr/lib64/python2.7/lib-old /usr/lib64/python2.7/lib-dynload /usr/lib64/python2.7/site-packages /usr/lib64/python2.7/site-packages/PIL /usr/lib64/gimp/2.0/python /usr/lib64/gimp/2.0/plug-ins /usr/lib64/python2.7/site-packages/gst-0.10 /usr/lib64/python2.7/site-packages/gtk-2.0 /usr/lib/python2.7/site-packages Non-python dependencies: ------------------------ Graphviz : dot - graphviz version 2.28.0 (20111228.1610) Ghostscr. : 9.05 System PATH env variable: ------------------------- /usr/bin /bin /usr/local/bin /usr/X11R6/bin/ /usr/games /usr/lib64/qt4/bin /home/richard/bin -------------------------- Version-Release number of selected component (if applicable): gramps 3.3.1-1.mga2 How reproducible: Every time I try to run gramps Steps to Reproduce: 1. 2. 3.
Assignee: bugsquad => doktor5000Severity: critical => major
Gramps does not work for me either. I am using 32 bit in Mageia2. Never had any trouble before.
CC: (none) => gmontalbine
CC: (none) => marc.maurer
I have the same problem : [marc@erato ~]$ python /usr/share/gramps/gramps.py ** (process:5614): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags' ** (process:5614): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags' ** (process:5614): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags' 1396: ERROR: gramps.py: line 142: Unhandled exception Traceback (most recent call last): File "/usr/share/gramps/gui/grampsgui.py", line 271, in __startgramps from GrampsLogger import RotateHandler, GtkHandler File "/usr/share/gramps/GrampsLogger/__init__.py", line 45, in <module> from _GtkHandler import GtkHandler File "/usr/share/gramps/GrampsLogger/_GtkHandler.py", line 4, in <module> from _ErrorView import ErrorView File "/usr/share/gramps/GrampsLogger/_ErrorView.py", line 15, in <module> from _ErrorReportAssistant import ErrorReportAssistant File "/usr/share/gramps/GrampsLogger/_ErrorReportAssistant.py", line 14, in <module> import bsddb File "/usr/lib64/python2.7/bsddb/__init__.py", line 67, in <module> import _bsddb ImportError: No module named _bsddb
I forgot : I use Mageia 2 64 bits
Blocks: (none) => 2729
Hi, I fund on the web this : https://bbs.archlinux.org/viewtopic.php?id=122186 and http://gramps-project.org/wiki/index.php?title=Install_latest_BSDDB#Make_Gramps_use_bsddb3
Hi, On the french Mageia forum (MLO) : http://www.mageialinux-online.org/forum/topic-13202-1+gramps.php
Keywords: (none) => PATCH, UPSTREAM
Seems a file got lost between last python updates: This is python version from core/release, this should make Gramps work: [doktor5000@Mageia2 ~]$ urpmq -l python-2.7.3-2.mga2 | grep bsddb.so /usr/lib64/python2.7/lib-dynload/_bsddb.so This is the python version from core/updates where formerly contained file is missing, gramps will fail with that: $ urpmq -l python-2.7.3-2.2.mga2 | grep bsddb.so Copying the file from the older package into /usr/lib64/python2.7/lib-dynload/ makes gramps work. Assigning to current python maintainer.
CC: (none) => doktor5000Assignee: doktor5000 => oliver.bgr
Hi, I have copying the file _bsddb.so into /usr/lib64/python2.7/lib-dynload/ and Gramps works but my family tree can't load ! -30974, 'DB_RUNRECOVERY: Fatal error, run database recovery -- process-private: unable to find environment'
This was only meant as part of a workaround, and needs to be properly fixed, hence the python maintainer has to take a look the bsddb problem, then i can try to fix gramps itself, if there are still outstanding problems.
Hi, A bug for python was created ?
I just submitted a new python package to core/updates_testing. The problem was accidentally switching from db4.8 to db5.1 while fixing some security issues. Please try this new package and report back.
I have the same problem. What is the name of your updated package ? libpython2.7 - 2.7.3-2.1.mga2, i586, Core 32bit Updates Testing (distrib35), whose size is 1591 Kb ?
CC: (none) => svensson.inga
It's several packages, all with the version and release 2.7.3-2.3.mga2 Here's the list: - lib64python2.7 - lib64python-devel - python - python-debug - python-docs - tkinter - tkinter-apps
Todays updates from testing seem to have done the trick. Gramps fires up and seems to work OK now. Thanks to all concerned.
I am using 32 bit. Where can I download the update packages? I tried core update testing in software management. Python was not available.
Testing on Mageia 2 64-bits. The new python packages fix the gramps problem. I do not have "ImportError: No module named _bsddb" problem anymore. Thanks.
CC: (none) => olivier.delaune
@Gary: They should be. Perhaps your mirror did not sync yet. @Richard @Olivier: Thanks for testing, any other comments?
(In reply to comment #16) > @Gary: They should be. Perhaps your mirror did not sync yet. > > @Richard @Olivier: Thanks for testing, any other comments? I haven't thoroughly tested but Gramps starts and runs OK. I was able to import a GED file and display the tree so It seems OK.
I think the problem is that software management does not add updates. I had this problem before and I think there is a urpmi code I am supposed to use to set the updates. Id there a urpmi sequence to get the updates? Thnaks
You need to activate the updates_testing repo. You can do so using drakrpm-edit-media as root. Please be careful to deactivate after installing the python packages or you will get packages that might be unstable.
@qa team: There is an updated python package in updates repo to fix a regression that was introduced with one of the last security updates to python. Source rpm in question: python-2.7.3-2.3.mga2.src.rpm Rpms in question: see comment #12 --- This updates fixes a regression introduced in the 2.73-2.1 security update. Accidentally the package build was switched from db4.8 to db5.1 This has been reversed with this update. --- Testing procedure: the broken package missed the /usr/lib64/python2.7/lib-dynload/_bsddb.so file and thus python software using berkeley db did not work any more. An example package for that regression is gramps.
Status: NEW => ASSIGNEDCC: (none) => oliver.bgrAssignee: oliver.bgr => qa-bugs
I tested on Mageia 2 64-bits today, and it works ! The new python packages fix the Gramps problem and I don't have "ImportError: No module named _bsddb" problem anymore. Thank you Olivier for your support & reactivity ! @Gary: I think that your mirror didn't sync yet. Yesterday i cound'nt see the packages and today I saw and installed them successfully. I will continue playing with Gramps and tell you back if I face new problems, but it seems to work correctly.
Status: ASSIGNED => NEW
CC: (none) => wassiWhiteboard: (none) => has_procedure, MGA2-64-OK
We got testing reports for both archs confirming that the problem is fixed. I started various programs depending on python and saw no obvious regression. Let's validate this one fast, since the current python package in updates is broken. Update validated. SRPM: python-2.7.3-2.3.mga2.src.rpm --- Advisory --- This update fixes a regression introduced in the 2.73-2.1 security update. Accidentally the package built was switched from db4.8 to db5.1. This has been reversed with this update.
Keywords: (none) => validated_updateCC: (none) => stormi, sysadmin-bugsWhiteboard: has_procedure, MGA2-64-OK => has_procedure, MGA2-64-OK, MGA2-32-OK
Update pushed: https://wiki.mageia.org/en/Support/Advisories/MGAA-2012-0160
Status: NEW => RESOLVEDCC: (none) => tmbResolution: (none) => FIXED