[WIP] HTPC-Manager Beta, Manage XBMC, Sabnzbd, SickBeard with one app

  Thread Rating:
  • 6 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
jsimo01 Offline
Junior Member
Posts: 26
Joined: Dec 2009
Reputation: 0
Post: #211
I'm getting the following error message:

Quote:400 Bad Request

The Authorization header could not be parsed.

Traceback (most recent call last):
File "cherrypy\_cprequest.pyc", line 653, in respond
File "cherrypy\_cprequest.pyc", line 112, in run
HTTPError: (400, 'The Authorization header could not be parsed.')

Searched this thread but couldn't find an exact match/solution, any help would be much appreciated.

Thanks

edit: found the default password in a post further down the front page, I would recommend editing the first post as it wasn't that obvious.
(This post was last modified: 2012-08-04 02:14 by jsimo01.)
find quote
mbw2001 Offline
Junior Member
Posts: 45
Joined: Mar 2011
Reputation: 2
Post: #212
(2012-08-02 23:59)jcalton88 Wrote:  Are there any more command line arguments? I'm looking to make a plug-in for this app on unRAID, but since there is no GUI everything has to be done via command line.

Example, --pid-file, --port, --data-dir

Not atm. But it can be implementet in the Htpc.py file if you feel like it. Smile
Ill add port setting shortly. As for pid-file and data-dir I would recommend adding a feature request on git.
(2012-08-03 13:49)jsimo01 Wrote:  I'm getting the following error message:

Quote:400 Bad Request

The Authorization header could not be parsed.

Traceback (most recent call last):
File "cherrypy\_cprequest.pyc", line 653, in respond
File "cherrypy\_cprequest.pyc", line 112, in run
HTTPError: (400, 'The Authorization header could not be parsed.')

Searched this thread but couldn't find an exact match/solution, any help would be much appreciated.

Thanks

When are you getting the error?
I can provoke the same error by add a password to the webinterface and then leaving both username and password empty when prompted.
In my case I can just close the prompt and then type in the correct username/password combo when reopening.
(This post was last modified: 2012-08-03 17:03 by mbw2001.)
find quote
Shurt Offline
Junior Member
Posts: 2
Joined: Mar 2011
Reputation: 0
Post: #213
Just given this a shot and, while it works great, even on my tablet, the thumbnails are refusing to load. I skimmed through this thread for possible solutions, but so far none of them have fixed it. I don't suppose anyone has any new suggestions on getting this fixed? The software is great, but the lack of thumbnails is really annoying.
find quote
airtraxx Offline
Junior Member
Posts: 2
Joined: Aug 2012
Reputation: 0
Post: #214
I had the same problem. It has something to do with python. I don't remember at the moment what was missing in my python setup but once I added that, the thumbnails started working.
find quote
mbw2001 Offline
Junior Member
Posts: 45
Joined: Mar 2011
Reputation: 2
Post: #215
Shurt: Try looking at this issue: https://github.com/mbw2001/HTPC-Manager/issues/6

Seems to be a problem with python on windows.
find quote
Shurt Offline
Junior Member
Posts: 2
Joined: Mar 2011
Reputation: 0
Post: #216
(2012-08-03 22:30)mbw2001 Wrote:  Shurt: Try looking at this issue: https://github.com/mbw2001/HTPC-Manager/issues/6

Seems to be a problem with python on windows.

Unfortunately, that does not appear to have solved my problem. Additionally, I'm running HTPC-Manager on a Mac currently.
find quote
Aenima99x Offline
Donor
Posts: 1,129
Joined: Aug 2007
Reputation: 8
Location: California
Post: #217
I'm also seeing issues with thumbnails, but it's only some thumbnails. I've found no pattern to the missing thumbs. I'm running HTPC-Manager on Ubuntu and XBMC git updated every night with a MySQL db.


EDIT - Looks like it's having problems with only images that point to the local server, but not if they point to a TVDB or TMDB url?

Traceback (most recent call last):
File "/home/xbmc/Software/HTPC-Manager/libs/cherrypy/_cprequest.py", line 656, in respond
response.body = self.handler()
File "/home/xbmc/Software/HTPC-Manager/libs/cherrypy/lib/encoding.py", line 188, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/home/xbmc/Software/HTPC-Manager/libs/cherrypy/_cpdispatch.py", line 34, in __call__
return self.callable(*self.args, **self.kwargs)
File "/home/xbmc/Software/HTPC-Manager/modules/xbmc.py", line 61, in GetThumb
fileObject = urllib2.urlopen(request)
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 386, in open
protocol = req.get_type()
File "/usr/lib/python2.7/urllib2.py", line 248, in get_type
raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: /home/xbmc/Media/TV/School Spirits/fanart.jpg
(This post was last modified: 2012-08-04 01:16 by Aenima99x.)
find quote
mbw2001 Offline
Junior Member
Posts: 45
Joined: Mar 2011
Reputation: 2
Post: #218
My Frodo support was broken and the javascript for loading thumbs for series when using posters was broken aswell (I use banners myself).

Both should be fixed in latest commit. Can anyone confirm?
find quote
airtraxx Offline
Junior Member
Posts: 2
Joined: Aug 2012
Reputation: 0
Post: #219
@Shurt: When I was experiencing the no thumbnail issue (I use Snow Leopard) following the instructions here fixed it

http://appelfreelance.com/2010/06/libjpe...o_restart/

Hope this solves your problem man.
find quote
Aenima99x Offline
Donor
Posts: 1,129
Joined: Aug 2007
Reputation: 8
Location: California
Post: #220
(2012-08-06 22:20)mbw2001 Wrote:  My Frodo support was broken and the javascript for loading thumbs for series when using posters was broken aswell (I use banners myself).

Both should be fixed in latest commit. Can anyone confirm?

Thank you! Thumbnails are all working now.
(This post was last modified: 2012-08-07 01:30 by Aenima99x.)
find quote
mbw2001 Offline
Junior Member
Posts: 45
Joined: Mar 2011
Reputation: 2
Post: #221
Latest commit now has support for setting datadir, pid and port through commandline parameters.
find quote
Aenima99x Offline
Donor
Posts: 1,129
Joined: Aug 2007
Reputation: 8
Location: California
Post: #222
Thanks for keeping this going mbw2001.
Not sure if you saw the JSON-RPC changes - http://forum.xbmc.org/showthread.php?tid...pid1163498
find quote
mbw2001 Offline
Junior Member
Posts: 45
Joined: Mar 2011
Reputation: 2
Post: #223
Are you using the latest commit? I don't see any changes that should have impact.

I tried the latest windows version and it seems to work fine.
find quote
Aenima99x Offline
Donor
Posts: 1,129
Joined: Aug 2007
Reputation: 8
Location: California
Post: #224
Yes, using the latest commit. The Recently Added Music disappeared for me.
find quote
tylertech Offline
Junior Member
Posts: 4
Joined: Aug 2011
Reputation: 0
Post: #225
(2012-07-28 23:41)Hjord Wrote:  Looks awesome.
Any chance for adding Headphones to it?

I 2nd this. Seems like Headphones would be a nice addition and one many people would like to see.
Big Grin
find quote
Post Reply