[silva-dev] Buildout development error
Jonathan Bowlas
info at jonbowlas.com
Mon Apr 27 18:16:43 CEST 2009
Yeah I can import pywintypes.
>>> import pywintypes
>>> help(pywintypes)
Help on module pywintypes:
NAME
pywintypes
FILE
c:\windows\system32\pywintypes24.dll
CLASSES
exceptions.Exception
com_error
error
class com_error(exceptions.Exception)
| Methods inherited from exceptions.Exception:
|
| __getitem__(...)
|
| __init__(...)
|
| __str__(...)
class error(exceptions.Exception)
| Methods inherited from exceptions.Exception:
|
| __getitem__(...)
|
| __init__(...)
|
| __str__(...)
FUNCTIONS
ACL(...)
CreateGuid(...)
DosDateTimeToTime(...)
HANDLE(...)
HKEY(...)
IID(...)
IsTextUnicode(...)
OVERLAPPED(...)
SECURITY_ATTRIBUTES(...)
SECURITY_DESCRIPTOR(...)
SID(...)
Time(...)
Unicode(...)
UnicodeFromRaw(...)
WAVEFORMATEX(...)
__import_pywin32_system_module__(modname, globs)
DATA
FALSE = False
TRUE = True
WAVE_FORMAT_PCM = 1
Jon
2009/4/27 Kit BLAKE <kitblake at infrae.com>:
> On 27 Apr 2009, at 17:08, Andy Altepeter wrote:
>
>> On Monday 27 April 2009 10:02:03 am Jonathan Bowlas wrote:
>>> Sorry I missed some lines:
>>>
>>> C:\Silva>bin\instance
>>> program: C:\Silva\parts\instance\bin\runzope
>>> daemon manager not running
>>> zopectl> start
>>> Starting service Zope_1438053936
>>> Error starting service: The specified service does not exist as an
>>> installed ser vice.
>>> zopectl>
>>>
>>> Does this mean I have to install the zope instance as a service
>>> manually?
>>
>> Good question. I don't have any zope+windows experience, so I'll
>> defer to the
>> real experts.
>
> I hope there are some win people who know this. I'm not one of them.
> But after you installed pywin32, can you:
>
> import pywintypes
>
> in python?
>
> /me is not sure what pywintypes is
>
> Kit
>
>
>
>>
>>
>> Andy
>>
>>>
>>> J
>>>
>>> 2009/4/27 Jonathan Bowlas <j.bowlas at ucl.ac.uk>:
>>>> Ok, cheers Andy.
>>>>
>>>> I just tried the simple-instance buildout which seemed to install ok
>>>> however upon running the instance the shell returned:
>>>>
>>>> C:\Silva>bin\instance
>>>> Traceback (most recent call last):
>>>> File "C:\Silva\bin\instance-script.py", line 16, in ?
>>>> import plone.recipe.zope2instance.ctl
>>>> File
>>>> "c:\silva\eggs\plone.recipe.zope2instance-3.2-py2.4.egg\plone
>>>> \recipe\zope
>>>> 2instance\ctl.py", line 49, in ?
>>>> import pywintypes
>>>> ImportError: No module named pywintypes
>>>>
>>>> So I installed pywin32
>>>> http://sourceforge.net/project/platformdownload.php?group_id=78018
>>>> (perhaps this stage should be added to
>>>> http://docs.infrae.com/silva/buildout/requirements.html#installation-unde
>>>> r-windows) but now I get the following message:
>>>>
>>>> C:\Silva>bin\instance
>>>> program: C:\Silva\parts\instance\bin\runzope
>>>> daemon manager not running
>>>> zopectl>
>>>>
>>>> Any ideas whats up here?
>>>>
>>>> Jon
>>>>
>>>> 2009/4/27 Andy Altepeter <aaltepet at altepeter.net>:
>>>>> On Monday 27 April 2009 08:07:21 am Jonathan Bowlas wrote:
>>>>>> Hi All,
>>>>>>
>>>>>> I have an error using buildout
>>>>>> (https://svn.infrae.com/buildout/silva/tag/Silva-2.1.4b2 -
>>>>>> development.cfg profile) whereby the distribution for pyflakes
>>>>>> cannot
>>>>>> be found:
>>>>>>
>>>>>> Installing pyflakes.
>>>>>> Couldn't find index page for 'pyflakes' (maybe misspelled?)
>>>>>> Getting distribution for 'pyflakes'.
>>>>>> While:
>>>>>> Installing pyflakes.
>>>>>> Getting distribution for 'pyflakes'.
>>>>>> Error: Couldn't find a distribution for 'pyflakes'.
>>>>>>
>>>>>> How can I resolve this? Hope someone can help.
>>>>>
>>>>> Hey Jon,
>>>>>
>>>>> I always remove pyflakes from our development buildouts.
>>>>>
>>>>> Cheers,
>>>>> Andy
>>>>>
>>>>>> Jon
>>>>>>
>>>>>> _______________________________________________
>>>>>> silva-dev mailing list
>>>>>> silva-dev at lists.infrae.com
>>>>>> https://lists.infrae.com/mailman/listinfo/silva-dev
>>>
>>> _______________________________________________
>>> silva-dev mailing list
>>> silva-dev at lists.infrae.com
>>> https://lists.infrae.com/mailman/listinfo/silva-dev
>>
>>
>>
>> _______________________________________________
>> silva-dev mailing list
>> silva-dev at lists.infrae.com
>> https://lists.infrae.com/mailman/listinfo/silva-dev
>
>
> _______________________________________________
> silva-dev mailing list
> silva-dev at lists.infrae.com
> https://lists.infrae.com/mailman/listinfo/silva-dev
>
>
More information about the silva-dev
mailing list