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 'returncode' #65001

Closed
pramodjadhav mannequin opened this issue Feb 28, 2014 · 2 comments
Closed

AttributeError: 'NoneType' object has no attribute 'returncode' #65001

pramodjadhav mannequin opened this issue Feb 28, 2014 · 2 comments

Comments

@pramodjadhav
Copy link
Mannequin

pramodjadhav mannequin commented Feb 28, 2014

BPO 20802
Nosy @ned-deily

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2014-02-28.07:38:28.322>
created_at = <Date 2014-02-28.06:48:58.067>
labels = ['invalid']
title = "AttributeError: 'NoneType' object has no attribute 'returncode'"
updated_at = <Date 2014-02-28.07:38:28.320>
user = 'https://bugs.python.org/pramodjadhav'

bugs.python.org fields:

activity = <Date 2014-02-28.07:38:28.320>
actor = 'ned.deily'
assignee = 'none'
closed = True
closed_date = <Date 2014-02-28.07:38:28.322>
closer = 'ned.deily'
components = []
creation = <Date 2014-02-28.06:48:58.067>
creator = 'pramod.jadhav'
dependencies = []
files = []
hgrepos = []
issue_num = 20802
keywords = []
message_count = 2.0
messages = ['212409', '212410']
nosy_count = 2.0
nosy_names = ['ned.deily', 'pramod.jadhav']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = 'resolved'
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue20802'
versions = []

@pramodjadhav
Copy link
Mannequin Author

pramodjadhav mannequin commented Feb 28, 2014

AttributeError                            Traceback (most recent call last)
<ipython-input-16-c985c6423e2d> in <module>()
      7 #F='C:\Users\Prashant\Documents\IPython Notebooks\resources\ch06-mailboxes'
      8 F='resources/ch06-mailboxes/data/enron.mbox.json.bz2'
----> 9 r = envoy.run("bunzip2 %s" % (F,))
     10 print r.std_out
     11 print r.std_err

C:\Anaconda\lib\site-packages\envoy\core.py in run(command, data, timeout)
166
167 cmd = Command(c)
--> 168 out, err = cmd.run(data, timeout)
169
170 r = Response(process=cmd)

C:\Anaconda\lib\site-packages\envoy\core.py in run(self, data, timeout)
51 self.process=process;
52 thread.join()
---> 53 self.returncode = self.process.returncode
54 return self.out, self.err
55

AttributeError: 'NoneType' object has no attribute 'returncode'

@ned-deily
Copy link
Member

The traceback shows an issue when using envoy, which is not part of the Python standard library. Assuming you are using the envoy listed in PyPI, I suggest you ask on the project's issue tracker:

https://github.com/kennethreitz/envoy/issues

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
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