Bug 251192 - either KArchive or KZip libs have problems extracting files from zip files
Summary: either KArchive or KZip libs have problems extracting files from zip files
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: kdecore (show other bugs)
Version: 4.5
Platform: Ubuntu Linux
: NOR major
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
: 252086 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-14 10:18 UTC by Alex Sarmiento
Modified: 2010-09-23 02:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.5.2
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Sarmiento 2010-09-14 10:18:25 UTC
Version:           4.5 (using KDE 4.5.1) 
OS:                Linux

When an application tries to extract a zipped file it fails,  the data extracted is garbage. this is related to several bug reports about plasma desktop failing to install plasmoids. 

example:
 const KArchiveFile* epsFile=static_cast<const KArchiveFile*>(epsEntry);
            QString dir=KGlobal::dirs()->saveLocation("tmp", "cantor/");
            epsFile->copyTo(dir);

for kde 4.5.1 the resulting epsFile is garbage. not an eps file. This code worked well with kde 4.5.0, the epsFile was not garbage

Reproducible: Didn't try

Steps to Reproduce:

plasmapkg -i service-monitor-latest.zip


Actual Results:  
"KConfigIni: In file /tmp/kde-alex/plasmapkgVyqeGh/metadata.desktop, line 1: " "Invalid escape sequence "\â"." 
"KConfigIni: In file /tmp/kde-alex/plasmapkgVyqeGh/metadata.desktop, line 1: " "Invalid escape sequence "\"." 
"KConfigIni: In file /tmp/kde-alex/plasmapkgVyqeGh/metadata.desktop, line 1: " "Invalid escape sequence "\"." 
"KConfigIni: In file /tmp/kde-alex/plasmapkgVyqeGh/metadata.desktop, line 3: " "Invalid escape sequence "\ç"." 
"KConfigIni: In file /tmp/kde-alex/plasmapkgKY28ev/metadata.desktop, line 1: " "Invalid escape sequence "\â"." 
"KConfigIni: In file /tmp/kde-alex/plasmapkgKY28ev/metadata.desktop, line 1: " "Invalid escape sequence "\"." 
"KConfigIni: In file /tmp/kde-alex/plasmapkgKY28ev/metadata.desktop, line 1: " "Invalid escape sequence "\"." 
"KConfigIni: In file /tmp/kde-alex/plasmapkgKY28ev/metadata.desktop, line 3: " "Invalid escape sequence "\ç"." 
plasmapkg(17745)/libplasma Plasma::Package::installPackage: Package plugin name not specified 
,,,


OS: Linux (i686) release 2.6.32-25-generic
Compiler: gcc, g++
kubuntu 10.0.4
kde 4.5.1 from backports
Comment 1 Pino Toscano 2010-09-14 10:31:21 UTC
Fixed by David Faure.

WebSVN link: http://websvn.kde.org/?view=revision&revision=1171340
Comment 2 Christoph Feck 2010-09-23 02:09:45 UTC
*** Bug 252086 has been marked as a duplicate of this bug. ***