main.js:447 Initializing MagicMirror.
translator.js:201 Loading core translation file: translations/en.json
translator.js:224 Loading core translation fallback file: translations/en.json
loader.js:182 Load script: modules/email//email.js
module.js:476 Module registered: email
loader.js:152 Bootstrapping module: email
loader.js:157 Scripts loaded for: email
loader.js:197 Load stylesheet: modules/email/email.css
loader.js:197 Load stylesheet: vendor/node_modules/font-awesome/css/font-awesome.min.css
loader.js:159 Styles loaded for: email
loader.js:161 Translations loaded for: email
loader.js:197 Load stylesheet: css/custom.css
:8080/modules/email//email.js:23 Email module started!
:8080/modules/email//email.js:24 MEMEME Object
main.js:465 All modules started!
module.js:155 email received a system notification: ALL_MODULES_STARTED
module.js:155 email received a system notification: MODULE_DOM_CREATED
module.js:155 email received a system notification: DOM_OBJECTS_CREATED
email.js:34 NEW PAYLOAD: (2) [Object, Object]
email.js:34 NEW PAYLOAD: (2) [Object, Object]
email.js:34 NEW PAYLOAD: (2) [Object, Object]
email.js:34 NEW PAYLOAD: (2) [Object, Object]
email.js:66 Uncaught (in promise) TypeError: Cannot read property 'host' of undefined
at Class.getDom (email.js:66)
at Promise (main.js:110)
at Promise ()
at updateDom (main.js:109)
at Object.updateDom (main.js:511)
at Class.updateDom (module.js:357)
at Class.socketNotificationReceived (email.js:44)
at module.js:245
at r. (socketclient.js:25)
at r.emit (index.js:133)
getDom @ email.js:66
Promise @ main.js:110
updateDom @ main.js:109
updateDom @ main.js:511
updateDom @ module.js:357
socketNotificationReceived @ email.js:44
(anonymous) @ module.js:245
(anonymous) @ socketclient.js:25
r.emit @ index.js:133
r.onevent @ socket.js:270
MMSocket.self.socket.onevent @ socketclient.js:19
r.onpacket @ socket.js:228
(anonymous) @ index.js:21
r.emit @ index.js:133
r.ondecoded @ manager.js:345
(anonymous) @ index.js:21
r.emit @ index.js:133
s.add @ index.js:241
r.ondata @ manager.js:335
(anonymous) @ index.js:21
r.emit @ index.js:133
r.onPacket @ socket.js:456
(anonymous) @ socket.js:273
r.emit @ index.js:133
r.onPacket @ transport.js:145
r.onData @ transport.js:137
ws.onmessage @ websocket.js:147
Read the statement by Michael Teeuw here.
Latest posts made by mizban
-
my log
-
my log info
pi@raspberrypi:~/MagicMirror $ npm start > magicmirror@2.3.1 start /home/pi/MagicMirror > sh run-start.sh Starting MagicMirror: v2.3.1 Loading config ... Loading module helpers ... Initializing new module helper ... Module helper loaded: email All module helpers loaded. Starting server on port 8080 ... Server started ... Connecting socket for: email email helper started ... Sockets connected & modules started ... Launching application. listening for emails... NEW MAIL NEW MAIL listening for emails... NEW MAIL NEW MAIL NEW MAIL NEW MAIL listening for emails... NEW MAIL listening for emails... NEW MAIL NEW MAIL NEW MAIL NEW MAIL listening for emails... NEW MAIL NEW MAIL NEW MAIL NEW MAIL NEW MAIL NEW MAIL NEW MAIL NEW MAIL NEW MAIL NEW MAIL NEW MAIL listening for emails... Shutting down server... Stopping module helper: email
-
my config.js without private info
modules: [ { module: 'email', position: 'bottom_left', header: 'Email', config: { accounts: [ { user: 'johndoe@yahoo.com', password: 'helloworld', host: 'imap.mail.yahoo.com', port: 993, tls: true, authTimeout: 10000, numberOfEmails: 2, }, { user: 'janedoe@gmail.com', password: 'goodbyeworld', host: 'imap.gmail.com', port: 993, tls: true, authTimeout: 10000, numberOfEmails: 2, } ], fade: false, maxCharacters: 30 } } ]
-
email npm start dev error
hey guys , i have problem with my email module. this is my npm start dev: uncought (in promise) TypeError: cannot read property ‘host’ of undefined: at … . it can update email list for 2 minute but after than that this is my error and module not showing new emails. but i have new email objects?
-
RE: compliments font problem
thank you very much pjkoeleman, for help! i tried:
.compliments div {…} and it works. -
RE: compliments font problem
@pjkoeleman said in compliments font problem:
@import url(‘https://fonts.googleapis.com/css?family=Allerta+Stencil’);
i tried below, result: it works only for calendar not for newsfeed and compliments??? why?
@import url(‘https://fonts.googleapis.com/css?family=Allerta+Stencil’);
body{
margin: 20px;
position: absolute;
height: calc(100% - 20px);
width: calc(100% - 20px);
line-height: 1.5em;
-webkit-font-smoothing: antialiased;
}
.calendar {
font-family: ‘allerta stencil’, serif;
}
.compliments {
font-family: ‘allerta stencil’, serif;
}
.newsfeed {
font-family: ‘allerta stencil’, serif;
} -
compliments font problem
hi guys. here is my custom css, but it dosent work, plz help!
@font-face {
font-family: nazanin;
src:local (“nazanin”),
url(“/home/pi/MagicMirror/fonts/nazanin/nazanin.woff”)format(“WOFF”);
font-weight: 100;
font-style: normal;}
.compliments {
font-family: nazanin;
} -
Modules Persian translation??
hi everyone, how can i have Persian magic mirror? please guide me step to step.