ETA on 2.0.3 .app

Support for Deluge on Apple Mac OS
cappy
Member
Member
Posts: 14
Joined: Sun Sep 10, 2017 7:25 am

Re: ETA on 2.0.3 .app

Post by cappy »

Thank you for the .app daemon and thin client working. However deluge-web not starting up for me with the following error:

Code: Select all

Traceback (most recent call last):
  File "/Applications/Deluge.app/Contents/MacOS/deluge-web-bin", line 11, in <module>
    load_entry_point('deluge==2.0.4.dev51', 'console_scripts', 'deluge-web')()
  File "/Applications/Deluge.app/Contents/Resources/lib/python/deluge/ui/web/__init__.py", line 8, in start
    web.start()
  File "/Applications/Deluge.app/Contents/Resources/lib/python/deluge/ui/web/web.py", line 72, in start
    from deluge.ui.web import server
  File "/Applications/Deluge.app/Contents/Resources/lib/python/deluge/ui/web/server.py", line 30, in <module>
    from deluge.ui.web.auth import Auth
  File "/Applications/Deluge.app/Contents/Resources/lib/python/deluge/ui/web/auth.py", line 23, in <module>
    from deluge.ui.web.json_api import JSONComponent, export
  File "/Applications/Deluge.app/Contents/Resources/lib/python/deluge/ui/web/json_api.py", line 35, in <module>
    from deluge.ui.web.common import _
  File "/Applications/Deluge.app/Contents/Resources/lib/python/deluge/ui/web/common.py", line 14, in <module>
    from mako.template import Template as MakoTemplate
ModuleNotFoundError: No module named 'mako.template'
Suggestions? As I use deluge-web so that radarr and sonarr can connect to deluge. If there is another way without deluge-web to allow sonarr and radarr to connect please let me know.

Client and daemon side still show that webui interface is not installed even though the plugin has been selected. I have tried manually installing the .egg as well.
character82
New User
New User
Posts: 3
Joined: Tue Nov 26, 2019 6:20 pm

Re: ETA on 2.0.3 .app

Post by character82 »

Is there a way to use this .app on M1 macs?
banbutcher
Member
Member
Posts: 15
Joined: Fri Nov 15, 2019 4:20 am

Re: ETA on 2.0.3 .app

Post by banbutcher »

im running lord-kaminas version which i installed on a fresh install of montarey, other than that i dont know what to say... it worked for me except the webUI

version 1 & 2 do not interact with each other, im not even sure if both can be run at the same time without changing config files.

im still looking for a fix to my webUI (deluge-web) not being installed if any one can help? 😬
mhertz
Moderator
Moderator
Posts: 1609
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: ETA on 2.0.3 .app

Post by mhertz »

From the error output cappy posted, I checked the downloaded/extracted app-bundle and see template.py from mako dir missing, hence mako.template fail importing and so web-UI failing.

I zipped up template.py and rest missing mako module-files, and uploaded here: mako.7z

Extract the archive into mako dir where installed which I can't help with, and just know it was missing from extracted bundles 'Deluge.app/Contents/Resources/lib/python3.7/mako' dir. (Edit: I forgot install path obviously listed in error output doh, so extract archive into '/Applications/Deluge.app/Contents/Resources/lib/python3.7/mako')

Note I haven't tested this, as never used mac's in my life, but should atleast fix the issue of importing mako.template, as per error message posted.
banbutcher
Member
Member
Posts: 15
Joined: Fri Nov 15, 2019 4:20 am

Re: ETA on 2.0.3 .app

Post by banbutcher »

@mertz Thanks very much, that solution worked! you sir are a legend!
mhertz
Moderator
Moderator
Posts: 1609
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: ETA on 2.0.3 .app

Post by mhertz »

Appreciate that my friend :)
irebel
New User
New User
Posts: 6
Joined: Fri Nov 27, 2020 4:42 pm

Re: ETA on 2.0.3 .app

Post by irebel »

Lord-Kamina wrote: Wed Jul 01, 2020 3:58 am https://www.dropbox.com/s/c51t7y5kh7za2 ... pp.7z?dl=1

Note, as I said previously, if you're on macOS 10.13+, this should open magnets natively, without relying on the Magnet Handler app.
Thank you for providing this build! It seems to work as a thin client for 2.1.0 well so far.

Any plans for 2.1.0 macOS build?
lilyshabatsky
New User
New User
Posts: 1
Joined: Wed Jul 27, 2022 12:09 pm

Re: ETA on 2.0.3 .app

Post by lilyshabatsky »

thanks for the info
Post Reply