Take out the "cd testing/" and run it from the root as "testing/run-tests".
Guess we need a "cd .." in run-tests...
On Sat, Feb 27, 2016 at 12:50 PM, Aaron Whitehouse <
<email address hidden>> wrote:
> > If you have checked this out from a repo it will work, otherwise not.
> I may be misunderstanding you, Kenneth, but to clarify I am running the
> tests in a version of duplicity checked out of the repo and it isn't
> working:
>
> $ bzr branch lp:duplicity latest_duplicity
> Branched 1194 revisions.
> $ cd latest_duplicity/
> $ cd testing/
> $ ./run-testsGLOB sdist-make: /[...]/latest_duplicity/setup.py
> Traceback (most recent call last):
> File "/usr/local/bin/tox", line 11, in <module>
> sys.exit(cmdline())
> File "/usr/local/lib/python2.7/dist-packages/tox/session.py", line 39,
> in main
> retcode = Session(config).runcommand()
> File "/usr/local/lib/python2.7/dist-packages/tox/session.py", line 375,
> in runcommand
> return self.subcommand_test()
> File "/usr/local/lib/python2.7/dist-packages/tox/session.py", line 520,
> in subcommand_test
> path = self.get_installpkg_path()
> File "/usr/local/lib/python2.7/dist-packages/tox/session.py", line 496,
> in get_installpkg_path
> path = self._makesdist()
> File "/usr/local/lib/python2.7/dist-packages/tox/session.py", line 399,
> in _makesdist
> return self.config.distdir.listdir()[0]
> IndexError: list index out of range
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/1548080
>
> Title:
> tox / run-tests do not run from normal distribution
>
> Status in Duplicity:
> In Progress
>
> Bug description:
> I just tried pulling down the latest code and did a ./run-test, but
> received an error "IndexError: list index out of range".
>
> Through a binary search, I found that the error was introduced in rev
> 1165:
>
> http://bazaar.launchpad.net/~duplicity-team/duplicity/0.7-series/revision/1165
>
> If I pull that down and do ./run-tests, I receive the following error
> (whereas 1164 works as expected):
> $ ./run-tests
> GLOB sdist-make: /home/aaron/Programming/duplicity/dup_rev/setup.py
> Traceback (most recent call last):
> File "/usr/local/bin/tox", line 9, in <module>
> load_entry_point('tox==1.7.2', 'console_scripts', 'tox')()
> File
> "/usr/local/lib/python2.7/dist-packages/tox-1.7.2-py2.7.egg/tox/_cmdline.py",
> line 26, in main
> retcode = Session(config).runcommand()
> File
> "/usr/local/lib/python2.7/dist-packages/tox-1.7.2-py2.7.egg/tox/_cmdline.py",
> line 310, in runcommand
> return self.subcommand_test()
> File
> "/usr/local/lib/python2.7/dist-packages/tox-1.7.2-py2.7.egg/tox/_cmdline.py",
> line 442, in subcommand_test
> sdist_path = self.sdist()
> File
> "/usr/local/lib/python2.7/dist-packages/tox-1.7.2-py2.7.egg/tox/_cmdline.py",
> line 418, in sdist
> sdist_path = self._makesdist()
> File
> "/usr/local/lib/python2.7/dist-packages/tox-1.7.2-py2.7.egg/tox/_cmdline.py",
> line 334, in _makesdist
> return self.config.distdir.listdir()[0]
> IndexError: list index out of range
>
> Can other people run the tests properly, or has this been broken for
> everyone from 1165?
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/duplicity/+bug/1548080/+subscriptions
>
Take out the "cd testing/" and run it from the root as "testing/ run-tests" .
Guess we need a "cd .." in run-tests...
On Sat, Feb 27, 2016 at 12:50 PM, Aaron Whitehouse <
<email address hidden>> wrote:
> > If you have checked this out from a repo it will work, otherwise not. latest_ duplicity/ setup.py bin/tox" , line 11, in <module> lib/python2. 7/dist- packages/ tox/session. py", line 39, config) .runcommand( ) lib/python2. 7/dist- packages/ tox/session. py", line 375, _test() lib/python2. 7/dist- packages/ tox/session. py", line 520, installpkg_ path() lib/python2. 7/dist- packages/ tox/session. py", line 496, lib/python2. 7/dist- packages/ tox/session. py", line 399, distdir. listdir( )[0] /bugs.launchpad .net/bugs/ 1548080 bazaar. launchpad. net/~duplicity- team/duplicity/ 0.7-series/ revision/ 1165 Programming/ duplicity/ dup_rev/ setup.py bin/tox" , line 9, in <module> point(' tox==1. 7.2', 'console_scripts', 'tox')() lib/python2. 7/dist- packages/ tox-1.7. 2-py2.7. egg/tox/ _cmdline. py", config) .runcommand( ) lib/python2. 7/dist- packages/ tox-1.7. 2-py2.7. egg/tox/ _cmdline. py", _test() lib/python2. 7/dist- packages/ tox-1.7. 2-py2.7. egg/tox/ _cmdline. py", lib/python2. 7/dist- packages/ tox-1.7. 2-py2.7. egg/tox/ _cmdline. py", lib/python2. 7/dist- packages/ tox-1.7. 2-py2.7. egg/tox/ _cmdline. py", distdir. listdir( )[0] /bugs.launchpad .net/duplicity/ +bug/1548080/ +subscriptions
> I may be misunderstanding you, Kenneth, but to clarify I am running the
> tests in a version of duplicity checked out of the repo and it isn't
> working:
>
> $ bzr branch lp:duplicity latest_duplicity
> Branched 1194 revisions.
> $ cd latest_duplicity/
> $ cd testing/
> $ ./run-testsGLOB sdist-make: /[...]/
> Traceback (most recent call last):
> File "/usr/local/
> sys.exit(cmdline())
> File "/usr/local/
> in main
> retcode = Session(
> File "/usr/local/
> in runcommand
> return self.subcommand
> File "/usr/local/
> in subcommand_test
> path = self.get_
> File "/usr/local/
> in get_installpkg_path
> path = self._makesdist()
> File "/usr/local/
> in _makesdist
> return self.config.
> IndexError: list index out of range
>
> --
> You received this bug notification because you are a bug assignee.
> https:/
>
> Title:
> tox / run-tests do not run from normal distribution
>
> Status in Duplicity:
> In Progress
>
> Bug description:
> I just tried pulling down the latest code and did a ./run-test, but
> received an error "IndexError: list index out of range".
>
> Through a binary search, I found that the error was introduced in rev
> 1165:
>
> http://
>
> If I pull that down and do ./run-tests, I receive the following error
> (whereas 1164 works as expected):
> $ ./run-tests
> GLOB sdist-make: /home/aaron/
> Traceback (most recent call last):
> File "/usr/local/
> load_entry_
> File
> "/usr/local/
> line 26, in main
> retcode = Session(
> File
> "/usr/local/
> line 310, in runcommand
> return self.subcommand
> File
> "/usr/local/
> line 442, in subcommand_test
> sdist_path = self.sdist()
> File
> "/usr/local/
> line 418, in sdist
> sdist_path = self._makesdist()
> File
> "/usr/local/
> line 334, in _makesdist
> return self.config.
> IndexError: list index out of range
>
> Can other people run the tests properly, or has this been broken for
> everyone from 1165?
>
> To manage notifications about this bug go to:
> https:/
>