You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 27, 2023. It is now read-only.
I am having issues with pypicloud "Rebuild package list" functionality as it seems that path parser is done always by /, not OS-specific separator, for example \ on windows and / on unix.
Function list() fails on any package rebuild:
Traceback (partial):
File "c:\Users\jurkovicd\Desktop\tmp\pypicloud\pypicloud_venv\lib\site-packages\pypicloud\cache\base.py", line 91, in reload_from_storage
for pkg in packages:
File "c:\Users\jurkovicd\Desktop\tmp\pypicloud\pypicloud_venv\lib\site-packages\pypicloud\storage\files.py", line 54, in list
name, version = shortpath.split("/")
ValueError: not enough values to unpack (expected 2, got 1)
As I am on windows, a quick code change (/ -> \\) fix my problem, and cache is correctly rebuilt.
Is this a bug, or am I doing something wrong?
The text was updated successfully, but these errors were encountered:
I am having issues with pypicloud "Rebuild package list" functionality as it seems that path parser is done always by
/
, not OS-specific separator, for example\
on windows and/
on unix.Function
list()
fails on any package rebuild:Traceback (partial):
As I am on windows, a quick code change (
/
->\\
) fix my problem, and cache is correctly rebuilt.Is this a bug, or am I doing something wrong?
The text was updated successfully, but these errors were encountered: