Comments (11)
Hmm... While attempting to reproduce this, it went away. As in, I got it a few times, then adding a few debugging steps made it stop breaking for no apparent reason. Taking the debugging statements out, it kept working.
Could you try this out now and see if you're still getting the error? If so, please send me (via gist or just a comment here):
- the output of 0launch --get-selections autonose-local.xml
- the stacktrace you get from running with --console
from autonose.
Testfile:
import unittest
class TestAutonoseFail(unittest.TestCase):
def test_crash(self):
self.skipTest("This test should be skipped")
def test_fail(self):
self.fail("Should fail")
0launch http://gfxmonk.net/dist/0install/autonose.xml --console
SF
======================================================================
FAIL: test_fail (test.TestAutonoseFail)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tiaburn/YouView/autonose_test/test.py", line 8, in test_fail
self.fail("Should fail")
AssertionError: Should fail
----------------------------------------------------------------------
Ran 2 tests in 0.008s
FAILED (SKIP=1, failures=1)
0launch --get-selections http://gfxmonk.net/dist/0install/autonose.xml is here https://gist.github.com/2021949
from autonose.
I'm not seeing it - the above output looks like autonose is working fine. I ran it and got the same as you, then when I modified the test file it got run again - autonose isn't actually exiting.
When I run it without --console, I get a crash, although right now that seems to be happening for me regardless of whether a test is skipped or not, so that may be another issue.
from autonose.
My behaviour is exactly opposite: it is working fine with --console. We need 3rd voice I think.
from autonose.
I've asked a collegue of mine to launch exactly same case.
He did:
- $ wget https://gist.github.com/gists/2035367/download
- $ cd into-gist-folder
- $ 0launch http://gfxmonk.net/dist/0install/autonose.xml
Window collapsed and output in console is https://gist.github.com/2043875
from autonose.
I think our behaviour is the same: --console is working for me as well, and the GUI is failing. For me, the GUI is failing for a strange (unrelated) reason, so thanks for the output. I can now see where the problem you're having is.
from autonose.
Can you please let me know if this works for you? As I mentioned, I'm having GUI troubles so I can't test it myself :(
You can run it locally (after doing a git pull
) with:
0launch http://gfxmonk.net/dist/0install/0local.xml autonose.xml && 0launch autonose-local.xml
from autonose.
I'm bit confused, how should I do that.
I've done git pull
from autonose repository. Than I've get into autonose local copy and run 0launch http://gfxmonk.net/dist/0install/0local.xml autonose.xml
. It created a autonose-local.xml file in same directory.
I've navigate to issue_22 folder and execute $ 0launch ../autonose/autonose-local.xml
there.
Is it correct sequence?
If so, UI part is still crashing for me
from autonose.
That sounds like you've done the right thing - can you give me a stack trace from when it fails?
Also, just to verify that you have the latest commit, can you send me the output of git show HEAD
from autonose.
HEAD Output:
tiaburn@lvaltp0692:~/Sources/autonose$ git show HEAD
commit abc40c500c4074f06089a7e592b8c2399302552c
so it seams, that git pull is correct
tiaburn@lvaltp0692:~/Sources/autonose_22$ 0launch ../autonose/autonose-local.xml
SF
======================================================================
FAIL: test_fail (test.TestAutonoseFail)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tiaburn/Sources/autonose_22/test.py", line 6, in test_fail
self.fail("Should fail")
AssertionError: Should fail
----------------------------------------------------------------------
Ran 2 tests in 0.169s
FAILED (SKIP=1, failures=1)
[WARNING] paragram.process.base_process: Unhandled message: (<watcher.TestRun object at 0x18a8390>,)
from autonose.
Sorry for taking so long, I don't think I'm going to be able to fix this until I can actually get it running for myself. Unfortunately, that's not likely to happen any time soon, as I don't have much need for it myself lately (and don't really know how to fix the problem I'm getting).
from autonose.
Related Issues (20)
- autonose cocoa code fails to load on macports python2.6 with pyobjc HOT 1
- Error when running autonose from fix_prototype branch HOT 7
- TypeError when print statement encountered HOT 24
- IOError when running GTK ui [other errors as well?] HOT 2
- autonose reports twice as many tests run on first launch HOT 2
- Cannot use GUI on OSX HOT 2
- Install problems HOT 1
- 0alias problem HOT 1
- allow verbose view, showing all tests run
- autonose failing with "Too many open files" HOT 2
- autonose dies when using custom exception class HOT 1
- test suite does not pass
- autonose IPC fails with RemoteError / KeyError HOT 2
- UI load failed: No module named shared.test_result HOT 1
- Does not work with virtualenv HOT 2
- Launching autonose is extremely slow
- An exception in setUpClass() should not terminate autonose
- esting
- Crash when watched file is missing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autonose.