[Zope3-Users] Re: [Zope3-dev] z3c.form 1.0.0 released!

Stephan Richter srichter at cosmos.phy.tufts.edu
Thu May 31 01:52:46 EDT 2007


On Thursday 31 May 2007 01:45, Behrang Dadsetan wrote:
>  C:\formdemo>bin\demo.exe fg
> Traceback (most recent call last):
>   File "C:\formdemo\bin\demo-script.py", line 14, in ?
>     zc.zope3recipes.ctl.main([
>   File
> "c:\formdemo\eggs\zc.zope3recipes-0.5.1-py2.4.egg\zc\zope3recipes\ctl.py",
> line 47, in main
>     zdaemon.zdctl.main(args, None, Cmd)
>   File
> "c:\formdemo\eggs\tmp8ohght\zdaemon-2.0a6-py2.4.egg\zdaemon\zdctl.py", line
> 626, in main
>   File
> "c:\formdemo\eggs\tmp8ohght\zdaemon-2.0a6-py2.4.egg\zdaemon\zdctl.py", line
> 125, in __init__
>   File
> "c:\formdemo\eggs\tmp8ohght\zdaemon-2.0a6-py2.4.egg\zdaemon\zdctl.py", line
> 185, in get_status
>   File
> "c:\formdemo\eggs\tmp8ohght\zdaemon-2.0a6-py2.4.egg\zdaemon\zdctl.py", line
> 165, in send_action
> AttributeError: 'module' object has no attribute 'AF_UNIX'
>
> Would you know by any chance why this happens?

Yeah, it seems that zdeamon is not Windows compatible yet. Dominik Huber 
reported this problem to me as well. He could not get it to work with .Net 
compiler, but MinGW worked. Here are the instructions he sent me:

For the curious and impatient windows users...
----------------------------------------------

Install the mingw compiler http://prdownloads.sourceforge.net/mingw
(http://www.mingw.org/MinGWiki/index.php/RealDumbQuickstart)

Add the mingw\bin directory to the system PATH

Create (or edit) a .cfg file for distutils (distutils.cfg) eg: 
python\Lib\distutils\distutils.cfg with this content:

      [build]
      compiler=mingw32

$ svn co svn://svn.zope.org/repos/main/z3c.formdemo/trunk formdemo
$ cd formdemo
$ python bootstrap.py
$ ./bin/buildout
$ formdemo python .\parts\demo\runzope-script.py -C .\parts\demo\zope.conf

Regards,
Stephan


-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-users mailing list