Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 08-23-2011, 06:58 AM   #1
phisalis
Member
phisalis began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Aug 2011
Device: kindle3
News downloads don't complete

Hi folks

I posted this problem in the introduction forum (I'm new here) but this is probably a better place. A list of Calibre provided details is included in the original post.

I thought no news was downloading, because the error message says 'Failed to download news' but it seems it is downloading, converting successfully but is then being abandoned in the /tmp directory with an incorrect error message.

The news in /tmp is in the form of a .mobi file with a random string for a filename. Calibre then deletes it from /tmp when it quits - so I'd assumed it really was a news download failure.

I'm running Xubuntu 11.04 but I spent a weekend trying different linux distributions including Mint, lubuntu, fedora and ubuntu in 32-bit and 64-bit versions. In these I tried the packaged version of Calibre as well as the latest binary. I get the same result - Calibre downloads, converts and then abandons the file.

The fatal error appears to be with ICE - whatever that is. If anyone has any ideas I'd love to hear them.

Finally, all other Net services work. I have no firewall or proxy set. The PC goes out through a router and so does my wife's windows XP laptop, on which calibre works fine. The problem appears to be internal.

Thanks
phisalis is offline   Reply With Quote
Old 08-23-2011, 07:06 AM   #2
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
First, the binary install version in accordance with calibre's download site is the only supported version.

Second, If you click the jobs in the lower right of calibre you can get the details of the download and conversion. This info should be posted here with spoiler tags around it (eye with a red X through it in the advanced editor.)

Third, Is your device connected when it is being downloaded? If it is it might be transferring it upon download and deleting the download from the library.

Fourth, What version of calibre are you running? Check the status bar on the bottom left of calibre.
DoctorOhh is offline   Reply With Quote
Advert
Old 08-23-2011, 07:22 AM   #3
phisalis
Member
phisalis began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Aug 2011
Device: kindle3
Hi

I'm running the latest binary at the moment 0.8.15, downloaded yesterday.

No devices are connected to the computer - so no transfer. Though I did try it over the weekend but with the same result.

All the details of the failure are in my original post in Introduce Yourself, but this bit at the end appears to be the problem

Compressing markup content...
MOBI periodical specified, evaluating TOC for periodical conformance ...
TOC structure conforms
Generating structured CTOC ...
CNCX utilization: 1 record, 42% full
Indexing navPoints ...
Generating INDX ...
Serializing images...
MOBI output written to /tmp/calibre_0.8.15_tmp_OPp5sl/dFqrEz_recipe_out.mobi
ICE default IO error handler doing an exit(), pid = 2404, errno = 32

It's the ICE error - every time. It leaves a processed but randomly named version of the file in /tmp. Then deletes it as part of the quit cleanup.
phisalis is offline   Reply With Quote
Old 08-23-2011, 08:04 AM   #4
phisalis
Member
phisalis began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Aug 2011
Device: kindle3
update

Hi folks

After deleting the .ICEauthority file from my home directory calibre just successfully completed a download of El Pais

This is, to say the least, weird.

Now I'm waiting to see what I've broken by deleting the .ICE file

Out of interest, it wasn't a permissions issue. I checked before deleting it and the file was owned by me as current user and had the correct RW permissions.

I have seen where this file gets incorrect permissions for random reasons but that doesn't appear to be my issue.

Thanks for listening, folks. I'll keep trying. I'm now about to reboot. According to some posts the xfce4 desktop needs the .ICE file to start. If you don't hear from me soon I'm re-installing.
phisalis is offline   Reply With Quote
Old 08-23-2011, 08:17 AM   #5
phisalis
Member
phisalis began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Aug 2011
Device: kindle3
It's me again

I just rebooted the system and tried Calibre again - same failure. The .ICE file has re-appeared and I had to delete it to make Calibre work properly.

OK, it is a solution, albeit one that must be applied every time I want to use Calibre - but it is a solution. I'm still looking for a better one.

calibre, version 0.8.15
ERROR: Conversion Error: <b>Failed</b>: Fetch news from El Universal

Fetch news from El Universal
Resolved conversion options
***
lots of stuff that worked
******
Transformed CSS selector .noteTitle to .notetitle
Converting TOC for MOBI periodical indexing...
Using mastheadImage supplied in manifest...
Serializing markup content...
Compressing markup content...
MOBI periodical specified, evaluating TOC for periodical conformance ...
TOC structure conforms
Generating structured CTOC ...
CNCX utilization: 1 record, 37% full
Indexing navPoints ...
Generating INDX ...
Serializing images...
MOBI output written to /tmp/calibre_0.8.15_tmp__H68bu/0Of0rt_recipe_out.mobi
ICE default IO error handler doing an exit(), pid = 3371, errno = 32


And so we wend our weary way to more research, more trials, more failures

Cheers
phisalis is offline   Reply With Quote
Advert
Old 08-23-2011, 08:32 AM   #6
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Definitely not a calibre induced problem. It seems like a permissions thingy but Linux isn't my area of expertise. Let us know if you figure it out before some kind soul here lets you in on the ICE secret.
DoctorOhh is offline   Reply With Quote
Old 08-23-2011, 08:57 AM   #7
phisalis
Member
phisalis began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Aug 2011
Device: kindle3
Always nice to get a definitive answer

I'm being facetious, dwanthy, of course, but surely it is a Calibre problem if nothing except Calibre suffers from it?

This isn't a new problem for me. I've had it on three different PCs running a wide variety of Linux distributions since version 6.xxx of Calibre (the first I tried). Since those days I'm using a different router and a different ISP as well. These are default Linux installations on perfectly ordinary hardware.

I come back every few months to try it again but it never works. So I just keep using my wife's Windows Xp PC for downloads. Saying it isn't a Calibre problem is just disengenuous. If all other software runs fine except yours then the problem is your software - not my computers.

I have no idea what Calibre does with ICE at the end of the process. I'm a plumber, not a software engineer. I have neither the tools nor the knowledge to watch what Calibre does when it interacts with ICE. But I do know it doesn't do whatever other programs do because other programs don't die with an error message when they interact with ICE. So it is a Calibre problem unless you're saying that Calibre isn't supposed to run on Xubuntu.

Finally, as Calibre does complete the news download if I delete the ICEauthority file each time then it is clearly an error in the way that Calibre handles the ICE file - an error other software on my system doesn't make.

Thank you for listening and I too hope someone understands the origins of this problem and can point me in a rather more useful direction than 'Definitely not a calibre induced problem'. Of course it's a Calibre induced problem because I've yet to find another program that does it.
phisalis is offline   Reply With Quote
Old 08-23-2011, 11:03 AM   #8
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: 43,778
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Since you say you're plumber, lets use a plumbing analogy. Suppose you have a customer who complains that the pipe under his sink is leaking. He further tells you that it is a PVC pipe manufactured by the Acme corporation. And he says that he has tried these pipes in three different houses and they always leak, and no other pipes in his houses leak, therefore pipes made by the Acme corporation must be bad. When you go to his houses you find he has a toddler that likes to dig holes into that particular pipe.

You have some software common to all your linux systems that is messing with the ICE file. You have to figure out what it is. And if you're wondering why I am so certain this has nothing to do with calibre, simply download the calibre source code for yourself and run the following on it

grep -r ICEauthority *

which will tell you that nowhere in the calibre source code is there a single reference to ICEauthority. So calibre cannot be directly manipulating ICEauthority in any way.
kovidgoyal is offline   Reply With Quote
Old 08-23-2011, 11:03 AM   #9
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Googling the phrase"ICE default IO error handler doing an exit" from your original post shows that the error message is not unknown and not related specifically to Calibre. There's lots of discussion of the error message in the MythTV forums and it crops up in connection with various other programs. I doubt that anyone here can give much guidance unless you can provide more info.
Starson17 is offline   Reply With Quote
Old 08-23-2011, 12:36 PM   #10
phisalis
Member
phisalis began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Aug 2011
Device: kindle3
Thanks for your help guys. And my apologies for the bad attitude. It's boorish to complain about work people do for free.

It does seem to be an .ICEauthority issue but not a permissions issue with the file itself. In fact, although I've tried a few of the terminal sudo starts of various programs nothing seems to reset the permissions, owner or group of this file. It's mere presence is enough to break Calibre.

Anyway, I've just written a Bash script to call the calibre start script, but first it deletes the .ICEauthority file. Now Calibre works as it should and nothing else appears to be broken (so far).

I realise that this is a really dirty solution. I'd much rather Calibre played nice. And I still can't find an explanation for the file. What is it for if it's absence doesn't matter? If the various problems in the forums are representative then this file is there just to break things. Kill it with fire.
phisalis is offline   Reply With Quote
Old 08-23-2011, 12:44 PM   #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: 43,778
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Rather than deleting it, set its perms to 777

chmod 0777 ~/.ICEauthority
kovidgoyal is offline   Reply With Quote
Old 08-23-2011, 02:24 PM   #12
phisalis
Member
phisalis began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Aug 2011
Device: kindle3
permissions

Thanks for the suggestion. I tried it. It doesn't help. If the ICE file is there then Calibre breaks - even if everyone in the worls can do whatever they like to it. Even if it's brand new after a reboot. Even if I show it nice pictures of ponies. Only if I delete it does Calibre news download work.

It seems as if the problem lies at a lower level than I'm competent to address. But killing the ICEauthority file definitely works and so far, so does everything else.

Since this is the first thing I've found that does work I think I'll stick with it until a more elegant solution comes along

Thanks again for your time
phisalis is offline   Reply With Quote
Old 08-24-2011, 12:25 PM   #13
28tommie
Junior Member
28tommie began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2011
Device: Kindle
Hi
Firstly a big thank you to all involved in Calibre - the best part of my Kindle.

I found the news downloads especially useful and am using BBC News as one of the feeds. Using Windows XP and Calibre v 0.8.15

Everything was working fine until last Saturday, but on my next download yesterday I also got an error in the download.

It does not seem to be the same error, but there are similarities (files seem to be available in the Temp folder).

All other news feeds download without problems.

Any suggestions?

Extract from error code:
Spoiler:

Fetch news from BBC News
Resolved conversion options
calibre version: 0.8.12
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0,
'book_producer': None,
'change_justification': 'original',
'chapter': None,
'chapter_mark': 'pagebreak',
'comments': None,
'cover': None,
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_compress': False,
'dont_download_recipe': False,
'duplicate_links_in_toc': False,
'enable_heuristics': False,
'extra_css': None,
'fix_indents': True,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x040EFDD0>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': False,
'kindlegen': False,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0,
'linearize_tables': False,
'lrf': False,
'margin_bottom': 5.0,
'margin_left': 5.0,
'margin_right': 5.0,
'margin_top': 5.0,
'markup_chapter_headings': True,
'max_toc_links': 50,
'minimum_line_height': 120.0,
'mobi_ignore_margins': False,
'mobi_toc_at_start': False,
'no_chapters_in_toc': False,
'no_inline_navbars': True,
'no_inline_toc': False,
'output_profile': <calibre.customize.profiles.KindleOutput object at 0x040F8110>,
'page_breaks_before': None,
'password': None,
'personal_doc': '[PDOC]',
'prefer_author_sort': False,
'prefer_metadata_cover': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': None,
'remove_fake_margins': True,
'remove_first_image': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'renumber_headings': True,
'replace_scene_breaks': '',
'rescale_images': False,
'series': None,
'series_index': None,
'smarten_punctuation': False,
'sr1_replace': '',
'sr1_search': '',
'sr2_replace': '',
'sr2_search': '',
'sr3_replace': '',
'sr3_search': '',
'tags': None,
'test': False,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'unwrap_lines': True,
'use_auto_toc': False,
'username': None,
'verbose': 2}
InputFormatPlugin: Recipe Input running
Skipping article Shell defends safety after leak (Mon, 22 Aug, 2011 10:55) from feed Science/Nature as it is too old.
Skipping article Species heading faster to poles (Sun, 21 Aug, 2011 01:13) from feed Science/Nature as it is too old.

......

Skipping article 'Slave maid' in Lebanon (Fri, 19 Aug, 2011 14:28) from feed Africa as it is too old.
Synthesizing mastheadImage
Downloading
DownloadingDownloadingDownloading


DownloadingFetching
http://www.bbc.co.uk/go/rss/int/news...cific-14600366
Fetching Fetchinghttp://www.bbc.co.uk/go/rss/int/news/-/news/world-asia-pacific-14644367
Fetchinghttp://www.bbc.co.uk/go/rss/int/news/-/news/world-latin-america-14641567
Fetchinghttp://www.bbc.co.uk/go/rss/int/news/-/news/world-africa-14646334
http://www.bbc.co.uk/go/rss/int/news...anada-14642212
Processing images...
Fetching http://news.bbcimg.co.uk/media/image...beaglkeyap.jpg
Recursion limit reached. Skipping links in http://www.bbc.co.uk/go/rss/int/news...anada-14642212
http://www.bbc.co.uk/go/rss/int/news...anada-14642212 saved to c:\docume~1\admini~1\locals~1\temp\calibre_0.8.12_ tmp_xggl6l\calibre_0.8.12_zdo2a8_plumber\feed_0\ar ticle_4\index.xhtml

......

Downloaded article: AUDIO: Cameroon's Lake Nyos: 25 years on from http://www.bbc.co.uk/go/rss/int/news...frica-14618964
Parsing all content...
Parsing feed_0/index.html ...
Initial parse failed:
Traceback (most recent call last):
File "site-packages\calibre\ebooks\oeb\base.py", line 886, in first_pass
File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
File "parser.pxi", line 1445, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78709)
File "parser.pxi", line 920, in lxml.etree._BaseParser._parseUnicodeDoc (src/lxml/lxml.etree.c:75083)
File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Opening and ending tag mismatch: hr line 29 and div, line 30, column 7

Parsing file 'feed_0/index.html' as HTML
Forcing feed_0/index.html into XHTML namespace
Parsing feed_2/article_13/index.html ...
Parsing feed_5/article_29/index.html ...

......

Parsing feed_10/article_42/index.html ...
Initial parse failed:
Traceback (most recent call last):
File "site-packages\calibre\ebooks\oeb\base.py", line 886, in first_pass
File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
File "parser.pxi", line 1445, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78709)
File "parser.pxi", line 920, in lxml.etree._BaseParser._parseUnicodeDoc (src/lxml/lxml.etree.c:75083)
File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Entity 'squot' not defined, line 5, column 144

.....

Parsing file 'feed_3/article_8/index.html' as HTML
Forcing feed_3/article_8/index.html into XHTML namespace
Parsing feed_8/article_19/index.html ...
Parsing feed_7/article_22/index.html ...
Parsing feed_11/article_19/index.html ...
Initial parse failed:
Traceback (most recent call last):
File "site-packages\calibre\ebooks\oeb\base.py", line 886, in first_pass
File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
File "parser.pxi", line 1445, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78709)
File "parser.pxi", line 920, in lxml.etree._BaseParser._parseUnicodeDoc (src/lxml/lxml.etree.c:75083)
File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Entity 'squot' not defined, line 5, column 46

....

Parsing file 'feed_0/article_42/index.html' as HTML
Forcing feed_0/article_42/index.html into XHTML namespace
Parsing feed_0/article_43/index.html ...
Referenced file '/news/world-africa-13755445' not found
.......
Referenced file '/sport2/hi/judo/9571840.stm' not found
Referenced file '/news/business/market_data/shares/3/87158/default.stm' not found
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Flattening CSS and remapping font sizes...

Last edited by Starson17; 08-24-2011 at 01:53 PM. Reason: Add spoiler tags for readability.
28tommie is offline   Reply With Quote
Old 08-24-2011, 05:28 PM   #14
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: 43,778
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
There is no actual error in the log you posted. Is it complete?
kovidgoyal is offline   Reply With Quote
Old 08-25-2011, 01:20 PM   #15
phisalis
Member
phisalis began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Aug 2011
Device: kindle3
success

I thought I ought to let you know that this approach works perfectly. The following script just moves the ICEauthority file somewhere else, runs Calibre - which happily completes all the newsfeeds, then, when I quit Calibre,it puts the ICEauthority file back where it belongs and everything is wonderful.

#!/bin/bash
# set variables
ICE="/home/steve/.ICEauthority"
ICETMP="/home/steve/keepsafe/.ICEauthority"
CALIBRE="/home/steve/software/calibre/calibre/calibre"
# check ICEauthority file exists
if [ -e $ICE ];
then
mv $ICE $ICETMP
else
echo "No such file"
fi
# run calibre now ICEauthority file is out of the way
$CALIBRE
# when calibre quits we put the file back where it should be
mv $ICETMP $ICE
# quit shell when everything is done


It may be quick and dirty but it solves the problem. If you use it then change the paths in the variables to suit your own system. Oh, and some error checking would be nice
phisalis is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
automating news downloads jimh12345 Recipes 8 07-07-2011 04:09 PM
Is this method of scheduling news downloads possible? barium Recipes 3 05-23-2011 02:19 PM
Downloads yesterdays news deppeler Recipes 0 01-12-2011 11:56 AM
Sllooooowwwww news downloads syfr Calibre 8 01-22-2010 07:28 AM
News Downloads timing ccadi Calibre 2 01-19-2009 12:11 PM


All times are GMT -4. The time now is 02:53 AM.


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