* src/GrampsLogger/_ErrorReportAssistant.py

(_get_sys_information): Report BSDDB version.


svn: r7698
This commit is contained in:
Alex Roitman 2006-11-26 03:28:01 +00:00
parent c95dac5a29
commit 7e0a28b827
2 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,6 @@
2006-11-25 Alex Roitman <shura@gramps-project.org> 2006-11-25 Alex Roitman <shura@gramps-project.org>
* src/GrampsLogger/_ErrorReportAssistant.py
(_get_sys_information): Report BSDDB version.
* src/GrampsDb/_GrampsBSDDB.py (GrampsBSDDB.load): Use * src/GrampsDb/_GrampsBSDDB.py (GrampsBSDDB.load): Use
per-database environment dirs, under ~/.gramps/env dir. per-database environment dirs, under ~/.gramps/env dir.
* src/const.py.in (env_dir): Add new variable. * src/const.py.in (env_dir): Add new variable.

View File

@ -1,6 +1,6 @@
from gettext import gettext as _ from gettext import gettext as _
import sys,os import sys,os,bsddb
import const import const
import gtk import gtk
@ -89,11 +89,13 @@ class ErrorReportAssistant:
distribution = " " distribution = " "
return "Python version: %s \n"\ return "Python version: %s \n"\
"BSDDB version: %s \n"\
"Gramps version: %s \n"\ "Gramps version: %s \n"\
"LANG: %s\n"\ "LANG: %s\n"\
"OS: %s\n"\ "OS: %s\n"\
"Distribution: %s\n"\ "Distribution: %s\n"\
% (str(sys.version).replace('\n',''), % (str(sys.version).replace('\n',''),
str(bsddb.__version__),
str(const.version), str(const.version),
os.environ.get('LANG',''), os.environ.get('LANG',''),
operatingsystem, operatingsystem,