[ZCM] Re: [ZC] 1372/ 2 Reject "mkzopeinstance.py fails on Mac OS X Panther"

D. Evan Kiefer dekiefer at earthlink.net
Thu Jun 10 10:54:57 EDT 2004


Thanks, I'll look into the getpass module.

On 10 Jun, 2004, at 01:21, Collector: Zope Bugs, Features, and Patches 
... wrote:

> Issue #1372 Update (Reject) "mkzopeinstance.py fails on Mac OS X 
> Panther"
>  Status Rejected, Zope/bug medium
> To followup, visit:
>   http://collector.zope.org/Zope/1372
>
> ==============================================================
> = Reject - Entry #2 by ajung on Jun 10, 2004 4:21 am
>
>  Status: Pending => Rejected
>
> This is actually a Python problem (if any). mkzopeinstance is actually 
> working fine  (tested on several MacOSX
> systems). The problem seems to be that the getpass module
> of Python using some Mac specific UI code to retrieve
> the password from the user which does not seem to work on your side.
> ________________________________________
> = Request - Entry #1 by Selz on Jun 10, 2004 3:02 am
>
> I followed Jens Vagelpohl's directions for installing Python 2.3.4 
> into /usr/local followed by Zope 2.7.0 into /opt/Zope-2.7. Both 
> installations completed successfully through their make installs. 
> However when executing: /opt/Zope-2.7/bin/mkzopeinstance.py it fails 
> with a MacOS.Error: (-1713, 'no user interaction is allowed').
>
> Darwin::dekiefer:10-> /opt/Zope-2.7/bin/mkzopeinstance.py
> Please choose a directory in which you'd like to install
> Zope "instance home" files such as database files, configuration
> files, etc.
>
> Directory: /Volumes/Big_Mother/zope_instance_home
> /usr/local/lib/python2.3/termios.py:7: DeprecationWarning: the TERMIOS 
> module is deprecated; please use termios
>   DeprecationWarning)
> Please choose a username and password for the initial user.
> These will be the credentials you use to initially manage
> your new Zope instance.
>
> Username: dekiefer
> /usr/local/lib/python2.3/fcntl.py:7: DeprecationWarning: the FCNTL 
> module is deprecated; please use fcntl
>   DeprecationWarning)
> Traceback (most recent call last):
>   File "/opt/Zope-2.7/bin/mkzopeinstance.py", line 174, in ?
>     main()
>   File "/opt/Zope-2.7/bin/mkzopeinstance.py", line 92, in main
>     user, password = get_inituser()
>   File "/opt/Zope-2.7/bin/mkzopeinstance.py", line 155, in get_inituser
>     passwd = getpass.getpass("Password: ")
>   File "/usr/local/lib/python2.3/plat-mac/EasyDialogs.py", line 150, 
> in AskPassword
>     _interact()
>   File "/usr/local/lib/python2.3/plat-mac/EasyDialogs.py", line 53, in 
> _interact
>     AE.AEInteractWithUser(50000000)
> MacOS.Error: (-1713, 'no user interaction is allowed')
> Darwin::dekiefer:11->
>
> ==============================================================
>




More information about the Zope-Collector-Monitor mailing list