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

Upload Feature doesn't upload to google photos #137

Open
lnk64 opened this issue Mar 21, 2022 · 0 comments
Open

Upload Feature doesn't upload to google photos #137

lnk64 opened this issue Mar 21, 2022 · 0 comments

Comments

@lnk64
Copy link

lnk64 commented Mar 21, 2022

I noticed this issue when attempting to use MMM-SelfiShot to utilize MMM-GooglePhotos auto Upload capability.

When attempting to do, no upload would occur.

After debugging it, i started to notice that GooglePhotos would throw the following error:

[GPHOTOS] No uploadable album exists.

I did determine that my configuration did specify and uploadAlbum, and said album did get created via create_uploadable_album.js

I tracked down the issue to node_helper.js. The config.uploadAlbum variable was always coming back as undefined in tryToIntitialize: async function() after initializeAfterLoading: function() attempted to call it.

The config was not being passed between the two.

I made the following modifications incase you want to update the repo:

Current:
Line 80: this.tryToIntitialize()

My modification:
Line 80: this.tryToIntitialize(config)

Current

Line 83: tryToIntitialize: async function() {

My modification:
Line 83: tryToIntitialize: async function(config) {

After this I was able to confirm that image were able to upload

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

1 participant