Closed AlphaTechNinja closed 6 months ago
Issue still persists It seems it's in the actual editing program in rom it says On line 144 in if statement
if not bReadOnly and fs.getFreeSpace(sPath) < 1024 then
set_status("Disk is low on space")
else
local message
...
Results in the error message saying no such path. I suspect the error is being caused in the fs library getFreeSpace function when the path doesn't exists
Fixed in Lua side by changing
if not bReadOnly and fs.getFreeSpace(sPath) < 1024 then
...
To
if not bReadOnly and fs.exists(sPath) and fs.getFreeSpace(sPath) < 1024 then
...
The fix hasn't been merged yet. Please wait for v2.8 to merge.
Ok sorry I didn't know
Thank you for merging this update to the IOS app it seems to have fixed the issue
When I try to make a file in a dictionary that doesn't exist yet it gives errors saying "No such path" even though ComputerCraft is supposed to auto create directorys when the path doesn't exist
To see this bug type in edit somepath/file.lua you will get error /rom/programs/edit.lua:114: /somepath/file.lua: No such path
I'm running this on the mobile IOS app
This happened after a recent update