01-16-2008, 10:27 AM | #16 |
Guru
Posts: 962
Karma: 568242
Join Date: Dec 2007
Device: Kindle Oasis 3, Kindle Paperwhite 1, iPad, iPhone
|
I seem to have all of the dependencies and it works from the command line, but not from my IDE. That's my next thing...
|
01-16-2008, 11:56 AM | #17 |
creator of calibre
Posts: 44,108
Karma: 22669824
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You have defined a python interpreter in the pydev preferences haven't you?
|
Advert | |
|
01-16-2008, 12:17 PM | #18 |
Wizzard
Posts: 1,402
Karma: 2000000
Join Date: Nov 2007
Location: UK
Device: iPad 2, iPhone 6s, Kindle Voyage & Kindle PaperWhite
|
Something not quite right with mine. Installed OK, but while I can run "python libprs500\devices\prs500\cli\main.py" OK for instance, when I try to pass the "info" command I get "ImportError: No module named wmi".
Similarly, if I run "python libprs500\gui2\main.py", I first got "ImportError: cannot import name question_dialog" but after I did a "python setup.py install" I get a little further & now get "ImportError: No module named tag_editor_ui". Do either of those commands work for you? |
01-16-2008, 12:30 PM | #19 |
creator of calibre
Posts: 44,108
Karma: 22669824
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@gwynevans
You need to intall wmi for python and its dependencies (google it) Also you have to run python make.py in the gui2 subdirectory. |
01-16-2008, 01:32 PM | #20 | ||
Guru
Posts: 962
Karma: 568242
Join Date: Dec 2007
Device: Kindle Oasis 3, Kindle Paperwhite 1, iPad, iPhone
|
Quote:
Traceback (most recent call last): Quote:
Last edited by astrodad; 01-16-2008 at 01:34 PM. |
||
Advert | |
|
01-16-2008, 01:42 PM | #21 |
creator of calibre
Posts: 44,108
Karma: 22669824
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Run python make.py in the gui2 subdirectory. Is the GUI working from the commandline?
|
01-16-2008, 02:28 PM | #22 |
Guru
Posts: 962
Karma: 568242
Join Date: Dec 2007
Device: Kindle Oasis 3, Kindle Paperwhite 1, iPad, iPhone
|
I ran the make and it now tries to launch the application. It fails with a module failure on win32com.client
|
01-16-2008, 02:31 PM | #23 |
Guru
Posts: 962
Karma: 568242
Join Date: Dec 2007
Device: Kindle Oasis 3, Kindle Paperwhite 1, iPad, iPhone
|
Got it running after installing win32com. When I run this script in src out of the IDE, is it running the same code that's running when I run the executable (exe within windows)?
|
01-16-2008, 02:44 PM | #24 |
creator of calibre
Posts: 44,108
Karma: 22669824
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yeah there are probably some issues involved with getting it running from the IDE as i think the EXE installs some needed environment variables and so on.
|
01-16-2008, 06:14 PM | #25 |
Wizzard
Posts: 1,402
Karma: 2000000
Join Date: Nov 2007
Location: UK
Device: iPad 2, iPhone 6s, Kindle Voyage & Kindle PaperWhite
|
Thanks, sorted - Notes on your wiki in case they're of use again - https://libprs500.kovidgoyal.net/wik...owsDevelopment
|
01-16-2008, 06:32 PM | #26 |
creator of calibre
Posts: 44,108
Karma: 22669824
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Cool thanks. That will be useful for lots of people.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Books on internal memory show as on Memory Stick | doreenjoy | Sony Reader | 6 | 06-05-2009 02:08 AM |
Collections saved to Memory Stick without a memory stick | jabberwock_11 | Sony Reader | 11 | 01-09-2009 09:48 PM |
Problem using memory stick | emathis | Sony Reader | 1 | 12-10-2007 11:09 AM |
Can we use libprs500 only with memory stick (without a reader)? | godel10 | Sony Reader | 1 | 06-02-2007 06:15 AM |
SD card vs. memory stick vs. high speed memory stick | wadood | Sony Reader | 20 | 05-10-2007 03:58 PM |