Kodi Community Forum
Maraschino (formerly HTPC Frontend) - a summary web interface for your XBMC HTPC - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+--- Thread: Maraschino (formerly HTPC Frontend) - a summary web interface for your XBMC HTPC (/showthread.php?tid=113136)



- Archigos - 2011-11-15

Rumik Wrote:Thanks, that finally sorted it Smile So I ran setup.py and it said it all installed correctly, and so then I ran python maraschino-cherrypy.py and a window popped up for a second and then nothing. I can't get to the webpage on that address, and I haven't changed the port, so it should work if it's running. I just don't think it's running Sad

In a command prompt (from Maraschino's directory) type:
Code:
start /wait python maraschino-cherrypy.py
and see if an error message comes up. Plus with all the Python based install stuff (via easy_install) you may want to reboot the computer again.

If the above still shows an error, just do "start python maraschino.py" and see if that starts, it should say something like http://0.0.0.0:5001 and if it does, open a browser to http://localhost:5001 and see if the page displays. If you can load it this way, you can use it fine, however MrK stated that doing it this way uses the build in Dev server which is supposedly unstable (didn't bother my system at all and ran fine). If you (or Shaolin want to dive deeper into this, we should probably move it off the forums until we can state an actual error/fix for the problems. I just noticed Shaolin's offer for TeamViewer (which I use a lot) and am willing to work with you guys that way. Just PM me your 9 digit access and temp password for it, I can connect and walk you through it or troubleshoot.


- Archigos - 2011-11-15

Rumik Wrote:C:\HTPC-Apps\Maraschino>python maraschino-cherrypy.py
Traceback (most recent call last):
File "maraschino-cherrypy.py", line 1, in <module>
from cherrypy import wsgiserver
ImportError: No module named cherrypy

That error just means run "easy_install cherrypy" from the Python/Scripts directory (again).


- Rumik - 2011-11-15

I installed Cherry Py again, but still no joy. Still complaining about not finding it whenever I manually run python maraschino-cherrypy Sad


- Archigos - 2011-11-15

Rumik Wrote:I installed Cherry Py again, but still no joy. Still complaining about not finding it whenever I manually run python maraschino-cherrypy Sad

Inside the Python27 directory there should be a sub-directory called cherrypy. Manually delete that and try the easy_install one more time. If that doesn't work, we'll have to figure out a different method to help you so we don't bog this thread more. Smile


- Rumik - 2011-11-15

Still no good Sad Looks like it is CherryPy causing the issue. Maybe I'd have better luck setting up Apache?

Thanks for your help. If you don't mind continuing to help, please PM me Big Grin

Thanks!


- piotrasd - 2011-11-15

Im today install and test Smile everything work and looks flawless Smile
Thanks for great job !!!

http://dl.dropbox.com/u/49442039/Screenshots/g.png
http://dl.dropbox.com/u/49442039/Screenshots/h.png

Please tell me there is possibility add next addon for XBMC-PVR ??

wich addon will be show channels with picons and EPG ... ??
That would me great !!!

Someting like on screen but this show in Maraschino
Channel list with actual program
http://dl.dropbox.com/u/49442039/Screenshots/screenshot034.png
Epg for channel
http://dl.dropbox.com/u/49442039/Screenshots/screenshot035.png


- gugahoi - 2011-11-15

Hey fellas, I thought of this the other day and after seeing so many people have trouble setting this up I am even more inclined to it: having tons of ways to run this is fantastic but it definitely gets in the way of development... So I've been thinking maybe we should pick one way and stick to it? In my opinion it would be the one that is easiest to run. (the 'python mraschino.py' way). What do you guys think?

Also, if people could check out my repo it would be nice to get some feedback. I've added a couple of features to sabnzbd module (pause/resume queue and set speed limit). I believe MrK will polish my implementation some time soon, but in any way it is always good to get some feedback. Furthermore I hope I can code quite a bit now that I've got extra time in my hands, which means I'll be trying to improve the modules and add new ones as much as I can.

Cheers.


- Rumik - 2011-11-15

gugahoi Wrote:Hey fellas, I thought of this the other day and after seeing so many people have trouble setting this up I am even more inclined to it: having tons of ways to run this is fantastic but it definitely gets in the way of development... So I've been thinking maybe we should pick one way and stick to it? In my opinion it would be the one that is easiest to run. (the 'python mraschino.py' way). What do you guys think?

If you could make it as user friendly for Windows users as possible, that would be great Big Grin I just can't get this to work - something to do with CherryPy - but I don't know how to set it up with Apache.

Cheers Big Grin


- mrkipling - 2011-11-15

Shaolin Wrote:Yes, the database is on the root of my system but I'm still getting the same socket error im afraid when running:

python maraschino-cherrypy.py

Code:
C:\XBMC-Maraschino>python maraschino-cherrypy.py
Traceback (most recent call last):
  File "maraschino-cherrypy.py", line 10, in <module>
    server.start()
  File "C:\Python27\lib\site-packages\cherrypy-3.2.2-py2.7-win32.egg\cherrypy\wsgiserver\wsgiserver2.py", line 1824, in start
    raise socket.error(msg)
socket.error: No socket could be created

Sounds like something could possibly be running on that port already. Have you tried changing it to something else (7001, for example)?


- Shaolin - 2011-11-15

mrkipling Wrote:Sounds like something could possibly be running on that port already. Have you tried changing it to something else (7001, for example)?
Yup that was the problem, changed CHERRYPY_PORT to 7001 and WHAM everything was good in the world.

Following Archigos' windows instructions (with the minor alteration of changing the port to 7001 as pointed out by MrK) got this working perfectly.

Thank you very much Archigos and MrK. Now to have some fun Laugh


- Reginald - 2011-11-15

I am trying to hack my way into using this since I use unRAID I want all of the files (Flask, Flask Extensions and json) in the same folder. Am I able tell CherryPy where to look for them?

As it stands right now I have the files in /mnt/cache/.custom/maraschino
cherrypy (which I copied from SickBeard)
flask
flask/extflask (I am pretty sure that is where extensions are installed)
jsonrpclib

It still gives me an error about not having Flask.

I cannot do an install as the install would be removed when I reboot (the OS is loaded from a flash drive on boot).

Any help would be great, thanks for your work!


- HarryRosen - 2011-11-15

If you can get that working on unraid I would be so happy, would it be possible to have it reinstall via the go script? like the sabnzbd dependencies


- Reginald - 2011-11-15

I saw your post and no activity on the unRAID forums so I figured I would see if I can't figure it out. I am new to cherrypy but I think I have some idea of what's going on.

This is the perfect solution for unRAID as you can add a link to unMENU, I could stop using bookmarks in Chrome. Haha


- fluentdesigns - 2011-11-15

Was hoping someone could post a step by step setup guide for both Unraid and FreeNAS. Would be appreciated!


- HarryRosen - 2011-11-15

I believe it should work but wasn't sure how to install the following

flask
flask/extflask (I am pretty sure that is where extensions are installed)
jsonrpclib

what command did you use to have them installed?