Hi
I let Read File component read a txt file. It stops working on Mac, but work well under Win.
Is it a bug?
Hi
I let Read File component read a txt file. It stops working on Mac, but work well under Win.
Is it a bug?
Hi,
I donāt know, if the bug still persists or if it has already been fixed in a newer version, but itās been reported a couple of times in the last half year or so:
Iāve posted a work around or alternative using GHPYthon here, if youāre interested:
I usually donāt use the File (āRead Fileā) component, since I oftentimes need more specific text parsing or type casting workflows.
It could simply be that Rhino has not the right privileges (i.e. Full Disk Access) to read the file at the given location?
your script works on Mac. Thank you!
Yes, Iām also a macOS user.
@dan, I donāt know if your the right person to ask, but why hasnāt this been fixed yet? Itās been over half a year since it was first reported. Respectfully, it doesnāt seem that hard to do, if I can whip up an alternative with a few lines of Python.
Hi @diff-arch If Iām not mistaken, it is this bug:
RH-36840 File Reader component errors
which was reported here and we did indeed fix it.ā¦but, as sometimes happens, it got āunfixedā (aka: a regression). Iām going to check in and see what happened here and report back. Sorry about this.
Thanks @dan! Seems to be a hard piece of code to keep running.
Iāll say! I havenāt looked at source on this - Iāll go do that soon - but I think this is one where itās very old VB.NET code getting run in Mono on macOS. I donāt know how many users this impacts just yet (weāll take a look soon), but this might warrant a hot-fix update.
Regardless, this is an meets
regression.
Tracking the same problem here:
Seems to be an issue with VB (getting a VBNC_CRASH
error in console that keeps the parser from compiling/loading).
See my answer thereā¦
-w