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

error in using select all button #11

Open
Joergens-Mi opened this issue Aug 28, 2024 · 5 comments
Open

error in using select all button #11

Joergens-Mi opened this issue Aug 28, 2024 · 5 comments

Comments

@Joergens-Mi
Copy link

When I am using the button "select all images" I get the following. (pycommonist-v1.0.zip)

c:\PortableApps\MyApps\PyCommonist>python main.py
PyCommonist.py-90 directory: D:/Bilder/2024/202408/20240828/work
2024:08:28 11:34:58
2024:08:28 11:13:53
Traceback (most recent call last):
File "c:\PortableApps\MyApps\PyCommonist\PyCommonist.py", line 209, in btn_select_all_images
element.cb_import.setCheckState(True)
TypeError: setCheckState(self, state: Qt.CheckState): argument 1 has unexpected type 'bool'

@Joergens-Mi
Copy link
Author

Thanks for delivering the file so fast.

but I'm missing a read.me how to proceed. When I unpack and call the exe it simply starts and vanishes

@benprieur
Copy link
Owner

benprieur commented Aug 28, 2024

Hi,
Follow this:

@Joergens-Mi
Copy link
Author

Sorry for bothering again

I'm working on the windows 11 computer. I'm using Python 3.12.4 (tags/v3.12.4:8e8a4ba, Jun 6 2024, 19:30:16) [MSC v.1940 64 bit (AMD64)] on win32. This is freshly installed according to the defaults. I'm not used to python, I just want to upload pictures.

These two lines are not working
virtualenv venv command maybe wrong written or does not exist
after some research this line produces no error python -m venv c:\PyCommonist

source venv/bin/activate => the same: command maybe wrong written or does not exist
using .\Scripts\activate.bat instead gives me an pyhton prompt (PyCommonist) c:\PyCommonist>

pip install -r requirements.txt
will lead to this: (some lines are working )
.....
Collecting PyYAML==5.4.1 (from -r requirements.txt (line 5))
Using cached PyYAML-5.4.1.tar.gz (175 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [54 lines of output]
running egg_info
writing lib3\PyYAML.egg-info\PKG-INFO
writing dependency_links to lib3\PyYAML.egg-info\dependency_links.txt
writing top-level names to lib3\PyYAML.egg-info\top_level.txt
Traceback (most recent call last):
File "C:\Users\PAD\AppData\Roaming\Python\Python312\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()

Thanks for your help in advance

@benprieur
Copy link
Owner

Hi,
I guess virtualenv is not installed (pip install virtualenv), perhaps we can discuss by private message? Please contact me :)

@Joergens-Mi
Copy link
Author

Joergens-Mi commented Sep 7, 2024 via email

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

No branches or pull requests

3 participants
@benprieur @Joergens-Mi and others