-
Notifications
You must be signed in to change notification settings - Fork 16
AttributeError #3
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
Comments
Having this same issue. |
I've seen that error. This is the one I usually get. Traceback (most recent call last): |
Hi, I'm also currently testing the library. I solved the issue changing following line in pysimplesql.py (line 694): and in example2.py (line 25): |
Good job, dani-91. I hadn't given up hope that someone would come up with the solution. |
Sorry for the hiatus Examples have been fixed! |
Hello, pysimplesql is exactly what I was looking for :-). A simple GUI for a small database.
Unfortunately I get the following error when running your sample program.
Traceback (most recent call last):
File "example2.py", line 25, in
db = ss.Database('example2.db', win) # <=== load the database and bind it to the window
File "/home/test-db/pysimplesql.py", line 694, in init
new_database = not os.path.isfile(sqlite3_database)
File "/usr/lib/python3.8/genericpath.py", line 30, in isfile
st = os.stat(path)
TypeError: stat: path should be string, bytes, os.PathLike or integer, not Window
Exception ignored in: <function Database.del at 0x7fd34ee2dca0>
Traceback (most recent call last):
File "/home/test-db/pysimplesql.py", line 725, in del
if self.path!=':memory:':
AttributeError: 'Database' object has no attribute 'path'
The text was updated successfully, but these errors were encountered: