Open Lynngre opened 9 years ago
This is actually a missing requirement at datapusher code. I saw this PR https://github.com/ckan/datapusher/pull/34, but there isn't a package named pdftables
. So, I opened a new one including pdftables
into requirements.txt
https://github.com/ckan/datapusher/pull/72
.pdf cannot be added to the datastore & so cannot be previewed.
'pdftables is not installed'
Error: File "/usr/lib/ckan/datapusher/lib/python2.7/site-packages/apscheduler/scheduler.py", line 512, in _run_job retval = job.func(_job.args, *_job.kwargs) File "/usr/lib/ckan/datapusher/src/datapusher/datapusher/jobs.py", line 333, in push_to_datastore table_set = messytables.any_tableset(f, mimetype=ct, extension=ct) File "/usr/lib/ckan/datapusher/lib/python2.7/site-packages/messytables/any.py", line 136, in any_tableset return parsersattempt File "/usr/lib/ckan/datapusher/lib/python2.7/site-packages/messytables/pdf.py", line 50, in init raise ImportError("pdftables is not installed") ImportError('pdftables is not installed',)