Skip to content

Instantly share code, notes, and snippets.

@wboykinm
Created November 19, 2012 16:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wboykinm/4111603 to your computer and use it in GitHub Desktop.
Save wboykinm/4111603 to your computer and use it in GitHub Desktop.
db errors
/usr/local/lib/python2.6/dist-packages/django/utils/translation/__init__.py:63: DeprecationWarning: Translations in the project directory aren't supported anymore. Use the LOCALE_PATHS setting instead.
DeprecationWarning)
DEBUG:root:geolevel_name: region1_block
INFO:root:Error importing configuration.
INFO:root:Traceback (most recent call last):
File "/projects/DistrictBuilder/django/publicmapping/redistricting/management/commands/setup.py", line 166, in handle
all_ok = all_ok * self.import_prereq(config, force)
File "/projects/DistrictBuilder/django/publicmapping/redistricting/management/commands/setup.py", line 323, in import_prereq
success = success * config.import_scoring(force)
File "/projects/DistrictBuilder/django/publicmapping/redistricting/config.py", line 601, in import_scoring
sf_obj = self.import_function(sf_node, force)
File "/projects/DistrictBuilder/django/publicmapping/redistricting/config.py", line 668, in import_function
'calculator': node.get('calculator')[:500],
AttributeError: 'NoneType' object has no attribute 'get'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment