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

AttributeError: 'NoneType' object has no attribute 'startswith' #14

Open
Rudloff opened this issue Oct 2, 2014 · 2 comments
Open

AttributeError: 'NoneType' object has no attribute 'startswith' #14

Rudloff opened this issue Oct 2, 2014 · 2 comments

Comments

@Rudloff
Copy link

Rudloff commented Oct 2, 2014

Hello,

I get this error when I try to run python pdcalc.py:

Traceback (most recent call last):
  File "pdcalc.py", line 45, in <module>
    if args.instance.startswith("http"):
AttributeError: 'NoneType' object has no attribute 'startswith'
@sirmmo
Copy link
Contributor

sirmmo commented Oct 3, 2014

looks like an argument is missing. I will have the response being a bit more gentle and more explanatory. 😄

@petterreinholdtsen
Copy link
Contributor

The -i argument is missing. I ran into this myself.

Try running it like this: pdcalc -c germany -f rdf -l bnf -i inputfile.xml

petterreinholdtsen added a commit to petterreinholdtsen/pdcalc that referenced this issue Dec 30, 2015
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

3 participants