Version-Release number of selected component: eclipse-pydev-2.6.0-1.fc17 Additional info: libreport version: 2.0.13 abrt_version: 2.0.12 cmdline: /usr/bin/python2.7 -u /usr/share/eclipse/dropins/pydev/eclipse/plugins/org.python.pydev_2.6.0.2012062818/pysrc/runfiles.py /home/tadej/Workspace/ERMRec/src/ERMRec/unit_testing/test.py --port 39768 --verbosity 0 kernel: 3.5.3-1.fc17.x86_64 backtrace: :pydev_runfiles_unittest.py:96:_reportErrors:AttributeError: '_ErrorHolder' object has no attribute '__pydev_pyfile__' : :Traceback (most recent call last): : File "/usr/share/eclipse/dropins/pydev/eclipse/plugins/org.python.pydev_2.6.0.2012062818/pysrc/runfiles.py", line 163, in <module> : main() : File "/usr/share/eclipse/dropins/pydev/eclipse/plugins/org.python.pydev_2.6.0.2012062818/pysrc/runfiles.py", line 77, in main : pydev_runfiles.main(configuration) : File "/usr/share/eclipse/dropins/pydev/eclipse/plugins/org.python.pydev_2.6.0.2012062818/pysrc/pydev_runfiles.py", line 761, in main : PydevTestRunner(configuration).run_tests() : File "/usr/share/eclipse/dropins/pydev/eclipse/plugins/org.python.pydev_2.6.0.2012062818/pysrc/pydev_runfiles.py", line 747, in run_tests : runner.run(test_suite) : File "/usr/lib64/python2.7/unittest/runner.py", line 151, in run : test(result) : File "/usr/lib64/python2.7/unittest/suite.py", line 70, in __call__ : return self.run(*args, **kwds) : File "/usr/lib64/python2.7/unittest/suite.py", line 108, in run : test(result) : File "/usr/lib64/python2.7/unittest/suite.py", line 70, in __call__ : return self.run(*args, **kwds) : File "/usr/lib64/python2.7/unittest/suite.py", line 108, in run : test(result) : File "/usr/lib64/python2.7/unittest/suite.py", line 70, in __call__ : return self.run(*args, **kwds) : File "/usr/lib64/python2.7/unittest/suite.py", line 100, in run : self._handleClassSetUp(test, result) : File "/usr/lib64/python2.7/unittest/suite.py", line 153, in _handleClassSetUp : self._addClassOrModuleLevelException(result, e, errorName) : File "/usr/lib64/python2.7/unittest/suite.py", line 198, in _addClassOrModuleLevelException : result.addError(error, sys.exc_info()) : File "/usr/share/eclipse/dropins/pydev/eclipse/plugins/org.python.pydev_2.6.0.2012062818/pysrc/pydev_runfiles_unittest.py", line 112, in addError : self._reportErrors([self.errors[-1]], [], '', self.getTestName(test)) : File "/usr/share/eclipse/dropins/pydev/eclipse/plugins/org.python.pydev_2.6.0.2012062818/pysrc/pydev_runfiles_unittest.py", line 96, in _reportErrors : 'error', captured_output, error_contents, test.__pydev_pyfile__, test_name, diff_time) :AttributeError: '_ErrorHolder' object has no attribute '__pydev_pyfile__' : :Local variables in innermost frame: :captured_output: '' :errors: [(<ErrorHolder description='setUpClass (ERMRec.unit_testing.test.TestTestResultsCompatibilityChecker)'>, 'Traceback (most recent call last):\n File "/home/tadej/Workspace/ERMRec/src/ERMRec/unit_testing/test.py", line 53, in setUpClass\n cls.addCleanup(remove_temp_folder)\nTypeError: unbound method addCleanup() must be called with TestTestResultsCompatibilityChecker instance as first argument (got function instance instead)\n')] :sep: '\n======================================================================' :self: <pydev_runfiles_unittest.PydevTestResult run=0 errors=1 failures=0> :diff_time: '' :error_contents: 'Traceback (most recent call last):\n File "/home/tadej/Workspace/ERMRec/src/ERMRec/unit_testing/test.py", line 53, in setUpClass\n cls.addCleanup(remove_temp_folder)\nTypeError: unbound method addCleanup() must be called with TestTestResultsCompatibilityChecker instance as first argument (got function instance instead)\n' :s: 'Traceback (most recent call last):\n File "/home/tadej/Workspace/ERMRec/src/ERMRec/unit_testing/test.py", line 53, in setUpClass\n cls.addCleanup(remove_temp_folder)\nTypeError: unbound method addCleanup() must be called with TestTestResultsCompatibilityChecker instance as first argument (got function instance instead)\n' :test_name: '<unable to get test name>' :test: <ErrorHolder description='setUpClass (ERMRec.unit_testing.test.TestTestResultsCompatibilityChecker)'> :failures: []
Created attachment 626999 [details] File: core_backtrace
Sami, please investigate.
Tadej, can you give us a reporter ?
(In reply to Alexander Kurtakov from comment #3) > Tadej, can you give us a reporter ? Alexander, what do you mean by "reporter"?
Sorry, reproducer is what I ment.
Aka the test that we can run to see the problem.
(In reply to Alexander Kurtakov from comment #6) > Aka the test that we can run to see the problem. Yes, this makes sense now :). I can reproduce this, but it is quite a complicated Pydev project with some unpackaged external dependencies. I'll try to narrow it down to some minimal working example.
Created attachment 765101 [details] Simple bug reproducer. Alexander, I managed to find a very simple reproducer. If it is run with "Run As -> Python Run", it produces the following output: E ====================================================================== ERROR: setUpClass (__main__.TestCaseCausingPydevError) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/tadej/Workspace/ERMRec/src/ERMRec/unit_testing/test.py", line 7, in setUpClass raise ValueError("This is an INTENTIONAL value error.") ValueError: This is an INTENTIONAL value error. ---------------------------------------------------------------------- Ran 0 tests in 0.001s FAILED (errors=1) However, if it is run with "Run As -> Python unit-test", it produces the same traceback as reported by this bug.
This message is a reminder that Fedora 17 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 17. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '17'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 17's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 17 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior to Fedora 17's end of life. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fixed, and merged in 799b7bf.
Confused upstream with fedora bug trackers; will be fixed with the next update. Reopening.
(In reply to Andrew Ferrazzutti from comment #11) > Confused upstream with fedora bug trackers; will be fixed with the next > update. Reopening. Great news! Thanks, Andrew.
eclipse-pydev-2.8.1-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/eclipse-pydev-2.8.1-1.fc19
Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed.
Reopening as per comment 13.
Package eclipse-pydev-2.8.1-1.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing eclipse-pydev-2.8.1-1.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-14146/eclipse-pydev-2.8.1-1.fc19 then log in and leave karma (feedback).
eclipse-pydev-2.8.1-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.