You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@libcloud.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2010/05/07 00:27:47 UTC
[libcloud] [jira] Created: (LIBCLOUD-25) Test suite fails on WinXP/SP3
Test suite fails on WinXP/SP3
-----------------------------
Key: LIBCLOUD-25
URL: https://issues.apache.org/jira/browse/LIBCLOUD-25
Project: Libcloud
Issue Type: Bug
Affects Versions: 0.3.0
Reporter: Sebb
Test fails on WinXP/SP3:
python setup.py test
running test
Traceback (most recent call last):
File "setup.py", line 98, in <module>
'Topic :: Software Development :: Libraries :: Python Modules'
File "c:\python26\lib\distutils\core.py", line 152, in setup
dist.run_commands()
File "c:\python26\lib\distutils\dist.py", line 975, in run_commands
self.run_command(cmd)
File "c:\python26\lib\distutils\dist.py", line 995, in run_command
cmd_obj.run()
File "setup.py", line 45, in run
tests = TestLoader().loadTestsFromNames(testfiles)
File "c:\python26\lib\unittest.py", line 613, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
File "c:\python26\lib\unittest.py", line 584, in loadTestsFromName
parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'test_dreamhost'
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[libcloud] [jira] Resolved: (LIBCLOUD-25) Test suite fails on WinXP/SP3
Posted by "Paul Querna (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LIBCLOUD-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Querna resolved LIBCLOUD-25.
---------------------------------
Resolution: Fixed
0.3.1 and trunk now check for the secrets.py file and write out an error if it isn't found.
> Test suite fails on WinXP/SP3
> -----------------------------
>
> Key: LIBCLOUD-25
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-25
> Project: Libcloud
> Issue Type: Bug
> Affects Versions: 0.3.0
> Reporter: Sebb
>
> Test fails on WinXP/SP3:
> python setup.py test
> running test
> Traceback (most recent call last):
> File "setup.py", line 98, in <module>
> 'Topic :: Software Development :: Libraries :: Python Modules'
> File "c:\python26\lib\distutils\core.py", line 152, in setup
> dist.run_commands()
> File "c:\python26\lib\distutils\dist.py", line 975, in run_commands
> self.run_command(cmd)
> File "c:\python26\lib\distutils\dist.py", line 995, in run_command
> cmd_obj.run()
> File "setup.py", line 45, in run
> tests = TestLoader().loadTestsFromNames(testfiles)
> File "c:\python26\lib\unittest.py", line 613, in loadTestsFromNames
> suites = [self.loadTestsFromName(name, module) for name in names]
> File "c:\python26\lib\unittest.py", line 584, in loadTestsFromName
> parent, obj = obj, getattr(obj, part)
> AttributeError: 'module' object has no attribute 'test_dreamhost'
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[libcloud] [jira] Commented: (LIBCLOUD-25) Test suite fails on WinXP/SP3
Posted by "Sebb (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LIBCLOUD-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864958#action_12864958 ]
Sebb commented on LIBCLOUD-25:
------------------------------
Copying the file fixes the test suite.
IMO the test suite should have a check that this file is present and print a suitable message if not, because the current error message does not give a clue.
> Test suite fails on WinXP/SP3
> -----------------------------
>
> Key: LIBCLOUD-25
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-25
> Project: Libcloud
> Issue Type: Bug
> Affects Versions: 0.3.0
> Reporter: Sebb
>
> Test fails on WinXP/SP3:
> python setup.py test
> running test
> Traceback (most recent call last):
> File "setup.py", line 98, in <module>
> 'Topic :: Software Development :: Libraries :: Python Modules'
> File "c:\python26\lib\distutils\core.py", line 152, in setup
> dist.run_commands()
> File "c:\python26\lib\distutils\dist.py", line 975, in run_commands
> self.run_command(cmd)
> File "c:\python26\lib\distutils\dist.py", line 995, in run_command
> cmd_obj.run()
> File "setup.py", line 45, in run
> tests = TestLoader().loadTestsFromNames(testfiles)
> File "c:\python26\lib\unittest.py", line 613, in loadTestsFromNames
> suites = [self.loadTestsFromName(name, module) for name in names]
> File "c:\python26\lib\unittest.py", line 584, in loadTestsFromName
> parent, obj = obj, getattr(obj, part)
> AttributeError: 'module' object has no attribute 'test_dreamhost'
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[libcloud] [jira] Reopened: (LIBCLOUD-25) Test suite fails on WinXP/SP3
Posted by "Sebb (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LIBCLOUD-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sebb reopened LIBCLOUD-25:
--------------------------
Minor problem with the test case fix:
Maybe you forgot to copy it from -dist:
cp test/secrets.py-dst test/secrets.py
That should be
cp test/secrets.py-dist test/secrets.py
note the additional "i" in the source file extension
> Test suite fails on WinXP/SP3
> -----------------------------
>
> Key: LIBCLOUD-25
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-25
> Project: Libcloud
> Issue Type: Bug
> Affects Versions: 0.3.0
> Reporter: Sebb
>
> Test fails on WinXP/SP3:
> python setup.py test
> running test
> Traceback (most recent call last):
> File "setup.py", line 98, in <module>
> 'Topic :: Software Development :: Libraries :: Python Modules'
> File "c:\python26\lib\distutils\core.py", line 152, in setup
> dist.run_commands()
> File "c:\python26\lib\distutils\dist.py", line 975, in run_commands
> self.run_command(cmd)
> File "c:\python26\lib\distutils\dist.py", line 995, in run_command
> cmd_obj.run()
> File "setup.py", line 45, in run
> tests = TestLoader().loadTestsFromNames(testfiles)
> File "c:\python26\lib\unittest.py", line 613, in loadTestsFromNames
> suites = [self.loadTestsFromName(name, module) for name in names]
> File "c:\python26\lib\unittest.py", line 584, in loadTestsFromName
> parent, obj = obj, getattr(obj, part)
> AttributeError: 'module' object has no attribute 'test_dreamhost'
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[libcloud] [jira] Commented: (LIBCLOUD-25) Test suite fails on WinXP/SP3
Posted by "Jerry Chen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LIBCLOUD-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864950#action_12864950 ]
Jerry Chen commented on LIBCLOUD-25:
------------------------------------
Do you have a test/secrets.py?
> Test suite fails on WinXP/SP3
> -----------------------------
>
> Key: LIBCLOUD-25
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-25
> Project: Libcloud
> Issue Type: Bug
> Affects Versions: 0.3.0
> Reporter: Sebb
>
> Test fails on WinXP/SP3:
> python setup.py test
> running test
> Traceback (most recent call last):
> File "setup.py", line 98, in <module>
> 'Topic :: Software Development :: Libraries :: Python Modules'
> File "c:\python26\lib\distutils\core.py", line 152, in setup
> dist.run_commands()
> File "c:\python26\lib\distutils\dist.py", line 975, in run_commands
> self.run_command(cmd)
> File "c:\python26\lib\distutils\dist.py", line 995, in run_command
> cmd_obj.run()
> File "setup.py", line 45, in run
> tests = TestLoader().loadTestsFromNames(testfiles)
> File "c:\python26\lib\unittest.py", line 613, in loadTestsFromNames
> suites = [self.loadTestsFromName(name, module) for name in names]
> File "c:\python26\lib\unittest.py", line 584, in loadTestsFromName
> parent, obj = obj, getattr(obj, part)
> AttributeError: 'module' object has no attribute 'test_dreamhost'
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[libcloud] [jira] Commented: (LIBCLOUD-25) Test suite fails on WinXP/SP3
Posted by "Paul Querna (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LIBCLOUD-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864956#action_12864956 ]
Paul Querna commented on LIBCLOUD-25:
-------------------------------------
(sorry its not actually mentioned in HACKING, fixed in trunk)
> Test suite fails on WinXP/SP3
> -----------------------------
>
> Key: LIBCLOUD-25
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-25
> Project: Libcloud
> Issue Type: Bug
> Affects Versions: 0.3.0
> Reporter: Sebb
>
> Test fails on WinXP/SP3:
> python setup.py test
> running test
> Traceback (most recent call last):
> File "setup.py", line 98, in <module>
> 'Topic :: Software Development :: Libraries :: Python Modules'
> File "c:\python26\lib\distutils\core.py", line 152, in setup
> dist.run_commands()
> File "c:\python26\lib\distutils\dist.py", line 975, in run_commands
> self.run_command(cmd)
> File "c:\python26\lib\distutils\dist.py", line 995, in run_command
> cmd_obj.run()
> File "setup.py", line 45, in run
> tests = TestLoader().loadTestsFromNames(testfiles)
> File "c:\python26\lib\unittest.py", line 613, in loadTestsFromNames
> suites = [self.loadTestsFromName(name, module) for name in names]
> File "c:\python26\lib\unittest.py", line 584, in loadTestsFromName
> parent, obj = obj, getattr(obj, part)
> AttributeError: 'module' object has no attribute 'test_dreamhost'
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[libcloud] [jira] Commented: (LIBCLOUD-25) Test suite fails on WinXP/SP3
Posted by "Paul Querna (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LIBCLOUD-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864951#action_12864951 ]
Paul Querna commented on LIBCLOUD-25:
-------------------------------------
as noted in HACKING, copy test/secrets.py-dist to test/secrets.py
> Test suite fails on WinXP/SP3
> -----------------------------
>
> Key: LIBCLOUD-25
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-25
> Project: Libcloud
> Issue Type: Bug
> Affects Versions: 0.3.0
> Reporter: Sebb
>
> Test fails on WinXP/SP3:
> python setup.py test
> running test
> Traceback (most recent call last):
> File "setup.py", line 98, in <module>
> 'Topic :: Software Development :: Libraries :: Python Modules'
> File "c:\python26\lib\distutils\core.py", line 152, in setup
> dist.run_commands()
> File "c:\python26\lib\distutils\dist.py", line 975, in run_commands
> self.run_command(cmd)
> File "c:\python26\lib\distutils\dist.py", line 995, in run_command
> cmd_obj.run()
> File "setup.py", line 45, in run
> tests = TestLoader().loadTestsFromNames(testfiles)
> File "c:\python26\lib\unittest.py", line 613, in loadTestsFromNames
> suites = [self.loadTestsFromName(name, module) for name in names]
> File "c:\python26\lib\unittest.py", line 584, in loadTestsFromName
> parent, obj = obj, getattr(obj, part)
> AttributeError: 'module' object has no attribute 'test_dreamhost'
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.