Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

list index out of range #309

Open
NextBlaubeere opened this issue Feb 2, 2016 · 7 comments
Open

list index out of range #309

NextBlaubeere opened this issue Feb 2, 2016 · 7 comments

Comments

@NextBlaubeere
Copy link

Hey,

I always get a "list index out of range" when i want to sync with my plex-server.
(Server is in the same network)

Dreamplex: installed from 2.1.3 ipk
Plex-Server: Version 2.5.2 (Windows)
Box: DM8000 (NewNigma)

Hope you can help. Thank you.

dreamplex.log.txt

grab

@hodge725
Copy link

Has there been any help on this error?

@NextBlaubeere
Copy link
Author

No.

@kkx4r
Copy link

kkx4r commented Jan 21, 2017

Hello,
Just ran into the exact same problem. When I logged into the box(Vu+ Ultimo) with telnet and started logging I received slightly more information. Immediately after starting sync the message:
authHeaderPartOne {}
appears on the PC
log.txt
telnet terminal screen. The box itself tells errormessage: index out of range.

As a retired software veteran I am not afraid of inspecting code, but python is totally new to me. (I must admit that I like what I see very much, this certainly is a formidable language). It looks like the statement:
print "authHeaderPartOne " + str(authHeaderPartOne) # line 1344 in module DP_PlexLibrary
causes the error because the authHeaderPartOne variable has no contents.
The preceeding statement assigns that variable from self.get_hTokenForServer(server)
server is opened in the statement before that by:
conn = httplib.HTTPConnection(server,timeout=30)
Here I lost my way in the maze. Possibly the requested service timed out before providing a valid value for conn, leaving us without a valid server and a valid token for authHeaderPartOne.
Next week I will try higher values for the timeout

Regards Robert

@Dick01
Copy link

Dick01 commented Jan 25, 2017

I have this problem too, can't access my FreeNas Plex server containing a large movie collection with a Beyonwiz PVR with Dreamplex 2.1.3 installed. Worked fine before. Sent it away to get power supply repaired but now it finds the server and 'Music, Movies and TV Shows' but comes up with 'no Data' Get the same screen as NextBlaubeere above when I try to sync media. I have reinstalled all the System Check plugins etc but just can't get it to work.....

I can mount a share file and it finds the directories and plays the movies but it is better in Plex. I have a Samsung DVD Player and an iPad that have no trouble accessing this Plex server, so it can't be that.

@kkx4r
Copy link

kkx4r commented Jan 25, 2017

Back again,

It is not a matter of timeout. I retried with error logging enabled in DreamPlex and saw an http authentication error when building the connection with the Plex server. So the Plex server settings had to be adapted. The connection is now established and the "list index out of range" error no longer pops up. I get a list of my albums but still cannot play my CD's:
[eServiceMP3] Gstreamer error: Could not determine type of stream. (4) from wavparse0
[eServiceMP3] Gstreamer error: Internal data flow error. (1) from source
I will sort that out, but since it is a different error it does not belong in this thread.

@NextBlaubeere
Copy link
Author

And what did you do to get it to work again?

@kkx4r
Copy link

kkx4r commented Feb 12, 2017

My Plex server is in the same local area network as is my VU+ Ultimo client. By changing the Plex server I got rid of the dreaded "list index out of range" message. In the Plex server settings, I added to the list of addresses (under network) which are given access without requiring authorisation: 192.168.1.2. Next I assigned fixed network address 192.168.1.2 to the VU+ Ultimo and deactivated DHCP there. As described above I no longer received the error message, but now got another. I have not sorted this out yet. Because of more urgent matters I had to park the problem and will address it again later. The language settings in both the Plex server and the VU+ Ultimo are to the Dutch language. So the terms used in your setup may slightly differ from my English translation.

Presently I am using a chromecast dongle inserted into my home theater receiver and run a Plex client on that. So I can play my CD's that way. I would prefer using the VU+ Ultimo and with that realize the playing of my CD's without any intermediate encoding, but directly from their original wav format.

Originally I tried to list my (1000+) albums and the plex client stopped to respond. Back then I mistakenly thought that sync would bring the list of albums to my Plex client. (I am a Plex beginner!) But it will make a mirror copy of all the wav files on the server. There is simply not enough room for that on my Plex client. So I am no longer pursuing sync on that client.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants