Giter Site home page Giter Site logo

Comments (1)

hroest avatar hroest commented on July 17, 2024

The issue looks like the same one in #17 which I addressed in the pull request #18

Can you try to add the patch from #18 and see whether this fixes the problem?

The output seems to choke on this, which should be addressed in #18

Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File "/home/sagitter/rpmbuild/BUILD/python3-autowrap-0.6.0-1.20150121git75e9a5.fc21/tests/test_code_generator.py", line 57, in test_number_conv
    root=test_files, target=target,  debug=True)
  File "/home/sagitter/rpmbuild/BUILD/python3-autowrap-0.6.0-1.20150121git75e9a5.fc21/autowrap/__init__.py", line 80, in parse_and_generate_code
    extra_cimports)
  File "/home/sagitter/rpmbuild/BUILD/python3-autowrap-0.6.0-1.20150121git75e9a5.fc21/autowrap/__init__.py", line 62, in generate_code
    extra_cimports)
  File "/home/sagitter/rpmbuild/BUILD/python3-autowrap-0.6.0-1.20150121git75e9a5.fc21/autowrap/CodeGenerator.py", line 117, in __init__
    self.cr = setup_converter_registry(self.classes, self.enums, instance_mapping)
  File "/home/sagitter/rpmbuild/BUILD/python3-autowrap-0.6.0-1.20150121git75e9a5.fc21/autowrap/ConversionProvider.py", line 1474, in setup_converter_registry
    names_of_enums_to_wrap)
  File "/home/sagitter/rpmbuild/BUILD/python3-autowrap-0.6.0-1.20150121git75e9a5.fc21/autowrap/ConversionProvider.py", line 83, in __init__
    self.names_of_wrapper_classes += ["const %s" % k for k in instance_mapping.keys()]
nose.proxy.TypeError: unsupported operand type(s) for +=: 'dict_keys' and 'list'

from autowrap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.