Error creating new grokproject under windows

Bug #317081 reported by Mikhail Kashkin
4
Affects Status Importance Assigned to Milestone
grok
New
High
Michael Haubenwallner

Bug Description

Installed version 1.0a2.

What I do:

C:\workspace\grok-test>C:\Python25\Scripts\grokproject.exe mygroktest
Enter user (Name of an initial administrator user): admin
Enter passwd (Password for the initial administrator user):
Downloading info about versions...
Creating directory .\mygroktest
Downloading zc.buildout...
Invoking zc.buildout...
Develop: 'C:\\workspace\\grok-test\\mygroktest\\.'
Getting distribution for 'zc.recipe.egg==1.1.0b1'.
Traceback (most recent call last):
  File "C:\Python25\lib\runpy.py", line 95, in run_module
    filename, loader, alter_sys)
  File "C:\Python25\lib\runpy.py", line 52, in _run_module_code
    mod_name, mod_fname, mod_loader)
  File "C:\Python25\lib\runpy.py", line 32, in _run_code
    exec code in run_globals
  File "C:\Python25\lib\py_compile.py", line 164, in <module>
    main()
  File "C:\Python25\lib\py_compile.py", line 159, in main
    compile(filename, doraise=True)
  File "C:\Python25\lib\py_compile.py", line 115, in compile
    f = open(file, 'U')
IOError: [Errno 2] No such file or directory: 'c:\\documents'
While:
  Installing.
  Getting section eggbasket.
  Initializing section eggbasket.
  Installing recipe z3c.recipe.eggbasket.
  Getting distribution for 'zc.recipe.egg==1.1.0b1'.

An internal error occured due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
  File "c:\temp\tmpsmiufj\zc.buildout-1.1.1-py2.5.egg\zc\buildout\buildout.py",
line 1477, in main
  File "c:\temp\tmpsmiufj\zc.buildout-1.1.1-py2.5.egg\zc\buildout\buildout.py",
line 346, in install
  File "c:\temp\tmpsmiufj\zc.buildout-1.1.1-py2.5.egg\zc\buildout\buildout.py",
line 857, in __getitem__
  File "c:\temp\tmpsmiufj\zc.buildout-1.1.1-py2.5.egg\zc\buildout\buildout.py",
line 938, in _initialize
  File "c:\temp\tmpsmiufj\zc.buildout-1.1.1-py2.5.egg\zc\buildout\buildout.py",
line 897, in _install_and_load
  File "c:\temp\tmpsmiufj\zc.buildout-1.1.1-py2.5.egg\zc\buildout\easy_install.p
y", line 775, in install
  File "c:\temp\tmpsmiufj\zc.buildout-1.1.1-py2.5.egg\zc\buildout\easy_install.p
y", line 645, in install
  File "c:\temp\tmpsmiufj\zc.buildout-1.1.1-py2.5.egg\zc\buildout\easy_install.p
y", line 522, in _get_dist
  File "c:\temp\tmpsmiufj\zc.buildout-1.1.1-py2.5.egg\zc\buildout\easy_install.p
y", line 1138, in redo_pyc
OSError: [Errno 0] Error

Revision history for this message
Martijn Faassen (faassen) wrote :

Apparently a workaround is to do the following (as reported by Alec Munro):

> - 317081: Requiring ~\.buildout\default.cfg to use "Docume~1",
> instead of "Documents and Settings". Seems like this should be an easy
> fix, and I should hope is already fixed somewhere.

This may help diagnose the problem?

Changed in grok:
assignee: nobody → d2m
importance: Undecided → High
milestone: none → 1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.