[Plugin] Telegramer (Beta)

Suggest, post, or discuss plugins for Deluge
Black Lynx
New User
New User
Posts: 5
Joined: Tue Mar 07, 2017 6:07 pm
OS or Distro: Win7 x64

Re: [Plugin] Telegramer (Beta)

Postby Black Lynx » Tue Mar 07, 2017 8:20 pm

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.

crasskitty
New User
New User
Posts: 3
Joined: Fri Mar 10, 2017 10:30 am
OS or Distro: OS

Re: [Plugin] Telegramer (Beta)

Postby crasskitty » Fri Mar 10, 2017 10:48 am

Did you just installed pyTelegramBotAPI? Got any error while enabling it?

Cas
Top Bloke
Top Bloke
Posts: 3442
Joined: Mon Dec 07, 2009 6:04 am
OS or Distro: Ubuntu 16.04
Location: Scotland

Re: [Plugin] Telegramer (Beta)

Postby Cas » Fri Mar 10, 2017 11:41 am

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.

Cas
Top Bloke
Top Bloke
Posts: 3442
Joined: Mon Dec 07, 2009 6:04 am
OS or Distro: Ubuntu 16.04
Location: Scotland

Re: [Plugin] Telegramer (Beta)

Postby Cas » Sun Mar 12, 2017 12:33 pm

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

noam
Member
Member
Posts: 10
Joined: Mon Jun 06, 2016 1:11 pm
OS or Distro: Linux

Re: [Plugin] Telegramer (Beta)

Postby noam » Sun Mar 12, 2017 12:55 pm

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.

Cas
Top Bloke
Top Bloke
Posts: 3442
Joined: Mon Dec 07, 2009 6:04 am
OS or Distro: Ubuntu 16.04
Location: Scotland

Re: [Plugin] Telegramer (Beta)

Postby Cas » Sun Mar 12, 2017 6:20 pm

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

noam
Member
Member
Posts: 10
Joined: Mon Jun 06, 2016 1:11 pm
OS or Distro: Linux

Re: [Plugin] Telegramer (Beta)

Postby noam » Sun Mar 12, 2017 6:27 pm

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.

noam
Member
Member
Posts: 10
Joined: Mon Jun 06, 2016 1:11 pm
OS or Distro: Linux

Re: [Plugin] Telegramer (Beta)

Postby noam » Mon May 15, 2017 5:26 pm

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. :)

Black Lynx
New User
New User
Posts: 5
Joined: Tue Mar 07, 2017 6:07 pm
OS or Distro: Win7 x64

Re: [Plugin] Telegramer (Beta)

Postby Black Lynx » Fri Jun 16, 2017 8:27 pm

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?

noam
Member
Member
Posts: 10
Joined: Mon Jun 06, 2016 1:11 pm
OS or Distro: Linux

Re: [Plugin] Telegramer (Beta)

Postby noam » Sat Jun 17, 2017 11:52 am

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


Return to “Plugins”

Who is online

Users browsing this forum: No registered users and 16 guests