Has loading unsigned plugin into standalone cmd app been blocked?

I'm developing standalone command line application which is responsible for creation of trados project based on input arguments. It's using Trados Automation API. So basicly I'm creating project with some files from one language to another and with some translation providers like TM or NMT. Then I'm running automatic tasks like pre-translate, analyze, etc. Application is supposed to work with Trados Studio 2019.

Right now I'm trying to upgrade application to work with Trados Studio 2022 (SR1). Here we comes where I encountered a problem. I cannot create project with unsigned NMT Translation Provider plugin (which is modified DeepL MT Plugin based on source code from sdl-community github repo). The task 'Analyze Files' is throwing following exception(s):
ArgumentException:No translation provider factory found for uri 'deepltranslationprovider:///'.
ProjectAutomationException: Failed to create an instance of translation provider 'deepltranslationprovider:///'.
ProjectApiException: Unexpected exception when initializing task 'Analyze Files': Failed to create an instance of translation provider 'deepltranslationprovider:///'..

This NMT Translation Provider plugin works perfectly fine under Trados Studio 2022. I can create project with the same configuration with plugin included in project.

Based on my debugging it looks like the API is not loading unsigned plugins under my command line application. Did something change under the hood that automation API does not load unsigned plugins anymore? Or I'm doing something wrong?

Parents Reply Children
  • How I'm suppose to test all those things together? This is how development gonna looks like: 

    1. Send sign request. Wait 3 days (I'm already waiting 3 days for this).
    2. Do the test. Find out there is null reference exception somewhere or something else. Fix this.
    3. Go to point 1.

    This is ridiculus. Fixing 3 simple bugs in code could take 9 days or even more. In case of critical error that need to be fixed immediately we are screwed. 

  •  

    I just looked to see where your request was and can see why it's taken so long.  We get quite a lot of requests, often requests that are nonsensical, so when someone sends us our own plugin and offers no explanation at all for why they want an already signed plugin signed then the team will put it to the back the queue to address when they have more time.

    Now that I see this thread and can link these things together (I don't normally sign plugins myself) I can make sure they get signed and sent back.

    Going forward we have rebuilt the appstore front and back ends and added a lot of functionality, including the automated signing of plugins for developers.  So once this goes live... which isn't too far away, you won't have your ridiculous situation.

    In the meantime help yourself a little and don't just send in plugins, especially ones that we actually developed, with no explanation.

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

  • Hi  

    The plugins are not meant to be published in app store. That's why there is not explanation what they are and what they do. I thought it's unnecessary. I'm quite sure I did not send signed plugin. Yep, there is DeepL MT plugin, but this is just modified version based on source code from sdl-community github repo). Ok, I got it. That might confuse.

    I would not waste your and my time If I could found info about how to.

     06 Submitting apps for signing and/or publication - tba
    https://gateway.sdl.com/apex/communityknowledge?articleName=000001600 - nothing about procedure of signing app.

    Good thing I'll be able to sign the plugin myself. I hope it will cut development time from days to minutes :) But I don't understand why it happen in first place. Why it has been blocked. In Trados Studio I have option to allow load unsigned plugin at least. Under automation API no. Now, 18 months since Trados Studio 2022 release there will be an option to sign plugins myself. Am I the only one who thinks something is wrong here?

    Regards

  •  

    But I don't understand why it happen in first place. Why it has been blocked.

    I really doubt it's been blocked.  That would mean we did it on purpose and I really doubt this was ever the case.  I think this is just the result of the core product team not being fully aware of what developers using the APIs and using Studio plugins in their automation needed, and as a result the scenario was never tested.  I think it's easy to blame developers without any concept of how many priorities they have and what their strategic goals are, so things can be missed.  But making things harder for 3rd party developers is definitely not anything we want... quite the opposite in fact!

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

  • Yep, that makes sens. I don't blame developers. I'm one of them. I (think I) know how things works, especially in such a large project, where knowledge is spread over many people. The thing is can we fix it? Can you report it as an issue and hopefully this will be fixed in future? 

    Thanks for your time.

  •  

    Can you report it as an issue and hopefully this will be fixed in future? 

    It's already reported. Mentioned somewhere else in these forums by  

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub