error on gmail email scan

Posted on
Mon Aug 26, 2019 5:18 pm
mpovolo offline
Posts: 51
Joined: Dec 19, 2018

error on gmail email scan

I am getting this, any idea how to fix it
Code: Select all
Gmail: Error fetching Message 1: coercing to Unicode: need string or buffer, int found

thanks

Posted on
Mon Aug 26, 2019 5:59 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: error on gmail email scan

Turn on debug logging and then post what you get.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Mon Aug 26, 2019 8:07 pm
mpovolo offline
Posts: 51
Joined: Dec 19, 2018

Re: error on gmail email scan

Code: Select all
Better Email Debug              Gmail: Connecting to POP Server
Better Email Debug              Gmail: Fetching Message # 1
Better Email Debug              Gmail: Parsing message GmailId16cd0bda7d51e82d
Better Email                    Gmail: Received Message Subject: Your Front Door camera saw Duilio.
Better Email                    Received Message From: Vomano <notifications@nest.com>
Better Email                    Gmail: Received Message To: mark.povolo@gmail.com
Better Email                    Gmail: Received Message Date: Tue, 27 Aug 2019 01:43:05 +0000
Better Email Error              Gmail: Error fetching Message 1: coercing to Unicode: need string or buffer, int found
Better Email Debug              Gmail: Logged out from POP server

Posted on
Mon Aug 26, 2019 8:15 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: error on gmail email scan

I think you're the first person I've seen that is using POP with Gmail. OK, I need you to set the logging to "Detailed Debugging" and run the same test.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Mon Aug 26, 2019 8:23 pm
mpovolo offline
Posts: 51
Joined: Dec 19, 2018

Re: error on gmail email scan

Should I be using IMAP

Posted on
Mon Aug 26, 2019 8:25 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: error on gmail email scan

mpovolo wrote:
Should I be using IMAP


That does seem to work for most people.

Since the error you got mentioned unicode, I'm cleaning up the code to be more unicode friendly. This was the first plugin I wrote, so it's not as clean as my more recent ones.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Mon Aug 26, 2019 8:27 pm
mpovolo offline
Posts: 51
Joined: Dec 19, 2018

Re: error on gmail email scan

I switched to IMAP, will try it.

Also, are you by chance familiar with http digest authentication and using restful API to run actions on into server

Posted on
Mon Aug 26, 2019 8:50 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: error on gmail email scan

mpovolo wrote:
Also, are you by chance familiar with http digest authentication and using restful API to run actions on into server


I am, somewhat, but this in not the right forum for that. Post in the appropriate forum. I'll see it.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Mon Aug 26, 2019 9:35 pm
mpovolo offline
Posts: 51
Joined: Dec 19, 2018

Re: error on gmail email scan

ok thanks, can I use idle with gmail IMAP

thanks

Posted on
Tue Aug 27, 2019 6:06 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: error on gmail email scan

mpovolo wrote:
ok thanks, can I use idle with gmail IMAP


I think so. Try it and see.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest