WebFaction
Community site: login faq

When attempting to run 'syncdb' I receive this error:

psycopg2.ProgrammingError: can't adapt type 'America/Los_Angeles'

I've tried many legal time_zone attributes, but none work.

I've found this post through Google, of another individual having the exact same issue. Like this person, this is also my second Django instance on mod_python with postgres. The advice given was to 'change the wsgi' to resolve the issue, but I'm not sure exactly what that entails.

Help is greatly appreciated.

Thanks.

asked 10 Jan '11, 13:55

pythondjango
161810
accept rate: 0%

edited 10 Jan '11, 16:02


Our official documentation on migration from mod_python to mod_wsgi may be found here,

http://docs.webfaction.com/software/django/mod-migration.html#migrating-from-mod-python-to-mod-wsgi
permanent link

answered 10 Jan '11, 16:27

johns
5.3k312
accept rate: 23%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×908
×108
×62

question asked: 10 Jan '11, 13:55

question was seen: 4,010 times

last updated: 10 Jan '11, 16:27

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM