14 messages in com.googlegroups.opensocial-orkut[orkut-developer] Re: viewer.isOwner ...
FromSent OnAttachments
Rajiv Renganathan07 Jun 2008 04:02 
Jason09 Jun 2008 14:44 
Rajiv Renganathan09 Jun 2008 16:24 
Jason09 Jun 2008 17:24 
Rajiv Renganathan09 Jun 2008 18:54 
Jason10 Jun 2008 13:47 
Rajiv Renganathan11 Jun 2008 00:13 
Jason12 Jun 2008 15:15 
Rajiv Renganathan12 Jun 2008 16:48 
Rajiv Renganathan14 Jun 2008 11:29 
Rajiv Renganathan14 Jun 2008 12:13 
Jason17 Jun 2008 17:17 
Rajiv Renganathan22 Jun 2008 16:39 
Gaurav Kushwaha25 Jun 2008 03:48 
Subject:[orkut-developer] Re: viewer.isOwner is not a function
From:Gaurav Kushwaha (gaur@gmail.com)
Date:06/25/2008 03:48:32 AM
List:com.googlegroups.opensocial-orkut

Hi Jason,

I have started getting these errors in my app very frequently since last 3-4 hours. I have not changed anything in my app. No idea what kicked them. Is there an issue with Orkut servers? App: Chakpak Movies

Thanks, Gaurav

On Mon, Jun 23, 2008 at 5:09 AM, Rajiv Renganathan <rajs@gmail.com> wrote:

Hi Jason,

I was not seeing it until yesterday when I updated my app xml. Though my app xml has not been picked since 12 hours, I did get the error of "a is undefined" or "a has no properties" when I put the bpc=1 param in Orkut.com (I dont usaully do that in orkut.com but had to since the updated app xml was just not getting picked).

Just a thought: Is there any problem in passing a key to newFetchPersonAppDataRequest that doesnt exist in the app data? I guess it is but just want to confirm.

(I have provided so much information - screenshots, opensocial internal code lines. It might be another option to study them to see if anything can be concluded basen on them. I do that at my job many days when we cant recreate issues. :) )

Thanks, Rajiv

On Wed, Jun 18, 2008 at 9:17 AM, Jason <apij@google.com> wrote:

Thanks Rajiv, I'm looking into this now.

- Jason

On Jun 14, 12:13 pm, "Rajiv Renganathan" <rajs@gmail.com> wrote:

Hi Jason,

In the sandbox, when I deleted,renamed app xml and added again, I stopped getting error. (did not use bpc=1).

I moved the code to production, and I started seeing the error in orkut.com

I hope these info help get to the root cause.

Regards, Rajiv

On Sun, Jun 15, 2008 at 3:30 AM, Rajiv Renganathan <rajs@gmail.com> wrote:

Hi Jason,

am back with my bug again :)

Am seeing the errors in sandbox now. As expected, this is after much changes to my app. In short, my app adds more app data now (retrieves the extra i started adding)

Now that am seeing it in the sandbox, I think I will start seeing it intermittently in orkut.com once I update my app xml.

Following is code from firebug.

a has no properties setIgnoreCase(undefined, "13170186339118882845", "13170186339118882845")opensocial-0.7.2.... (line 117) newPerson(undefined)opensocial-0.7.2.... (line 132) clearPrefetchData(Object 13170186339118882845=Object)opensocial-0.7.2.... (line 130) processResponse(Object type=FETCH_PEOPLE parameters=Object, Object13170186339118882845= Object, undefined, undefined)opensocial-0.7.2.... (line 133) i(Object Responses=[1] Success=true)opensocial-0.7.2.... (line 127) os_G()opensocial-0.7.2.... (line 27) xhrReceived_(Object type=complete target=Object currentTarget=Object)opensocial-0.7.2.... (line 125) handleEvent(Object type=complete target=Object currentTarget=Object)opensocial-0.7.2.... (line 64) os_Qd(Object isFunctionListener_=true src=Object type=complete, Objecttype= complete target=Object currentTarget=Object)opensocial-0.7.2.... (line 73) os_Qd(Object headers=Object closure_hashCode_=1, "complete", false, Objecttype= complete target=Object currentTarget=Object)opensocial-0.7.2.... (line 73) os_Qd(Object headers=Object closure_hashCode_=1, Object type=completetarget= Object currentTarget=Object)opensocial-0.7.2.... (line 75) os_Rd("complete")opensocial-0.7.2.... (line 78) dispatchEvent("complete")opensocial-0.7.2.... (line 92) abort()opensocial-0.7.2.... (line 95) os_G()opensocial-0.7.2.... (line 27) os_6[_P].setIgnoreCase=function(a){var b=a&&!this.ignoreCase_;if(b){this.invalid...

On Fri, Jun 13, 2008 at 8:49 AM, Rajiv Renganathan < rajs@gmail.com> wrote:

Hi Jason :)

No, I havent seen them but then I havent also updated my app xml.

My app has a tab "Your Friends" that displays all friends, which links to "Your Friends tab of the friend's app canvas! So I can just keep clicking through the network. It was most evident when I was doing this. I was purely random and I have no particular sequence. You will not see it unless you have that many friends :)

I understand with this info and the inputs from dev team on the caching technique, something can thought off.

In the sandbox, when I use bpc=1 it is an issue which is justified since the link to "Friend's Flaunt" doesnt hv bpc=1. So after I rename the app xml, add it afresh in all profiles, its fine. which means, no issues in sandbox. But then I have only mine and my wife profile in sandbox to

test :)

Cheers! Rajiv

On Fri, Jun 13, 2008 at 7:16 AM, Jason <apij@google.com> wrote:

Hi Rajiv. I don't have access to the logs myself so I can't personally verify these errors that you're seeing, but the easiest way to debug these errors is by reproducing them on our test machines (hence all of my questions :) ). Have you been able to observe whether these errors are still appearing?

How often are you seeing older app specs being returned? Are you seeing this on the sandbox only or onwww.orkut.comalso?

- Jason

On Jun 11, 12:14 am, "Rajiv Renganathan" <rajs@gmail.com>

wrote:

Hi Jason,

Thanks for keeping a eye. I need to observe to let you know. Are these errors logged internally, so that I can give the exact time a

error

happens

and you can check your logs?

I am in India and on orkut.com I am not using bpc=1.

Is there any explanation to the fact the intermittently the older

app

xml

gets picked up?

Cheers! Rajiv

On Wed, Jun 11, 2008 at 5:47 AM, Jason <apij@google.com>

wrote:

Hi Rajiv. Are you still seeing these intermittent errors? I've been refreshing your app at multiple points throughout the day so far

but

I

haven't seen anything unusual. If you are, can you provide your country (in case this problem is limited to a specific region) and whether or not you're using &bpc=1. Thank you.

- Jason

On Jun 9, 6:55 pm, "Rajiv Renganathan" <rajs@gmail.com>

wrote:

Hi Jason,

All issues are only in orkut.com. No probs in sandbox.

Regards, Rajiv

On Tue, Jun 10, 2008 at 9:24 AM, Jason <apij@google.com>

wrote:

Thanks for the further details. Your second thread indicates

that

this

problem is not occurring in the sandbox -- is the

viewer.isOwner

issue

only affectingwww.orkut.comaswell?

- Jason

On Jun 9, 4:24 pm, "Rajiv Renganathan" <rajs@gmail.com>

wrote:

Hi Jason,

No action. Just refreshing. This error used to happen

about

10-15% of

the

times but once it comes, it would take atleast 4-5

refreshes to

be

ok.

now I

am seeing the following more frequently:

"a has no properties (no name)(undefined, "11250396017122538505", "13170186339118882845") . . . os_N.forEach(this.keyMap_,function(c,d){var e=d.toLowerCase();if(d!=e){this.remo..."

Another weird is what I wrote about here:

http://groups.google.com/group/opensocial-orkut/browse_thread/thread/.

..

I am still seeing it! The screenshot is here:

http://www.smartwebworks.net/Temp/OrkutError.doc.... that

line of

code

is

no more in the app since atleast 36 hrs, if not more.

Again,

2-3

times I

refresh, its fine.

Cheers! Rajiv

My Orkut App: Flaunt It!

On Tue, Jun 10, 2008 at 6:45 AM, Jason <

apij@google.com>

wrote:

Hi Rajiv. How often do you see this error? Is "once in a while" a fairly consistent interval (e.g. every 25% of the time)

or

does it

vary?

Can you provide a set of actions that I can repeat in

order

to

reproduce the problem? If I continually refresh the application's canvas view, for example, will I eventually see this

error or

do I

have to do anything else with the application?

- Jason

On Jun 7, 4:03 am, "Rajiv Renganathan" <

rajs@gmail.com>

wrote:

Hello,

When I view my app "Flaunt It!" in canvas or profile,

once

in a

while

I

get

a "viewer.isOwner is not a function". Not everytime!

if(viewer != null) _ISOWNER = viewer.isOwner(); else _ISOWNER = false;

is the kind of code I am using. Am sure there is

nothing

wrong in

the

code.

Regards, Rajiv

--

-------------------------------------------------------------------------------------------------

DealSearchMaadi.com > Searching over 12 websites for

shopping

deals

across

India.

-------------------------------------------------------------------------------------------------

--

-------------------------------------------------------------------------------------------------

DealSearchMaadi.com > Searching over 12 websites for

shopping

deals

across

India.

-------------------------------------------------------------------------------------------------

--

-------------------------------------------------------------------------------------------------

DealSearchMaadi.com > Searching over 12 websites for shopping

deals

across

India.

-------------------------------------------------------------------------------------------------

--

-------------------------------------------------------------------------------------------------

DealSearchMaadi.com > Searching over 12 websites for shopping

deals

across

India.

-------------------------------------------------------------------------------------------------

--

-------------------------------------------------------------------------------------------------

DealSearchMaadi.com > Searching over 12 websites for shopping deals across India.

-------------------------------------------------------------------------------------------------

--

-------------------------------------------------------------------------------------------------

DealSearchMaadi.com > Searching over 12 websites for shopping deals across India.

...

read more »

--

------------------------------------------------------------------------------------------------- DealSearchMaadi.com > Searching over 12 websites for shopping deals across India.

-------------------------------------------------------------------------------------------------