Score:0

Landscape-api couldn't parse value as data

fr flag

I've been using the landscape-api command line to create and edit scripts in Landscape for a while. Recently, however, I started getting an error:

Couldn't parse value <code> as data

The command I'm running is:

landscape-api edit-script <script_ID> --code <file_name>

The error also occurs if I enter the code as text instead of a file name.

I only noticed the error in the last couple weeks, and it was working fine as of a little over a month ago. Any ideas?

in flag
There seems to be a regression in the api client snap. I have filed a bug (LP:#2022819). Considering it worked a few weeks ago, you might have some luck reverting the snap to the previous version using `sudo snap revert landscape-client` to unblock you in the meantime.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.