lad1337 / XDM

XDM: eXtendable Download Manager. Plugin based media collection manager.
xdm.lad1337.de
Other
203 stars 46 forks source link

ubuntu instructions? #168

Closed AtariBaby closed 10 years ago

AtariBaby commented 10 years ago

Hi.

It looks like some people here are installing on ubuntu. Is there an installation guide somewhere? I got as far as running setup.py and it said something about mac and win only and "I have failed you".

lad1337 commented 10 years ago

Like this https://github.com/lad1337/XDM/wiki/Ubuntu-Quick-install The setup.py is for compiling binary packages like exe or app for Mac and windows

AtariBaby commented 10 years ago

I'm very grateful for that. I hope you don't mind, I made a slight edit with n00bs in mind. I added "substitute "username" for actual username, without quotes"

When I tried to start it, I got this:

Traceback (most recent call last):
  File "XDM.py", line 56, in <module>
    from xdm import init, helper, actionManager
  File "/home/misterfantastic/.XDM/xdm/init.py", line 25, in <module>
    from classes import *
  File "/home/misterfantastic/.XDM/xdm/classes.py", line 28, in <module>
    from xdm import common, helper, profileMeMaybe
  File "/home/misterfantastic/.XDM/xdm/helper.py", line 36, in <module>
    from babel.dates import format_timedelta
ImportError: cannot import name format_timedelta

I should also note that I named my XDM directory ".XDM", because I like most of my directories to be hidden by default. But I have no idea if that's relevant.

AtariBaby commented 10 years ago

Okay, then I tried googling and it was recommended to install pip 2.7 and flask-babel which I did. Now it works! I'll add that to the guide above, but I totally respect if you want to delete or edit it.

AtariBaby commented 10 years ago

Also, feel free to close this issue.

paulcalabro commented 8 years ago

Thanks @AtariBaby! The following error was solved by installing flask-babel as well.

ImportError: cannot import name format_timedelta