Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-25-2014, 05:36 AM   #1
annekaelber
Enthusiast
annekaelber began at the beginning.
 
annekaelber's Avatar
 
Posts: 32
Karma: 10
Join Date: Mar 2014
Location: Mesa, AZ, USA
Device: Samsung Galaxy S3 and Note 8.0
Custom Column on Content Server: 404 Not Found

I have several custom columns in use in my Calibre library. When I look at my library via the content server, a couple of the those custom columns come back with a "404 Not Found". Can someone point me to the part of the manual/FAQ or this forum which sets me in the right direction to figure this problem out?

I'm running Calibre 1.13.0 and Win 7, 64-bit inside a home network.

Thank you,

Anne.
annekaelber is offline   Reply With Quote
Old 03-25-2014, 10:39 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,920
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by annekaelber View Post
I have several custom columns in use in my Calibre library. When I look at my library via the content server, a couple of the those custom columns come back with a "404 Not Found". Can someone point me to the part of the manual/FAQ or this forum which sets me in the right direction to figure this problem out?

I'm running Calibre 1.13.0 and Win 7, 64-bit inside a home network.

Thank you,

Anne.
Note: You are 16 release stale
Many things have changed since 1 dot 13 (the Editor for one)
Have you tried the latest Version? Calibre is always stomping out bugs and that problem may have been addressed.

The column lookupname should be lowercase ASCII text
theducks is offline   Reply With Quote
Advert
Old 03-25-2014, 09:44 PM   #3
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,645
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by annekaelber View Post
I have several custom columns in use in my Calibre library. When I look at my library via the content server, a couple of the those custom columns come back with a "404 Not Found". Can someone point me to the part of the manual/FAQ or this forum which sets me in the right direction to figure this problem out?

I'm running Calibre 1.13.0 and Win 7, 64-bit inside a home network.

Thank you,

Anne.
@annekaelber - are you using url links within a long-text (comments like) custom column or in Comments itself - or something similar?

BR
BetterRed is offline   Reply With Quote
Old 03-26-2014, 02:49 AM   #4
annekaelber
Enthusiast
annekaelber began at the beginning.
 
annekaelber's Avatar
 
Posts: 32
Karma: 10
Join Date: Mar 2014
Location: Mesa, AZ, USA
Device: Samsung Galaxy S3 and Note 8.0
Quote:
Originally Posted by theducks View Post
Note: You are 16 release stale
Many things have changed since 1 dot 13 (the Editor for one)
I've just upgraded to 1.29, but that doesn't seem to have corrected the "404 Not Found" issue on my custom column.

I have 4 readers who will use my library. To make it easier for me to load books for them (until I find a better way which let's them do it), I've created 4 custom columns. They all follow the same format as the one for me:

Lookup name: anne_read
Column Heading: Anne
Column Type: Text, but with a fixed set of permitted values
Show checkmarks
Values: past,future

I have verified that all four custom columns are configured identically. Mine works. Two of the other three work (the fourth doesn't have any data yet and isn't showing up on the content server).

Anne.
annekaelber is offline   Reply With Quote
Old 03-26-2014, 09:42 AM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,920
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by annekaelber View Post
I've just upgraded to 1.29, but that doesn't seem to have corrected the "404 Not Found" issue on my custom column.

I have 4 readers who will use my library. To make it easier for me to load books for them (until I find a better way which let's them do it), I've created 4 custom columns. They all follow the same format as the one for me:

Lookup name: anne_read
Column Heading: Anne
Column Type: Text, but with a fixed set of permitted values
Show checkmarks
Values: past,future

I have verified that all four custom columns are configured identically. Mine works. Two of the other three work (the fourth doesn't have any data yet and isn't showing up on the content server).

Anne.
There is a Tweak: ID: content_server_will_display

had you set the othes a loooog time ago?
theducks is offline   Reply With Quote
Advert
Old 03-26-2014, 04:04 PM   #6
annekaelber
Enthusiast
annekaelber began at the beginning.
 
annekaelber's Avatar
 
Posts: 32
Karma: 10
Join Date: Mar 2014
Location: Mesa, AZ, USA
Device: Samsung Galaxy S3 and Note 8.0
Quote:
Originally Posted by theducks View Post
There is a Tweak: ID: content_server_will_display

had you set the othes a loooog time ago?

I just checked my tweaks area and it's set to:

Code:
# Set custom metadata fields that the content server will or will not display.

content_server_will_display = ['*']

content_server_wont_display = []
If I understand the tweak directions correctly, this should be right for my custom fields.

You asked if I had set the others a long time ago -- I'm not sure I understand your question... I created my column first. Then I created the columns for the other users. I'm pretty sure one of the additional columns *had* been working on the content server...

Also, I noticed a typo in my previous message which changes things: the 3 additional users are NOT working... even though I am now running Calibre 1.29.

Anne.
annekaelber is offline   Reply With Quote
Old 03-26-2014, 04:11 PM   #7
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
In my experience, if a custom column is set to not display, then it shouldn't show up and lead to a 404, it should just not be there.
eschwartz is offline   Reply With Quote
Old 03-26-2014, 04:12 PM   #8
annekaelber
Enthusiast
annekaelber began at the beginning.
 
annekaelber's Avatar
 
Posts: 32
Karma: 10
Join Date: Mar 2014
Location: Mesa, AZ, USA
Device: Samsung Galaxy S3 and Note 8.0
Quote:
Originally Posted by eschwartz View Post
In my experience, if a custom column is set to not display, then it shouldn't show up and lead to a 404, it should just not be there.
Which matches what my tweak is set to do: show the custom columns. Any idea why I'm getting the 404 then?

Anne.
annekaelber is offline   Reply With Quote
Old 04-05-2014, 12:51 AM   #9
annekaelber
Enthusiast
annekaelber began at the beginning.
 
annekaelber's Avatar
 
Posts: 32
Karma: 10
Join Date: Mar 2014
Location: Mesa, AZ, USA
Device: Samsung Galaxy S3 and Note 8.0
I think I figured it out. If the custom field doesn't have any books marked for the values defined, then it displays a 404 Not Found. The values for my custom column are "past" and "future" (because in the English language, the word "read" can be past tense or future tense). I didn't have any books in my library marked for one of the columns, at all. And for the others, I didn't have *both* options represented.

Seems like that could become a problem, since eventually ALL the books in my library would be set to "past" for each reader and therefore there will be no "future" listings. (Ok, highly unlikely, but it *is* possible.) Does that make this a bug for custom columns?

Anne.
annekaelber is offline   Reply With Quote
Old 04-05-2014, 03:09 AM   #10
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,353
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
@annekaelber: is the content server using a virtual library?
chaley is offline   Reply With Quote
Old 04-05-2014, 03:10 AM   #11
annekaelber
Enthusiast
annekaelber began at the beginning.
 
annekaelber's Avatar
 
Posts: 32
Karma: 10
Join Date: Mar 2014
Location: Mesa, AZ, USA
Device: Samsung Galaxy S3 and Note 8.0
Quote:
Originally Posted by chaley View Post
@annekaelber: is the content server using a virtual library?
I don't think so. How would I know?

Anne.
annekaelber is offline   Reply With Quote
Old 04-05-2014, 03:13 AM   #12
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,353
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by annekaelber View Post
I don't think so. How would I know?

Anne.
You would see it in Preferences / Sharing over the net, or you would have set calibre to start up using a virtual library in Preferences / Behavior.

BTW: I can replicate this problem using a virtual library, which is why I asked. It could be that the VL in fact is not the cause, but is instead a trigger for something else. I am looking at the code now in hopes I can figure this out.
chaley is offline   Reply With Quote
Old 04-05-2014, 04:26 AM   #13
annekaelber
Enthusiast
annekaelber began at the beginning.
 
annekaelber's Avatar
 
Posts: 32
Karma: 10
Join Date: Mar 2014
Location: Mesa, AZ, USA
Device: Samsung Galaxy S3 and Note 8.0
Quote:
Originally Posted by chaley View Post
You would see it in Preferences / Sharing over the net, or you would have set calibre to start up using a virtual library in Preferences / Behavior.

BTW: I can replicate this problem using a virtual library, which is why I asked. It could be that the VL in fact is not the cause, but is instead a trigger for something else. I am looking at the code now in hopes I can figure this out.
Nope, no virtual library... but i was able to re-create it when I removed all instances of "past" in one reader's column. I re-set these books to the empty field, to duplicate this.

Anne.
annekaelber is offline   Reply With Quote
Old 04-05-2014, 04:37 AM   #14
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,353
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
I found the problem, and it is a calibre bug. It will happen with any custom column type where only one value is used. Explanation: if there is only one value used, the content server skips the "Values" page and goes directly to the books. There is an error there where the custom column lookup name is corrupted, so no books were found.

I have submitted a fix to Kovid. If all goes well the fix (or one like it) should be in calibre source in the next day or two, and in the next release.
chaley is offline   Reply With Quote
Old 04-05-2014, 04:39 AM   #15
annekaelber
Enthusiast
annekaelber began at the beginning.
 
annekaelber's Avatar
 
Posts: 32
Karma: 10
Join Date: Mar 2014
Location: Mesa, AZ, USA
Device: Samsung Galaxy S3 and Note 8.0
Quote:
Originally Posted by chaley View Post
I found the problem, and it is a calibre bug. It will happen with any custom column type where only one value is used. Explanation: if there is only one value used, the content server skips the "Values" page and goes directly to the books. There is an error there where the custom column lookup name is corrupted, so no books were found.

I have submitted a fix to Kovid. If all goes well the fix (or one like it) should be in calibre source in the next day or two, and in the next release.
That is really awesome of you to do! Thank you so much!

Anne.
annekaelber is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom column returns value based on value of another custom column? calvin-c Calibre 3 09-14-2013 02:24 PM
Calibre-Server: no pages found (404) in OSX cdaller Calibre 7 04-06-2013 03:40 PM
Update custom column's content? Pepin33 Development 1 08-18-2012 02:16 PM
Touch Kobo/Adobe not working--error 404 when I try to get the pubs--Server down? tea2 Kobo Reader 4 07-02-2012 09:02 AM
Content server and custom columns problem capnm Calibre 2 03-01-2011 03:25 PM


All times are GMT -4. The time now is 03:40 AM.


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