Skip to content

Upload Feature doesn't upload to google photos #137

Description

@lnk64

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions