Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Invalid argument on Windows using Graphviz #755

Closed
DoBi opened this Issue · 2 comments

2 participants

@DoBi

There is a strange error:
Sometime there is a warning which fails the whole build:

Warning: copy(C:\Users\Dominik\Documents\Eclipse\git\doc\img/icons/method.png): failed to open stream: Invalid argument in C:\xampp\php\pear\PhpDocumentor\src\phpDocumentor\Transformer\Transformer.php on line 420

Call Stack:
0.0006 129840 1. {main}() C:\xampp\php\phpdoc.php:0
0.0872 1871000 2. phpDocumentor\Application->run() C:\xampp\php\phpdoc.php:28
0.0912 1971344 3. Symfony\Component\Console\Application->run() C:\xampp\php\pear\PhpDocumentor\src\phpDocumentor\Application.php:74
0.1017 2118024 4. Symfony\Component\Console\Application->doRun() C:\xampp\php\pear\PhpDocumentor\vendor\symfony\console\Symfony\Component\Console\Application.php:105
0.1051 2118856 5. Symfony\Component\Console\Command\Command->run() C:\xampp\php\pear\PhpDocumentor\vendor\symfony\console\Symfony\Component\Console\Application.php:192
0.1086 2121936 6. phpDocumentor\Command\Project\RunCommand->execute() C:\xampp\php\pear\PhpDocumentor\vendor\symfony\console\Symfony\Component\Console\Command\Command.php:238
0.3296 2617920 7. Symfony\Component\Console\Command\Command->run() C:\xampp\php\pear\PhpDocumentor\src\phpDocumentor\Command\Project\RunCommand.php:271
0.3316 2619160 8. phpDocumentor\Command\Project\TransformCommand->execu
te() C:\xampp\php\pear\PhpDocumentor\vendor\symfony\console\Symfony\Component\Console\Command\Command.php:238
0.3476 2871248 9. phpDocumentor\Transformer\Transformer->execute() C:\xampp\php\pear\PhpDocumentor\src\phpDocumentor\Command\Project\TransformCommand.php:165
0.4419 3239248 10. phpDocumentor\Transformer\Transformation->execute() C:\xampp\php\pear\PhpDocumentor\src\phpDocumentor\Transformer\Transformer.php:347
0.4419 3239248 11. phpDocumentor\Plugin\Core\Transformer\Writer\FileIo->transform() C:\xampp\php\pear\PhpDocumentor\src\phpDocumentor\Transformer\Transformation.php:305
0.4420 3239352 12. phpDocumentor\Plugin\Core\Transformer\Writer\FileIo->executeQueryCopy() C:\xampp\php\pear\PhpDocumentor\src\phpDocumentor\Plugin\Core\Transformer\Writer\FileIo.php:67
0.4429 3239496 13. phpDocumentor\Transformer\Transformer->copyRecursive() C:\xampp\php\pear\PhpDocumentor\src\phpDocumentor\Plugin\Core\Transformer\Writer\FileIo.php:99
0.4540 3240064 14. phpDocumentor\Transformer\Transformer->copyRecursive() C:\xampp\php\pear\PhpDocumentor\src\phpDocumentor\Transformer\Transformer.php: 418
0.4675 3240664 15. copy() C:\xampp\php\pear\PhpDocumentor\src\phpDocumen
tor\Transformer\Transformer.php:420

But this warning does not appear everytime. Sometimes it is possible to build the documentation without errors, but sometimes this message appears.

@mvriel
Owner

Can you please retry this with 2.0.0b7 upcoming friday? Several fixes related to paths have been made in the past few versions

@mvriel
Owner

I have just tested this on windows and am not getting this error; there have been severe refactorings and improvements since this issue was reported.

I consider this issue resolved (also because noone else confirms this issue and the author has not responded in more than a month). Should the issue persist, can you comment here so I can reopen the issue and provide a stacktrace what is now indicating the location of the error?

@mvriel mvriel closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.