From: Harald S. <har...@fi...> - 2013-09-30 06:41:15
|
Hello Michalis, thanks a lot for your help. The directory was missing. Regards, Harald 2013/9/28 Michalis Kamburelis <mic...@gm...> > Harald Schmid wrote: > > Hi guys, > > The error occurs with the compiled binary from the current source, and > > the 0.13 binaries I got from sourceforge. Would you point me towards the > > direction where I can find my mistake? > > > pasdoc --output doc MyUnit.pas > > > Error[1]: Could not create HTML unit doc file for unit MyUnit. > > Error[1]: Could not create output file "automated.gif". > > Error[1]: Could not create output file "private.gif". > > Error[1]: Could not create output file "protected.gif". > > Error[1]: Could not create output file "public.gif". > > Error[1]: Could not create output file "published.gif". > > Fatal Error: Unable to create file "doc/pasdoc.css" > > All these errors mean that pasdoc tried to write a file, but received an > exception. This means that operating system doesn't allow to write such > file. > > Most probable cause is that you did not create directory "doc" (which > you indicated by --output doc). PasDoc *does not* (at least now) create > it automatically. Use "mkdir -p doc/" in your scripts to always first > make sure that doc/ subdirectory exists. > > Other possible causes are that you disk is full, or you don't have > permission to write files inside doc subdirectory. > > I documented this on http://pasdoc.sipsolutions.net/OutputOption . I > also committed a change to code so that CreateStream now shows the > underlying message (from TFileStream.Create), that *could* describe an > exact reason why creation failed (unfortunately this depends on RTL, and > on Linux it just shows "Unable to create file" without any more > information). > > Regards, > Michalis > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk > _______________________________________________ > Pasdoc-main mailing list > Pas...@li... > https://lists.sourceforge.net/lists/listinfo/pasdoc-main > |