06-06-2009, 01:17 AM | #1 |
Wearer of Pants
Posts: 1,050
Karma: 7634
Join Date: Jan 2008
Location: Norman, OK
Device: Amazon Kindle DX / iPhone
|
Hosed My MobiDeDRM setup on Mac after Reinstall
Okay.. so I reinstalled Leopard tonight to reclaim some space from an Ubuntu install.
I copied over my Applescript 'mobi related script' from Time Machine and it didn't work, and I vaguely remembered something about Python so I looked it up and installed 2.6. Still not working though. I really haven't the foggiest what to do next. It's been too long since I set it up and I don't remember what else to do. It asks for my 'special number' and then... nothin'. Any help? Last edited by Gideon; 06-06-2009 at 01:24 AM. Reason: made more generic... the title can be changed, but I can't do it. |
06-06-2009, 01:52 AM | #2 |
Wearer of Pants
Posts: 1,050
Karma: 7634
Join Date: Jan 2008
Location: Norman, OK
Device: Amazon Kindle DX / iPhone
|
Okay... pretty sure this is all a python problem. When I type python into the Terminal I'm getting the default install info (2.5.1) instead of the newer version I installed (2.6).
So what I need help with is getting my computer to realize that I've installed this new version and allow scripts I run to get it going. Unfortunately, I am not finding anything helpful online in fixing the problem of "the install not completing." Any help would be appreciated. |
Advert | |
|
06-06-2009, 02:15 AM | #3 |
ZCD BombShel
Posts: 4,793
Karma: 8293322
Join Date: Jan 2009
Location: The Frozen North (aka Illinois, USA)
Device: iPad, STB Kindle Oasis
|
Sorry, Gideon, I just barely got it working on Windows, much less Mac; I don't have a clue.
|
06-06-2009, 03:14 AM | #4 | |
The Grand Mouse 高貴的老鼠
Posts: 71,496
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
After re-installing Leopard, you should also install the (free) developer tools — XCode. That will install a version of Python (& lots of other goodies) that will run the python script you want to run.
You might already have a disk with the developer tools on it - I can't remember if it's including on the retail DVD. Quote:
|
|
06-06-2009, 03:59 AM | #5 |
Wearer of Pants
Posts: 1,050
Karma: 7634
Join Date: Jan 2008
Location: Norman, OK
Device: Amazon Kindle DX / iPhone
|
It's on the DVD, I installed it and rebooted - but still no luck - same thing.
|
Advert | |
|
06-06-2009, 04:41 AM | #6 |
Wearer of Pants
Posts: 1,050
Karma: 7634
Join Date: Jan 2008
Location: Norman, OK
Device: Amazon Kindle DX / iPhone
|
I've used different files, changed the names between prc and mobi.. same results over and over again. It's the EXACT same script that has been working for me, so my guess is it is something with Python. Something isn't set right, etc...
Looking at the event log in the script editor, it quits running at this point: Code:
tell application "Finder" get every file of folder (alias "Mono:Users:gideon:Desktop:") whose name extension = "prc" or name extension = "mobi" or name extension = "azw" {} get every folder of folder (alias "Mono:Users:gideon:Desktop:") {} end tell Last edited by Gideon; 06-06-2009 at 04:50 AM. |
06-06-2009, 05:05 AM | #7 |
Wearer of Pants
Posts: 1,050
Karma: 7634
Join Date: Jan 2008
Location: Norman, OK
Device: Amazon Kindle DX / iPhone
|
Made one last stab...
Works on command line, so maybe not python. Tried fresh script as well as old one. No bloody clue. At least I figured out how to use it in the command line... lol |
06-06-2009, 09:55 AM | #8 |
Resident Curmudgeon
Posts: 73,897
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I didn't think the script worked other then the command line.
|
06-06-2009, 03:28 PM | #9 |
The Grand Mouse 高貴的老鼠
Posts: 71,496
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
You seem to be dragging your whole desktop folder onto the script. Try just dragging a single file.
|
06-07-2009, 01:15 AM | #10 |
Wearer of Pants
Posts: 1,050
Karma: 7634
Join Date: Jan 2008
Location: Norman, OK
Device: Amazon Kindle DX / iPhone
|
That was just in that example. Does the same thing (more or less) when I use just one file. Still seem to get a null response.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRS-600 Uninstall / Reinstall Problem ! | Kevin2960 | Sony Reader | 9 | 03-23-2010 03:46 PM |
Can't get Mac ebook Reader to reinstall; not seeing windows | karinc | Reading and Management | 27 | 11-13-2009 10:50 AM |
FBreader reinstall on 2.11 | DeGodefroi | iRex | 4 | 09-27-2007 12:37 PM |
PRS-500 My setup | Nogg | Sony Reader Dev Corner | 12 | 08-22-2007 01:30 PM |
iLiad 75 euro reinstall | ali | iRex Developer's Corner | 38 | 09-12-2006 11:47 AM |