Menu

Documentation Generator not working

Anonymous
2014-11-26
2014-11-28
  • Anonymous

    Anonymous - 2014-11-26

    Hi,

    I am encountering troubles with the documentation generator:

    I have a small model with several classes, that I'd like to export to word.

    Therefore I invoke the documentation generator, select "UseCase specification document" and run the tool.

    Next I am then kindly asked to select a target folder, and then I have to select a target filename. After providing the information, the generator fails without specific information:

    Reason : Fail reason is not displayed.

    I first tried this with WhiteStarUML 5.5.5. which showed a little bit different behaviour, i.e. no filename selection required while export reaches some 80% level. Log output, however, showed the same unspecific error there. After upgrade to 5.5.8. I reach 0% export level with the procedure explained above.

    My question now is:

    1. How can I track this further?

    2. Is the fature currently not working/ recommended?

    Thanks,

    Daniel

    P.S: I am running win7, 64bit

     
  • Janusz Szpilewski

    There were no direct modification in the generator last days. I have just tried it with a sample model and it works for me.

    Generally there are known problems with Office 2013. Besides many things may disturb documentation generation often in the model itself. I.e, composite structures do not work well with plugins including generator etc.
    So you may just start removing elements from the diagram and see if the generation starts working. You may also take a look at the WordTranslator.js file which is written in JavaScript and eventually add some more log() messages etc.

     
    • Anonymous

      Anonymous - 2014-11-28

      Alright, thanks for the quick reply!

      Maybe it is not my diagram, but something wrong with my installation: When trying to clone a template, I receive this error:

      "Template can't be copied"

      Any idea?

      Thanks again,

      Daniel

       
  • Janusz Szpilewski

    In the code there are operations like:

    ScriptObj := CreateOleObject('Scripting.FileSystemObject');
    ScriptObj.CopyFolder(ExtractFileDir(SrcPath), Path);
    

    so indeed there may be a system specific problem if creating the script object or copying the folder fails. In DailiesAndNighties I posted new Generator-1.2.8 which should also display the exception message when the error is reported.

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.