Bug 2175907 - [abrt] cinnamon: set_timezone(): cs_calendar.py:262:set_timezone:ValueError: not enough values to unpack (expected 2, got 1)
Summary: [abrt] cinnamon: set_timezone(): cs_calendar.py:262:set_timezone:ValueError: ...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: cinnamon
Version: 37
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: leigh scott
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:b5a1c49ef40e957ee878506e03d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-06 18:26 UTC by Paulo Peixoto
Modified: 2024-01-12 22:59 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-01-12 22:59:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (798 bytes, text/plain)
2023-03-06 18:26 UTC, Paulo Peixoto
no flags Details
File: cpuinfo (2.98 KB, text/plain)
2023-03-06 18:26 UTC, Paulo Peixoto
no flags Details
File: environ (5.75 KB, text/plain)
2023-03-06 18:26 UTC, Paulo Peixoto
no flags Details
File: mountinfo (3.41 KB, text/plain)
2023-03-06 18:26 UTC, Paulo Peixoto
no flags Details
File: namespaces (172 bytes, text/plain)
2023-03-06 18:26 UTC, Paulo Peixoto
no flags Details
File: open_fds (1.31 KB, text/plain)
2023-03-06 18:26 UTC, Paulo Peixoto
no flags Details

Description Paulo Peixoto 2023-03-06 18:26:39 UTC
Description of problem:
Opening the date and time settings and enabling Network Time

Version-Release number of selected component:
cinnamon-5.6.7-1.fc37

Additional info:
reporter:       libreport-2.17.4
cgroup:         0::/user.slice/user-1000.slice/session-3.scope
cmdline:        cinnamon-settings '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' ''
crash_function: set_timezone
exception_type: ValueError
executable:     /usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py
interpreter:    cinnamon-5.6.7-1.fc37.x86_64
kernel:         6.1.14-200.fc37.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
cs_calendar.py:262:set_timezone:ValueError: not enough values to unpack (expected 2, got 1)

Traceback (most recent call last):
  File "/usr/share/cinnamon/cinnamon-settings/modules/cs_calendar.py", line 194, in _on_proxy_ready
    self.proxy_ready_callback()
  File "/usr/share/cinnamon/cinnamon-settings/modules/cs_calendar.py", line 77, in _on_proxy_ready
    self.tz_selector.set_timezone(self.zone)
  File "/usr/share/cinnamon/cinnamon-settings/modules/cs_calendar.py", line 262, in set_timezone
    region, city = timezone.split('/', maxsplit=1)
    ^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 2, got 1)

Local variables in innermost frame:
self: <cs_calendar.TimeZoneSelector object at 0x7f047b0f3840 (cs_calendar+TimeZoneSelector at 0x55f098800570)>
timezone: 'Portugal'

Comment 1 Paulo Peixoto 2023-03-06 18:26:43 UTC
Created attachment 1948465 [details]
File: backtrace

Comment 2 Paulo Peixoto 2023-03-06 18:26:44 UTC
Created attachment 1948466 [details]
File: cpuinfo

Comment 3 Paulo Peixoto 2023-03-06 18:26:45 UTC
Created attachment 1948467 [details]
File: environ

Comment 4 Paulo Peixoto 2023-03-06 18:26:46 UTC
Created attachment 1948468 [details]
File: mountinfo

Comment 5 Paulo Peixoto 2023-03-06 18:26:48 UTC
Created attachment 1948469 [details]
File: namespaces

Comment 6 Paulo Peixoto 2023-03-06 18:26:49 UTC
Created attachment 1948470 [details]
File: open_fds

Comment 7 Aoife Moloney 2023-11-23 01:24:03 UTC
This message is a reminder that Fedora Linux 37 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 37 on 2023-12-05.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '37'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 37 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 8 Aoife Moloney 2024-01-12 22:59:16 UTC
Fedora Linux 37 entered end-of-life (EOL) status on 2023-12-05.

Fedora Linux 37 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.