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

Go Back   MobileRead Forums > E-Book Readers > Sony Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 03-03-2008, 05:50 PM   #1
xixix
Junior Member
xixix began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2008
Device: PRS-505
rtf2lrf shows IOError: [Errno 2] if special characters in filename

Dear All,
tried to search forums but no trace of this error or similar
Code:
C:\My Documents\My eBooks>cvt.bat
Processing Agatha Christie - C'Era Una Volta....rtf
Processing Agatha Christie - C'E Un Cadavere In Biblioteca.rtf
Traceback (most recent call last):
  File "convert_from.py", line 207, in <module>
  File "convert_from.py", line 120, in main
  File "convert_from.py", line 82, in process_file
IOError: [Errno 2] No such file or directory: "C:\\My Documents\\My eBooks\\Agatha Christie - C'E Un Cadavere In Biblioteca.rtf"

C:\My Documents\My eBooks>
CVT.BAT file is:
Code:
@echo off
FOR /F "tokens=*" %%a IN ('dir /b "*.rtf"') DO (
  echo Processing %%a
  echo %%a | sed -e "s/\(.*\) - \(.*\)\.[rR][tT][fF]/\"C:\\Program Files\\libprs500\\rtf2lrf\" -a \"\1\" -t \"\2\" --category=Brivido --encoding=utf-8 --base-font-size=8 \"%%a\">NUL/" > tmp_.bat
  call tmp_.bat
  pause
  del tmp_.bat >NUL
)
Offending Filename from explorer is:
Code:
Agatha Christie - C'È Un Cadavere In Biblioteca.rtf
Anyone has tips on this?

Thanks,
Xixix.
xixix is offline   Reply With Quote
Old 03-04-2008, 01:45 PM   #2
Penforhire
Wizard
Penforhire ought to be getting tired of karma fortunes by now.Penforhire ought to be getting tired of karma fortunes by now.Penforhire ought to be getting tired of karma fortunes by now.Penforhire ought to be getting tired of karma fortunes by now.Penforhire ought to be getting tired of karma fortunes by now.Penforhire ought to be getting tired of karma fortunes by now.Penforhire ought to be getting tired of karma fortunes by now.Penforhire ought to be getting tired of karma fortunes by now.Penforhire ought to be getting tired of karma fortunes by now.Penforhire ought to be getting tired of karma fortunes by now.Penforhire ought to be getting tired of karma fortunes by now.
 
Posts: 2,046
Karma: 6612408
Join Date: Nov 2007
Location: Southern California
Device: Kindle PW, PRS-650, iPhone 4, iPad 4
Change the file name?
Penforhire is offline   Reply With Quote
Old 03-04-2008, 03:10 PM   #3
JSWolf
Suspended
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
Posts: 35,392
Karma: 16147088
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Quote:
Originally Posted by Penforhire View Post
Change the file name?
JSWolf is offline   Reply With Quote
Old 03-05-2008, 06:17 PM   #4
xixix
Junior Member
xixix began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2008
Device: PRS-505
Quote:
Originally Posted by JSWolf View Post
OK, you Penforhire start changing filenames of the first 500 ebooks and you JSwolf go on with next 501-1000

Still ?!
xixix is offline   Reply With Quote
Old 03-05-2008, 06:23 PM   #5
JSWolf
Suspended
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
Posts: 35,392
Karma: 16147088
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
But do you really need to bulk convert 1000 eBooks at one time? Can you actually read them fast enough that you need them all NOW?
JSWolf is offline   Reply With Quote
Old 03-05-2008, 06:35 PM   #6
xixix
Junior Member
xixix began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2008
Device: PRS-505
Quote:
Originally Posted by JSWolf View Post
Quote:
Originally Posted by JSWolf View Post
But do you really need to bulk convert 1000 eBooks at one time? Can you actually read them fast enough that you need them all NOW?
Dude ... you here for:

[ ] Laughing?
[ ] Arguing?
[ ] Questioning about reasons for bulk converting?
[ ] Supporting?

Place "X" mark where needed; no multiple choices allowed!
Only one answer is the right one ... others are OT ... you choose!
xixix is offline   Reply With Quote
Old 03-05-2008, 06:39 PM   #7
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: 24,820
Karma: 4369673
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
This works for me. Probably a result of having a non-standard windows file-system encoding, though I realy don't know enough about windows to say more.
kovidgoyal is offline   Reply With Quote
Old 03-05-2008, 11:49 PM   #8
JSWolf
Suspended
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
Posts: 35,392
Karma: 16147088
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Quote:
Originally Posted by xixix View Post
Dude ... you here for:
[X] Laughing?
[ ] Arguing?
[X] Questioning about reasons for bulk converting?
[X] Supporting?

Quote:
Place "X" mark where needed; no multiple choices allowed!
Only one answer is the right one ... others are OT ... you choose!
JSWolf is offline   Reply With Quote
Old 03-06-2008, 08:52 AM   #9
curtw
Outside of a dog
curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.curtw ought to be getting tired of karma fortunes by now.
 
curtw's Avatar
 
Posts: 552
Karma: 1321100
Join Date: Dec 2007
Location: Houston, TX
Device: iPod Touch, Kindle 3, Pandigital Novel Personal, Literati, Nexus 7
Quote:
Originally Posted by xixix View Post
<snip>

Anyone has tips on this?

Thanks,
Xixix.
My recommendation is that you not even bother trying to convert these files. RTF displays as well as (sometimes better than) LRF on the Reader. Why create a problem when none existed before?
curtw is offline   Reply With Quote
Old 03-07-2008, 01:44 AM   #10
xixix
Junior Member
xixix began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2008
Device: PRS-505
Quote:
Originally Posted by curtw View Post
My recommendation is that you not even bother trying to convert these files. RTF displays as well as (sometimes better than) LRF on the Reader. Why create a problem when none existed before?
Reason to convert is that size ratio RTF/LRF = 3/1 on average.

Thank you all for perspectives and support.

Xixix.
xixix 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
Is it possible to sent books to device with filename in non-ascii characters? flyisland Calibre 8 10-16-2010 05:35 AM
IOError: [Errno 22] Invalid argument jkcoder Calibre 5 09-25-2010 09:28 AM
Content PDF: Homescreen shows Filename instead of Title (Metadata) bear4hunter Amazon Kindle 1 08-02-2010 12:35 AM
IOError: [Errno 13] Permission denied s3ntient Calibre 3 02-20-2010 02:01 PM
IOError errno 5? codemac Calibre 11 10-22-2009 02:36 PM


All times are GMT -4. The time now is 06:27 AM.


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