Re: Fwd: [Zope3-Users] SFTP , SSL

2006-06-22 Thread David Pratt
Hi Michael. There is DAV module in twisted in web2. I have not played 
with this yet but it was on my to do list. Are you using this in this 
development?


Many thanks
David


Michael Kerrin wrote:



I am currently have an ongoing side project to rewrite WebDAV support for 
zope, in order to get around some limitationsin the current implementation. 
This is nearly finsihed, and I will release it once I get the time.

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


Re: Re : [Zope3-Users] Using twisted spread client within zope

2006-06-22 Thread David Pratt
Hi Stephane. It is possible to use a spread client in zope. That said, I 
am not sure whether you are attempting to integrate the new pb 
(unstable) or currently stable pb. Either way, I cannot provide code for 
you but say that this is not trivial. It also requires conforming zope 
storages to interact with. Your methods need to interact with the zope's 
storages if you want zope to do its thing properly.


This adds significantly to the complexity since the storage internals of 
zope take some time to learn and significant time to understand well 
enough to modify and construct storages. Once you have tested a suitable 
client server, you will also need to modify zope's startup to include 
your client service as part of zope's multiservice.


My advice to you is that you may be better off with a web service since 
this can be configured easily in zope since you are not involving the 
storage layer directly. It is just part of you app.


Regards,
David

Stéphane Brault wrote:

Hi again,
 in order to call my twisted process I need to run the spread client within 
Zope,
 is this possible (maybe through a utility). I'm not sure this would integrate 
well
 with Zope mainly because of the twisted logic (deferred, ...), but I might be 
wrong
 (this wouldn't be the first time ;-)). Has someone had any experience with 
that ?
 
 Thanks,
 
 Stéphane


- Message d'origine 
De : Stéphane Brault [EMAIL PROTECTED]
À : user-list zope zope3-users@zope.org
Envoyé le : Mardi, 20 Juin 2006, 12h59mn 22s
Objet : [Zope3-Users] Using twisted spread client within zope

Hi,
 for my application I have to communicate with external web services,
 these communications have to be scheduled. That is why I use twisted processes
 to communicate with external servers and zope for the GUI side.
 I need to communicate from zope to the twisted processes, has anyone
 done that, especially with spread, or do I need to go through http ?
 
 Thanks,
 
 Stéphane



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



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


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


[Zope3-Users] Running Zope3 as a Windows XP Service

2006-06-22 Thread Daniel Roberson

How do you, or can you, run Zope 3 as a Windows XP service?
I only see or read about using the runzope command from the bin directory.
I want to register it as a Windows XP service.
Any suggestions???
begin:vcard
fn:Daniel Roberson
n:Roberson;Daniel
org:Robert Daniels, LLC
adr;dom:;;6514 Hillsboro Lane;Fort Wayne;Indiana;46835
email;internet:[EMAIL PROTECTED]
title:Founder and Managing Director
tel;work:260.486.1860
tel;fax:260.486.1860
tel;cell:260.750.3407
x-mozilla-html:TRUE
url:http://www.robertdaniels.net
version:2.1
end:vcard

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


Re: [Zope3-Users] Running Zope3 as a Windows XP Service

2006-06-22 Thread Tim Peters

[Daniel Roberson]

How do you, or can you, run Zope 3 as a Windows XP service?
I only see or read about using the runzope command from the bin directory.
I want to register it as a Windows XP service.
Any suggestions???


I don't know the current state of the Zope3 docs, but if you can't
find anything there, you could follow the last part of the developer
instructions for testing a Zope3 Windows installer before it's
released:

http://www.zope.org/DevHome/Wikis/DevSite/Projects/ComponentArchitecture/ZopeWindowsRelease

Look for Try running Zope as a Windows Service.  It's not hard, and
especially not the second time you do it ;-)
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Running Zope3 as a Windows XP Service

2006-06-22 Thread Tim Peters

I have tried to go the c:\zope\bin directory and run the
zopeservice.py.  It aborts with the message:

C:\zope\binzopeservice.py
Traceback (most recent call last):
  File C:\zope\bin\zopeservice.py, line 84, in ?
from zope.app.winservice.service import Service
  File C:\Python24\Lib\site-packages\zope\app\winservice\service.py,
line 20,
in ?
import pywintypes
ImportError: No module named pywintypes

C:\zope\bin

Any idea on where to get the missing file and where to install it


Ah, looks like you need to install the Python pywin32 extensions
first.  Any recent release should work fine:

   http://starship.python.net/crew/skippy/win32/Downloads.html

That's actually a link to the author's page, which asks you to go to
SourceForge.  I would have given you the SourceForge link directly,
except SourceForge is dead at the moment :-( so I couldn't verify the
link.

When SourceForge is up again, download a recent pywin32 installer and
run it.  Then try zopeservice.py again.  You shouldn't do that the way
you showed above, but the way shown in the instructions referenced
before:

   zopeservice.py --startup auto install

Then use the Windows Services GUI to start the service, or use

   zopeservice.py start

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


Re: [Zope3-Users] Trouble with browser sign on

2006-06-22 Thread Andreas Reuleaux
Just try again, I have no problems with encrypted passwords
(I am however using SHA-passwords, i. e. option 3).

As the result of your makeinstance call with say with instance
directory foo you get a principals file foo/etc/principals.zcml
There you will find an entry matching your username/password
combination, something like

   principal
   id=zope.manager
   title=Manager
   login=myusername
   password=mypasswd
   /

You can comment out this entry with
  
  !-- principal
   id=zope.manager
   title=Manager
   login=myusername
   password=mypasswd
   / --

and replace it with a different entry, try calling

  foo/bin/zpasswd

answer the question, you will get a new 

  principal .../

that you can cut/copypaste to your principals.zcml file,
then just restart Zope

-Andreas


On Thu, Jun 22, 2006 at 06:24:04PM -0400, Daniel Roberson wrote:
 After installing zope and python, I then changed to scripts directory.  
 I then ran mkzopeinstance and created the
 instance.  I had to tell it the instance directory to create and a 
 username and password.  It then asked if
 I wanted the password in text or encrypted format.  I selected number 2 
 encrypted option.
 
 When I when to the browser the entered the http://localhost:8080/manage 
 command it popped open the
 username and password dialog box.  I enter the correct username and 
 password but it would not log me on.
 
 I repeated the whole mkzopeinstance process but this time select a plain 
 text password option number 1.
 
 Then I was able to log in.
 
 What do I need to do to be able to use an encrypted password with a 
 browser
 
 
 !DSPAM:449b1bbe311396561975923!

 begin:vcard
 fn:Daniel Roberson
 n:Roberson;Daniel
 org:Robert Daniels, LLC
 adr;dom:;;6514 Hillsboro Lane;Fort Wayne;Indiana;46835
 email;internet:[EMAIL PROTECTED]
 title:Founder and Managing Director
 tel;work:260.486.1860
 tel;fax:260.486.1860
 tel;cell:260.750.3407
 x-mozilla-html:TRUE
 url:http://www.robertdaniels.net
 version:2.1
 end:vcard
 

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

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


[Zope3-Users] ZopeTop Skin not working

2006-06-22 Thread Daniel Roberson
OK, I got the http://localhost:8080/manage working and I am seeing the 
ZMI screen.  In the Zope 3 Develop's Handbook by
Stephan Richter page 16 is says that if I type in 
http://localhost:8080/++skin++ZopeTop/manage I will see a new skin ZMI

screen.  All I get is page cannot be displayed in the brower.

Any suggestions, is the book wrong???
begin:vcard
fn:Daniel Roberson
n:Roberson;Daniel
org:Robert Daniels, LLC
adr;dom:;;6514 Hillsboro Lane;Fort Wayne;Indiana;46835
email;internet:[EMAIL PROTECTED]
title:Founder and Managing Director
tel;work:260.486.1860
tel;fax:260.486.1860
tel;cell:260.750.3407
x-mozilla-html:TRUE
url:http://www.robertdaniels.net
version:2.1
end:vcard

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


[Zope3-Users] Expression not working in Zope3

2006-06-22 Thread Daniel Roberson
OK, I added a Folder and called it MyFolder in the ZMI and then gave to 
folder a title called Some Cool Title.
Then I created a ZPT page in the folder and enter some html and tal 
script as directed in the Zope 3
Develop's Handbook page 18.  I then clicked to open the ZPT and did a 
preview.


The page displays but the tal line which reads:
h1 tal:content=context/zope:titletitle here/h1 and is to display 
the title of the folder Some Cool Title

in place of title here does not display and there is no error code given.

Any suggestions as to why the tal command is not working???
begin:vcard
fn:Daniel Roberson
n:Roberson;Daniel
org:Robert Daniels, LLC
adr;dom:;;6514 Hillsboro Lane;Fort Wayne;Indiana;46835
email;internet:[EMAIL PROTECTED]
title:Founder and Managing Director
tel;work:260.486.1860
tel;fax:260.486.1860
tel;cell:260.750.3407
x-mozilla-html:TRUE
url:http://www.robertdaniels.net
version:2.1
end:vcard

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