mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-26 09:26:00 +03:00
[GH-ISSUE #296] Postgres issue with release resquests notification #282
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#282
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tonioo on GitHub (Dec 4, 2013).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/296
Originally assigned to: @tonioo on GitHub.
Originally created by Antoine Nguyen on 2012-08-20T20:33:20Z
The current models don't work with postgresql. Amavis uses bytea fields to store emails (instead of varbinary with mysql) and modo is using charfield fields, which doesn't work.
(see https://code.djangoproject.com/ticket/2417)
TemplateSyntaxError at /service/admin/domains/ Caught DatabaseError while rendering: operator does not exist: bytea ~ unknown LINE 1: ... WHERE ("msgrcpt"."rs" = 'p' AND "maddr"."email" ~ '(jojo-w... ^ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts. Request Method: GET Django Version: 1.3.1 Exception Type: TemplateSyntaxError Exception Value: Caught DatabaseError while rendering: operator does not exist: bytea ~ unknown LINE 1: ... WHERE ("msgrcpt"."rs" = 'p' AND "maddr"."email" ~ '(jojo-w... ^ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts. Exception Location: /srv/python-envs/service/lib/python2.7/site-packages/django/db/backends/postgresql_psycopg2/base.py in execute, line 44 Python Executable: /usr/bin/python Python Version: 2.7.3 Python Path: ['/srv/python-envs/service/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg', '/srv/python-envs/service/lib/python2.7/site-packages/pip-1.1-py2.7.egg', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/srv/python-envs/service/lib/python2.7/site-packages', '/srv/www'] Server time: Mon, 20 Aug 2012 22:32:33 +0200