danchoi / vmail

a vim interface for gmail
http://danielchoi.com/software/vmail.html
MIT License
786 stars 60 forks source link

VMAIL ERROR: uninitialized constant Net::IMAP::VERIFY NONE #201

Open GrahameBlackwood opened 8 years ago

GrahameBlackwood commented 8 years ago

Since I update my system (PCLinuxOS) last weekend, I get this error every time I try to start VMAIL.

I don't know what changed to cause the error (and sadly, don't know how to find it), but it certainly wasn't VMAIL.

Hope it's simple to correct and not terminal for my use of VMAIL which has served me well for the last 5 years.

G

danchoi commented 8 years ago

Hi @GrahameBlackwood

An easy fix is to install an older version of Vmail -- perhaps close to the version you were using.

gem uninstall vmail --all
gem install vmail -v 2.8.6  # an old version
GrahameBlackwood commented 8 years ago

On Sun, Mar 13, 2016 at 6:45 PM, Daniel Choi notifications@github.com wrote:

Hi @GrahameBlackwood https://github.com/GrahameBlackwood

An easy fix is to install an older version of Vmail -- perhaps close to the version you were using.

gem uninstall vmail --all gem install vmail -v 2.8.6 # an old version

— Reply to this email directly or view it on GitHub https://github.com/danchoi/vmail/issues/201#issuecomment-196018989.

Hi Dan

Thanks very much for the quick response. I was using v2.8.7 and removed it as you suggest. On trying to install v2.8.6 I get the following error message:

ERROR: Loading command: install (LoadError) /usr/lib64/ruby/openssl.so: undefined symbol: SSLv2_method - /usr/lib64/ruby/openssl.so ERROR: While executing gem ... (NoMethodError) undefined method `invoke_with_build_args' for nil:NilClass

I get the same error message if I try to install v.2.9.6

Cheers

G

danchoi commented 8 years ago

What version of Ubuntu are you using in this case? I'll try to diagnose with a VM

GrahameBlackwood commented 8 years ago

Hi Daniel

I'm not using Ubuntu. I'm using PCLinuxOS and the kernel version given by uname -r is 4.1.7-pclos3.

Cheers

G

On Sun, Mar 13, 2016 at 9:49 PM, Daniel Choi notifications@github.com wrote:

What version of Ubuntu are you using in this case? I'll try to diagnose with a VM

— Reply to this email directly or view it on GitHub https://github.com/danchoi/vmail/issues/201#issuecomment-196058389.

GrahameBlackwood commented 8 years ago

Hi Daniel

I've just upgraded my system to linux version 4.4.5-pclos1 and I get the same result when trying to install vmail 2.9.6.

Cheers

G

On Sun, Mar 13, 2016 at 9:49 PM, Daniel Choi notifications@github.com wrote:

What version of Ubuntu are you using in this case? I'll try to diagnose with a VM

— Reply to this email directly or view it on GitHub https://github.com/danchoi/vmail/issues/201#issuecomment-196058389.

danchoi commented 8 years ago

Hi Grahame. Sorry for the delay. I found this suggestion on StackOverflow, which is to reinstall Ruby with SSLv2 support using RVM (Ruby Version manager).

http://stackoverflow.com/questions/13366409/undefined-symbol-sslv2-method-when-trying-to-run-thin-webserver

Could you try following the instructions in the top answer? It begins,

install rvm version 1.14.7, where the openssl pkg includes openssl version 0.9.8, and includes SSLv2 support by default...

GrahameBlackwood commented 8 years ago

Hi Daniel

I'll give that a try and let you know the results. Thanks for taking the time to look at this. i tried installing Vmail on another user account on this pc and the error reports were the same as on my account.

Cheers

G

On Fri, Mar 18, 2016 at 5:16 PM, Daniel Choi notifications@github.com wrote:

Hi Grahame. Sorry for the delay. I found this suggestion on StackOverflow, which is to reinstall Ruby with SSLv2 support using RVM (Ruby Version manager).

http://stackoverflow.com/questions/13366409/undefined-symbol-sslv2-method-when-trying-to-run-thin-webserver

Could you try following the instructions in the top answer? It begins,

install rvm version 1.14.7, where the openssl pkg includes openssl version 0.9.8, and includes SSLv2 support by default...

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/danchoi/vmail/issues/201#issuecomment-198459468

GrahameBlackwood commented 8 years ago

On Fri, Mar 18, 2016 at 5:16 PM, Daniel Choi notifications@github.com wrote:

Hi Grahame. Sorry for the delay. I found this suggestion on StackOverflow, which is to reinstall Ruby with SSLv2 support using RVM (Ruby Version manager).

http://stackoverflow.com/questions/13366409/undefined-symbol-sslv2-method-when-trying-to-run-thin-webserver

Could you try following the instructions in the top answer? It begins,

install rvm version 1.14.7, where the openssl pkg includes openssl version 0.9.8, and includes SSLv2 support by default...

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/danchoi/vmail/issues/201#issuecomment-198459468

Hi Daniel The removal or old rvm and the re-install of rvm 1.14.7 seems to have worked as I see the message 'Upgrade of RVM in /home/grahame/.rvm/ is complete.' This is despite curl returning status '22' when it tried to download 'https://github.com/rvm/rvm/releases/download/1.14.7/1.14.7.tar.gz.asc'

Then I tried installing Vmail 2.9.6 and had the same error report from previous emails:

'ERROR: Loading command: install (LoadError) /usr/lib64/ruby/openssl.so: undefined symbol: SSLv2_method - /usr/lib64/ruby/openssl.so ERROR: While executing gem ... (NoMethodError) undefined method `invoke_with_build_args' for nil:NilClass'

I suspect the update of my pc's PCLinuxOS software has had something to do with Vmail not loading or being capable of upgrading as these problems seemed to coincide with the system update.

I'm going to try and install vmail-2.9.6 on another computer to see how that goes.

Cheers and many thanks

G

GrahameBlackwood commented 8 years ago

On Fri, Mar 18, 2016 at 9:55 PM, Grahame Blackwood < grahameblackwood@gmail.com> wrote:

On Fri, Mar 18, 2016 at 5:16 PM, Daniel Choi notifications@github.com wrote:

Hi Grahame. Sorry for the delay. I found this suggestion on StackOverflow, which is to reinstall Ruby with SSLv2 support using RVM (Ruby Version manager).

http://stackoverflow.com/questions/13366409/undefined-symbol-sslv2-method-when-trying-to-run-thin-webserver

Could you try following the instructions in the top answer? It begins,

install rvm version 1.14.7, where the openssl pkg includes openssl version 0.9.8, and includes SSLv2 support by default...

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/danchoi/vmail/issues/201#issuecomment-198459468

Hi Daniel The removal or old rvm and the re-install of rvm 1.14.7 seems to have worked as I see the message 'Upgrade of RVM in /home/grahame/.rvm/ is complete.' This is despite curl returning status '22' when it tried to download 'https://github.com/rvm/rvm/releases/download/1.14.7/1.14.7.tar.gz.asc'

Then I tried installing Vmail 2.9.6 and had the same error report from previous emails:

'ERROR: Loading command: install (LoadError) /usr/lib64/ruby/openssl.so: undefined symbol: SSLv2_method - /usr/lib64/ruby/openssl.so ERROR: While executing gem ... (NoMethodError) undefined method `invoke_with_build_args' for nil:NilClass'

I suspect the update of my pc's PCLinuxOS software has had something to do with Vmail not loading or being capable of upgrading as these problems seemed to coincide with the system update.

I'm going to try and install vmail-2.9.6 on another computer to see how that goes.

Cheers and many thanks

G

Hi Daniel

I tried installing on the other pc (well it's a netbook really) and got farther than on my desktop. The messages from the attempted install of Vmail-2.9.6 are:

'Fetching: blockenspiel-0.5.0.gem (100%) ERROR: Error installing vmail: blockenspiel requires Ruby version >= 1.9.3.'

It's getting late so I think I'll try and install the correct Ruby version tomorrow.

Cheers

G