Giter Club home page Giter Club logo

Comments (6)

stwunsch avatar stwunsch commented on July 17, 2024

Your error should be this line:

IndentationError: unexpected indent

Python is dependent on indents! There can be problems if you dont have a tab as indent but you have spaces. Check the file and replace spaces with tabs. Some editors has this implemented (e.g. geany within Document/'Replace spaces with tabs').

Better solution: Clone the repository again (commit: 0d43018), I have outcommented the doxygen part in the main CMakeLists.txt because the documentation is not finished yet. An already compiled version of the actual doc is in the repo included (docs/html/index.html)!

from gr-radar.

bpssoft avatar bpssoft commented on July 17, 2024

I've still the same issue. I saw the changes, but it looks like there is still a reference to the docs folder. It looks like inside the swig or example folder.

[code]Linking CXX executable test-radar
[ 67%] Built target test-radar
Scanning dependencies of target _radar_swig_doc_tag
[ 69%] Building CXX object swig/CMakeFiles/_radar_swig_doc_tag.dir/_radar_swig_doc_tag.cpp.o
Linking CXX executable _radar_swig_doc_tag
[ 69%] Built target _radar_swig_doc_tag
Scanning dependencies of target _radar_swig_swig_tag
[ 71%] Building CXX object swig/CMakeFiles/_radar_swig_swig_tag.dir/_radar_swig_swig_tag.cpp.o
Linking CXX executable _radar_swig_swig_tag
[ 71%] Built target _radar_swig_swig_tag
[ 73%] Generating doxygen xml for radar_swig_doc docs
Warning: Tag SYMBOL_CACHE_SIZE' at line 289 of file /home/xxx/sandbox/gr-radar/build/swig/radar_swig_doc_swig_docs/Doxyfile has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" Warning: TagSHOW_DIRECTORIES' at line 477 of file /home/xxx/sandbox/gr-radar/build/swig/radar_swig_doc_swig_docs/Doxyfile has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
Warning: Tag HTML_ALIGN_MEMBERS' at line 803 of file /home/xxx/sandbox/gr-radar/build/swig/radar_swig_doc_swig_docs/Doxyfile has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" Warning: TagUSE_INLINE_TREES' at line 956 of file /home/xxx/sandbox/gr-radar/build/swig/radar_swig_doc_swig_docs/Doxyfile has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
Warning: doxygen no longer ships with the FreeSans font.
You may want to clear or change DOT_FONTNAME.
Otherwise you run the risk that the wrong font is being used for dot generated graphs.
[ 76%] Generating radar_swig_doc.i
Traceback (most recent call last):
File "/home/xxx/sandbox/gr-radar/docs/doxygen/swig_doc.py", line 35, in
from gnuradio.doxyxml import DoxyIndex, DoxyClass, DoxyFriend, DoxyFunction, DoxyFile, base
ImportError: No module named doxyxml
make[2]: *** [swig/radar_swig_doc.i] Error 1
make[1]: *** [swig/CMakeFiles/_radar_swig.dir/all] Error 2
make: *** [all] Error 2
[/code]

from gr-radar.

stwunsch avatar stwunsch commented on July 17, 2024

Did you deleted your build folder? If you have swig issues, always remove your build folder and do a new mkdir build -> cd build -> cmake ../ -> make -j4.

Unfortunately I can not reproduce your error on my system.

Second solution is to edit the CMakeLists.txt in the docs folder and outcomment everything there.

But I think you dont have deleted your build folder after you pulled the new commit.

from gr-radar.

bpssoft avatar bpssoft commented on July 17, 2024

Yes, I removed everything. Nothings works.
To make it compile I’ve to make the following changes:

File: /cmake/Modules/GrSwig.cmake:
function(GR_SWIG_MAKE_DOCS output_file) <-- remove the DOXYGEN found.

Then rebuild everything and it works fine. It still didn’t solve the initial problem, but for now it’s a work around.
What kind of distro are you using?

From: Stefan Wunsch [mailto:[email protected]]
Sent: dinsdag 15 juli 2014 14:24
To: kit-cel/gr-radar
Cc: Etienne Goossens
Subject: Re: [gr-radar] Compiling error Doxyxml (#1)

Did you deleted your build folder? If you have swig issues, always remove your build folder and do a new mkdir build -> cd build -> cmake ../ -> make -j4.

Unfortunately I can not reproduce your error on my system.

Second solution is to edit the CMakeLists.txt in the docs folder and outcomment everything there.

But I think you dont have deleted your build folder after you pulled the new commit.


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-49023727.

from gr-radar.

stwunsch avatar stwunsch commented on July 17, 2024

Ah you are correct, there is a doxygen include too. I use Ubuntu 14.04. These days I should test compiling on different systems, probably I can reproduce your problem.

I still wonder about your initial issue, cause this should be only a wrong indent. I'll take a look at it!

from gr-radar.

stwunsch avatar stwunsch commented on July 17, 2024

Comment 573ebd9 should fix this problem by outcommenting everything with swigging the documentation for python doc strings. Hopefully it works! Still can not reproduce the problem.

from gr-radar.

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.