|
Bugzilla – Full Text Bug Listing |
| Summary: | download.py fails when run for the second time | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | John Abraham <john.abraham.in> |
| Component: | general | Assignee: | ns-bugs <ns-bugs> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | CC: | tomh |
| Priority: | P5 | ||
| Version: | pre-release | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
John Abraham
2012-03-28 22:45:31 UTC
could not reproduce today on three different machines: - my Linux machine - ns-buildmaster - darwin (also an OS X machine) I believe this is probably seen in machines which don't have bzr. i have to check (In reply to comment #1) > could not reproduce today on three different machines: > > - my Linux machine > - ns-buildmaster > - darwin (also an OS X machine) (In reply to comment #2) > I believe this is probably seen in machines which don't have bzr. i have to > check > > (In reply to comment #1) > > could not reproduce today on three different machines: > > > > - my Linux machine > > - ns-buildmaster > > - darwin (also an OS X machine) Could not reproduce this on a new Ubuntu 12.04 32-bit machine that had mercurial and python-dev installed, but did not have bzr installed. The pybindgen report is: # # Get PyBindGen # Required pybindgen version: 0.15.0.809 Trying to fetch pybindgen; this will fail if no network connection is available. Hit Ctrl-C to skip. => bzr checkout -rrevno:809 https://launchpad.net/pybindgen pybindgen *** Did not fetch pybindgen; python bindings will not be available. Repeated calls to ./download.py produce the same (expected) output. Suggest to close as INVALID? actually I reported this on the mac. I tried something similar now
Doing keyboard interrupt prevents ./download.py from working again. a similar concept maybe applicable for mac without bzr?
johnabra-mac:ns-3-allinone johnabraham$ ./download.py
#
# Get NS-3
#
Cloning ns-3 branch
=> hg clone http://code.nsnam.org/ns-3-dev ns-3-dev
requesting all changes
adding changesets
adding manifests
adding file changes
added 9002 changesets with 40491 changes to 6684 files
updating to branch default
2494 files updated, 0 files merged, 0 files removed, 0 files unresolved
#
# Get PyBindGen
#
Required pybindgen version: 0.15.0.809
Trying to fetch pybindgen; this will fail if no network connection is available. Hit Ctrl-C to skip.
=> bzr checkout -rrevno:809 https://launchpad.net/pybindgen pybindgen
^CInterrupted; Python bindings will be disabled.
Traceback (most recent call last):
File "./download.py", line 316, in <module>
sys.exit(main())
File "./download.py", line 280, in main
pybindgen_dir, pybindgen_version = get_pybindgen(ns3_dir)
TypeError: 'bool' object is not iterable
johnabra-mac:ns-3-allinone johnabraham$ bzr: interrupted
johnabra-mac:ns-3-allinone johnabraham$ ./download.py
#
# Get NS-3
#
Updating ns-3 branch
=> hg --cwd ns-3-dev pull -u
pulling from http://code.nsnam.org/ns-3-dev
searching for changes
no changes found
Traceback (most recent call last):
File "./download.py", line 316, in <module>
sys.exit(main())
File "./download.py", line 261, in main
ns3_dir = get_ns3(options.ns3_branch)
File "./download.py", line 29, in get_ns3
run_command(['hg', '--cwd', ns3_dir, 'pull', '-u'])
File "/Users/johnabraham/ws/ns-3-allinone/util.py", line 24, in run_command
raise CommandError("Command %r exited with code %i" % (argv, retval))
util.CommandError: Command ['hg', '--cwd', 'ns-3-dev', 'pull', '-u'] exited with code 1
|