Comments (8)
I found that there are multiple issues, here.
1.
@"<ContentType xmlns=""http://schemas.datacontract.org/2004/07/Microsoft.MT.Web.Service.V2"">{0}</ContentType>" +
Should be
@"<ContentType xmlns=""http://schemas.datacontract.org/2004/07/Microsoft.MT.Web.Service.V2"">text/plain</ContentType>" +
2.
There's an unhandled NRE thrown from
A.Run(response?.Content.ReadAsStringAsync(), res => responseBody = res);
This method runs before the request has completed. This can be fixed easily with a continuation or async-await. I'm not familiar with AsyncHelper, but I tried using two different AsyncBridge objects and it worked fine.
3.
I think the TranslateArray method might just be broken on Azure right now. A few people complained of this same issue in December 2016. The bug on Connect is marked as "Resolved," but I strongly suspect it came back.
Thank you,
Josh Usovsky
from zetaresourceeditor.
I was able to try again today, and get the same brief error message placed into each previously empty string. "**** AsyncBridge.Run method threw an exception."
I tried your API secret and it wouldn't connect (You said it's similar so maybe you were just illustrating what it looks like?)
I don't get an exception stack trace (unless it is logged somewhere I don't know about), so it must catch it internally. I can't easily debug further on my end since I don't have DevExpress components.
I'll send you the key to debug if you think it will be helpful.
Thank you!
from zetaresourceeditor.
Thank you, @UweKeim! That fixed it.
Chad, if you install the application, you can just redirect the references to the binaries in the install folder. That's how I was able to build it.
@UweKeim, Someday you might want to put all of the dependencies into a Nuget package so that it's easier for others to build. In fact, I'd be happy to do that for you, if you'd like.
from zetaresourceeditor.
@UweKeim Great. I installed the new version and it looks like it fixed it! Thank you! @jusovsky Thanks for the tip on the dependencies; I thought it would require more than just the run-time versions. That may come in handy in the future!
from zetaresourceeditor.
I'll take a look.
When I implemented that new Azure Translation API calls, I once came to a similar conclusion as you (does not work), but later on, I never managed to reproduce this behaviour again.
Strange...
from zetaresourceeditor.
I've just debugged it and cannot see an error.
My Microsoft Translator (Azure) client secret looks similar to:
53071fg63970211ef37a312399f8a951
If the exception occurs on your machine, could you post it here, including all inner exceptions?
In addition, if you like, send me your client secret by e-mail and I can use it to debug the application again.
from zetaresourceeditor.
Thanks, @jusovsky I fixed 1. and 2. (at least I do hope so). Maybe 2. is also the cause for the issue, that @kiates gets. (Your API secret works well for me in my tests).
Anyway, I just released a new version 2.3.0.15. Here is the direct setup download.
from zetaresourceeditor.
@jusovsky I cannot legally deploy DevExpress assemblies. You need to own a license to build Zeta Resource Editor.
from zetaresourceeditor.
Related Issues (20)
- import success message, but imported data does not appear HOT 4
- Issue translating a large file from EN-GB to PT-BR or PT-PT with google translate HOT 7
- Downloading from Google Chrome HOT 4
- Portable Version doesn't work after download with Chrome HOT 2
- Can you add Chinese language to the GUI? HOT 2
- Version 2.3.0.32 - Could not load file or assembly System.Data.SQLite, Version=1.0.66.0 HOT 3
- Some languages available on google translate that are not working HOT 7
- Dark Theme HOT 1
- Ability to move rows HOT 3
- App fails to open due to SecurityException HOT 2
- Neutral Language Column Wrong After Update HOT 16
- Excel-Export do not work any more 2.3.30 HOT 1
- Crash with Shift+F3 HOT 1
- Error creating new files for language. HOT 3
- .resx not being saved upon malformed xml/no exception thrown HOT 4
- Error when importing from Excel: "No data is available for encoding 1252" HOT 2
- Broken UI on high DPI screen in v2.3.50.0 HOT 6
- Some text are cropped in the export to excel dialog. HOT 4
- Use existing translations not working HOT 7
- Multilanguage GUI HOT 2
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 zetaresourceeditor.