An example query to reproduce the issue, assuming that you are attempting to connect to a running q process on a particular host/port, and referencing a query to run in a .q file via qPython:
/ Here is a comment at the beginning of example.q
tables[]
For context, this is running on a RedHat 7.6 box, with version 1.3.0 of qPython, Python version 2.7.5, and provides an exception without much information.
Curious to know if this is a bug, or just intended behavior? In general, I know we should be using Python 3, but figured it wouldn't hurt to raise the issue if this is something that we would like to fix.