Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

PackageManagerCLI Access denied

2016-07-27
2016-07-27
  • DavidCozens - 2016-07-27

    I am having intermittent problems running PackageManagerCLI as part of a Continuous Integration system. I have a pipeline of several jobs running under Jenkins to compile libraries, update and build a project and create a package. Currently the last job in the pipeline is to install the package that has been built before running some tests. It fails intermittently as shown below. Typically if I re-run this build job the command works. Any ideas how to avoid this problem?

    Zitat:
    "\Program Files (x86)\3S CODESYS\CODESYS\Common\PackageManagerCLI.exe" --verbose --Profile="CODESYS V3.5 SP9 Patch 1" --install=CODESYS_UniPi.package
    Package Manager
    Copyright c 1994-2015 by 3S-Smart Software Solutions GmbH. All rights reserved.
    Initializing...
    Analogue Inputs
    Library: AI/Library/IoDrvUniPiAI.compiled-library
    Device description: AI/DeviceDescription/IoDrvUniPiAI.devdesc.xml
    Digitale Eingβ€žnge, Analogue Output
    Library: DI_AO/Library/IoDrvUniPiGPIO.compiled-library
    Device description: DI_AO/DeviceDescription/IoDrvUniPiGPIO.devdesc.xml
    Relays
    Library: Relays/Library/IoDrvUniPiRelays.compiled-library
    Device description: Relays/DeviceDescription/IoDrvUniPiRelays.devdesc.xml
    UniPi
    File: UniPi/Templates/UniPiStarter.project
    File: UniPi/Templates/UniPiStarter.template
    File: UniPi/Install/CODESYS_for_UniPi_Setup.sh
    Finalizing...

     
  • eschwellinger

    eschwellinger - 2016-07-27

    Hi,
    there is already an issue to solve this in our bug tracker db.
    CDS-50240 ComponentManager: Improve PlugInCache robustness
    The Workaround is to delete\rename this Cache files in 'C:\ProgramData\AP\PlugInCaches\

    BR
    Edwin

     
  • DavidCozens - 2016-07-27

    Edwin Schwellinger hat geschrieben:
    Hi,
    there is already an issue to solve this in our bug tracker db.
    CDS-50240 ComponentManager: Improve PlugInCache robustness
    The Workaround is to delete\rename this Cache files in 'C:\ProgramData\AP\PlugInCaches\
    BR
    Edwin

    Thanks for the fast response, I have put the suggested workaround in place and after ten builds have had no problems (previously it was failing 50% of the time).

     

Log in to post a comment.