Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adhoc_provider.py in the examples does not work with gajim 1.1.2 #503

Open
jarobase opened this issue Apr 13, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@jarobase
Copy link

commented Apr 13, 2019

The adhoc provider example (adhoc_provider.py) from the examples is not working with gajim. The error message is: "Service changed the session identifier".
See the following log

<!-- Incoming Sat 13 Apr 2019 17:04:50 CEST -->
<r xmlns="urn:xmpp:sm:3" />

<!-- Outgoing Sat 13 Apr 2019 17:04:50 CEST -->
<a xmlns="urn:xmpp:sm:3" h="490" />

<!-- Outgoing Sat 13 Apr 2019 17:04:51 CEST -->
<iq xmlns="jabber:client" to="r1d2@agayon.be/bot" type="get" id="ab6d27c8-93b5-4e2c-872f-f3f823a38914" from="jnanar@agayon.be/gajim.CUN4YTNX">
<query xmlns="http://jabber.org/protocol/disco#items" node="http://jabber.org/protocol/commands" />
</iq>

<!-- Outgoing Sat 13 Apr 2019 17:04:51 CEST -->
<r xmlns="urn:xmpp:sm:3" />

<!-- Incoming Sat 13 Apr 2019 17:04:51 CEST -->
<a h="108" xmlns="urn:xmpp:sm:3" />

<!-- Incoming Sat 13 Apr 2019 17:04:51 CEST -->
<iq xmlns="jabber:client" type="result" from="r1d2@agayon.be/bot" id="ab6d27c8-93b5-4e2c-872f-f3f823a38914" to="jnanar@agayon.be/gajim.CUN4YTNX">
<query node="http://jabber.org/protocol/commands" xmlns="http://jabber.org/protocol/disco#items">
<item node="greeting" name="Greeting" jid="r1d2@agayon.be/bot" />
</query>
</iq>

<!-- Incoming Sat 13 Apr 2019 17:04:51 CEST -->
<r xmlns="urn:xmpp:sm:3" />

<!-- Outgoing Sat 13 Apr 2019 17:04:51 CEST -->
<a xmlns="urn:xmpp:sm:3" h="491" />

<!-- Outgoing Sat 13 Apr 2019 17:04:54 CEST -->
<iq xmlns="jabber:client" to="r1d2@agayon.be/bot" type="set" id="253d280d-1eec-428a-8498-281c0047fe8a" from="jnanar@agayon.be/gajim.CUN4YTNX">
<command xmlns="http://jabber.org/protocol/commands" node="greeting" action="execute" />
</iq>

<!-- Outgoing Sat 13 Apr 2019 17:04:54 CEST -->
<r xmlns="urn:xmpp:sm:3" />

<!-- Incoming Sat 13 Apr 2019 17:04:54 CEST -->
<iq xmlns="jabber:client" type="result" from="r1d2@agayon.be/bot" id="253d280d-1eec-428a-8498-281c0047fe8a" to="jnanar@agayon.be/gajim.CUN4YTNX">
<command sessionid="1555167894.0946295-fd5efc0c-f888-4d76-9691-bf6f6d3b65ed-7" status="executing" node="greeting" xmlns="http://jabber.org/protocol/commands">
<actions>
<complete />
</actions>
<x type="form" xmlns="jabber:x:data">
<title>Greeting</title>
<instructions>Send a custom greeting to a JID</instructions>
<field label="Your greeting" var="greeting" type="text-single" />
</x>
</command>
</iq>

<!-- Incoming Sat 13 Apr 2019 17:04:54 CEST -->
<a h="109" xmlns="urn:xmpp:sm:3" />

<!-- Incoming Sat 13 Apr 2019 17:04:54 CEST -->
<r xmlns="urn:xmpp:sm:3" />

<!-- Outgoing Sat 13 Apr 2019 17:04:54 CEST -->
<a xmlns="urn:xmpp:sm:3" h="492" />

<!-- Outgoing Sat 13 Apr 2019 17:04:57 CEST -->
<iq xmlns="jabber:client" to="r1d2@agayon.be/bot" type="set" id="30ffb458-1b65-4027-aebf-8cead50bc03f" from="jnanar@agayon.be/gajim.CUN4YTNX">
<command xmlns="http://jabber.org/protocol/commands" node="greeting" action="execute" sessionid="1555167894.0946295-fd5efc0c-f888-4d76-9691-bf6f6d3b65ed-7">
<x type="submit" xmlns="jabber:x:data">
<field var="greeting" type="text-single">
<value>test</value>
</field>
</x>
</command>
</iq>

<!-- Outgoing Sat 13 Apr 2019 17:04:57 CEST -->
<r xmlns="urn:xmpp:sm:3" />

<!-- Incoming Sat 13 Apr 2019 17:04:57 CEST -->
<a h="110" xmlns="urn:xmpp:sm:3" />

<!-- Incoming Sat 13 Apr 2019 17:04:57 CEST -->
<iq xmlns="jabber:client" type="result" from="r1d2@agayon.be/bot" id="30ffb458-1b65-4027-aebf-8cead50bc03f" to="jnanar@agayon.be/gajim.CUN4YTNX">
<command sessionid="1555167897.2091985-fd5efc0c-f888-4d76-9691-bf6f6d3b65ed-8" status="executing" node="greeting" xmlns="http://jabber.org/protocol/commands">
<actions>
<complete />
</actions>
<x type="form" xmlns="jabber:x:data">
<title>Greeting</title>
<instructions>Send a custom greeting to a JID</instructions>
<field label="Your greeting" var="greeting" type="text-single" />
</x>
</command>
</iq>

<!-- Incoming Sat 13 Apr 2019 17:04:57 CEST -->
<r xmlns="urn:xmpp:sm:3" />

<!-- Outgoing Sat 13 Apr 2019 17:04:57 CEST -->
<a xmlns="urn:xmpp:sm:3" h="493" />

<!-- Incoming Sat 13 Apr 2019 17:04:59 CEST -->
<r xmlns="urn:xmpp:sm:3" />

<!-- Outgoing Sat 13 Apr 2019 17:04:59 CEST -->
<a xmlns="urn:xmpp:sm:3" h="494" />

<!-- Incoming Sat 13 Apr 2019 17:04:59 CEST -->
<r xmlns="urn:xmpp:sm:3" />

<!-- Outgoing Sat 13 Apr 2019 17:04:59 CEST -->
<a xmlns="urn:xmpp:sm:3" h="495" />

<!-- Outgoing Sat 13 Apr 2019 17:04:59 CEST -->
<iq xmlns="jabber:client" to="r1d2@agayon.be/bot" type="get" id="167df6e9-d556-4c58-be65-034455b41849" from="jnanar@agayon.be/gajim.CUN4YTNX">
<query xmlns="http://jabber.org/protocol/disco#items" node="http://jabber.org/protocol/commands" />
</iq>

<!-- Outgoing Sat 13 Apr 2019 17:04:59 CEST -->
<r xmlns="urn:xmpp:sm:3" />

<!-- Incoming Sat 13 Apr 2019 17:04:59 CEST -->
<iq xmlns="jabber:client" type="result" from="r1d2@agayon.be/bot" id="167df6e9-d556-4c58-be65-034455b41849" to="jnanar@agayon.be/gajim.CUN4YTNX">
<query node="http://jabber.org/protocol/commands" xmlns="http://jabber.org/protocol/disco#items">
<item node="greeting" name="Greeting" jid="r1d2@agayon.be/bot" />
</query>
</iq>

<!-- Incoming Sat 13 Apr 2019 17:04:59 CEST -->
<a h="111" xmlns="urn:xmpp:sm:3" />

<!-- Incoming Sat 13 Apr 2019 17:04:59 CEST -->
<r xmlns="urn:xmpp:sm:3" />

<!-- Outgoing Sat 13 Apr 2019 17:04:59 CEST -->
<a xmlns="urn:xmpp:sm:3" h="496" />



Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.