Closed trq closed 11 years ago
It seems Pyrus is lacking a check here...
In the meantime, you can work around this problem by installing the package corresponding to the XMLWriter extension from your distribution's repositories or (in case you compiled PHP yourself) by adding --enable-xmlwriter
to your configure line.
Yeah, I recompiled with xmlwriter enabled and the error is gone.
@trq @fpoirotte Can you guys paste the output of the following from Windows:
$ php -r 'var_dump(extension_loaded("xmlwriter"));'
bool(true)
Because pyrus checks for the extension here: https://github.com/pyrus/Pyrus/blob/master/stub.php#L12
I don't use Windows and as mentioned in my previous reply, installing the xmlwriter extension resolved the issue for me.
@saltybeagle: I think this issue should be reopened as the issue still stands: stub.php checks whether the XMLReader extension is available, it doesn't check whether XMLWriter is though and both are required for Pyrus to work properly AFAIK.
@fpoirotte I'm fixing this! Just running tests again.