[Grok-dev] Error creating Grok project (grokproject 2.0.1)

Sebastian Ware sebastian at urbantalk.se
Thu Jun 3 04:39:08 EDT 2010


(I have previously only used grokproject==1.0.3)

Sebastian-Wares-MacBook-Pro:groksandbox jhsware$ bin/grokproject --version
2.0.1

  bin/grokproject --eggs-dir=eggs Test
  bin/grokproject --grokversion=1.1 --eggs-dir=eggs Test

stalls, but creates the directory structure so I can run bin/buildout manually but it stalls too... 

Sebastian-Wares-MacBook-Pro:TestOneDotOne jhsware$ bin/buildout 
Develop: '/Users/jhsware/groksandbox/TestOneDotOne/.'
Getting distribution for 'ZODB3==3.9.4'.
[stall]

  bin/grokproject --grokversion=1.0

does not work at all, not even creating the bin directory, traceback:

Sebastian-Wares-MacBook-Pro:groksandbox jhsware$ bin/grokproject --grokversion=1.0 YHGuiden --eggs-dir=./eggs
Enter user (Name of an initial administrator user): seb
Enter passwd (Password for the initial administrator user): 
Creating directory ./YHGuiden
Downloading zc.buildout...
While:
  Initializing.

An internal error occured due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
  File "/private/var/folders/KG/KGvZOYOqEfiR45G4Pue2lk+++TI/-Tmp-/tmpK4qy5C/zc.buildout-1.5.0b2-py2.6.egg/zc/buildout/buildout.py", line 1659, in main
    user_defaults, windows_restart, command)
  File "/private/var/folders/KG/KGvZOYOqEfiR45G4Pue2lk+++TI/-Tmp-/tmpK4qy5C/zc.buildout-1.5.0b2-py2.6.egg/zc/buildout/buildout.py", line 182, in __init__
    data['buildout'].copy(), override))
  File "/private/var/folders/KG/KGvZOYOqEfiR45G4Pue2lk+++TI/-Tmp-/tmpK4qy5C/zc.buildout-1.5.0b2-py2.6.egg/zc/buildout/buildout.py", line 1333, in _open
    eresult = _open(base, extends.pop(0), seen, dl_options, override)
  File "/private/var/folders/KG/KGvZOYOqEfiR45G4Pue2lk+++TI/-Tmp-/tmpK4qy5C/zc.buildout-1.5.0b2-py2.6.egg/zc/buildout/buildout.py", line 1283, in _open
    path, is_temp = download(filename)
  File "/private/var/folders/KG/KGvZOYOqEfiR45G4Pue2lk+++TI/-Tmp-/tmpK4qy5C/zc.buildout-1.5.0b2-py2.6.egg/zc/buildout/download.py", line 94, in __call__
    local_path, is_temp = self.download_cached(url, md5sum)
  File "/private/var/folders/KG/KGvZOYOqEfiR45G4Pue2lk+++TI/-Tmp-/tmpK4qy5C/zc.buildout-1.5.0b2-py2.6.egg/zc/buildout/download.py", line 139, in download_cached
    _, is_temp = self.download(url, md5sum, cached_path)
  File "/private/var/folders/KG/KGvZOYOqEfiR45G4Pue2lk+++TI/-Tmp-/tmpK4qy5C/zc.buildout-1.5.0b2-py2.6.egg/zc/buildout/download.py", line 173, in download
    tmp_path, headers = urllib.urlretrieve(url, tmp_path)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib.py", line 94, in urlretrieve
    return _urlopener.retrieve(url, filename, reporthook, data)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib.py", line 235, in retrieve
    fp = self.open(url, data)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib.py", line 203, in open
    return getattr(self, name)(url)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib.py", line 354, in open_http
    return self.http_error(url, fp, errcode, errmsg, headers)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib.py", line 371, in http_error
    return self.http_error_default(url, fp, errcode, errmsg, headers)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib.py", line 377, in http_error_default
    raise IOError, ('http error', errcode, errmsg, headers)
IOError: ('http error', 404, 'Not Found', <httplib.HTTPMessage instance at 0x1023d3830>)

Mvh Sebastian




More information about the Grok-dev mailing list