mgozdiskowski / youtube-direct

Automatically exported from code.google.com/p/youtube-direct
0 stars 0 forks source link

TypeError: entries is undefined #73

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Getting the following errors when logging into YTD v.2 running on localhost. 

TypeError: data is undefined

TypeError: entries is undefined

TypeError: entries is undefined

TypeError: entries is undefined

Original issue reported on code.google.com by nickefai...@gmail.com on 27 May 2011 at 2:20

GoogleCodeExporter commented 8 years ago
Are there specific line numbers associated with those errors in the JavaScript 
console?

Original comment by api.je...@gmail.com on 27 May 2011 at 7:30

GoogleCodeExporter commented 8 years ago
Apologies; this should be sorted. The latest SVN revision should resolve the 
issue—please update and try again. There are a few other new pieces of 
functionality in that revision and it assumes the App Engine 1.5.0 runtime.

The relevant change was
http://code.google.com/p/youtube-direct/source/diff?spec=svn593&r=593&format=sid
e&path=/trunk/ytd/war/js/jsonrpc.js

Original comment by api.je...@gmail.com on 1 Jun 2011 at 6:07

GoogleCodeExporter commented 8 years ago
I have the relevant fix, but I am still getting this issue, today (June 13).

Original comment by powerpro...@didit.com on 13 Jun 2011 at 8:34

GoogleCodeExporter commented 8 years ago
I also have that fix and am having the TypeError: entries is undefined, both 
local and live on app engine. What happened for me was attempting to add an 
assignment, filled out the new assignment form clicked create, and the window 
closed but no assignment got added, and then I started getting the error.

I set one of these up on Friday and it's working fine, no errors, so I'm 
guessing it's something that has changed between Friday evening and today.

Original comment by aron.duby@gmail.com on 14 Jun 2011 at 7:50

GoogleCodeExporter commented 8 years ago
Okay - I fixed my problem and it wasn't really a problem:

On the local side, make sure that you restart your local webserver with the 
local code deployed.  You're probably running the same old pre fix version.  On 
the Google Apps engine, check to make sure once you deploy a new version that 
you switch your app to use the newer version. I didn't.  Hilarity ensued.  

Original comment by powerpro...@didit.com on 14 Jun 2011 at 7:56