![]() |
#1 |
Zealot
![]() ![]() Posts: 115
Karma: 150
Join Date: Jul 2008
Location: Netherlands Veenendaal
Device: Palm T5, Sony PRS-505, Nook Color
|
Library using UNC path, PDF's not opening
Hi All,
Anybody else having problems with their library on a Windows server and using UNC paths that you can't open an PDF anymore using the View button? This is using Calibre 0.7.2 and used to work in atleast 0.6.55 but switch last week to the .7 series and today I noticed that I can't view PDF anymore. Probably any format since it looks like the UNC path gets mangled when a viewer is started. The following is a part of the log of procmon: 485 12:50:35,6582730 calibre.exe 496 FASTIO_NETWORK_QUERY_OPEN C:\srv01\Ebooks\Michele Dougherty (Editor)\Saturn from Cassini-Huygens (606)\Saturn from Cassini-Huygens - Michele Dougherty (Editor).pdf PATH NOT FOUND The correct UNC path is: \\srv01\Ebooks\..... All other operations as adding books, editing metadata all work OK even conversion from said PDF to Epub works and also viewing the converted epub ![]() Regards, Joop |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,225
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre never had support for UNC paths, the fact that it worked in 0.6 was ana ccident. I'd suggest mapping to a drive.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Zealot
![]() ![]() Posts: 115
Karma: 150
Join Date: Jul 2008
Location: Netherlands Veenendaal
Device: Palm T5, Sony PRS-505, Nook Color
|
Quote:
![]() I'm even willing to maintain a seperate set of file(s) with that accident in it for our internal use, so if you know in what file this happens I'm very grateful for that piece of information,else I'll have to go looking for it myself. Thanks in advance, Joop |
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,225
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Look for the function _launch_viewer and in particular the line
QDesktopServices.openUrl(QUrl.fromLocalFile(name)) IIRC it's in gui2/ui.py |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre 0.7.x can't open UNC path | adfrad | Calibre | 4 | 07-07-2010 08:31 AM |
Reader library opening when connected | leevancleef | Sony Reader | 8 | 02-02-2010 10:16 PM |
Problem in opening full library | didymus | Calibre | 1 | 12-31-2009 06:30 AM |
Help Sony E Library not opening | Kiwimick | Sony Reader | 14 | 11-07-2009 02:32 PM |
Change library path? | Slite | Calibre | 2 | 09-30-2008 10:52 AM |