![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jan 2025
Device: kobo libra color
|
Conversion from txt file to epub (or anything else) fails
Hi,
After upgrading to Calibre 7.25 conversion of txt files to Epub (or any other format) does not work. Downgrading to 7.24 fixes the problem. Don't have the log file at the moment, I just know it ended with: re.error: bad escape \u at position 14 |
![]() |
![]() |
![]() |
#2 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43,345
Karma: 165170674
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
For what it may be worth, I tried converting a text version of The Owl and the Pussy Cat poem to ePub using calibre 7.25. Regular expression error?
The conversion failed and the log file is in the spoiler. Spoiler:
|
![]() |
![]() |
![]() |
#3 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,487
Karma: 29308976
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
↑ ↑ ↑ ✔
Same on an 8 line text file BR |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,955
Karma: 27109050
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
![]() |
#5 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43,345
Karma: 165170674
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
![]() ![]() |
![]() |
![]() |
![]() |
#6 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,496
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Same is happening to me with conversion from azw3 to epub, same problem?
|
![]() |
![]() |
![]() |
#7 | |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jan 2025
Device: kobo libra color
|
Quote:
Are there any nightly builds available for Windows or do I have to build the binaries? |
|
![]() |
![]() |
![]() |
#8 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,266
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#9 | |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,531
Karma: 7095191
Join Date: Sep 2020
Device: none
|
Quote:
![]() Calibre runs but throws an error for me using current source as of commit 2575737679c6b0eb73de2ece624775aa7b7d8865: Spoiler:
I know there's some new feature implementation ongoing at the moment and you're probably aware of this but I thought I should report just in case. |
|
![]() |
![]() |
![]() |
#10 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,266
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#11 |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,531
Karma: 7095191
Join Date: Sep 2020
Device: none
|
|
![]() |
![]() |
![]() |
#12 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,487
Karma: 29308976
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Simplest thing meantime is open your text file in a word processor, save it as DOCX and convert that. BR |
|
![]() |
![]() |
![]() |
#13 | |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 187
Karma: 126824
Join Date: Dec 2008
Location: Out There
Device: K3 W/3G (Fixed screen!) & Paperwhite Wifi
|
Quote:
And saw a fix was already implemented., but had no clue how to add the fix to my copy. (Github might as well be Greek to me, and I was not interested in "Setting up a calibre development environment.") But switching the TXT file into a DOCX file and converting that, did the trick for me. |
|
![]() |
![]() |
![]() |
#14 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,388
Karma: 142887248
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
Tags |
conversion |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Conversion from pdf to txt yields (near) empty file | jchwenger | Conversion | 3 | 07-07-2024 10:37 AM |
Convert epub to TXT output encoding selection fails | Shagbark | Conversion | 1 | 07-23-2015 12:07 PM |
conversion to txt or rtf makes empty file | lunixer | Calibre | 10 | 08-25-2010 04:56 PM |
Newbie Question re txt File Conversion | GJN | Calibre | 7 | 09-04-2009 07:40 AM |