module-autogen error: IndexError: list index out of range

Bug #1227341 reported by Elvis Dowson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PyBindGen
Invalid
Undecided
Unassigned

Bug Description

Hi,
    I've installed pybindgen-0.16.0 on Ubuntu-12.10 64-bit.

When I try to automatically generate the python bindings, I get the following error:

$ cd /tool/pybindgen-0.16.0/examples/a
$ python module-autogen.py
Traceback (most recent call last):
  File "module-autogen.py", line 17, in <module>
    my_module_gen()
  File "module-autogen.py", line 11, in my_module_gen
    module = module_parser.parse([sys.argv[1]])
IndexError: list index out of range

Best regards,

Elvis Dowson

Revision history for this message
Gustavo Carneiro (gjc) wrote :

It expects the file name of the header file to parse as first command-line argument.
$ python module-autogen.py a.h

The examples can be run by waf, with waf --examples

Changed in pybindgen:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.