Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.bat file stream problem for BASE64 converter #1

Open
czechdude opened this issue Jul 18, 2024 · 4 comments
Open

.bat file stream problem for BASE64 converter #1

czechdude opened this issue Jul 18, 2024 · 4 comments

Comments

@czechdude
Copy link

Hi Panos,
great job here!
I found out that when a .bat file with echo is called in the VM, then the cmdlet fails on base64 method:

##[error]Exception calling "FromBase64String" with "1" argument(s): "The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters." ##[error]PowerShell exited with code '1'.

the session on the VM shows:

[{"version":"1","timestampUTC":"2024-07-18T09:26:06.6476683Z","status":{"name":"RunCommand_23","operation":"Command Execution Finished","status":"success","code":0,"formattedMessage":{"lang":"en-US","message":"Finished executing command"},"substatus":[{"name":"StdOut","status":"success","code":0,"formattedMessage":{"lang":"en-US","message":"C:\\autodeploy\\scripts>call \"C:\\Program Files\\ArcGIS\\Pro\\bin\\Python\\condabin\\conda.bat\" activate arcgispro-py3-clone   && EXIT /b   || \"C:\\Program Files\\ArcGIS\\Pro\\bin\\Python\\Scripts\\conda.exe\" create --clone arcgispro-py3 --name arcgispro-py3-clone --pinned --yes   || echo ERROR cloning   && exit /b \nH4sIAAAAAAAEAO1ZW1PjNhR+70z/g8YPpZ0SWXYc59IkHTbZ3aG7UIZk2wfCUMUWiRbb8khylvDrexyTxjEObGAHFkpgiJHOTed835HGav85/qzQX0wqLqKOYWELE2wZ6DIMItUxplrHLdNU3pSFVOGQe1Ioca6xJ0IzFl9Ab8qCwLQJcUziGN0ff0CoDTbRMTvf9zsGyYZgcHh4Yywd7Q7mSrMQgw7z9Mlp2xyWzO5JSeflU5niag6eDpePHwc5jVxU1iqCtcjWxvNODmhEJyxkkcZ7iRYh1ZAuDGkbC8WOmSekn4/ua5T3o3Mhs2ca3GWiuMjCQj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i63RWq40ay7bt3aih6vLz+eOT3ylxNvo6+7zli/HskuYVTieYz5zEdsddlxF1ZvvWepfJNPweibhAc+SskAEI2F1I/h9JCCu/JPP5GL4mWVuRHKBq2lnxKtzXdSaMFr+MVOs17Qyl9LFXxlWtbi3U3xWmsTXtDKF7FJQWsooPyt0nVd+2pg18pF2DaXt71L7C6+Vfdfkww/H+MeAAA="}},{"name":"StdErr","status":"success","code":0,"formattedMessage":{"lang":"en-US","message":""}}]}}]

@PanosGreg
Copy link
Owner

Hi Petr, might be best if we can connect in a Zoom call to have a look, as it's going to be much faster then back-n-forth messages here.
I can send you a zoom link if that's OK

@czechdude
Copy link
Author

czechdude commented Jul 22, 2024 via email

@PanosGreg
Copy link
Owner

Sure thing, next Monday 29-Jul-2024, I'll paste the zoom link here then.

I'm in Dublin Ireland so I'm on UTC+1 time zone.

@PanosGreg
Copy link
Owner

Hey Petr, yeah sure thing, was going to ask you the same actually.

13:00 works for me, I'll paste the zoom link here later today when the time comes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants