|
View:
New views
12 Messages
—
Rating Filter:
Alert me
|
|
|
grokproject kicks a win32api errorWhen 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> |
|
|
Re: grokproject kicks a win32api errorHi,
can you try to install in an Python-2.5 environment? I think this could be an issue with Python-2.6. HtH Christian > > 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> > > _______________________________________________ Grok-dev mailing list Grok-dev@... https://mail.zope.org/mailman/listinfo/grok-dev |
|
|
Re: grokproject kicks a win32api errorHi,
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@...> 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@... > https://mail.zope.org/mailman/listinfo/grok-dev > Grok-dev mailing list Grok-dev@... https://mail.zope.org/mailman/listinfo/grok-dev |
|
|
Re: grokproject kicks a win32api errorOn Mon, Oct 12, 2009 at 13:00, Leonardo Rochael Almeida
<leorochael@...> wrote: > 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. Officially only Python 2.4 or 2.5 are supported. Roger _______________________________________________ Grok-dev mailing list Grok-dev@... https://mail.zope.org/mailman/listinfo/grok-dev |
|
|
Re: grokproject kicks a win32api error
|
|
|
Re: grokproject kicks a win32api errorThanks for the replies. That put Grok up a notch in my quest for a framework.
OK... I'm making progress. I deprecated from 2.6 to 2.5 -- no luck with grokproject Then I tried to install pywin32 -- pywinwin gagged on 2.5 I went back to 2.6 -- pywin32 installed --- Now, when I run grokproject (or paster create -t grok myproject) I get the error pasted below. Ideas? Not v/r paul ....eggbasket: Downloading http://grok.zope.org/releaseinfo/grok-eggs-1.0.tgz ... eggbasket: Finished downloading. eggbasket: Extracting tarball contents... eggbasket: Installing eggs to C:\Users\xxx\BUILDO~1\eggs which will take a w hile... Getting distribution for 'zope.app.container==3.5.6'. error: Setup script exited with error: Unable to find vcvarsall.bat An error occured when trying to install zope.app.container 3.5.6.Look above this message for any errors thatwere output by easy_install. While: Installing eggbasket. Getting distribution for 'zope.app.container==3.5.6'. Error: Couldn't install: zope.app.container 3.5.6 C:\Users\xxx\Desktop\a> |
|
|
Re: grokproject kicks a win32api errorSquidward wrote:
> Thanks for the replies. That put Grok up a notch in my quest for a > framework. > > OK... I'm making progress. > > I deprecated from 2.6 to 2.5 -- no luck with grokproject > Then I tried to install pywin32 -- pywinwin gagged on 2.5 > I went back to 2.6 -- pywin32 installed > --- > Now, when I run grokproject (or paster create -t grok myproject) I get the > error pasted below. > > Ideas? > > Not > v/r > paul > > ....eggbasket: Downloading > http://grok.zope.org/releaseinfo/grok-eggs-1.0.tgz ... > eggbasket: Finished downloading. > eggbasket: Extracting tarball contents... > eggbasket: Installing eggs to C:\Users\xxx\BUILDO~1\eggs which will take a w > hile... > Getting distribution for 'zope.app.container==3.5.6'. > error: Setup script exited with error: Unable to find vcvarsall.bat > An error occured when trying to install zope.app.container 3.5.6.Look above > this > message for any errors thatwere output by easy_install. > While: > Installing eggbasket. > Getting distribution for 'zope.app.container==3.5.6'. > Error: Couldn't install: zope.app.container 3.5.6 > > C:\Users\xxx\Desktop\a> Just to be clear: this error message you get on not installing zope.app.container is still on python-2.6, right? regards, jw _______________________________________________ Grok-dev mailing list Grok-dev@... https://mail.zope.org/mailman/listinfo/grok-dev |
|
|
Re: grokproject kicks a win32api errorJW, Yes... the Zope.app.container is not found when installing Grok under 2.6 |
|
|
Re: grokproject kicks a win32api errorSquidward wrote:
> > > Jan-Wijbrand Kolman-3 wrote: >>> ....eggbasket: Downloading >>> http://grok.zope.org/releaseinfo/grok-eggs-1.0.tgz ... >>> eggbasket: Finished downloading. >>> eggbasket: Extracting tarball contents... >>> eggbasket: Installing eggs to C:\Users\xxx\BUILDO~1\eggs which will take >>> a w >>> hile... >>> Getting distribution for 'zope.app.container==3.5.6'. >>> error: Setup script exited with error: Unable to find vcvarsall.bat >>> An error occured when trying to install zope.app.container 3.5.6.Look >>> above >>> this >>> message for any errors thatwere output by easy_install. >>> While: >>> Installing eggbasket. >>> Getting distribution for 'zope.app.container==3.5.6'. >>> Error: Couldn't install: zope.app.container 3.5.6 >>> >>> C:\Users\xxx\Desktop\a> >> Just to be clear: this error message you get on not installing >> zope.app.container is still on python-2.6, right? >> >> regards, >> jw >> >> > > JW, > > Yes... the Zope.app.container is not found when installing Grok under 2.6 I was afraid of that... There's no binary egg for combination for python 2.6 on windows available on the package index: http://pypi.python.org/simple/zope.app.container So, really we should try to get you running on python 2.5 on windows. Now, I'm by no means a windows expert (at all), but I would guess there must be a way to install pywin32 on your python 2.5 installation... Can anyone with a bit more windows experience please help Squidward a bit further with this?? Squidward could please give installing pywin32 another try on your python 2.5 installation? regards, jw _______________________________________________ Grok-dev mailing list Grok-dev@... https://mail.zope.org/mailman/listinfo/grok-dev |
|
|
Re: grokproject kicks a win32api errorHi Squidward,
I have no experience with 64bit Vista but I remember when installing pywin32 you need to pick the pywin32 version for your python version. There is a different pywin32 for 2.5 than there is for 2.6. It also does not look like there is any 2.5 version of pywin compiled for a 64 bit platform. Not sure whether it is required but this might be part of your problem. We are hopeful our 2.6 support is coming soon (specially with the our move to the ZTK as I understand it) but for now you really should go for Python 2.5. With exact error messages in hand you could try to approach the pywin community with http://sourceforge.net/tracker/?group_id=78018&atid=551954 and see whether they can assist you with any installation issues you may have with the 2.5 version of pywin. Kind regards, Ben. 2009/10/15 Jan-Wijbrand Kolman <janwijbrand@...>: > Squidward wrote: >> >> >> Jan-Wijbrand Kolman-3 wrote: >>>> ....eggbasket: Downloading >>>> http://grok.zope.org/releaseinfo/grok-eggs-1.0.tgz ... >>>> eggbasket: Finished downloading. >>>> eggbasket: Extracting tarball contents... >>>> eggbasket: Installing eggs to C:\Users\xxx\BUILDO~1\eggs which will take >>>> a w >>>> hile... >>>> Getting distribution for 'zope.app.container==3.5.6'. >>>> error: Setup script exited with error: Unable to find vcvarsall.bat >>>> An error occured when trying to install zope.app.container 3.5.6.Look >>>> above >>>> this >>>> message for any errors thatwere output by easy_install. >>>> While: >>>> Installing eggbasket. >>>> Getting distribution for 'zope.app.container==3.5.6'. >>>> Error: Couldn't install: zope.app.container 3.5.6 >>>> >>>> C:\Users\xxx\Desktop\a> >>> Just to be clear: this error message you get on not installing >>> zope.app.container is still on python-2.6, right? >>> >>> regards, >>> jw >>> >>> >> >> JW, >> >> Yes... the Zope.app.container is not found when installing Grok under 2.6 > > I was afraid of that... > > There's no binary egg for combination for python 2.6 on windows > available on the package index: > > http://pypi.python.org/simple/zope.app.container > > So, really we should try to get you running on python 2.5 on windows. > > Now, I'm by no means a windows expert (at all), but I would guess there > must be a way to install pywin32 on your python 2.5 installation... > > Can anyone with a bit more windows experience please help Squidward a > bit further with this?? Squidward could please give installing pywin32 > another try on your python 2.5 installation? > > regards, > jw > > _______________________________________________ > Grok-dev mailing list > Grok-dev@... > https://mail.zope.org/mailman/listinfo/grok-dev > Grok-dev mailing list Grok-dev@... https://mail.zope.org/mailman/listinfo/grok-dev |
|
|
Re: grokproject kicks a win32api errorHey,
One weird thing is that I heard from others at the Neanderthal II Grok sprint that pywin32 wasn't necessary anymore with the new grokproject layout. That appears to be incorrect then? Now who told me that? Regards, Martijn _______________________________________________ Grok-dev mailing list Grok-dev@... https://mail.zope.org/mailman/listinfo/grok-dev |
|
|
Re: grokproject kicks a win32api errorGrok easy_install attempts still fail. Trying it from another angle, I installed Zope 3.4 KGS. 3.4 installed error free and runs. Is it possible to install Grok into an existing Zope 3.4 instance? I'm trying hard to make this work. I respect the Zope technology, but I only want to use it if I have Grok simplifying it for me. |
| Free embeddable forum powered by Nabble | Forum Help |