Actions
Bug #155
openPath evaluation in #play function fails if file is on different device
Status:
Open
Priority:
High
Assignee:
-
Category:
SharpScript
Sprint/Milestone:
-
% Done:
0%
Company:
-
Contact person:
-
Additional contact persons:
-
Description
The culprit is this line:
return os.path.relpath(filename, location)
If filename
is on a device (say E:) and location
is on a different one (say C:), then a ValueError
exception is raised. Instead, encapsulate this call and go back to the absolute path if the relative path can't be found.
No data to display
Please register to edit this issue
Actions
Also available in: Atom PDF Tracking page