Page 1 of 2

New version python 3 compatible

PostPosted: Thu Mar 30, 2023 6:15 am
by siclark
I will be taking over this plugin and will be pushing to the plugin store a python 3 compatible version under a new name of UK Trains, to make it a bit more explicit as to what this does.

It's working on my machine and generating the images but will be some more work required to bring it fully up to current best practise for plugins.

Re: New version python 3 compatible

PostPosted: Thu Mar 30, 2023 6:35 am
by mwoodage
That’s great news, I’ve always like this plug-in, but for me it’s not worked for several years.
Happy to help with testing if needs be :D

Martin

Re: New version python 3 compatible

PostPosted: Thu Mar 30, 2023 7:08 am
by siclark
Yes I've had to fiddle with bits over the years to keep it working and after releasing my irritation plugin realised I could have a proper look at this.

Once Jay approves you can download. You'll need to set up new route devices but you can use same API key.
Please tick to enable images to ensure settings are correctly setup , in this version.
If you do this first you can migrate any triggers etc from one devices to the new ones.

Re: New version python 3 compatible

PostPosted: Mon Apr 10, 2023 8:55 am
by mwoodage
Hello, just wondering if this has been approved yet? Looking forward to trying it out


Sent from my iPhone using Tapatalk

Re: New version python 3 compatible

PostPosted: Mon Apr 10, 2023 9:47 am
by jay (support)
mwoodage wrote:
Hello, just wondering if this has been approved yet? Looking forward to trying it out


Odd, not sure why I didn't see the notification email (or perhaps saw it and there was some back and forth or something). Anyway, I've approved it: https://www.indigodomo.com/pluginstore/284/

Re: New version python 3 compatible

PostPosted: Mon Apr 10, 2023 10:31 am
by mwoodage
Thanks Jay, no worries,
I’ll give UK trains a try now :D

Re: New version python 3 compatible

PostPosted: Wed Apr 12, 2023 11:28 am
by neilk
I got this working fine and it is really cool.

I think the support and GitHub links are broken in the plugin store link for FYI and to install I did the suds and pytz installs via pip3, but FYI you are not prompted for the suds install in the error log but simple to work out.

Neil

Re: New version python 3 compatible

PostPosted: Wed Apr 12, 2023 11:55 am
by jay (support)
neilk wrote:
I think the support and GitHub links are broken in the plugin store link for FYI and to install I did the suds and pytz installs via pip3, but FYI you are not prompted for the suds install in the error log but simple to work out.


The support link is definitely broken, but the GitHub link worked fine for me.

Re: New version python 3 compatible

PostPosted: Wed Apr 12, 2023 1:09 pm
by mwoodage
Interestingly i tried this on Monday, but couldn't get it to work (i think the problem is my end and not with the plugin).
I've not had a chance to figure out why it's not working, but will have another look at the weekend when i've got more time.

I also installed suds and pytz via pip3

M

Re: New version python 3 compatible

PostPosted: Wed Apr 12, 2023 2:05 pm
by siclark
Apologies, I'll sort out the support link once I get the forum updated
The current version is supposed to prompt for pytz to be installed, but will check on that and suds.

Re: New version python 3 compatible

PostPosted: Wed Apr 12, 2023 2:53 pm
by neilk
It does indeed prompt for pytz but not for suds. Apologies, the github issue was actually at my end with my login.

Neil

Re: New version python 3 compatible

PostPosted: Wed Apr 12, 2023 3:01 pm
by siclark
Thanks. At least the code works, I'll update to include suds.

Re: New version python 3 compatible

PostPosted: Thu Apr 13, 2023 10:05 am
by mwoodage
Had some time to play with this today and can confirm it’s all working

Thanks for taking the time to update the plugin
Martin


Sent from my iPhone using Tapatalk

Re: New version python 3 compatible

PostPosted: Thu Apr 13, 2023 12:29 pm
by siclark
Glad to hear. I'll get some updated documentation up soon, and use autologs nice code to prompt for suds installation.

Re: New version python 3 compatible

PostPosted: Sat Jun 03, 2023 5:37 am
by neilk
Morning - It maybe the plugin is on strike like most of the UK train network (and suspect it may be related) but got this in my logs today

Code: Select all
 UK Trains Error                 Error in plugin execution runConcurrentThread:

  File "plugin.py", line 1033, in runConcurrentThread
type: name 'errorFile' is not defined

   UK Trains Error                 plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)



Thanks,
Neil