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

dbs.Delete() #1

Closed
cpl opened this issue Nov 9, 2016 · 3 comments
Closed

dbs.Delete() #1

cpl opened this issue Nov 9, 2016 · 3 comments
Assignees

Comments

@cpl
Copy link
Member

cpl commented Nov 9, 2016

When trying to run 'testCrate.py' or 'geesemanager.py', the program returns the following error:

Traceback (most recent call last):
  File "source/geesemanager.py", line 164, in <module>
    dbs.Delete()
  File "/fwgsim/source/db/database.py", line 90, in Delete
    """)
  File "/usr/lib/python2.7/site-packages/crate/client/cursor.py", line 54, in execute
    bulk_parameters)
  File "/usr/lib/python2.7/site-packages/crate/client/http.py", line 304, in sql
    content = self._json_request('POST', self.path, data=data)
  File "/usr/lib/python2.7/site-packages/crate/client/http.py", line 416, in _json_request
    _raise_for_status(response)
  File "/usr/lib/python2.7/site-packages/crate/client/http.py", line 170, in _raise_for_status
    error_trace=error_trace)
crate.client.exceptions.ProgrammingError: SQLActionException[SchemaUnknownException: Schema 'doc' unknown]

Do you know what causes it? @Friteee

@Friteee
Copy link
Collaborator

Friteee commented Nov 9, 2016

My guess is that script tries to delete a table which isn't there.

@Friteee
Copy link
Collaborator

Friteee commented Nov 9, 2016

Try removing the call for delete function and see if it helps the problem

@cpl
Copy link
Member Author

cpl commented Nov 9, 2016

Ok, I am compiling now the docker image.
edit: Awesome! That worked.

@cpl cpl closed this as completed Nov 9, 2016
cpl added a commit that referenced this issue Nov 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants