|  07-13-2019, 03:20 AM | #16 | 
| Wizard            Posts: 1,083 Karma: 11496771 Join Date: Mar 2013 Location: Guben, Brandenburg, Germany Device: Kobo Clara 2E, Tolino Shine 3 | 
			
			3.45.2 works! Thank you! You are the greatest, Kovid!   | 
|   |   | 
|  07-13-2019, 08:26 AM | #17 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			You're welcome    | 
|   |   | 
|  07-16-2019, 05:16 PM | #18 | 
| Plugin Developer            Posts: 7,125 Karma: 5005503 Join Date: Dec 2011 Location: Midwest USA Device: Kobo Clara Colour running KOReader | 
			
			Kovid, I wonder if these two plugin issues might also be related? Encoding error on convert after epubmerge: https://www.mobileread.com/forums/sh...63#post3867663 .mo translation files converted .po by v3.45.2 are flawed, but v.3.44 work: https://www.mobileread.com/forums/sh...94#post3867694 | 
|   |   | 
|  07-16-2019, 09:03 PM | #19 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			See https://github.com/kovidgoyal/calibr...43e070897b6583 for the first issue. for the second the msgfmt calibre budles was changed to the oe for python3 with some backports so it works in python 2 as well. What is the issue with it? | 
|   |   | 
|  07-16-2019, 09:25 PM | #20 | 
| Plugin Developer            Posts: 7,125 Karma: 5005503 Join Date: Dec 2011 Location: Midwest USA Device: Kobo Clara Colour running KOReader | 
			
			Accented characters and the like aren't correctly encoded in .mo files when using 3.45. Attached is a zip with a German .po file for FanFicFare and the .mo files as generated by 3.44 and 3.45.2. One example: Search for 'ber FanFicFare' (for Über FanFicFare) in the .mo files. Ü becomes \303\234 in 3.44 but \303\203\302\234 in 3.45.2. | 
|   |   | 
|  07-17-2019, 08:54 AM | #21 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			This should take care of it https://github.com/kovidgoyal/calibr...45159d86c59bd1
		 | 
|   |   | 
|  07-17-2019, 06:47 PM | #22 | 
| null operator (he/him)            Posts: 22,010 Karma: 30277294 Join Date: Mar 2012 Location: Sydney Australia Device: none | 
			
			Is this intentional: strings in Tweak values must now be prefixed with a 'u', viz: Seems a bit arcane, maybe it's been like that for a while and I hadn't noticed. BR | 
|   |   | 
|  07-17-2019, 08:39 PM | #23 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			It's a temporary thing, once calibre moves to python 3 the u prefix will be gone again. And you dont have to enter the u it will work without it as well.
		 Last edited by kovidgoyal; 07-17-2019 at 08:57 PM. | 
|   |   | 
|  07-17-2019, 09:56 PM | #24 | |
| Plugin Developer            Posts: 7,125 Karma: 5005503 Join Date: Dec 2011 Location: Midwest USA Device: Kobo Clara Colour running KOReader | Quote: 
   | |
|   |   | 
|  07-21-2019, 06:34 AM | #25 | |
| Wizard            Posts: 1,291 Karma: 1428263 Join Date: Dec 2016 Location: Goiânia - Brazil Device: iPad, Kindle Paperwhite, Kindle Oasis | Quote: 
 calibre 3.46 system locale: pt_BR calibre language: pt_BR I'm having a weird problem with that command too: Code: calibre-debug.exe -c "from calibre.translations.msgfmt import main; main()" pt_BR.po Failed to compile translations file: pt_BR.po, ignoring Now it gets weirder: supose I have 02 files ('fr.po' and 'pt_BR.po') on a folder. When I tried to generate the mo file for the french translation, then I got this: Code: calibre-debug.exe -c "from calibre.translations.msgfmt import main; main()" fr.po Failed to compile translations file: pt_BR.po, ignoring At last, I tried changing calibre language to English. Now everything works fine! No errors at all. No complaints about 'pt_BR.po' file. P.S.: I never had that error before 3.45. | |
|   |   | 
|  07-21-2019, 09:28 AM | #26 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			If you set your calibre language to pt_BR and have a pt_BR.po file in the current directory, calibre will try to use it as the language file -- this is to help translators who are translating calibre itself to debug their trnaslations files easily. See https://calibre-ebook.com/get-involved for details. You can use the following to prevent that error message (which is harmless) set CALIBRE_OVERRIDE_LANG=en | 
|   |   | 
|  07-21-2019, 10:11 AM | #27 | |
| Wizard            Posts: 1,291 Karma: 1428263 Join Date: Dec 2016 Location: Goiânia - Brazil Device: iPad, Kindle Paperwhite, Kindle Oasis | Quote: 
 I thought I needed to set the environment variable CALIBRE_TEST_TRANSLATION to test calibre translations. Was this changed on 3.46? Before that, this message never showed up. Last edited by thiago.eec; 07-21-2019 at 10:40 AM. | |
|   |   | 
|  07-21-2019, 11:05 AM | #28 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			No that is still the case, I assumed you had that variable set.
		 | 
|   |   | 
|  07-21-2019, 02:29 PM | #29 | |
| Wizard            Posts: 1,291 Karma: 1428263 Join Date: Dec 2016 Location: Goiânia - Brazil Device: iPad, Kindle Paperwhite, Kindle Oasis | Quote: 
 EDIT: Just to clarify, I'm using this command on a random directory, not related to calibre at all. I'm using it to bundle translations files to a plugin. Last edited by thiago.eec; 07-21-2019 at 03:09 PM. | |
|   |   | 
|  07-21-2019, 11:40 PM | #30 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			Well it's harmless in any case, so just ignore it.
		 | 
|   |   | 
|  | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Calibre Hudl 2: calibre, version 3.2.1 ERROR: Error: Error communicating with device | elfed | Devices | 4 | 07-21-2017 05:33 AM | 
| Calibre latest Update - calibre 3.2.1 64bit version | Al Adams | Library Management | 9 | 07-07-2017 07:47 PM | 
| Can't install Version: 2.35.0 on Windows 10 64bit | nqk | Calibre | 4 | 08-21-2015 03:12 AM | 
| Does 64bit version of Calibre work on XP Pro 64? | Logos | Calibre | 1 | 01-17-2013 12:32 AM | 
| calibre, version 0.8.8 ERROR: Error: Error communicating with device no such column: | e-bookuser | Devices | 1 | 07-03-2011 04:09 PM |