Comments (7)
This will be most likely an issue with pyparsing, but I can't find anything related in their issue tracker, so we will need to figure out what is actually broken.
from translate.
Created pyparsing/pyparsing#517 to ask about pyparsing status.
from translate.
Confirmed in our CI environment: https://github.com/translate/translate/actions/runs/6771797656/job/18402990631
Can you try to isolate a smaller testcase as requested in pyparsing/pyparsing#517?
from translate.
I suppose I could try but can't promise anything. Already spent most of the day reducing slixmpp but hopefully this one's less convoluted ;-).
from translate.
Ok, I think it's actually output buffering problem in translate-toolkit. While debugging it, I've tried:
diff --git a/translate/convert/rc2po.py b/translate/convert/rc2po.py
index e4f02a6c..5bf9fa3f 100755
--- a/translate/convert/rc2po.py
+++ b/translate/convert/rc2po.py
@@ -122,6 +122,7 @@ def convertrc(
if output_store.isempty():
return 0
output_store.serialize(output_file)
+ output_file.flush()
return 1
and that makes all the tests pass. Though I suppose there is probably a better place to do the flushing.
from translate.
Thanks for good pointer, it is caused by not closing output file in the converters, #5073 should fix this.
from translate.
Thanks a lot! I can confirm that the commit fixes the issue.
from translate.
Related Issues (20)
- Plural issues on Android due to update to CLDR 41 HOT 4
- po2csv - I didn't find it in the documentation and it ignores context
- po2rc should preserve comments location
- test_odf_xliff changes working directory and does not change it back, breaking other tests
- Unable to make tests pass locally - pycountry triggers DeprecationWarning with pkg_resources HOT 3
- translate-toolkit-3.9.2-1.fc39.x86_64/usr/bin/mozfunny2prop --manpage hangs HOT 4
- Extract only text from IDML by idml2po
- support several input parameters for pofilter (and other commands)
- Support for Android resource converter HOT 4
- prop2po: support for different encodings for both the input file and the template
- prop2po: personality given in command line is ignored for .strings files HOT 2
- Locate tests and test data outside 'translate' module HOT 2
- Ben
- Android: Some strings marked as `translatable="false"` still treated as translatable HOT 2
- Code block not parsed from Markdown HOT 3
- Proposal to use mdit-py-i18n (along with markdown-it-py) for Markdown support HOT 7
- Reduce question mark escaping in Android
- Translate
- Use Windows newlines for resx files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from translate.