Skip to content

Instantly share code, notes, and snippets.

@clairesarsam-wf
Created May 27, 2014 19:40
Show Gist options
  • Save clairesarsam-wf/1c0e64cec5b59e446fa5 to your computer and use it in GitHub Desktop.
Save clairesarsam-wf/1c0e64cec5b59e446fa5 to your computer and use it in GitHub Desktop.
(sky)WF12052:z_bigsky clairesarsam$ python tools/remote_api/upload_font.py ../font/fonts/general/ --skip-check
Email: dd
Password:
INFO 2014-05-27 19:40:10,707 upload_font.py:171
INFO 2014-05-27 19:40:10,707 upload_font.py:181
INFO 2014-05-27 19:40:10,707 upload_font.py:182 Starting font upload
INFO 2014-05-27 19:40:10,707 upload_font.py:247 Processing [Arial]
INFO 2014-05-27 19:40:10,745 upload_font.py:415 Using existing font matching upload_id (Arial-01)
Traceback (most recent call last):
File "tools/remote_api/upload_font.py", line 515, in <module>
sys.exit(FontScript.run_main(sys.argv))
File "/Users/clairesarsam/workspaces/wf/bigsky/z_bigsky/tools/remote_api/__init__.py", line 174, in run_main
return remote.start() or 0
File "/Users/clairesarsam/workspaces/wf/bigsky/z_bigsky/tools/remote_api/__init__.py", line 128, in start
self.userCode()
File "tools/remote_api/upload_font.py", line 189, in userCode
self.process_fonts(root)
File "tools/remote_api/upload_font.py", line 284, in process_fonts
self.upload_file(file_type, font_path, font_files.get(file_type), font)
File "tools/remote_api/upload_font.py", line 502, in upload_file
url = host_name + urlresolvers.reverse(server_utils.add_new_file)
File "/Users/clairesarsam/.virtualenvs/sky/lib/python2.7/site-packages/django/core/urlresolvers.py", line 351, in reverse
*args, **kwargs)))
File "/Users/clairesarsam/.virtualenvs/sky/lib/python2.7/site-packages/django/core/urlresolvers.py", line 272, in reverse
possibilities = self.reverse_dict.getlist(lookup_view)
File "/Users/clairesarsam/.virtualenvs/sky/lib/python2.7/site-packages/django/core/urlresolvers.py", line 194, in _get_reverse_dict
self._populate()
File "/Users/clairesarsam/.virtualenvs/sky/lib/python2.7/site-packages/django/core/urlresolvers.py", line 173, in _populate
for name in pattern.reverse_dict:
File "/Users/clairesarsam/.virtualenvs/sky/lib/python2.7/site-packages/django/core/urlresolvers.py", line 194, in _get_reverse_dict
self._populate()
File "/Users/clairesarsam/.virtualenvs/sky/lib/python2.7/site-packages/django/core/urlresolvers.py", line 162, in _populate
for pattern in reversed(self.url_patterns):
File "/Users/clairesarsam/.virtualenvs/sky/lib/python2.7/site-packages/django/core/urlresolvers.py", line 244, in _get_url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/Users/clairesarsam/.virtualenvs/sky/lib/python2.7/site-packages/django/core/urlresolvers.py", line 239, in _get_urlconf_module
self._urlconf_module = import_module(self.urlconf_name)
File "/Users/clairesarsam/.virtualenvs/sky/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/Users/clairesarsam/workspaces/wf/bigsky/z_bigsky/books/urls.py", line 3, in <module>
from books.admin.views import BooksMemberListView
File "/Users/clairesarsam/workspaces/wf/bigsky/z_bigsky/books/admin/views.py", line 3, in <module>
from admin.nodes import PermissionsSetOverviewNode
File "/Users/clairesarsam/workspaces/wf/bigsky/z_bigsky/admin/nodes.py", line 11, in <module>
from admin import forms as admin_forms
File "/Users/clairesarsam/workspaces/wf/bigsky/z_bigsky/admin/forms.py", line 7609, in <module>
class ScheduleValidationForm(webapps_forms.BaseForm):
File "/Users/clairesarsam/workspaces/wf/bigsky/z_bigsky/admin/forms.py", line 7614, in ScheduleValidationForm
'ENABLE_SCHEDULED_SERVER_DOCUMENT_VALIDATION_REPAIRS')
File "/Users/clairesarsam/workspaces/wf/bigsky/z_bigsky/base/__init__.py", line 349, in get_global_setting
return get_global_setting_dict([setting_name], **kwargs)[setting_name]
File "/Users/clairesarsam/workspaces/wf/bigsky/z_bigsky/base/__init__.py", line 332, in get_global_setting_dict
gs = kwargs.get('global_settings', None) or get_global_setting_object()
File "/Users/clairesarsam/workspaces/wf/bigsky/z_bigsky/base/__init__.py", line 309, in get_global_setting_object
gs = memcache.get(GLOBAL_SETTINGS_KEYNAME)
File "/Users/clairesarsam/.virtualenvs/sky/lib/python2.7/site-packages/google/appengine/api/memcache/__init__.py", line 559, in get
results = rpc.get_result()
File "/Users/clairesarsam/.virtualenvs/sky/lib/python2.7/site-packages/google/appengine/api/apiproxy_stub_map.py", line 612, in get_result
return self.__get_result_hook(self)
File "/Users/clairesarsam/.virtualenvs/sky/lib/python2.7/site-packages/google/appengine/api/memcache/__init__.py", line 624, in __get_hook
self._do_unpickle)
File "/Users/clairesarsam/.virtualenvs/sky/lib/python2.7/site-packages/google/appengine/api/memcache/__init__.py", line 271, in _decode_value
return do_unpickle(value)
File "/Users/clairesarsam/.virtualenvs/sky/lib/python2.7/site-packages/google/appengine/api/memcache/__init__.py", line 401, in _do_unpickle
return unpickler.load()
cPickle.UnpicklingError: state is not a dictionary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment