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
On Windows one cannot use os.rename to overwrite a file:
File "C:\Users\$USER\geo-activity-playground\geo_activity_playground\__main__.py", line 118, in make_activity_repository
precompute_activity_distances(repository)
File "C:\Users\$USER\geo-activity-playground\geo_activity_playground\core\similarity.py", line 29, in precompute_activity_distances
with stored_object(fingerprint_path, {}) as fingerprints, stored_object(
File "C:\Users\$USER\.conda\envs\geo-activity-playground\Lib\contextlib.py", line 144, in __exit__
next(self.gen)
File "C:\Users\$USER\geo-activity-playground\geo_activity_playground\core\tasks.py", line 30, in stored_object
temp_location.rename(path)
File "C:\Users\$USER\.conda\envs\geo-activity-playground\Lib\pathlib.py", line 1175, in rename
os.rename(self, target)
FileExistsError: [WinError 183] Eine Datei kann nicht erstellt werden, wenn sie bereits vorhanden ist: 'Cache\\activity_distances.tmp' -> 'Cache\\activity_distances.pickle'
The text was updated successfully, but these errors were encountered:
On Windows one cannot use
os.rename
to overwrite a file:The text was updated successfully, but these errors were encountered: