XMPP Plus

Questions and comments specific to a particular plugin should go here.
Snowbird
Experienced User
Posts: 363
Joined: Fri Jul 03, 2009 10:04 am

Re: XMPP Plus

Post by Snowbird » Thu Mar 28, 2019 5:32 pm

ok, thanks mate.
it would be fantastic if you could fix it, the plugin would be 100% reliable !
As always, if you want me to test anything just let me know.

Snowbird
Experienced User
Posts: 363
Joined: Fri Jul 03, 2009 10:04 am

Re: XMPP Plus

Post by Snowbird » Wed Jul 03, 2019 6:17 am

Hi Kevin,

Just to let you know that since your last update of the plugin (a couple of months ago), the XEP 184 (Receipt Request plugin) doesn't work anymore :(

Code: Select all

03/07  08:15:03         Error in Action: "XMPP Plus v1.2.6: Send Message: abc@404.city"
03/07  08:15:03         Traceback (most recent call last) (WIP-2019.04.14-12.39.31):
03/07  08:15:03           File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionBase.py", line 116, in CallWrapper
03/07  08:15:03             return self(*args)
03/07  08:15:03           File "C:\ProgramData\EventGhost\plugins\XMPPPlus\__init__.py", line 722, in __call__
03/07  08:15:03             receipt
03/07  08:15:03           File "C:\ProgramData\EventGhost\plugins\XMPPPlus\__init__.py", line 464, in send_message
03/07  08:15:03             self._client['xep_0184'].auto_request = receipt
03/07  08:15:03         TypeError: 'NoneType' object has no attribute '__getitem__'

Snowbird
Experienced User
Posts: 363
Joined: Fri Jul 03, 2009 10:04 am

Re: XMPP Plus

Post by Snowbird » Wed Jul 03, 2019 7:30 am

I know you have spent lots of time on this already, and I thank you for that. As you know the connection drop problem is still there, when the internet connection goes down I have to restart EG to make it work again, not very user friendly. Maybe the only way to fix this is to try a completely new XMPP library, I have found 2 of them but unfortunately they are made for Python 3.x

this one is a fork of sleekxmpp, the one you implemented in EG, more info here :
https://lab.louiz.org/poezio/slixmpp

and this one is a completely different one :
https://github.com/horazont/aioxmpp

Both of them are still active to this day (latest update made a few months ago), is there a way to start over with one of those ? I know the big concern is the Python version in EG. Do you have any beta of EG with Python 3.x that would help on this matter ? even with basic functionality.

I really do like the XMPP plugin, I use it intensively everyday with my smartphone to send commands to EG when I'm away from home. That's the only plugin that allows me to communicate easily with EG (sending basic texts that translate to action), I don't need to make fancy webpages with buttons to do this or that, I simply chat with my EG :) That's really cool when you get the hang of it.

If you could reconsider my request it would be much appreciated.
Thank you.
Last edited by Snowbird on Wed Jul 03, 2019 3:19 pm, edited 1 time in total.

User avatar
kgschlosser
Site Admin
Posts: 4803
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: XMPP Plus

Post by kgschlosser » Wed Jul 03, 2019 3:15 pm

the aoixmpp is python 3 only. and the issue with python 3 is not so much EG. It is plugin compatibility. specifically with wxPython that is the component that is a real booger.
If you like the work I have been doing then feel free to Image

Snowbird
Experienced User
Posts: 363
Joined: Fri Jul 03, 2009 10:04 am

Re: XMPP Plus

Post by Snowbird » Thu Jul 04, 2019 9:10 am

ok, well I will have to live with it I guess.

and regarding the error I mentioned above, do you have an idea ?

User avatar
kgschlosser
Site Admin
Posts: 4803
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: XMPP Plus

Post by kgschlosser » Sat Jul 06, 2019 6:28 pm

ok sir I wanted to show you this... do not get too excited it is still a ways off.

https://github.com/kdschlosser/EventGho ... ew_version.

be sure to read the readme file if you want to compile and run it. it will tell you what you need to have installed to do it.
If you like the work I have been doing then feel free to Image

Snowbird
Experienced User
Posts: 363
Joined: Fri Jul 03, 2009 10:04 am

Re: XMPP Plus

Post by Snowbird » Sun Jul 07, 2019 7:33 am

I have read and installed everything, and here's the error I get when trying to compile :

Code: Select all

PS C:\Users\Snowbird\Downloads\EventGhost-x64-Python3.5-master> C:\Users\Snowbird\AppData\Local\Programs\Python\Stackless35\python setup.py build_exe
Traceback (most recent call last):
  File "C:\Users\Snowbird\Downloads\EventGhost-x64-Python3.5-master\inno_setup\__init__.py", line 35, in <module>
    "SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\"
FileNotFoundError: [WinError 2] The system cannot find the file specified

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "setup.py", line 37, in <module>
    __import__('inno_setup')
  File "C:\Users\Snowbird\Downloads\EventGhost-x64-Python3.5-master\inno_setup\__init__.py", line 49, in <module>
    'InnoSetup Unicode >= 5.5.8 is required to build EventGhost'
inno_setup.InnoSetupMissing: InnoSetup Unicode >= 5.5.8 is required to build EventGhost
PS C:\Users\Snowbird\Downloads\EventGhost-x64-Python3.5-master>
I went there and installed InnoSetup :
http://www.jrsoftware.org/isdl.php

but got the same error... :)
what should I do ?

User avatar
kgschlosser
Site Admin
Posts: 4803
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: XMPP Plus

Post by kgschlosser » Mon Jul 08, 2019 2:52 am

its a work in progress. I thought you might want to know that I am working on getting EG upgraded to python 3.
If you like the work I have been doing then feel free to Image

Snowbird
Experienced User
Posts: 363
Joined: Fri Jul 03, 2009 10:04 am

Re: XMPP Plus

Post by Snowbird » Mon Jul 08, 2019 10:41 am

oh ok :) good to know then !
I hope it will see the daylight soon :)

Snowbird
Experienced User
Posts: 363
Joined: Fri Jul 03, 2009 10:04 am

Re: XMPP Plus

Post by Snowbird » Thu Jul 18, 2019 5:33 pm

Hi Kevin,

it's me again :)

Just to tell, that I can no longer connect to the 404.city server :
https://404.city

I'm getting the following error :
XMPPPlus.xmpp.404.city:5222.SocketError '[Errno 9] Bad file descriptor'
XMPPPlus.snowbird@404.city.ConnectionFailed.Retrying
could you please create an account on their website (it will take you 5 seconds), then try the plugin with the newly created account, and see why it's doing that ? :(

I think they have recently upgraded their server, and since then I can not connect anymore :(

Thanks

Post Reply