Invalid path returned in Windows (for network paths)
Closed this issue · 9 comments
In Windows, when a user evaluates this method from a network location (e.g. \\Noodle\Greta\mission) the path returned by the line:
mica/mica/archive/aca_dark/dark_cal.py
Line 54 in adf6372
is invalid/incorrect. It will either return, Z:\ (which is not actually mapped on the given machine) or \\Noodle\Greta\ (which is the current directory, but not the directory that should be used for this.
I believe this issue is actually with the pyyaks package not using the basedir specified for the absolute path, but I haven't been able to trace the exact issue.
Not sure if pyyaks here
https://github.com/sot/pyyaks/blob/ea6dc810f0634f4e106b8c8377b722601d8bcd08/pyyaks/context.py#L197
might need the same treatment as ae00c60 or if that would be unrelated.
Can you try using the fix in sot/pyyaks#6?
BTW who made the issue? Is that Mark B?
I assume @mbaski would have posted with his credentials, and since the chandra-xray user has the aca email address I assume the posting user is unlikely to see notifications.
@jskrist made this issue.
Sorry for the confusion. I logged in as @chandra-xray to make sure I had access to all the source code repos while I was investigating the issue, then made the issue using the same account.
@taldcroft , I’m out today, but I can test it later this afternoon or Monday morning if it’s not urgent.
To close the loop: I reviewed the fix in sot/pyyaks#6