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

Latest version of Cartridges don't start on Windows #252

Closed
Dominiquini opened this issue Apr 16, 2024 · 0 comments
Closed

Latest version of Cartridges don't start on Windows #252

Dominiquini opened this issue Apr 16, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Dominiquini
Copy link

Describe the bug
A clear and concise description of what the bug is.
Trying to start the program from the shortcut don't do anything!
On the installation folder, using the command line "python cartridges" also fail to start!

To Reproduce
Steps to reproduce the behavior:

  1. Starting the application from the shortcut don't do anything!
  2. Go to the installation folder "*/Cartridges/bin" and open the command line
  3. Type "python cartridges"
  4. See error:
Traceback (most recent call last):
  File "C:\Users\Rafael Dominiquini\AppData\Local\Programs\Cartridges\bin\cartridges", line 44, in <module>
    resource = Gio.Resource.load(os.path.join(PKGDATADIR, "cartridges.gresource"))
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gi.repository.GLib.GError: g-file-error-quark: Failed to open file “D:/a/_temp/msys64/ucrt64/share/cartridges\cartridges.gresource”: open() failed: No such file or directory (4)
  1. Fix the folder on the file "..\Cartridges\bin" to point to:
...
PKGDATADIR = "../share/cartridges"
LOCALEDIR = "../share/locale"
...
  1. See error:
root INFO - Migrating data dir C:\Users\Rafael Dominiquini\.local\share
Traceback (most recent call last):
  File "C:\Users\Rafael Dominiquini\AppData\Local\Programs\Cartridges\lib\python3.11\site-packages\cartridges\main.py", line 98, in do_activate
    migrate_files_v1_to_v2()
  File "C:\Users\Rafael Dominiquini\AppData\Local\Programs\Cartridges\lib\python3.11\site-packages\cartridges\utils\migrate_files_v1_to_v2.py", line 127, in migrate_files_v1_to_v2
    migrated_file_path.touch()
  File "C:\Users\Rafael Dominiquini\AppData\Local\Programs\Cartridges\lib\python3.11\pathlib.py", line 1110, in touch
    fd = os.open(self, flags, mode)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Rafael Dominiquini\\.local\\share\\cartridges\\.migrated'

Expected behavior
The app should start normally!

Screenshots
...

Logs
File "C:\Users\Rafael Dominiquini\AppData\Local\Microsoft\Windows\INetCache\cartridges\logs":
cartridges.log

System (please complete the following information):

  • OS: Windows 10 x64
  • Installation method: Cartridges.Setup.exe
  • Cartridges version: 1.8.3

Additional context
The last release version for Windows works fine!

Thanks

@Dominiquini Dominiquini added the bug Something isn't working label Apr 16, 2024
@kra-mo kra-mo self-assigned this Apr 17, 2024
@kra-mo kra-mo closed this as completed in e8db732 Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants