Giter VIP home page Giter VIP logo

Comments (3)

refi64 avatar refi64 commented on August 26, 2024

What files are you generating docs for?

from cldoc.

xgdgsc avatar xgdgsc commented on August 26, 2024

My hpp and cpp files.

from cldoc.

xgdgsc avatar xgdgsc commented on August 26, 2024

Same error with the same files on manjaro linux:

Processing common_headers.hpp
Traceback (most recent call last):
  File "/home/gsc/anaconda2/bin/cldoc", line 11, in <module>
    sys.exit(run())
  File "/home/gsc/anaconda2/lib/python2.7/site-packages/cldoc/__init__.py", line 57, in run
    run_generate(rest)
  File "/home/gsc/anaconda2/lib/python2.7/site-packages/cldoc/__init__.py", line 27, in run_generate
    cmdgenerate.run(args)
  File "/home/gsc/anaconda2/lib/python2.7/site-packages/cldoc/cmdgenerate.py", line 125, in run
    t.process()
  File "/home/gsc/anaconda2/lib/python2.7/site-packages/cldoc/tree.py", line 212, in process
    self.visit(tu.cursor.get_children())
  File "/home/gsc/anaconda2/lib/python2.7/site-packages/cldoc/tree.py", line 517, in visit
    self.visit(item.get_children(), node)
  File "/home/gsc/anaconda2/lib/python2.7/site-packages/cldoc/tree.py", line 483, in visit
    if item.kind == cindex.CursorKind.UNEXPOSED_DECL:
  File "/home/gsc/anaconda2/lib/python2.7/site-packages/cldoc/clang/cindex.py", line 1189, in kind
    return CursorKind.from_id(self._kind_id)
  File "/home/gsc/anaconda2/lib/python2.7/site-packages/cldoc/clang/cindex.py", line 553, in from_id
    raise ValueError,'Unknown cursor kind %d' % id
ValueError: Unknown cursor kind 601

It happens after processing a very simple common header file that includes common headers and declares classes in namespaces, a very similar one to trading_robot_2/headers.h at master ยท bytefury/trading_robot_2.

from cldoc.

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.