![]() |
#1 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 892
Karma: 810834
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
|
Errors in bulk substitutions
A friend makes the following comment to me. The version 5.33, generates errors in the massive substitutions of data. Being one of the new features of the version, in the massive modification of metadata, it usually removes the author names from the library.
Remove authors in bulk substitutions. On three occasions recover only by reloading the metadata from the files. If you look there is only one author. ( Picture 1) [IMG] ![]() The problem arises when Python search expressions are used in saved searches. To be able to do the substitutions in bulk, by characters, this is the correct way. With character matching in the * Search Mode * option. When done by * Regular Expression *, it gave me error in the use of the brackets. (Picture 2) ![]() When done with some punctuation mark that Python registers as a special character, it completely deletes the substitution field in * Regular Expression *, (Picture 3). [IMG] ![]() The bad thing is that it clears the field in * ALL THE LIBRARY * The strange thing is that when python grouping characters are used it does fine in both forms of * Search Mode * as you see it here. (Picture 4) ![]() |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,440
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
As far as I can see from the screen captures calibre is doing exactly what you asked it to do. For example, in screen capture 3 you are telling calibre to remove every character in author because in regular expression mode '.' matches anything. In screen capture 4 you are telling calibre to look for the string '[lots of accented characters]' in character mode and as expected calibre didn't find that string so it did nothing. In screen capture 2 you asked calibre to replace ó with o, which is what it did.
Can you explain what you want to do, what you told calibre to do, and what calibre did? |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 892
Karma: 810834
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
|
In fact is what I explain. Which is taking the meanings of phyton. But there is no difference in the search mode. Before I could swap the points for space without problem. Now to change the points, hyphens and special characters you have to make an expression
is what she expresses to me Last edited by dunhill; 12-07-2021 at 06:22 PM. |
![]() |
![]() |
![]() |
#4 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,440
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
The recent change in calibre was to move the regex/character selection box up one line to the top of the dialog so that the user is guided to select it before filling in any other boxes. Nothing else was changed. In RegEx mode, period was and still is "any character". In character mode it was and still is a period. |
|
![]() |
![]() |
![]() |
#5 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 892
Karma: 810834
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
|
I was writing from the phone, this checker hahaha
J'écrivais depuis le téléphone, ce vérificateur hahaha |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
No errors found in calibre, but epub check found errors | LarkinJM | ePub | 3 | 03-03-2020 04:51 PM |
Bulk fill title with same value (like bulk rename author)? | rebl | Library Management | 1 | 08-22-2014 12:05 PM |
Bulk Conversion and Interupting Errors | Lisa33 | Calibre | 1 | 02-17-2012 10:36 PM |
Flightcrew says Errors, but Sigil says no Errors… | Barcelona | Sigil | 4 | 02-09-2012 07:13 AM |