Skip to content
This repository has been archived by the owner on Apr 14, 2019. It is now read-only.

Encoding error when downloading data from netfile #244

Open
adborden opened this issue Jun 2, 2016 · 0 comments
Open

Encoding error when downloading data from netfile #244

adborden opened this issue Jun 2, 2016 · 0 comments

Comments

@adborden
Copy link
Member

adborden commented Jun 2, 2016

Could just be a hiccup, but it would be nice if the job continued.

$ python manage.py downloadnetfilerawdata --years 2015
Traceback (most recent call last):
  File "manage.py", line 11, in <module>
    execute_from_command_line(sys.argv)
  File "/data/backend/env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 338, in execute_from_command_line
    utility.execute()
  File "/data/backend/env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 330, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/data/backend/env/local/lib/python2.7/site-packages/django/core/management/base.py", line 390, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/data/backend/env/local/lib/python2.7/site-packages/django/core/management/base.py", line 441, in execute
    output = self.handle(*args, **options)
  File "/data/backend/1455079647/netfile_raw/management/commands/downloadnetfilerawdata.py", line 169, in handle
    self.combine()
  File "/data/backend/1455079647/netfile_raw/management/commands/downloadnetfilerawdata.py", line 218, in combine
    combined_csv.write(','.join([agency, line]))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 447: ordinal not in range(128)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant