[Grok-dev] grokproject kicks a win32api error

Leonardo Rochael Almeida leorochael at gmail.com
Mon Oct 12 07:00:22 EDT 2009


Hi,

Maybe you just need to install win32all:

http://sourceforge.net/projects/pywin32/files/

Make sure to select the version appropriate for your installed python version.

Cheers, Leo

On Mon, Oct 12, 2009 at 10:39, Squidward <philswatch at yahoo.com> wrote:
>
> When I grokproject I get the error pasted below.  I ran on Widows Vista 64
> bit.. once as User, once as Admin.  No luck with either.  Problem appears to
> be the win32api module.. how can I fix that?
>
> v/r
> paul
>
> C:\Users\xxx>grokproject mygrokprojectname
> C:\Python26\lib\site-packages\grokproject-1.0-py2.6.egg\grokproject\utils.py:4:
> DeprecationWarning: the sha module is deprecated; use the hashlib module
> instead
>
>  import sha
> Enter user (Name of an initial administrator user): admin
> Enter passwd (Password for the initial administrator user):
> Downloading info about versions...
> Traceback (most recent call last):
>  File "C:\Python26\Scripts\grokproject-script.py", line 8, in <module>
>    load_entry_point('grokproject==1.0', 'console_scripts', 'grokproject')()
>  File
> "C:\Python26\lib\site-packages\grokproject-1.0-py2.6.egg\grokproject\main
> .py", line 80, in main
>    + extra_args)
>  File
> "C:\Python26\lib\site-packages\pastescript-1.7.3-py2.6.egg\paste\script\c
> ommand.py", line 218, in run
>    result = self.command()
>  File
> "C:\Python26\lib\site-packages\pastescript-1.7.3-py2.6.egg\paste\script\c
> reate_distro.py", line 125, in command
>    vars = template.check_vars(vars, self)
>  File
> "C:\Python26\lib\site-packages\grokproject-1.0-py2.6.egg\grokproject\temp
> lates.py", line 107, in check_vars
>    create_buildout_default_file()
>  File
> "C:\Python26\lib\site-packages\grokproject-1.0-py2.6.egg\grokproject\util
> s.py", line 45, in create_buildout_default_file
>    import win32api
> ImportError: No module named win32api
>
> C:\Users\xxx>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> --
> View this message in context: http://www.nabble.com/grokproject-kicks-a-win32api-error-tp25852240p25852240.html
> Sent from the Grok mailing list archive at Nabble.com.
>
> _______________________________________________
> Grok-dev mailing list
> Grok-dev at zope.org
> https://mail.zope.org/mailman/listinfo/grok-dev
>


More information about the Grok-dev mailing list