Closed
Bug 643351
Opened 14 years ago
Closed 14 years ago
Exception AttributeError: "'XulrunnerAppRunner' object has no attribute 'profile'"
Categories
(Add-on SDK Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 556562
People
(Reporter: ashah, Unassigned)
Details
SDK - 1.0b4RC1
Firefox - FFx4.0RC
Platform - Mac OS x 10.6
While running integration tests on the above mentioned platform, there was one failure.
The detailed failure is as follows:
Exception AttributeError: "'XulrunnerAppRunner' object has no attribute 'profile'" in <bound method XulrunnerAppRunner.cleanup of <cuddlefish.runner.XulrunnerAppRunner object at 0x1293c50>> ignored
FAIL: Doctest: cuddlefish.packaging.validate_resource_hostname
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/doctest.py", line 2152, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for cuddlefish.packaging.validate_resource_hostname
File "/Users/Mozilla/Documents/jetpack_automation/addon-sdk-1.0b4/python-lib/cuddlefish/packaging.py", line 46, in validate_resource_hostname
The logs for this testrun are here - http://pastebin.mozilla.org/1187268
(FYI - the command running from inside the integration script is cfx testall)
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Comment 2•14 years ago
|
||
Here's a snippet from the log of Ayan's latest test run:
--------------------------------------------------------------------------------
Warning: your mozrunner package is installed at /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/mozrunner-2.5.3-py2.6.egg/mozrunner, which does not seem to be located inside the Jetpack SDK. This may cause problems, and you may want to uninstall the other version. See bug 556562 for more information.
Welcome to the Add-on SDK. Run 'cfx docs' for assistance.
Testing cfx...
.......................................Exception AttributeError: "'XulrunnerAppRunner' object has no attribute 'profile'" in <bound method XulrunnerAppRunner.cleanup of <cuddlefish.runner.XulrunnerAppRunner object at 0x12b5c50>> ignored
................................................................
----------------------------------------------------------------------
Ran 103 tests in 7.463s
OK
--------------------------------------------------------------------------------
So it looks like this is still happening now that the cuddlefish.packaging.validate_resource_hostname test is working again. Thus this is not a duplicate of that bug after all.
Strangely, the run reports "OK" at the end, even though there was an exception while running tests.
I wonder if the mozrunner package warning has anything to do with this. I can't reproduce on my own Mac OS X 10.6 machine, which doesn't have another copy of mozrunner installed.
Ayan: what happens if you remove the mozrunner in /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/ ?
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Comment 3•14 years ago
|
||
According to Ayan on IRC, the error goes away when he removes the other copy of mozrunner. So this is another manifestation of bug 556562.
Status: REOPENED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•