[Bug 882063] New: encoding issues with SLED12 repository metadata
https://bugzilla.novell.com/show_bug.cgi?id=882063 https://bugzilla.novell.com/show_bug.cgi?id=882063#c0 Summary: encoding issues with SLED12 repository metadata Classification: Internal Novell Products Product: openSUSE Build Service Version: 2.5 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: General AssignedTo: adrian@suse.com ReportedBy: bgeuken@suse.com QAContact: adrian@suse.com CC: jmassaguerpla@suse.com Found By: --- Blocker: --- As Jordi figured out there seems to be a difference between 13.1 and SLED12 metadata files, and other repo sources might be affected as well. While 13.1 files are encoded as utf-8, the newer SLED12 files are ISO-8859-1. You can check this by unpacking those 2 files, doing a binary read on both and grep for Adobe Reader: http://download.opensuse.org/source/distribution/13.1/repo/non-oss/suse/setu... http://dist.suse.de/install/SLP/SLE-12-Desktop-LATEST/x86_64/DVD1/suse/setup... File.binread("packages.en.131")[/cluding Adobe Rea.*Adobe Reader/] => "cluding Adobe Reader\xC2\xAE (\xE2\x80\x9CAdobe Reader" File.binread("packages.en.sle12")[/cluding Adobe Rea.*Adobe Reader/] => "cluding Adobe Reader\xAE (\"Adobe Reader" This causes the Studio downloader backend to break. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=882063 https://bugzilla.novell.com/show_bug.cgi?id=882063#c1 Adrian Schröter <adrian@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|adrian@suse.com |lrupp@suse.com --- Comment #1 from Adrian Schröter <adrian@suse.com> 2014-06-10 14:46:21 UTC --- I suppose this is a problem of inst-source-utils in first place, reassigning to bugowner. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=882063 https://bugzilla.novell.com/show_bug.cgi?id=882063#c2 Lars Vogdt <lrupp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |lrupp@suse.com InfoProvider| |bgeuken@suse.com --- Comment #2 from Lars Vogdt <lrupp@suse.com> 2014-07-24 10:34:11 CEST --- Can you please check and verify with the latest build from http://download.opensuse.org/source/distribution/13.1/repo/non-oss/suse/setu... ? If I download and unpack the file via gunzip, I get: ~> file packages.en packages.en: UTF-8 Unicode text -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=882063 https://bugzilla.novell.com/show_bug.cgi?id=882063#c3 Björn Geuken <bgeuken@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|bgeuken@suse.com | --- Comment #3 from Björn Geuken <bgeuken@suse.com> 2014-07-24 11:40:29 UTC --- As I wrote in the description the problem is with the SLE12 packages.en.gz file not OS 13.1. ->
wget http://dist.suse.de/install/SLP/SLE-12-Desktop-LATEST/x86_64/DVD1/suse/setup...
gunzip packages.en.gz
irb
irb(main):001:0> File.binread("packages.en")[/cluding Adobe Rea.*Adobe Reader/] => "cluding Adobe Reader\xAE (\"Adobe Reader" irb(main):002:0> File.read("packages.en").valid_encoding? => false -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=882063 https://bugzilla.novell.com/show_bug.cgi?id=882063#c4 --- Comment #4 from Björn Geuken <bgeuken@suse.com> 2014-07-24 11:41:24 UTC --- While 13.1 looks fine:
wget http://download.opensuse.org/source/distribution/13.1/repo/non-oss/suse/setu...
gunzip packages.en.gz
irb
irb(main):001:0> File.binread("packages.en")[/cluding Adobe Rea.*Adobe Reader/] => "cluding Adobe Reader\xC2\xAE (\xE2\x80\x9CAdobe Reader" irb(main):002:0> File.read("packages.en").valid_encoding? => true -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=882063 https://bugzilla.novell.com/show_bug.cgi?id=882063#c5 --- Comment #5 from Björn Geuken <bgeuken@suse.com> 2014-07-24 11:42:18 UTC --- I added a workaround to Studio's SID downloader code. So this is not blocking Studio. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=882063 https://bugzilla.novell.com/show_bug.cgi?id=882063#c6 Lars Vogdt <lrupp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low Status|NEW |CLOSED Found By|--- |Development Resolution| |WONTFIX --- Comment #6 from Lars Vogdt <lrupp@suse.com> 2014-07-24 15:18:57 CEST --- (In reply to comment #5)
I added a workaround to Studio's SID downloader code. So this is not blocking Studio.
ok, in that case I will close this as WONTFIX as we are already late in SLE12 RC phase and I do not want to add maybe additional problems in our infrastructure. Thanks for your understanding! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com