Cubic v2020.12.36 crash on startup

Bug #1908879 reported by Johnny
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cubic
Fix Released
Critical
Cubic PPA

Bug Description

Hi,

Cubic is crashing on startup :

 File "/usr/share/cubic/utilities/configuration.py", line 298, in _load_from_2020_layout
   model.project.create_date = constructor.reformat_time_stamp(create_date, TIME_STAMP_FORMAT, LONG_T>
 File "/usr/share/cubic/utilities/constructor.py", line 187, in reformat_time_stamp
   struct_time = time.strptime(time_stamp, old_format)
 File "/usr/lib/python3.8/_strptime.py", line 562, in _strptime_time
   tt = _strptime(data_string, format)[0]
 File "/usr/lib/python3.8/_strptime.py", line 349, in _strptime
   raise ValueError("time data %r does not match format %r" %
alueError: time data 'jeudi août 27, 2020 10:10' does not match format '%A %B %d, %Y %I:%M %p'

Revision history for this message
Johnny (johnnybee) wrote :

Hi,

I cannot find the last deb working file on repositories for an emergency rollback :

2020.10-35-release~202010230044~ubuntu20.04.1 is not present

thank you for your help

Regards

Revision history for this message
Cubic PPA (cubic-wizard) wrote :

Would you please paste your cubic.conf file here?

Revision history for this message
Johnny (johnnybee) wrote :

[Project]
cubic_version = 2020.10-35-release~202010230044~ubuntu20.04.1
create_date = jeudi août 27, 2020 10:10
modify_date = jeudi décembre 17, 2020 10:41
directory = /home/user/Documents/cubic
[Original]
iso_filename = ubuntu-20.04-desktop-amd64.iso
iso_directory = /home/user/Downloads
iso_volume_id = Ubuntu 20.04 LTS amd64
iso_release_name = Focal Fossa
iso_disk_name = Ubuntu 20.04 LTS "Focal Fossa" - Release amd64

[Custom]
iso_version_number = 2020.12.17
iso_filename = ubuntu-20.04.0-2020.12.17-desktop-amd64.iso
iso_directory = /home/user/Documents/cubic
iso_volume_id = Ubuntu 20.04.0 2020.12.17
iso_release_name = Custom Focal Fossa
iso_disk_name = Ubuntu 20.04.0 2020.12.17 "Custom Focal Fossa"

[Status]
is_success_copy = True
is_success_extract = True
casper_directory = casper
iso_checksum =
iso_checksum_filename =

[Options]
boot_configurations = boot/grub/grub.cfg,boot/grub/loopback.cfg,isolinux/isolinux.cfg,isolinux/txt.cfg
compression = lz4

Revision history for this message
Cubic PPA (cubic-wizard) wrote :

Thanks. This will help.

I'll try to get a fix out within the next few hours.

Changed in cubic:
status: New → Confirmed
importance: Undecided → Critical
assignee: nobody → Cubic PPA (cubic-wizard)
Revision history for this message
Cubic PPA (cubic-wizard) wrote :

Fix released in Cubic version 2020.12-37-release.

Thanks for bring this to my attention.

I apologize it took much longer to fix than I had initially thought.

The bug was due to a fundamental inconsistency with how Python converts date times in different locales to and from strings.

Please create a new bug report if you encounter any further issues.

Tip:
The first time you run this version of Cubic, make sure the following file/path is available so Cubic can copy some files it needs from the original ISO: /home/user/Downloads/ubuntu-20.04-desktop-amd64.iso

Changed in cubic:
status: Confirmed → Fix Released
Revision history for this message
Johnny (johnnybee) wrote :

Hi,

Thank you very much for your work on the bug fix and your reactivity !

Cubic is working fine. The new UX/UI improvement is cool :)

Best

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.