Reply
Thread Tools
rebhana's Avatar
Posts: 579 | Thanked: 471 times | Joined on Jan 2010 @ Austria
#31
Originally Posted by gsever View Post
The right is just enable squeeze repos first and use apt-get update, apt-get install calibre right?
Don't know whether one could get it to work with more of sid, but what I did was within squeeze only at first. After it was working, I upgraded calibre to the sid version without harm.
__________________
Need more apps for the N900? Check out Qole's Easy Debian and read the wiki!
My Easy Debian installation log
 
Banned | Posts: 388 | Thanked: 57 times | Joined on Mar 2010
#32
Another fresh setup another failure. I enabled squeeze and followed the same steps. Still get libpulse0 error. I wonder if I need to disable lenny and try only with squeeze enabled?
 
Banned | Posts: 388 | Thanked: 57 times | Joined on Mar 2010
#33
Failed again (libpulse0) when only and only squeeze repos active. You must have a trick by-passing this issue.
 
Banned | Posts: 388 | Thanked: 57 times | Joined on Mar 2010
#34
I was able to get it working at my 300th post. After doing an extra apt-get install libpulse0 while squeeze repo is still active. Calibre gets up, but seems a bit slow running. It would be great if another custom image compo is shared with the most requested apps on it.
 
Posts: 250 | Thanked: 126 times | Joined on Dec 2010
#35
Originally Posted by rebhana View Post
I've succeeded in installing calibre in Easy Debian, see my postings in the main Easy Debian thread.
I've succesfully install calibre with your instruction in easy debian and it worked just great until I've tried to convert a pdf to another format and have the same error over and over again any idea how to solve
thanks
this is what i get
ERROR: Error de conversión: <b>Fallo</b>: Convertir el libro 1 de 1 (Los-Cinco-Lenguajes-Del-AMOR)

Convertir el libro 1 de 1 (Los-Cinco-Lenguajes-Del-AMOR)
Resolved conversion options
calibre version: 0.7.7
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_justification': u'original',
'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., 'chapter|book|section|part\\s+', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': None,
'debug_pipeline': None,
'disable_font_rescaling': False,
'dont_split_on_page_breaks': False,
'extra_css': None,
'extract_to': None,
'flow_size': 260,
'font_size_mapping': None,
'footer_regex': u'(?i)(?<=<hr>)((\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?\\d+<br>\\s*.*?\\s*)|(\\s* <a name=\\d+></a>((<img.+?>)*<br>\\s*)?.*?<br>\\s*\\d+))(?=<br>)' ,
'header_regex': u'(?i)(?<=<hr>)((\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?\\d+<br>\\s*.*?\\s*)|(\\s* <a name=\\d+></a>((<img.+?>)*<br>\\s*)?.*?<br>\\s*\\d+))(?=<br>)' ,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x12f3870>,
'insert_blank_line': False,
'insert_metadata': False,
'isbn': None,
'keep_ligatures': False,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0.0,
'linearize_tables': False,
'margin_bottom': 5.0,
'margin_left': 5.0,
'margin_right': 5.0,
'margin_top': 5.0,
'max_toc_links': 50,
'new_pdf_engine': False,
'no_chapters_in_toc': False,
'no_default_epub_cover': False,
'no_images': False,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': <calibre.customize.profiles.OutputProfile object at 0x12f3a50>,
'page_breaks_before': u"//*[name()='h1' or name()='h2']",
'prefer_metadata_cover': False,
'preprocess_html': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': '/tmp/calibre_0.7.7_UJAtuv.opf',
'remove_first_image': False,
'remove_footer': False,
'remove_header': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'series': None,
'series_index': None,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'unwrap_factor': 0.5,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: PDF Input running
on /home/user/MyDocs/calibre/Desconocido/Los-Cinco-Lenguajes-Del-AMOR (3)/Los-Cinco-Lenguajes-Del-AMOR - Desconocido.pdf
Converting file to html...
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 99, in main
result = func(*args, **kwargs)
File "/usr/lib/calibre/calibre/gui2/convert/gui_conversion.py", line 24, in gui_convert
plumber.run()
File "/usr/lib/calibre/calibre/ebooks/conversion/plumber.py", line 815, in run
accelerators, tdir)
File "/usr/lib/calibre/calibre/customize/conversion.py", line 211, in __call__
log, accelerators)
File "/usr/lib/calibre/calibre/ebooks/pdf/input.py", line 50, in convert
pdftohtml(os.getcwd(), stream.name, options.no_images)
File "/usr/lib/calibre/calibre/ebooks/pdf/pdftohtml.py", line 55, in pdftohtml
raise ConversionError(_('Could not find pdftohtml, check it is in your PATH'))
calibre.ebooks.ConversionError
 
Posts: 915 | Thanked: 3,209 times | Joined on Jan 2011 @ Germany
#36
Originally Posted by guilledoc View Post
raise ConversionError(_('Could not find pdftohtml, check it is in your PATH'))
calibre.ebooks.ConversionError
pdftohtml is in the package poppler-utils. Install it and try again!
 

The Following User Says Thank You to sulu For This Useful Post:
Posts: 1 | Thanked: 0 times | Joined on Jun 2011
#37
I tried installing calibre in EasyDebian using the install method on the calibre website. (Not from the repos.) It started downloading but stopped at 12 per cent with the following error messages:

Traceback (most recent call last):
File "<string>", line 1, in <module>
File "<string>", line 285, in main
File "<string>", line 243, in download_and_extract
File "<string>", line 223, in download_tarball
File "<string>", line 195, in urlretrieve
File "/usr/lib/python2.6/urllib.py", line 93, in urlretrieve
return _urlopener.retrieve(url, filename, reporthook, data)
File "/usr/lib/python2.6/urllib.py", line 271, in retrieve
tfp.write(block)
IOError: [Errno 28] No space left on device

I tried uninstalling some programs from EasyDebian to make space but then when I tried again the result was the same, it stalled at 12 per cent.

Any ideas?
 
Posts: 915 | Thanked: 3,209 times | Joined on Jan 2011 @ Germany
#38
Originally Posted by natgwil View Post
Any ideas?
Depending on the location where the temporary data is stored (either in /tmp or in the current directory) remounting /tmp or the cwd to a file or partition that has more free space might help.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 11:52.