johny-b

Results 19 comments of johny-b

@maaktweluit I think it is indeed impossible to have a "correct" solution (i.e. always working), but maybe we could have some approximate solution that would be good enough for most...

> I'm digging it out of the grave of oblivion. > > @golemfactory/ya-sdk Maybe it's possible for ya*api to ask yagna for current gas price and estimate required gas before...

I can't find the task title `aclose(): asynchronous generator is already running` (or anything similar) anywhere in the logs. @ederenn are you 100% sure this is the correct log file?...

@tworec Do you by any chance have somewhere any details about `aclose(): asynchronous generator is already running`? Like a timestamp or a traceback? I don't have any good idea how...

In case we ever wondered why: https://github.com/golemfactory/yapapi/pull/801/commits/a71d56be3677d7f4ddadad62761a8d4507148f9a#diff-6d466bb4b291dbe02b83de68523c38ab7578dc3c2cf39e1ad9f97ea495bb736b https://github.com/golemfactory/yapapi/pull/801/commits/a71d56be3677d7f4ddadad62761a8d4507148f9a#diff-4c98d1893366958049717c91bf0cd587ace0db9506d9b6d21dd12c550d9b17dd

Does anyone know why this was closed? I'd really love to have a non-async alternative.

Currently (2ae4515) following code fails (and works in `master`): ``` golem = Golem(budget=1.0, subnet_tag="devnet-beta.2") async with golem: async for completed in golem.execute_tasks(worker, tasks, payload=package): print(completed.result.stdout) ``` (probably because `async with...

We have now `examples/blender/start_stop_blender.py`, so that might be turned into a goth test.

Suggestion: ``` # This can create any payload, and is rarely used directly payload = Payload(**kwargs) # Creates VM payloads and uses internally Payload() # (this is a non-async replacement...