ckan / datapusher

A standalone web service that pushes data files from a CKAN site resources into its DataStore
GNU Affero General Public License v3.0
77 stars 153 forks source link

activate_this.py doesnt exist #169

Closed mystycs closed 6 years ago

mystycs commented 6 years ago

I have an error 500 when uploading files to datapusher in manage tab.

But i get this output below:

I looked for this file but the file doesnt exist. There isnt even a bin folder in the datapusher directory.

Any idea?

[Sat Jul 07 06:32:30.899627 2018] [wsgi:error] [pid 107107:tid 140138106074880] [remote 127.0.0.1:1644] mod_wsgi (pid=107107): Target WSGI script '/etc/ckan/default/datapusher.wsgi' cannot be loaded as Python module. [Sat Jul 07 06:32:30.899666 2018] [wsgi:error] [pid 107107:tid 140138106074880] [remote 127.0.0.1:1644] mod_wsgi (pid=107107): Exception occurred processing WSGI script '/etc/ckan/default/datapusher.wsgi'. [Sat Jul 07 06:32:30.899682 2018] [wsgi:error] [pid 107107:tid 140138106074880] [remote 127.0.0.1:1644] Traceback (most recent call last): [Sat Jul 07 06:32:30.899696 2018] [wsgi:error] [pid 107107:tid 140138106074880] [remote 127.0.0.1:1644] File "/etc/ckan/default/datapusher.wsgi", line 6, in [Sat Jul 07 06:32:30.899739 2018] [wsgi:error] [pid 107107:tid 140138106074880] [remote 127.0.0.1:1644] execfile(activate_this, dict(file=activate_this)) [Sat Jul 07 06:32:30.899787 2018] [wsgi:error] [pid 107107:tid 140138106074880] [remote 127.0.0.1:1644] IOError: [Errno 2] No such file or directory: '/usr/lib/ckan/datapusher/bin/activate_this.py'

mystycs commented 6 years ago

I just used the one in ckans native directory