python icon indicating copy to clipboard operation
python copied to clipboard

Not possible to upgrade a connection

Open jonathanunderwood opened this issue 6 years ago • 2 comments

import varlink
vc = varlink.Client(f"unix:/run/user/{os.getuid()}/podman/io.podman") 
if = vc.open("io.podman") 
if.SendFile("")

results in VarlinkError: {'parameters': {'reason': 'client must use upgraded connection to send files'}, 'error': 'io.podman.ErrorOccurred'}

So, question is, with these bindings, how does one "upgrade" a connection?

jonathanunderwood avatar Dec 27 '19 16:12 jonathanunderwood

Changing this to a bug - this functionality seems to be missing.

jonathanunderwood avatar Jan 02 '20 09:01 jonathanunderwood

@haraldh Can you comment on this - am I missing something here?

jonathanunderwood avatar Dec 28 '20 18:12 jonathanunderwood