Script error for one user only

This one is very very strange. Right after I recompiled all the script in a very large and complicated db, and made a quick fix to a Script Library to fix a syntax error it reported, a single user started getting the error “Duplicate PUBLIC name s in USE module xyz”. Nobody else gets it. I cannot figure out why he is the only one.

I thought maybe he was in the database while I was recompiling it (it is on a test box, not in production), and maybe some design elements cached before my modification to the script library. I am not sure what happened.

Anyway, he is using the database on the server, the same place I am using it. I have checked with other test users and nobody else is getting the error.

I have: replaced his bookmarks.nsf file, deleted his cache.ndk file, compacted his workspace, removed and readded the icon on his workspace, recompiled again.

None of this worked. I am thinking he needs a complete and total reinstallation of his client.

Any ideas? Thanks.

  • Matt

Subject: Script error for one user only

This typically happens when the library code is saved AFTER the code referencing it.

Recompile again OR resave the code which causes this error so that its saved Date/Time tag is after the Library’s

There is an IBM Technote on this

Subject: RE: Script error for one user only

Thank you for your quick response. Both of those things have been done, even though I did not know about the IBM Technote. If anyone can tell me how to find this particular Technote, that would be great.

Thanks again. Still searching for an answer.

  • Matt

Subject: RE: Script error for one user only

I’ve only seen this type of error affect a single user (out of a large group of users) on one occasion, and re-installing the client did fix the issue.

I thought it seemed a bit OTT at the time but the support teams had already spent a lot of time hunting for the solution so it was a case of avoiding further time-wasting.

I can’t remember if we deleted the whole Notes install first but I think we did (I have a feeling the user didn’t have any local data that needed to be retained anyway).

Subject: Script error for one user only

You could try the action ‘recompile all lotusscript’ in the tools option in your designer (when in the db)