Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

PostgreSQL, it needs type casts #17

Open
takaradaigo opened this Issue · 1 comment

2 participants

@takaradaigo

I am using Postgres.
The following errors occurred.
It is necessary to cast the type of int and text.

HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.

@gwjones

This can be fixed by editing line 101 in file tracsubtickets/web_ui.py to read:
cursor.execute("SELECT parent, child FROM subtickets WHERE parent='%s'",
(parent_id, ))

Note the addition of the single quites around %s . Now simply build the egg, and you're good to go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.