ckan / ckanext-xloader

Express Loader - quickly load data into DataStore. A replacement for DataPusher.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'NoneType' object has no attribute 'transaction' When adding dataset

hussnainwithss opened this issue · comments

Setup:
Fresh CKAN 2.9 setup with xloader on ubuntu 20.04 Locally

Steps to reproduce:

  1. Go to add dataset screen
  2. fill relevant meta info
  3. select upload file and upload following csv
  4. 500 internal server error reported

Expected Behavior:
The file should be uploaded and the xloader job should start pushing to the datastore.

image
image

Hello @hussnainwithss
can you please check your ckanext-xloader version as this issue was fixed . If you are still experiencing the issue, please reopen the issue in the xloader repository. Thanks

I had the same problem: I installed xloader with pip first and then noticed that that gives one version 0.8.0 where this issue wasn't fixed. But installing over git clone fixes that of course...

I don't think this issue should be closed until a new version (0.9) is uploaded to pypi because the readme calls for an installation from there, thus causing the error here described.