Author Topic: Error in PI Compiler  (Read 3113 times)

Offline bitli

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 513
Error in PI Compiler
« on: 2014 May 04 11:58:51 »
I tried to compile an old version of the PIDocReference (as the example docs are not available since a couple of years), but I get:

==> Compiling source file: .....PI Doc examples/docs/PIDocReference/PIDocReference.pidoc
*** Error [001]: C:/Program Files/PixInsight-1092/src/scripts/PIDocCompiler/PIDocDocument.js, line 414: ReferenceError: tokens is not defined

--  bitli

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: Error in PI Compiler
« Reply #1 on: 2014 May 06 15:32:00 »
I have already fixed this bug in the next version of the PIDoc compiler; thanks for detecting it.

However, note that this error happens because the output directory where you are trying to generate documentation is not a valid PixInsight documentation system (see the referred source code). You should generate a new PIDoc system first by selecting the corresponding option in the target system section of the compiler's dialog.

Yes, I have to rewrite the whole documentation for the PIDoc system, the compiler and the PIDoc language...
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline bitli

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 513
Re: Error in PI Compiler
« Reply #2 on: 2014 May 07 09:43:06 »
Thanks.

Maybe you should add two emoticons to the forum: "I want the doc" and "The doc is here RSN"  O:)

-- bitli

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
Re: Error in PI Compiler
« Reply #3 on: 2014 May 07 12:01:24 »
+2
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)