You are not logged in.

#1 2010-11-19 21:38:57

Wintershade
Member
From: Croatia
Registered: 2008-02-18
Posts: 175
Website

cdemu - can't get it to work (can't connect do dbus, no cdemu module)

Hi all! As the topic subject says, I can't get cdemu to work.
I'm trying to use it to mount some .mdf images (wanna play Diablo 2 again, and I really don't wanna use the CDs for this).

So here goes. First I tried mounting the .mdf image with cdemu, like this...

cdemu load 0 01.Install.mdf

I get an error message:

ERROR: Failed to connect to CDEmu daemon: org.freedesktop.DBus.Error.ServiceUnknown: The name net.sf.cdemu.CDEMUD_Daemon was not provided by any .service files
ERROR: Failed to connect to daemon (bus: 'session')!

So I found somewhere that I should compile the cdemu-daemon and cdemu-client...

yaourt -Sb --noconfirm cdemu-daemon cdemu-client

now, cdemu-daemon compiles fine, but cdemu-client doesn't seem to compile. what I get as an error is this:

Byte-compiling python modules...
__init__.pycdemu.py  File "/usr/lib/python3.1/site-packages/cdemu/cdemu.py", line 128
    except dbus.DBusException, e:
                             ^
SyntaxError: invalid syntax

The full output is in the pastebin.


So anyway, cdemu client installs (althought the success of this is obviously questionable at best), and when I try mounting an image, I (probably as expected) get this:

Traceback (most recent call last):
  File "/usr/bin/cdemu", line 23, in <module>
    import cdemu, cdemu.cdemu
ImportError: No module named cdemu

A little more digging revealed that cdemu-client is still compiled against python2 rather than python3, so that would probably be the reason why my compile fails.
I would be very grateful if someone could tell me how to get this thing to work. And if I can help compiling this package properly, please do tell me how.

Thanks in advance!


Only the best is good enough.

Offline

#2 2010-11-22 21:51:57

defears
Member
Registered: 2010-07-26
Posts: 218

Re: cdemu - can't get it to work (can't connect do dbus, no cdemu module)

Try this from terminal. Took a long time for me to get this working too.

cdemu load 0 /path/to/file.cue -b system

Offline

#3 2010-11-23 09:56:12

Primoz
Member
From: Ljubljana-Slovena-EU
Registered: 2009-03-04
Posts: 688

Re: cdemu - can't get it to work (can't connect do dbus, no cdemu module)

First: Try to compile it to python2.
Second: Did you add cdemud to your Deamons array; or did sudo /etc/rc.d/cdemud start, before trying to load ISO file with cdemu?
Third: Do you have vhba-module installed and is it added to modules array?


Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.

Offline

#4 2010-11-23 19:16:44

singral
Member
Registered: 2009-09-21
Posts: 27

Re: cdemu - can't get it to work (can't connect do dbus, no cdemu module)

defears wrote:

Try this from terminal. Took a long time for me to get this working too.

cdemu load 0 /path/to/file.cue -b system

thanks, have been trying to fix cdemu for ever and this works, at least for my .iso

cdemu load 0 /path/to/file.cue -b system

Offline

#5 2010-11-25 09:33:21

Wintershade
Member
From: Croatia
Registered: 2008-02-18
Posts: 175
Website

Re: cdemu - can't get it to work (can't connect do dbus, no cdemu module)

Primoz wrote:

First: Try to compile it to python2.

How exactly do I do that?

Primoz wrote:

Second: Did you add cdemud to your Deamons array; or did sudo /etc/rc.d/cdemud start, before trying to load ISO file with cdemu?
Third: Do you have vhba-module installed and is it added to modules array?

Yes and yes.

defears wrote:

Try this from terminal. Took a long time for me to get this working too.

cdemu load 0 /path/to/file.cue -b system

Thanks! This worked. I can play Diablo 2 now, yaaaay smile


Only the best is good enough.

Offline

Board footer

Powered by FluxBB