2011-11-08, 00:16
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146
2011-11-08, 00:29
Sorry for the noob questions, but I can't for the life of me get this to run on Ubuntu 10.04 I keep getting...
"You need to specify DATABASE in settings.py"
when I run "python setup.py"
and I do have the Database path specified in "settings.py"
"You need to specify DATABASE in settings.py"
when I run "python setup.py"
and I do have the Database path specified in "settings.py"
2011-11-08, 00:34
Too bad it's standalone. Would be nice if it could be a XBMC web addon.
2011-11-08, 00:34
lastimp Wrote:Sorry for the noob questions, but I can't for the life of me get this to run on Ubuntu 10.04 I keep getting...
"You need to specify DATABASE in settings.py"
when I run "python setup.py"
and I do have the Database path specified in "settings.py"
Below is what I have setup my settings.py with in 10.04:
Code:
DATABASE = '/var/www/maraschino/maraschino.db'
Its working a treat, just check the permissions on the files, they may be your problem.
2011-11-08, 00:40
mrkipling Wrote:Serving from a location other than root? I'm not entirely sure, but it should be possible to do now, I think? Although I haven't tried to do so myself.
When changing the WSCGIScriptAlias to /maraschino (so as to server the page at http://server/maraschino) this is what I get on my apache error.log
Code:
[Mon Nov 07 22:36:02 2011] [error] [client 192.168.10.3] File does not exist: /var/www/xhr, referer: http://server/maraschino
[Mon Nov 07 22:36:06 2011] [error] [client 192.168.10.3] File does not exist: /var/www/xhr, referer: http://server/maraschino
[Mon Nov 07 22:36:11 2011] [error] [client 192.168.10.3] File does not exist: /var/www/xhr, referer: http://server/maraschino
[Mon Nov 07 22:36:14 2011] [error] [client 192.168.10.3] File does not exist: /var/www/static, referer: http://server/maraschino
[Mon Nov 07 22:36:14 2011] [error] [client 192.168.10.3] File does not exist: /var/www/static, referer: http://server/maraschino
I'm thinking something is hardcoded to run as "/" instead of being able to run of a location.
MrK, could you try to see if you get the same errors in your system?
Cheers,
Zenshi.
2011-11-08, 00:44
HarryRosen Wrote:I got the wsgi file working but I can't save anything with the applications
Permissions!
Chown did not work for me.
I had to make the dreaded (Wait for the DON'T's!)
Code:
sudo chmod 755 /var/www -R
2011-11-08, 00:47
Zenshi Wrote:When changing the WSCGIScriptAlias to /maraschino (so as to server the page at http://server/maraschino) this is what I get on my apache error.logI think you've missed a tree.
Code:[Mon Nov 07 22:36:02 2011] [error] [client 192.168.10.3] File does not exist: /var/www/xhr, referer: http://server/maraschino
[Mon Nov 07 22:36:06 2011] [error] [client 192.168.10.3] File does not exist: /var/www/xhr, referer: http://server/maraschino
[Mon Nov 07 22:36:11 2011] [error] [client 192.168.10.3] File does not exist: /var/www/xhr, referer: http://server/maraschino
[Mon Nov 07 22:36:14 2011] [error] [client 192.168.10.3] File does not exist: /var/www/static, referer: http://server/maraschino
[Mon Nov 07 22:36:14 2011] [error] [client 192.168.10.3] File does not exist: /var/www/static, referer: http://server/maraschino
I'm thinking something is hardcoded to run as "/" instead of being able to run of a location.
MrK, could you try to see if you get the same errors in your system?
Cheers,
Zenshi.
File does not exist: /var/www/static
is meant to be
/var/www/maraschino/static
Hence the files not existing.
Maraschino is created using relative links.
Nothing is absolute so should work no matter where you install it. I think has something to do with your WSGI or apache conf file... Post them up.
2011-11-08, 00:53
DejaVu Wrote:I think you've missed a tree.
File does not exist: /var/www/static
is meant to be
/var/www/maraschino/static
Hence the files not existing.
Maraschino is created using relative links.
Nothing is absolute so should work no matter where you install it. I think has something to do with your WSGI file.
Hey DejaVu,
The problem is not where I install it (i'm using it installed to /var/ww/maraschino), the problem is, when I change WSCGIAliasScript from "/" to "/maraschino" it gives me the errors I posted.
What i'm trying to do is serve the page on http://server/maraschino instead of http://server.
Cheers,
Zenshi.
2011-11-08, 01:19
Zenshi Wrote:When changing the WSCGIScriptAlias to /maraschino (so as to server the page at http://server/maraschino) this is what I get on my apache error.log
Code:[Mon Nov 07 22:36:02 2011] [error] [client 192.168.10.3] File does not exist: /var/www/xhr, referer: http://server/maraschino
[Mon Nov 07 22:36:06 2011] [error] [client 192.168.10.3] File does not exist: /var/www/xhr, referer: http://server/maraschino
[Mon Nov 07 22:36:11 2011] [error] [client 192.168.10.3] File does not exist: /var/www/xhr, referer: http://server/maraschino
[Mon Nov 07 22:36:14 2011] [error] [client 192.168.10.3] File does not exist: /var/www/static, referer: http://server/maraschino
[Mon Nov 07 22:36:14 2011] [error] [client 192.168.10.3] File does not exist: /var/www/static, referer: http://server/maraschino
I'm thinking something is hardcoded to run as "/" instead of being able to run of a location.
MrK, could you try to see if you get the same errors in your system?
Cheers,
Zenshi.
Hmm - appears to be because the XHR URLs in the JS are hard-coded as (for example) "/xhr/controls/stop", so they're relative to the root. Same goes for static media.
For now at least, serving this app on its own domain is the better choice. I'm guessing that you have a different web interface or site running on port 80 already. If this is the case then perhaps you could serve it on a different port?
2011-11-08, 01:33
drdextro Wrote:Hi there,
I really love youre work so far. I got it to work on a win7 machine and OSX atm.
Also I commited a little add for the Sabnzbd module.
Keep up the good work!
Thanks for the contribution, I've just merged this in (SABnzbd+ module now displays "PAUSED" when it's paused).
2011-11-08, 01:41
mrkipling Wrote:Hmm - appears to be because the XHR URLs in the JS are hard-coded as (for example) "/xhr/controls/stop", so they're relative to the root. Same goes for static media.
For now at least, serving this app on its own domain is the better choice. I'm guessing that you have a different web interface or site running on port 80 already. If this is the case then perhaps you could serve it on a different port?
Yes, that's the case, I wanna install it on my main web server (testing it on my macbook) but have other things already being served there.
Since you changed things about, how do I change the port now?
Cheers,
Zenshi.
2011-11-08, 01:44
Zenshi Wrote:Yes, that's the case, I wanna install it on my main web server (testing it on my macbook) but have other things already being served there.
Since you changed things about, how do I change the port now?
Cheers,
Zenshi.
If you're using Apache then this might be what you're looking for.
2011-11-08, 01:49
Finally got Eden installed on the Revo just to use this and I must say it was worth it starting with a fresh install and messing about with HDMI audio again, I'm completely in love with it! Thanks a lot!
For anyone interested in Virtual hosts (ie, being able to go to http://yourhost/sickbeard, instead of ports) check out this small guide. You will be able to just link to "/sickbeard" in your maraschino apps to link straight to them without IPs or anything:
http://www.mstuttle.com/2011/07/24/virtu...d-sabnzbd/
One thing that I can't do currently is direct the XBMC server internally. When I'm at home I have to set it to the Revo's IP address and when I'm at work I can change it to my dyndns link. Getting a new router running Tomato this week, which should give me the control to always point at the dyndns link, but if anyone knows a work around, let me know.
Thanks for all your hard work, it is very much appreciated
Christian
P.s. If I could request one thing at the minute it would be to have one of the modules display disks capacity...
For anyone interested in Virtual hosts (ie, being able to go to http://yourhost/sickbeard, instead of ports) check out this small guide. You will be able to just link to "/sickbeard" in your maraschino apps to link straight to them without IPs or anything:
http://www.mstuttle.com/2011/07/24/virtu...d-sabnzbd/
One thing that I can't do currently is direct the XBMC server internally. When I'm at home I have to set it to the Revo's IP address and when I'm at work I can change it to my dyndns link. Getting a new router running Tomato this week, which should give me the control to always point at the dyndns link, but if anyone knows a work around, let me know.
Thanks for all your hard work, it is very much appreciated
Christian
P.s. If I could request one thing at the minute it would be to have one of the modules display disks capacity...
2011-11-08, 02:18
vdrfan Wrote:Too bad it's standalone. Would be nice if it could be a XBMC web addon.
That would be ideal, although unfortunately I know next to nothing about creating XBMC addons. Perhaps somebody with a little more experience in that area could explain if it's possible to turn this into a web addon?
2011-11-08, 02:29
Got the wsgi method working but for some reason it doesn't seem to saving my settings properly. The applications portion works but when I got back to make changes it doesn't accept the changes
Nevermind fixed it, I don't know why i continue ot use IE
Nevermind fixed it, I don't know why i continue ot use IE
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146