doccosgrove / romcollectionbrowser

Automatically exported from code.google.com/p/romcollectionbrowser
GNU General Public License v2.0
0 stars 0 forks source link

Launching .7z archives fails in XBMC 11. #126

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Add Rom Collection (ROM folder contains .7z archives)
2. Click on a game that is contained in a .7z archive.

What is the expected output? What do you see instead?
I expect the emulator I've selected (tried FCEUltra, ZSNES, and Snes9x) to open 
with ROM loaded.  
I get an error: "Error launching .7z file.  Please check XBMC.log for details."
The log contains an error to the effect of: 
19:36:41 T:6832  NOTICE: RCB_ERROR: You have tried to launch a .7z file but you 
are missing required libraries to extract the file. You can download the latest 
RCB version from RCBs project page. It contains all required libraries.
19:36:41 T:6832  NOTICE: RCB_ERROR: Error: DLL load failed: The specified 
module could not be found.
19:36:41 T:6832  NOTICE: RCB_ERROR: Error handling compressed file

What version of the product are you using? On what operating system?
I have tried version RCB 1.0.1 from the Eden repository as well as 0.9.9 and 
1.0.5 from code.google.com.
XBMC 11.0
Windows Home Server 2011 (64-bit)

Please provide any additional information below.
I read Issue #97, and followed the directions in Comment #4, but I still get 
the error.  
My resources library does include py7zlib.py, etc., but I don't see any DLL, 
which I assume is lacking in the repo release.  

Original issue reported on code.google.com by jgclark...@gmail.com on 20 Aug 2012 at 11:47

GoogleCodeExporter commented 8 years ago
I'm also getting this error in XBMC 11 running on Windows 7.  I installed RCB 
from the 1.0.5 zip file.  In the platform_libraries\win32 folder I have both 
py7zlib.py and pylzma.pyd, so it looks like the DLL is there, but it's failing 
to load for some reason.

Original comment by ian.g.ke...@gmail.com on 8 Oct 2012 at 4:25

GoogleCodeExporter commented 8 years ago
Okay, I dug a little deeper into this and found the cause of the error.  The 
pylzma.pyd DLL has a dependency of python24.dll, so it seems to have been built 
for Python 2.4.  However, the version of Python that ships with XBMC 11 is 
Python 2.6.

To fix this, I went to http://pypi.python.org/pypi/pylzma and downloaded the 
file pylzma-0.4.4-py2.6-win32.egg.  Using a zip program, I extracted from the 
egg file the files py7zlib.py, pylzma.py, and pylzma.pyd into my 
platform_libraries\win32 folder.  Started up XBMC, and now it works beautifully!

Original comment by ian.g.ke...@gmail.com on 8 Oct 2012 at 5:09

GoogleCodeExporter commented 8 years ago
Thanks, ian.g.kelly. This is the correct workaround atm. I still have to add 
the current libs to newest Eden releases.

Original comment by maloep on 22 Oct 2012 at 3:17

GoogleCodeExporter commented 8 years ago
Issue 143 has been merged into this issue.

Original comment by maloep on 12 Jul 2013 at 7:50

GoogleCodeExporter commented 8 years ago
Issue 173 has been merged into this issue.

Original comment by maloep on 14 Jun 2014 at 5:35