Comments (13)
It's not a bad idea, we'll have a look at implementing it in a few days.
from adbus.
I just checked in an update that adds an optional timeout_ms to update, it also returns its self so that you can use that single line syntax in your example.
from adbus.
@charleseidsness are you here ?
from adbus.
adbus.sdbus.SdbusError: org.freedesktop.DBus.Error.NoReply: Method call timed out
maybe, you are missing something. cuz it's still waiting 120 sec (that is by default on dbus) i think you have to raise custom timeout error if no update
from adbus.
something like this await asyncio.wait_for(call.event.wait(), int(5))
in call.py
from adbus.
@charleseidsness sir, am i right ?
from adbus.
You're going to have to be more specific, can you send the error that is raised, including the traceback?
from adbus.
Fri Jul 19 18:12:41 2019
Start_time_in_call_dbus => Fri Jul 19 18:12:41 2019
Start_time_in_Scall => Fri Jul 19 18:12:41 2019
Stop_time_in_Scall => Fri Jul 19 18:12:41 2019
Ignoring exception in command test:
Traceback (most recent call last):
File "/media/kavan/DATA/discord_bots/wfbot/venv/lib/python3.7/site-packages/discord/ext/commands/core.py", line 79, in wrapped
ret = await coro(*args, **kwargs)
File "/media/kavan/DATA/discord_bots/wfbot/test/test_bot.py", line 38, in test
await proxy.update(timeout_ms=5000)
File "/media/kavan/DATA/discord_bots/wfbot/venv/lib/python3.7/site-packages/adbus/client/proxy.py", line 477, in update
timeout_ms=timeout_ms,
File "/media/kavan/DATA/discord_bots/wfbot/venv/lib/python3.7/site-packages/adbus/client/call.py", line 59, in call
raise call.response
File "adbus/sdbus/call.pxi", line 14, in adbus.sdbus.call_callback
File "adbus/sdbus/message.pxi", line 32, in adbus.sdbus.Message.import_sd_bus_message
adbus.sdbus.SdbusError: org.freedesktop.DBus.Error.NoReply: Method call timed out
this is full traceback which is i got
from adbus.
from adbus.
ok np i will fork and edit it for me 😃
from adbus.
from adbus.
when you free check this https://github.com/Kavan72/adbus/commit/cc234531889bd1e2d726bd1a41d531a9e30b5cb7
from adbus.
from adbus.
Related Issues (20)
- Please document why the library wants Python >= 3.7. HOT 5
- adbus.sdbus.SdbusError: Failed to enter array b'y' HOT 3
- Segfault in __pyx_f_5adbus_5sdbus_call_callback HOT 11
- Invalid read of size 1 in message.pyx HOT 1
- Python 3.5 compatibility? HOT 2
- Typing problem in `signal2` in the Readme server example code HOT 1
- `depreciated` and `deprectiated` parameters/properties should be spelled `deprecated` HOT 2
- Active Listen object is garbage collected HOT 3
- Failed to read value with signature s HOT 10
- new release HOT 1
- systemd dbus activation timeout on first try HOT 3
- travis integration is broken HOT 5
- Watch signal events HOT 2
- getting error while installing on ubuntu HOT 5
- dbus service thread count HOT 5
- Exception caused by typing issue when running example code HOT 2
- DepreciationWarning Python 3.8 HOT 2
- Dbus server method with an unsigned int HOT 5
- Cython compile type errors when trying to install adbus HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adbus.