gcloud components update "readerror" - gcloud

This is my first post so sorry ahead of time for posting issues.
I need help with what it can't read.
Alternatively what gcloud version(s) do I need to get to 356.0.0.
Thanks
Details:
Your current Cloud SDK version is: 114.0.0
You will be upgraded to version: 356.0.0
┌─────────────────────────────────────────────────────────────────────────────┐
│                      These components will be updated.                      │
├─────────────────────────────────────────────────────┬────────────┬──────────┤
│                         Name                        │  Version   │   Size   │
├─────────────────────────────────────────────────────┼────────────┼──────────┤
│ BigQuery Command Line Tool                          │     2.0.71 │  < 1 MiB │
│ BigQuery Command Line Tool (Platform Specific)      │     2.0.69 │  < 1 MiB │
│ Cloud SDK Core Libraries                            │ 2021.09.03 │ 20.1 MiB │
│ Cloud SDK Core Libraries (Platform Specific)        │ 2021.06.18 │  < 1 MiB │
│ Cloud Storage Command Line Tool                     │       4.67 │  4.3 MiB │
│ Cloud Storage Command Line Tool (Platform Specific) │       4.63 │  < 1 MiB │
└─────────────────────────────────────────────────────┴────────────┴──────────┘
┌─────────────────────────────────────────────────┐
│       These components will be installed.       │
├─────────────────────────┬────────────┬──────────┤
│           Name          │  Version   │   Size   │
├─────────────────────────┼────────────┼──────────┤
│ gcloud cli dependencies │ 2021.08.20 │ 11.0 MiB │
│ gcloud cli dependencies │ 2021.04.16 │  < 1 MiB │
└─────────────────────────┴────────────┴──────────┘
A lot has changed since your last upgrade.  For the latest full release notes,
please visit:
 https://cloud.google.com/sdk/release_notes
Do you want to continue (Y/n)?  Y
╔════════════════════════════════════════════════════════════╗
╠═ Creating update staging area                             ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Uninstalling: BigQuery Command Line Tool                 ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Uninstalling: BigQuery Command Line Tool (Platform Sp... ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Uninstalling: Cloud SDK Core Libraries                   ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Uninstalling: Cloud SDK Core Libraries (Platform Spec... ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Uninstalling: Cloud Storage Command Line Tool            ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Uninstalling: Cloud Storage Command Line Tool (Platfo... ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Installing: BigQuery Command Line Tool                   ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Installing: BigQuery Command Line Tool (Platform Spec... ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Installing: Cloud SDK Core Libraries                     ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Installing: Cloud SDK Core Libraries (Platform Specific) ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Installing: Cloud Storage Command Line Tool              ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Installing: Cloud Storage Command Line Tool (Platform... ═╣
╠════════════════════════════════════════════════════════════╣
╠═ Installing: gcloud cli dependencies                      ═╣
ERROR: gcloud crashed (ReadError): file could not be opened successfully

Related

Check if a file or directory has a specific alternative data stream attached to it?

I am writing a function or a commandlet (I want to call it Set-Metadata) that will allow me to attach metadata information to directories and files. Its for a file manager columns that expect ADS data
I am currently stuck on the logic part.
Before I write any metadata to a file via its NTFS ADS I would first like to check if the file has a specific stream so that I don't overwrite anything and instead append text to the stream.
function Set-MetaData(
    [Parameter(Mandatory=$true, ValueFromPipeline=$true)]
    [string]
    $Path,
    [Alias("C", "Cat")] #Replace Column Content
    [String]$Category,
    [Alias("PC", "PCat")] #Prefix to the content in  Column
    [String]$PCategory,
    [Alias("SC", "SCat")] #Suffix to the content in  Column
   
    [String]$SCategory){
        process {
        Switch ($PSBoundParameters.Keys){
            'Category'{
            }'PCategory'{
            }'SCategory'{
                if(...) #file has a stream called "multitags.txt"
                # Add-Content -Path $Path -Stream  multitags.txt -Value $Category
    }}
}
I have taken the liberty to cross post this question on other forums as well.
Any help would be greatly appreciated!

How can I use Argo Workflow to execute Spark Application and save the Spark execution result to Minio

I want to execute the Spark program from Workflow and store the results on Minio. What do I do?
Here is an example Pi that I executed using workflow choreography
apiVersion: argoproj.io/v1alpha1
kind: Workflow
...
      manifest: |
        apiVersion: "sparkoperator.k8s.io/v1beta2"
        kind: SparkApplication
        metadata:
          name: spark-pi
          namespace: spark
        spec:
          type: Scala
          mode: cluster
          image: "gcr.io/spark-operator/spark:v3.1.1"
          nodeSelector:
            kubernetes.io/hostname: node01
          imagePullPolicy: Never
          mainClass: org.apache.spark.examples.SparkPi
          mainApplicationFile: "local:///opt/spark/examples/jars/spark-examples_2.12-3.1.1.jar"
...
          driver:
...         
executor:
...
  - name: sparkling-operator
    dag:
      tasks:
      - name: SparkGroupBY
        template: spark-groupby

How can we split a column with multiple values separated by "space" delimiter into multiple rows in Qlik using any logic

I have one requirements as below. Suppose I have a column with below values
rowno          Column
1                MS Teams slack skype
2                 slack
3                 skype
I want to split the first row as below 
rowno          Column
1              MS Teams
1              slack
1              skype
2              slack
3              skype
How I can not use sub field function since it will split MS Teams to MS ,Teams. Instead can I use wildmatch? Please suggest how I can achieve this in Qlik Sense?
I'd probably do it in 2 parts... first to replace the MS Teams value with MS_Teams and then do the subfield. You could add another part to get rid of the _ at the end.
Table:
Load
rowno,
subfield(Column_clean,' ') as Column;
Load
rowno,
replace(Column,'MS Teams','MS_Teams') as Column_clean
from source;

How to use dependencies in a Swift Package

I created a new Package with Xcode and incorporated a dependency, however when I try to use it, I get an error.
How do I use the dependency in the Package sources? In a normal project, I can easily import and use AgileDB.
Here's the Package:
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
    name: "DBCore",
    products: [
        // Products define the executables and libraries a package produces, and make them visible to other packages.
        .library(
            name: "DBCore",
            targets: ["DBCore"]),
    ],
    dependencies: [
  .package(url: "https://github.com/AaronBratcher/AgileDB", from: "6.4.0")
    ],
    targets: [
        // Targets are the basic building blocks of a package. A target can define a module or a test suite.
        // Targets can depend on other targets in this package, and on products in packages this package depends on.
        .target(
            name: "DBCore",
            dependencies: []),
        .testTarget(
            name: "DBCoreTests",
            dependencies: ["DBCore"]),
    ]
)
Perhaps the AgileDB package as a dependency in the target? I tried copying that and it won't recognize it.
Found my answer.
In the target dependencies, need to include the package name as a string:
        // Targets are the basic building blocks of a package. A target can define a module or a test suite.
        // Targets can depend on other targets in this package, and on products in packages this package depends on.
        .target(
            name: "DBCore",
            dependencies: [
"AgileDB"
]),
        .testTarget(
            name: "DBCoreTests",
            dependencies: ["DBCore"]),
    ]
Step by step guide:
Open project settings
Click on "Package Dependencies"
Click on the "Plus" icon and add your package in the window that opens
Your added package should appear in the list
Package should also appear under "Package Dependencies" in the left bar
Click on your target
Navigate to "General" tab and "Frameworks and Libraries" section under that
Click on "Plus" icon and select/add your package in the window that opens
Your added package should appear in the list
Package should automatically be added in "Build Phases" tab under "Link Binary with Libraries" section. If it isn’t add it by clicking the "Plus" icon
At this point you should be able to import and use the package in any of the files under this target.

parse acsm in iphone app

I am new to iOS development. I am working on an ePUB reader app for iPad.
The server sends me file with .acsm extension. Its an XML formatted file. Now I need to parse this acsm file and download the book.
The server side developer says that its working and he's able to download the ebook using Adobe Digital Editions.
What should I do to download the actual book and display it?
These are the contents of acsm file:
<fulfillmentToken fulfillmentType="buy" auth="user" xmlns="http://ns.adobe.com/adept">
 <distributor>urn:uuid:861ac232-6f99-4be5-8b78-28d3aa1a1200</distributor>
 <operatorURL>http://litstage.cloudapp.net:8080/fulfillment/</operatorURL>
 <transaction>ACS4-6490845051477798803551940</transaction>
 <expiration>2012-12-05T10:57:33+00:00</expiration>
 <resourceItemInfo>
   <resource>urn:uuid:45c004e9-ff9f-4117-94b9-c6776176fa62</resource>
   <resourceItem>0</resourceItem>
   <metadata>
     <dc:title xmlns:dc="http://purl.org/dc/elements/1.1/">The Divine Comedy</dc:title>
     <dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dante, Alighieri</dc:creator>
     <dc:publisher xmlns:dc="http://purl.org/dc/elements/1.1/">FeedBooks (www.feedbooks.com)</dc:publisher>
     <dc:identifier xmlns:dc="http://purl.org/dc/elements/1.1/">urn:uuid:7d0300ba-2381-11dd-8c0f-001cc049a027</dc:identifier>
     <dc:format xmlns:dc="http://purl.org/dc/elements/1.1/">application/epub+zip</dc:format>
     <dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">en</dc:language>
     <thumbnailURL>http://litstage.cloudapp.net:8080/media/45c004e9-ff9f-4117-94b9-c6776176fa62.jpg</thumbnailURL>
   </metadata>
   <licenseToken>
     <resource>urn:uuid:45c004e9-ff9f-4117-94b9-c6776176fa62</resource>
     <permissions>
       <display/>
       <excerpt/>
       <print/>
       <play/>
     </permissions>
   </licenseToken>
 </resourceItemInfo>
 <hmac>gGIGmkDLFpWda2dWchW3E46O9oA=</hmac>
</fulfillmentToken>