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

Error when running with-process-isolation #1

Open
diwu1989 opened this issue May 12, 2014 · 3 comments
Open

Error when running with-process-isolation #1

diwu1989 opened this issue May 12, 2014 · 3 comments

Comments

@diwu1989
Copy link

I'm getting this error:

Traceback (most recent call last):
File "/Users/diwu/.virtualenvs/BetterWorks/lib/python2.7/site-packages/nose/case.py", line 133, in run
self.runTest(result)
File "/Users/diwu/.virtualenvs/BetterWorks/lib/python2.7/site-packages/nose/case.py", line 151, in runTest
test(result)
File "/Users/diwu/.virtualenvs/BetterWorks/lib/python2.7/site-packages/nosepipe.py", line 173, in call
(header + data).decode("latin1"))
Exception: short message body (want 1433299822, got 82)
Something went wrong
Message: Unknown command: '--with-process-isolation-reporter'
Type 'manage.py help' for usage.

@diwu1989
Copy link
Author

I think it's because I'm using django nose and I run tests with ./manage.py test ..., so when you are building the args for the subprocess, you are trying to call --with-process-isolation-reporter on ./manage.py instead.

To make nosepipe play nice with django nose, you might have to special case it and spawn subprocess with a different command.

@mdprewitt
Copy link
Contributor

This is similar to what's happening here: #7

I have some time this week and will look into a similar solution.

@dmccombs
Copy link
Owner

@diwu1989 do you still run into this issue with the latest stable version of nosepipe given the fixes in #8 ?

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