Editor Schemes not getting downloaded on Windows #1180

Closed
Leif7 opened this Issue Mar 28, 2013 · 1 comment

Projects

None yet

2 participants

@Leif7

I'm on Windows 8. It wasn't possible to download schemes (nor plugins).
I have tested both Windows installer, and running from source code.

On http://ninja-ide.org/schemes/api/ the urls are missing website link ie
/media/schemes/buntu_new.color
instead of
http://www.django-ide.org/media/schemes/buntu_new.color

Possible solution:
either change http://ninja-ide.org/schemes/api/ to return full url
or in themes_manager.py change

def _download_scheme_thread(self):
    for d in self.downloadItems:
        self.download(d[1], resources.EDITOR_SKINS)

to

def _download_scheme_thread(self):
    for d in self.downloadItems:
        self.download('http://ninja-ide.org' + d[1], resources.EDITOR_SKINS)

(Obviously without http: hardcoded but I couln't find website constant in the code base easily.)

This code worked for me so I could install the schemes. Not sure whether it wouldn't break something on Linux or Mac though....

@malderete

This is a "issue" in the ninja-ide.org site, we are working on it. We dont need a patch in the ninja-ide source code.
I close it because is duplicate of #1146
thanks for the feedback!

@malderete malderete closed this Mar 28, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment