Skip to content
This repository has been archived by the owner on Mar 11, 2023. It is now read-only.

potodo still doesn't work on windows 10 #118

Open
Bot57 opened this issue Mar 24, 2021 · 2 comments
Open

potodo still doesn't work on windows 10 #118

Bot57 opened this issue Mar 24, 2021 · 2 comments

Comments

@Bot57
Copy link

Bot57 commented Mar 24, 2021

λ python -m potodo
Traceback (most recent call last):
  File "D:\Programmation\Python38\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "D:\Programmation\Python38\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "D:\Programmation\Traduction\potodo\io\lib\site-packages\potodo\__main__.py", line 3, in <module>
    __import__("potodo.potodo").potodo.main()
  File "D:\Programmation\Traduction\potodo\io\lib\site-packages\potodo\potodo.py", line 488, in main
    exec_potodo(**args)
  File "D:\Programmation\Traduction\potodo\io\lib\site-packages\potodo\potodo.py", line 203, in exec_potodo
    non_interactive_output(
  File "D:\Programmation\Traduction\potodo\io\lib\site-packages\potodo\potodo.py", line 88, in non_interactive_output
    po_files_and_dirs = get_po_stats_from_repo_or_cache(path, ignore_matches, no_cache)
  File "D:\Programmation\Traduction\potodo\io\lib\site-packages\potodo\po_file.py", line 119, in get_po_stats_from_repo_or_cache
    set_cache_content(
  File "D:\Programmation\Traduction\potodo\io\lib\site-packages\potodo\cache.py", line 41, in set_cache_content
    os.rename(tmp.name, path)
FileExistsError: [WinError 183] Impossible de créer un fichier déjà existant: 'D:\\Programmation\\Traduction\\python-docs-fr\\.potodo\\cache.pickley_wd2wt8' -> 'D:\\Programmation\\Traduction\\python-docs-fr/.potodo/cache.pickle'

Bisoux

@Seluj78
Copy link
Collaborator

Seluj78 commented Mar 25, 2021

Thank you for your issue !

I have a windows machine now, I'll be able to test that !

Can you provide me with more information ?

  • Python version
  • potodo version
  • What CMD interface you're using
  • pip freeze
  • If you're using a venv

@Bot57
Copy link
Author

Bot57 commented Mar 25, 2021

Python version : 3.8
potodo version : 0.21.0
What CMD interface you're using : cmder (ComEmu 191012)
pip freeze :

certifi==2020.12.5
chardet==4.0.0
gitignore-parser==0.0.8
idna==2.10
polib==1.1.0
potodo==0.21.0
requests==2.25.1
simple-term-menu==1.0.0
urllib3==1.26.4

If you're using a venv : yes

λ pip list
Package          Version
---------------- ---------
certifi          2020.12.5
chardet          4.0.0
gitignore-parser 0.0.8
idna             2.10
pip              21.0.1
polib            1.1.0
potodo           0.21.0
requests         2.25.1
setuptools       41.2.0
simple-term-menu 1.0.0
urllib3          1.26.4

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants