You are not logged in.

#1 2020-05-02 23:22:02

lenhuppe
Member
From: New Hampshire USA
Registered: 2018-12-10
Posts: 282
Website

SOLVED Gmail broken in Mailspring

Update:

Bug was fixed as of version 1.7.8-1 

*******

Gmail has stopped working in Mailspring yet again. Some googling has revealed that this a recurring issue. I tried to follow Mailspring's published workaround but with no success. Those instructions are found her:  https://getmailspring.com/setup/access- … -imap-smtp

I was able to capture some error messages from the console and post them here. I think that Mailspring is an Electron app but I know nothing about troubleshooting Electron apps. When I try to add my Gmail account I get the following:

{ Error: An unknown error has occurred (mailsync: 134)
    at ChildProcess._proc.on.code (file:///tmp/nylas-build/electron-packager/linux-x64/mailspring-linux-x64/resources/app/src/mailsync-process.ts:226:25)
    at ChildProcess.emit (events.js:182:13)
    at ChildProcess.EventEmitter.emit (domain.js:442:20)
    at maybeClose (internal/child_process.js:962:16)
    at Socket.stream.socket.on (internal/child_process.js:381:11)
    at Socket.emit (events.js:182:13)
    at Socket.EventEmitter.emit (domain.js:442:20)
    at Pipe._handle.close (net.js:606:12)
  message: 'An unknown error has occurred (mailsync: 134)',
  rawLog:
   '\nWaiting for Account JSON:\n\nWaiting for Identity JSON:\ninfo: Identity created at 1544125292 - using ID Schema 1\ninfo: Fetching XOAuth2 access token from Gmail for e58e1a53\ncritical: \n ***\n *** Mailspring GenericException occurred during program execution: \n *** {"debuginfo":"https://www.googleapis.com/oauth2/v4/token","key":"Couldn\'t resolve host name","retryable":true,"what":"std::exception"}\n ***\n\ncritical:  *** Stack trace (line numbers are approximate):\n *** ??:?  ValidateRequestResp(CURLcode, void*, string)\n *** ??:?  PerformRequest(void*)\n *** ??:?  PerformJSONRequest(void*)\n *** ??:?  MakeGmailOAuthRequest(string, string)\n *** ??:?  XOAuth2TokenManager::partsForAccount(shared_ptr)\n *** ??:?  MailUtils::configureSessionForAccount(mailcore::IMAPSession&, shared_ptr)\n *** ??:?  runTestAuth(shared_ptr)\n *** ??:?  main\n ***\n\ncritical: \n ***\n *** Mailspring GenericException occurred during program execution: \n *** {"debuginfo":"https://www.googleapis.com/oauth2/v4/token","key":"Couldn\'t resolve host name","retryable":true,"what":"std::exception"}\n ***\n\ncritical:  *** Stack trace (line numbers are approximate):\n *** ??:?  ValidateRequestResp(CURLcode, void*, string)\n *** ??:?  PerformRequest(void*)\n *** ??:?  PerformJSONRequest(void*)\n *** ??:?  MakeGmailOAuthRequest(string, string)\n *** ??:?  XOAuth2TokenManager::partsForAccount(shared_ptr)\n *** ??:?  MailUtils::configureSessionForAccount(mailcore::IMAPSession&, shared_ptr)\n *** ??:?  runTestAuth(shared_ptr)\n *** ??:?  main\n ***\n\n/usr/share/mailspring/resources/app.asar.unpacked/mailsync: line 4: 679363 Aborted                 (core dumped) SASL_PATH="$(dirname $(realpath $0))" LD_LIBRARY_PATH="$(dirname $(realpath $0));$LD_LIBRARY_PATH" "$(dirname $0)/mailsync.bin" "$@"\n' } { pluginIds: [] }

Any ideas on what to try next ?

UPDATE:

Version 1.7.6 on my MacBook works fine.
The version on my Arch box is 1.7.5.

Last edited by lenhuppe (2020-08-02 13:30:26)


"I'm suspicious of people who don't like dogs, but I trust a dog when it doesn't like a person."  -- Bill Murray

Offline

#2 2020-05-02 23:32:15

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,485
Website

Re: SOLVED Gmail broken in Mailspring

Mod note: Moving to AUR Issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2020-05-03 11:04:10

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,049

Re: SOLVED Gmail broken in Mailspring

There are two comments on the aur page that updating the PKGBUILD to 1.7.6 requires just 2 changes in it .

Try making those changes, build and check if that solves the issue.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#4 2020-05-03 16:18:28

lenhuppe
Member
From: New Hampshire USA
Registered: 2018-12-10
Posts: 282
Website

Re: SOLVED Gmail broken in Mailspring

Lone_Wolf wrote:

There are two comments on the aur page that updating the PKGBUILD to 1.7.6 requires just 2 changes in it .

Try making those changes, build and check if that solves the issue.

Builds and runs but Gmail support is still broken


"I'm suspicious of people who don't like dogs, but I trust a dog when it doesn't like a person."  -- Bill Murray

Offline

Board footer

Powered by FluxBB