Hi! (Nobody dared to answer, trying to do some research...) I (and some my friends) have problem with Copy/Paste. Sometimes it's wotking, but often Paste button does not appeared after Copy/Cut. I put debug DTML method on a site - just <dtml-var REQUEST> and found browse always pass __cp cookie, so it is not a cookie problem. I copied the cookie value and tried to _cb_decode it myself: from marshal import loads, dumps from urllib import quote, unquote from zlib import compress, decompress def _cb_decode(s): print unquote(s) return loads(decompress(unquote(s))) print _cb_decode('x%DA%D3%60b%60%60%C8%04b%86hF%20%A1%01%E2%16%83%B9%CC%20%16%07%03%1C0%21q%D8%95%919%B3%20%92%9D%04%29') error: MemoryError: Out of memory while decompressing data. I did experimets with by copying just one DTML document in a folder 1 level below the root, so this is not a problem with too many object or too long path. What is it? Sun Sparc, Solaris 2.5.1, python 1.5.2 compiled by me from sources, Zope (both 2.1.4 and 2.2.0b3) compiled from sources; gcc 2.7.2.3. I did some experiments on Linux. Paste works a little better there, but not much - often Paste button does not appeare. Oleg. (All opinions are mine and not of my employer) ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN.
Followup to myself... On Sat, 1 Jul 2000, Oleg Broytmann wrote:
I (and some my friends) have problem with Copy/Paste. Sometimes it's wotking, but often Paste button does not appeared after Copy/Cut.
After investigating I found that the problem is mostly related to SiteAccess. I can copy FROM a folder with SiteRoot object, but cannot paste INTO such folder. After removing SiteRoot object copy/paste worked. After reinstalling SiteRoot copy/paste stopped working again. Both 2.1.4 with SiteAccess and 2.2.0b3 with SiteAccess2... I said "mostly" because sometimes Zope stops copy/pasting in random folders without SA at all. Oleg. (All opinions are mine and not of my employer) ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN.
On Sun, 02 Jul 2000, Oleg Broytmann wrote:
Followup to myself...
On Sat, 1 Jul 2000, Oleg Broytmann wrote:
I (and some my friends) have problem with Copy/Paste. Sometimes it's wotking, but often Paste button does not appeared after Copy/Cut.
After investigating I found that the problem is mostly related to SiteAccess. I can copy FROM a folder with SiteRoot object, but cannot paste INTO such folder. After removing SiteRoot object copy/paste worked. After reinstalling SiteRoot copy/paste stopped working again.
Ah, SiteAccess. You can save yourself the repeated addition/removal of SiteAccess objects by learning how to type __no_before_traverse__ quickly in your URLs. (o8 http://my.site.com/path/to/zope/__no_before_traverse__/manage It tells SiteAccess to not do it's thing, and you should be able to direct access the Zope site there. Have a better one, Curtis <dtml-var standard_work_diclaimer>
Hi! On Mon, 3 Jul 2000, Curtis Maloney wrote:
On Sat, 1 Jul 2000, Oleg Broytmann wrote:
I (and some my friends) have problem with Copy/Paste. Sometimes it's wotking, but often Paste button does not appeared after Copy/Cut.
After investigating I found that the problem is mostly related to SiteAccess. I can copy FROM a folder with SiteRoot object, but cannot paste INTO such folder. After removing SiteRoot object copy/paste worked. After reinstalling SiteRoot copy/paste stopped working again.
Ah, SiteAccess. You can save yourself the repeated addition/removal of SiteAccess objects by learning how to type __no_before_traverse__ quickly in your URLs. (o8
http://my.site.com/path/to/zope/__no_before_traverse__/manage
It tells SiteAccess to not do it's thing, and you should be able to direct access the Zope site there.
I knew this, and probably this is worth to recheck... Ususally I use different approach. I have an URL that points to the real site, for example http://sun.med.ru/zope.net.ru/, and pass SiteRootPATH using mod_pcgi2. And I have different management URL, e.g. http://sun.med.ru/pcgi/zope.net.ru/manage, where I do not pass the env var. Without SiteRootPATH SiteRoot shouldn't interrupt traversing, no? Oleg. (All opinions are mine and not of my employer) ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN.
participants (2)
-
Curtis Maloney -
Oleg Broytmann