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

QGL examples have database related errors #249

Closed
rblazarus opened this issue Jan 16, 2020 · 2 comments
Closed

QGL examples have database related errors #249

rblazarus opened this issue Jan 16, 2020 · 2 comments

Comments

@rblazarus
Copy link
Contributor

rblazarus commented Jan 16, 2020

Using branch develop, QGL examples have database related errors. Exhibits in Ex2 and Ex3. See line 2: cl = ChannelLibrary(db_resource_name="./example.sqlite")

Creating engine...


OperationalError Traceback (most recent call last)
//anaconda3/lib/python3.7/site-packages/sqlalchemy/engine/base.py in _execute_context(self, dialect, constructor, statement, parameters, *args)
1243 self.dialect.do_execute(
-> 1244 cursor, statement, parameters, context
1245 )

//anaconda3/lib/python3.7/site-packages/sqlalchemy/engine/default.py in do_execute(self, cursor, statement, parameters, context)
549 def do_execute(self, cursor, statement, parameters, context=None):
--> 550 cursor.execute(statement, parameters)
551

OperationalError: no such column: receiver.reference_freq

The above exception was the direct cause of the following exception:

OperationalError Traceback (most recent call last)
in
----> 1 cl = ChannelLibrary(db_resource_name="./example.sqlite")

~/Repos/QGL/QGL/ChannelLibraries.py in init(self, db_resource_name, db_provider)
113 self.session.commit()
114
--> 115 self.update_channelDict()
116
117 # Update the global reference

@dieris
Copy link
Collaborator

dieris commented Jan 16, 2020

Should be fixed by b8c7620

@dieris
Copy link
Collaborator

dieris commented Jan 27, 2020

example.sqlite has been removed

@dieris dieris closed this as completed Jan 27, 2020
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