Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Issue with GetSceneList Request #9

Open
Wielkimati opened this issue Dec 9, 2018 · 0 comments
Open

Issue with GetSceneList Request #9

Wielkimati opened this issue Dec 9, 2018 · 0 comments

Comments

@Wielkimati
Copy link

Wielkimati commented Dec 9, 2018

Hello!

I'm having problem with one of the requests - GetSceneListRequests. When I use:

scenes = await obsws.require(GetSceneListRequest())

I get the following error:

`Traceback (most recent call last):
  File "C:\Users\Wielkimati\Desktop\stream\main.py", line 52, in <module>
    loop.run_until_complete(main())
  File "C:\python\lib\asyncio\base_events.py", line 568, in run_until_complete
    return future.result()
  File "C:\Users\Wielkimati\Desktop\stream\main.py", line 37, in main
    await request()
  File "C:\Users\Wielkimati\Desktop\stream\main.py", line 47, in request
    scene = await obsws.require(GetSceneListRequest())
  File "C:\python\lib\site-packages\obswsrc\client.py", line 311, in require
    return request.response_class(message)
  File "C:\python\lib\site-packages\obswsrc\struct.py", line 53, in __init__
    value = field.value_type(raw_value)
  File "C:\python\lib\site-packages\obswsrc\protocol.py", line 100, in <lambda>
    return lambda data: list(map(item_type, data))
  File "C:\python\lib\site-packages\obswsrc\protocol.py", line 100, in <lambda>
    return lambda data: list(map(item_type, data))
  File "C:\python\lib\site-packages\obswsrc\struct.py", line 43, in __init__
    for field_name, raw_value in args[0].items():
AttributeError: 'str' object has no attribute 'items'`

Now, I'm not sure if this project is dead or not, but I'd really love to have this fixed, since I prefer this client over Elektrodi's one. I saw that another user had the same problem ( #8 ) and it wasn't fixed. Could you actually look into this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant