Comment 3 for bug 1348785

Revision history for this message
Raj Reddy (kraj-reddy) wrote : Re: [Bug 1348785] Re: Auto Parsing code crashes

Hi..

Just downgrade pygccxml to 1.0 it will work.
On 18 Aug 2014 19:11, "qubit" <email address hidden> wrote:

> Hi Raj,
>
> I'm trying to make use of pybindgen and stubled into the same issue.
> Obviious options are to (1) downgrade pygccxml to v.1.5.2 or (2) to
> patch pybindgen.
>
> Have you managed to update pybindgen to fix the issue? If you have,
> could you please share this: tarball, code repo, patch file ... whatever
> is more convenient for you.
>
> Thanks in advance!
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1348785
>
> Title:
> Auto Parsing code crashes
>
> Status in Python Bindings Generator:
> New
>
> Bug description:
> Hi..
>
> I am working for an open source platform BRLCAD and our aim is to
> create python binding for a large library in cpp.
>
> However while using PyBindGen we come across a bug.
>
> Traceback is as follows
>
> Traceback (most recent call last):
> File "<input>", line 1, in <module>
> File
> "/home/raj/.local/lib/python2.7/site-packages/pybindgen/gccxmlparser.py",
> line 598, in parse
> pygen_classifier, gccxml_options)
> File
> "/home/raj/.local/lib/python2.7/site-packages/pybindgen/gccxmlparser.py",
> line 693, in parse_init
> self.gccxml_config = parser.config_t(**gccxml_options)
> AttributeError: 'module' object has no attribute 'config_t'
>
>
> And the code is placed here https://github.com/raj12lnm/TryPyBindGen
>
> So, apparently it seems there is a method missing to the class
> ModuleParser. On checking the file gccxmlparser.py I could confirm
> this. Please help us fix the bug.
>
> Thanks
>
> Raj.
> (GSoC Student)
> IRC : raj12lnm on freenode
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/pybindgen/+bug/1348785/+subscriptions
>