Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileNotFoundError #33 #36

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

FileNotFoundError #33 #36

wants to merge 3 commits into from

Conversation

teckscam
Copy link

@teckscam teckscam commented Jul 1, 2021

Take a solution !

@pep8speaks
Copy link

pep8speaks commented Jul 1, 2021

Hello @teckscam! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2021-07-01 17:43:41 UTC

@teckscam teckscam mentioned this pull request Jul 1, 2021
tct123 added a commit to tct123/pip-gui that referenced this pull request Jul 1, 2022
@papoteur-mga
Copy link

Hello,
I'm hit by this bug.
I have installed the application with pip on Linux in user space (option --user).
but I get:

Traceback (most recent call last):
  File "/home/yves/.local/lib/python3.10/site-packages/pipgui/__main__.py", line 180, in radioCheck
    self.install = InstallWindow()
  File "/home/yves/.local/lib/python3.10/site-packages/pipgui/__main__.py", line 366, in __init__
    self.offlinePackages = json.load(open(
FileNotFoundError: [Errno 2] Aucun fichier ou dossier de ce type: '/home/yves/.local/lib/python3.10/site-packages/pipgui/./Resource_Files/Installed Packages/installedPackageList3.json'
Abandon (core dumped)

I have /home/yves/pip-gui/pipgui/Resource_Files/Installed Packages/installedPackageList3.json which is in the clone of git repository.
Indeed '/home/yves/.local/lib/python3.10/site-packages/pipgui/./Resource_Files doesn't exist.
I don't understand why these files are stored in the application location.
For what I understand, these files are to store data about the system where the application is executed.
Why not using a standard location? https://stackoverflow.com/questions/32525196/how-to-get-a-settings-storage-path-in-a-cross-platform-way-in-qt

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

Successfully merging this pull request may close these issues.

3 participants