marticliment / ElevenClock

ElevenClock: Customize Windows 11 taskbar clock
https://www.marticliment.com/elevenclock/
GNU General Public License v3.0
2.26k stars 172 forks source link

[BUG] (Alternative Clock Position doesn't show seconds) #1297

Open SpinchGang opened 6 months ago

SpinchGang commented 6 months ago

Please confirm these before moving forward

Describe your issue

For me, the Alternative Clock Position would be a useful feature to use, however it doesn't show seconds when enabled

Steps to reproduce the issue

Enable Alternative Clock Position

ElevenClock Log

🟒 Using cached lang file
🟑 Using bundled lang file (forced=True)
It took 0.012119531631469727 to load all language files
---------------------------------------------------------------------------------------------------

   ElevenClock's 3.9.3 (v3.93) log: Select all the text and hit Ctrl+C to copy it
   All modules loaded successfully and sys.stdout patched correctly, starting main script
   Translator function set language to "en"

---------------------------------------------------------------------------------------------------

 Log legend:
 πŸ”΅: Verbose
 🟒: Information
 🟑: Warning
 🟠: Handled unexpected exception
 πŸ”΄: Unhandled unexpected exception
 🟣: Handled expected exception

πŸ”΅ Initializing clock 0...
πŸ”΅ Using taskbar background color
🟒 Regular sized taskbar
🟒 Clock on the bottom
🟒 Clock on the right
🟒 Using qt's default positioning system
πŸ”΅ Clock geometry: PySide6.QtCore.QRect(2360, 1394, 200, 46)
πŸ”΅ Font families   : ['Segoe UI Variable Display', 'sans-serif']
πŸ”΅ Custom font     : 
πŸ”΅ Font size: -1.0
🟒 Using white text (dark mode)
πŸ”΅ tDateMode: M/d/yyyy
πŸ”΅ tTimeMode: h:mm tt
πŸ”΅ Loaded date time format: %#I:%M:%Sβ€Š %p
%#m/%#d/%Y
🟣 Expected AttributteError on resizeEvent
🟣 Expected AttributteError on resizeEvent
πŸ”΅ Full screen rect:  (0, 0, 2560, 1440)
can't parse ""
πŸ”΅ Show/hide loop started with parameters: HideonFS:True, NotHideOnTB:False, HideOnRDP:False, ClockOn1Mon:True, NefWSMethod:True, DisableNotifications:True, legacyFullScreenMethod:False
🟑 Desktop button enabled
🟒 Loaded clocks in 0.602031946182251
πŸ”΅ Language file up-to-date
πŸ”΅ Restart loop: 1
🟣 Expected AttributeError on checkAndUpdateBackground
{'System language': 'default', 'Arabic - عربي\u200e (62%)': 'ar', 'Bosnian - Bosanski (6%)': 'bs', 'Bulgarian - Π±ΡŠΠ»Π³Π°Ρ€ΡΠΊΠΈ (18%)': 'bg', 'Catalan - CatalΓ ': 'ca', 'Czech - ČeΕ‘tina (99%)': 'cs', 'Danish - Dansk (98%)': 'da', 'German - Deutsch (99%)': 'de', 'Greek - Ελληνικά (18%)': 'el', 'English - English': 'en', 'Spanish - EspaΓ±ol (99%)': 'es', 'Estonian - eesti (92%)': 'et', 'Persian - فارسی\u200e (5%)': 'fa', 'Finnish - Suomi (63%)': 'fi', 'French - FranΓ§ais (99%)': 'fr', 'Hebrew - Χ’Φ΄Χ‘Φ°Χ¨Φ΄Χ™Χͺ\u200e (92%)': 'he', 'Croatian - Hrvatski (11%)': 'hr', 'Hungarian - Magyar (91%)': 'hu', 'Indonesian - Bahasa Indonesia (92%)': 'id', 'Italian - Italiano (65%)': 'it', 'Japanese - ζ—₯本θͺž (93%)': 'ja', 'Korean - ν•œκ΅­μ–΄ (99%)': 'ko', 'Lithuanian - LietuviΕ³ (22%)': 'lt', 'Latvian - Latviski (61%)': 'lv', 'Norwegian (bokmΓ₯l) (92%)': 'nb', 'Dutch - Nederlands (80%)': 'nl', 'Norwegian (nynorsk) (67%)': 'nn', 'Polish - Polski (96%)': 'pl', 'Portuguese (Brazil) (99%)': 'pt_BR', 'Portuguese (Portugal) (99%)': 'pt_PT', 'Romanian - RomΓ’nΔƒ (92%)': 'ro', 'Russian - Русский (92%)': 'ru', 'Sinhala - ΰ·ƒΰ·’ΰΆ‚ΰ·„ΰΆ½': 'si', 'Slovak - Slovenčina (30%)': 'sk', 'Serbian - Srpski (22%)': 'sr', 'Swedish - Svenska (78%)': 'sv', 'Thai - ΰΈ ΰΈ²ΰΈ©ΰΈ²ΰΉ„ΰΈ—ΰΈ’ (82%)': 'th', 'Turkish - TΓΌrkΓ§e (99%)': 'tr', 'Ukranian - YΠΊΡ€Π°Ρ—ΜΠ½ΡΡŒΠΊΠ° (93%)': 'ua', 'Vietnamese - TiαΊΏng Việt (38%)': 'vi', 'Simplified Chinese (China) (99%)': 'zh_CN', 'Traditional Chinese (Taiwan) (99%)': 'zh_TW'}
🟣 Expected AttributeError on checkAndUpdateBackground
🟣 Expected AttributeError on checkAndUpdateBackground
πŸ”΅ System tray icon enabled
πŸ”΅ Starting update check
πŸ”΅ Low cpu mode is set to False. DisableNotifications is set to False
🟒 Loaded everything in 1.542370319366455
πŸ”΅ Version URL: http://ww25.versions.somepythonthings.tk/versions/elevenclock.ver?subid1=20231211-1220-0222-bcae-232de917386a
πŸ”΅ Showing tooltip
πŸ”΅ Short date string: h:mm tt
πŸ”΅ TZ 1 is None
πŸ”΅ Long date string: dddd, MMMM d, yyyy
Action: ('win', 'n')
πŸ”΄ Traceback (most recent call last):

πŸ”΄   File "\\samba-server\SPTPrograms\ElevenClock\elevenclock\__init__.py", line 139, in updateIfPossible

πŸ”΄ IndexError: list index out of range

πŸ”΄ Note this traceback was caught by reporter and has been added to the log (list index out of range)
πŸ”΅ Showing tooltip
πŸ”΅ Short date string: h:mm tt
πŸ”΅ TZ 1 is None
πŸ”΅ Long date string: dddd, MMMM d, yyyy
πŸ”΅ Announcement URL: http://ww25.somepythonthings.tk/resources/elevenclock.announcement?subid1=20231211-1220-1369-9dd4-ef7628338cc4
🟠 Unable to retrieve latest announcement
πŸ”΄ Traceback (most recent call last):

πŸ”΄   File ".\settings.py", line 3021, in loadAnnouncements

πŸ”΄   File "urllib\request.py", line 216, in urlopen

πŸ”΄   File "urllib\request.py", line 525, in open

πŸ”΄   File "urllib\request.py", line 634, in http_response

πŸ”΄   File "urllib\request.py", line 557, in error

πŸ”΄   File "urllib\request.py", line 496, in _call_chain

πŸ”΄   File "urllib\request.py", line 749, in http_error_302

πŸ”΄   File "urllib\request.py", line 525, in open

πŸ”΄   File "urllib\request.py", line 634, in http_response

πŸ”΄   File "urllib\request.py", line 563, in error

πŸ”΄   File "urllib\request.py", line 496, in _call_chain

πŸ”΄   File "urllib\request.py", line 643, in http_error_default

πŸ”΄ urllib.error.HTTPError: HTTP Error 436: 

πŸ”΄ 
During handling of the above exception, another exception occurred:

πŸ”΄ Traceback (most recent call last):

πŸ”΄   File ".\settings.py", line 3030, in loadAnnouncements

πŸ”΄ IndexError: list index out of range

πŸ”΄ Note this traceback was caught by reporter and has been added to the log (list index out of range)
πŸ”΅ tDateMode: M/d/yyyy
πŸ”΅ tTimeMode: h:mm tt
πŸ”΅ Loaded date time format: %#I:%M:%Sβ€Š %p
%#m/%#d/%Y
πŸ”΅ Initializing clock 0...
πŸ”΅ Using taskbar background color
🟒 Regular sized taskbar
🟒 Clock on the bottom
🟒 Clock on the right
🟑 Using win32 API positioning system
πŸ”΅ Clock geometry: PySide6.QtCore.QRect(960, 456, 640, 480)
πŸ”΅ Font families   : ['Segoe UI Variable Display', 'sans-serif']
πŸ”΅ Custom font     : 
πŸ”΅ Font size: -1.0
🟒 Using white text (dark mode)
πŸ”΅ tDateMode: M/d/yyyy
πŸ”΅ tTimeMode: h:mm tt
πŸ”΅ Loaded date time format: %#I:%M:%Sβ€Š %p
%#m/%#d/%Y
🟣 Expected AttributteError on resizeEvent
🟣 Expected AttributteError on resizeEvent
πŸ”΅ Full screen rect:  (0, 0, 2560, 1440)
πŸ”΅ Show/hide loop started with parameters: HideonFS:True, NotHideOnTB:False, HideOnRDP:False, ClockOn1Mon:True, NefWSMethod:True, DisableNotifications:True, legacyFullScreenMethod:False
🟑 Desktop button enabled
πŸ”΅ tDateMode: M/d/yyyy
πŸ”΅ tTimeMode: h:mm tt
πŸ”΅ Loaded date time format: %#I:%M:%Sβ€Š %p
%#m/%#d/%Y
πŸ”΅ Restart loop: 1
🟒 Cached text input host hwnd: 66524
πŸ”΅ tDateMode: M/d/yyyy
πŸ”΅ tTimeMode: h:mm tt
πŸ”΅ Loaded date time format: %#I:%M:%Sβ€Š %p
%#m/%#d/%Y
πŸ”΅ Initializing clock 0...
πŸ”΅ Using taskbar background color
🟒 Regular sized taskbar
🟒 Clock on the bottom
🟒 Clock on the right
🟒 Using qt's default positioning system
πŸ”΅ Clock geometry: PySide6.QtCore.QRect(2360, 1394, 200, 46)
πŸ”΅ Font families   : ['Segoe UI Variable Display', 'sans-serif']
πŸ”΅ Custom font     : 
πŸ”΅ Font size: -1.0
🟒 Using white text (dark mode)
πŸ”΅ tDateMode: M/d/yyyy
πŸ”΅ tTimeMode: h:mm tt
πŸ”΅ Loaded date time format: %#I:%M:%Sβ€Š %p
%#m/%#d/%Y
🟣 Expected AttributteError on resizeEvent
🟣 Expected AttributteError on resizeEvent
πŸ”΅ Full screen rect:  (0, 0, 2560, 1440)
πŸ”΅ Show/hide loop started with parameters: HideonFS:True, NotHideOnTB:False, HideOnRDP:False, ClockOn1Mon:True, NefWSMethod:True, DisableNotifications:True, legacyFullScreenMethod:False
🟑 Desktop button enabled
πŸ”΅ tDateMode: M/d/yyyy
πŸ”΅ tTimeMode: h:mm tt
πŸ”΅ Loaded date time format: %#I:%M:%Sβ€Š %p
%#m/%#d/%Y
πŸ”΅ Restart loop: 1
πŸ”΅ tDateMode: M/d/yyyy
πŸ”΅ tTimeMode: h:mm tt
πŸ”΅ Loaded date time format: %#I:%M:%Sβ€Š %p
%#m/%#d/%Y
πŸ”΅ Initializing clock 0...
πŸ”΅ Using taskbar background color
🟒 Regular sized taskbar
🟒 Clock on the bottom
🟒 Clock on the right
🟑 Using win32 API positioning system
πŸ”΅ Clock geometry: PySide6.QtCore.QRect(960, 456, 640, 480)
πŸ”΅ Font families   : ['Segoe UI Variable Display', 'sans-serif']
πŸ”΅ Custom font     : 
πŸ”΅ Font size: -1.0
🟒 Using white text (dark mode)
πŸ”΅ tDateMode: M/d/yyyy
πŸ”΅ tTimeMode: h:mm tt
πŸ”΅ Loaded date time format: %#I:%M:%Sβ€Š %p
%#m/%#d/%Y
🟣 Expected AttributteError on resizeEvent
🟣 Expected AttributteError on resizeEvent
πŸ”΅ Full screen rect:  (0, 0, 2560, 1440)
πŸ”΅ Show/hide loop started with parameters: HideonFS:True, NotHideOnTB:False, HideOnRDP:False, ClockOn1Mon:True, NefWSMethod:True, DisableNotifications:True, legacyFullScreenMethod:False
🟑 Desktop button enabled
πŸ”΅ tDateMode: M/d/yyyy
πŸ”΅ tTimeMode: h:mm tt
πŸ”΅ Loaded date time format: %#I:%M:%Sβ€Š %p
%#m/%#d/%Y
πŸ”΅ Restart loop: 1
πŸ”΅ Copying log to the clipboard...

Relevant information

No response

Screenshots and videos

ElevenClock Bug Report 1 ElevenClock Bug Report 2

marticliment commented 6 months ago

Hello,

You are using an outdated version of ElevenClock.

Please install ElevenClock from the Microsoft Store to perform an upgrade