Forum Bugs

SetFileRoot Bug

Tjaart
Currently when setting the FileRoot to a path that contains a “\” at the end and attempt to call the “ConvertString” method we get an error “The pipe has been ended.\r\n”.

After removing the last “\” the issue was solved and we stopped getting the error.

Please see below:

Path that causes error: "C:\PathToFolder\"
mikeday
Are you using the .NET wrapper for Prince, or one of the other wrappers?
Tjaart
Yes we are using the .Net wrapper.
mikeday
It looks like we need to escape the arguments as the trailing slash can cause problems. Thanks for letting us know, we will resolve this issue. :)
mikeday
We have updated the .NET wrapper for latest builds to escape all the arguments correctly. Thanks for letting us know about the problem. :)