Openstack Swift cli with debug option - openstack-swift

I am testing Openstack Swift and having problems in PUT operation.
Can someone share a sample output of
swift upload --debug?
I would like to see what information is in the debug output.

Related

Getting VS code server to run on Sagemaker Studio

I am currently in the process of exploring the possible use of VS Code Server on Sagemaker Studio. Of course, if you sign up through Code Server preview, I was able to set and start it up. However, when I tried to serve it locally, I encountered a blank page after modifying the /default/proxy/XXX part of the url like how we access tensorboard.
Just wondering on whether are there any tinkerers out there that managed to get it working? (and yes, I understand that somebody managed to get it running https://coder.com/docs/code-server/latest/CONTRIBUTING. but wondering whether anybody managed to use the native installation to work properly? Any possible steps that i may be missing?
Check out the blog post here for hosting code-server on SageMaker Studio - https://aws.amazon.com/blogs/machine-learning/host-code-server-on-amazon-sagemaker/
And associated git repo here - https://github.com/aws-samples/amazon-sagemaker-codeserver

Why is awsconfiguration.json file missing?

I recently began working with AWS Amplify in a flutter project and completed the initial setup for the project however get the following error message when I configure Amplify when I run the app:
AnalyticsException(message: Unable to read appId or region from the amplify configuration json., recoverySuggestion: Make sure amplifyconfiguration.json is a valid json object in expected format. Please take a look at the documentation for expected format of amplifyconfiguration.json., underlyingException: org.json.JSONException: No value for pinpointAnalytics)
After this error, I researched about the awsconfiguration.json file and saw that I do not have a raw folder in './app/src/main/res' in my android root which should contain this file. I have run amplify init, added multiple plugins, and used amplify push according to the Amplify docs however I still do not see this file which I believe should be created automatically during setup. I would appreciate any help with the problem.
Thank you!
This might be caused if in the pubspec.yml you have amplify_analytics_pinpoint: ^0.2.0 but didn't add the analytics category by running amplify add analytics
After trying to setup Amplify in my flutter project a few more times, Amplify seems to configure properly however I am not sure what changed in the project. It seemed to work after I followed the YouTube video below, so if you are having the same problems, it might be worth checking out.
Link- https://www.youtube.com/watch?v=1seFk3Fkuis

How to enable logging for google-cloud-cpp sdk

I'm using google-cloud-cpp SDK from here: https://github.com/googleapis/google-cloud-cpp. However, I can't seem to figure out how to enable logging for the client library and find out where the log file goes. I'm interested in seeing all the HTTP requests being made to the endpoint. Appreciate any help and/or examples.
You need to set two environment variables:
GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes will redirect the logs to std::clog, the library does not create a log backend otherwise.
GOOGLE_CLOUD_CPP_STORAGE_TRACING=http,raw-client otherwise logging is not even turned on.
You can find more information about environment variables for the SDK in the API Notes section of: https://googleapis.dev/cpp/google-cloud-storage/latest/index.html

how to include external libraries to arduino extension?

pnp_device.h:10:42: fatal error: digitaltwin_device_client_ll.h: No
such file or directory
I'm using arduino and azure iot tools to use azure iot plug and play feature.
I generated the plug and play code stub using vscode azure iot tools, but while uploading the code the above error is raised.
As the file missing is in the external library (Azure-iot-sdk-c) I tried adding its path in c_cpp_properties.json even though the error persists.
I want to know why it is happening ?
I need some help...
We have a devkit SDK especially for the PNP. You can follow this readme and change the version of SDK.

Run CodeSys V2.3 in batch mode

I'm afraid I'm not making much progress on the 3S forums. So you lot are going to get pestered now!
I'm using 3S Codesys v2.3
I'm trying to create a boot project and do sourcecode download on my build server and I'd like to avoid having any hardware plugged into it. I'm using the following command line to run Codesys:
Build.bat:
"C:\Program Files\3S Software\CoDeSys V2.3\Codesys.exe" OptimusPlcFirmware.pro /cmd Build.cmd /batch
Build.cmd:
echo on
online sim off
project rebuild
online bootproject
online sim
online login
online sourcecodedownload
online logout
online sim off
When I do this I get the windows "has encountered a problem and needs to close, with accompanying Send Error Report / Don't Send buttons"
The boot project has been created succesfully and the sourcecode all seems correct. Can anyone explain what's happening?
Thanks
Matt
I run Twincat 2.11 here which is based on CoDeSys 2.3 but may be my idea can be useful. You cannot go Online (Login) until target (your local runtime as well) is in Running mode. Probably your local runtime is in Config mode and thus doesn't accept login and program download. Switch it to Running and try to run your script again.
Taras
I've tested with CoDeSys 2.3.9.13 and I have a similar issue. It seems that the problem comes from the online sourcecodedownload command.
I didn't know if it is valid to download the source code in the PLC in simulation mode. It looks strange to me. In any case, even if it's not possible it shouldn't crash.
I hope it helps