UCK works incorrect in window "Select items from the list"

Bug #997033 reported by Konstantin Zakharchenko
36
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Ubuntu Customization Kit
Fix Released
Undecided
Unassigned

Bug Description

ISO: ubuntu-12.04-desktop-i386.iso
UCK version: 2.4.6
UCK works incorrect in window "Select items from the list".
After selecting any of the items on window "Please choose customization action" the program closes with a message "Script cancelled by user".

Fix: open file "libraries/customization-profiles/localized_cd/customize"
go to line 175
replace text
original:
if [ $RESULT -ne 0 ] ; then
must be:
if [ -z $CHOICE ] ; then

Changed in uck:
status: New → Fix Committed
status: Fix Committed → New
description: updated
description: updated
Revision history for this message
salvapc (salvapc) wrote :

This fix not working for me

Revision history for this message
Pascal de Bruijn (pmjdebruijn) wrote :

With uck 2.4.6-0ubuntu1 I still have the problem as well.

Revision history for this message
Pascal de Bruijn (pmjdebruijn) wrote :

The above proposed fix seems to work for me.

Revision history for this message
Aurangzaib.js (aurangzaibsiddiqui) wrote :

I can't understand where is "libraries/customization-profiles/localized_cd/customize" ?

Revision history for this message
Fabrizio Balliano (fabrizio-balliano) wrote :

please check svn version if it's ok for you, thank you for the patch

Changed in uck:
status: New → Fix Committed
Revision history for this message
苏信东 (webmaster-wavecn) wrote :

This fix works.

BTW, the file "customize" is located at:

 /usr/lib/uck/customization-profiles/localized_cd/

Revision history for this message
Karl-Philipp Richter (krichter722) wrote :

Now, the following error occurs (output from call to uck-gui with precise-iso i386)

Preparing build environment...
Creating X authentication cookie...
Running build process...
Build (/usr/bin/uck-gui ) started at 2012-07-05 10:03:55
>> Ubuntu Customization Kit 2.4.5 on Ubuntu 12.04, 3.2.0-26-generic-pae i686
Starting CD remastering on Do 5. Jul 10:03:55 CEST 2012
Customization dir=/home/richter/tmp/customization-scripts
Removing remastering root dir...
Removing ISO remastering dir...
Mounting ISO image...
mount: warning: /home/richter/tmp/remaster-iso-mount seems to be mounted read-only.
Unpacking ISO image...
Unmounting ISO image...
Mounting SquashFS image...
mount: warning: /home/richter/tmp/remaster-root-mount seems to be mounted read-only.
Unpacking SquashFS image...
Unmounting SquashFS image...
Removing win32 files...
Creating root home...
Mounting /proc
Mounting /sys
Mounting /dev/pts
Mounting /tmp
Mounting /home/richter/tmp/remaster-root-home
Mounting /home/richter/tmp/remaster-apt-cache
Mounting /run
Mounting /home/richter/tmp/customization-scripts
Copying resolv.conf...
cp: `/etc/resolv.conf' and `/home/richter/tmp/remaster-root/etc/resolv.conf' are the same file
Unmounting /home/richter/tmp/remaster-root/var/cache/apt...
Unmounting /home/richter/tmp/remaster-root/tmp/customization-scripts...
Unmounting /home/richter/tmp/remaster-root/tmp...
Unmounting /home/richter/tmp/remaster-root/sys...
Unmounting /home/richter/tmp/remaster-root/run...
Unmounting /home/richter/tmp/remaster-root/root...
Unmounting /home/richter/tmp/remaster-root/proc...
Unmounting /home/richter/tmp/remaster-root/dev/pts...
Failed to copy resolv.conf, error=1
Build ended at 2012-07-05 10:07:10

Is this another bug or a possbile consequence of the fix?

Revision history for this message
苏信东 (webmaster-wavecn) wrote :
Revision history for this message
amadenri (amadenri) wrote :

the fix suggested worked for me too, thanx.

Revision history for this message
Fabrizio Balliano (fabrizio-balliano) wrote :

released in 2.4.7

Changed in uck:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Remote bug watches

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