Page 2 of 3

Re: [Plugin] Telegramer (Beta)

Posted: Tue Mar 07, 2017 8:20 pm
by Black Lynx
noam wrote:Unfortunately for now Windows isn't supported.
Some of the Python requirements the module needs to function aren't available when running on Windows as they are when running on Linux.
Hopefully I will find the time to make it work in the future.
Hi, noam.
I'm very interested in the plugin, ready to test it in Windows.

Re: [Plugin] Telegramer (Beta)

Posted: Fri Mar 10, 2017 10:48 am
by crasskitty
Did you just installed pyTelegramBotAPI? Got any error while enabling it?

Re: [Plugin] Telegramer (Beta)

Posted: Fri Mar 10, 2017 11:41 am
by Cas
Afraid on Windows you can't simply install a python module as Deluge is a standalone package. However the plugin author could bundle it or with a bit of faffing you can place the files in site-packages zip in the Deluge application folder.

Re: [Plugin] Telegramer (Beta)

Posted: Sun Mar 12, 2017 12:33 pm
by Cas
What you should do is create a folder (e.g. include) in your plugin then drop the files for the module in there and then in code try for external module and fallback on ImportError to included module.

Yarss2 does this: https://bitbucket.org/bendikro/deluge-y ... ?at=master

Re: [Plugin] Telegramer (Beta)

Posted: Sun Mar 12, 2017 12:55 pm
by noam
Cas wrote:What you should do is create a folder (e.g. include) in your plugin then drop the files for the module in there and then in code try for external module and fallback on ImportError to included module.

Yarss2 does this: https://bitbucket.org/bendikro/deluge-y ... ?at=master
Thanks Cas. If I remember correctly, the issue I had when testing on Windows was packaging modules such as requests which are much "heavier" than a few Python files in a single directory.

Re: [Plugin] Telegramer (Beta)

Posted: Sun Mar 12, 2017 6:20 pm
by Cas
Looking at your core code I'm sure you can easily change usage of requests for twisted.web: https://twistedmatrix.com/documents/14. ... lient.html

Re: [Plugin] Telegramer (Beta)

Posted: Sun Mar 12, 2017 6:27 pm
by noam
Cas wrote:Looking at your core code I'm sure you can easily change usage of requests for twisted.web: https://twistedmatrix.com/documents/14. ... lient.html
I'll definitely take a look at that, thanks for the tip.

Re: [Plugin] Telegramer (Beta)

Posted: Mon May 15, 2017 5:26 pm
by noam
Black Lynx wrote:
noam wrote:Unfortunately for now Windows isn't supported.
Some of the Python requirements the module needs to function aren't available when running on Windows as they are when running on Linux.
Hopefully I will find the time to make it work in the future.
Hi, noam.
I'm very interested in the plugin, ready to test it in Windows.
If you're still up for trying out Telegramer on Windows, I've rewritten much of the code and have an alpha version ready for testing. :)
Github: https://github.com/noam09/deluge-telegramer
Releases: https://github.com/noam09/deluge-telegramer/releases

There are some known issues you should expect from this Alpha version, they will be worked out soon. First I would like to see if the basic plugin works for users other than myself.

Hopefully this helps out other people out there - looking forward to comments/suggestions/bugs/etc. :)

Re: [Plugin] Telegramer (Beta)

Posted: Fri Jun 16, 2017 8:27 pm
by Black Lynx
Sorry for delay.
1.Installed - Done
2.Launch - Done
3.Get Token, Send Token to plugin, get user ID, Send ID to plugin.
4.Save, TEST and nothing.
Plugin have logging?

Re: [Plugin] Telegramer (Beta)

Posted: Sat Jun 17, 2017 11:52 am
by noam
Black Lynx wrote:Sorry for delay.
1.Installed - Done
2.Launch - Done
3.Get Token, Send Token to plugin, get user ID, Send ID to plugin.
4.Save, TEST and nothing.
Plugin have logging?
Can you please try with the latest release (v1.1.1)?
https://github.com/noam09/deluge-telegramer/releases
If the latest release still isn't working after installing it and restarting the client, this page explains how to produce a debug log which you can send me by PM: http://dev.deluge-torrent.org/wiki/Trou ... ficLogging