iMicknl / iMicknl/python-sagemcom-api
[FAST3890V2] Incompatible model using example code
Ouverte
@iMicknl y travaille déjà.
Depuis le 23/5/2020.
blocked
help wanted
new-device
- Langage dominant
- Python
- Étoiles
- 141
- Forks
- 49
- Merge moyen
- 7 h 54 min
- PR mergées (30 j)
- 4
Description
Hi. I got this model:
| Key | Value |
|---|---|
| Board ID: | FAST3890_D0 |
| Symmetric CPU Threads: | 2 |
| Build Timestamp: | 20190823_1045 |
| Linux Version: | 3.14.28-Prod_6.1.2mp2 |
| Wireless Driver Version: | 7.14.164.17 (r683874) |
| Systime: | 2020-05-21T11:04:28+01:00 |
| Standard Specification Compliant | Docsis 3.1 |
| Hardware Version | FAST3890V2 Rev:V2.0 |
| Software Version | FAST3890_TDC_50.10.22.T1 |
| Cable Modem Serial Number | DM1705907002004 |
| CM certificate | Installed |
I tried your example script with my informations, but received this error:
christian@desktop:~$ python3 sagemcom.py
Traceback (most recent call last):
File "sagemcom.py", line 19, in <module>
asyncio.run(main())
File "/usr/lib/python3.8/asyncio/runners.py", line 43, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "sagemcom.py", line 9, in main
logged_in = await sagemcom.login()
File "/home/christian/.local/lib/python3.8/site-packages/sagemcom_api/client.py", line 204, in login
response = await self.__api_request_async([actions], True)
File "/home/christian/.local/lib/python3.8/site-packages/sagemcom_api/client.py", line 149, in __api_request_async
async with session.post(api_host, data="req=" + json.dumps(payload, separators=(',', ':'))) as response:
File "/home/christian/.local/lib/python3.8/site-packages/aiohttp/client.py", line 1012, in __aenter__
self._resp = await self._coro
File "/home/christian/.local/lib/python3.8/site-packages/aiohttp/client.py", line 504, in _request
await resp.start(conn)
File "/home/christian/.local/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 847, in start
message, payload = await self._protocol.read() # type: ignore # noqa
File "/home/christian/.local/lib/python3.8/site-packages/aiohttp/streams.py", line 591, in read
await self._waiter
aiohttp.client_exceptions.ServerDisconnectedError: None
Using Python 3.8.2
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Évaluation
Cette issue n'a pas encore été évaluée.