2013-10-05, 13:51
Hi all,
I'm trying to unzip a file through the xbmc.extract() function, but it gives me the following error:
ERROR: XBMC.Extract, No archive given
xbmc.log:
If I try to open that exact same zipfile in the exact same location, it works perfectly on windows.
So I guess the zipfile works...
If I check the xbmc code (xbmc/interfaces/Builtins.cpp) it says the following:
If I check the code from URIUtils::IsZIP, it says the following:
I can assure this file has the zip extension without any spaces...
Thank you in advance,
EDIT: Never mind... It seems that, if the zipfile has a comma inside of the name, the error occurs. I'm going to submit a bug report
I'm trying to unzip a file through the xbmc.extract() function, but it gives me the following error:
ERROR: XBMC.Extract, No archive given
xbmc.log:
Code:
02:54:43 T:8844 NOTICE: <the correct path>\<the correct filename>.zip
02:54:43 T:8436 ERROR: XBMC.Extract, No archive given
If I try to open that exact same zipfile in the exact same location, it works perfectly on windows.
So I guess the zipfile works...
If I check the xbmc code (xbmc/interfaces/Builtins.cpp) it says the following:
Code:
if (URIUtils::IsZIP(params[0]))
g_ZipManager.ExtractArchive(params[0],strDestDirect);
#ifdef HAS_FILESYSTEM_RAR
else if (URIUtils::IsRAR(params[0]))
g_RarManager.ExtractArchive(params[0],strDestDirect);
#endif
else
CLog::Log(LOGERROR, "XBMC.Extract, No archive given");
If I check the code from URIUtils::IsZIP, it says the following:
Code:
bool URIUtils::IsZIP(const CStdString& strFile) // also checks for comic books!
{
return HasExtension(strFile, ".zip|.cbz");
}
I can assure this file has the zip extension without any spaces...
Thank you in advance,
EDIT: Never mind... It seems that, if the zipfile has a comma inside of the name, the error occurs. I'm going to submit a bug report