[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnumed-devel] cannot start client installed from CVS
From: |
Jerzy Luszawski |
Subject: |
[Gnumed-devel] cannot start client installed from CVS |
Date: |
Thu, 31 Jul 2008 18:42:38 +0200 |
Hello,
After fresh install of CVS tree and successful bootstraping local database I
cannot start the client GUI because of unhandled exception.
I navigate to directory ...../gnumed/client , execute gm-from-cvs.sh, the
login window appears, I enter the password and try to connect to database
(either
local or public, doesn't matter), then window with unhandled exception appears.
Logs follow.
Note 1 - I installed all prerequisites as listed, including package
gnumed-common, but not gnumed-client. Probably that's why some directories are
missing,
eg. /etc/gnumed and /usr/share/gnumed. Are they required when running from CVS?
Note 2 - I have no idea why it says missing_config_file. I checked and file
gm-from-cvs.conf exists. Putting the full path didn't help.
Note 3 - I can start the client from 3.0 rc1 tarball with no problems, its only
when trying to start the version checked out from CVS.
I would appreciate some help, please.
Jerzy Luszawski
PS. I could not simply attach the whole log - are there any message length
limits on this list?
------------------------ contents of error window
File "wxpython/gnumed.py", line 380, in <module>
gmGuiMain.main()
File "/usr/local/gnumed/gnumed/Gnumed/wxpython/gmGuiMain.py", line 2603, in
main
app = gmApp(redirect = False, clearSigInt = False)
File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line
7836, in __init__
self._BootstrapApp()
File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line
7433, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "/usr/local/gnumed/gnumed/Gnumed/wxpython/gmGuiMain.py", line 2197, in
OnInit
if not self.__establish_backend_connection():
File "/usr/local/gnumed/gnumed/Gnumed/wxpython/gmGuiMain.py", line 2347, in
__establish_backend_connection
client_version = current_client_ver
File "/usr/local/gnumed/gnumed/Gnumed/wxpython/gmAuthWidgets.py", line 166,
in connect_to_database
dlg.panel.save_state()
File "/usr/local/gnumed/gnumed/Gnumed/wxpython/gmAuthWidgets.py", line 558,
in save_state
value = self._CBOX_user.GetValue()
File "/usr/local/gnumed/gnumed/Gnumed/pycommon/gmCfg2.py", line 176, in
set_option_in_INI_file
sink = codecs.open(filename = sink_name, mode = 'wb', encoding = encoding)
File "/usr/lib/python2.5/codecs.py", line 817, in open
file = __builtin__.open(filename, mode, buffering)
-------------------------- gm-from-cvs.log
.
.
.
2008-07-31 17:36:29 ERROR gm.tools
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmTools.py::_set_system_config_dir()
#281):
[gmPaths:system_config_dir]: invalid path [/etc/gnumed]
2008-07-31 17:36:29 ERROR gm.tools
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmTools.py::_set_system_app_data_dir()
#293):
[gmPaths:system_app_data_dir]: invalid path [/usr/share/gnumed]
2008-07-31 17:36:29 DEBUG gm.tools
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #220):
wxPython not available
2008-07-31 17:36:29 DEBUG gm.tools
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #257):
local application base
dir: /usr/local/gnumed/gnumed/client
2008-07-31 17:36:29 DEBUG gm.tools
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #258):
current working
dir: /usr/local/gnumed/gnumed/client
2008-07-31 17:36:29 DEBUG gm.tools
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #259): user
home dir: /home/jlu
2008-07-31 17:36:29 DEBUG gm.tools
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #260):
user-specific config
dir: /home/jlu/.gnumed
2008-07-31 17:36:29 DEBUG gm.tools
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #261):
system-wide config
dir: /usr/local/gnumed/gnumed/client
2008-07-31 17:36:29 DEBUG gm.tools
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #262):
system-wide application data
dir: /usr/local/gnumed/gnumed/client
.
.
.
2008-07-31 17:36:29 INFO gm.cfg
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #337):
file
source "workbase": /usr/local/gnumed/gnumed/client/gnumed.conf (UTF8)
2008-07-31 17:36:29 ERROR gm.cfg
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #342):
cannot open
[/usr/local/gnumed/gnumed/client/gnumed.conf], keeping as dummy source
2008-07-31 17:36:29 INFO gm.cfg
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #337):
file
source "system": /usr/local/gnumed/gnumed/client/gnumed-client.conf (UTF8)
2008-07-31 17:36:29 ERROR gm.cfg
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #342):
cannot open
[/usr/local/gnumed/gnumed/client/gnumed-client.conf], keeping as dummy source
2008-07-31 17:36:29 INFO gm.cfg
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #337):
file
source "user": /home/jlu/.gnumed/gnumed.conf (UTF8)
2008-07-31 17:36:29 DEBUG gm.cfg
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmCfg2.py::parse_INI_stream() #195):
parsing INI-style data stream
[<open file u'/home/jlu/.gnumed/gnumed.conf', mode 'rUb' at 0x833a0b0>]
2008-07-31 17:36:29 INFO gm.cfg
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #337):
file
source "local": /usr/local/gnumed/gnumed/client/gnumed.conf (UTF8)
2008-07-31 17:36:29 ERROR gm.cfg
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #342):
cannot open
[/usr/local/gnumed/gnumed/client/gnumed.conf], keeping as dummy source
2008-07-31 17:36:29 DEBUG gm.cfg
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmCfg2.py::get() #310): option
[cli::--conf-file] found in source [cli]
2008-07-31 17:36:29 INFO gm.cfg
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #337):
file source "explicit":
gm-from-cvs.conf (UTF8)
2008-07-31 17:36:29 DEBUG gm.cfg
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmCfg2.py::parse_INI_stream() #195):
parsing INI-style data stream
[<open file 'gm-from-cvs.conf', mode 'rUb' at 0x833a0b0>]
2008-07-31 17:36:29 INFO gm.cfg
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #337):
file
source "user-mime": /home/jlu/.gnumed/mime_type2file_extension.conf (UTF8)
2008-07-31 17:36:29 ERROR gm.cfg
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #342):
cannot open
[/home/jlu/.gnumed/mime_type2file_extension.conf], keeping as dummy source
2008-07-31 17:36:29 INFO gm.cfg
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #337):
file
source "system-mime":
/usr/local/gnumed/gnumed/client/mime_type2file_extension.conf (UTF8)
2008-07-31 17:36:29 ERROR gm.cfg
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #342):
cannot open
[/usr/local/gnumed/gnumed/client/mime_type2file_extension.conf], keeping as
dummy source
.
.
.
2008-07-31 17:36:30 ERROR gm.tools
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmTools.py::_set_system_config_dir()
#281):
[gmPaths:system_config_dir]: invalid path [/etc/gnumed]
2008-07-31 17:36:30 ERROR gm.tools
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmTools.py::_set_system_app_data_dir()
#293):
[gmPaths:system_app_data_dir]: invalid path [/usr/share/gnumed]
2008-07-31 17:36:30 INFO gm.tools
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #226):
wxPython app name set to [gnumed]
2008-07-31 17:36:30 ERROR gm.tools
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmTools.py::_set_system_config_dir()
#281):
[gmPaths:system_config_dir]: invalid path [/etc/gnumed]
2008-07-31 17:36:30 ERROR gm.tools
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmTools.py::_set_system_app_data_dir()
#293):
[gmPaths:system_app_data_dir]: invalid path [/usr/share/gnumed]
.
.
.
2008-07-31 17:36:43 DEBUG gm.database
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmPG2.py::__detect_client_timezone()
#238): trying to detect
timezone from system
2008-07-31 17:36:44 ERROR gm.database
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmPG2.py::__expand_timezone() #220):
cannot expand
timezone abbreviation [CEST]
Traceback (most recent call last):
File "/usr/local/gnumed/gnumed/Gnumed/pycommon/gmPG2.py", line 214, in
__expand_timezone
curs.execute(cmd, args)
File "/usr/lib/python2.5/site-packages/psycopg2/extras.py", line 85, in
execute
return _cursor.execute(self, query, vars, async)
ProgrammingError: relation "pg_timezone_names" does not exist
2008-07-31 17:36:44 DEBUG gm.database
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmPG2.py::__detect_client_timezone()
#254): candidates:
['CEST']
2008-07-31 17:36:44 DEBUG gm.database
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmPG2.py::__validate_timezone()
#173): validating time zone
[CEST]
2008-07-31 17:36:44 ERROR gm.database
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmPG2.py::__validate_timezone()
#188): failed to set time zone
to [CEST]
2008-07-31 17:36:44 ERROR gm.database
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmPG2.py::__validate_timezone()
#189):
Traceback (most recent call last):
File "/usr/local/gnumed/gnumed/Gnumed/pycommon/gmPG2.py", line 182, in
__validate_timezone
curs.execute(cmd, args)
File "/usr/lib/python2.5/site-packages/psycopg2/extras.py", line 85, in
execute
return _cursor.execute(self, query, vars, async)
ProgrammingError: unrecognized time zone name: "CEST"
2008-07-31 17:36:44 INFO gm.database
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmPG2.py::__detect_client_timezone()
#271): client system time
zone detected as [02:00:00.00]
2008-07-31 17:36:44 DEBUG gm.database
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection()
#1023): access mode [READ
ONLY]
2008-07-31 17:36:44 INFO gm.database
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmPG2.py::set_default_login() #387):
setting default login from
[<Gnumed.pycommon.gmLoginInfo.LoginInfo instance at 0x8df888c>] to
[<Gnumed.pycommon.gmLoginInfo.LoginInfo instance at 0x8df888c>]
2008-07-31 17:36:44 INFO gm.database
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmPG2.py::set_default_login() #392):
setting default DSN from
[dbname=gnumed_v9 host=salaam.homeunix.com port=5432 user=any-doc
password=any-doc sslmode=prefer] to [dbname=gnumed_v9
host=salaam.homeunix.com port=5432 user=any-doc password=any-doc sslmode=prefer]
2008-07-31 17:36:44 INFO gm.database
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmPG2.py::set_default_client_encoding()
#155): setting default
client encoding from [UTF8] to [UTF8]
2008-07-31 17:36:44 DEBUG gm.database
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection()
#1023): access mode [READ
ONLY]
2008-07-31 17:36:44 DEBUG gm.database
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1068):
client string encoding
[UTF8]
2008-07-31 17:36:44 DEBUG gm.database
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1080):
isolation level [read
committed]
2008-07-31 17:36:44 DEBUG gm.database
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1088):
time zone [02:00:00.00]
2008-07-31 17:36:44 DEBUG gm.database
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1094):
datestyle [ISO]
2008-07-31 17:36:45 DEBUG gm.database
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1099):
sql_inheritance [on]
2008-07-31 17:36:45 INFO gm.database
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1108):
PostgreSQL version
(string): "PostgreSQL 8.1.11 on i486-pc-linux-gnu, compiled by GCC cc (GCC)
4.1.2 20061115 (prerelease) (Debian 4.1.1-21)"
2008-07-31 17:36:45 ERROR gm.database
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmPG2.py::database_schema_compatible()
#412): database
schema version mismatch
2008-07-31 17:36:45 ERROR gm.database
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmPG2.py::database_schema_compatible()
#413): expected:
devel (not released, testing only)
2008-07-31 17:36:46 ERROR gm.database
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmPG2.py::database_schema_compatible()
#414): detected: v9
(0ca15cfa6f8700e8961b9f5215350571)
2008-07-31 17:36:46 DEBUG gm.database
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmPG2.py::database_schema_compatible()
#416): schema
dump follows:
.
.
.
2008-07-31 17:36:47 DEBUG gm.cfg
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmCfg2.py::get() #310): option
[internal::user_preferences_file] found
in source [internal]
2008-07-31 17:36:47 DEBUG gm.ui
(/usr/local/gnumed/gnumed/Gnumed/wxpython/gmAuthWidgets.py::save_state() #552):
saving login choices in
[/home/jlu/.gnumed/gnumed.conf]
2008-07-31 17:36:47 DEBUG gm.cfg
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmCfg2.py::set_option_in_INI_file()
#171): setting option "login"
to "any-doc" in group [preferences]
2008-07-31 17:36:47 DEBUG gm.cfg
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmCfg2.py::set_option_in_INI_file()
#172):
file: /home/jlu/.gnumed/gnumed.conf (utf8)
2008-07-31 17:36:47 DEBUG gm.gui
(/usr/local/gnumed/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
#45): unhandled exception caught:
Traceback (most recent call last):
File "wxpython/gnumed.py", line 380, in <module>
gmGuiMain.main()
File "/usr/local/gnumed/gnumed/Gnumed/wxpython/gmGuiMain.py", line 2603, in
main
app = gmApp(redirect = False, clearSigInt = False)
File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line
7836, in __init__
self._BootstrapApp()
File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line
7433, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "/usr/local/gnumed/gnumed/Gnumed/wxpython/gmGuiMain.py", line 2197, in
OnInit
if not self.__establish_backend_connection():
File "/usr/local/gnumed/gnumed/Gnumed/wxpython/gmGuiMain.py", line 2347, in
__establish_backend_connection
client_version = current_client_ver
File "/usr/local/gnumed/gnumed/Gnumed/wxpython/gmAuthWidgets.py", line 166,
in connect_to_database
dlg.panel.save_state()
File "/usr/local/gnumed/gnumed/Gnumed/wxpython/gmAuthWidgets.py", line 558,
in save_state
value = self._CBOX_user.GetValue()
File "/usr/local/gnumed/gnumed/Gnumed/pycommon/gmCfg2.py", line 176, in
set_option_in_INI_file
sink = codecs.open(filename = sink_name, mode = 'wb', encoding = encoding)
File "/usr/lib/python2.5/codecs.py", line 817, in open
file = __builtin__.open(filename, mode, buffering)
IOError: [Errno 2] No such file or directory:
u'./home/jlu/.gnumed/gnumed.conf.gmCfg2.new.conf'
2008-07-31 17:36:47 ERROR gm.gui
(/usr/local/gnumed/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
#76): enabling debug mode
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #148):
stack trace follows:
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #149):
(locals by frame, outmost
frame first)
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155):
>>> execution frame
[<module>] in [wxpython/gnumed.py] at line 380 <<<
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
_known_short_options = h?
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
check_help_request =
<function check_help_request at 0x821b09c>
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
_old_sig_term = None
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
_known_long_options =
[u'debug', u'slave', u'profile=', u'text-domain=', u'log-file=', u'conf-file=',
u'lang-gettext=', u'override-schema-check', u'help']
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
gmI18N =
<module 'Gnumed.pycommon.gmI18N' from
'/usr/local/gnumed/gnumed/Gnumed/pycommon/gmI18N.pyc'>
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
setup_signal_handlers =
<function setup_signal_handlers at 0x821b10c>
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
setup_cli = <function
setup_cli at 0x81a56bc>
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
gmLog2 =
<module 'Gnumed.pycommon.gmLog2' from
'/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.pyc'>
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
gmGuiMain =
<module 'Gnumed.wxpython.gmGuiMain' from
'/usr/local/gnumed/gnumed/Gnumed/wxpython/gmGuiMain.pyc'>
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
setup_logging =
<function setup_logging at 0x81a5374>
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
gmDateTime =
<module 'Gnumed.pycommon.gmDateTime' from
'/usr/local/gnumed/gnumed/Gnumed/pycommon/gmDateTime.pyc'>
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
__version__ =
$Revision: 1.141 $
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
setup_locale =
<function setup_locale at 0x821b064>
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
profile_file = None
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
__license__ = GPL
(details at http://www.gnu.org)
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
__builtins__ =
<module '__builtin__' (built-in)>
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
__file__ =
wxpython/gnumed.py
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
setup_date_time =
<function setup_date_time at 0x821b224>
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
__author__ = H. Herb
<address@hidden>, K. Hilbert <address@hidden>, I. Haywood <address@hidden>
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
sys =
<module 'sys' (built-in)>
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
missing_config_file =
GNUmed startup: Missing configuration file.
-------------------------------------------
You explicitely specified a configuration file
on the command line:
--conf-file=%s
The file does not exist, however.
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
gmHooks =
<module 'Gnumed.pycommon.gmHooks' from
'/usr/local/gnumed/gnumed/Gnumed/pycommon/gmHooks.pyc'>
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
gmTools =
<module 'Gnumed.pycommon.gmTools' from
'/usr/local/gnumed/gnumed/Gnumed/pycommon/gmTools.pyc'>
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
_log =
<logging.Logger instance at 0x81aeb2c>
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
__name__ = __main__
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
gmPG2 =
<module 'Gnumed.pycommon.gmPG2' from
'/usr/local/gnumed/gnumed/Gnumed/pycommon/gmPG2.pyc'>
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
shutdown_backend =
<function shutdown_backend at 0x821b2cc>
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
handle_sig_term =
<function handle_sig_term at 0x821b144>
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
import_error_sermon =
GNUmed startup: Cannot load GNUmed Python modules !
---------------------------------------------------
CRITICAL ERROR: Program halted.
Please make sure you have:
1) the required third-party Python modules installed
2) the GNUmed Python modules linked or installed into site-packages/
(if you do not run from a CVS tree the installer should have taken care of
that)
3) your PYTHONPATH environment variable set up correctly
sys.path is currently set to:
/usr/local/gnumed/gnumed/client/wxpython
/usr/local/gnumed/gnumed/client
/usr/local/gnumed/gnumed
/usr/lib/python25.zip
/usr/lib/python2.5
/usr/lib/python2.5/plat-linux2
/usr/lib/python2.5/lib-tk
/usr/lib/python2.5/lib-dynload
/usr/local/lib/python2.5/site-packages
/usr/lib/python2.5/site-packages
/usr/lib/python2.5/site-packages/Numeric
/usr/lib/python2.5/site-packages/PIL
/var/lib/python-support/python2.5
/var/lib/python-support/python2.5/gtk-2.0
/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode
If you are running from a copy of the CVS tree make sure you
did run gnumed/check-prerequisites.sh with good results.
If you still encounter errors after checking the above
requirements please ask on the mailing list.
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
setup_backend =
<function setup_backend at 0x821b294>
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
logging =
<module 'logging' from '/usr/lib/python2.5/logging/__init__.pyc'>
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
setup_cfg =
<function setup_cfg at 0x821b25c>
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
setup_console_exception_handler = <function setup_console_exception_handler at
0x81a55a4>
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
signal =
<module 'signal' (built-in)>
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
shutdown_logging =
<function shutdown_logging at 0x821b304>
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
setup_paths_and_files =
<function setup_paths_and_files at 0x821b0d4>
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
_cfg =
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x81ae56c>
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
os =
<module 'os' from '/usr/lib/python2.5/os.pyc'>
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155):
>>> execution frame [main]
in [/usr/local/gnumed/gnumed/Gnumed/wxpython/gmGuiMain.py] at line 2603 <<<
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155):
>>> execution frame
[__init__] in
[/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 7836
<<<
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
redirect = False
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
clearSigInt = False
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
self =
<Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 'wxPyApp *' at
0x858d210> >
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
useBestVisual = False
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
filename = None
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155):
>>> execution frame
[_BootstrapApp] in
[/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 7433
<<<
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
args =
(<Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 'wxPyApp *' at
0x858d210> >,)
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
kwargs = {}
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155):
>>> execution frame
[OnInit] in [/usr/local/gnumed/gnumed/Gnumed/wxpython/gmGuiMain.py] at line
2197 <<<
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
paths =
<Gnumed.pycommon.gmTools.gmPaths object at 0x8394c2c>
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
self =
<Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 'wxPyApp *' at
0x858d210> >
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155):
>>> execution frame
[__establish_backend_connection] in
[/usr/local/gnumed/gnumed/Gnumed/wxpython/gmGuiMain.py] at line 2347 <<<
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
override = True
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
self =
<Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 'wxPyApp *' at
0x858d210> >
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
gmAuthWidgets =
<module 'Gnumed.wxpython.gmAuthWidgets' from
'/usr/local/gnumed/gnumed/Gnumed/wxpython/gmAuthWidgets.pyc'>
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155):
>>> execution frame
[connect_to_database] in
[/usr/local/gnumed/gnumed/Gnumed/wxpython/gmAuthWidgets.py] at line 166 <<<
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
dsn =
dbname=gnumed_v9 host=salaam.homeunix.com port=5432 user=any-doc
password=any-doc sslmode=prefer
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
require_version = False
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
dlg =
<Gnumed.wxpython.gmAuthWidgets.cLoginDialog; proxy of <Swig Object of type
'wxDialog *' at 0x8ea63a0> >
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
expected_version = devel
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
expected_hash = not
released, testing only
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
compatible = False
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
connected = True
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
attempt = 0
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
login =
<Gnumed.pycommon.gmLoginInfo.LoginInfo instance at 0x8df888c>
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
client_version = CVS
HEAD
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
conn =
<connection object at 0x8342e6c; dsn: 'dbname=gnumed_v9
host=salaam.homeunix.com port=5432 user=any-doc password=xxxxxxx
sslmode=prefer',
closed: 0>
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
max_attempts = 3
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155):
>>> execution frame
[save_state] in [/usr/local/gnumed/gnumed/Gnumed/wxpython/gmAuthWidgets.py] at
line 558 <<<
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
self =
<Gnumed.wxpython.gmAuthWidgets.cLoginPanel; proxy of <Swig Object of type
'wxPanel *' at 0x8ec4518> >
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
prefs_name
= /home/jlu/.gnumed/gnumed.conf
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155):
>>> execution frame
[set_option_in_INI_file] in
[/usr/local/gnumed/gnumed/Gnumed/pycommon/gmCfg2.py] at line 176 <<<
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
src = <open file
u'/home/jlu/.gnumed/gnumed.conf', mode 'rUb' at 0x83f1920>
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
group =
preferences
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
option = login
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
encoding = utf8
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
value = any-doc
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
filename
= /home/jlu/.gnumed/gnumed.conf
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
sink_name
= ./home/jlu/.gnumed/gnumed.conf.gmCfg2.new.conf
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155):
>>> execution frame [open]
in [/usr/lib/python2.5/codecs.py] at line 817 <<<
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
filename
= ./home/jlu/.gnumed/gnumed.conf.gmCfg2.new.conf
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
mode = wb
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
buffering = 1
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
errors = strict
2008-07-31 17:36:47 DEBUG gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):
encoding = utf8
2008-07-31 17:38:52 CRITICAL gm.logging
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmLog2.py::flush() #116): --------
synced log file -------------------------------
2008-07-31 17:38:52 DEBUG gm.shell
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmShellAPI.py::detect_external_binary()
#20): detecting [xdg-open]
2008-07-31 17:38:52 DEBUG gm.shell
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmShellAPI.py::detect_external_binary()
#35): [which xdg-open]
returned: /usr/bin/xdg-open
2008-07-31 17:38:52 INFO gm.docs
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmMimeLib.py::_get_system_startfile_cmd()
#181): detected local
startfile cmd: [xdg-open %s]
2008-07-31 17:38:52 DEBUG gm.shell
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#68): shell command
>>>xdg-open /usr/local/gnumed/gnumed/client/gm-from-cvs.log<<<
2008-07-31 17:38:52 DEBUG gm.shell
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#69): blocking: False
2008-07-31 17:38:52 DEBUG gm.shell
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#100): running shell
command >>>xdg-open /usr/local/gnumed/gnumed/client/gm-from-cvs.log &<<<
2008-07-31 17:38:52 DEBUG gm.shell
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#102): os.system() returned:
[0]
2008-07-31 17:38:52 DEBUG gm.shell
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#105): exited via exit(): True
2008-07-31 17:38:52 DEBUG gm.shell
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#107): exit code: [0]
2008-07-31 17:38:52 DEBUG gm.shell
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#109): dumped core: False
2008-07-31 17:38:52 DEBUG gm.shell
(/usr/local/gnumed/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell()
#110): stopped by signal:
False
- [Gnumed-devel] cannot start client installed from CVS,
Jerzy Luszawski <=