0.12.1 No postgres support on Windows

Bug #716176 reported by Danny Adair
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Griffith
Fix Committed
Medium
Michael

Bug Description

Running 0.12.1 on Windows, and choose to use a PostgreSQL database - it doesn't really have to exist, griffith won't get that far...

2011-02-10T13:15:00: INFO: Griffith(preferences:493): DATABASE: connecting to new db server...
2011-02-10T13:15:00: INFO: Griffith(sql:107): MetaData: No module named postgres
2011-02-10T13:15:02: INFO: Griffith(preferences:511): New database Engine: sqlite

Revision history for this message
Michael (mikej06) wrote :

Fixed in rev. 1534.

Workaround:
* open the file sql.py of your installation
* look for the line 81
* change
url = "postgres://%(user)s:%(passwd)s@%(host)s:%(port)d/%(name)s" % conn_params
to
url = "postgresql://%(user)s:%(passwd)s@%(host)s:%(port)d/%(name)s" % conn_params
* save sql.py and restart griffith (sometimes it is necessary to remove the file sql.pyo before)

Changed in griffith:
assignee: nobody → Michael (mikej06)
importance: Undecided → Medium
milestone: none → 0.13
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.