[Zope] (no subject)

2012-08-11 Thread Varun Parange
http://general-lifeinsurance.com/wp-admin/test.php?tongue233.jpg___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] (no subject)

2011-05-17 Thread Larry Lay
http://a0k1x5.jkfoi.ru/?cid=des
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] (no subject)

2007-12-11 Thread Andrew Milton
+---[ Beema shafreen ]--
| acceptance

rejection.

-- 
Andrew Milton
[EMAIL PROTECTED]
___
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 )


[Zope] (no subject)

2007-12-11 Thread Beema shafreen
acceptance
___
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 )


[Zope] (no subject)

2006-10-12 Thread message
Title: 51mymail





 
 
   


   
感谢您订阅51mymail许可邮件,如果您在信箱中不能正常阅读此邮件,请点击这里
  


  

 
  

  
  

  
  


  
 
  
 
  
  
  
  
   


 
  
  

 
   

   


  

  

 
   

   
 
  


 
  
 
   

  

 
   

  

 
   

  

 
   

  

  

  

  

  
  
 
   
 本次活动的最终解释权归三星所有
  

  

  
  
   





  
与好朋友一起分享:
  
  


  
  (多个地址“,”隔开)


   


  




  
  
..
  
  
  
  
  
  
  
  


  

  


 



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


[Zope] (no subject)

2006-08-03 Thread barrett-zope

I'm new to Zope, though I've been writing Python for some time.  I have a fresh 
installation to which I've added a simple Python script (code below) in the 
root directory.  When I test the script through the ZMI or attempt to access it 
via the web, I get an error:  

Error Type: Unauthorized
Error Value: You are not allowed to access localtime in this context

I'm logged in as a Manager and have tried setting the Proxy of the script to 
both Manager and Owner, to no avail.

Can someone please help me understand what is happening and how to fix it?

Thanks

code of the script:

import time
t=time.localtime()
print t
return printed



___
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] (no subject)

2006-08-03 Thread Marco Bizzarri

Please take a look at the Zope book, in the section about security
where it speaks about trusted and untrusted code.

Basically, you can access from a Python script (i.e. untrused code)
only those modules which are explicity declared so in Zope.

time module is most probably not in those modules.

Regards
Marco

On 3 Aug 2006 10:36:12 -, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:


I'm new to Zope, though I've been writing Python for some time.  I have a fresh 
installation to which I've added a simple Python script (code below) in the 
root directory.  When I test the script through the ZMI or attempt to access it 
via the web, I get an error:

Error Type: Unauthorized
Error Value: You are not allowed to access localtime in this context

I'm logged in as a Manager and have tried setting the Proxy of the script to 
both Manager and Owner, to no avail.

Can someone please help me understand what is happening and how to fix it?

Thanks

code of the script:

import time
t=time.localtime()
print t
return printed



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




--
Marco Bizzarri
http://notenotturne.blogspot.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] (no subject)

2006-07-20 Thread José Henrique
I couldn't reproduce this behavior. When I try to make such assignement (myObject.title='The new title'), Zope returns this messageattribute-less object (assign or del)
I'm using Zope 2.7.6-final, python 2.3.4.
Jose Henrique2006/7/18, Martijn Pieters [EMAIL PROTECTED]:
On 18 Jul 2006 19:12:54 -, [EMAIL PROTECTED][EMAIL PROTECTED] wrote: Why, given an object called myObject with a title property, can I not change the title by saying simply:
 myObject.title='The new title'You can. Property sheets are aimed at ease of changing through theweb; it is a simple schema for simple properties.--Martijn Pieters___
Zope maillist-Zope@zope.orghttp://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
 )
___
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 )


[Zope] (no subject)

2006-07-18 Thread barrett-zope

I'm trying to get a handle on Zope and don't understand the rational behind the 
manage_changeProperties() method.

Why, given an object called myObject with a title property, can I not change 
the title by saying simply:

myObject.title='The new title'



___
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] (no subject)

2006-07-18 Thread Martijn Pieters

On 18 Jul 2006 19:12:54 -, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:

Why, given an object called myObject with a title property, can I not change 
the title by saying simply:

myObject.title='The new title'


You can. Property sheets are aimed at ease of changing through the
web; it is a simple schema for simple properties.

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


[Zope] (no subject)

2006-06-27 Thread LYNN
zope,hi

 i need a kind of content type that describing network device such as 
router,swtich and server .i can use those content object access actual network 
device by snmp.
 can you tell me are there this kind content type? give me some  
interrelated  information ,let me learn about it .

thinks!


sincerely!



LYNN
[EMAIL PROTECTED]
  2006-06-28
___
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] (no subject)

2005-11-29 Thread Chris Withers

Yes, I feel like that sometimes too ;-)

Dennis Allison wrote:




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


[Zope] (no subject)

2005-11-27 Thread Dennis Allison


-- 

___
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] (no subject)

2005-11-18 Thread Chris Withers

AZAIS Bruce wrote:

Hi,

excuse-me for my English but i'm french ;-)


This is a Plone problem, you're likely to get more help on a Plone list.


*
Le contenu de ce courriel et ses eventuelles pièces jointes sont
confidentiels. Ils s'adressent exclusivement à la personne destinataire.
Si cet envoi ne vous est pas destiné, ou si vous l'avez reçu par erreur,
et afin de ne pas violer le secret des correspondances, vous ne devez pas
le transmettre à d'autres personnes ni le reproduire. Merci de le renvoyer
à l'émetteur et de le détruire.

Attention : L'Organisme de l'émetteur du message ne pourra être tenu 
responsable de l'altération
du présent courriel. Il appartient au destinataire de vérifier que les
messages et pièces jointes reçus ne contiennent pas de virus.
Les opinions contenues dans ce courriel et ses éventuelles pièces
jointes sont celles de l'émetteur. Elles ne reflètent pas la position de 
l'Organisme
sauf s'il en est disposé autrement dans le présent courriel.
**


Yay! We have a clean sweep: html mail, no subject line and an obnoxious 
footer. Bonus points for the foreign language...


*sigh*

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 )


[Zope] (no subject)

2005-11-16 Thread AZAIS Bruce
Title: Message




Hi,
excuse-me for my English but i'm french
;-)
i've installzope 2.8.4and Plone 2.1.1.i've do a copy of my data.fsand my products of my old Zope 's version zope
2.6.1, in the new version.
the problem is that when i write http://localhost:8080/intranet to my
URL, i've an error (see the traceback):
someone can help me ?
thank you and have a good day.


  
  
Time
2005/11/15 14:28:07.484 GMT+1
  
User Name (User Id)
controle (controle)
  
Request URL
http://localhost:8080/intranet/index_html
  
Exception Type
AttributeError
  
Exception Value
plone_javascripts.js

Traceback (innermost last):

  Module ZPublisher.Publish, line 113, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 40, in call_object
  Module Shared.DC.Scripts.Bindings, line 311, in __call__
  Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
  Module Products.PythonScripts.PythonScript, line 323, in _exec
  Module None, line 1, in index_htmlPythonScript at
  /intranet/index_htmlLine 1
  Module Shared.DC.Scripts.Bindings, line 311, in __call__
  Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
  Module Products.PageTemplates.ZopePageTemplate, line 256, in _exec
  Module Products.PageTemplates.PageTemplate, line 104, in
  pt_renderZopePageTemplate at /intranet/frontpage used for
  /intranet/frontpage
  Module TAL.TALInterpreter, line 206, in __call__
  Module TAL.TALInterpreter, line 250, in interpret
  Module TAL.TALInterpreter, line 711, in do_useMacro
  Module TAL.TALInterpreter, line 250, in interpret
  Module TAL.TALInterpreter, line 711, in do_useMacro
  Module TAL.TALInterpreter, line 250, in interpret
  Module TAL.TALInterpreter, line 308, in do_startTag
  Module TAL.TALInterpreter, line 374, in attrAction_tal
  Module Products.PageTemplates.TALES, line 227, in evaluateText
  Module Products.PageTemplates.TALES, line 221, in evaluateURL:
  /intranet/headerLine 61, Column 4_expression_:
  standard:'here/plone_javascripts.js/absolute_url'Names:{'container': PloneSite at /intranet,
 'context': ZopePageTemplate at /intranet/frontpage,
 'default': Products.PageTemplates.TALES.Default instance at 0x01B1FDC8,
 'here': ZopePageTemplate at /intranet/frontpage,
 'loop': Products.PageTemplates.TALES.SafeMapping object at 0x05CE5490,
 'modules': Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x01AE4350,
 'nothing': None,
 'options': {'args': ()},
 'repeat': Products.PageTemplates.TALES.SafeMapping object at 0x05CE5490,
 'request': HTTPRequest, URL=""
 'root': Application at ,
 'template': ZopePageTemplate at /intranet/frontpage used for /intranet/frontpage,
 'traverse_subpath': [],
 'user': controle}
  Module Products.PageTemplates.Expressions, line 185, in __call__
  Module Products.PageTemplates.Expressions, line 173, in _eval
  Module Products.PageTemplates.Expressions, line 127, in
  _eval__traceback_info__: here
  Module Products.PageTemplates.Expressions, line 315, in
  restrictedTraverse__traceback_info__: {'path': [plone_javascripts.js,
  'absolute_url'], 'TraversalRequestNameStack': ['absolute_url']}
AttributeError: plone_javascripts.js 

*
"Le contenu de ce courriel et ses eventuelles pièces jointes sont
confidentiels. Ils s'adressent exclusivement à la personne destinataire.
Si cet envoi ne vous est pas destiné, ou si vous l'avez reçu par erreur,
et afin de ne pas violer le secret des correspondances, vous ne devez pas
le transmettre à d'autres personnes ni le reproduire. Merci de le renvoyer
à l'émetteur et de le détruire.

Attention : L'Organisme de l'émetteur du message ne pourra être tenu responsable de l'altération
du présent courriel. Il appartient au destinataire de vérifier que les
messages et pièces jointes reçus ne contiennent pas de virus.
Les opinions contenues dans ce courriel et ses éventuelles pièces
jointes sont celles de l'émetteur. Elles ne reflètent pas la position de l'Organisme
sauf s'il en est disposé autrement dans le présent courriel."
**
___
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] (no subject)

2005-11-16 Thread Andreas Jung



--On 16. November 2005 10:13:24 +0100 AZAIS Bruce 
[EMAIL PROTECTED] wrote:




AttributeError: plone_javascripts.js



Please ask on the plone-users list for Plone related issues.

-aj

pgpUXSKlvJCHB.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 )


[Zope] (no subject)

2005-08-06 Thread Dennis Allison

We've been seeing this problem for some time.  Earlier postings to the
list were helpful in that we have eliminated possible causes, but the
problem has never been resolved.  Any assistance in tracking down the
problem and fixing it would be greatly appreciated.

Our configuration:

Athlon dual processor machine
RH7.3 
Zope 2.7.6 with ZEO
Python 2.4.1  (same problem occurs with Python 2.3.5)
Mysql-Python 1.21.c3
ZMySQLDA 2.09b3
MySql-4.0.20

This is a fragment from the event log:

2005-06-07T16:06:42 ERROR(200) ZMySQLDA exception during _begin
Traceback (most recent call last):
  File /opt/zope/zproducts/standard/ZMySQLDA/db.py, line 349, in _begin
self.db.ping()
OperationalError: (2013, 'Lost connection to MySQL server during query')
--
2005-06-07T16:06:42 PANIC(300) ZODB A storage error occurred in the last 
phase of a two-phase commit.  This shouldn't happen. The application will 
not be allowed to commit until the site/storage is reset by a restart.
Traceback (most recent call last):
  File /usr/local/src/zope/Zope2.7/lib/python/ZODB/Transaction.py, line 
377, in _finish_many
jar.tpc_finish(self)
  File /usr/local/src/zope/Zope2.7/lib/python/Shared/DC/ZRDB/TM.py, line 
59, in tpc_finish
try: self._finish()
  File /opt/zope/zproducts/standard/ZMySQLDA/db.py, line 376, in _finish
self._tlock.release()
error: release unlocked lock
--
2005-06-07T16:06:42 ERROR(200) ZODB A storage error occured during object 
abort. This shouldn't happen.
Traceback (most recent call last):
  File /usr/local/src/zope/Zope2.7/lib/python/ZODB/Transaction.py, line 
412, in _commit_error
j.tpc_abort(self) # This should never fail
  File /usr/local/src/zope/Zope2.7/lib/python/Shared/DC/ZRDB/TM.py, line 
63, in abort
try: self._abort()
  File /opt/zope/zproducts/standard/ZMySQLDA/db.py, line 389, in _abort
self._tlock.release()
error: release unlocked lock
--
2005-06-07T16:06:42 ERROR(200) SiteError 
http://dev.agilemind.com/logged_in
Traceback (most recent call last):
  File /usr/local/src/zope/Zope2.7/lib/python/ZPublisher/Publish.py, 
line 107, in publish
transactions_manager.commit()
  File /usr/local/src/zope/Zope2.7/l[safe_mysqld]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.--
2005-08-06T20:47:21 ERROR(200) ZMySQLDA exception during _begin
Traceback (most recent call last):
  File /opt/zope/zproducts/standard/ZMySQLDA/db.py, line 349, in _begin
self.db.ping()
OperationalError: (2013, 'Lost connection to MySQL server during query')
--

We get the release unlocked lock message occasionally, frequently but
not always preceded by the connection lost message.  

Our my.cnf file for MySQL is

[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
skip-innodb
set-variable=max_connections=2048
set-variable=long_query_time=1
#log-bin=/var/log/mysql/epaul-bin
#log-bin-index=/var/log/mysql/epaul-bin.index
#log-slow-queries=/var/log/mysql/epaul-slow.log
# change timeouts to close rather than wait
# interactive == 1 hour, programs == 5 mins
set-variable=interactive_timeout=3600
set-variable=wait_timeout=300
# uncomment to not log connection problems
#set-variable=log-warnings=off

[mysql.server]
user=mysql
basedir=/var/lib

[safe_mysqld]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid


We use MyISAM tables and the MySQL autocommit mode rather than handling 
locks and transactions explicitly.

From a user perspective, refreshing the Zope page recovers from the error 
and allows one to continue working.



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


[Zope] (no subject)

2005-05-10 Thread Dennis Allison

Dieter,

I get the following error at startup (Zope 2.7.6-final, Python 2.3.4, 
ZopeProfiler 1.1 in a multi-headed Zope/ZEO configuration with shared
session variables.

My hypothesis is that the culprit is the ZopeProfiler and that I need to 
move to Version 1.4.  Are there any problems using it in a Zope/ZEO 
environment? 

---

Unhandled exception in thread started by class 
ZServer.PubCore.ZServerPublisher.ZServerPublisher at 0x40467d1c
Traceback (most recent call last):
  File 
/usr/local/src/zope/Zope2.7/lib/python/ZServer/PubCore/ZServerPublisher.py, 
line 23, in __init__
response=response)
  File /opt2/zope/zproducts/standard/ZopeProfiler/MonkeyPatcher.py, line 
35, in __call__
return self._function(*args,**kw)
  File /opt2/zope/zproducts/standard/ZopeProfiler/ZopeProfiler.py, line 
335, in _profilePublishModule
_hookApplicationManager()
  File /opt2/zope/zproducts/standard/ZopeProfiler/ZopeProfiler.py, line 
383, in _hookApplicationManager
R._p_jar.close()
  File 
/usr/local/src/zope/Zope2.7/lib/python/Products/ZODBMountPoint/Mount.py, 
line 210, in close
self._real_close()
  File /usr/local/src/zope/Zope2.7/lib/python/ZODB/Connection.py, line 
306, in close
raise ConnectionStateError(Cannot close a connection joined to 
ZODB.POSException.ConnectionStateError: Cannot close a connection joined 
to a transaction



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


[Zope] (no subject)

2005-04-19 Thread Maslak, Michael








Hi All,



How do I install multiple instances of Zope that are valid
Windows Services in W2K3 w/ SP1 installed? i.e. start like an automatic service
on startup?



Only the initial instance that gets created during the
installation process gets associated with a Hardware Profile,
Profile1 here. (cmd: services.msc - Zope Instance at
D:\Core-Instance - Log On tab - Profile1 is listed in the
properties. 



If I try to run the Zope installer again to create another
Windows service instance, it does not get associated with a Hardware Profile
like the first. (e.g. services.msc - Zope Instance at
D:\Next-Instance - brings up a complaint dialog:



Configuration Manager: The specified Device ID is not
a valid Device ID. Indeed, the properties box has NO entry for a Hardware
Profile of any kind.



And all other services created with the Create Zope Instance
tool require manual start.



Thank you.



Michael Maslak








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


[Zope] (no subject)

2001-01-24 Thread Priya Ramkumar

Hi

I am trying to create a wizard in my portal to enable users to store
information. In addition to the features of the already existing Document
Wizard, I would like my Wizard to have more features like information about
the category of the document, etc. I created a file called "Userdocument.py"
with a method "addUserdocument" which will be called to add a new document.
I have also added the new entry to the PTKBases  PTKDemos __init__.py. But
as soon as Zope starts, it gives this error


2001-01-25T06:07:07 ERROR(200) Zope Couldn't import Products.PTKDemo
Traceback (innermost last):
  File /export/usr/local/Zope-2.2.4-src/lib/python/OFS/Application.py, line
397,
 in import_products
(Object: string)
  File
"/export/usr/local/Zope-2.2.4-src/lib/python/Products/PTKDemo/__init__.py
", line 159
 PTKBase.Userdocument = Userdocument
^
 SyntaxError: invalid token

Could anyone please tell me how to create custom wizards and to register
them?

Thanks.
Priya



___
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] (no subject)

2001-01-08 Thread sdkcsd

GET YOUR OWN 100 MEG WEBSITE FOR ONLY $11.95 PER MONTH TODAY!

STOP PAYING $19.95 or more TODAY for your web site, WHEN YOU CAN 
GET ONE FOR ONLY $11.95 PER MONTH!

DO YOU ALREADY HAVE A WEBSITE? ALL YOU HAVE TO DO IS TRANSFER THE 
DOMAIN TO OUR SERVERS AND UPLOAD YOUR DATA AND YOU ARE READY TO 
GO! YOUR NEW WEB SPACE CAN BE CREATED INSTANTLY WITH JUST A 
SIMPLE PHONE CALL TO  OUR OFFICE.

YOU CAN CHANGE THE DESIGN OF YOUR SITE AS MUCH AS YOU WANT with 
no extra charge!  UNLIMITED TRAFFIC -- no extra charge!

FRONT PAGE EXTENSIONS are FULLY SUPPORTED.

A SET UP FEE OF $40.00 APPLIES for FIRST TIME CUSTOMERS.

ALL FEES PREPAID IN ADVANCE FOR THE YEAR PLUS A $40.00 SET UP 
CHARGE.

FOR DETAILS CALL 1 888 248 0765  if you are outside the USA,
please fax 240 337 8325

Webhosting International

 
 
 
 
 
 
 

___
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] (no subject)

2001-01-07 Thread sdlclkds

GET YOUR OWN 100 MEG WEBSITE FOR ONLY $11.95 PER MONTH TODAY!

STOP PAYING $19.95 or more TODAY for your web site, WHEN YOU CAN 
GET ONE FOR ONLY $11.95 PER MONTH!

DO YOU ALREADY HAVE A WEBSITE? ALL YOU HAVE TO DO IS TRANSFER THE 
DOMAIN TO OUR SERVERS AND UPLOAD YOUR DATA AND YOU ARE READY TO 
GO! YOUR NEW WEB SPACE CAN BE CREATED INSTANTLY WITH JUST A 
SIMPLE PHONE CALL TO  OUR OFFICE.

YOU CAN CHANGE THE DESIGN OF YOUR SITE AS MUCH AS YOU WANT with 
no extra charge!  UNLIMITED TRAFFIC -- no extra charge!

FRONT PAGE EXTENSIONS are FULLY SUPPORTED.

A SET UP FEE OF $40.00 APPLIES for FIRST TIME CUSTOMERS.

ALL FEES PREPAID IN ADVANCE FOR THE YEAR PLUS A $40.00 SET UP 
CHARGE.

FOR DETAILS CALL 1 888 248 0765  if you are outside the USA,
please fax 240 337 8325

Webhosting International

 
 
 
 
 
 
 
 
 
 

___
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] (no subject)

2001-01-05 Thread Gross, Chedva

I have an array created using javascript on one web page.  I want to access
that same array (or piece of it) on another page.  How can I go  about doing
this without using forms?

___
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] (no subject)

2001-01-03 Thread lcdsl

GET YOUR OWN 100 MEG WEBSITE FOR ONLY $11.95 PER MONTH TODAY!

STOP PAYING $19.95 or more TODAY for your web site, WHEN YOU CAN 
GET ONE FOR ONLY $11.95 PER MONTH!

DO YOU ALREADY HAVE A WEBSITE? ALL YOU HAVE TO DO IS TRANSFER THE 
DOMAIN TO OUR SERVERS AND UPLOAD YOUR DATA AND YOU ARE READY TO 
GO! YOUR NEW WEB SPACE CAN BE CREATED INSTANTLY WITH JUST A 
SIMPLE PHONE CALL TO  OUR OFFICE.

YOU CAN CHANGE THE DESIGN OF YOUR SITE AS MUCH AS YOU WANT with 
no extra charge!  UNLIMITED TRAFFIC -- no extra charge!

FRONT PAGE EXTENSIONS are FULLY SUPPORTED.

A SET UP FEE OF $40.00 APPLIES for FIRST TIME CUSTOMERS.

ALL FEES PREPAID IN ADVANCE FOR THE YEAR PLUS A $40.00 SET UP 
CHARGE.

FOR DETAILS CALL 1 888 248 0765  if you are outside the USA,
please fax 240 337 8325

Webhosting International

 
 
 
 
 
 
 
 
 
 
 
 
 

___
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] (no subject)

2001-01-03 Thread Mohan Baro

If its not ZOPE hosting ... don't send it here!!

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, January 03, 2001 2:00 AM
To: [EMAIL PROTECTED]
Subject: [Zope] (no subject)


GET YOUR OWN 100 MEG WEBSITE FOR ONLY $11.95 PER MONTH TODAY!

STOP PAYING $19.95 or more TODAY for your web site, WHEN YOU CAN 
GET ONE FOR ONLY $11.95 PER MONTH!

DO YOU ALREADY HAVE A WEBSITE? ALL YOU HAVE TO DO IS TRANSFER THE 
DOMAIN TO OUR SERVERS AND UPLOAD YOUR DATA AND YOU ARE READY TO 
GO! YOUR NEW WEB SPACE CAN BE CREATED INSTANTLY WITH JUST A 
SIMPLE PHONE CALL TO  OUR OFFICE.

YOU CAN CHANGE THE DESIGN OF YOUR SITE AS MUCH AS YOU WANT with 
no extra charge!  UNLIMITED TRAFFIC -- no extra charge!

FRONT PAGE EXTENSIONS are FULLY SUPPORTED.

A SET UP FEE OF $40.00 APPLIES for FIRST TIME CUSTOMERS.

ALL FEES PREPAID IN ADVANCE FOR THE YEAR PLUS A $40.00 SET UP 
CHARGE.

FOR DETAILS CALL 1 888 248 0765  if you are outside the USA,
please fax 240 337 8325

Webhosting International

 
 
 
 
 
 
 
 
 
 
 
 
 

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



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




[Zope] (no subject)

2000-12-22 Thread csdfcmso

GET YOUR OWN 100 MEG WEBSITE FOR ONLY $11.95 PER MONTH TODAY!

STOP PAYING $19.95 or more TODAY for your web site, WHEN YOU CAN 
GET ONE FOR ONLY $11.95 PER MONTH!

DO YOU ALREADY HAVE A WEBSITE? ALL YOU HAVE TO DO IS TRANSFER THE 
DOMAIN TO OUR SERVERS AND UPLOAD YOUR DATA AND YOU ARE READY TO 
GO! YOUR NEW WEB SPACE CAN BE CREATED INSTANTLY WITH JUST A 
SIMPLE PHONE CALL TO  OUR OFFICE.

YOU CAN CHANGE THE DESIGN OF YOUR SITE AS MUCH AS YOU WANT with 
no extra charge!  UNLIMITED TRAFFIC -- no extra charge!

FRONT PAGE EXTENSIONS are FULLY SUPPORTED.

A SET UP FEE OF $40.00 APPLIES for FIRST TIME CUSTOMERS.

ALL FEES PREPAID IN ADVANCE FOR THE YEAR PLUS A $40.00 SET UP 
CHARGE.

FOR DETAILS CALL 1 888 248 0765  if you are outside the USA,
please fax 240 337 8325

Webhosting International

 
 
 
 
 
 
 
 
 
 
 

___
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] (no subject)

2000-12-11 Thread Cornelis J. de Brabander

I have an educational application in which teachers and students can upload
all kinds of documents as files. Since I upgraded from Zope 2.0.1 to 2.1.6 I
have a problem with html-documents that are added as files. What happens is
that the text in the last HTML-paragraph is cut off somewhere in the middle.
Checking the source of the added document shows that after the point where
the text is cut off all text and codes have disappeared. Does anybody have
similar experiences and/or a clue as to what might cause this strange
behavior? The file is added by a method that essentially is a wrapper around
'manage_addFile'

tia, cb

Cornelis J. de Brabander
==
Department of Education, Leiden University
P.O.Box 9555, NL-2300 RB Leiden
+31 71 527 3422/3401
[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 )




[Zope] (no subject)

2000-11-29 Thread jacintha menezes

Hi,
I have developed a product in windows 95/98. Is it possible to port that
product to
NT Machine. If so please tell me how?.

Thanks,
 jacintha


___
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] (no subject)

2000-11-29 Thread Anderson Ami

Zopers,

   Anybody knows how can I change the value of a property of an object which
has a dynamic (string variable) name ?

thanks,
Anderson


___
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] (no subject)

2000-11-18 Thread George Osvald

Hello Everyone,

I have been playing with ZOPE for some time and I absolutely love it. I have
my own site running without a problem for about six months. Recently I was
able to demonstrate ZOPE to a "VERY" major player in entertainment industry
(music and video). I sold the idea to them and in about one month I am
supposed to start to redesign a major web site(and then may be another one).
It contains about 2000 pages at the moment. Is there anything I should be
aware of when designing a site of such magnitude in ZOPE? (streaming video
and music is not going to be served from the ZOPE site)

George Osvald


___
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] (no subject)

2000-10-23 Thread ethan mindlace fremen

Robert Joseph Roos wrote:

 invalid attribute name, "manage_addproperty(name", for tag dtml-call
 manage_addProperty(name='foo', value='bar', type='string'), on
 line 10 of makeSched

don't know if anybody helped you on this already, but any method call is
an expression, and should be (pedantically) spelled:

dtml-call expr="manage_addProperty(name='foo',value='bar',
type='string')"

hope that helps,
-- 
-mindlace-
Zopatista Community Liason

___
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] (no subject)

2000-10-17 Thread Robert Joseph Roos

I want to create a large number of properties for a Zclass.
My Zclass has a propertysheet named Schedule.

I've tried stuff like this:

dtml-with propertysheets
dtml-with common
dtml-with Schedule
manage_addProperty(name='foo', value='bar', type='string')
/dtml-with
/dtml-with
/dtml-with


The dtml-with's don't get an error, so I must be popping namespaces on
properly.  But the manage_addProperty always results in:

invalid attribute name, "manage_addproperty(name", for tag dtml-call
manage_addProperty(name='foo', value='bar', type='string'), on
line 10 of makeSched


=Rob==
J=
=Roos=


And more and more, as I see all these prisons going up,
and everybody being sent off to prison, with three strikes
and so on, they are preparing, really, for a showdown with
the American people. They're already talking about housing 
for minor drug offenders the old Army camps that are being 
shut down. To pen them in. More animal farming. The animals
are going to turn one day and bite. And even now, perhaps, 
as we are chatting, there is some young boy or girl who will
grow up and overthrow this government. Because it has 
overthrown our old republic; it seems to be doing its
best to overthrow our Bill of Rights and the Constitution ...

-Gore Vidal, novelist, essayist, and cousin of Al Gore
 1996 interview on "We the People" with Jerry Brown
 www.wtp.org/radio/transcripts/tr960708.html


___
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] (no subject)

2000-10-17 Thread Eric Walstad

Hi Rob,
I'm a newbie, but I just finished doing what you are trying to do.  Here's
how I did it:
Product name: NewsItem
ZClass: CNewsItem
Property Sheet: NewsProperties

In the BuildNews dtml method:
dtml-call "REQUEST.set('ts', ZopeTime())"
dtml-call "REQUEST.set('id', _.str(_.int(ts)))"

dtml-with "manage_addProduct['NewsItem']"
  dtml-call "CNewsItem_add(_.None, _, NoRedir=1)"
/dtml-with

  dtml-with "_.getitem(REQUEST['id']).propertysheets.NewsProperties"
dtml-call "manage_changeProperties({
  'PostedBy' : REQUEST['PostedBy'],
  'email' : REQUEST['email'],
  'Title' : REQUEST['Title'],
  'Content' : REQUEST['Content'],
  'Expires' : REQUEST['Expires'],
  'IconPath'  : REQUEST['IconPath'],
  'DetailURL'  : REQUEST['DetailURL'],
  'DetailDescription'  : REQUEST['DetailDescription']})"
  /dtml-with

dtml-call "RESPONSE.redirect(URL2)"

Hope it helps.

Eric.

// I want to create a large number of properties for a Zclass.
// My Zclass has a propertysheet named Schedule.
//
// I've tried stuff like this:
//
// dtml-with propertysheets
// dtml-with common
// dtml-with Schedule
// manage_addProperty(name='foo', value='bar', type='string')
// /dtml-with
// /dtml-with
// /dtml-with
//
//
// The dtml-with's don't get an error, so I must be popping namespaces on
// properly.  But the manage_addProperty always results in:
//
// invalid attribute name, "manage_addproperty(name", for tag dtml-call
// manage_addProperty(name='foo', value='bar', type='string'), on
// line 10 of makeSched
//
//
// =Rob==
// J=
// =Roos=


___
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] (no subject)

2000-10-11 Thread Robert Joseph Roos

I tried to delete a product from the Control Panel.  The particular
prodcut in question is the Demo Portal from ZopePTK, version 0.8,
which I mistakenly imported into Zope 2.1.something.

In any case, I get the following error:

  Zope Error

  Zope has encountered an error while publishing this resource. 

  Error Type: ImportError
  Error Value: No module named PropertiesTool

What exactly is going on here?  Why the heck does Zope try to 'publish'
something before deleting it anyway?

Thanks for your help, from an aspiring newbie!

=Rob==
J=
=Roos=

If I don't know I don't know, I think I know. 
If I don't know I know, I think I don't know.

R.D. Laing


___
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] (no subject)

2000-10-10 Thread Dieter Maurer

Chris Withers writes:
  Toby Dickenson wrote:
   Those people were concerned that too many things were exposed via
   ZPublisher also My interpretation was that the issue is one of
   access control, not publishing protocol.
  
  I think the issue is that you can't limit the visibility of objects
  right now.
   but there doesn't appear to be any easy way to say "right,
  I want this object exposed for reading and writing via FTP and reading
  via HTTP, while this one shouldn't be URL traversable but I'd like to
  edit it via WebDAV and this method is for use via XML-RPC but really
  shouldn't be visible anywhere else.)
I agree with Toby:

  Unless there are drastic differences in capabilities for protocols,
  we should focus on access/visibility independent of protocol.

  To get a feeling what I mean with drastic differences:

When SOAP access would allow me to "attack" (hack, espionage,
steal, or whatever) a Zope site in some minutes when
the same attack would take years via HTTP, then we
should be concerned with protocol specific forms of restrictions.

However, as Toby pointed out, up to now I can do as
bad things via HTTP as I can do with any other protocols.

   This is because the thing which makes
  the problem hard is that something like standard_html_header wants to be
  editable by Managers TTW, which means it also has to be visible TTW.
  However, it's probably not something you want exposed to anonymous
  users, especially as a TTW enitity in its own right. objectIds is my
  other favourite example ;-)
I think, this could be easily achieved:

  *  provide a "version" of "objectIds" that filters according to
 authorization. It would return the list of id's for objects
 I am allowed to see.

  *  This would not yet cover the case of "standard_html_header"
 and other presentation "components" (that should not generally be
 seen as independent entities).

 To handle this case, a different permission would be necessary
 to distinguish between TTW use and use from inside the presentation
 machinery (DTML, Templates, whatever).
 An "URL traversable" permission, as suggested by Chris, seems
 to fit the bill.


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 )




[Zope] (no subject)

2000-09-27 Thread Luciano Caroti

Hi,
I would like to build a repository for dowloading software in Zope. The user
need to register and then I send him an URL inside email to access for
downloading file, but:

How can I automate the process of authentication and selective downloading,
is there an example or have you any website that explain this type of issue.
Thank you in advance .
Luciano Caroti



___
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] (no subject)

2000-09-23 Thread Brian Hickman

I am trying to build my first ZClass.  Actorclass inherits from classes
Object Manager and Catalogue Aware.

In  Product Management at /Control_Panel / Products I created a product with
id="LegalObjects".  I have one ZClass in the product.  The ZClass has
Id="Actorclass", title="Actor Class for Legal Objects", metaname="Actor".

Actorclass_addform points to the dtml method "Actorclass_add" with the
following line form action="Actorclass_add".

The code for the dtml method "Actorclass_add" is as follows:

HTML
HEADTITLEAdd Actorclass/TITLE/HEAD
BODY BGCOLOR="#FF" LINK="#99" VLINK="#55"

dtml-with "Actorclass.createInObjectManager(REQUEST['Id'], REQUEST)"
dtml-call "propertysheets.Person.manage_editProperties(REQUEST)"
/dtml-with

dtml-if NoRedir
dtml-else

dtml-if DestinationURL
dtml-call "RESPONSE.redirect(DestinationURL+'/manage_workspace')"
dtml-else
dtml-call "RESPONSE.redirect(URL2+'/manage_workspace')"
/dtml-if
/dtml-if

/body
/html

The property sheet "Person" is a propertysheet of the ZClass "Actorclass".
It contains the same named variables submitted by Actorclass_addform.

I go to Zope's root, select "Actor" from the list of available objects.  The
Actorclass_addform comes up.  When I submit the completed form, Zope returns
an error report, informing me that Zope has encountered an error while
publishing this resource.

Error Type: NameError
Error Value: Actorclass

"This resource may be trying to reference a nonexistent object or variable
Actorclass."


!--
Traceback (innermost last):
  File E:\Zope\Test22\lib\python\ZPublisher\Publish.py, line 222, in
publish_module
  File E:\Zope\Test22\lib\python\ZPublisher\Publish.py, line 187, in publish
  File E:\Zope\Test22\lib\python\Zope\__init__.py, line 221, in
zpublisher_exception_hook
(Object: RoleManager)
  File E:\Zope\Test22\lib\python\ZPublisher\Publish.py, line 171, in publish
  File E:\Zope\Test22\lib\python\ZPublisher\mapply.py, line 160, in mapply
(Object: Actorclass_add)
  File E:\Zope\Test22\lib\python\ZPublisher\Publish.py, line 112, in
call_object
(Object: Actorclass_add)
  File E:\Zope\Test22\lib\python\OFS\DTMLMethod.py, line 167, in __call__
(Object: Actorclass_add)
  File E:\Zope\Test22\lib\python\DocumentTemplate\DT_String.py, line 502, in
__call__
(Object: Actorclass_add)
  File E:\Zope\Test22\lib\python\DocumentTemplate\DT_With.py, line 133, in
render
(Object: Actorclass.createInObjectManager(REQUEST['Id'], REQUEST))
  File E:\Zope\Test22\lib\python\DocumentTemplate\DT_Util.py, line 337, in
eval
(Object: Actorclass.createInObjectManager(REQUEST['Id'], REQUEST))
(Info: REQUEST)
  File lt;stringgt;, line 0, in ?
NameError: (see above)

--

I am trying to follow the beehive GmbH Z Class tutorial Release 1.1.  After
many tries, I conclude I am missing something obvious that will prevent
success until it is identified and overcome.

I am using Zope version 2.2 under Windows NT 4.0, service pack 6.

Any suggestions on what I am doing wrong are appreciated.  I am sorry I can
not identify my mistake.

Thank you for any assistance.

Brian

The Law Office of Brian Hickman
P.O. Box 1985
Woodinville, WA 9802
Telephone: (425) 482-0300


___
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] Re: Mailhost problems (was: [Zope] (no subject))

2000-09-18 Thread Dieter Maurer

"Suhail Murtaza"  writes:
  hello sir...
  Thanx for responding.
  i have tried all the things ur goodself mentioned and
  tried it again today after reading ur mail..but somehow
  couldnt come up with success..
There is an essential thing with "dtml-sendmail".
The header fields must not be preceeded with white space!

Otherwise, I do not have more ideas.


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 )




[Zope] (no subject)

2000-09-11 Thread Matthew Burleigh

ignore
-- 
- Matthew Burleigh
- Systems Administrator, Digital Creations - publishers of Zope.
- (888)344-4332 -- http://www.digicool.com - 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 )




[Zope] (no subject)

2000-09-04 Thread neeloy_saha

Hi all,

I am getting the following error when i try to install the portal toolkit
with the ' experimental login manager support'.
I am using the zpatterns version : ZPatterns-0-4-1snap1and demo portal :
0.8.2 and other products. If I create the portal with no initail member then
i am able to have a portal with login manager support. But then after I have
installed the portal I am unable to add a member. ??

Can i have a working snapshot of the portal toolkit with the login manager
for  a windows version or probably a direction as to how to go abt fixing
the above problem??

-neeloy


=
Error Type: NameError
Error Value: client
File C:\Program Files\WebSite\lib\python\Products\ZPatterns\DataSkins.py,
line 377, in _v_currentSheets (Object: wqeqw) NameError: (see above) 

=
Traceback (innermost last): File
C:\PROGRA~1\WebSite\lib\python\ZPublisher\Publish.py, line 222, in
publish_module 
File C:\PROGRA~1\WebSite\lib\python\ZPublisher\Publish.py, line 187, in
publish 
File C:\PROGRA~1\WebSite\lib\python\Zope\__init__.py, line 221, in
zpublisher_exception_hook (Object: RoleManager) 
File C:\PROGRA~1\WebSite\lib\python\ZPublisher\Publish.py, line 171, in
publish File 
C:\PROGRA~1\WebSite\lib\python\ZPublisher\mapply.py, line 160, in mapply
(Object: Portal_add) File 
C:\PROGRA~1\WebSite\lib\python\ZPublisher\Publish.py, line 112, in
call_object (Object: Portal_add) 
File C:\PROGRA~1\WebSite\lib\python\OFS\DTMLMethod.py, line 167, in __call__
(Object: Portal_add) 
File C:\PROGRA~1\WebSite\lib\python\DocumentTemplate\DT_String.py, line 502,
in __call__ (Object: Portal_add) 
File C:\PROGRA~1\WebSite\lib\python\DocumentTemplate\DT_With.py, line 146,
in render (Object: Portal.createInObjectManager(REQUEST['id'], REQUEST))
File C:\PROGRA~1\WebSite\lib\python\DocumentTemplate\DT_Util.py, line 337,
in eval (Object: apply_wizard(REQUEST)) (Info: REQUEST) File string, line
0, in ? 
File C:\Program Files\WebSite\lib\python\Products\PTKDemo\Portal.py, line
261, in apply_wizard (Object: DemoPortalBase) 
File C:\Program
Files\WebSite\lib\python\Products\Membership\PersistentUserSource.py, line
63, in setMemberProperties (Object: wqeqw) File
C:\PROGRA~1\WebSite\lib\python\OFS\PropertySheets.py, line 607, in
__getitem__ (Object: Traversable) 
File C:\Program
Files\WebSite\lib\python\Products\ZPatterns\PropertySheets.py, line 11, in
__propsets__ (Object: Traversable) 
File C:\Program Files\WebSite\lib\python\Products\ZPatterns\DataSkins.py,
line 377, in _v_currentSheets (Object: wqeqw) NameError: (see above) 


___
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] (no subject)

2000-08-22 Thread George Osvald

Hello everyone!

My ISP where I have my web page, is running freeBSD 4.0. I do not know a lot
about it. I know how to use crontab to start ZOPE at certain time how ever
how do I use crontab to check on the script that is already running?
Starting ZOPE again when it's running produces an error message and I do not
know if that was a healthy solution.

to start it I would be using something like:

5   *   *   *   *   root./start

This would start the script every five minutes. Now how do I check if the
script is running after it's been started and if it wasn't to restart it
again. Can anyone help?

Regards,

George Osvald

Ps: I know about z2.pid. Neverthless I find ZOPE down quite often everytime
they do something at the ISP. I asked them what to do and they told me to
use crontab to check the script and restart it.




___
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] (no subject)

2000-08-14 Thread Bill Welch

I'm having trouble with nested dtml-in. The outer ZSQL returns the
coordinates of a zip code as zlat and zlong. The inner ZSQL takes
zlat and zlong as well as Range and Otype as arguments.  

When I run it I get
  Error Type: Bad Request
  Error Value: ['zlat', 'zlong']

If I hardwire the inner one with just zlat and zlong, I get
  Error Type: Bad Request
  Error Value: ['Range', 'Otype']

If I hardwire the inner one with all four keyword arguments it runs fine.

Here're the relevant lines from my DTML Doc:

dtml-in zipCoord
  dtml-var Rangedtml-var zlatdtml-var zlongdtml-var Otype
  dtml-in orgZipRadius

Trace line prints fine when all four arguments are hardwired or inner ZSQL
is commented out.

Bill.


___
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] (no subject)

2000-08-14 Thread Michel Houben

Hello,

I have a problem; How can I fix the date in Dutch, for example Vrijdag 12 
Augustus 2000 instead of Fruday 12 August 2000.

I hope you can help me with this problem.
Michel Houben


___
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] (no subject)

2000-08-07 Thread Casey Duncan

Simon Coles writes:
  We have binary files stored in Zope, for example Word documents (but
  could be any of a variety of document types).
 
  We would like to be able to index and search the contents of these
  files using ZCatalog. So if a Word file contains the word "Fred",
  then any search for "Fred" would include that file in the list of
  documents returned.

I have done something similar. I created a ZClass subclassing CatalogAware
and File. I added a property called text which is text indexed in a catalog.
When a Word document is added, a method I created uses the wvHtml utility to
convert the Word document to text and store it in the text property. It has
kind of a kludgey implementation at the moment, mostly because I want to
create a Python wrapper around the wv library, but it's documentation is
sketchy and I have other priorities at the moment. It does work though and
lets you search Word documents using a ZCatalog quite effectively (although
it only works for Word docs).

Check out wv at http://www.wvware.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 )




[Zope] (no subject)

2000-08-06 Thread Herring, William O.

I am new to using Zope, but have been succesfull at using a psql input
wizard to generate forms to dump data to a postgresql table.  However, I
have a dilema.  I would like to generate a form that can dump multiple
inserts to a variable, say x1 into a table.  However, there is an additional
variable, x2 that would have to be only entered once and would be the same
for every record for which a different x1 is entered.  I would like the user
to enter up to 50 records for x1.  Looking at dtml syntax it seems the
dtml-in should do this.  Could anyone point me to any examples or provide
some help?

___
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] (no subject)

2000-08-03 Thread weboats


Greetings,

Is there a limit to the number of objects that may appear in a product?

The goal is to be search engine friendly:

http://www.myserver.com/us/ca/San_Francisco/mycategory/index_html

/myroot
  /us
/mycategory


Would it be unreasonable to have 42620 folders (one for each US city and town) in a 
zclass?

Regards,

Kevin Smith

___
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] (no subject)

2000-07-28 Thread Dieter Maurer

Subject: Potential tree bug (was: Re: [Zope] dtml-tree question)
In-Reply-To: [EMAIL PROTECTED]
X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs  Lucid
Message-ID: [EMAIL PROTECTED]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII

Jonothan Farr writes:
  What is the difference between using the dtml-tree tag in a dtml method and
  using it in a dtml document? I have code that works perfectly in a dtml method
  but when I try the exact same code in a dtml document it doesn't display
  anything.
During rendering, the acquisition mode of a DTMLDocument is
changed.

There are too acquisition modes: "implicit" and "explicit".
For implicit acquisition, an attribute access "o.a"
automatically searches "a" in the acquisition context of "o", too,
if it cannot be found in "o".
For explicit acquisition, the attribute access "o.a" looks
only in "o". However, the method "aq_acquire" can be used
to extend the search over the acquisition context.

Usually, both DTMLMethod and DTMLDocument use implicit acquisition.
DTMLDocument, however, renders with its explicit acquisition
variant. This does not affect DTML code, because it uses
"aq_aquire" for attribute access.
However, unaware Python code may get strange effects.

In your case, the tree code uses "hasattr(self,args['branches'])" to
test whether the branches method exists.
This fails, because due to explicit acquisition only,
your SQL method in the parent is no longer seen automatically.


Probably, this is a bug. But maybe, it is a feature.


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 )




[Zope] (no subject)

2000-07-27 Thread Derouin . C

hi,
do you know any zope's competitors ?
Kate


___
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] (no subject)

2000-07-26 Thread Uros Midic

I'm trying to rewrite my ZClass as a python product.

In the ZClass I uploaded an applet (e.g. called MyApplet.class) in the
methods management screen, so that another method in the same ZClass could
reference it simply with APPLET CODE="MyApplet.class" (both the method and
the applet always had the same base URL, which was the object's URL).

Is there a way to store the applet file (MyApplet.class) in the python
product's folder and serve it so that its URL would be: object's
URL/MyApplet.class   ?

Uros



___
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] Tim's Gripe Of The Week -- was: [Zope] (no subject)

2000-07-18 Thread Bill Anderson

Tim Cook wrote:
 
 Hi all,
 
 I have given myself permission to post this gripe.
 Thank You g
 
 While I do use the list archives and I try to get others that are
 new to Zope to do the same.  I have a gripe for the Zen Masters.
 It's the subject line above.
 
 Granted most of the "No Subject" mail starts with a newbie
 question.  That doesn't mean you have to let it ride like that.
 Simply do what I did above.  WHY?


One of my gripes is the subject line too. In fact, I nearly always
ignore (no subject) posts. Seems to me it should not be too difficult to
make Mailman reject posts with that subject, with a message indicating
the reason.

I'll leave whether or not it _should_ be done as an excercise for the
reader

--
Do not meddle in the affairs of sysadmins, for they are easy to annoy,
and have the root password.

___
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] (no subject)

2000-07-17 Thread R. David Murray

On 14 Jul 2000, Karl Anderson wrote:
 __bobo_traverse__ is another attribute that the object may have to
 drive the publishing process, but I haven't needed to understand why
 it's useful yet :)

Isn't that where he'd hook in to do exactly what he wants?  To have
an (arbitrary) object "eat" subsequent URL elements as arguments
to operate upon.  Like ZSQLMethods do.

I think there's a howto on this somewhere.  And I think I remember
reading that it was a lot easier to do under 2.2.

--RDM


___
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] (no subject)

2000-07-17 Thread Chris Withers

"Leichtman, David J" wrote:
 I've previously been a Perl programmer. I did a lot of stuff where I would
 have multiple links with different options.
 Ex.
 
 a href="/path/script.pl/1234"1234/abr
 a href="/path/script.pl/2345"2345/abr

You can do this and more with a SiteAccess access rule and modifying the
remaining traversal stack. It's a REQUEST variable but the name escapes
me right now...

However, I'm planning to do a PathHandler product to do just this as
soon as I get to grips with Zope 2.2...

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] Tim's Gripe Of The Week -- was: [Zope] (no subject)

2000-07-17 Thread Tim Cook

Hi all,

I have given myself permission to post this gripe.
Thank You g

While I do use the list archives and I try to get others that are
new to Zope to do the same.  I have a gripe for the Zen Masters. 
It's the subject line above.

Granted most of the "No Subject" mail starts with a newbie
question.  That doesn't mean you have to let it ride like that. 
Simply do what I did above.  WHY?

Once your words are immortalized in the archives they carry great
value, IF there is a subject line that makes sense.  Otherwise
it's just one more in the list each month that say "(no
subject)".  How sad that you would value you efforts at such a
low mark. 

I'd like to thank you all in advance for taking that extra 45
seconds to add or change to the appropriate subject line.  It
makes the archives that much more useful.

BTW: Thanks for all the help everyone.

-- Tim Cook --
"The more I learn, the more I realize I don't know, 
and the more I realize I don't know, the more I want to learn."
--Einstein

___
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] (no subject)

2000-07-14 Thread Karl Anderson

"Leichtman, David J" [EMAIL PROTECTED] writes:

 I've previously been a Perl programmer. I did a lot of stuff where I would
 have multiple links with different options.
 Ex.
 
 a href="/path/script.pl/1234"1234/abr
 a href="/path/script.pl/2345"2345/abr
 
 Then, in script.pl, I would pick up the extra info on the other side from
 $PATH_INFO.
 
 The problem in Zope is that there is no "end" to the address. Serving from
 Apache, it knows that the .pl extension is the end of the path. If there's a
 '/' and more after it, it will push it to PATH_INFO. So how do you do this
 in Zope? Because it's object names instead of paths in the request, how do
 you send optional, additional info through the request as above?

You've answered your own question.  There is no end in the middle of
the path.  The publisher picks off each part of the URL from the top
down, and at each step, it asks that object if it can provide the next
one.  Look at traverse() in lib/python/ZPublisher/BaseRequest.py, or
step through the publishing process - see
http://www.zope.org/Members/michel/HowTos/TheDebuggerIsYourFriend.

At each step, the publisher checks to see if the parent has the child
as an attribute, and if so, continues with the object at that
attribute as the parent (so long as other conditions are met, like
permissions).

You can see this in python products:

class Foo:
 "a python product"
 ...
 index_html = HTMLFile("someDTMLFile", globals())
 index2_html = "HEADBODY..."
 index3_html = aFunction(mood, phaseOfMoon)

Since getattr(path.to.foo, "index_html") reaches that html file,
ZPublisher.Zope("/path/to/foo/index_html") publishes that file.
index_html could be a (badly named) method instead, which has other
attributes.  It could decide what to publish or how to allow
the publisher to traverse the path programmatically.

You don't need extra rules that look for foo.pl in the URL (what a
kluge - enforce a perl script to sit there until URLs are no more!).
For your example, script.pl could have two subobjects or other
attributes, 1234 and 2345, and the default index_html.  Or script.pl
could be a ZClass with those three as DTML methods or other
subobjects.

__bobo_traverse__ is another attribute that the object may have to
drive the publishing process, but I haven't needed to understand why
it's useful yet :)

-- 
Karl Anderson  [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 )




[Zope] (no subject)

2000-07-13 Thread Leichtman, David J

I've previously been a Perl programmer. I did a lot of stuff where I would
have multiple links with different options.
Ex.

a href="/path/script.pl/1234"1234/abr
a href="/path/script.pl/2345"2345/abr

Then, in script.pl, I would pick up the extra info on the other side from
$PATH_INFO.

The problem in Zope is that there is no "end" to the address. Serving from
Apache, it knows that the .pl extension is the end of the path. If there's a
'/' and more after it, it will push it to PATH_INFO. So how do you do this
in Zope? Because it's object names instead of paths in the request, how do
you send optional, additional info through the request as above?

I know there has to be a way to easily do this, I just can't figure it out.


___
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] (no subject)

2000-07-13 Thread Chris McDonough

This is a job for __bobo_traverse__ (yes, I know, unlikely name, but
what has now become Zope used to be named Bobo).

Without using __bobo_traverse__, which is defined as a method on the
object which you access via traversal, you can't easily use "extra" URL
elements as parameters to pass to the object.

An sample __bobo_traverse__ method:

def __bobo_traverse__(self, REQUEST, name):
""" 'name' here is the remainder of the URL """
return self._data[name]

It might be easier in your case if you're not used to python to
construct your own Zope objects in which you can place a
__bobo_traverse__ method to just use query string arguments instead,
which are available through the REQUEST object.

 -Original Message-
 From: Leichtman, David J [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, July 13, 2000 2:27 PM
 To: '[EMAIL PROTECTED]'
 Subject: [Zope] (no subject)
 
 
 I've previously been a Perl programmer. I did a lot of stuff 
 where I would
 have multiple links with different options.
 Ex.
 
 a href="/path/script.pl/1234"1234/abr
 a href="/path/script.pl/2345"2345/abr
 
 Then, in script.pl, I would pick up the extra info on the 
 other side from
 $PATH_INFO.
 
 The problem in Zope is that there is no "end" to the address. 
 Serving from
 Apache, it knows that the .pl extension is the end of the 
 path. If there's a
 '/' and more after it, it will push it to PATH_INFO. So how 
 do you do this
 in Zope? Because it's object names instead of paths in the 
 request, how do
 you send optional, additional info through the request as above?
 
 I know there has to be a way to easily do this, I just can't 
 figure it out.
 
 
 ___
 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] (no subject)

2000-07-13 Thread Chris McDonough

 Thanks for responding so quickly.
 
 I'm not sure I understand. The problem here, and the reason I 
 can't simply
 use a form or a session, is that I want to set a series of 
 links that send
 different options to the same method. I guess it's the 
 equivalent of passing
 args to a dtml method (which you can't do).
 It's the method I always used doing Perl. Adding stuff on to 
 the URL is like
 the ghetto-style web-based ARGV.

Well.. unfortunately, this isn't straight CGI nor Perl, and the URI
namespace never "ends" in Zope.  The way to pass args to DTML methods is
via a form post or via a link with a query string (or a form get).  The
publisher "eats up" the rest of the URL and returns a Not Found error if
you try to tack on indiscriminate things after a method name.  Sorry.
Your option is to write a custom object that handles this via
__bobo_traverse__.

I'm still not sure why you can't just do:

a href="my/method?a=1"1/a

as opposed to:

a href="my/method/1"1/a

 
 I don't really get what __bobo_traverse__ is or how it would help. The
 problem isn't with grabbing stuff on the other end. If I can 
 just get stuff
 to PATH_INFO, I can read PATH_INFO on the other side. The 
 problem is that I
 don't know how to variably write PATH_INFO for different 
 links. I know how
 to do it really easily in Perl.

I would search the mail archives for __bobo_traverse__ if you want to
know more.  I'm not even sure if Zope exposes PATH_INFO in REQUEST.  It
might.  I doubt it would help if it did, however.

___
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] (no subject)

2000-06-29 Thread Hamish Lawson

Jim Hebert wrote:

 Is there a reason you can't do this by just messing with the 
 namespaces stack, ie, adding additional folders to it?

I had been latterly thinking this myself and set about trying to do it,
but being new to Zope development, didn't have much success! I presume
it involves modifying the folders PARENTS list, but I wasn't quite sure
how to do that.

Hamish Lawson


=
Hamish Lawson  [EMAIL PROTECTED]


Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie

___
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] (no subject)

2000-06-26 Thread Bill Anderson

"Jay, Dylan" wrote:
 
  -Original Message-
  From: Marco Mariani [mailto:[EMAIL PROTECTED]]
  Sent: Friday, June 23, 2000 9:54 PM
  To: Jay, Dylan; [EMAIL PROTECTED]
  Subject: Re: [Zope] (no subject)
 
 
  On Fri, Jun 23, 2000 at 04:32:39PM +1000, Jay, Dylan wrote:
 
   It seems to me that a few tweaks to the dtml-if syntax
  would be beneficial
  
   something like the following would certainly clean up some
  of the logic I
   end up writing.
  
   dtml-if X
a href="a_url"
   dtml-always
link text
   dtml-else
(no link currently available)
   dtml-then
/a
   /dtml-if
 
  dtml-if X
 a href="a_url"
 link text
 /a
  dtml-else
 link text
 (no link...)
  /dtml-if
 
 yes but the repitition of "link text" could be a real pain if "link_text" is
 big. Repitition is always a maintance nightmare.


If it is, make it a method or attribute.

dtml-if X
   a href="a_url" dtml-var linktext/a
dtml-else
   dtml-var linkText (No Link Available)
/dtml-if X

You could make the links objects, such that:
dtml-in "objectValues('Link Object')"
  br a href="dtml-var linkURL" dtml-var linkText /a
dtml-else
  p Sorry, no links available at this time.
/dtml-if Link Objects

The real question is why have link text that doesn't link... ;)

___
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] (no subject)

2000-06-26 Thread ethan mindlace fremen

Luc Tonin wrote:
 
 does anybody know how to have some statistic about each web pages
 under zope?? each pages is da result of query on a mysql database !
 any id ???
 thx by advance

I don't know if this is what you mean, but you can use webalizer or
another statistics package on the log file created by zope. If you run
it behind apache, you can use the log file apache creates.

hope that helps,
-- 
ethan mindlace fremen
Zopatista Community Liason

___
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] (no subject)

2000-06-26 Thread Dieter Maurer

Jay, Dylan writes:
  ...
  Perhaps another example will prove its uglyness.
  
   dtml-if "REQUEST.has_key('some_value') and this().has_key(some_value) and
  _[some_value] == 'a property value' and
  AUTHENTICATED_USER.has_role('Manager')"
a href="a_url"
   /dtml-if
link text
   dtml-if "REQUEST.has_key('some_value') and this().has_key(some_value) and
  _[some_value] == 'a property value' and
  AUTHENTICATED_USER.has_role('Manager')"
 /a
   dtml-else
 (no link available)
   /dtml-if
  
  
  or
  
  dtml-if "REQUEST.has_key('some_value') and this().has_key(some_value) and
  _[some_value] == 'a property value' and
  AUTHENTICATED_USER.has_role('Manager')"
a href="a_url"
  dtml-always
link text
  dtml-else
(no link currently available)
  dtml-then
/a
  /dtml-if
  
  Now which looks cleaner?
You could use "dtml-let" to avoid the (admittedly) ugly
repetition of the condition.


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] (no subject)

2000-06-26 Thread Jay, Dylan

 -Original Message-
 From: Marco Mariani [mailto:[EMAIL PROTECTED]]
 Sent: Monday, June 26, 2000 6:39 PM
 To: Jay, Dylan
 Subject: Re: [Zope] (no subject)
 
 
 On Mon, Jun 26, 2000 at 02:56:39PM +1000, Jay, Dylan wrote:
 
   dtml-if X
  a href="a_url"
  link text
  /a
   dtml-else
  link text
  (no link...)
   /dtml-if
  
  yes but the repitition of "link text" could be a real pain 
 if "link_text" is
  big. Repitition is always a maintance nightmare.
 
 So is dtml-always.

No thats not the same thing. If I have a complex expression for X and it
needs to be changed then it will have to be changed in two places. If I
forget to update it in both places I would create a bug. My proposal
elegently avoids this problem.


 
   dtml-var "['A HREF=',''][not X]"
  link text
   dtml-var "['/A','(no link...)'][not X]"
  
  I've no idea about this syntax. Does it work?
 
 Yes it does. "not X" is the array index, 0 or 1.

oic. Thats nasty. Actually you can just write that dtml-var "not X and 'A
HREF='" which is a bit cleaner.

 
 
 -- 
 "This company has performed an illegal operation and will be 
 shut down.
  If the problem persists, contact your vendor or appeal to a 
 higher court."
  - Signal11 on slashdot
 

___
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] (no subject)

2000-06-26 Thread Jay, Dylan

 -Original Message-
 From: Dieter Maurer [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, June 27, 2000 3:31 AM
 To: [EMAIL PROTECTED]
 Cc: '[EMAIL PROTECTED]'
 Subject: RE: [Zope] (no subject)
 
 
 Jay, Dylan writes:
   ...
   Perhaps another example will prove its uglyness.
   
dtml-if "REQUEST.has_key('some_value') and 
 this().has_key(some_value) and
   _[some_value] == 'a property value' and
   AUTHENTICATED_USER.has_role('Manager')"
 a href="a_url"
/dtml-if
 link text
dtml-if "REQUEST.has_key('some_value') and 
 this().has_key(some_value) and
   _[some_value] == 'a property value' and
   AUTHENTICATED_USER.has_role('Manager')"
  /a
dtml-else
  (no link available)
/dtml-if
   
   
   or
   
   dtml-if "REQUEST.has_key('some_value') and 
 this().has_key(some_value) and
   _[some_value] == 'a property value' and
   AUTHENTICATED_USER.has_role('Manager')"
 a href="a_url"
   dtml-always
 link text
   dtml-else
 (no link currently available)
   dtml-then
 /a
   /dtml-if
   
   Now which looks cleaner?
 You could use "dtml-let" to avoid the (admittedly) ugly
 repetition of the condition.

You could but this is something I end up doing a lot esp with the way
hyperlinks work. Syntax to help would make it cleaner. It is not to much of
a pollution of the name space as 'always' and 'then' would only be active
inside an if statement.

___
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] (no subject)

2000-06-25 Thread Jay, Dylan

 -Original Message-
 From: Shalabh Chaturvedi [mailto:[EMAIL PROTECTED]]
 Sent: Friday, June 23, 2000 5:19 PM
 To: Jay, Dylan; [EMAIL PROTECTED]
 Subject: Re: [Zope] (no subject)
 
 
 Hi:
 
 Could you give an equivalent using the current dtml tags?

dtml-if X
 a href="a_url"
/dtml-if
 link text
dtml-if X
 /a
dtml-else
 (no link currently available)
/dtml-if

The annoying things is that X has to be repeated which could be a large
expression. The other option would be 

dtml-let cache_X="X"
dtml-if cache_X
 a href="a_url"
/dtml-if
 link text
dtml-if cache_X
 /a
dtml-else
 (no link currently available)
/dtml-if
/dtml-let

but anyway you look at it its still uglier.

 
 - Original Message - 
 From: Jay, Dylan [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, June 23, 2000 12:02 PM
 Subject: [Zope] (no subject)
 
 
  Here's a feature I just submitted to the collector.
  
  It seems to me that a few tweaks to the dtml-if syntax 
 would be beneficial
  
  something like the following would certainly clean up some 
 of the logic I
  end up writing.
  
  dtml-if X
   a href="a_url"
  dtml-always
   link text
  dtml-else
   (no link currently available)
  dtml-then
   /a
  /dtml-if
  
  What do people think? I've not implemented it but I 
 wouldn't imagine its
  very hard.
  
  ___
  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] (no subject)

2000-06-25 Thread Jay, Dylan

 -Original Message-
 From: Marco Mariani [mailto:[EMAIL PROTECTED]]
 Sent: Friday, June 23, 2000 9:54 PM
 To: Jay, Dylan; [EMAIL PROTECTED]
 Subject: Re: [Zope] (no subject)
 
 
 On Fri, Jun 23, 2000 at 04:32:39PM +1000, Jay, Dylan wrote:
 
  It seems to me that a few tweaks to the dtml-if syntax 
 would be beneficial
  
  something like the following would certainly clean up some 
 of the logic I
  end up writing.
  
  dtml-if X
   a href="a_url"
  dtml-always
   link text
  dtml-else
   (no link currently available)
  dtml-then
   /a
  /dtml-if
 
 dtml-if X
a href="a_url"
link text
/a
 dtml-else
link text
(no link...)
 /dtml-if

yes but the repitition of "link text" could be a real pain if "link_text" is
big. Repitition is always a maintance nightmare.

 
 Now what's cleaner and easier to the eyes?
 
 Or for the obfuscated DTML context:
 
 dtml-var "['A HREF=',''][not X]"
link text
 dtml-var "['/A','(no link...)'][not X]"

I've no idea about this syntax. Does it work?


 
 :-)
 
 
 -- 
 "This company has performed an illegal operation and will be 
 shut down.
  If the problem persists, contact your vendor or appeal to a 
 higher court."
  - Signal11 on slashdot
 

___
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] (no subject)

2000-06-25 Thread Jay, Dylan

 -Original Message-
 From: Dieter Maurer [mailto:[EMAIL PROTECTED]]
 Sent: Saturday, June 24, 2000 8:11 AM
 To: Jay, Dylan
 Cc: '[EMAIL PROTECTED]'
 Subject: Re: [Zope] (no subject)
 
 
 Jay, Dylan writes:
   Here's a feature I just submitted to the collector.
   
   It seems to me that a few tweaks to the dtml-if syntax 
 would be beneficial
   something like the following would certainly clean up some 
 of the logic I
   end up writing.
   
   dtml-if X
a href="a_url"
   dtml-always
link text
   dtml-else
(no link currently available)
   dtml-then
/a
   /dtml-if
   
   What do people think? I've not implemented it but I 
 wouldn't imagine its
   very hard.
 I am not in favor. It is only slightly shorter/more readable
 than the standard solution but requires two additional keywords.
 
 In standard Zope, your example reads:
 
 dtml-if X
   a href="a_url"
 /dtml-if
 link text
 dtml-if X
   /a
 dtml-else
   (no link available)
 /dtml-if

Perhaps another example will prove its uglyness.

 dtml-if "REQUEST.has_key('some_value') and this().has_key(some_value) and
_[some_value] == 'a property value' and
AUTHENTICATED_USER.has_role('Manager')"
  a href="a_url"
 /dtml-if
  link text
 dtml-if "REQUEST.has_key('some_value') and this().has_key(some_value) and
_[some_value] == 'a property value' and
AUTHENTICATED_USER.has_role('Manager')"
   /a
 dtml-else
   (no link available)
 /dtml-if


or

dtml-if "REQUEST.has_key('some_value') and this().has_key(some_value) and
_[some_value] == 'a property value' and
AUTHENTICATED_USER.has_role('Manager')"
  a href="a_url"
dtml-always
  link text
dtml-else
  (no link currently available)
dtml-then
  /a
/dtml-if

Now which looks cleaner?

___
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] (no subject)

2000-06-23 Thread Shalabh Chaturvedi

Hi:

Could you give an equivalent using the current dtml tags?

Thanks,
Shalabh

- Original Message - 
From: Jay, Dylan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 23, 2000 12:02 PM
Subject: [Zope] (no subject)


 Here's a feature I just submitted to the collector.
 
 It seems to me that a few tweaks to the dtml-if syntax would be beneficial
 
 something like the following would certainly clean up some of the logic I
 end up writing.
 
 dtml-if X
  a href="a_url"
 dtml-always
  link text
 dtml-else
  (no link currently available)
 dtml-then
  /a
 /dtml-if
 
 What do people think? I've not implemented it but I wouldn't imagine its
 very hard.
 
 ___
 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] (no subject)

2000-06-23 Thread Marco Mariani

On Fri, Jun 23, 2000 at 04:32:39PM +1000, Jay, Dylan wrote:

 It seems to me that a few tweaks to the dtml-if syntax would be beneficial
 
 something like the following would certainly clean up some of the logic I
 end up writing.
 
 dtml-if X
  a href="a_url"
 dtml-always
  link text
 dtml-else
  (no link currently available)
 dtml-then
  /a
 /dtml-if

dtml-if X
   a href="a_url"
   link text
   /a
dtml-else
   link text
   (no link...)
/dtml-if

Now what's cleaner and easier to the eyes?

Or for the obfuscated DTML context:

dtml-var "['A HREF=',''][not X]"
   link text
dtml-var "['/A','(no link...)'][not X]"


:-)


-- 
"This company has performed an illegal operation and will be shut down.
 If the problem persists, contact your vendor or appeal to a higher court."
 - Signal11 on slashdot

___
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] (no subject)

2000-06-23 Thread Dieter Maurer

Jay, Dylan writes:
  Here's a feature I just submitted to the collector.
  
  It seems to me that a few tweaks to the dtml-if syntax would be beneficial
  something like the following would certainly clean up some of the logic I
  end up writing.
  
  dtml-if X
   a href="a_url"
  dtml-always
   link text
  dtml-else
   (no link currently available)
  dtml-then
   /a
  /dtml-if
  
  What do people think? I've not implemented it but I wouldn't imagine its
  very hard.
I am not in favor. It is only slightly shorter/more readable
than the standard solution but requires two additional keywords.

In standard Zope, your example reads:

dtml-if X
  a href="a_url"
/dtml-if
link text
dtml-if X
  /a
dtml-else
  (no link available)
/dtml-if


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 )




[Zope] (no subject)

2000-06-16 Thread Ron Bickers

Howdy all,

I discovered something bizarre that happens in my 2.1.4 and 2.2b1
installations.

I have a ZClass based on ObjectManager.  In an instance of the ZClass, I can
"Add" most of the available objects (DTML Documents, DTML Methods, User
Folder, MailHost to name a few).  However, for at least two items (TinyTable
and ZMySQL DB Connection), when I add them, they show up in the container
folder, not in the ZClass instance.  Then, if I check it to delete it, it
gives a "does not exist" error.  Upon refreshing the container folder, the
item still shows, but then I *can* delete it.  Equally interesting is that I
can Copy the item from the container folder and successfully Paste it into
the ZClass instance.  However, since ZMySQL DB Connections don't support
Copy/Paste, that won't work.

What's going on?  Is it a problem with my ZClass, the Product manage_add, or
Zope?  Or me?

___

Ron Bickers
Logic Etc, Inc.
[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] (no subject)

2000-06-07 Thread R. David Murray

On Tue, 6 Jun 2000, Alexandre A. Drummond Barroso wrote:
 We are posting e-mails about it on the list for a while and nobody answered,
 so I must think that nobody on Zope universe is using Oracle 8i (neither NT
 nor Linux Oracle 8i client).

I installed DCOracle for a client using 8i.  The only thing I recall
having to do that wasn't in the instructions was getting a copy of
a Setup file that worked with 8i, which I found posted to one of
the Zope mailing lists.  Other than that the installation was pretty
simple, and the Zope part was completely trivial (install package,
create connector, create ZSQL query, and go...)

This was under Debian Linux.

--RDM


___
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] (no subject)

2000-06-06 Thread Alexandre A. Drummond Barroso

You both had the same problem I have now: make Oracle 8i (in my case, Oracle
8.1.6) work with Zope.
DCOracle is working well (Makefile attached to this message) but ZOracle
isn't running yet.

We are posting e-mails about it on the list for a while and nobody answered,
so I must think that nobody on Zope universe is using Oracle 8i (neither NT
nor Linux Oracle 8i client).
There isn't any detailed documentation about it. The ZOracle installation
instructions are simple but, in my opinion, incomplete.

To solve this situation, I'm making a call to everybody that uses or wants
to use Zope with Oracle 8i. My goal is finally document the installation
process and make it work properly.

Please contact me ASAP.

Regards,

Alexandre A. Drummond Barroso.

 Makefile


[Zope] (no subject)

2000-06-06 Thread Anthony Baxter


 "Alexandre A. Drummond Barroso" wrote
 You both had the same problem I have now: make Oracle 8i (in my case, Oracle
 8.1.6) work with Zope.
 DCOracle is working well (Makefile attached to this message) but ZOracle
 isn't running yet.

You're doing it the difficult way - just use -lclntsh for the link line.

If you download the recent update to DCOracle, you should find it builds
out of the box.

Anthony

-- 
Anthony Baxter [EMAIL PROTECTED]   
It's never too late to have a happy childhood.


___
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] (no subject)

2000-06-06 Thread David Trudgett

At 2000-06-06 09:44 -0300, you wrote:

You both had the same problem I have now: make Oracle 8i (in my case, Oracle
8.1.6) work with Zope.
DCOracle is working well (Makefile attached to this message) but ZOracle
isn't running yet.

We are posting e-mails about it on the list for a while and nobody answered,
so I must think that nobody on Zope universe is using Oracle 8i (neither NT
nor Linux Oracle 8i client).
There isn't any detailed documentation about it. The ZOracle installation
instructions are simple but, in my opinion, incomplete.

To solve this situation, I'm making a call to everybody that uses or wants
to use Zope with Oracle 8i. My goal is finally document the installation
process and make it work properly.

Please contact me ASAP.

Hello Alexandre. We intend to use Oracle 8i (8.1.5) with Zope (on another 
machine). We haven't done anything about it yet, though. That will 
hopefully change in the near future. I'd be interested to know what 
problems you had...

David Trudgett


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