Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test fails #79

Open
DarkTyger opened this issue Apr 12, 2024 · 0 comments
Open

Test fails #79

DarkTyger opened this issue Apr 12, 2024 · 0 comments

Comments

@DarkTyger
Copy link

DarkTyger commented Apr 12, 2024

$ uname -a
Linux hostname #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 GNU/Linux

Then:

$ git clone https://github.com/sourcey/moxygen
$ cd moxygen/
$ npm install
$ npm audit fix --force
$ npm --version
10.5.0
$ sudo npm install -g npm@10.5.2

Then:

$ npm test

> moxygen@0.8.0 test
> npm run clean && cd example/ && doxygen && cd .. && node bin/moxygen.js --groups --pages --anchors --output=example/doc/api-%s.md example/xml


> moxygen@0.8.0 clean
> rm -rf example/doc/*.md example/xml/

warning: Tag 'TCL_SUBST' at line 247 of file 'Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag 'COLS_IN_ALPHA_INDEX' at line 1089 of file 'Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag 'LATEX_SOURCE_CODE' at line 1794 of file 'Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag 'RTF_SOURCE_CODE' at line 1876 of file 'Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag 'DOCBOOK_PROGRAMLISTING' at line 1974 of file 'Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag 'PERL_PATH' at line 2154 of file 'Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag 'CLASS_DIAGRAMS' at line 2167 of file 'Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag 'MSCGEN_PATH' at line 2176 of file 'Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
Doxygen version used: 1.9.4
Searching for include files...
Searching for example files...
Searching for images...
Searching for dot files...
Searching for msc files...
Searching for dia files...
Searching for files to exclude
Searching INPUT for files to process...
Searching for files in directory /tmp/moxygen/example/src
Reading and parsing tag files
Parsing files
Preprocessing /tmp/moxygen/example/src/bicycle.cpp...
Parsing file /tmp/moxygen/example/src/bicycle.cpp...
Preprocessing /tmp/moxygen/example/src/bicycle.h...
Parsing file /tmp/moxygen/example/src/bicycle.h...
Reading /tmp/moxygen/example/src/changelog.md...
Preprocessing /tmp/moxygen/example/src/mountainbike.cpp...
Parsing file /tmp/moxygen/example/src/mountainbike.cpp...
Preprocessing /tmp/moxygen/example/src/mountainbike.h...
Parsing file /tmp/moxygen/example/src/mountainbike.h...
Reading /tmp/moxygen/example/src/overview.md...
Preprocessing /tmp/moxygen/example/src/racingbike.cpp...
Parsing file /tmp/moxygen/example/src/racingbike.cpp...
Preprocessing /tmp/moxygen/example/src/racingbike.h...
Parsing file /tmp/moxygen/example/src/racingbike.h...
Preprocessing /tmp/moxygen/example/src/transport.h...
Parsing file /tmp/moxygen/example/src/transport.h...
Building macro definition list...
Building group list...
Building directory list...
Building namespace list...
Building file list...
Building class list...
Building concept list...
Computing nesting relations for classes...
Associating documentation with classes...
Associating documentation with concepts...
Building example list...
Searching for enumerations...
Searching for documented typedefs...
Searching for members imported via using declarations...
Searching for included using directives...
Searching for documented variables...
Building interface member list...
Building member list...
Searching for friends...
Searching for documented defines...
Computing class inheritance relations...
Computing class usage relations...
Flushing cached template relations that have become invalid...
Computing class relations...
Add enum values to enums...
Searching for member function documentation...
Creating members for template instances...
Building page list...
Search for main page...
Computing page relations...
Determining the scope of groups...
Sorting lists...
Determining which enums are documented
Computing member relations...
Building full member lists recursively...
Adding members to member groups.
Computing member references...
Inheriting documentation...
Generating disk names...
Adding source references...
Adding xrefitems...
Sorting member lists...
Setting anonymous enum type...
Computing dependencies between directories...
Generating citations page...
Counting members...
Counting data structures...
Resolving user defined references...
Finding anchors and sections in the documentation...
Transferring function references...
Combining using relations...
Adding members to index pages...
Correcting members for VHDL...
Computing tooltip texts...
Generating style sheet...
Generating search indices...
Generating example documentation...
Generating file sources...
Generating code for file src/bicycle.h...
Generating code for file src/mountainbike.h...
Generating code for file src/racingbike.h...
Generating code for file src/transport.h...
Generating file documentation...
Generating page documentation...
Generating docs for page changelog...
Generating docs for page overview...
Generating group documentation...
Generating class documentation...
Generating concept documentation...
Generating namespace index...
Generating docs for compound transport::Bicycle...
Generating docs for compound transport::MountainBike...
Generating docs for compound transport::RacingBike...
Generating graph info page...
Generating directory documentation...
finalizing index lists...
writing tag file...
Generating XML output...
Generating XML output for class transport::Bicycle
Generating XML output for class transport::MountainBike
/tmp/moxygen/example/src/mountainbike.h:23: warning: Found unknown command '@stiffness'
/tmp/moxygen/example/src/mountainbike.h:35: warning: Found unknown command '@BreakType'
/tmp/moxygen/example/src/mountainbike.h:36: warning: Found unknown command '@breakType'
Generating XML output for class transport::RacingBike
Generating XML output for namespace transport
Generating XML output for file bicycle.cpp
Generating XML output for file bicycle.h
Generating XML output for file changelog.md
Generating XML output for file mountainbike.cpp
Generating XML output for file mountainbike.h
Generating XML output for file overview.md
Generating XML output for file racingbike.cpp
Generating XML output for file racingbike.h
Generating XML output for file transport.h
Generating XML output for group bicycle
Generating XML output for group racingbike
Generating XML output for group mountainbike
Generating XML output for page changelog
Generating XML output for page overview
Generate XML output for dir /tmp/moxygen/example/src/
Running plantuml with JAVA...
lookup cache used 39/65536 hits=60 misses=41
finished...
verbose: Parsing example/xml/index.xml
verbose: Parsing example/xml/classtransport_1_1Bicycle.xml
verbose: Processing compound transport::Bicycle
verbose: Processing member function PedalHarder
verbose: Processing member function RingBell
verbose: Processing member function ~Bicycle
verbose: Parsing example/xml/classtransport_1_1MountainBike.xml
verbose: Processing compound transport::MountainBike
verbose: Processing member function SetSuspension
verbose: Processing member function ChangeBreak
verbose: Parsing example/xml/classtransport_1_1RacingBike.xml
verbose: Processing compound transport::RacingBike
verbose: Processing member function PedalHarder
verbose: Processing member function RingBell
verbose: Parsing example/xml/namespacetransport.xml
verbose: Processing compound transport
verbose: Parsing example/xml/group__bicycle.xml
verbose: Processing compound bicycle
verbose: Parsing example/xml/group__racingbike.xml
verbose: Processing compound racingbike
verbose: Parsing example/xml/group__mountainbike.xml
verbose: Processing compound mountainbike
verbose: Parsing example/xml/changelog.xml
verbose: Processing compound changelog
false anchor: not yet supported.
false anchor: not yet supported.
verbose: Parsing example/xml/overview.xml
verbose: Processing compound overview
false anchor: not yet supported.
false anchor: not yet supported.
verbose: Parsing example/xml/dir_68267d1309a1af8e8297ef4c3efbcdba.xml
verbose: Processing compound src
verbose: Rendering group bicycle
verbose: Rendering class transport::Bicycle
verbose: Writing: example/doc/api-bicycle.md
verbose: Rendering group racingbike
verbose: Rendering class transport::RacingBike
verbose: Writing: example/doc/api-racingbike.md
verbose: Rendering group mountainbike
verbose: Rendering class transport::MountainBike
verbose: Writing: example/doc/api-mountainbike.md
verbose: Rendering page changelog
verbose: Writing: example/doc/page-changelog.md
verbose: Rendering page overview
node:events:495
      throw er; // Unhandled 'error' event
      ^

TypeError: Cannot read properties of undefined (reading 'kind')
    at Object.compoundPath (/tmp/moxygen/src/helpers.js:99:18)
    at Object.<anonymous> (/tmp/moxygen/src/helpers.js:84:21)
    at String.replace (<anonymous>)
    at Object.resolveRefs (/tmp/moxygen/src/helpers.js:71:20)
    at Object.<anonymous> (/tmp/moxygen/src/helpers.js:112:19)
    at Array.map (<anonymous>)
    at Object.writeCompound (/tmp/moxygen/src/helpers.js:111:67)
    at /tmp/moxygen/index.js:150:19
    at Array.forEach (<anonymous>)
    at /tmp/moxygen/index.js:147:15
Emitted 'error' event on Parser instance at:
    at exports.Parser.Parser.parseString (/tmp/moxygen/node_modules/xml2js/lib/parser.js:341:16)
    at Parser.parseString (/tmp/moxygen/node_modules/xml2js/lib/parser.js:5:59)
    at Object.<anonymous> (/tmp/moxygen/src/parser.js:523:17)
    at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)

Node.js v18.20.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant