Harvest

 View Only

  • 1.  Process names not properly handled, with non ASCII character

    Posted Feb 21, 2025 05:43 AM

    Hello,

    I try to use some Harvest commands like hpp and hdp with an additional process name,
    this works well in a Windows environment but it does not in a Linux environment.

    Unfortunately the process name is "Rückgabe-an-Entwicklung" with an "ü" (ü or u-Umlaut, this is character 0xfc or \0374 in Windows, CP850).

    In a Windows environment, everything works as expected.

    hdp VSCSERVER-1.97.2.000000 -b scm.intern -en WebSphere -st Abnahme -pn "Rückgabe-an-Entwicklung" -usr xxxx -pw ****
    I00060040: New connection with Broker scm.intern  established.
    I00020018: The package VSCSERVER-1.97.2.000000  has been demoted to Entwicklung .
    I00020015: The process execution completed successfully. The package count is: 1 .
    I00020133: ci_change: 'WebSphere', '0', 'VSCSERVER-1.97.2.000000' .
    I00020133: ci_pruefen: 'WebSphere', 'VSCSERVER-1.97.2.000000' .
    I00060052: Paket CI aktualisieren  execution was successful.

    But in a Linux environment I got an error.

    I00060040: New connection with Broker scm.intern  established.
    State has no such Demote Process or has no execute access.

    I tried to use LANG with C, de_DE, en_US, de_DE.ISO8859-1, de_DE.UTF-8 in the Linux environment,
    but Harvest does not accept the process name.

    Any idea how to use the process name in a Linux environment?

    In a Windows environment everything works well.

    Thanks for any suggestion,
    Lutz

    p.s.

    A change of the process name is not an option, sorry.

    And process names with ASCII character only are useable in Windows and Linux.



    ------------------------------
    [CompanyName]
    [State]
    ------------------------------


  • 2.  RE: Process names not properly handled, with non ASCII character

    Posted Feb 21, 2025 06:26 AM

    Hi Lutz, which Harvest release are you using and what is your Linux platform ? We have a customer running 14.5 on Windows and needed fixes for this Umlaut Character Problem with German Language. https://support.broadcom.com/web/ecx/solutiondetails?aparNo=99112094&os=WINDOWS-ALL

    I'm not sure if it covers Umlaut Character Problems for the Harvest commands as well.

    Britta Hoffner

    Fujitsu Germany GmbH




  • 3.  RE: Process names not properly handled, with non ASCII character

    Posted Feb 21, 2025 06:33 AM

    Hello,

    the used Harvest SCM Version is 14.5.0.45 and Linux is SLE 15 (a SuSE Linux).

    Lutz



    ------------------------------
    [CompanyName]
    [State]
    ------------------------------



  • 4.  RE: Process names not properly handled, with non ASCII character

    Posted Feb 21, 2025 08:36 AM

    Hello,

    so there are no fixes installed here ?

    Britta




  • 5.  RE: Process names not properly handled, with non ASCII character

    Posted Feb 21, 2025 09:11 AM

    You may have to open a Broadcom Support Case for your problem.

    Britta




  • 6.  RE: Process names not properly handled, with non ASCII character
    Best Answer

    Posted Feb 21, 2025 09:57 AM

    Hello,
    the character problem is fixed, the problem is/was, I can't get the proper character.
    Unfortunately, I used the echo command to check the used process name,
    but echo does not show the right data, because the echo/terminal convert the output string but the command line does not.

    I use something like the following, to get the right character, and I switch to LANG C.

    export LANG=C
    export PROC=$(printf 'R\374ckgabe-an-Entwicklung') 
    echo $PROC
    R▒ckgabe-an-Entwicklung

    hdp VSCSERVER-1.97.2.000000 -b scm.intern -en WebSphere -st Abnahme -pn $PROC -usr xxxx -pw ****
    I00060040: New connection with Broker scm.intern  established.
    I00020018: The package VSCSERVER-1.97.2.000000  has been demoted to Entwicklung .
    I00020015: The process execution completed successfully. The package count is: 1 .
    I00020133: ci_change: 'WebSphere', '0', 'VSCSERVER-1.97.2.000000' .
    I00020133: ci_pruefen: 'WebSphere', 'VSCSERVER-1.97.2.000000' .
    I00060052: Paket CI aktualisieren  execution was successful.
    hdp has been executed successfully.

    Log story short, it is a good idea to avoid some character, the ASCII characters are easy to handle only.

    Nice to see,
    have a nice weekend,
    Lutz



    ------------------------------
    [CompanyName]
    [State]
    ------------------------------



  • 7.  RE: Process names not properly handled, with non ASCII character

    Posted Feb 21, 2025 10:09 AM

    Good to hear it is fixed. Thanks for the information. 

    Have a nice weekend too !

    Britta