Re: [Zope] FTP server problem

2009-03-25 Thread Dieter Maurer
Gareth Allen wrote at 2009-3-23 12:27 +0200:
>I'm experiencing a strange problem. I've enabled FTP access to my Zope 
>instance, but when I try and login it throws an exception:
>
>2009-03-23T11:14:42 INFO ZServer Successful login.
>--
>2009-03-23T11:15:07 ERROR ZServer uncaptured python exception, closing 
>channel 0x2a9c0ecd40> (exceptions.AttributeError:'NoneType' object has no 
>attribute '_fileno' 

Looks like the FTP server implementation is broken.

>[/home/zope/Python-2.4.4/lib/python2.4/asyncore.py|read|69] 
>[/home/zope/Python-2.4.4/lib/python2.4/asyncore.py|handle_read_event|391] 
>[/home/zope/Python-2.4.4/lib/python2.4/asynchat.py|handle_read|89] 
>[/home/zope/Python-2.4.4/lib/python2.4/asyncore.py|recv|347] 
>[/home/zope/Python-2.4.4/lib/python2.4/asynchat.py|handle_close|156] 
>[/home/zope/instances/www.emss.co.za/parts/zope2/lib/python/ZServer/medusa/ftp_server.py|close|181]
> 
>[/home/zope/instances/www.emss.co.za/parts/zope2/lib/python/ZServer/medusa/ftp_server.py|close|906]
> 
>[/home/zope/Python-2.4.4/lib/python2.4/asyncore.py|close|360] 
>[/home/zope/Python-2.4.4/lib/python2.4/asyncore.py|del_channel|248] 
>[/home/zope/Python-2.4.4/lib/python2.4/asyncore.py|__getattr__|366])

The problem is probably in "...ZServer/medusa/ftp_server.py|close".
I expect that the order of things is not right or that something redundant
is done.

A ZServer puts a channel object into 'asyncore's service map.
Each element in this map must have a 'fileno' method that tells
'asyncore' which file number is associated.

The exception above happens during closing the channel.
"ftp_server.close" probably calls the channel's 'close' which
calls 'del_channel' which accesses an object that meanwhile in "None"
while it is still expected to be an object with a '_fileno' attribute.



-- 
Dieter
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] FTP

2008-02-07 Thread Trevor Johnson
No, it didn´t work. So I decided to screw around and try an url instead of
the ip. It liked that. Mabye it didn´t clear pound´s checks, or possibly a
problem with vhm.
Thanks,
Trevor

On Feb 7, 2008 10:51 AM, Andreas Jung <[EMAIL PROTECTED]> wrote:

>
>
> --On 7. Februar 2008 09:57:11 -0400 Trevor Johnson <[EMAIL PROTECTED]
> >
> wrote:
>
> > I have checked everything. Even tried connecting to a different Zope
> > instance. Same problem. I just built out this new server. It says the
> > authentication has failed. I am going in with the IP address and correct
> > port addresses (8021, etc)
>
>
> I have strong doubts. By default Zope will authenticate *any*
> username-password combination when logging in through FTP. This means
> authentication
> will *always* succeed. The real validation of your credentials against the
> current  object//folder will happen at the moment you access the object
> but not at login time.
>
> -aj
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] FTP

2008-02-07 Thread Andreas Jung



--On 7. Februar 2008 09:57:11 -0400 Trevor Johnson <[EMAIL PROTECTED]> 
wrote:



I have checked everything. Even tried connecting to a different Zope
instance. Same problem. I just built out this new server. It says the
authentication has failed. I am going in with the IP address and correct
port addresses (8021, etc)



I have strong doubts. By default Zope will authenticate *any* 
username-password combination when logging in through FTP. This means 
authentication
will *always* succeed. The real validation of your credentials against the 
current  object//folder will happen at the moment you access the object

but not at login time.

-aj

pgpKcy9qdBZkH.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] FTP

2008-02-07 Thread Trevor Johnson
I have checked everything. Even tried connecting to a different Zope
instance. Same problem. I just built out this new server. It says the
authentication has failed. I am going in with the IP address and correct
port addresses (8021, etc)
TIA,
Trevor

On Feb 7, 2008 9:52 AM, Andreas Jung <[EMAIL PROTECTED]> wrote:

>
>
> --On 7. Februar 2008 09:30:01 -0400 Trevor Johnson <[EMAIL PROTECTED]
> >
> wrote:
>
> > Hi;
> > For some reason, I cannot ftp into my zope instance. This from zope.conf
> :
> >
> > 
> >   # valid key is "address"
> >   address 8021
> > 
>
>
> "cannot ftp" means what exactly? You can't login? You can't connect?
> You're really pointing your FTP client to the dedicated FTP port of Zope
> and not using the standard FTP port? Trible check!
>
> -aj
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] FTP

2008-02-07 Thread Andreas Jung



--On 7. Februar 2008 09:30:01 -0400 Trevor Johnson <[EMAIL PROTECTED]> 
wrote:



Hi;
For some reason, I cannot ftp into my zope instance. This from zope.conf:


  # valid key is "address"
  address 8021




"cannot ftp" means what exactly? You can't login? You can't connect?
You're really pointing your FTP client to the dedicated FTP port of Zope 
and not using the standard FTP port? Trible check!


-aj

pgpdakmiUYOis.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] FTP acquisition problem with Zope 2.10.1

2007-01-16 Thread Marcus Schopen
Am Montag, den 15.01.2007, 16:37 +0100 schrieb Andreas Jung:
> Lennart fixed this bug today (for the next 2.10.2 release).

Great job!

Thanks!

-- 
"Mom knows EVERYTHING" -Calvin

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


Re: [Zope] FTP acquisition problem with Zope 2.10.1

2007-01-15 Thread Andreas Jung

Lennart fixed this bug today (for the next 2.10.2 release).

Andreas

--On 10. Januar 2007 12:39:07 +0100 Marcus Schopen <[EMAIL PROTECTED]> 
wrote:



Hi,

I've installed a fresh Zope 2.10.1 and noticed a strange behaviour when
connectiong via FTP:

Through the ZMI I've created a Folder /A with a DTMLDocument "a" and an
empty Subfolder B:

/
-/A
---a
-/B

If I connect via FTP to the server and trying to upload an ASCII file
"a" to the folder /A/B it overwrites the "a" object in the parent A
folder and does not create a new "a" object in the /A/B folder. An old
2.7.3 Zope doesn't show this acquisition behavior.

Cheers,
Marcus



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




--
ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376
E-Publishing, Python, Zope & Plone development, Consulting


pgpZfGJ6Miwei.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


RE: [Zope] FTP acquisition problem with Zope 2.10.1

2007-01-13 Thread Andreas Jung



--On 12. Januar 2007 18:09:03 +0100 Andreas Jung <[EMAIL PROTECTED]> wrote:




--On 11. Januar 2007 22:07:13 +0100 Dieter Maurer <[EMAIL PROTECTED]>
wrote:


Andreas Jung wrote at 2007-1-11 12:36 +0100:

...
Patches are welcome. I am not sure if I should consider this bug as a
show stopper. Especially I have no idea right now how to fix the
problem.


It worked in recent (2.9.) versions correctly. This means,
the problem has to do with the recent changes done to ZPublisher
traversal to make it more Five friendly.

Maybe, you can contact the author of these changes?



See the followups to




Unfortunately I could not find a solution so far to fix the bug
and I am giving up at this point. Patches are welcome. Zope 2.10.2
will be released by tomorrow with this open bug.

Andreas



pgpwzmY0RZjD6.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


RE: [Zope] FTP acquisition problem with Zope 2.10.1

2007-01-12 Thread Andreas Jung



--On 11. Januar 2007 22:07:13 +0100 Dieter Maurer <[EMAIL PROTECTED]> 
wrote:



Andreas Jung wrote at 2007-1-11 12:36 +0100:

...
Patches are welcome. I am not sure if I should consider this bug as a
show stopper. Especially I have no idea right now how to fix the problem.


It worked in recent (2.9.) versions correctly. This means,
the problem has to do with the recent changes done to ZPublisher
traversal to make it more Five friendly.

Maybe, you can contact the author of these changes?



See the followups to



-aj

pgppxs756xNz4.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


RE: [Zope] FTP acquisition problem with Zope 2.10.1

2007-01-11 Thread Marcus Schopen
Am Donnerstag, den 11.01.2007, 22:07 +0100 schrieb Dieter Maurer:
> Andreas Jung wrote at 2007-1-11 12:36 +0100:
> > ...
> >Patches are welcome. I am not sure if I should consider this bug as a show
> >stopper. Especially I have no idea right now how to fix the problem.
> 
> It worked in recent (2.9.) versions correctly. This means,
> the problem has to do with the recent changes done to ZPublisher
> traversal to make it more Five friendly.
> 
> Maybe, you can contact the author of these changes?
> 

Philipp told me to report this to the bug collector:

  http://www.zope.org/Collectors/Zope/2261

Marcus


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


RE: [Zope] FTP acquisition problem with Zope 2.10.1

2007-01-11 Thread Dieter Maurer
Andreas Jung wrote at 2007-1-11 12:36 +0100:
> ...
>Patches are welcome. I am not sure if I should consider this bug as a show
>stopper. Especially I have no idea right now how to fix the problem.

It worked in recent (2.9.) versions correctly. This means,
the problem has to do with the recent changes done to ZPublisher
traversal to make it more Five friendly.

Maybe, you can contact the author of these changes?



-- 
Dieter
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


RE: [Zope] FTP acquisition problem with Zope 2.10.1

2007-01-11 Thread Andreas Jung



--On 11. Januar 2007 12:32:01 +0100 Christian Steinhauer 
<[EMAIL PROTECTED]> wrote:






Would someone who can reproduce this please file a bug report
in the collector?


yes would be nice to patch that in 2.10.2. I think andreas want to
release the new version next week. maybe we can wait with the release.



Patches are welcome. I am not sure if I should consider this bug as a show
stopper. Especially I have no idea right now how to fix the problem.

Andreas

--
ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376
E-Publishing, Python, Zope & Plone development, Consulting


pgpJmXsaaFtkQ.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


RE: [Zope] FTP acquisition problem with Zope 2.10.1

2007-01-11 Thread Christian Steinhauer


>>Would someone who can reproduce this please file a bug report 
>>in the collector?

yes would be nice to patch that in 2.10.2. I think andreas want to
release the new version next week. maybe we can wait with the release. 

christian
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] FTP acquisition problem with Zope 2.10.1

2007-01-10 Thread Chris Withers

Marcus Schopen wrote:

I've installed a fresh Zope 2.10.1 and noticed a strange behaviour when
connectiong via FTP:

Through the ZMI I've created a Folder /A with a DTMLDocument "a" and an
empty Subfolder B:

/
-/A
---a
-/B

If I connect via FTP to the server and trying to upload an ASCII file
"a" to the folder /A/B it overwrites the "a" object in the parent A
folder and does not create a new "a" object in the /A/B folder. An old
2.7.3 Zope doesn't show this acquisition behavior.


Just set up a fresh 2.9.6 Zope, which does not show this strange
behavior!


Um, yeah, right... maybe this should actually get fixed for 2.10 instead?

Would someone who can reproduce this please file a bug report in the 
collector?


cheers,

Chris

--
Simplistix - Content Management, Zope & Python Consulting
   - http://www.simplistix.co.uk

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] FTP acquisition problem with Zope 2.10.1

2007-01-10 Thread Marcus Schopen
Hi,

Am Mittwoch, den 10.01.2007, 12:39 +0100 schrieb Marcus Schopen:
> I've installed a fresh Zope 2.10.1 and noticed a strange behaviour when
> connectiong via FTP:
> 
> Through the ZMI I've created a Folder /A with a DTMLDocument "a" and an
> empty Subfolder B:
> 
> /
> -/A
> ---a
> -/B
> 
> If I connect via FTP to the server and trying to upload an ASCII file
> "a" to the folder /A/B it overwrites the "a" object in the parent A
> folder and does not create a new "a" object in the /A/B folder. An old
> 2.7.3 Zope doesn't show this acquisition behavior.

Just set up a fresh 2.9.6 Zope, which does not show this strange
behavior!

Thanks,
Marcus


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


Re: [Zope] FTP and Firewall

2006-07-31 Thread robert rottermann
Dan Gaibel wrote:
> Hi,
> 
> I'm using Zope 2.8.6 with Python 2.3.5 and have found that when I FTP
> into zope, I am unable to list the contents of the directory I am in. It
> seems that logging in is no problem. Could this be a problem with my
> firewall? Has anyone seen this before? We are using port 8021 rather
> than the usual port 21. Could this be the issue?
> 
> Any help is appreciated.
> 
> Thanks!
> 
> Dan
> ___
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
> 
on suse you can configure the firewall to allow negotiating for the second port.
I do not remember the parameter but could look it up if you wish.
robert
begin:vcard
fn:robert  rottermann
n:rottermann;robert 
email;internet:[EMAIL PROTECTED]
tel;work:031 333 10 20
tel;fax:031 333 10 23
tel;home:031 333 36 03
x-mozilla-html:FALSE
version:2.1
end:vcard

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


Re: [Zope] FTP and Firewall

2006-07-30 Thread Andreas Jung



--On 31. Juli 2006 01:16:21 -0400 Paul Winkler <[EMAIL PROTECTED]> wrote:


Yep.  But IIRC, passive mode won't help if the firewall is doing NAT.
I had the same problem - login seems to work, ls fails.

Blame FTP. It just wasn't designed for a world that includes NAT.


FTP was designed much earlier before NAT appeared in the world :-)


If you can arrange to use WebDAV instead, that should work fine.


Jup.

-aj

pgpA1BomAoJjp.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] FTP and Firewall

2006-07-30 Thread Paul Winkler
On Mon, Jul 31, 2006 at 06:34:16AM +0200, Andreas Jung wrote:
> 
> 
> --On 31. Juli 2006 00:28:59 -0400 Dan Gaibel <[EMAIL PROTECTED]> wrote:
> 
> >Hi,
> >
> >I'm using Zope 2.8.6 with Python 2.3.5 and have found that when I FTP
> >into zope, I am unable to list the contents of the directory I am in.  It
> >seems that logging in is no problem. Could this be a problem with  my
> >firewall? Has anyone seen this before? We are using port 8021  rather
> >than the usual port 21. Could this be the issue?
> >
> >
> 
> Try to FTP in passive mode. FTP usually requires *two* ports to be open 
> 8021 (standard) and one that can't be determined usually (by the end-user).

Yep.  But IIRC, passive mode won't help if the firewall is doing NAT.
I had the same problem - login seems to work, ls fails.

Blame FTP. It just wasn't designed for a world that includes NAT.

If you can arrange to use WebDAV instead, that should work fine.

-- 

Paul Winkler
http://www.slinkp.com
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] FTP and Firewall

2006-07-30 Thread Andreas Jung



--On 31. Juli 2006 00:28:59 -0400 Dan Gaibel <[EMAIL PROTECTED]> wrote:


Hi,

I'm using Zope 2.8.6 with Python 2.3.5 and have found that when I FTP
into zope, I am unable to list the contents of the directory I am in.  It
seems that logging in is no problem. Could this be a problem with  my
firewall? Has anyone seen this before? We are using port 8021  rather
than the usual port 21. Could this be the issue?




Try to FTP in passive mode. FTP usually requires *two* ports to be open 
8021 (standard) and one that can't be determined usually (by the end-user).


-aj

pgpDociwjsD6o.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] ftp server deadlocking zope with DeadlockDebugger

2006-05-08 Thread Dieter Maurer
Michael Kaplan wrote at 2006-5-6 10:23 +0200:
> ...
>>Stays the part above (maybe partially) accross several
>>"DeadlockDebugger" invocations (or changes the tail of your
>>traceback continously)?
>>
>>In this case, there would seem to be some infinite loop caused
>>by the AT "ReferenceEngine" (I like it).
>>
>>  
>>
>As you supposed the tail changes if I invoke DeadlockDebugger several times.
>Here are 3 more examples besides the one I sent before:

> ... examples stripped ...

There is a known problem in "LinguaPlone".
Usually, it is described by: Zope takes almost all CPU time.
Maybe, what you see is an instance of thos bug.

Alternatively, something may be wrong with "getTranslations".

Obviously, the problem occurs still in "BaseRequest.traverse".
This means, "manage_FTPlist" has not even started and you
do not have an FTP problem. But a problem with the folder
you try to FTP into. That translations are maintained in
references is a bit suspicious.


Check whether the "LinguaPlone" bug hits you.


If this is not the case, then debugging "getTranslations"
is probably the most efficient way to locate the problem.

-- 
Dieter
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] ftp server deadlocking zope with DeadlockDebugger

2006-05-06 Thread Michael Kaplan

Dieter Maurer wrote:


Michael Kaplan wrote at 2006-5-5 16:09 +0200:
 


...
File "/home/www/Zope-2.8.5-0/Products/Archetypes/ReferenceEngine.py", line 583, 
in getReferences
  return self._resolveBrains(brains)
File "/home/www/Zope-2.8.5-0/Products/Archetypes/ReferenceEngine.py", line 716, 
in _uidFor
  return uuid, obj
File "/home/www/Zope-2.8.5-0/Products/Archetypes/ReferenceEngine.py", line 634, 
in isReferenceable
  return (IReferenceable.isImplementedBy(object) or
File 
"/usr/local/mypackages/Zope-2.8.5-final/lib/python/Interface/_InterfaceClass.py",
 line 111, in isImplementedBy
  return visitImplements(
File 
"/usr/local/mypackages/Zope-2.8.5-final/lib/python/Interface/Implements.py", 
line 86, in visitImplements
  return r
File 
"/usr/local/mypackages/Zope-2.8.5-final/lib/python/Interface/Implements.py", 
line 86, in visitImplements
  return r
File 
"/usr/local/mypackages/Zope-2.8.5-final/lib/python/Interface/Implements.py", 
line 86, in visitImplements
  return r
File 
"/usr/local/mypackages/Zope-2.8.5-final/lib/python/Interface/Implements.py", 
line 81, in visitImplements
  elif implements_class == TupleType or type(implements) is TupleType:

Could anybody explain what's wrong here and how to repair it?
   



Stays the part above (maybe partially) accross several
"DeadlockDebugger" invocations (or changes the tail of your
traceback continously)?

In this case, there would seem to be some infinite loop caused
by the AT "ReferenceEngine" (I like it).

 


As you supposed the tail changes if I invoke DeadlockDebugger several times.
Here are 3 more examples besides the one I sent before:

Thread 10 (GET /dirname/manage_FTPlist):
 File 
"/usr/local/mypackages/Zope-2.8.5-final/lib/python/ZServer/PubCore/ZServerPublisher.py", 
line 23, in __init__

   response=response)
 File 
"/usr/local/mypackages/Zope-2.8.5-final/lib/python/ZPublisher/Publish.py", 
line 386, in publish_module

   environ, debug, request, response)
 File 
"/usr/local/mypackages/Zope-2.8.5-final/lib/python/ZPublisher/Publish.py", 
line 187, in publish_module_standard

   response = publish(request, module_name, after_list, debug=debug)
 File 
"/home/www/Zope-2.8.5-0/Products/PlacelessTranslationService/PatchStringIO.py", 
line 51, in new_publish

   x = Publish.old_publish(request, module_name, after_list, debug)
 File 
"/usr/local/mypackages/Zope-2.8.5-final/lib/python/ZPublisher/Publish.py", 
line 104, in publish

   object=request.traverse(path, validated_hook=validated_hook)
 File 
"/usr/local/mypackages/Zope-2.8.5-final/lib/python/ZPublisher/BaseRequest.py", 
line 272, in traverse

   bpth(object, self)
 File "/home/www/Zope-2.8.5-0/Products/LinguaPlone/I18NBaseObject.py", 
line 421, in __before_publishing_traverse__

   stack.append('not_available_lang')
 File "/home/www/Zope-2.8.5-0/Products/LinguaPlone/I18NBaseObject.py", 
line 150, in getTranslationLanguages

   return self.getTranslations().keys()
 File "/home/www/Zope-2.8.5-0/Products/LinguaPlone/I18NBaseObject.py", 
line 176, in getTranslations

   return self.getCanonical().getTranslations()
 File "/home/www/Zope-2.8.5-0/Products/LinguaPlone/I18NBaseObject.py", 
line 196, in isCanonical

   return not bool(self.getReferenceImpl(config.RELATIONSHIP))
 File "/home/www/Zope-2.8.5-0/Products/Archetypes/Referenceable.py", 
line 105, in getReferenceImpl

   return refs
 File "/home/www/Zope-2.8.5-0/Products/Archetypes/ReferenceEngine.py", 
line 577, in getReferences

   if targetObject:


Thread 10 (GET /dirname/manage_FTPlist):
 File 
"/usr/local/mypackages/Zope-2.8.5-final/lib/python/ZServer/PubCore/ZServerPublisher.py", 
line 23, in __init__

   response=response)
 File 
"/usr/local/mypackages/Zope-2.8.5-final/lib/python/ZPublisher/Publish.py", 
line 386, in publish_module

   environ, debug, request, response)
 File 
"/usr/local/mypackages/Zope-2.8.5-final/lib/python/ZPublisher/Publish.py", 
line 187, in publish_module_standard

   response = publish(request, module_name, after_list, debug=debug)
 File 
"/home/www/Zope-2.8.5-0/Products/PlacelessTranslationService/PatchStringIO.py", 
line 51, in new_publish

   x = Publish.old_publish(request, module_name, after_list, debug)
 File 
"/usr/local/mypackages/Zope-2.8.5-final/lib/python/ZPublisher/Publish.py", 
line 104, in publish

   object=request.traverse(path, validated_hook=validated_hook)
 File 
"/usr/local/mypackages/Zope-2.8.5-final/lib/python/ZPublisher/BaseRequest.py", 
line 272, in traverse

   bpth(object, self)
 File "/home/www/Zope-2.8.5-0/Products/LinguaPlone/I18NBaseObject.py", 
line 421, in __before_publishing_traverse__

   stack.append('not_available_lang')
 File "/home/www/Zope-2.8.5-0/Products/LinguaPlone/I18NBaseObject.py", 
line 150, in getTranslationLanguages

   return self.getTranslations().keys()
 File "/home/www/Zope-2.8.5-0/Products/LinguaPlone/I18NBaseObject.py", 
line 176, in getTranslations

   return self.getCanonical().getTranslations()
 File "/home/www/Zope-2.8.5-0/Products/LinguaPlone/I18NBa

Re: [Zope] ftp server deadlocking zope with DeadlockDebugger

2006-05-05 Thread Dieter Maurer
Michael Kaplan wrote at 2006-5-5 16:09 +0200:
> ...
>  File "/home/www/Zope-2.8.5-0/Products/Archetypes/ReferenceEngine.py", line 
> 583, in getReferences
>return self._resolveBrains(brains)
>  File "/home/www/Zope-2.8.5-0/Products/Archetypes/ReferenceEngine.py", line 
> 716, in _uidFor
>return uuid, obj
>  File "/home/www/Zope-2.8.5-0/Products/Archetypes/ReferenceEngine.py", line 
> 634, in isReferenceable
>return (IReferenceable.isImplementedBy(object) or
>  File 
> "/usr/local/mypackages/Zope-2.8.5-final/lib/python/Interface/_InterfaceClass.py",
>  line 111, in isImplementedBy
>return visitImplements(
>  File 
> "/usr/local/mypackages/Zope-2.8.5-final/lib/python/Interface/Implements.py", 
> line 86, in visitImplements
>return r
>  File 
> "/usr/local/mypackages/Zope-2.8.5-final/lib/python/Interface/Implements.py", 
> line 86, in visitImplements
>return r
>  File 
> "/usr/local/mypackages/Zope-2.8.5-final/lib/python/Interface/Implements.py", 
> line 86, in visitImplements
>return r
>  File 
> "/usr/local/mypackages/Zope-2.8.5-final/lib/python/Interface/Implements.py", 
> line 81, in visitImplements
>elif implements_class == TupleType or type(implements) is TupleType:
>
>Could anybody explain what's wrong here and how to repair it?

Stays the part above (maybe partially) accross several
"DeadlockDebugger" invocations (or changes the tail of your
traceback continously)?

In this case, there would seem to be some infinite loop caused
by the AT "ReferenceEngine" (I like it).

-- 
Dieter
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] ftp server deadlocking zope

2006-04-23 Thread Andreas Jung



--On 23. April 2006 18:54:31 +0200 Michael Kaplan <[EMAIL PROTECTED]> wrote:


Hello,

I have a problem with the Medusa FTP server deadlocking Zope completely.

I'm using Zope 2.8.5-final, python 2.3.5, sunos5 with standard port
settings and
port-base 1500, e.g.


SunOS5 is *very* old. Can you reproduce that on a decent Solaris version?

-aj

--
ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376
E-Publishing, Python, Zope & Plone development, Consulting


pgpXYQmlMzIUB.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] FTP rights problem

2005-12-25 Thread Chris Withers

Martin Koekenberg wrote:
When a user connects with FTP to a Zope folder with only rights on that 
subfolder he can't create a folder or delete files. He has the Manager role 
and all the rights.


If you can get a small, reproducible test case, it's a bug. Stick it in 
the collector...


Chris

--
Simplistix - Content Management, Zope & Python Consulting
   - http://www.simplistix.co.uk

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] FTP or WebDav creates empty files

2005-10-21 Thread Dieter Maurer
D Washburn wrote at 2005-10-21 10:03 -0400:
>I have a desktop program that develops DTML pages for a ZOPE/PLONE 
>website. I planned to upload them via FTP or WebDav.
>
>When they arrive they are empty.

This usually works.

Are you sure, your files do not contain bugs?
Can you upload the same file via HTTP without problems?

The so called "safety belt" may also cause problems --
the safety belt is there to protect against overwriting
a modified document. CMF had a bug that in case of a differing
safety belt, the target object was cleared.

-- 
Dieter
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] FTP Failures on new install

2005-08-04 Thread Dieter Maurer
Steve McMahon wrote at 2005-8-4 08:28 -0700:
>I've having trouble getting FTP working on a new Zope install. All other 
>Zope functions appear normal, but I'm unable to transfer files _to_ Zope 
>via FTP. I can use FTP to download files from the Zope server and can 
>create new directories on the server. But attempts to transfer files to 
>the server all result in "426 Error creating file" errors.
>
>> ftp> put test.html
>> 200 PORT command successful.
>> 150 Opening ASCII connection for test.html
>> 426 Error creating file.

Visit your "error_log" object (in Zope's "Root Folder" (ZMI!))
and see what it tells you about the problem...

-- 
Dieter
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] FTP Woes and no answer

2001-01-12 Thread Luciano Ramalho

Are you using a recent version of Zope, where superusers cannot own
objects? That could be the explanation...

LR

"J. Atwood" wrote:
> 
> I have FTP'd into Zope before. No problems but all of a sudden it
> seems like neither I nor the people I am working with can FTP in with
> either a manager or superuser account. I have tried to change the
> port and all sorts of other things but on a few different
> installations with different clients from different machines and OSes
> it just does list any of the files in the directory.
> 
> Has anyone experienced this? Know a work around?
> 
> J
> 
> ___
> 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] FTP Woes and no answer

2001-01-12 Thread Jon Prettyman

Try using PASSIVE mode for your FTP client.  Did someone perchance put
a firewall up between you and your server?

-jon

"J. Atwood" <[EMAIL PROTECTED]> writes:

> I have FTP'd into Zope before. No problems but all of a sudden it
> seems like neither I nor the people I am working with can FTP in with
> either a manager or superuser account. I have tried to change the port
> and all sorts of other things but on a few different installations
> with different clients from different machines and OSes it just does
> list any of the files in the directory.
> 
> 
> Has anyone experienced this? Know a work around?
> 
> J
> 
> ___
> 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] ftp ZSQL Methods

2000-12-20 Thread Olaf Zanger

thanks a lot for help

unfortunately i don't know how to patch,
would you mind sending me a short line for this one?

thanks in before

olaf

[Does anyone read the Collector?]
now i know that there is one -- i am green in terms of open source --
but i try hard :-) 

-- 
soli-con Engineering Zanger
Dipl.-Ing. (FH) Olaf Zanger Nusch
Lorrainestrasse 23
3013 Bern / Switzerland
Fon: +41-31-332 9782
Mob: +41-76-572 9782
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
http://www.soli-con.com

begin:vcard 
n:Zanger;Olaf Marc
tel;cell:+41-76-572 9782
tel;work:+41-31-332 9782
x-mozilla-html:FALSE
url:www.soli-con.com
org:soli-con Engineering Zanger
adr:;;Lorrainestrasse 23;Bern;BE;3013;Switzerland
version:2.1
email;internet:[EMAIL PROTECTED]
title:Dipl.-Ing.
note;quoted-printable:IT-Consulting=0D=0AEmbedded Systems=0D=0AEnergy Systems=0D=0AOpen Source Solutions=0D=0A
x-mozilla-cpt:;-32176
fn:Olaf Zanger
end:vcard



Re: [Zope] ftp ZSQL Methods

2000-12-20 Thread Stephane Bortzmeyer

On Wednesday 20 December 2000, at 7 h 47, the keyboard of Olaf Zanger 
<[EMAIL PROTECTED]> wrote:

> is it possible to externally edit ZSQL Methods?

Not with out-of-the-box Zope :-( A friendly Zopatista sent me a patch 
 which works well and which 
is submitted to the Collector . [Does 
anyone read the Collector?]




___
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] FTP for ZClass hierarchies

2000-12-07 Thread M. Adam Kendall

> > Does this let you write the methods back?
> 
> I was just able to change a DTML method in a ZClass (after patching
> a single indentation error).  Adam, you rock!

Yeah, I know ;)
Only took me two days of playing around and figuring out
what objects got called where and realizing that I had to
override manage_FTPstat for most of the objects involved.

The latest and greatest patches can be found here:
 http://www.zope.org/Members/akendall/zclassftp

This has most of my updates since posting the original
patch earlier today including some of the security settings
I was missing earlier.  Hope everyone can test the hell out
of this and make sure I didn't really hose something.

Maybe this could be looked at by the DC folks and included
in the next test version release of Zope?  Just a thought ;)

Adam


___
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] FTP for ZClass hierarchies

2000-12-07 Thread Tres Seaver

Robin Becker <[EMAIL PROTECTED]> wrote:
> 
> M. Adam Kendall <[EMAIL PROTECTED]> writes
> >In the past few days I have been working on a patch that will
> >let you edit ZClasses via FTP without the need for typing in
> >actual pathnames to get to the methods (mainly so I can edit
> >ZClasses with HTML-Kit).  Strangely enough, even with the 
> >modifications, I see this same thing.
> >
> >I've included this patch in case anyone wants to play around
> >with it.  It's not the greatest, and definitely needs to be
> >modified (some of the security mechanisms are bound to be 
> >broken).  But it is a start anyway. ;)  
>
> Does this let you write the methods back?

I was just able to change a DTML method in a ZClass (after patching
a single indentation error).  Adam, you rock!

I am attaching my emended patch.

Tres.
-- 
===
Tres Seaver[EMAIL PROTECTED]
Digital Creations "Zope Dealers"   http://www.zope.org

Index: Method.py
===
RCS file: /cvs-repository/Zope2/lib/python/ZClasses/Method.py,v
retrieving revision 1.18
diff -u -r1.18 Method.py
--- Method.py   2000/08/14 14:34:23 1.18
+++ Method.py   2000/12/08 03:43:29
@@ -92,6 +92,8 @@
 import ZClassOwner
 from AccessControl.PermissionMapping import aqwrap, PermissionMapper
 
+import marshal
+
 _marker=[]
 class ZClassMethodsSheet(
 OFS.PropertySheets.PropertySheet,
@@ -104,6 +106,13 @@
 icon='p_/Methods_icon'
 
 def tpURL(self): return 'propertysheets/methods'
+
+def manage_FTPstat(self,REQUEST):
+"Psuedo stat used for FTP listings"
+mode=004|0770
+mtime=self.bobobase_modification_time().timeTime()
+owner=group='Zope'
+return marshal.dumps((mode,0,0,1,owner,group,0,mtime,mtime,mtime))
 
 ##
 # Hijinks to let us create factories and classes within classes.
Index: ZClass.py
===
RCS file: /cvs-repository/Zope2/lib/python/ZClasses/ZClass.py,v
retrieving revision 1.50
diff -u -r1.50 ZClass.py
--- ZClass.py   2000/11/01 22:59:34 1.50
+++ ZClass.py   2000/12/08 03:43:31
@@ -91,8 +91,9 @@
 from ExtensionClass import Base
 from App.FactoryDispatcher import FactoryDispatcher
 from ComputedAttribute import ComputedAttribute
-import OFS.PropertySheets
 
+import marshal
+
 if not hasattr(Products, 'meta_types'):
 Products.meta_types=()
 
@@ -281,6 +282,28 @@
  ('', '__call__', 'index_html', 'createInObjectManager')),
 )
 
+def manage_FTPlist(self,REQUEST):
+"Directory listing for FTP"
+out=()
+files=self.__dict__.items()
+if not (hasattr(self,'isTopLevelPrincipiaApplicationObject') and
+self.isTopLevelPrincipiaApplicationObject):
+ files.insert(0,('..',self.aq_parent))
+for k,v in files:
+try:stat=marshal.loads(v.manage_FTPstat(REQUEST))
+except:
+stat=None
+if stat is not None:
+out=out+((k,stat),)
+return marshal.dumps(out)
+
+def manage_FTPstat(self,REQUEST):
+"Psuedo stat used for FTP listings"
+mode=004|0770
+mtime=self.bobobase_modification_time().timeTime()
+owner=group='Zope'
+return marshal.dumps((mode,0,0,1,owner,group,0,mtime,mtime,mtime))
+
 def __init__(self, id, title, bases, zope_object=1):
 """Build a Zope class
 
@@ -640,6 +663,28 @@
 views   = Basic.ZClassViewsSheet('views')
 basic   = Basic.ZClassBasicSheet('basic')
 permissions = Basic.ZClassPermissionsSheet('permissions')
+
+def manage_FTPlist(self,REQUEST):
+"Directory listing for FTP"
+out=()
+files=self.__dict__.items()
+if not (hasattr(self,'isTopLevelPrincipiaApplicationObject') and
+self.isTopLevelPrincipiaApplicationObject):
+ files.insert(0,('..',self.aq_parent))
+for k,v in files:
+try:stat=marshal.loads(v.manage_FTPstat(REQUEST))
+except:
+stat=None
+if stat is not None:
+out=out+((k,stat),)
+return marshal.dumps(out)
+
+def manage_FTPstat(self,REQUEST):
+"Psuedo stat used for FTP listings"
+mode=004|0770
+mtime=self.bobobase_modification_time().timeTime()
+owner=group='Zope'
+return marshal.dumps((mode,0,0,1,owner,group,0,mtime,mtime,mtime))
 
 def __init__(self):
 self.methods=Method.ZClassMethodsSheet('methods')



Re: [Zope] FTP for ZClass hierarchies

2000-12-07 Thread Robin Becker

In article <[EMAIL PROTECTED]>, M. Adam Kendall
<[EMAIL PROTECTED]> writes
>In the past few days I have been working on a patch that will
>let you edit ZClasses via FTP without the need for typing in
>actual pathnames to get to the methods (mainly so I can edit
>ZClasses with HTML-Kit).  Strangely enough, even with the 
>modifications, I see this same thing.
>
>I've included this patch in case anyone wants to play around
>with it.  It's not the greatest, and definitely needs to be
>modified (some of the security mechanisms are bound to be 
>broken).  But it is a start anyway. ;)  
>
>> Interestingly, but perhaps merely coincidental, I notice that the URLs
>> of contained ZClasses as generated by the Zope management interface
>> have a "%20" immediately following the name of each contained ZClass
>> (but not the top-level ZClasss) - e.g, 
>[ A MIME application / octet-stream part was included here. ]
>
Does this let you write the methods back?
-- 
Robin Becker

___
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] FTP for ZClass hierarchies

2000-12-07 Thread M. Adam Kendall

In the past few days I have been working on a patch that will
let you edit ZClasses via FTP without the need for typing in
actual pathnames to get to the methods (mainly so I can edit
ZClasses with HTML-Kit).  Strangely enough, even with the 
modifications, I see this same thing.

I've included this patch in case anyone wants to play around
with it.  It's not the greatest, and definitely needs to be
modified (some of the security mechanisms are bound to be 
broken).  But it is a start anyway. ;)  

> Interestingly, but perhaps merely coincidental, I notice that the URLs
> of contained ZClasses as generated by the Zope management interface
> have a "%20" immediately following the name of each contained ZClass
> (but not the top-level ZClasss) - e.g, 
 ZClassFTP.patch


Re: [Zope] FTP in HTML-Kit? Sussed it!

2000-12-06 Thread Martijn Pieters

On Tue, Dec 05, 2000 at 03:51:28PM -, Phil Harris wrote:
> Working on the HTML-Kit plugin as we speak. ;)

I have created a Python library for HTML-Kit plugins. Very easy with
Mark Hammonds Win32 extensions. It is only the bare bones COM interface
though, no niceties such as Exceptions and such.

As soon as the download server is back online again (www.chamisplace.com)
I can figure out more easily what plugins can do on the whole and create a
higher level interface along the lines of:

--

from HTMLKitPlugins import Plugin, RegisterPlugin

class HelloWorld(Plugin):
name = 'Hello_in_Python'
iconCaption = = 'PyD'
section = 'MyPlugins'

def main:
self.output('Hello, Python World!')

RegisterPlugin(HelloWorld())

--

A HiperDom or DTML plugin is then going to be a breeze. Imagine XML-RPC
access to the Zope server so you can expand  references in
place. :)

Currently I use a fake Perl plugin to pass through to Python (yukk), but
if someone wants to write a standalone .EXE file that transparently
invokes a python file based on registry entries (location of Python
interpreter and a registry of Python plugin files) we can do without Perl
altogether.

Next step would then be to ask Chami.com to add support for Python plugins
as well (which is not hard for them if I supply the Python library files).

-- 
Martijn Pieters
| Software Engineer  mailto:[EMAIL PROTECTED]
| Digital Creations  http://www.digicool.com/
| Creators of Zope   http://www.zope.org/
-

___
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] FTP for ZClass hierarchies

2000-12-06 Thread Stephane Bortzmeyer

On Tuesday 5 December 2000, at 9 h 4, the keyboard of Jim Welch 
<[EMAIL PROTECTED]> wrote:

> have been disappointed to discover that while I can access, via FTP,
> the methods of a top-level ZClass, I can't access any methods of
> ZClasses defined inside of a top-level ZClass. 

Many objects are not editable that way :-( And this is a big problem with Zope 
for me (I will certainly not use the browser form). A friendly Zopatista sent 
me a patch on Zope (which I will submit to the Collector) to be able to edit 
ZQSL methods. May be you can patch the patch for your purpose?




___
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] FTP in HTML-Kit? (Or other editor on MS-Windows)

2000-12-05 Thread Martijn Pieters

On Mon, Dec 04, 2000 at 11:09:00PM +0100, Oliver Bleutgen wrote:
> A very interesting feature for zope seems to be the following:
> 
> " Ability to map local folders to remote servers, for the purpose 
> of previewing files with server-side scripting through the server 
> ("Edit | Preferences... | Preview | Edit Preview Rules..."). 
> The user interface for this option has not been finalized."

I haven't yet been able to get this to work; I don't think it applies to
files retrieved from FTP. You can, however, rightclick on a file in the
Workspace and choose preview to open it in a browser window.

-- 
Martijn Pieters
| Software Engineer  mailto:[EMAIL PROTECTED]
| Digital Creations  http://www.digicool.com/
| Creators of Zope   http://www.zope.org/
-

___
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] FTP in HTML-Kit? Sussed it!

2000-12-05 Thread Jason Cunliffe

Yes interesting + thanks again.
Also there is radio button in "Edit | Preferences | Workspace"

'Transfer mode' = use text mode to transfer files with extensions

and then a long list:

al;asa;asc;asp;aspc;aspx;bas;bat;c;c++;cat;cc;cfm;cfml;cgi;cnf;conf;cpp;cs;c
ss;css1;css2;css3;csv;cxx;dcl;decl;dtd;dtml;el;ent;etx;f90;h;h++;hh;hkh;hks;
hpd;hpp;htaccess;htm;html;htt;htx;hxx;inc;inf;ini;inl;iss;j;jav;java;javascr
ipt;js;jscript;l;latex;lcd;lisp;log;lsp;m;pas;pc;perl;php;php2;php3;php4;php
5;php6;pht;phtml;pl;pl3;pl4;pl5;pl6;pl7;pll;plx;pm;py;rtf;rtx;scm;shtm;shtml
;soc;sql;stm;sys;tex;text;tsv;txt;vb;vbs;xml;xsd

so I added  >>>>>  dtml; <<<<<< not sure what side efect there but seems to
be ok :-)

- Jason
___
Jason CUNLIFFE = NOMADICS['Interactive Art and Technology']

From: Stefan H. Holek <[EMAIL PROTECTED]>
Subject: Re: [Zope] FTP in HTML-Kit? Sussed it!
>
> I found an option in "Edit | Preferences | Workspace" named
> "Ignore file type when opening/inserting"
>
> It may have (yet undetected) side effects, but doubleclicking
> index_html now does what I would expect it to... ;)



___
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] FTP in HTML-Kit? Sussed it!

2000-12-05 Thread Stefan H. Holek

On Tue, 5 Dec 2000, Jason Cunliffe wrote:

> Thanks for your notes, especially the  "open as text" tip.

I found an option in "Edit | Preferences | Workspace" named 
"Ignore file type when opening/inserting"

It may have (yet undetected) side effects, but doubleclicking
index_html now does what I would expect it to... ;)

Regards,
Stefan


___
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] FTP in HTML-Kit? Sussed it!

2000-12-05 Thread Paul Browning


On Tue, 5 Dec 2000 13:56:04 + Robin Becker <[EMAIL PROTECTED]> 
wrote:

> I'm a bit puzzled as to how you get things like index_html to appear. My
> homesite seems to need an extension list.

For me it just works (index_html included). Mind you I declined all offers to
set preferences for browsers and file extensions when
HMTL-Kit started up for the first time.

Paul

--
 The Library, Tyndall Avenue, Univ. of Bristol, Bristol, BS8 1TJ, UK
 E-mail: [EMAIL PROTECTED]  URL: http://www.bris.ac.uk/



___
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] FTP in HTML-Kit? Sussed it!

2000-12-05 Thread Phil Harris

Jason,

Working on the HTML-Kit plugin as we speak. ;)

Phil

- Original Message -
From: "Jason Cunliffe" <[EMAIL PROTECTED]>
To: "Paul Browning" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, December 05, 2000 3:05 PM
Subject: Re: [Zope] FTP in HTML-Kit? Sussed it!


> Paul
>
> Thanks for your notes, especially the  "open as text" tip.
>
> Very fast and easy.
> HTML-Kit Preview is very useful too for changing forms in Zope.
>
> Now if only someone would create an HTML-Kit library Zope extension
complete
> with all essential DTML and pythonisms for auto tag completion
>
> - Jason
> ___
> Jason CUNLIFFE = NOMADICS['Interactive Art and Technology']
>
> - Original Message -
> From: Paul Browning <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, December 05, 2000 8:04 AM
> Subject: RE: [Zope] FTP in HTML-Kit? Sussed it!
>
> > 1. Go Workspace -> Add FTP Server/Folder -> Add FTP Server.
> >Do the obvious (all familiar to Homesite users).
> >A blue coloured ftp source will appear in the File pane
> >on the RHS. Expand/collapse trees to navigate to the
> >file you want to open.
> >
> > 2. Right-click and "Open As Text". Haven't yet fathomed
> >the significance of this as opposed to other options.
> >What I do know is that "Save" then does the business -
> >saves it back to your FTP source.
>
>
>
>
> ___
> 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] FTP in HTML-Kit? Sussed it!

2000-12-05 Thread Jason Cunliffe

Paul

Thanks for your notes, especially the  "open as text" tip.

Very fast and easy.
HTML-Kit Preview is very useful too for changing forms in Zope.

Now if only someone would create an HTML-Kit library Zope extension complete
with all essential DTML and pythonisms for auto tag completion

- Jason
___
Jason CUNLIFFE = NOMADICS['Interactive Art and Technology']

- Original Message -
From: Paul Browning <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 05, 2000 8:04 AM
Subject: RE: [Zope] FTP in HTML-Kit? Sussed it!

> 1. Go Workspace -> Add FTP Server/Folder -> Add FTP Server.
>Do the obvious (all familiar to Homesite users).
>A blue coloured ftp source will appear in the File pane
>on the RHS. Expand/collapse trees to navigate to the
>file you want to open.
>
> 2. Right-click and "Open As Text". Haven't yet fathomed
>the significance of this as opposed to other options.
>What I do know is that "Save" then does the business -
>saves it back to your FTP source.




___
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] FTP in HTML-Kit? Sussed it!

2000-12-05 Thread Robin Becker

I'm a bit puzzled as to how you get things like index_html to appear. My
homesite seems to need an extension list.
-- 
Robin Becker

___
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] FTP in HTML-Kit? Sussed it!

2000-12-05 Thread Paul Browning


Like others I was a bit puzzled as to how to Save As FTP
in HTML-Kit. I've just downloaded build 290 and got it
all working (the stuff may have lain undiscovered in
earlier verions - RTFM .).

The keys to cracking it are:

1. Go Workspace -> Add FTP Server/Folder -> Add FTP Server.
   Do the obvious (all familiar to Homesite users).
   A blue coloured ftp source will appear in the File pane
   on the RHS. Expand/collapse trees to navigate to the
   file you want to open.

2. Right-click and "Open As Text". Haven't yet fathomed
   the significance of this as opposed to other options.
   What I do know is that "Save" then does the business -
   saves it back to your FTP source.

As a 24-day-old (6 days to go ) Homesite evaluation
user I'm really, really impressed so far with HTML-Kit.
My thanks to Phil Harris et al for the tip.

Paul

--
 The Library, Tyndall Avenue, Univ. of Bristol, Bristol, BS8 1TJ, UK
 E-mail: [EMAIL PROTECTED]  URL: http://www.bris.ac.uk/

___
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] FTP in HTML-Kit? Sussed it!

2000-12-05 Thread Paul Browning


Like others I was a bit puzzled as to how to Save As FTP
in HTML-Kit. I've just downloaded build 290 and got it
all working (the stuff may have lain undiscovered in
earlier verions - RTFM .).

The keys to cracking it are:

1. Go Workspace -> Add FTP Server/Folder -> Add FTP Server.
   Do the obvious (all familiar to Homesite users).
   A blue coloured ftp source will appear in the File pane
   on the RHS. Expand/collapse trees to navigate to the
   file you want to open.

2. Right-click and "Open As Text". Haven't yet fathomed
   the significance of this as opposed to other options.
   What I do know is that "Save" then does the business -
   saves it back to your FTP source.

As a 24-day-old (6 days to go ) Homesite evaluation
user I'm really, really impressed so far with HTML-Kit.
My thanks to Phil Harris et al for the tip.

Paul

--
 The Library, Tyndall Avenue, Univ. of Bristol, Bristol, BS8 1TJ, UK
 E-mail: [EMAIL PROTECTED]  URL: http://www.bris.ac.uk/


___
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] FTP in HTML-Kit? (Or other editor on MS-Windows)

2000-12-04 Thread Jeff Peterson

Homesite is NOT shareware, it is a licensed product from Allaire.  There is
a 30 day trial available which you are obviously referring to.  While I
agree that Homesite 4.5.1 is great, I personally cannot use it even though I
paid for the license.  It has a terrible memory leak which forces you to
reboot often, and slows me down considerably.  If the folks at Allaire would
address the memory leak I may return but not until then.  In the mean time,
I have found that Html-Kit while maybe not quite as nice as Home site from a
UI perspective, is close to if not equal to it in function.  In addition, it
is free, and extensible as well.   Finally, in the latest release it allows
browsing of folders, download from as well as upload of edited files to the
remote host...very nice...did I mention free?

Just my $.02,

+-+
|   Jeffrey D. Peterson   ---   Webmaster |
|Range Broadband Services  ---  218-262-0050|
+-+

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Peter
Bengtsson
Sent: Monday, December 04, 2000 4:04 PM
To: Stephane Bortzmeyer
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] FTP in HTML-Kit? (Or other editor on MS-Windows)


Allaire Homesite 4.5.1 has proven very powerful for me and my Zope FTP
connection.
There is a little patch (works great!) that customizes the code for DTML
great.
Homesite is shareware, but believe me, nothing happens after the 30 days
pass.

/P

>
>
> Searching a tool to edit DTML on MS-Windows, I read:
>
> http://www.zope.org/Members/cba/HTML_Kit
>
> It says that HTML-Kit can edit files through FTP. I found that it can only
> retrieve files, without being able to browse directories, and that it
cannot
> save back files with FTP. Absolutely not a competitor for GNU Emacs.
>
> Or did I miss something?



___
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] FTP in HTML-Kit? (Or other editor on MS-Windows)

2000-12-04 Thread Steve Drees

> Allaire Homesite 4.5.1 has proven very powerful for me and my 
> Zope FTP connection.
> There is a little patch (works great!) that customizes the code 
> for DTML great.
> Homesite is shareware, but believe me, nothing happens after the 
> 30 days pass.

Except that you become a criminal.


___
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] FTP in HTML-Kit? (Or other editor on MS-Windows)

2000-12-04 Thread Oliver Bleutgen



> Searching a tool to edit DTML on MS-Windows, I read:

> http://www.zope.org/Members/cba/HTML_Kit

> It says that HTML-Kit can edit files through FTP. I found that it can only
> retrieve files, without being able to browse directories, and that it
> cannot
> save back files with FTP. Absolutely not a competitor for GNU Emacs.

> Or did I miss something?

Maybe the newest built of html-kit (from 29. Nov).
The changes file suggests that ftp-support is now very 
good. (save/load/update ... everything you can do with a
local file seems now to work with remote-files too).
Look at http://www.chami.com/html-kit/news/


A very interesting feature for zope seems to be the following:

" Ability to map local folders to remote servers, for the purpose 
of previewing files with server-side scripting through the server 
("Edit | Preferences... | Preview | Edit Preview Rules..."). 
The user interface for this option has not been finalized."

HTML-Kit is free and very customizable, I really like it.
The developer is very responsive and there's a load of plugins
available - chances are that any modifications to make it 
play better with zope can be incorporated.

And it's free (as in beer).

cheers,
oliver


  

___
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] FTP in HTML-Kit? (Or other editor on MS-Windows)

2000-12-04 Thread Peter Bengtsson

Allaire Homesite 4.5.1 has proven very powerful for me and my Zope FTP connection.
There is a little patch (works great!) that customizes the code for DTML great.
Homesite is shareware, but believe me, nothing happens after the 30 days pass.

/P

> 
> 
> Searching a tool to edit DTML on MS-Windows, I read:
> 
> http://www.zope.org/Members/cba/HTML_Kit
> 
> It says that HTML-Kit can edit files through FTP. I found that it can only 
> retrieve files, without being able to browse directories, and that it cannot 
> save back files with FTP. Absolutely not a competitor for GNU Emacs.
> 
> Or did I miss something? 



___
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] FTP in HTML-Kit? (Or other editor on MS-Windows)

2000-12-04 Thread Steve Drees

> http://www.zope.org/Members/cba/HTML_Kit
> 
> It says that HTML-Kit can edit files through FTP. I found that it 
> can only 
> retrieve files, without being able to browse directories, and 
> that it cannot 
> save back files with FTP. Absolutely not a competitor for GNU Emacs.

Get the latest beta. It has a workspace option that just plain ROCKS.

___
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] FTP crashing zope

2000-11-20 Thread Martin Winkler

At 21:04 20.11.2000, Ron Bickers wrote:
>Someone suggested to me that when they used passive mode [for FTP Server]
>it would not crash,vs. using normal mode it would sometimes.

Yes, that's correct. But it is way too easy for malicious people to kill a 
Zope-Server that has FTP enabled. They just connect in regular intervals - 
say 5 seconds - and your service won't be online anymore.

That is why I disabled FTP support until I am sure that it will work 
smoothly in a future version.
I just checked the bug reports again and saw the following on

http://classic.zope.org:8080/Collector/1257/view :
[1257] ZServer Bug: Ftp Active mode through firewall
Category:Last Updated:
Submitted On: May 17, 2000 3:20 pm   Status: Pending
Reported Version: Zope 2.1.6 Expected/Fixed Version:

Too bad that this does not seem to be a real problem for the developers. 
The bug is still alive (Version 2.2.2), and I am too dumb to do "real" 
programming in Python to fix it :-(

Martin



___
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] FTP crashing Zope?

2000-08-30 Thread Dieter Maurer

Dario =?ISO-8859-1?Q?Lopez-K=E4sten?= writes:
 > Using FTP Explorer I crashed (killed) my Zope instance while ftping in to
 > port 8021. This was achieved by not setting FTP Explorer to use PASSIVe
 > connections. Using Passive it works like a charm.
 > 
 > Is this a bug in latest Zope (2.2.1) or is this expected behaviour? If, the
 > latter is the case, what can I do to a) turn off FTP access, b) make sure
 > that my Zope is up and running automagically after a crash?
a) look at the documentation in "z2.py".
   It tells you, how to selectively enable/disable protocols.

b) When my Zope had crashed, it usually restarted automatically.



Dieter

___
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] FTP crashing Zope?

2000-08-30 Thread Adam Karpierz

>Dario Lopez-KXsten wrote:
>> Is this a bug in latest Zope (2.2.1) or is this expected behaviour? If, the
>> latter is the case, what can I do to a) turn off FTP access, b) make sure
>> that my Zope is up and running automagically after a crash?
>
>Ewww.. this seems quite nasty :(
>
>If you can reproduce this, I'd stick it with a really detailed
>description into the collector
>
>Has anyone else seen this?

Unfortunately I do... :(
Crash occurs when I try to use various FTP command
during using telnet on port 8021 and when I type QUIT
command immediately _after_ _initialize_ data transmission.
Of course I didn't able to seen any data on telnet console
(data transmission port is assigned automacically and
quite different then control port).
More precisely, crash (Python crash) happend immediately
after sequention:
RETR index_html
QUIT
I try reproduce this error once or twice but without effect.
Before crash I (if remember precisely) was trying:
RETR index_html
ABOR
QUIT
several times and don't happened something wrong.

PS: I dont remember if crash occurs in PASV mode.
--
Adam Karpierz
[EMAIL PROTECTED]





___
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] FTP crashing Zope?

2000-08-30 Thread J. Atwood

I have seen it in a beta version. Every time I connect a FTP client it
crashed. Tried it 4 - 5 times.

J

> From: Chris Withers <[EMAIL PROTECTED]>
> Organization: New Information Paradigms
> Date: Wed, 30 Aug 2000 13:49:58 +0100
> To: Dario Lopez-KXsten <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Zope] FTP crashing Zope?
> 
> Dario Lopez-KXsten wrote:
>> Is this a bug in latest Zope (2.2.1) or is this expected behaviour? If, the
>> latter is the case, what can I do to a) turn off FTP access, b) make sure
>> that my Zope is up and running automagically after a crash?
> 
> Ewww.. this seems quite nasty :(
> 
> If you can reproduce this, I'd stick it with a really detailed
> description into the collector
> 
> Has anyone else seen this?
> 
> cheers,
> 
> Chris
> 
> ___
> 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] FTP crashing Zope?

2000-08-30 Thread Chris Withers

Dario Lopez-KXsten wrote:
> Is this a bug in latest Zope (2.2.1) or is this expected behaviour? If, the
> latter is the case, what can I do to a) turn off FTP access, b) make sure
> that my Zope is up and running automagically after a crash?

Ewww.. this seems quite nasty :(

If you can reproduce this, I'd stick it with a really detailed
description into the collector

Has anyone else seen this?

cheers,

Chris

___
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] ftp permisions problem

2000-08-26 Thread Timothy Wilson

On Sat, 26 Aug 2000 [EMAIL PROTECTED] wrote:

> I am running zope ftp on 8021 by defualt.
> 
> I ftp to it and attempt to upload a file into zope. I get a ettempt to create 
> file failed.
> 
> Any ideas.
> 
> I am running all zope permissions as defualt. I log in as superuser.

If you're running a 2.2.x version of Zope, then the new security model
doesn't allow superuser to own anything. Try creating a file as another
user.

-Tim

--
Tim Wilson  | Visit Sibley online: | Check out:
Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/
W. St. Paul, MN |  | http://slashdot.org/
[EMAIL PROTECTED] || http://linux.com/


___
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] ftp permisions problem

2000-08-26 Thread Chris McDonough

Superuser cannot create objects.

Create and log in as a user with the "Manager" role.

[EMAIL PROTECTED] wrote:
> 
> Hi:
> 
> I am running zope ftp on 8021 by defualt.
> 
> I ftp to it and attempt to upload a file into zope. I get a ettempt to create
> file failed.
> 
> Any ideas.
> 
> I am running all zope permissions as defualt. I log in as superuser.
> 
> cj
> 
> ___
> 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] FTP editing in version?

2000-08-09 Thread Meeting Maker Webmaster

Hello,

At 15:02 09.08.2000 +, Marcin Kasperski wrote:
>Is it in any way possible to edit via FTP within a version?
>
>FTP editing is very nice (I love XEmacs and EFS, I hate netscape editing
>control). But I do not see any way to edit file via FTP within version.
>Do I miss something?

Give a look at http://www.zope.org/Members/htrd/howto/VersionFTPServer

I don't know if that works with 2.2.

Best regards,

Gérard Métrailler Jr.

Meeting Maker Inc.
... the intelligent choice for collaborative scheduling

Email: [EMAIL PROTECTED]
Web: http://www.meetingmaker.com


___
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] FTP

2000-05-23 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article <[EMAIL PROTECTED]
>, Stuart Foster <[EMAIL PROTECTED]> writes
>When I try this I get an unauthorized user error. Can you give an example of
>how to connect to port 8021 with a simple ftp program. 

Using WS_FTPPro, the address of the ftp server is the IP address of your
Zope installation.  In advanced tab, change the port setting from 21 to
8021.  Put your superuser id and password in the connection tab, and you
should be in.

- -- 
Regards,  Graham Chiu
gchiucompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOSpi17TRdIWzaLpMEQI4JACgpJlPVve1fygT6GaETg+vVlZOZFMAn00k
0UFdcSKURFv/SqIaKTzSHIMp
=PKxf
-END PGP SIGNATURE-

___
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] FTP

2000-05-23 Thread Stuart Foster

When I try this I get an unauthorized user error. Can you give an example of
how to connect to port 8021 with a simple ftp program. 


-Original Message-
From: Rik Hoekstra [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 23, 2000 7:37 AM
To: David Shen
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] FTP




> David Shen wrote:
> 
> Hello,
> Can Zope system be accessed by FTP? If yes, how to do so?


Yes. Assuming you have a standard Zope installation and you've not
tampered with the ftp settings of ZServer (you'd know about ftp then
wouldn't you). THe ZServer ftp is running under the (non default) 8021
port. You should point your ftp client to ftp://yoursite:8021/

That's it.

Happy ftp-ing

Rik

___
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] FTP

2000-05-23 Thread Tony McDonald

At 9:29 am -0500 23/5/00, David Shen wrote:
>Hello,
> Can Zope system be accessed by FTP? If yes, how to do so?
>
>Thanks,
>
>David

David,
Please turn off HTML mail, it means less people can see your message.

FTP works fine. If you start a ZServer out of the box, it's set up on 
port 8021 (how you do this is FTP client specific). It will only 
allow you to FTP DTML Documents and Methods however, so things like 
ZSQL methods are right out!

hth
tone
--
Dr Tony McDonald,  FMCC, Networked Learning Environments Project 
http://nle.ncl.ac.uk/
The Medical School, Newcastle University Tel: +44 191 222 5888
Fingerprint: 3450 876D FA41 B926 D3DD  F8C3 F2D0 C3B9 8B38 18A2

___
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] FTP

2000-05-23 Thread Rik Hoekstra



> David Shen wrote:
> 
> Hello,
> Can Zope system be accessed by FTP? If yes, how to do so?


Yes. Assuming you have a standard Zope installation and you've not
tampered with the ftp settings of ZServer (you'd know about ftp then
wouldn't you). THe ZServer ftp is running under the (non default) 8021
port. You should point your ftp client to ftp://yoursite:8021/

That's it.

Happy ftp-ing

Rik

___
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 )