Bug 842587

Summary: Formatting a disk with YaST: yast/wfm.rb Client call failed with incompatible character encodings
Product: [openSUSE] openSUSE Tumbleweed Reporter: Hendrik Woltersdorf <hendrikw>
Component: YaST2Assignee: E-mail List <bnc-team-screening>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: aschnell
Version: 13.1 Beta 1   
Target Milestone: ---   
Hardware: VMWare   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Hendrik Woltersdorf 2013-09-26 16:19:08 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0

I try to format an additional harddisk with the YaST2 Partitioner and the UI disappears suddenly when I click "Finish". In /var/log/YaST2/y2log I find these messages:

2013-09-26 18:01:23 <1> lxvm1(4465) [libstorage] Storage.cc(dumpCommitInfos):5016 ChangeText Format partition /dev/sdb1 (20.00 GB) for /usr2 with ext4 [destructive]
2013-09-26 18:01:23 <3> lxvm1(4465) [Ruby] yast/wfm.rb:86 Client call failed with incompatible character encodings: UTF-8 and ASCII-8BIT and backtrace ["/usr/lib/ruby/vendor_ruby/2.0.0/yast/ops.rb:151:in `add'", "/usr/share/YaST2/include/partitioning/ep-lib.rb:484:in `CompleteSummary'", "/usr/share/YaST2/include/partitioning/ep-main.rb:603:in `SummaryDialog'", "/usr/share/YaST2/include/partitioning/ep-main.rb:629:in `DoApply'", "/usr/share/YaST2/include/partitioning/ep-main.rb:713:in `ExpertPartitioner'", "/usr/share/YaST2/clients/inst_custom_part.rb:37:in `main'", "/usr/share/YaST2/clients/inst_custom_part.rb:42:in `<top (required)>'", "/usr/lib/ruby/vendor_ruby/2.0.0/yast/wfm.rb:84:in `eval'", "/usr/lib/ruby/vendor_ruby/2.0.0/yast/wfm.rb:84:in `run_client'", "/usr/lib/ruby/vendor_ruby/2.0.0/yast/wfm.rb:77:in `call_builtin'", "/usr/lib/ruby/vendor_ruby/2.0.0/yast/wfm.rb:77:in `call_builtin_wrapper'", "/usr/lib/ruby/vendor_ruby/2.0.0/yast/wfm.rb:71:in `CallFunction'", "/usr/share/YaST2/clients/inst_disk.rb:84:in `main'", "/usr/share/YaST2/clients/inst_disk.rb:105:in `<top (required)>'", "/usr/lib/ruby/vendor_ruby/2.0.0/yast/wfm.rb:84:in `eval'", "/usr/lib/ruby/vendor_ruby/2.0.0/yast/wfm.rb:84:in `run_client'", "/usr/lib/ruby/vendor_ruby/2.0.0/yast/wfm.rb:77:in `call_builtin'", "/usr/lib/ruby/vendor_ruby/2.0.0/yast/wfm.rb:77:in `call_builtin_wrapper'", "/usr/lib/ruby/vendor_ruby/2.0.0/yast/wfm.rb:71:in `CallFunction'", "/usr/share/YaST2/clients/disk_worker.rb:88:in `DiskSequence'", "/usr/lib/ruby/vendor_ruby/2.0.0/yast/fun_ref.rb:33:in `call'", "/usr/lib/ruby/vendor_ruby/2.0.0/yast/fun_ref.rb:33:in `call'", "/usr/share/YaST2/modules/CommandLine.rb:1590:in `Run'", "/usr/share/YaST2/clients/disk_worker.rb:80:in `main'", "/usr/share/YaST2/clients/disk_worker.rb:158:in `<top (required)>'", "/usr/lib/ruby/vendor_ruby/2.0.0/yast/wfm.rb:84:in `eval'", "/usr/lib/ruby/vendor_ruby/2.0.0/yast/wfm.rb:84:in `run_client'", "/usr/lib/ruby/vendor_ruby/2.0.0/yast/wfm.rb:77:in `call_builtin'", "/usr/lib/ruby/vendor_ruby/2.0.0/yast/wfm.rb:77:in `call_builtin_wrapper'", "/usr/lib/ruby/vendor_ruby/2.0.0/yast/wfm.rb:67:in `call'", "/usr/share/YaST2/clients/disk.rb:85:in `main'", "/usr/share/YaST2/clients/disk.rb:103:in `<top (required)>'", "/usr/lib/ruby/vendor_ruby/2.0.0/yast/wfm.rb:84:in `eval'", "/usr/lib/ruby/vendor_ruby/2.0.0/yast/wfm.rb:84:in `run_client'"]
2013-09-26 18:01:23 <1> lxvm1(4465) [Interpreter] clients/inst_disk.rb:84 Called YaST client returned.
2013-09-26 18:01:23 <1> lxvm1(4465) [Ruby] clients/inst_disk.rb:99 end inst_disk ret:nil



Reproducible: Always

Steps to Reproduce:
1. start the YaST2 Partitioner  
2. try to format an existing or new partition
3. (filesystem does not matter)
Actual Results:  
YaST2 crash, disk does not get formatted

Expected Results:  
No crash please, format the disk.

Test environment:

- VMWare virtual machine (vmplayer 6.0.0) 
- openSUSE 13.1 Beta1 32 bit
Comment 1 Arvin Schnell 2013-09-27 07:29:54 UTC
Same as bug #841713.

*** This bug has been marked as a duplicate of bug 841713 ***