Bug 1938 - updates needed for pybindgen 0.17.0.876
updates needed for pybindgen 0.17.0.876
Status: RESOLVED INVALID
Product: ns-3
Classification: Unclassified
Component: python bindings
pre-release
PC Linux
: P5 normal
Assigned To: Gustavo J. A. M. Carneiro
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-21 09:47 UTC by Tom Henderson
Modified: 2014-06-23 12:57 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Henderson 2014-06-21 09:47:23 UTC
I tried to update to the tip of bzr repo today but got this upon waf configure:

pybindgen                                                                          : ok 
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named version
Traceback (most recent call last):
  File "/a/users/tomh/bake/source/ns-3-dev/.waf-1.7.13-5a064c2686fe54de4e11018d22148cfc/waflib/Scripting.py", line 97, in waf_entry_point
    run_commands()
  File "/a/users/tomh/bake/source/ns-3-dev/.waf-1.7.13-5a064c2686fe54de4e11018d22148cfc/waflib/Scripting.py", line 153, in run_commands
    ctx=run_command(cmd_name)
  File "/a/users/tomh/bake/source/ns-3-dev/.waf-1.7.13-5a064c2686fe54de4e11018d22148cfc/waflib/Scripting.py", line 146, in run_command
    ctx.execute()
  File "/a/users/tomh/bake/source/ns-3-dev/.waf-1.7.13-5a064c2686fe54de4e11018d22148cfc/waflib/Configure.py", line 128, in execute
    super(ConfigurationContext,self).execute()
  File "/a/users/tomh/bake/source/ns-3-dev/.waf-1.7.13-5a064c2686fe54de4e11018d22148cfc/waflib/Context.py", line 87, in execute
    self.recurse([os.path.dirname(g_module.root_path)])
  File "/a/users/tomh/bake/source/ns-3-dev/.waf-1.7.13-5a064c2686fe54de4e11018d22148cfc/waflib/Context.py", line 128, in recurse
    user_function(self)
  File "/a/users/tomh/bake/source/ns-3-dev/wscript", line 376, in configure
    conf.recurse('bindings/python')
  File "/a/users/tomh/bake/source/ns-3-dev/.waf-1.7.13-5a064c2686fe54de4e11018d22148cfc/waflib/Context.py", line 128, in recurse
    user_function(self)
  File "/a/users/tomh/bake/source/ns-3-dev/bindings/python/wscript", line 171, in configure
    pybindgen_version = tuple([int(x) for x in pybindgen_version_str.split('.')])
ValueError: invalid literal for int() with base 10: ''
Comment 1 Tom Henderson 2014-06-23 12:57:57 UTC
this is invalid; was due to testing outside of the ns-3-allinone (the download.py generates a fake pybindgen/version.py and I forgot about this)

bug 1926 still is valid