Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New graphic: Copytext spreadsheet not found #33

Closed
alykat opened this issue Mar 24, 2014 · 1 comment
Closed

New graphic: Copytext spreadsheet not found #33

alykat opened this issue Mar 24, 2014 · 1 comment

Comments

@alykat
Copy link
Member

alykat commented Mar 24, 2014

Workflow:

  • Use add_graphic:quiz-economy to create a new graphic
  • Open the app template copy spreadsheet, saved a new copy (to the shared NPR folder).
  • Paste new spreadsheet's ID into graphic_config.py
  • fab update_copy:quiz-economy — error
  • Publish the spreadsheet, run fab update_copy:quiz-economy again — error.
(dailygraphics)alynpr:dailygraphics ahurt$ fab update_copy:quiz-economy
Traceback (most recent call last):
  File "/Users/ahurt/.virtualenvs/dailygraphics/lib/python2.7/site-packages/fabric/main.py", line 717, in main
    *args, **kwargs
  File "/Users/ahurt/.virtualenvs/dailygraphics/lib/python2.7/site-packages/fabric/tasks.py", line 332, in execute
    results['<local-only>'] = task.run(*args, **new_kwargs)
  File "/Users/ahurt/.virtualenvs/dailygraphics/lib/python2.7/site-packages/fabric/tasks.py", line 112, in run
    return self.wrapped(*args, **kwargs)
  File "/Users/ahurt/src/dailygraphics/fabfile/__init__.py", line 210, in update_copy
    download_copy(slug)
  File "/Users/ahurt/.virtualenvs/dailygraphics/lib/python2.7/site-packages/fabric/tasks.py", line 109, in __call__
    return self.run(*args, **kwargs)
  File "/Users/ahurt/.virtualenvs/dailygraphics/lib/python2.7/site-packages/fabric/tasks.py", line 112, in run
    return self.wrapped(*args, **kwargs)
  File "/Users/ahurt/src/dailygraphics/fabfile/__init__.py", line 203, in download_copy
    g.get_document()
  File "/Users/ahurt/src/dailygraphics/etc/gdocs.py", line 92, in get_document
    raise KeyError("Error! Your Google Doc does not exist.")
KeyError: 'Error! Your Google Doc does not exist.'
@alykat
Copy link
Member Author

alykat commented Mar 24, 2014

User error. ::facepalm:: I didn't copy over the entire spreadsheet ID, apparently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant