[Zope] MemoryError: out of memory

2011-01-26 Thread Jonathan Salazar Santos
T_In, line 703, in renderwob Module Products.MailHost.SendMailTag, line 114, in render Module Products.MIMETools.MIMETag, line 198, in render Module MimeWriter, line 177, in lastpart MemoryError: out of memory -- Lic. Jonathan Salazar Saludos, __

Re: [Zope] string formatting

2010-08-13 Thread Jonathan (dev101)
Something like: won’t work because you will turn B006 into B7 If you want to retain the leading zeros you will need to pad them. As Andreas said, this would be better done using a python script (which you can call from dtml you don’t have to use zpt). Jonathan From

Re: [Zope] unable to acquire commit lock

2010-02-24 Thread Jonathan (dev101)
Just a guess, but it looks like you are trying to get a transaction lock on a mysql table, so does the mysql table you are using have a storage engine that supports transactions (eg. InnoDB)? Jonathan From: zope-boun...@zope.org [mailto:zope-boun...@zope.org] On Behalf Of iarly selbir

Re: [Zope] generate unique user id, without cookies

2010-01-04 Thread Jonathan (dev101)
tool to look at the http headers that are sent/received). If you can't get cookies to work then you need to give users unique links (ie. embed their id in an html link) or force the users to log in. Jonathan ___ Zope maillist - Zope@zope.or

Re: [Zope] Finding unused products

2009-11-30 Thread Jonathan (dev101)
. You could also write a stand-alone python routine to access the zodb (.fs file) directly (should be faster than running a script through a running zope instance and maybe easier than working with pickles). Jonathan ___ Zope maillist - Zope@zope.org ht

Re: [Zope] Prevent a logger from writing to event.log

2009-10-16 Thread Jonathan (dev101)
at we can retrieve, in real-time, previous user actions which we then use to customize what is presented to the user). The advantage of "rolling your own" is that you can log whatever you want, in whatever format you need, whenever/wherever you need it. Jonathan __

Re: [Zope] [Zope-Annce] ZClasses resurrected

2009-10-05 Thread Jonathan (dev101)
ss patches (Dieter has provided a starting point, but what if Dieter "gets hit by a bus")? I have rewritten ZClass apps twice now, and it can be a serious PITA, but the peace-of-mind, ongoing product stability and maintainability was well worth it. Jonathan __

Re: [Zope] apache rules with zope

2009-09-04 Thread Jonathan (dev101)
- Original Message - From: "Thomas Bennett" To: "Jonathan (dev101)" Sent: Friday, September 04, 2009 4:09 PM Subject: Re: [Zope] apache rules with zope > I'm trying to serve the files on the underlying directories straight > through > apache wit

Re: [Zope] apache rules with zope

2009-09-04 Thread Jonathan (dev101)
rom > Zope. The Alias and Directory tags in httpd.conf are the same for all > four. > You don't usually access underlying file directories directly from zope unless you are using external methods or an add-on product like "ExtFile"

Re: [Zope] Problem with POST and text/xml (work-around)

2009-07-13 Thread Jonathan (dev101)
nvIfNoCase Content-Type "text/xml" XMLFLAG RequestHeader set Content-Type "application/xml" env=XMLFLAG Zope then sees "text/xml" requests as "application/xml" requests and the xml data can then be accessed via "REQUEST['B

Re: [Zope] Problem with POST and text/xml

2009-07-11 Thread Jonathan (dev101)
> -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Jonathan (dev101) wrote: >> Just out of curiosity I ran a test using content-type of >> 'application/xml' >> and zope does not raise the xmlrpc error (as it does with content-type of >> 'text/

Re: [Zope] Problem with POST and text/xml

2009-07-11 Thread Jonathan (dev101)
"Michael Haubenwallner" wrote in message news:4a5898f5.8040...@d2m.at... > > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Jonathan (dev101) wrote: >> I need to support a third party web service (which is not within my >> control) >> that

Re: [Zope] Problem with POST and text/xml

2009-07-11 Thread Jonathan (dev101)
th Grok is not something I really want to do!) Thanks, Jonathan ___ 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-anno

Re: [Zope] Problem with POST and text/xml

2009-07-11 Thread Jonathan (dev101)
- Original Message - From: "Michael Haubenwallner" To: Sent: Saturday, July 11, 2009 9:51 AM Subject: Re: [Zope] Problem with POST and text/xml > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Jonathan (dev101) wrote: >> I need to support a third par

Re: [Zope] Problem with POST and text/xml

2009-07-11 Thread Jonathan (dev101)
>- Original Message - >From: "Andreas Jung" >To: "Jonathan (dev101)" >Cc: >Sent: Friday, July 10, 2009 4:30 PM >Subject: Re: [Zope] Problem with POST and text/xml > > https://bugs.launchpad.net/zope2/+bug/373663 > > -aj > >

[Zope] Problem with POST and text/xml

2009-07-10 Thread Jonathan (dev101)
passing xml data within the POST request). Is there a way to get Zope to turn off this "xmlrpc assumption" so that my zope external method can process the xml data that is being passed? Thanks, Jonathan P.S. details of a wget session that illustrate the error being generate

Re: [Zope] Error packing database

2009-05-27 Thread Jonathan (dev101)
quite > large (7 GB). Should I rather pack the data base via shell and not using > the ZMI? What is the command to do so? Google "manage_pack". Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope *

Re: [Zope] define library path for python external method

2009-05-11 Thread Jonathan (dev101)
DIR) hth Jonathan ___ 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] auto login user

2009-04-30 Thread Jonathan (dev101)
If you are using a form-processor routine (ie. some routine which examines login id/pwd entered by user on a form), then you could send the "demo-ee" a link, which contains the id/pwd as url parameters, and directly calls the form processor routine. - Original Message - From: To: S

Re: [Zope] how to prevent URL access to an external method?

2009-04-28 Thread Jonathan (dev101)
Within the ExternalMethod you could check the ACTUAL_URL variable (in REQUEST) and if the name of the external method is found you could redirect the user to a "you're a baaad user" page. Jonathan - Original Message - From: "Pedro LaWrench" To: Sent: Tuesday

Re: [Zope] Trying ZODB with a background in RDBMS

2008-08-14 Thread Jonathan
er and return the highest ID found there - if you have a low-volume application you could skip the ID storage step and just look for the highest stored ID each time hth Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailma

Re: [Zope] getting post data from a webcam

2008-07-09 Thread Jonathan
- Original Message - From: "William Heymann" <[EMAIL PROTECTED]> To: Sent: Wednesday, July 09, 2008 7:23 AM Subject: Re: [Zope] getting post data from a webcam On Wednesday 09 July 2008, Jonathan wrote: You need to provide more details... try dumping the contents

Re: [Zope] getting post data from a webcam

2008-07-09 Thread Jonathan
cam does this). It was not sent with that kind of encoding at least not in any way I can tell. It was a webcam and all I could give it was a url to POST the data to and it did not submit it like a regular form. Maybe you send all variables of the request to fig

Re: [zope] ZCatalog question

2008-07-08 Thread Jonathan
- Original Message - From: "Jonathan Salazar Santos" <[EMAIL PROTECTED]> To: Sent: Tuesday, July 08, 2008 5:17 PM Subject: [zope] ZCatalog question Hi everybody I have a method that creates a Files and DTML Documents but I need to Index those news items to a ZC

[zope] ZCatalog question

2008-07-08 Thread Jonathan Salazar Santos
Scrips. How can I do to get indexed my new items in a zcatalog automatically? Some help will be appreciated. Regards, -- Jonathan Salazar Vista: http://jonathansalazar.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] ZCatalog : Searching Multiple Indexes : Returning One Result

2008-07-07 Thread Jonathan
ch may give you some ideas: context.Catalog({'keywordindex': ['Value1', 'Value2']}) Catalog returns me an OR search instead of an AND one Use "context.Catalog(keywordindex = {'query':[...], operator='and'})" when you want to use the "and"

[Zope] m2crypt in Zope 10

2008-06-20 Thread Jonathan Salazar Santos
FAILED -- saving rejects to file datatypes.py.rej It is the only file failed, the others one were fine. Some help will appreciate. -- Jonathan Salazar Vista: http://jonathansalazar.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman

Re: [Zope] Writing a file in ZMI using python script

2008-06-10 Thread Jonathan
script/template to build/display the results as and when they are required. Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/

Re: [Zope] centos

2008-05-13 Thread Jonathan
s. What error is being generated? Jonathan ___ 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] Making Zope stop storing old object versions

2008-05-08 Thread Jonathan
- Original Message - From: "Sinang, Danny" <[EMAIL PROTECTED]> To: "Jonathan" <[EMAIL PROTECTED]> Cc: Sent: Thursday, May 08, 2008 10:03 AM Subject: RE: [Zope] Making Zope stop storing old object versions How do I go about replacing a Catalog usin

Re: [Zope] Making Zope stop storing old object versions

2008-05-08 Thread Jonathan
like relstorage (where it depends on the RDBMS how it handles writes) Alternatively, you could just replace your Catalog with an external db such as MySQL (using zmysql database connections). Jonathan ___ Zope maillist - Zope@zope.org http://mail.z

Re: [Zope] disappearing external methods

2008-05-07 Thread Jonathan
- Original Message - From: "Garry Saddington" <[EMAIL PROTECTED]> To: Sent: Wednesday, May 07, 2008 12:06 PM Subject: Re: [Zope] disappearing external methods On Wednesday 07 May 2008 16:54, Jonathan wrote: - Original Message - From: "Garry Saddingt

Re: [Zope] disappearing external methods

2008-05-07 Thread Jonathan
- Original Message - From: "Jonathan" <[EMAIL PROTECTED]> To: "Garry Saddington" <[EMAIL PROTECTED]>; Sent: Wednesday, May 07, 2008 11:54 AM Subject: Re: [Zope] disappearing external methods - Original Message - From: "Garry Saddi

Re: [Zope] disappearing external methods

2008-05-07 Thread Jonathan
ows any better? We use centOS and have a lot of external methods (all working happily). Have you tried deleting the .pyc files associated with the external methods and then restarting zope? Jonathan ___ Zope maillist - Zope@zope.org ht

Re: [Zope] problem attach file / Zfile - more informations

2008-05-02 Thread Jonathan
_read_data ValueError: File not specified I don't know if this is the cause of your problem, but as of Zope 2.10 ZClasses are deprecated. Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross

Re: [Zope] ProgrammingError

2008-04-22 Thread Jonathan
RROR: RETURN cannot have a parameter in function returning void at or near "NONE" at character 1293 -- Trigger function up maintaining the search indicies on mm_ticket -- -- This trigger gets calleÑ MailManager is a third party product... you may find some assistance here: htt

Re: [Zope] type checking

2008-04-14 Thread Jonathan
is not number The 'same_type' function may be what you are looking for: a is a list a is a dict Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Rel

Re: [Zope] try clause in external method

2008-04-14 Thread Jonathan
from_timetabler" return self[dtmlMethodName](self,self.REQUEST) A couple of things... 1) Have bare try/except clauses may cause you grief ;-) 2) When an error is trapped by the 'try' statement the transaction is not committed (ie. nothing is written to your db), only

[Zope] Re: [Zope3-Users] Authentication without cookies

2008-04-14 Thread Jonathan
sign, at least in another, incompatible fashion, which I'm unsure how this works. A little off the zope topic, but... In order to ensure usability by all of our users (regardless as to device type) we do not use cookies on our WAP sites. We embed a session identifier in every url. J

Re: [Zope] Upgrade to 2.7.2 results in all content unavailable

2008-04-11 Thread Jonathan
lock_file fcntl.flock(file.fileno(), _flags) IOError: [Errno 11] Resource temporarily unavailable Make sure you have read/write access to the /var/lib/zope/var directory and that is 'owned' by 'zope' Jonathan ___ Zope maill

Re: [Zope] Upgrade to 2.7.2 results in all content unavailable

2008-04-11 Thread Jonathan
- Original Message - From: "Wes Modes" <[EMAIL PROTECTED]> To: "Jonathan" <[EMAIL PROTECTED]> Sent: Friday, April 11, 2008 12:52 PM Subject: Re: [Zope] Upgrade to 2.7.2 results in all content unavailable Jonathan, thanks for writing. Please pardon m

Re: [Zope] Upgrade to 2.7.2 results in all content unavailable

2008-04-11 Thread Jonathan
at version of zope did you upgrade from? What happens when you try to access any of the problem objects via the ZMI? Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding!

[Zope] Zope+SSL

2008-04-06 Thread Jonathan Salazar Santos
Hello All, I recently bought a dedicated server at Godaddy.com, the think its, I want to run zope in https mode, but not success, so... really: Must I need configure Apache+FastCGI+Zope to get ready SSL on Zope? Any help will be appreciate, thank you in advance. Saludos, -- Lic. Jonathan

Re: [Zope] merging zodb's

2008-04-01 Thread Jonathan
te an external method that you can access from the 'non-dead zope instance', which directly accesses the Data.fs file from the "dead zope instance" (using the usual db.open/root=connection.root...) and then loops thru all of the objects from the root down an

Re: [Zope] ZServer uncaptured python exception

2008-04-01 Thread Jonathan
essages you are seeing are related to your high cpu utilization. There is a discussion thread on your error here: http://aspn.activestate.com/ASPN/Mail/Message/zope-list/3492748 If you google 'debug spinning zope' you will find links on how to track down cpu consumption. HTH Jo

Re: [Zope] problem migrating ZClasses from Zope 2.6.1 to Zope 2.9.8

2008-03-26 Thread Jonathan
h its own zcatalog). All-in-all it was a bit of a pita, but the ability to upgrade to newer zope versions without fear was well worth the time and effort. Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo

Re: [Zope] getting the keys:values in a propertyItems() object

2008-03-06 Thread Jonathan
;, "He has directed that further investment in private refineries be targeted at the axis which consumes 15 million litres of fuel per day, more than half the country's total.")] Please, how do I extract each key with its corresponding value. For example title : The man Wan

[Zope] POST version of Response.redirect

2008-02-15 Thread Jonathan
? Thanks, Jonathan ___ 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

Re: [Zope] Counting threads

2008-01-22 Thread Jonathan
re any clues there. You could also try this: http://www.zopelabs.com/cookbook/1073504990 Jonathan ___ 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] looking for an easier way

2008-01-02 Thread Jonathan
that has the form data in it. anyone have any pointers? A couple of ideas: (i) use Zope marshalling to store all fields from an html form into a record (dictionary) (ii) get all form fields via: REQUEST.form.keys() hth Jonathan ___

Re: [Zope] urlparse equivalent

2007-12-14 Thread Jonathan
If you print out the contents of 'container.REQUEST' you will find a lot of helpful pre-set url-related vars. Jonathan - Original Message - From: "David Bear" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "zope" Sent: Friday, December 14,

Re: [Zope] Zope Jobs

2007-11-06 Thread Jonathan
rom where ever gig. Thanks. You could try here: http://plone.freerecruiting.com/ Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope

Re: [Zope] is it possible to bypass ZSQL methods and callstoredprocedures in sqlserver straight from ZPT?

2007-11-06 Thread Jonathan
access your databases directly, using something like: http://pymssql.sourceforge.net/ Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.or

Re: [Zope] backup full instances

2007-10-26 Thread Jonathan
fs, which zope is not able to read at all? And which other ways to you know to backup an entire instance? Maybe sync it with ZEO to another server in realtime? Or use some export method? Have a look at: http://wiki.zope.org/ZODB/FileStorageBackup Jonathan ___

Re: [Zope] storing python objects

2007-10-26 Thread Jonathan
- Original Message - From: "Chris Withers" <[EMAIL PROTECTED]> To: "Jonathan" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; "zope" Sent: Friday, October 26, 2007 8:17 AM Subject: Re: [Zope] storing python objects Jonathan wrote:

Re: [Zope] storing python objects

2007-10-25 Thread Jonathan
oach I have used is to create a dead simple Zope product that just defines an object class (which contains lists, dictionaries, etc) and then have the external method store these objects directly in the ZODB. Jonathan ___ Zope maillist - Zope@zope.org h

Re: [Zope] object properties access strangeness

2007-10-25 Thread Jonathan
xisting property at DTML document) Error: Error Type: KeyError Error Value: 'ikona1' Try: Lots of good info in the PropertyManager appendix section of the ZopeBook... Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope

Re: [Zope] Zope database file grows when no one is modifying it

2007-10-19 Thread Jonathan
nts for even the most minor edit and then remaining vigilant about who get accounts? Not a zope-based solution, but how about using 'captcha' images if spambots are your problem? Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.or

[Zope] How can I get graph statistics

2007-10-10 Thread Jonathan Salazar Santos
I am wondering if..., ¿Could some body tell me (help me) how to do graph statistics on the fly with DTML or python? I need to create reports with statistics on the fly. Some howto... I will apreciate, thanks in advance. -- Jonathan Salazar ___ Zope

RE: [Zope] HOw to create a Zope Instance ?

2007-10-04 Thread Winterflood, Jonathan
Indeed, but Ben's test shows us they definitely use Zope.... Jonathan -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Jens Vagelpohl Envoyé : jeudi 4 octobre 2007 10:53 À : zope list user Objet : Re: [Zope] HOw to create a Zope Instance ?

Re: [Zope] Two ZEO instances running on same server?

2007-09-18 Thread Jonathan
u have some ports (or ZODB mount points) set incorrectly. ports all not conflicting will check mountpoints..is this specified in the zope.conf? Yes. Also viewable via the ZMI (in the 'Add' drop-down list select 'ZODB Mount Point'), but less info there. Jonathan __

Re: [Zope] Two ZEO instances running on same server?

2007-09-18 Thread Jonathan
examine both Data.fs files. Did the file size/modification time change in the expected Data.fs file and not change in the 'other' Data.fs file? Jonathan On 9/18/07, Martijn Pieters <[EMAIL PROTECTED]> wrote: On 9/18/07, michael nt milne <[EMAIL PROTECTED]> wrote: >

Re: [Zope] SOAPMethod

2007-09-04 Thread Jonathan
- Original Message - From: "Mark Baldry" <[EMAIL PROTECTED]> To: "Jonathan" <[EMAIL PROTECTED]> Sent: Tuesday, September 04, 2007 8:22 AM Subject: Re: [Zope] SOAPMethod hi source of page -- Testing

Re: [Zope] SOAPMethod

2007-09-04 Thread Jonathan
- Original Message - From: "Mark Baldry" <[EMAIL PROTECTED]> To: "Jonathan" <[EMAIL PROTECTED]> Sent: Tuesday, September 04, 2007 8:00 AM Subject: Re: [Zope] SOAPMethod hi that was the first thing i tried and it makes no difference i still get a b

Re: [Zope] SOAPMethod

2007-09-04 Thread Jonathan
ntains: Testing If the information displays correctly when you click on the View tab for the above dtml method then you know that you have an html/css problem in your original dtml method. If you don't see the correct information, then your 'requestStudentData' method is n

Re: [Zope] SOAPMethod

2007-09-03 Thread Jonathan
equire less code and avoid annoying problems with javascript. Tom +1 ;-) Jonathan On Sep 3, 2007, at 10:10 AM, robert rottermann wrote: Mark Baldry schrieb: I need to get some information from a database and display it on our website. It's a very simple query just passing one n

Re: [Zope] Help with DateTime.earliestTime()

2007-08-25 Thread Jonathan
just ripped from an application, but may provide you with some ideas for a work-around. Good luck! Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://

Re: [Zope] How do I eval a variable within the acquisition path?

2007-08-21 Thread Jonathan
- Original Message - From: "Tim Nash" <[EMAIL PROTECTED]> To: "Jonathan" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, August 21, 2007 9:10 PM Subject: Re: [Zope] How do I eval a variable within the acquisition path? Thank you, that is cool but it isn&#x

Re: [Zope] How do I eval a variable within the acquisition path?

2007-08-21 Thread Jonathan
uot;ptst" being run and the following entry will be in REQUEST: traverse_subpath ['a', 'b', 'c'] hth Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML e

Re: [Zope] debugging memory exhaustion

2007-08-09 Thread Jonathan
- Original Message - From: "Chris Withers" <[EMAIL PROTECTED]> To: "Jonathan" <[EMAIL PROTECTED]> Cc: "zope list user" Sent: Thursday, August 09, 2007 5:47 PM Subject: Re: [Zope] debugging memory exhaustion Jonathan wrote: "Of cours

Re: [Zope] debugging memory exhaustion

2007-08-09 Thread Jonathan
- Original Message - From: "Chris Withers" <[EMAIL PROTECTED]> To: "Jonathan" <[EMAIL PROTECTED]> Cc: "zope list user" Sent: Thursday, August 09, 2007 1:24 PM Subject: Re: [Zope] debugging memory exhaustion Jonathan wrote: Of course, it

Re: [Zope] debugging memory exhaustion

2007-08-09 Thread Jonathan
a linux machine you could look into the ulimit command to limit the process memory utilization, which may allow you to see what it happening. Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross post

Re: [Zope] Re: Trouble migrating from Zope 2.5.x to Zope 2.9.x

2007-08-09 Thread Jonathan
ing things up. If you have any ZCatalogs you will need to fix up the indexes (see the READMEs, there was some change in 2.6? 2.8? that requires a utility to update the indexes). Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/ma

Re: [Zope] Export fails

2007-08-06 Thread Jonathan
s to the type of object you are trying to export (eg. folder, ZClass instance, custom product instance, etc). Site Error An error was encountered while publishing this resource. Error Type: AttributeError Error Value: 'NoneType' object has no attribute 'id' In

Re: [Zope] TOC ondelete event

2007-07-28 Thread Jonathan
- Original Message - From: <[EMAIL PROTECTED]> To: "dev101" <[EMAIL PROTECTED]> Cc: "zope" Sent: Saturday, July 28, 2007 8:51 AM Subject: Re: [Zope] TOC ondelete event Hi Jonathan, I'm sure that what you said is right but 1) I tried to change m

Re: [Zope] TOC ondelete event

2007-07-28 Thread Jonathan
s back (makes another request) after the 'timeout' they receive your warning message. hth Jonathan ___ 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] acquisition failure puuzzle or maybe something else

2007-07-27 Thread Jonathan
- Original Message - From: "Dennis Allison" <[EMAIL PROTECTED]> To: "Jonathan" <[EMAIL PROTECTED]> Cc: Sent: Friday, July 27, 2007 2:35 PM Subject: Re: [Zope] acquisition failure puuzzle or maybe something else The values are validated and are

Re: [Zope] acquisition failure puuzzle or maybe something else

2007-07-27 Thread Jonathan
will kill your code, such as o'neil) Jonathan ___ 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] Re: Declare constructor as public

2007-07-24 Thread Jonathan
- Original Message - From: "Garito" <[EMAIL PROTECTED]> To: "Jonathan" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, July 24, 2007 11:47 AM Subject: Re: [Zope] Re: Declare constructor as public Now the problem is with a manager user too (yesterday this use

Re: [Zope] Re: Declare constructor as public

2007-07-24 Thread Jonathan
new 'Yanged' instance is being created must be 'writeable' by the user. If it is not working, make sure that 'Unauthorized' is not listed in the 'Ignored exception types' list in your error_log, so you can track the problem down. Jonathan

Re: [Zope] IndexError

2007-07-24 Thread Jonathan
he catalog you may have to write a python script to add the objects to the catalog, one-at-a-time, and test after the catalog after each object has been added in order to determine which object is causing the problem. hth Jonathan ___ Zope maill

Re: [Zope] folders show with firefox but not IE7

2007-07-23 Thread Jonathan
ppeared upon creation. I use IE7.0 with Zope 2.9.4 without any problems. You could be encountering a caching problem... Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encodin

Re: [Zope] does zope support java script

2007-07-18 Thread Jonathan
ZMI, but will not be executed unless you click on the 'View' tab of the dtml method that contains the js code. Zope works very well with js and can add significant flexibility and functionality to your applications. hth Jonathan __

Re: [Zope] Problem w/ ZMySQLDA

2007-07-16 Thread Jonathan
clo?? 473? Sleep What should I do next to troubleshoot this? I would test the code outside of tal. Just execute (test) the routine by itself to see what it is returning. A couple of things to check: (i) is the routine receiving the correct input parameters, (ii) is the routine returning

Re: [Zope] Problem w/ ZMySQLDA

2007-07-14 Thread Jonathan
s query works ok, then the next step is to test your Z SQL Method(s). hth Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/

Re: [Zope] externalImage

2007-07-13 Thread Jonathan
re images on the file system For storing files on the filesystem "LocalFS" and "ExtFile" zope products may help. In terms of how to store data in a mysql db read the relational database section of the ZopeBook: http://www.pl

Re: [Zope] 2.6 to 2.10 migration: RuntimeError: maximum recursiondepth exceeded

2007-07-12 Thread Jonathan
ZClass Product which only exists in the Zope hierarchy? I know that ZClasses are depreciated in zope 2.10 anyway, but still the problem remains for migrations from zope 2.6.4 to 2.9 for example. As I mentioned previously, export via the ZMI, import via an ext

Re: [Zope] 2.6 to 2.10 migration: RuntimeError: maximum recursiondepth exceeded

2007-07-12 Thread Jonathan
7;/Control_Panel/Products') prdDir.manage_importObject('something.zexp') return 'done' Note: ZClasses are officially deprecated as of Zope 2.10. They may work or they may not, but they are no longer officially supported. hth Jonathan __

Re: [Zope] SiteErrorLog

2007-07-11 Thread Jonathan
in the error_log but never had the time to do something about? Wish list item: inclusion of line number where error occurs in a dtml method (or code that caused the error) Many many thanks if you can make this happen! Jonathan ___ Zope maillist

Re: [Zope] grabbing the url query string

2007-07-10 Thread Jonathan
l above: traverse_subpath = ['129292', 'targetfolder', 'targetobject'] It will be a trivial exercise to extract the counter 'id' (first element of list) and then reconstruct a url, for the redirect, from the remaining list elements. hth Jonat

Re: [Zope] Setting REQUEST on next page

2007-07-07 Thread Jonathan
- Original Message - From: <[EMAIL PROTECTED]> To: "zope" Sent: Saturday, July 07, 2007 10:38 AM Subject: [Zope] Setting REQUEST on next page Hi, Someone could tell me how to pass a variable without put in the URL using RESPONSE.redirect? For example, if code

Re: [Zope] handling exceptions for external methods

2007-07-07 Thread Jonathan
lasses then put the class definitions in a Zope Product. You can then access that class from within an external method and then return instances of the class to the routine that called the external method (the calling routine will be able to reference the class bec

Re: [Zope] handling exceptions for external methods

2007-07-06 Thread Jonathan
dictionaries, etc). Something that I don't understand is how to handle an exception. For example, if I have an external method that appends data to the end of a file, if there is an IOException how to I capture it and send a message back to zope with something informative? Look up t

Re: [Zope] using smart folder to pick certain number of news articlesto display in the home page

2007-07-01 Thread Jonathan
Thanks so much Martjin. I would appreciate it if anybody that has done something similar could share their experience with me. The searching you want would be fairly easy to implement by using a ZCatalog (info in the ZopeBook http://www.plope.c

RE: [Zope] New class, no access to manage_propertiesForm etc.

2007-06-27 Thread Winterflood, Jonathan
OK thanks for the tips :) I'll look at those pages I think I'll use SimpleItem; All I need is a few methods, a couple of properties, and some management stuff. Regards, Jonathan -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Sasch

[Zope] New class, no access to manage_propertiesForm etc.

2007-06-26 Thread Winterflood, Jonathan
elf): # interfacage self.myInstance = MyClass() Accessing http://.../portal_dbrtool/myInstance shows str(myInstance), but http://.../portal_dbrtool/myInstance/manage_propertiesForm <http://.../portal_dbrtool/myInstance/manage_propertiesForm> shows "You are

Re: [Zope] Zope products that allows people to Add Comments topublications

2007-06-25 Thread Jonathan
icles, just like the one in plone. Have you looked into: http://zwiki.org/FrontPage Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.

RE: [Zope] Allow to import a function on protected code

2007-06-21 Thread Winterflood, Jonathan
You're welcome (The message is automatically added by the mail server, I can't do anything about it :P and I'm posting during my work so some might argue :D ) Jonathan De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part d

RE: [Zope] Allow to import a function on protected code

2007-06-21 Thread Winterflood, Jonathan
Hi, I believe you should write modulesecurity = ModuleSecurityInfo('Products.Product'sDirectory.Module'sName') You may or may not need modulesecurity.apply (globals()) What should it do? Jonathan De : [EMAIL PROTECTED] [mailto:

[Zope] Which Versions Of Zope Work With Jython?

2007-06-20 Thread Mark, Jonathan (Integic)
Which versions of Zope work with which versions of Jython (using Linux)? The only information that I was able to find was several years out of date. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HT

  1   2   3   4   5   6   7   8   >