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

Arcas crashes when no command line options are given #26

Open
BlairArchibald opened this issue Mar 28, 2017 · 0 comments
Open

Arcas crashes when no command line options are given #26

BlairArchibald opened this issue Mar 28, 2017 · 0 comments

Comments

@BlairArchibald
Copy link

BlairArchibald commented Mar 28, 2017

Arcas currently crashes instead of exiting cleanly when you don't specify any options on the cmdline:

(env) blair@athos:~/sandbox/Arcas/bin$ python arcas_scrape
Traceback (most recent call last):
  File "arcas_scrape", line 45, in <module>
    url = api.create_url_search(parameters)
  File "/home/blair/sandbox/Arcas/src/arcas/tools.py", line 30, in create_url_search
    url += parameters[0]
IndexError: list index out of range
Nikoleta-v3 added a commit that referenced this issue Jul 4, 2017
Setting default values. This does not allow arcas to break
when no arguments are given. Closes issue #26.
@Nikoleta-v3 Nikoleta-v3 mentioned this issue Jul 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant