Re: [Zope] Still More Problems On the Install...

2000-11-19 Thread Jens Vagelpohl

i don't think python got to version 2.2.2 yet only zope did.

i suppose if you could send some of the "stuff" that printed to the screen,
especially the "stuff" around that error message, someone could help you.

and maybe what version of python you're really running.

jens


On 11/19/00 7:08, "Ben Ocean" [EMAIL PROTECTED] wrote:

 Hi;
 Okay, I've untarred the distro. The instructions said to type in *python
 w_pcgi.py*. Did so and lots of stuff printed to screen, the last of which
 was *SystemError 512*. Should I worry about that? Then I thought I was
 supposed to type in *./start* but it didn't recognize that command. I'm
 running Python 2.2.2. Thanks for your help.
 BenO 
 
 
 ___
 Zope maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )
 
 


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Still More Problems On the Install...

2000-11-19 Thread Ben Ocean

At 12:19 PM 11/19/2000 +, you wrote:
* Ben Ocean [EMAIL PROTECTED] [001119 06:38]:
  Hi;
  Okay, I've untarred the distro. The instructions said to type in *python
  w_pcgi.py*. Did so and lots of stuff printed to screen, the last of which
  was *SystemError 512*. Should I worry about that? Then I thought I was
  supposed to type in *./start* but it didn't recognize that command. I'm
  running Python 2.2.2. Thanks for your help.

You shouldn't get any errors.  What OS are you running?

RedHat 6.?

Version of
python?

Python 2.0

Is there any more information apart from SystemError 512?
What's the output just before that error?

Okay, I ran the line again and here's what I got:

Traceback (most recent call last):
   File "/apache/vhosts/zope/Zope-2.2.2-src/w_pcgi.py", line 111, in ?
 if __name__=='__main__': main(sys.argv[0])
   File "/apache/vhosts/zope/Zope-2.2.2-src/w_pcgi.py", line 109, in main
 import wo_pcgi; wo_pcgi.main(me)
   File "/apache/vhosts/zope/Zope-2.2.2-src/wo_pcgi.py", line 104, in main
 import build_extensions
   File "/apache/vhosts/zope/Zope-2.2.2-src/inst/build_extensions.py", line 
96, in ?
 make('lib','python')
   File "/apache/vhosts/zope/Zope-2.2.2-src/inst/do.py", line 135, in make
 do('make')
   File "/apache/vhosts/zope/Zope-2.2.2-src/inst/do.py", line 104, in do
 if i and picky: raise SystemError, i
SystemError: 512
[webmaster@thor Zope-2.2.2-src]$

Thanks for your help.
BenO


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Still More Problems On the Install...

2000-11-19 Thread Jens Vagelpohl

ben,

as far as i know python 2.0 is not (yet) fully supported. if you look at
that famous INSTALL.txt again you will see this:


Important notes

   ZOPE 2.0 REQUIRES PYTHON 1.5.2!

   See CHANGES.txt for important notes on Zope 2.0.


so i suggest you try it with python 1.5.2.

jens



On 11/19/00 16:06, "Ben Ocean" [EMAIL PROTECTED] wrote:

 At 12:19 PM 11/19/2000 +, you wrote:
 * Ben Ocean [EMAIL PROTECTED] [001119 06:38]:
 Hi;
 Okay, I've untarred the distro. The instructions said to type in *python
 w_pcgi.py*. Did so and lots of stuff printed to screen, the last of which
 was *SystemError 512*. Should I worry about that? Then I thought I was
 supposed to type in *./start* but it didn't recognize that command. I'm
 running Python 2.2.2. Thanks for your help.
 
 You shouldn't get any errors.  What OS are you running?
 
 RedHat 6.?
 
 Version of
 python?
 
 Python 2.0
 
 Is there any more information apart from SystemError 512?
 What's the output just before that error?
 
 Okay, I ran the line again and here's what I got:
 
 Traceback (most recent call last):
  File "/apache/vhosts/zope/Zope-2.2.2-src/w_pcgi.py", line 111, in ?
if __name__=='__main__': main(sys.argv[0])
  File "/apache/vhosts/zope/Zope-2.2.2-src/w_pcgi.py", line 109, in main
import wo_pcgi; wo_pcgi.main(me)
  File "/apache/vhosts/zope/Zope-2.2.2-src/wo_pcgi.py", line 104, in main
import build_extensions
  File "/apache/vhosts/zope/Zope-2.2.2-src/inst/build_extensions.py", line
 96, in ?
make('lib','python')
  File "/apache/vhosts/zope/Zope-2.2.2-src/inst/do.py", line 135, in make
do('make')
  File "/apache/vhosts/zope/Zope-2.2.2-src/inst/do.py", line 104, in do
if i and picky: raise SystemError, i
 SystemError: 512
 [webmaster@thor Zope-2.2.2-src]$
 
 Thanks for your help.
 BenO
 
 


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




RE: [Zope] Still More Problems On the Install...

2000-11-19 Thread Ben Ocean

At 11:14 AM 11/19/2000 -0500, you wrote:
Are you sure you need the source version? The binary is easier to install.

Well, that *was* easier (now that I figured out which is which). First of 
all, apologies to all you hard-core techies for whom this is so easy, *but*...
I got as far as *./install* and all worked fine (on the binary). Now 
what??? I've combed the README and INSTALL texts looking for answers, been 
on the Web site, still can't figure out what I'm supposed to do next. 
Thanks again for your help.
BenO


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Still More Problems On the Install...

2000-11-19 Thread Michel Pelletier

Ben Ocean wrote:
 
 At 11:14 AM 11/19/2000 -0500, you wrote:
 Are you sure you need the source version? The binary is easier to install.
 
 Well, that *was* easier (now that I figured out which is which). First of
 all, apologies to all you hard-core techies for whom this is so easy, *but*...
 I got as far as *./install* and all worked fine (on the binary). Now
 what??? I've combed the README and INSTALL texts looking for answers, been
 on the Web site, still can't figure out what I'm supposed to do next.

All of your questions so far are answered in the Book.

http://www.zope.org/Members/michel/ZB/UsingZope.html

You've gotten to the section "Starting Zope on UNIX".

-Michel

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Still More Problems On the Install...

2000-11-19 Thread Ben Ocean

At 09:50 PM 11/19/2000 +, you wrote:
from INSTALL.txt:

   snip

 ./start

I apparently didn't mention in my last email that I *tried* ./start and it 
hung my computer. It got this far:

[webmaster@thor Zope-2.2.2-linux2-x86]$ ./start
--
2000-11-19T23:11:01 PROBLEM(100) ZServer Computing default hostname
--
2000-11-19T23:11:01 INFO(0) ZServer Medusa (V1.16.4.3) started at Sun Nov 
19 15:11:01 2000
 Hostname: thor.galaxynet.com
 Port:8080

--
2000-11-19T23:11:01 INFO(0) ZServer FTP server started at Sun Nov 19 
15:11:01 2000
 Authorizer:None
 Hostname: thor.galaxynet.com
 Port: 8021
--
2000-11-19T23:11:01 INFO(0) ZServer PCGI Server started at Sun Nov 19 
15:11:01 2000
 Unix socket: /apache/vhosts/Zope-2.2.2-linux2-x86/var/pcgi.soc
--
2000-11-19T23:11:01 INFO(0) ZServer Monitor Server (V1.8.4.1) started on 
port 8099


Then it hung. I did a ^C and it printed this:


òTraceback (innermost last):
   File "/apache/vhosts/Zope-2.2.2-linux2-x86/z2.py", line 719, in ?
 asyncore.loop()
   File "/apache/vhosts/Zope-2.2.2-linux2-x86/ZServer/medusa/asyncore.py", 
line 138, in loop
 poll_fun (timeout, map)
   File "/apache/vhosts/Zope-2.2.2-linux2-x86/ZServer/medusa/asyncore.py", 
line 66, in poll
 r,w,e = select.select (r,w,e, timeout)
KeyboardInterrupt
Traceback (innermost last):
   File "/apache/vhosts/Zope-2.2.2-linux2-x86/z2.py", line 537, in ?
 zdaemon.run(sys.argv, os.path.join(CLIENT_HOME, Zpid))
   File "/apache/vhosts/Zope-2.2.2-linux2-x86/lib/python/zdaemon.py", line 
208, in run
 p,s = os.waitpid(pid, 0)
KeyboardInterrupt
[webmaster@thor Zope-2.2.2-linux2-x86]$


It would appear (from my limited knowledge of programming) that it's having 
trouble finding that port. Now, for the record, I own the machine, and it's 
co-located (goes through a server called *galaxynet.com*). Again, your help 
is appreciated. Thank you in advance.
BenO


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Still More Problems On the Install...

2000-11-19 Thread Phil Harris

The result you got is what is supposed to happen.

By default Zope runs in 'debug' mode and doesn't unattach itself from the
console.

To make it unattach itself, basically making it run in the background, you
need to edit the start script and remove the '-D'.

See z2.py for more start options.

My start script looks something like this for instance.

"f:\zope\bin\python.exe" "f:\zope\z2.py" -X -w80 -f 21 %1 %2 %3 %4 %5 %6 %7
%8 %9

Which turns off all servers by default (-X), and then selectively turns on
http on port 80 (-w80) and ftp on port 21 (-f21).

hth

Phil
[EMAIL PROTECTED]

- Original Message -
From: "Ben Ocean" [EMAIL PROTECTED]
To: "seb bacon" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, November 19, 2000 11:16 PM
Subject: Re: [Zope] Still More Problems On the Install...


| At 09:50 PM 11/19/2000 +, you wrote:
| from INSTALL.txt:
| 
|snip
| 
|  ./start
|
| I apparently didn't mention in my last email that I *tried* ./start and it
| hung my computer. It got this far:
|
| [webmaster@thor Zope-2.2.2-linux2-x86]$ ./start
| --
| 2000-11-19T23:11:01 PROBLEM(100) ZServer Computing default hostname
| --
| 2000-11-19T23:11:01 INFO(0) ZServer Medusa (V1.16.4.3) started at Sun Nov
| 19 15:11:01 2000
|  Hostname: thor.galaxynet.com
|  Port:8080
|
| --
| 2000-11-19T23:11:01 INFO(0) ZServer FTP server started at Sun Nov 19
| 15:11:01 2000
|  Authorizer:None
|  Hostname: thor.galaxynet.com
|  Port: 8021
| --
| 2000-11-19T23:11:01 INFO(0) ZServer PCGI Server started at Sun Nov 19
| 15:11:01 2000
|  Unix socket: /apache/vhosts/Zope-2.2.2-linux2-x86/var/pcgi.soc
| --
| 2000-11-19T23:11:01 INFO(0) ZServer Monitor Server (V1.8.4.1) started on
| port 8099
|
|
| Then it hung. I did a ^C and it printed this:
|
|
| òTraceback (innermost last):
|File "/apache/vhosts/Zope-2.2.2-linux2-x86/z2.py", line 719, in ?
|  asyncore.loop()
|File "/apache/vhosts/Zope-2.2.2-linux2-x86/ZServer/medusa/asyncore.py",
| line 138, in loop
|  poll_fun (timeout, map)
|File "/apache/vhosts/Zope-2.2.2-linux2-x86/ZServer/medusa/asyncore.py",
| line 66, in poll
|  r,w,e = select.select (r,w,e, timeout)
| KeyboardInterrupt
| Traceback (innermost last):
|File "/apache/vhosts/Zope-2.2.2-linux2-x86/z2.py", line 537, in ?
|  zdaemon.run(sys.argv, os.path.join(CLIENT_HOME, Zpid))
|File "/apache/vhosts/Zope-2.2.2-linux2-x86/lib/python/zdaemon.py", line
| 208, in run
|  p,s = os.waitpid(pid, 0)
| KeyboardInterrupt
| [webmaster@thor Zope-2.2.2-linux2-x86]$
|
|
| It would appear (from my limited knowledge of programming) that it's
having
| trouble finding that port. Now, for the record, I own the machine, and
it's
| co-located (goes through a server called *galaxynet.com*). Again, your
help
| is appreciated. Thank you in advance.
| BenO
|
|
| ___
| Zope maillist  -  [EMAIL PROTECTED]
| http://lists.zope.org/mailman/listinfo/zope
| **   No cross posts or HTML encoding!  **
| (Related lists -
|  http://lists.zope.org/mailman/listinfo/zope-announce
|  http://lists.zope.org/mailman/listinfo/zope-dev )


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Still More Problems On the Install...

2000-11-18 Thread Ben Ocean

Hi;
Okay, I've untarred the distro. The instructions said to type in *python 
w_pcgi.py*. Did so and lots of stuff printed to screen, the last of which 
was *SystemError 512*. Should I worry about that? Then I thought I was 
supposed to type in *./start* but it didn't recognize that command. I'm 
running Python 2.2.2. Thanks for your help.
BenO 


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )