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

Run add_robot.py error #147

Open
AlliansChina opened this issue May 18, 2018 · 6 comments
Open

Run add_robot.py error #147

AlliansChina opened this issue May 18, 2018 · 6 comments

Comments

@AlliansChina
Copy link

Dear Tully Foote,
When I run add_robot.py I got this error, could you tell me how to fix it:

Traceback (most recent call last):
File "add_robot.py", line 59, in
response = input("Does this look correct? [y/N]: ")
AttributeError: 'ProxyFile' object has no attribute 'errors'

@tfoote
Copy link
Member

tfoote commented May 18, 2018

Please share how you're setting up your environment. Searching online I found references to python 3 input trying to detect the type of input. But I can't find any sold reference to ProxyFile.

@AlliansChina
Copy link
Author

Dear Tully Foote,
I performed these operations:
1.sudo apt install python3-empy
2.python3 add_robot.py
3.Add image.png ,this error occurred when I entered
Please tell me how to do it,thank you

@tfoote
Copy link
Member

tfoote commented May 21, 2018

@AlliansChina The traceback is coming from a python builtin. I cannot reproduce your issue. Please explain how you setup your environment? What have you installed? What have you put onto your PYTHONPATH etc?

Can you run the following and show the output typing in some short string like "asdf"?

python3 -c 'print("I got input %s" % input("please enter something: "))'

@AlliansChina
Copy link
Author

@tfoote
yes,I can do it .
I will think about how to solve the python problems.
thank you

@renhaiborenhaibo
Copy link

I also met same question AttributeError: 'ProxyFile' object has no attribute 'errors'

@tfoote
Copy link
Member

tfoote commented Jul 9, 2018

Can you reproduce this in a docker container/dockerfile so that I can reproduce the problem?

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