Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 04-06-2016, 04:58 PM   #16
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,736
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Mashkai View Post
Sorry for the slow replies - for whatever reason, I wasn't rec'ing emails.

As for the directories- crazy as it sounds, there is NO "con" folder. Anywhere! I moved a batch of books and attempted for another batch five minutes later and this was the result. This error is about a folder that doesn't exist.


I have searched said directory, all of the other calibre libraries, and done a fulle search of my HD. No such file, folder, or directory exists. There are books/authors that contain "con" (Connor, Continuum, Pro's and Con's, etc) but nothing that is *only* "con".

What am I missing here?
Did you check with suppression of hidden and system attributes set OFF, its in folder options

Click image for larger version

Name:	Capture.JPG
Views:	119
Size:	40.2 KB
ID:	147639

BR
BetterRed is offline   Reply With Quote
Old 04-06-2016, 05:16 PM   #17
Katsunami
Grand Sorcerer
Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.
 
Katsunami's Avatar
 
Posts: 6,111
Karma: 34000001
Join Date: Mar 2008
Device: KPW1, KA1
Quote:
Originally Posted by BetterRed View Post
But in this instance 'con' is a directory (at author level) in a calibre library named ISBN

BR
Doesn't matter. You can't create a folder named 'con'. The file 'con' already exists, within the operating system, and it is globally available. Therefore, you can't create a folder named 'con' anywhere. Try it on on your desktop. Windows won't allow it. It won't even allow it if you try to create a file, and use an extension. It doesn't even take the extension into account.

Many people think that "File.txt" is the name of a file. In Linux, it is (AFAIK), but in Windows, the name of the file is "File", and the extension is "txt". A file called "File.tar.gz" has the name "File.tar", and the extension "gz". Thus, even if you use "con.txt", the name of the file is still 'con', and that is not allowed*.

The reason is because typing 'cd con' in DOS would be nonsense, as you would be trying to change directories into your keyboard. The globally available 'con' file would take precedence over any folders with that same name. (In DOS, IIRC, you couldn't have folders with an extension.) Thus, it isn't even useful to try and create a folder named 'con'. Creating a 'con' file would be even more useless, as you can't change directories into a file.

Programs can't create 'con' files either. Thus, if Calibre, in some way, ends up creating a folder or a file with the name 'con', it will encounter an exception.

(* Officially, it's also impossible to create a file such as .htaccess in Windows. In Windows, it would be a file with only an extension, and without a name. Try it on your desktop. Create a new text file, and call it .htaccess. The error is: "You must type a file name." There are two workarounds: First: Create a file with a valid name such as "file.txt", and then, in a command line, rename it: "ren file.txt .htaccess". Second: Open Notepad, and save the file as ".htaccess". For some weird reason, this works.)
Attached Thumbnails
Click image for larger version

Name:	con_error.png
Views:	117
Size:	21.8 KB
ID:	147640   Click image for larger version

Name:	con_error2.png
Views:	109
Size:	23.8 KB
ID:	147641  

Last edited by Katsunami; 04-06-2016 at 05:34 PM.
Katsunami is offline   Reply With Quote
Advert
Old 04-06-2016, 05:50 PM   #18
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,736
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by BetterRed View Post
FWIW : I changed an author name on a book (test) from 'Nick' to 'con', I got an 267 error and clicked OK, the metadata changed to 'con' but author folder remained as 'Nick' - that may be incongruous but as I understand calibre it's not invalid.

What surprised me was that the book file name remained 'test - Nick.docx' and 'test - Nick.epub'?

Check Library returned no errors.

So how did the OP change the author folder name to CON - in linux maybe?

Added : After I Polished the book I had 'test - Nick.docx' and 'test - con.epub?' and the metadata.opf file had

Code:
        <dc:creator opf:file-as="Nick" opf:role="aut">Nick</dc:creator>
        <dc:contributor opf:file-as="calibre" opf:role="bkp">calibre (2.53.0)
Interesting

BR
... and when I tried to move the above book to another library (which is what Mashkai was actually doing) I got the error as reported by Mashkai.

@Mashkai - look in the Authors tree in the Tag Browser, is there an Author named 'Con' - if there is change the books author to something else - e.g. Constance Worthington

Added : Also check in the target library for the move - you may have a book there by Con - with no author or a book folder - is that valid? It's not reported by Check Library as an error

Suggestion to Kovid : don't allow Author and Title values of CON, LPTn, COMn etc.

Talk about red herrings - this one was at least a few flounderers

BR

Last edited by BetterRed; 04-06-2016 at 07:00 PM.
BetterRed is offline   Reply With Quote
Old 04-06-2016, 05:57 PM   #19
Katsunami
Grand Sorcerer
Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.
 
Katsunami's Avatar
 
Posts: 6,111
Karma: 34000001
Join Date: Mar 2008
Device: KPW1, KA1
Quote:
Originally Posted by BetterRed View Post
Suggestion to Kovid : don't allow Author and Title values of CON, LPTn, COMn etc.
Le shizzle:

Documentation

Code:
   CON     Keyboard and display
   PRN     System list device, usually a parallel port
   AUX     Auxiliary device, usually a serial port
   CLOCK$  System real-time clock
   NUL     Bit-bucket device
   A:-Z:   Drive letters
   COM1    First serial communications port
   LPT1    First parallel printer port
   LPT2    Second parallel printer port
   LPT3    Third parallel printer port
   COM2    Second serial communications port
   COM3    Third serial communications port
   COM4    Fourth serial communications port
It looks like its archived since Windows 95, as the last mentioned OS is MS-DOS 6.22, but this still applies to Windows 10

Last edited by Katsunami; 04-06-2016 at 05:59 PM.
Katsunami is offline   Reply With Quote
Old 04-06-2016, 06:23 PM   #20
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,736
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@Katsunami - legacy, legacy - a mere 21 years. IBM's z/OS supports utilities that came with OS/360 - 51 years.

BR
BetterRed is offline   Reply With Quote
Advert
Old 04-06-2016, 07:31 PM   #21
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,534
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Quote:
Originally Posted by BetterRed View Post
@Katsunami - legacy, legacy - a mere 21 years. IBM's z/OS supports utilities that came with OS/360 - 51 years.

BR
My fave... IEFBR14
PeterT is offline   Reply With Quote
Old 04-06-2016, 08:39 PM   #22
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,736
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by PeterT View Post
My fave... IEFBR14
With which I had nothing to do - back then I was LF.

A glance at History section at its WikiP entry is worth a glance, it's somewhat apposite to this thread.

BR
BetterRed is offline   Reply With Quote
Old 04-06-2016, 09:05 PM   #23
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,365
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Umm people this is already fixed in calibre, https://github.com/kovidgoyal/calibr...ecfa83b830d35f

@Mashkai: Either wait for the next release, or search in your library for authors named con and rename them to something else.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Aura ERROR: Error: Error communicating with device Calibrefan Kobo Reader 2 07-02-2015 02:14 PM
Running recipe error: Python function terminated unexpectedly (Error Code: 1) jpassarella Recipes 0 10-05-2012 12:54 PM
calibre, version 0.8.8 ERROR: Error: Error communicating with device no such column: e-bookuser Devices 1 07-03-2011 04:09 PM
ERROR: Error: Error communicating with device JWood Calibre 10 04-20-2010 07:28 PM
Reader's Screen Went Crazy, Now Sony Wants $267.49 sammykrupa Sony Reader 16 01-10-2007 04:52 PM


All times are GMT -4. The time now is 11:14 AM.


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