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

Was working but after a day not displaying anything #26

Open
ghost opened this issue Dec 19, 2020 · 5 comments
Open

Was working but after a day not displaying anything #26

ghost opened this issue Dec 19, 2020 · 5 comments

Comments

@ghost
Copy link

ghost commented Dec 19, 2020

tried to re download, was working for a day now its not, only displaying headline

@ghost
Copy link
Author

ghost commented Dec 19, 2020

"Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109)

@ghost
Copy link
Author

ghost commented Dec 19, 2020

	{
		
		module: "MMM-Reddit",
		position: "top_left",
			config: {
			subreddit: ['television', 'science', 'headlines'],
			headerType: 'chained',
			displayType: 'headlines',
			count: 12,
			show: 4,
			rotateinterval: 30,				
			width: 500,
			showScore: false,
			showSubreddit: true,
			colorText: false,
			showThumbnail: false,
		}
	},

@ghost ghost closed this as completed Dec 19, 2020
@ghost ghost reopened this Dec 19, 2020
@ghost
Copy link
Author

ghost commented Dec 19, 2020

not sure what i did but i used the earthporn config and put in everything down to show and now its working, sweet

@ghost ghost closed this as completed Dec 19, 2020
@ghost ghost reopened this Dec 19, 2020
@ghost
Copy link
Author

ghost commented Dec 19, 2020

seems to be very picky with the count/show amounts cant do any higher than 4/12 and that randomly works and doesnt i was getting this error from my log but its gone now

[2020-12-18 20:49:18.577] [ERROR] TypeError: Cannot read property 'width' of undefined
at Class.getAllImages (/home/pi/MagicMirror/modules/MMM-Reddit/node_helper.js:229:38)
at Class.getImageUrl (/home/pi/MagicMirror/modules/MMM-Reddit/node_helper.js:178:34)
at /home/pi/MagicMirror/modules/MMM-Reddit/node_helper.js:76:45
at Array.forEach ()
at Request._callback (/home/pi/MagicMirror/modules/MMM-Reddit/node_helper.js:70:44)
at Request.self.callback (/home/pi/MagicMirror/node_modules/request/request.js:185:22)
at Request.emit (events.js:200:13)
at Request. (/home/pi/MagicMirror/node_modules/request/request.js:1154:10)
at Request.emit (events.js:200:13)
at IncomingMessage. (/home/pi/MagicMirror/node_modules/request/request.js:1076:12)
[2020-12-18 20:49:18.587] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[2020-12-18 20:49:18.596] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
[27670:1218/205228.964616:ERROR:CONSOLE(24)] "Empty response arrived for script 'devtools://devtools/remote/serve_file/@35495e19901729e3202257e990a85b3db05fbbef/product_registry_impl/product_registry_impl_module.js'", source: devtools://devtools/bundled/shell.js (24)
[27670:1218/205229.234087:ERROR:CONSOLE(109)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: devtools://devtools/bundled/shell.js (109

@ghost
Copy link
Author

ghost commented Dec 19, 2020

well its working, for now, this is the config, im still getting that error in my logs though

	{
		module: "MMM-Reddit",
		position: "top_left",
		config: {
			subreddit: ['television', 'science', 'nottheonion', 'news'],
			headerType: 'chained',
			displayType: 'headlines',
			imageQuality: 'mid',
			count: 12,
			show: 4,
			width: 500,
			showAll: true,
		}
	},

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

0 participants