Open funny-cat-happy opened 1 year ago
yes please add support, plus ive ran into problem the app says "incorrect token" now.
yes please add support, plus ive ran into problem the app says "incorrect token" now.
Do you copy from your bark app of iphone right?And can you show your code?
yes i copied exactly. the code is your sample code of your hello world. using aliyun ubuntu 22 in the .venv environment python 3.10 only problem might be that i also installed bark-cli?
yes i copied exactly. the code is your sample code of your hello world. using aliyun ubuntu 22 in the .venv environment python 3.10 only problem might be that i also installed bark-cli?
The device id is a 64-letter string. Is it right? And can you send the detail of the error message?
Traceback (most recent call last): File "/root/rqd_arcticdb/barktest.py", line 4, in <module> bark.send(title="welcome", content="hello world") File "/root/rqd_arcticdb/.another_venv/lib/python3.10/site-packages/BarkNotificator/barknotificator.py", line 95, in send raise BarkNotificatorException(response.text) BarkNotificator.exception.BarkNotificatorException: {"reason":"InvalidProviderToken"}
Traceback (most recent call last): File "/root/rqd_arcticdb/barktest.py", line 4, in <module> bark.send(title="welcome", content="hello world") File "/root/rqd_arcticdb/.another_venv/lib/python3.10/site-packages/BarkNotificator/barknotificator.py", line 95, in send raise BarkNotificatorException(response.text) BarkNotificator.exception.BarkNotificatorException: {"reason":"InvalidProviderToken"}
I test in my ubuntu 3.10 python server.It works normally.Maybe you installed another package that caused a conflict. Maybe your device id is wrong.
OK thanks I’ll check.
获取 Outlook for iOShttps://aka.ms/o0ukef
发件人: PieCat @.> 发送时间: Tuesday, November 7, 2023 11:33:32 PM 收件人: funny-cat-happy/barknotificator @.> 抄送: LianLongBaGua @.>; Comment @.> 主题: Re: [funny-cat-happy/barknotificator] plans for 0.2.0 (Issue #4)
Traceback (most recent call last): File "/root/rqd_arcticdb/barktest.py", line 4, in
I test in my ubuntu 3.10 python server.It works normally.Maybe you installed another package that caused a conflict. Maybe your device id is wrong.
― Reply to this email directly, view it on GitHubhttps://github.com/funny-cat-happy/barknotificator/issues/4#issuecomment-1798885578, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A6IPNN4GIARN3S7FQWXK5SLYDJIEZAVCNFSM6AAAAAA323DWTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJYHA4DKNJXHA. You are receiving this because you commented.Message ID: @.***>
Traceback (most recent call last): File "/root/rqd_arcticdb/barktest.py", line 4, in <module> bark.send(title="welcome", content="hello world") File "/root/rqd_arcticdb/.another_venv/lib/python3.10/site-packages/BarkNotificator/barknotificator.py", line 95, in send raise BarkNotificatorException(response.text) BarkNotificator.exception.BarkNotificatorException: {"reason":"InvalidProviderToken"}
I test in my ubuntu 3.10 python server.It works normally.Maybe you installed another package that caused a conflict. Maybe your device id is wrong.
OK after some testing i found what something very strange. given my coding ability i'm unable to solve that puzzle.
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "E:\GitHub\vectorbt_learning.venv\lib\site-packages\httpx_transports\default.py", line 66, in map_httpcore_exceptions yield File "E:\GitHub\vectorbt_learning.venv\lib\site-packages\httpx_transports\default.py", line 228, in handle_request resp = self._pool.handle_request(req) File "E:\GitHub\vectorbt_learning.venv\lib\site-packages\httpcore_sync\connection_pool.py", line 268, in handle_request raise exc File "E:\GitHub\vectorbt_learning.venv\lib\site-packages\httpcore_sync\connection_pool.py", line 251, in handle_request response = connection.handle_request(request) File "E:\GitHub\vectorbt_learning.venv\lib\site-packages\httpcore_sync\http_proxy.py", line 317, in handle_request stream = stream.start_tls(**kwargs) File "E:\GitHub\vectorbt_learning.venv\lib\site-packages\httpcore_backends\sync.py", line 152, in start_tls with map_exceptions(exc_map): File "e:\veighna_elite_simulation\lib\contextlib.py", line 153, in exit self.gen.throw(typ, value, traceback) File "E:\GitHub\vectorbt_learning.venv\lib\site-packages\httpcore_exceptions.py", line 14, in map_exceptions raise to_exc(exc) from exc httpcore.ConnectTimeout: _ssl.c:980: The handshake operation timed out
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "e:\GitHub\vectorbt_learning\tutorio.py", line 5, in
specifically the only variable here seems to be whether its running inside a jupyter kernel or not. but the kernel and the interpreter i used to run the script are identical: i.e. the python.exe from .venv/bin
OK i got it. 命名空间的问题
@funny-cat-happy Hello, you have update code with new options but not publish it pipy, when use pip to install it, there no new options
@funny-cat-happy Hello, you have update code with new options but not publish it pipy, when use pip to install it, there no new options
It has updated now
Current Issue
httpx package is very big and has so many dependency. Not support for tls to send message to apple server.
Future Plan
If so many people use it and have feedback,I will fix it and add some features.