[Zope] - ZServer reactions?
Dave G
DAve@mail.netraven.com
Tue, 26 Jan 1999 22:04:57 -0800
My newbieness shows through. In a late night attack on Zope I had used the
wrong path to python when modifiing my Zope start script. I had been using
my Slackwware python all this time. I made the appropriate changes to the
ZServer start and now Zope is using the included Python, and Python is
loading the thread module. All is well in Zope land.
ZServer is working fine here, I have no pickle problems, no thread
problems, my old DB is working and online, all my products work as well.
Here are some thoughts:
I can (this is so cool...) open and save pages, browse the db, add and
delete pages from within BBedit. Very Cooool......... Thanks and kudos to
the DC wizzards. I'm sure the Alpha editor will work as well but I haven't
tried it.
Using ZServer I must now add the /Main/ path to my urls both as a user and
to manage. I haven't finished looking over the Medusa code yet to see why,
still printing script. (I still prefer to use paper and highliters....)
even if the /Main/ path is S.O.P. for the time being it's good to learn
the code, "read the source Luke..."
I played alot with it tonight, ZServer seems faster then ZopeHTTPServer,
it's stable, it works, I'm loving it. Now, how does this newbie make it
not run inside an xterm window? Start and stop scripts I can call from a
remote telnet would the rats a**. I'm guessing I need to send the output
to a log file correct?
Very good job guys, thanks a million.
DAve.
>I had this same problem. The thread module is an optional python module,
>so I had to recompile python, making sure to add thread support in
>(./configure --with-threads). After that it worked fine.
>
>I haven't had too much of a chance to play around with it, though I was
>able to get and put files using NcFTP just fine.
>
>On Mon, 25 Jan 1999, Dave G wrote:
>
>> I tried it!, sorry I waited three days,
>> </sheepish look> I know I was loudly asking for it to be done.
>></sheepish look>
>>
>> I installed everyhting, modified my start.py file, then created a
>> startMedusa file using the old start file. I did this mainly so I could
>> use the Zope compiled python or my own installed python.
>>
>> I get the following traceback
>>
>> Traceback innermost last
>> File "start.py". line 23 in ?
>> import zope_handler
>> File "zope_handler.py", line 17, in ?
>> import thread
>> Import error: no Module named thread
>>
>> This occurs with my Slackware python or Zope's python. Neither will load
>> the thread module.
>> I didn't file a bug report because this isn't really a ZServer problem, but
>> shouldn't the standard Zope distribution include the thread module? I'm
>> thinking I need to change my Python here.
>>
>>
>> Dave.
>>
>> "On the Plains of Hesitation bleach the bones of countless millions who, at
>> the Dawn of Victory, sat down to wait, and waiting -- died"
>>
>>
>>
>>
>>
"On the Plains of Hesitation bleach the bones of countless millions who, at
the Dawn of Victory, sat down to wait, and waiting -- died"