Giter VIP home page Giter VIP logo

ckanext-bulk's People

Contributors

grahame avatar krupalip avatar mtearle avatar shilob avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ckanext-bulk's Issues

Non-unicode field labels cause a traceback

e.g. μ in a label name.

traceback:

File '/env/lib/python2.7/site-packages/pylons/controllers/core.py', line 107 in _inspect_call
  result = self._perform_call(func, args)
File '/env/lib/python2.7/site-packages/pylons/controllers/core.py', line 60 in _perform_call
  return func(**args)
File '/env/lib/python2.7/site-packages/ckanext/bulk/controller.py', line 67 in file_list
  resources)
File '/env/lib/python2.7/site-packages/ckanext/bulk/zipoutput.py', line 137 in generate_bulk_zip
  zf.writestr(ip('package_metadata/{}.csv'.format(typ)), schema_to_csv(typ, 'dataset_fields', typ_packages))
File '/env/lib/python2.7/site-packages/ckanext/bulk/zipoutput.py', line 91 in schema_to_csv
  header.append(unicode(field['label'].encode('utf8')))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xce in position 10: ordinal not in range(128)

Permissions problems unziping on some platforms; and lack of instructions to add permissions in the README

Riley had problems with download.sh not having executable permissions when he unzip'd the download script

https://bioplatforms.zendesk.com/agent/tickets/1380

He was using the University of Melbourne HPC environment.

Relevant line in the code is

info.external_attr = 0755 << 16L # mark script as executable

The README needs to have instructions for the users how to add the permissions.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.