[gpaw-users] GPAW installation through Homebrew on Mac OS X Mavericks
Ask Hjorth Larsen
asklarsen at gmail.com
Tue Apr 5 15:06:13 CEST 2016
Dear Vardha
2016-04-01 21:27 GMT+02:00 Varadharajan Srinivasan via gpaw-users
<gpaw-users at listserv.fysik.dtu.dk>:
> Dear all,
>
> After trying in vain to fix the error on my Mavericks installation I tried
> to check if I could install GPAW on my MacbookPro which runs El Capitan.
> Everything went smoothly and I could install GPAW and ASE (using the
> home-brew instructions and virtualenvs). I ran gpaw info and it gave me the
> following :
>
> python-2.7.10 /Users/apple/Virtualenvs/gpaw-trunk/bin/python
> gpaw-1.0.1b1
> /Users/apple/Virtualenvs/gpaw-trunk/lib/python2.7/site-packages/gpaw/
> ase-3.10.0
> /Users/apple/Virtualenvs/gpaw-trunk/lib/python2.7/site-packages/ase/
> numpy-1.10.4 /usr/local/lib/python2.7/site-packages/numpy/
> scipy-0.17.0 /usr/local/lib/python2.7/site-packages/scipy/
> _gpaw
> /Users/apple/Virtualenvs/gpaw-trunk/lib/python2.7/site-packages/_gpaw.so
> parallel /Users/apple/Virtualenvs/gpaw-trunk/bin/gpaw-python
> FFTW no
> scalapack no
> libvdwxc no
> PAW-datasets /usr/local/share/gpaw-setups:
> /usr/share/gpaw-setups
>
> I tried running gpaw --verbose install-data and got the following error :
> Traceback (most recent call last):
> File "/Users/apple/Virtualenvs/gpaw-trunk/bin/gpaw", line 3, in <module>
> main()
> File
> "/Users/apple/Virtualenvs/gpaw-trunk/lib/python2.7/site-packages/gpaw/cli/main.py",
> line 75, in main
> func(*args, **kwargs)
> File
> "/Users/apple/Virtualenvs/gpaw-trunk/lib/python2.7/site-packages/gpaw/cli/install_data.py",
> line 73, in main
> urls = get_urls(opts.source)
> File
> "/Users/apple/Virtualenvs/gpaw-trunk/lib/python2.7/site-packages/gpaw/cli/install_data.py",
> line 215, in get_urls
> response = urllib2.urlopen(page)
> File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py",
> line 154, in urlopen
> return opener.open(url, data, timeout)
> File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py",
> line 431, in open
> response = self._open(req, data)
> File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py",
> line 449, in _open
> '_open', req)
> File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py",
> line 409, in _call_chain
> result = func(*args)
> File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py",
> line 1240, in https_open
> context=self._context)
> File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py",
> line 1197, in do_open
> raise URLError(err)
> urllib2.URLError: <urlopen error EOF occurred in violation of protocol
> (_ssl.c:590)>
>
> Has anybody faced this error? If so how do I fix it?
>
> Looking forward for some help.
Please excuse the late reply.
If you open Python and manually run:
import urllib2
urllib2.urlopen('https://wiki.fysik.dtu.dk/gpaw/_sources/setups/setups.txt')
does this cause the same error? It is supposed to do exactly the same
thing, but without referring in any way to the installed GPAW, so
presumably the effect will be the same.
In that case it would be an issue between Python (urllib2), ssl, and
the DTU/CAMD web server - as far as I can tell.
If it yields the same error, can you find other https pages where urlopen works?
An alternative is always to install the setups manually.
Best regards
Ask
>
> Best,
> Vardha.
>
More information about the gpaw-users
mailing list