LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-15-2014, 01:59 PM   #1
TheMaDHaCkER
LQ Newbie
 
Registered: Jan 2012
Posts: 3

Rep: Reputation: Disabled
Smile Calibre question with some carry over.


Greetings all;

First the Specks;

Gnome Desktop

Debian
Release Kali Linux 1.0.7 64-bit
Kernel Linux 3.14-kali1-amd64
GNOME 3.4.2

Hardware
Memory: 3.5 GiB
Processor: AMD E-450 APU with Radeon(tm) HD Graphics x 2

System Status
Available disk space 51.2 GiB

And the Problem
I installed calibri using the command line from the calibri linux web page and it worked without a bobble.

The command Line was;


sudo -v && wget -nv -O- https://raw.githubusercontent.com/ko...x-installer.py | sudo python -c "import sys; main=lambda:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main()"

Well it worked fine for a time and then ALL the news feeds started to return the error code

Failed feed: NewsFeed (Anandtech)

<urlopen error [Errno 111] Connection refused>

From all the news sites

calibre, version 0.8.51
ERROR: Conversion Error: <b>Failed</b>: Fetch news from TechCrunch

Fetch news from TechCrunch
Resolved conversion options
calibre version: 0.8.51
{'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_download_recipe': False,
'dont_split_on_page_breaks': True,
'duplicate_links_in_toc': False,
'enable_heuristics': False,
'epub_flatten': False,
'extra_css': None,
'extract_to': None,
'filter_css': None,
'fix_indents': True,
'flow_size': 260,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x24639d0>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': 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,
'no_chapters_in_toc': False,
'no_default_epub_cover': False,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': <calibre.customize.profiles.GenericEink object at 0x2463dd0>,
'page_breaks_before': None,
'password': None,
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'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': '',
'search_replace': None,
'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,
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'username': None,
'verbose': 2}
InputFormatPlugin: Recipe Input running
Using proxies: {'http': 'localhost:4001 '}
Failed feed: News
Traceback (most recent call last):
File "/usr/lib/calibre/calibre/web/feeds/news.py", line 1434, in parse_feeds
with closing(self.browser.open(url)) as f:
File "/usr/lib/python2.7/dist-packages/mechanize/_mechanize.py", line 203, in open
return self._mech_open(url, data, timeout=timeout)
File "/usr/lib/python2.7/dist-packages/mechanize/_mechanize.py", line 230, in _mech_open
response = UserAgentBase.open(self, request, data)
File "/usr/lib/python2.7/dist-packages/mechanize/_opener.py", line 193, in open
response = urlopen(self, req, data)
File "/usr/lib/python2.7/dist-packages/mechanize/_urllib2_fork.py", line 344, in _open
'_open', req)
File "/usr/lib/python2.7/dist-packages/mechanize/_urllib2_fork.py", line 332, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/dist-packages/mechanize/_urllib2_fork.py", line 1142, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib/python2.7/dist-packages/mechanize/_urllib2_fork.py", line 1118, in do_open
raise URLError(err)
URLError: <urlopen error [Errno 111] Connection refused>

Traceback (most recent call last):
File "/usr/bin/calibre-parallel", line 19, in <module>
sys.exit(main())
File "/usr/lib/calibre/calibre/utils/ipc/worker.py", line 191, in main
result = func(*args, **kwargs)
File "/usr/lib/calibre/calibre/gui2/convert/gui_conversion.py", line 25, in gui_convert
plumber.run()
File "/usr/lib/calibre/calibre/ebooks/conversion/plumber.py", line 972, in run
accelerators, tdir)
File "/usr/lib/calibre/calibre/customize/conversion.py", line 208, in __call__
log, accelerators)
File "/usr/lib/calibre/calibre/ebooks/conversion/plugins/recipe_input.py", line 105, in convert
ro.download()
File "/usr/lib/calibre/calibre/web/feeds/news.py", line 861, in download
res = self.build_index()
File "/usr/lib/calibre/calibre/web/feeds/news.py", line 1013, in build_index
raise ValueError('No articles found, aborting')
ValueError: No articles found, aborting

Well there is the error report. I have tryed to uninstall calibre using 2 package managers as well as

apt-get --purge remove calibre
apt-get clean

and then a reinstall

So: Any suggestions?

Last edited by TheMaDHaCkER; 06-15-2014 at 02:02 PM.
 
Old 06-15-2014, 03:56 PM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Have you tried install calibre using this command?
Code:
sudo apt-get install calibre
That same command should install calibre-bin at the same time. Install it manually if it doesn't.
jdk
 
1 members found this post helpful.
Old 06-15-2014, 08:24 PM   #3
TheMaDHaCkER
LQ Newbie
 
Registered: Jan 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Wink

Quote:
Originally Posted by jdkaye View Post
Have you tried install calibre using this command?
Code:
sudo apt-get install calibre
That same command should install calibre-bin at the same time. Install it manually if it doesn't.
jdk
Yep: that is the reinstall part of what I did. My problem is JUST with the news retreval system of calibre. I think that some dependent program got messed up or a flag was set the wrong way. Which could be just a singal bit. I have been doing further research and it might be the "getlive" program that seem to do something with news retreaval. Research continues apace.
 
Old 06-16-2014, 01:58 AM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by TheMaDHaCkER View Post
Yep: that is the reinstall part of what I did. My problem is JUST with the news retreval system of calibre. I think that some dependent program got messed up or a flag was set the wrong way. Which could be just a singal bit. I have been doing further research and it might be the "getlive" program that seem to do something with news retreaval. Research continues apace.
Ok, I see. I have never used that feature (retrieving news in epub format) so I have zero experience with it. At some point I could no longer download and install updated versions from the Calibre website so I switched to doing it the package way. There was some security package that I didn't have installed that bothered Calibre.
jdk
 
1 members found this post helpful.
Old 06-17-2014, 04:45 PM   #5
TheMaDHaCkER
LQ Newbie
 
Registered: Jan 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Do you happen to know the file/files where calibre stores it's settings? When I remove it there is some file left behind because when it is reinstalled It knows where the last library it worked with and what news letters it is suppost to download are. (And the library is on a second drive so I KNOW that it is not the default setting. So it has a file remembering from one install to the next the default information that I programmed into it when I set it up the first time. If I am able to destroy the default files when I remove the program; Then when I reinstall it should ask me for all the basics and setup the file that tells it what to do each time. But I need to delete that default file. And I am not quite good enough with Linux to be able to do that. I found that the program itself is stored in the opt/calibre directory and I am tempted to just wipe out the calibre Dir manually and then do a reinstall but I have no idea if any other programs relay on any file that is stored here and so am hesitant to just kill them all and let god sort them out because with my luck I would get rid of everything but the problem.
 
Old 06-17-2014, 06:09 PM   #6
JeremyBoden
Senior Member
 
Registered: Nov 2011
Distribution: Debian
Posts: 1,026

Rep: Reputation: 203Reputation: 203Reputation: 203
If you do a purge remove, it will delete everything except stuff in /home.
You should find a load of stuff in ~/.config/calibre/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Search and Read Books from Calibre's Library in Ubuntu 13.10 with Unity Calibre Scope LXer Syndicated Linux News 0 11-22-2013 09:12 PM
Concealed Carry mjolnir General 80 07-04-2011 10:19 AM
Please help me to interpret how to carry out this instruction.. Niceman2005 Linux - General 1 03-12-2006 07:06 PM
carry partitioning... mahamkali Linux - General 3 02-10-2005 12:06 PM


All times are GMT -5. The time now is 07:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration