Replies: 1 comment
-
Previously I couldn't even open the configure.py file as shown below. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@mathoudebine
Tried everything but still getting serial port bug "Cannot open COM port /dev/cu.usbmodemUSB35INCHIPSV21" every time I try to launch main.py or configure.py file. Please help as I am currently using Mac sonoma 14.7 opencore on my pc running alderlake/z690. Everything on windows11 works perfectly except macos, mine is 3.5inch turzx and installed latest python 3.13 from python.org site
My logs on this device, pls help:
(venv) alv@alvs-Mac-Pro turing-smart-screen-python % 10/18/24 04:17:56 [INFO] Loading theme LandscapeMagicBlue from res/themes/LandscapeMagicBlue/theme.yaml
10/18/24 04:17:56 [DEBUG] HW revision: A
10/18/24 04:17:56 [DEBUG] Auto detected COM port: /dev/cu.usbmodemUSB35INCHIPSV21
10/18/24 04:17:56 [DEBUG] Using Python 3.13.0 (v3.13.0:60403a5409f, Oct 7 2024, 00:37:40) [Clang 15.0.0 (clang-1500.3.9.4)]
10/18/24 04:17:56 [INFO] Display reset (COM port may change)...
10/18/24 04:18:01 [DEBUG] Static COM port: /dev/cu.usbmodemUSB35INCHIPSV21
10/18/24 04:18:02 [DEBUG] HW sub-revision: SubRevision.TURING_3_5
10/18/24 04:18:02 [DEBUG] Drawing Image: BACKGROUND
10/18/24 04:18:02 [DEBUG] Bitmap res/themes/LandscapeMagicBlue/background.png is now loaded in the cache
10/18/24 04:18:02 [DEBUG] Drawing Text: DISK_LABEL
10/18/24 04:18:02 [DEBUG] Drawing Text: DISK_USED_LABEL
10/18/24 04:18:02 [WARNING] Your CPU temperature is not supported yet
10/18/24 04:18:02 [WARNING] No supported GPU found
10/18/24 04:18:02 [WARNING] If you have an AMD GPU, you may need to install some libraries manually: see https://github.com/mathoudebine/turing-smart-screen-python/wiki/Troubleshooting#linux--macos-no-supported-gpu-found-with-an-amd-gpu-and-python-311
Exception in thread Date_Stats:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
self.run()
~~~~~~^^
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/threading.py", line 992, in run
self._target(*self._args, **self._kwargs)
~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/alv/turing-smart-screen-python/library/scheduler.py", line 75, in wrap
periodic(scheduler, interval, func)
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/alv/turing-smart-screen-python/library/scheduler.py", line 64, in periodic
action(*actionargs)
~~^^^^^^^^^^^^^
File "/Users/alv/turing-smart-screen-python/library/scheduler.py", line 156, in DateStats
stats.Date.stats()
~~~~~~~~~~~~^^
File "/Users/alv/turing-smart-screen-python/library/stats.py", line 746, in stats
value=f"{babel.dates.format_date(date_now, format=date_format, locale=lc_time)}"
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/alv/turing-smart-screen-python/venv/lib/python3.13/site-packages/babel/dates.py", line 681, in format_date
locale = Locale.parse(locale)
File "/Users/alv/turing-smart-screen-python/venv/lib/python3.13/site-packages/babel/core.py", line 332, in parse
raise TypeError(f"Unexpected value for identifier: {identifier!r}")
TypeError: Unexpected value for identifier: None
2024-10-18 04:18:02.934 Python[844:10928] WARNING: Secure coding is automatically enabled for restorable state! However, not on all supported macOS versions of this application. Opt-in to secure coding explicitly by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState:.
10/18/24 04:18:23 [ERROR] SerialException: Failed to send serial data to device. Closing and reopening COM port before retrying once.
10/18/24 04:18:24 [DEBUG] Static COM port: /dev/cu.usbmodemUSB35INCHIPSV21
10/18/24 04:18:24 [ERROR] Cannot open COM port /dev/cu.usbmodemUSB35INCHIPSV21: [Errno 2] could not open port /dev/cu.usbmodemUSB35INCHIPSV21: [Errno 2] No such file or directory: '/dev/cu.usbmodemUSB35INCHIPSV21'
IMG_1275.MOV
Beta Was this translation helpful? Give feedback.
All reactions