Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 11-18-2023, 01:18 PM   #1
cgrapski
Enthusiast
cgrapski began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Dec 2016
Device: Kindle
Linking Data Folder Doesnt Work

I thoughtmaybe in the new version this would be fixed. But if you attempt to link afile in book details comments using the form - the file button works but the second button to go directly to the data folder files does nothing
cgrapski is offline   Reply With Quote
Old 11-18-2023, 03:59 PM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,617
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Windows 10, calibre 7

The new Data file button does something for me, it opens the data folder.

However selecting a file doesn't create the file:// URL.

BR

BetterRed is online now   Reply With Quote
Advert
Old 11-18-2023, 11:22 PM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,185
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I tried the following steps:

1) Select a book with some existing data files
2) Edit metadata
3) Click the insert link button in the comments editor
4) click Data file
5) A file selection dialog open to the data sub-folder displays
6) choose a file
7) click ok

A link of the form <a href="data/filename"> is created, as expected.

The only bug that I could see is clicking on this link doesnt work, because its a relative link, that will be fixed.
kovidgoyal is offline   Reply With Quote
Old 11-19-2023, 01:40 AM   #4
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,617
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Same steps - no file:// URL

See screen shots

Minor difference, the Windows File select dialogue has an Open button, rather than an OK button.

Observation: the Data files button is only available in MDE Comments.

BR
Attached Thumbnails
Click image for larger version

Name:	steps.jpg
Views:	115
Size:	477.6 KB
ID:	204801   Click image for larger version

Name:	zresult.jpg
Views:	106
Size:	669.6 KB
ID:	204802  

Last edited by BetterRed; 11-19-2023 at 02:14 AM.
BetterRed is online now   Reply With Quote
Old 11-19-2023, 01:47 AM   #5
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,617
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Newsflash ==>> https://www.mobileread.com/forums/sh...&postcount=126

BR
BetterRed is online now   Reply With Quote
Advert
Old 11-19-2023, 03:55 PM   #6
cgrapski
Enthusiast
cgrapski began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Dec 2016
Device: Kindle
Only the File button works

Quote:
Originally Posted by kovidgoyal View Post
I tried the following steps:

1) Select a book with some existing data files
2) Edit metadata
3) Click the insert link button in the comments editor
4) click Data file
5) A file selection dialog open to the data sub-folder displays
6) choose a file
7) click ok

A link of the form <a href="data/filename"> is created, as expected.

The only bug that I could see is clicking on this link doesnt work, because its a relative link, that will be fixed.
When I pick the Data button - I get to choose the directory and file - but it then returns a blank in the form. Unlike when I use the file button - and choose the data folder with it.

One more question. Would it be possible to have subfolders recognized in the data folder to better organize the files?
cgrapski is offline   Reply With Quote
Old 11-19-2023, 06:17 PM   #7
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,617
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by cgrapski View Post
Would it be possible to have subfolders recognized in the data folder to better organize the files?
Not only possible, already doable. Open the data folder and use your File Manager to create as many subfolders you need.

And, if you follow the link in my previous post you'll discover the Data files issue has been fixed… it'll be in the next release.

BR
BetterRed is online now   Reply With Quote
Old 11-24-2023, 01:09 AM   #8
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,617
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by BetterRed View Post
. . .

And, if you follow the link in my previous post you'll discover the Data files issue has been fixed… it'll be in the next release.
Quote:
Release: 7.1 [23 Nov, 2023]

Bug fixes

Comments editor: Fix data file links not working
Not fixed for me, Windows 10

BR
BetterRed is online now   Reply With Quote
Old 11-24-2023, 01:52 AM   #9
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,185
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
What exactly is not fixed? That fix refers to the fact that clicking on links to data files in the book details panel did not open them, now it does.
kovidgoyal is offline   Reply With Quote
Old 11-24-2023, 06:19 AM   #10
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,617
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by kovidgoyal View Post
What exactly is not fixed? That fix refers to the fact that clicking on links to data files in the book details panel did not open them, now it does.
I assumed it was referring to the Data Files button in the Comments Editor Links dialogue not filling in the URL field, as was reported in the opening post of this thread…

Apart from an <a href="file:///blah blah entry in Comments or similar I don't know where links to book data folder files appear in Book details. Such links have always worked for me, irrespective of the file location.

BR
BetterRed is online now   Reply With Quote
Old 11-24-2023, 06:22 AM   #11
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,185
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
As I said in my original response the data file button does fill the URL field. For example if I choose a data file named text.xyz in the data folder I get

data/text.xyz

in the URL field. The bug was that the actual link created by this didnt work, now it does.
kovidgoyal is offline   Reply With Quote
Old 11-24-2023, 06:36 AM   #12
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,617
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
For me: after selecting a file in the Data File dialogue and clicking the Open button, the URL field in the parent dialogue remains empty. As shown in post #4's screen shots.

I must be using 7.1, because the Restore database issue is fixed.

BR
BetterRed is online now   Reply With Quote
Old 11-24-2023, 07:50 AM   #13
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,185
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Ah was a windows specific thing: https://github.com/kovidgoyal/calibr...58ec9866b17ffe
kovidgoyal is offline   Reply With Quote
Old 11-24-2023, 12:45 PM   #14
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,617
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by kovidgoyal View Post
suspected it might be that.

BR
BetterRed is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Move a file from the 'book' folder to 'data' folder BetterRed Library Management 4 08-02-2023 07:01 PM
On manually creating /data/ folder vs using "Add data files to selected book records" droopy Library Management 1 07-31-2023 09:29 PM
'page-break-before|after: always' doesnt work sadhu44 ePub 18 06-18-2014 04:28 PM
usb doesnt work, want to use SD only bookeenbart Bookeen 8 02-04-2010 11:16 AM
Dictionary look up doesnt work... Chrikow Bookeen 0 11-16-2008 08:01 PM


All times are GMT -4. The time now is 10:47 PM.


MobileRead.com is a privately owned, operated and funded community.