View Single Post
Old 03-03-2008, 05:29 AM   #59
flubu
master of my own domain
flubu began at the beginning.
 
flubu's Avatar
 
Posts: 29
Karma: 10
Join Date: Jun 2007
Location: Cambridge, UK
Device: Sony Reader
Quote:
Originally Posted by JSWolf View Post
I have Python 2.5 for XP and I've not had any issues with Darkreverser's scripts due to the version of Python.
Code:
D:\temp>python mobydedrm.py Aroundtheworldin80days.prc test.prc *******$**
MobiDeDrm v0.02. Copyright (c) 2008 The Dark Reverser
Decrypting. Please wait...
Traceback (most recent call last):
  File "mobydedrm.py", line 176, in <module>
    file(outfile, 'wb').write(DrmStripper(data_file, pid).getResult())
  File "mobydedrm.py", line 159, in __init__
    extra_size = getSizeOfTrailingDataEntries(data, len(data), extra_data_flags)

  File "mobydedrm.py", line 74, in getSizeOfTrailingDataEntries
    num += getSizeOfTrailingDataEntry(ptr, size - num)
  File "mobydedrm.py", line 64, in getSizeOfTrailingDataEntry
    v = ord(ptr[size-1])
IndexError: string index out of range
I'm having errors running the script. I have activestate python on XP and I'm trying to liberate the free Around the world in 80 days from fictionwise. The PID I have is from my laptop installation of mobipocket reader. Could it be problematic that it contains a $, which could be badly expanded as a variable at some point?
flubu is offline   Reply With Quote