~oren


#159 Connection timeout 29 days ago

Comment by ~oren on ~sircmpwn/aerc2

ake, I tried your configuration but it didn't work. I also looked at the google security page (https://myaccount.google.com/security) but I can't find a way to add aerc to the list of 'Third-party apps with account access'

#159 Connection timeout a month ago

Comment by ~oren on ~sircmpwn/aerc2

Thanks for the troubleshooting tips, archaeme.

I disabled IPV6 by follow this: https://www.neuraldump.net/2016/11/how-to-disable-ipv6-in-ubuntu-16-04-xenial-xerus/ but It didn't help

How do I find my mail server IP address and how do I ping it using Ubuntu? I am using gmail.

Thanks!

#151 How to install it on Ubuntu 16.04? a month ago

Comment by ~oren on ~sircmpwn/aerc2

done - https://todo.sr.ht/~sircmpwn/aerc2/159

Thanks!

#159 Connection timeout a month ago

Ticket created by ~oren on ~sircmpwn/aerc2

I start aerc on my laptop and get connection timeout:

aerc > output.txt

cat output.txt

2019/06/05 17:50:47 Starting up aerc imap 2019/06/05 17:50:47 (ui)=> *types.Configure 2019/06/05 17:50:47 (ui)=> *types.Connect 2019/06/05 17:50:47 <-(ui) *types.Configure(2) 2019/06/05 17:50:47 <-(ui) *types.Connect(3) 2019/06/05 17:52:54 ->(ui) *types.Error:*types.Connect 2019/06/05 17:52:54 (ui)<= *types.Error(4):*types.Connect(3) 2019/06/05 17:52:54 dial tcp [2607:f8b0:400a:803::2005]:143: connect: connection timed out `

I tried IMAP over SSL, IMAP with STARTLS, and Insecure IMAP. Which of them should I use? insecure?

#151 How to install it on Ubuntu 16.04? a month ago

Comment by ~oren on ~sircmpwn/aerc2

Works! Now I get timeout when I try to use it. I tried IMAP over SSL, IMAP with STARTLS, and Insecure IMAP.

  1. I am using it on my laptop. does it mean I have to use the insecure option?
  2. How to debug it? is there any log file I can tail or something else I can do?
  3. Should I create new ticket for this?

Thanks!

#151 How to install it on Ubuntu 16.04? a month ago

Comment by ~oren on ~sircmpwn/aerc2

ok. let me try after upgrading go!

#151 How to install it on Ubuntu 16.04? a month ago

Comment by ~oren on ~sircmpwn/aerc2

and also:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.5 LTS
Release:    16.04
Codename:   xenial

$ uname -a
Linux oren 4.4.0-142-generic #168-Ubuntu SMP Wed Jan 16 21:00:45 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

#151 How to install it on Ubuntu 16.04? a month ago

Comment by ~oren on ~sircmpwn/aerc2

sorry, the markdown is not nice. let me try again:

go version

go version go1.8.1 linux/amd64

And now I did the following: (home is not under $GOPATH)

cd ~/
git clone https://git.sr.ht/~sircmpwn/aerc
cd aerc
make

go build  \
    -ldflags "-X main.Prefix=/usr/local" \
    -ldflags "-X main.ShareDir=/usr/local/share/aerc" \
    -o aerc
aerc.go:13:2: cannot find package "git.sr.ht/~sircmpwn/aerc/commands" in any of:
    /usr/local/go/src/git.sr.ht/~sircmpwn/aerc/commands (from $GOROOT)
    /home/oren/p/go/src/git.sr.ht/~sircmpwn/aerc/commands (from $GOPATH)
aerc.go:14:2: cannot find package "git.sr.ht/~sircmpwn/aerc/commands/account" in any of:
    /usr/local/go/src/git.sr.ht/~sircmpwn/aerc/commands/account (from $GOROOT)
    /home/oren/p/go/src/git.sr.ht/~sircmpwn/aerc/commands/account (from $GOPATH)
aerc.go:15:2: cannot find package "git.sr.ht/~sircmpwn/aerc/commands/compose" in any of:
    /usr/local/go/src/git.sr.ht/~sircmpwn/aerc/commands/compose (from $GOROOT)
    /home/oren/p/go/src/git.sr.ht/~sircmpwn/aerc/commands/compose (from $GOPATH)
aerc.go:16:2: cannot find package "git.sr.ht/~sircmpwn/aerc/commands/msg" in any of:
    /usr/local/go/src/git.sr.ht/~sircmpwn/aerc/commands/msg (from $GOROOT)
    /home/oren/p/go/src/git.sr.ht/~sircmpwn/aerc/commands/msg (from $GOPATH)
aerc.go:17:2: cannot find package "git.sr.ht/~sircmpwn/aerc/commands/msgview" in any of:
    /usr/local/go/src/git.sr.ht/~sircmpwn/aerc/commands/msgview (from $GOROOT)
    /home/oren/p/go/src/git.sr.ht/~sircmpwn/aerc/commands/msgview (from $GOPATH)
aerc.go:18:2: cannot find package "git.sr.ht/~sircmpwn/aerc/commands/terminal" in any of:
    /usr/local/go/src/git.sr.ht/~sircmpwn/aerc/commands/terminal (from $GOROOT)
    /home/oren/p/go/src/git.sr.ht/~sircmpwn/aerc/commands/terminal (from $GOPATH)
aerc.go:19:2: cannot find package "git.sr.ht/~sircmpwn/aerc/config" in any of:
    /usr/local/go/src/git.sr.ht/~sircmpwn/aerc/config (from $GOROOT)
    /home/oren/p/go/src/git.sr.ht/~sircmpwn/aerc/config (from $GOPATH)
aerc.go:20:2: cannot find package "git.sr.ht/~sircmpwn/aerc/lib/ui" in any of:
    /usr/local/go/src/git.sr.ht/~sircmpwn/aerc/lib/ui (from $GOROOT)
    /home/oren/p/go/src/git.sr.ht/~sircmpwn/aerc/lib/ui (from $GOPATH)
aerc.go:21:2: cannot find package "git.sr.ht/~sircmpwn/aerc/widgets" in any of:
    /usr/local/go/src/git.sr.ht/~sircmpwn/aerc/widgets (from $GOROOT)
    /home/oren/p/go/src/git.sr.ht/~sircmpwn/aerc/widgets (from $GOPATH)
Makefile:16: recipe for target 'aerc' failed
make: *** [aerc] Error 1

#151 How to install it on Ubuntu 16.04? a month ago

Comment by ~oren on ~sircmpwn/aerc2

go version go version go1.8.1 linux/amd64

And now I did the following: (home is not under $GOPATH) ``` cd ~/ git clone https://git.sr.ht/~sircmpwn/aerc cd aerc make

go build \ -ldflags -X main.Prefix=/usr/local \ -ldflags -X main.ShareDir=/usr/local/share/aerc \ -o aerc aerc.go:13:2: cannot find package git.sr.ht/~sircmpwn/aerc/commands in any of: /usr/local/go/src/git.sr.ht/~sircmpwn/aerc/commands (from $GOROOT) /home/oren/p/go/src/git.sr.ht/~sircmpwn/aerc/commands (from $GOPATH) aerc.go:14:2: cannot find package git.sr.ht/~sircmpwn/aerc/commands/account in any of: /usr/local/go/src/git.sr.ht/~sircmpwn/aerc/commands/account (from $GOROOT) /home/oren/p/go/src/git.sr.ht/~sircmpwn/aerc/commands/account (from $GOPATH) aerc.go:15:2: cannot find package git.sr.ht/~sircmpwn/aerc/commands/compose in any of: /usr/local/go/src/git.sr.ht/~sircmpwn/aerc/commands/compose (from $GOROOT) /home/oren/p/go/src/git.sr.ht/~sircmpwn/aerc/commands/compose (from $GOPATH) aerc.go:16:2: cannot find package git.sr.ht/~sircmpwn/aerc/commands/msg in any of: /usr/local/go/src/git.sr.ht/~sircmpwn/aerc/commands/msg (from $GOROOT) /home/oren/p/go/src/git.sr.ht/~sircmpwn/aerc/commands/msg (from $GOPATH) aerc.go:17:2: cannot find package git.sr.ht/~sircmpwn/aerc/commands/msgview in any of: /usr/local/go/src/git.sr.ht/~sircmpwn/aerc/commands/msgview (from $GOROOT) /home/oren/p/go/src/git.sr.ht/~sircmpwn/aerc/commands/msgview (from $GOPATH) aerc.go:18:2: cannot find package git.sr.ht/~sircmpwn/aerc/commands/terminal in any of: /usr/local/go/src/git.sr.ht/~sircmpwn/aerc/commands/terminal (from $GOROOT) /home/oren/p/go/src/git.sr.ht/~sircmpwn/aerc/commands/terminal (from $GOPATH) aerc.go:19:2: cannot find package git.sr.ht/~sircmpwn/aerc/config in any of: /usr/local/go/src/git.sr.ht/~sircmpwn/aerc/config (from $GOROOT) /home/oren/p/go/src/git.sr.ht/~sircmpwn/aerc/config (from $GOPATH) aerc.go:20:2: cannot find package git.sr.ht/~sircmpwn/aerc/lib/ui in any of: /usr/local/go/src/git.sr.ht/~sircmpwn/aerc/lib/ui (from $GOROOT) /home/oren/p/go/src/git.sr.ht/~sircmpwn/aerc/lib/ui (from $GOPATH) aerc.go:21:2: cannot find package git.sr.ht/~sircmpwn/aerc/widgets in any of: /usr/local/go/src/git.sr.ht/~sircmpwn/aerc/widgets (from $GOROOT) /home/oren/p/go/src/git.sr.ht/~sircmpwn/aerc/widgets (from $GOPATH) Makefile:16: recipe for target 'aerc' failed make: *** [aerc] Error 1 ```

#151 How to install it on Ubuntu 16.04? a month ago

Comment by ~oren on ~sircmpwn/aerc2

Thank you for the information. I apologise but I am newb when it comes to go. Can you provide more detailed Instructions if that's not too time consuming?

On Tue, Jun 4, 2019, 11:41 PM ~yashsriv outgoing@sr.ht wrote:

Hi. So aerc uses Go 1.11 modules for dependency management. The new go modules don't work if you clone a repository under $GOPATH as it assumes it to be the older $GOPATH based dependency management.

In order to compile aerc, either clone to some place outside $GOPATH and compile or you could export GO111MODULE=on and then compile inside the $GOPATH

View on the web:

https://todo.sr.ht/~sircmpwn/aerc2/151#comment-2522