Comments (6)
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.
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: Tag
SHOW_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: Tag
USE_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.
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.
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.
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.
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)
- Logged file from File sink having periodic spikes HOT 1
- Cmake error on Mac OSX-Mojave HOT 1
- Change the frequency while the echotimer is running HOT 4
- Clarification of specs HOT 4
- Branch for PR: Port to GNU Radio 3.8 HOT 2
- random range value when testing gr-radar on just one X310 HOT 1
- Windows "ImportError: No module named _radar_swig" Path Issue? HOT 1
- Will this work with BladeRF ?? HOT 1
- make error on gnuradio 3.8.1.0 HOT 2
- Can't send you email HOT 1
- can't proceed with cmake HOT 4
- ctest fail why? HOT 2
- module 'radar' has no attribute 'ts_fft_cc'
- ImportError: ./_radar_swig.so: undefined symbol
- Making the build dependent on UHD is a bad idea
- Who calls it repeatedly
- Receive Error: ERROR_CODE_LATE_COMMAND HOT 1
- gnuradio-3.9 support!!!! HOT 1
- FMCW does not work.
- Cmake erro HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gr-radar.