Login | Register
My pages Projects Community openCollabNet

Discussions > users > RE : cadmin create_channel for Red Hat Enterprise Linux 4.0

Project highlights: Stable Version: 1.6.1, Development Version: 1.7.6

current
Discussion topic

Hide all messages in topic

All messages in topic

RE : No module named pgdb

Reply

Author dplank
Full name Darryl Plank
Date 2007-11-23 03:09:07 PST
Message For those interested, I've found the problem. The < postgresql-python > rpm
needs to be installed to eliminate the error.
Attachments

No module named pgdb

Reply

Author dplank
Full name Darryl Plank
Date 2007-11-23 01:04:36 PST
Message When I try to initialize the database as follows:

 

*** Start ***

 

-bash-3.00$ /sbin/cinstall initdb
Traceback (most recent call last):
  File "/sbin/cinstall", line 191, in ?
    main()
  File "/sbin/cinstall", line 158, in main
    db.selectBackend(config)
  File "/usr/share/current/​db/__init__.py", line 28, in selectBackend
    import postgres
  File "/usr/share/current/​db/postgres/__init__​.py", line 3, in ?
    from postgres import PostgresDB
  File "/usr/share/current/​db/postgres/postgres​.py", line 3, in ?
    import pgdb
ImportError: No module named pgdb

 

*** Stop ***
 

I get an error message telling me that the module pgdb cannot be found.
Does anyone know why I get this message?

  _____

Regards,

 

Darryl
Attachments
Page: of 2 « Previous | Next »
Messages per page: