service side: interface must be optional for methods if unambiguous
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- ruby
- Ambito
- backend, distributed-systems
Direzione di ricerca
Reproduce the example service and the qdbus calls shown in the issue, comparing calls made with and without an interface name. Trace the service-side method dispatch and introspection behavior; done means unambiguous methods are callable without an interface and the reported introspection output is corrected.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
If I create the service from the example, I get the following on the command line
╰─➤ qdbus org.ruby.service /org/ruby/MyInstance
signal void org.ruby.SampleInterface.SomethingJustHappened(QString toto, uint tutu)
method void org.ruby.SampleInterface.hello(QString name, QString name2)
method void org.ruby.SampleInterface.test_variant(QDBusVariant stuff)
method QString org.ruby.AnotherInterface.Reverse(QString instr)
method void org.ruby.AnotherInterface.ThatsALongMethodNameIThink()
Notice there is no introspect method. Also, I can't call any of the methods, I get the following error:
╰─➤ qdbus org.ruby.service /org/ruby/MyInstance Reverse "yay"
Error: org.freedesktop.DBus.Error.UnknownMethod
Interface "" of object "/org/ruby/MyInstance" doesn't exist
I have created multiple service, in different applications, but still keep getting this error. When the method genuinely doesn't exist, there is another different error saying it cannot be found.
- Lingua principale
- Ruby
- Stelle
- 174
- Fork
- 51
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di mvidner/ruby-dbus
-
Specify rexml versioningAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
-
Rexml or Nokogiri?Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
-
NetworkManager.Settings.Connection cannot round-trip, calling Update with what GetSettings returnedAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 45/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
Tutte le issue di mvidner/ruby-dbus
Issue simili
-
Local evaluation buckets percentage splits with the server key, so results differ from FlagsmithAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Add PrestashopApertarequest
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
endoflife-date/endoflife.date#11303 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
TheOdinProject/curriculum#31458 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
bug priority: high
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
mitakarb/beerkeeper#1259 ·