I am getting an error that no table exists called “dataset”. I originally run prodigy on my server with PRODIGY_HOME not specified. So it created a .prodigy folder on the Linux server. However, I want the .prodigy folder to live on a shared drive, so I specified PRODIGY_HOME to that file share and tried to run the prodigy dataset command but got this error.
(ef) [jeweinbe@pmc-pia-ap9d .prodigy]$ prodigy dataset my_set “a test set” --author Jason
Traceback (most recent call last):
File “/opt/anaconda/envs/ef/lib/python3.6/site-packages/peewee.py”, line 3830, in execute_sql
cursor.execute(sql, params or ())
sqlite3.OperationalError: no such table: dataset
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/opt/anaconda/envs/ef/lib/python3.6/runpy.py”, line 193, in _run_module_as_main
“main”, mod_spec)
File “/opt/anaconda/envs/ef/lib/python3.6/runpy.py”, line 85, in _run_code
exec(code, run_globals)
File “/opt/anaconda/envs/ef/lib/python3.6/site-packages/prodigy/main.py”, line 230, in
plac.call(commands[command], arglist=args, eager=False)
File “/opt/anaconda/envs/ef/lib/python3.6/site-packages/plac_core.py”, line 328, in call
cmd, result = parser.consume(arglist)
File “/opt/anaconda/envs/ef/lib/python3.6/site-packages/plac_core.py”, line 207, in consume
return cmd, self.func(*(args + varargs + extraopts), **kwargs)
File “/opt/anaconda/envs/ef/lib/python3.6/site-packages/prodigy/main.py”, line 39, in dataset
if set_id in DB:
File “cython_src/prodigy/components/db.pyx”, line 108, in prodigy.components.db.Database.contains
File “/opt/anaconda/envs/ef/lib/python3.6/site-packages/peewee.py”, line 4988, in get
return sq.get()
File “/opt/anaconda/envs/ef/lib/python3.6/site-packages/peewee.py”, line 3220, in get
return next(clone.execute())
File “/opt/anaconda/envs/ef/lib/python3.6/site-packages/peewee.py”, line 3274, in execute
self._qr = ResultWrapper(model_class, self._execute(), query_meta)
File “/opt/anaconda/envs/ef/lib/python3.6/site-packages/peewee.py”, line 2939, in _execute
return self.database.execute_sql(sql, params, self.require_commit)
File “/opt/anaconda/envs/ef/lib/python3.6/site-packages/peewee.py”, line 3837, in execute_sql
self.commit()
File “/opt/anaconda/envs/ef/lib/python3.6/site-packages/peewee.py”, line 3656, in exit
reraise(new_type, new_type(*exc_args), traceback)
File “/opt/anaconda/envs/ef/lib/python3.6/site-packages/peewee.py”, line 135, in reraise
raise value.with_traceback(tb)
File “/opt/anaconda/envs/ef/lib/python3.6/site-packages/peewee.py”, line 3830, in execute_sql
cursor.execute(sql, params or ())
peewee.OperationalError: no such table: dataset