View Single Post
Old 05-07-2011, 08:59 PM   #179
MykelAlvis
Member
MykelAlvis once ate a cherry pie in a record 7 seconds.MykelAlvis once ate a cherry pie in a record 7 seconds.MykelAlvis once ate a cherry pie in a record 7 seconds.MykelAlvis once ate a cherry pie in a record 7 seconds.MykelAlvis once ate a cherry pie in a record 7 seconds.MykelAlvis once ate a cherry pie in a record 7 seconds.MykelAlvis once ate a cherry pie in a record 7 seconds.MykelAlvis once ate a cherry pie in a record 7 seconds.MykelAlvis once ate a cherry pie in a record 7 seconds.MykelAlvis once ate a cherry pie in a record 7 seconds.MykelAlvis once ate a cherry pie in a record 7 seconds.
 
Posts: 12
Karma: 1748
Join Date: Aug 2009
Location: Birmingham, AL
Device: Nook
The first code had no effect. Apparently webbrowser.open doesn't work in calibre-debug for me.

The second was a success! My default browser opened to goodreads, as expected.

As an item of further interest, webbrowser.open works fine in standard python. The issue appears to have something to do with Calibre's python environment. Unfortunately, I don't have a 32-bit linux installation to test this on at the moment, so I can't see if it's a 64-bit issue (a common and extremely unfortunate circumstance). However, I'm supposed to create one this week. I'll try this same code on that instance.
MykelAlvis is offline   Reply With Quote