RE: [Zope3-Users] FreeBSD zopectl socket.error: (13, 'Permission denied')

2007-03-09 Thread David Christensen
Giovannetti, Mark wrote:
 You want to tidy up the permissions on some subdirectories of your instance.

Yup.  Thanks!  :-)


David

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Zope 3.3.0 creating DTML page TypeError: readline() takes exactly 1 argument (2 given)

2007-03-09 Thread David Christensen
zope3-users:

I am a newbie running Zope 3.3.0 on FreeBSD 6.2.  I'm trying to create a hello,
world! home page.  When I browse to my Zope instance, log in using the
administrator account, drill down to [Top] - ++etc++site - default, choose 
DTML
Page, enter the magic words in the text area, and click Add, my browser 
indicates
error 500 and z3.log says:


2007-03-09T17:55:06 ERROR SiteError http://p3800.holgerdanske.com:80
80
Traceback (most recent call last):
  File /usr/local/www/Zope3/lib/python/zope/publisher/publish.py, 
line 126, in publish
request.processInputs()
  File /usr/local/www/Zope3/lib/python/zope/publisher/browser.py, 
line 263, in processInputs
fs = FieldStorage(fp=fp, environ=self._environ, keep_blank_value
s=1)
  File /usr/local/lib/python2.4/cgi.py, line 530, in __init__
self.read_multi(environ, keep_blank_values, strict_parsing)
  File /usr/local/lib/python2.4/cgi.py, line 650, in read_multi
environ, keep_blank_values, strict_parsing)
  File /usr/local/lib/python2.4/cgi.py, line 532, in __init__
self.read_single()
  File /usr/local/lib/python2.4/cgi.py, line 665, in read_single
self.read_lines()
  File /usr/local/lib/python2.4/cgi.py, line 687, in read_lines
self.read_lines_to_outerboundary()
  File /usr/local/lib/python2.4/cgi.py, line 715, in read_lines_to
_outerboundary
line = self.fp.readline(116)
TypeError: readline() takes exactly 1 argument (2 given)


I'm just fumbling around with Zope, and don't know if I'm using the software
wrong or if this is a bug in Zope (or elsewhere).


I guess the meta-question is: what's the best way to learn Zope?.  STFW, I
can't seem to find any Zope 3 tutorials, and the most recent online edition of
The Zope Book seems to cover version 2.6.  Should I attempt to read/follow 
that
version of the book using Zope 3 and discover the differences, or would I be
better off installing Zope 2.6?


TIA,

David

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] FreeBSD zopectl socket.error: (13, 'Permission denied')

2007-03-08 Thread David Christensen
zope3-users:

I am a FreeBSD 6.2 and Zope newbie who is attempting to get Zope 3.3.0 working.
I have made and installed Zope 3 using the ports collection, and run
mkzopeinstance.  Everything seemed to go okay.


When I try to use zopectl to start Zope, I get an error:

2007-03-08 18:52:21 [EMAIL PROTECTED] ~
# /usr/local/www/Zope3/bin/zopectl start zope
. Traceback (most recent call last):
  File /usr/local/www/Zope3/lib/python/zdaemon/zdrun.py, line 719,
 in ?
main()
  File /usr/local/www/Zope3/lib/python/zdaemon/zdrun.py, line 716,
 in main
d.main(args)
  File /usr/local/www/Zope3/lib/python/zdaemon/zdrun.py, line 243,
 in main
self.run()
  File /usr/local/www/Zope3/lib/python/zdaemon/zdrun.py, line 256,
 in run
self.opensocket()
  File /usr/local/www/Zope3/lib/python/zdaemon/zdrun.py, line 278,
 in opensocket
sock.bind(tempname)
  File string, line 1, in bind
socket.error: (13, 'Permission denied')
. . . . . . .


If I try to browse to port 8080 on the host using IE 7, I get the following 
error
page:

Internet Explorer cannot display the webpage


/usr/local/www/Zope3/log/z3.log is empty.


I have tried stopping Apache, with no apparent effect.


Any suggestions?


TIA,

David

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users