Hello all. Ive been searching these forums, and I dont really see any clue or solution here. It looks like my installation is puking on the "fpdb" in my HUD_config.xml. - Im on Ubuntu 9.04 aka Jaunty, using postgres. I used apt and git to build this software. Am I missing something?
Here is the data Ive been using for my troubleshooting:
root@desmodeth:/opt/fpdb/pyfpdb# ./Configuration.py
Reading configuration file HUD_config.xml
Traceback (most recent call last):
File "./Configuration.py", line 733, in <module>
c = Config()
File "./Configuration.py", line 359, in __init__
db = self.get_db_parameters()
File "./Configuration.py", line 520, in get_db_parameters
if string.lower(self.supported_databases[name].db_server) == 'mysql':
KeyError: 'fpdb'
root@desmodeth:/opt/fpdb/pyfpdb# more fpdb-error-log.txt
/var/lib/python-support/python2.6/MySQLdb/__init__.py:34: DeprecationWarning: the sets
module is deprecated
from sets import ImmutableSet
/usr/lib/python2.6/dist-packages/pytz/__init__.py:32: UserWarning: Module _mysql was a
lready imported from /var/lib/python-support/python2.6/_mysql.so, but /var/lib/python-
support/python2.6 is being added to sys.path
from pkg_resources import resource_stream
Traceback (most recent call last):
File "./fpdb.py", line 538, in <module>
me = fpdb()
File "./fpdb.py", line 528, in __init__
self.load_profile()
File "./fpdb.py", line 352, in load_profile
self.config = Configuration.Config(file=options.config, dbname=options.dbname)
File "/opt/fpdb/pyfpdb/Configuration.py", line 359, in __init__
db = self.get_db_parameters()
File "/opt/fpdb/pyfpdb/Configuration.py", line 520, in get_db_parameters
if string.lower(self.supported_databases[name].db_server) == 'mysql':
KeyError: 'fpdb'
This is my XML file configuration:
<supported_databases>
<database db_name="poker" db_ip="localhost" db_user="fpdbuser" db_pass="xxx" db_server="postgresql" db_type="fpdb"></database>
</supported_databases>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello all. Ive been searching these forums, and I dont really see any clue or solution here. It looks like my installation is puking on the "fpdb" in my HUD_config.xml. - Im on Ubuntu 9.04 aka Jaunty, using postgres. I used apt and git to build this software. Am I missing something?
Here is the data Ive been using for my troubleshooting:
root@desmodeth:/opt/fpdb/pyfpdb# ./Configuration.py
Reading configuration file HUD_config.xml
Traceback (most recent call last):
File "./Configuration.py", line 733, in <module>
c = Config()
File "./Configuration.py", line 359, in __init__
db = self.get_db_parameters()
File "./Configuration.py", line 520, in get_db_parameters
if string.lower(self.supported_databases[name].db_server) == 'mysql':
KeyError: 'fpdb'
root@desmodeth:/opt/fpdb/pyfpdb# more fpdb-error-log.txt
/var/lib/python-support/python2.6/MySQLdb/__init__.py:34: DeprecationWarning: the sets
module is deprecated
from sets import ImmutableSet
/usr/lib/python2.6/dist-packages/pytz/__init__.py:32: UserWarning: Module _mysql was a
lready imported from /var/lib/python-support/python2.6/_mysql.so, but /var/lib/python-
support/python2.6 is being added to sys.path
from pkg_resources import resource_stream
Traceback (most recent call last):
File "./fpdb.py", line 538, in <module>
me = fpdb()
File "./fpdb.py", line 528, in __init__
self.load_profile()
File "./fpdb.py", line 352, in load_profile
self.config = Configuration.Config(file=options.config, dbname=options.dbname)
File "/opt/fpdb/pyfpdb/Configuration.py", line 359, in __init__
db = self.get_db_parameters()
File "/opt/fpdb/pyfpdb/Configuration.py", line 520, in get_db_parameters
if string.lower(self.supported_databases[name].db_server) == 'mysql':
KeyError: 'fpdb'
This is my XML file configuration:
<supported_databases>
<database db_name="poker" db_ip="localhost" db_user="fpdbuser" db_pass="xxx" db_server="postgresql" db_type="fpdb"></database>
</supported_databases>