Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When i used face-find.py ,i meet some problem #4

Open
anthonyyuan opened this issue Sep 17, 2018 · 1 comment
Open

When i used face-find.py ,i meet some problem #4

anthonyyuan opened this issue Sep 17, 2018 · 1 comment

Comments

@anthonyyuan
Copy link

python3 face-find.py 1.jpg
Found 1 faces in the image file 1.jpg

  • Face #0 found at Left: 180 Top: 263 Right: 366 Bottom: 449
    Traceback (most recent call last):
    File "face-find.py", line 47, in
    dd=db.query(query)
    File "/usr/local/lib/python3.6/site-packages/postgresql/driver/pq3.py", line 1231, in call
    return self._prepare(query)(*parameters)
    File "/usr/local/lib/python3.6/site-packages/postgresql/driver/pq3.py", line 2331, in prepare
    ps._fini()
    File "/usr/local/lib/python3.6/site-packages/postgresql/driver/pq3.py", line 1513, in _fini
    self.database._pq_complete()
    File "/usr/local/lib/python3.6/site-packages/postgresql/driver/pq3.py", line 2609, in _pq_complete
    self.typio.raise_error(x.error_message, cause = getattr(x, 'exception', None))
    File "/usr/local/lib/python3.6/site-packages/postgresql/driver/pq3.py", line 541, in raise_error
    self.raise_server_error(error_message, **kw)
    File "/usr/local/lib/python3.6/site-packages/postgresql/driver/pq3.py", line 532, in raise_server_error
    raise server_error
    postgresql.exceptions.SyntaxError: syntax error at or near ")"
    CODE: 42601
    LOCATION: File 'scan.l', line 1087, in scanner_yyerror from SERVER
@Kinani
Copy link

Kinani commented Nov 25, 2018

Anything on this? I have the same error with face-find.py.
seems like db.execute(query) is working fine while db.query(query) throws the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants