GithubHelp home page GithubHelp logo

mmm-googleshoppinglist's People

Contributors

eouia avatar gismo150 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

mmm-googleshoppinglist's Issues

[Request] Limit number of items

Possible future functionality: allow configuration of the maximum number of items to output to the screen. This would help prevent overlap of modules when the list gets too big. Would also be nice to configure output to multiple columns when list gets long (e.g. if list exceeds 15 items wrap the 16th item to column 2).

Puppeteer needs to be updated to latest version

I was getting the following error
[GSL] Trying to login [GSL] Cookies are saved. [GSL] Landed on the target page. Trying to get list (node:49777) UnhandledPromiseRejectionWarning: Error: Execution context was destroyed, most likely because of a navigation. at rewriteError (/Users/jszuslik/Personal/electron/mm2/MagicMirror/modules/MMM-GoogleShoppingList/node_modules/puppeteer/lib/ExecutionContext.js:161:15) at process._tickCallback (internal/process/next_tick.js:68:7) -- ASYNC -- at ExecutionContext.<anonymous> (/Users/jszuslik/Personal/electron/mm2/MagicMirror/modules/MMM-GoogleShoppingList/node_modules/puppeteer/lib/helper.js:110:27) at ExecutionContext.evaluate (/Users/jszuslik/Personal/electron/mm2/MagicMirror/modules/MMM-GoogleShoppingList/node_modules/puppeteer/lib/ExecutionContext.js:48:31) at ExecutionContext.<anonymous> (/Users/jszuslik/Personal/electron/mm2/MagicMirror/modules/MMM-GoogleShoppingList/node_modules/puppeteer/lib/helper.js:111:23) at DOMWorld.evaluate (/Users/jszuslik/Personal/electron/mm2/MagicMirror/modules/MMM-GoogleShoppingList/node_modules/puppeteer/lib/DOMWorld.js:112:20) -- ASYNC -- at Frame.<anonymous> (/Users/jszuslik/Personal/electron/mm2/MagicMirror/modules/MMM-GoogleShoppingList/node_modules/puppeteer/lib/helper.js:110:27) at Page.evaluate (/Users/jszuslik/Personal/electron/mm2/MagicMirror/modules/MMM-GoogleShoppingList/node_modules/puppeteer/lib/Page.js:782:43) at Page.<anonymous> (/Users/jszuslik/Personal/electron/mm2/MagicMirror/modules/MMM-GoogleShoppingList/node_modules/puppeteer/lib/helper.js:111:23) at get (/Users/jszuslik/Personal/electron/mm2/MagicMirror/modules/MMM-GoogleShoppingList/node_helper.js:101:29) (node:49777) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2) (node:49777) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

I updated the puppeteer version to 1.15.0 and rebuilt. This resolved the issue.

Empty Shopping list

Module was loading, but after few second of loading on the screen my shopping list is Always empty

MMM-GoogleShoppingList doesn't work anymore

Hi

I have tested the ShoppingList module successfully in autumn and wanted to reactivate it now. I get the following error:


/home/pi/MagicMirror/modules/MMM-GoogleShoppingList/node_helper.js:54
async function get(browserOption) {
^^^^^^^^
SyntaxError: Unexpected token function
at Object.exports.runInThisContext (vm.js:76:16)
at Module._compile (module.js:528:28)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at loadModule (/home/pi/MagicMirror/js/app.js:127:17)
at loadNextModule (/home/pi/MagicMirror/js/app.js:161:5)
Whoops! There was an uncaught exception...
/home/pi/MagicMirror/modules/MMM-GoogleShoppingList/node_helper.js:54
async function get(browserOption) {
^^^^^^^^
SyntaxError: Unexpected token function
at Object.exports.runInThisContext (vm.js:76:16)
at Module._compile (module.js:528:28)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at loadModule (/home/pi/MagicMirror/js/app.js:127:17)
at loadNextModule (/home/pi/MagicMirror/js/app.js:161:5)
MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?


Internet connection is ok.

Hi

I'm loving this module not sure if I should've asked here but is there a way to make the Grey label black or transparent please.

displays loading only

Hey mate, trying this module out and I've got it loaded, but it only displays 'loading' and my list never shows-up.

When I watch my pm2 logs, I can see the following error come out:
mm > [GSL] Trying to login mm > (node:4600) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Evaluation failed: TypeError: Cannot read property 'click' of null at __puppeteer_evaluation_script__:2:44

MM Version: Current
Node Version: 9.11.2
PM2 Version: 3.2.2
Chromium Version: Version installed with current MM

Let me know if you need any other info.

Thanks

Loading...

Do you know why the module only show Loading...?
I think the module slow down the system as well.

module: "MMM-GoogleShoppingList",
position: "top_right",
header: "My Shopping List",
config: {
creds: {
email: "my google adress",
password: "my google password",
},
scanInterval: 1000*60,
displayImage: false, //if you set, you can get image of items. but very ugly. I don't recommend.
}
},

keep loading

hello
i had this module running before with no issues
been trying several ways to make this work the past few day without any success
i reinstall many times, setup a new gmail account, started from a fresh custom.css and config.json file and the module doesn't show any data, just the loading page.
any suggestion?

Doesn't load

I have turned off 2-Factor-Authentication but it does not load. Any idea?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.