-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Closed as not planned
Closed as not planned
Copy link
Labels
pendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is providedtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
File "C:\Python\PycharmProjects\PSG\MikesDemos\Mike_Desktop_Widget_Drive_Usage.py", line 191, in <module>
main(location)
File "C:\Python\PycharmProjects\PSG\MikesDemos\Mike_Desktop_Widget_Drive_Usage.py", line 154, in main
update_window(window) # sets the progress bars
^^^^^^^^^^^^^^^^^^^^^
File "C:\Python\PycharmProjects\PSG\MikesDemos\Mike_Desktop_Widget_Drive_Usage.py", line 89, in update_window
usage = psutil.disk_usage('A:\\')
^^^^^^^^^^^^^^^^^^^^^^^^^
File "X:\Python\python3.12\Lib\site-packages\psutil\__init__.py", line 2005, in disk_usage
return _psplatform.disk_usage(path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "X:\Python\python3.12\Lib\site-packages\psutil\_pswindows.py", line 280, in disk_usage
total, free = cext.disk_usage(path)
^^^^^^^^^^^^^^^^^^^^^
SystemError: argument 1 (impossible<bad format char>)
Process finished with exit code 1It is not only with this it is in many more packages that work well with other version of python 3.
it is also happening in the built in python socket .
Thank you!
CPython versions tested on:
3.12
Operating systems tested on:
Windows
Metadata
Metadata
Assignees
Labels
pendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is providedtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error