You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So i kinda thought that i would be able to just download the .db file and look up what the tables were called with SELECT * from master-sql but there are no tables there. I mean i guess it worked once, but there was all these ascii errors at the end of the search when i put in SELECT * from food_desc. I've been trying to work on the .py file to see if i have to refresh the database or something but im stuck with this error.
line 278, in refresh
for line in f:
File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0x91 in position 4009: ordinal not in range(128)
I don't want to refresh the data base but i am still trying to get the calorie, and carb/fat/protein count for each food.
Sorry kinda new to this, i don't know what to do.
The text was updated successfully, but these errors were encountered:
I have created the table as per instructions, and created the json file. When i try to read the json file i get the following error
File "/usr/lib/python3.5/json/init.py", line 268, in load
parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
File "/usr/lib/python3.5/json/init.py", line 319, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.5/json/decoder.py", line 342, in decode
raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 2 column 1 (char 55732)
ghost
changed the title
No tables in .db file
Corruption at the end of JSON
Jan 9, 2018
So i kinda thought that i would be able to just download the .db file and look up what the tables were called with SELECT * from master-sql but there are no tables there. I mean i guess it worked once, but there was all these ascii errors at the end of the search when i put in SELECT * from food_desc. I've been trying to work on the .py file to see if i have to refresh the database or something but im stuck with this error.
line 278, in refresh
for line in f:
File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0x91 in position 4009: ordinal not in range(128)
I don't want to refresh the data base but i am still trying to get the calorie, and carb/fat/protein count for each food.
Sorry kinda new to this, i don't know what to do.
The text was updated successfully, but these errors were encountered: