Bug 401563 - Installer crashes when selecting format on an existing partition. AttributeError: 'int' object has no attribute 'toBool'
Summary: Installer crashes when selecting format on an existing partition. AttributeEr...
Status: RESOLVED WORKSFORME
Alias: None
Product: neon
Classification: KDE Neon
Component: Live/Install images (other bugs)
Version First Reported In: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
: 406313 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-11-30 10:21 UTC by akl7747
Modified: 2022-10-21 05:01 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Installer crash (49.82 KB, image/png)
2018-11-30 10:21 UTC, akl7747
Details

Note You need to log in before you can comment on or make changes to this bug.
Description akl7747 2018-11-30 10:21:10 UTC
SUMMARY

Installer crashes when selecting format on an existing partition. AttributeError: 'int' object has no attribute 'toBool'

STEPS TO REPRODUCE
1. Start iso on system with existing partitions, and start installer, navigating through to the Installation type page. 
2. Select manual partitioning as we want to use existing partitions.
3. Change a partition from not used to be used as the same type the partition exists as, select mount point, and ok. Don't select to format the partition during the above.
4 On the overview, select to format the partition.
5 Installer crashes.

OBSERVED RESULT

Installer crashes with:

Traceback (most recent call last):
  File "/usr/lib/ubiquity/ubiquity/frontend/kde_components/PartitionModel.py", line 66, in setData
    item.partman_column_format_toggled(value.toBool())
AttributeError: 'int' object has no attribute 'toBool'


EXPECTED RESULT

No crash.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Neon 18.04 user edition from latest iso build.
KDE Plasma Version: 5.14.4
KDE Frameworks Version: 5.52
Qt Version: 5.11.2

ADDITIONAL INFORMATION
Comment 1 akl7747 2018-11-30 10:21:54 UTC
Created attachment 116579 [details]
Installer crash
Comment 2 Laura David Hurka 2019-04-09 13:58:11 UTC
*** Bug 406313 has been marked as a duplicate of this bug. ***
Comment 3 Laura David Hurka 2019-04-09 13:59:50 UTC
(In reply to David Hurka from comment #2)
> *** Bug 406313 has been marked as a duplicate of this bug. ***

I think I crashed it very similar: I selected the row of the partition by clicking next to the “format” check box, not toggling it. Then I clicked the Change button.
Comment 4 Justin Zobel 2022-09-21 03:42:15 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 5 Bug Janitor Service 2022-10-06 04:50:40 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2022-10-21 05:01:46 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!