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

Update userCache package #363

Closed
philipmjohnson opened this issue Dec 22, 2020 · 1 comment
Closed

Update userCache package #363

philipmjohnson opened this issue Dec 22, 2020 · 1 comment

Comments

@philipmjohnson
Copy link
Collaborator

philipmjohnson commented Dec 22, 2020

Please do work for this task in a branch called issue-363.

After logging in as [email protected] to radgrad1 on Dec 22, 2020, the following error gets generated:

TypeError: Cannot read property 'collectionViews' of undefined
    at _getCache (packages/msavin_usercache.js:31:130)
    at Object.Meteor.user (packages/msavin_usercache.js:74:15)
    at MethodInvocation.run (imports/api/user/StudentProfileCollection.methods.js:41:67)
    at ValidatedMethod._execute (packages/mdg:validated-method/validated-method.js:94:12)
    at MethodInvocation.StudentProfileCollection.getStudentProfile (packages/mdg:validated-method/validated-method.js:57:23)
    at MethodInvocation.methodMap.<computed> (packages/mdg:meteor-apm-agent/lib/hijack/wrap_session.js:161:30)
    at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1771:12)
    at packages/ddp-server/livedata_server.js:719:19
    at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1234:12)
    at packages/ddp-server/livedata_server.js:717:46
    at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1234:12)
    at packages/ddp-server/livedata_server.js:715:46
    at new Promise (<anonymous>)
    at Session.method (packages/ddp-server/livedata_server.js:689:23)
    at packages/mdg:meteor-apm-agent/lib/hijack/wrap_session.js:52:38
    at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1234:12)

The Kadira APM page shows a little bit more:

Screen Shot 2020-12-22 at 9 18 13 AM

Here is the issue for the msavin/userCache package:

msavin/userCache#5

Note that this package has been abandoned and so, for RADGRAD2, we need to either replace with https://github.com/wildhart/userCache or move to https://atmospherejs.com/wildhart/mergebox-cache

This could be the reason that radgrad1 is hanging chronically.

@philipmjohnson philipmjohnson changed the title Error: Cannot read property 'collectionViews' of undefined. Remove userCache package? Error: Cannot read property 'collectionViews' of undefined. Update userCache package? Dec 22, 2020
@philipmjohnson philipmjohnson changed the title Error: Cannot read property 'collectionViews' of undefined. Update userCache package? Update userCache package Dec 22, 2020
@cammoore
Copy link
Contributor

cammoore commented Dec 22, 2020

According to the RadGrad1 .meteor/packages msavin:usercache is needed for Galaxy Professional application performance monitoring.

Since we aren't deploying RadGrad2 to Galaxy we probably don't need this package. It isn't in RadGrad2 .meteor/packages.

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

2 participants