Re: [Zope] bug? pagetemplate using strftime

2009-05-08 Thread Miguel Beltran R.
>
>
>
> You can't use stftime.
> You have to manually build a string with the format you want using the
> other methods inside DateTime.
>
> e.g. fetcha.aCommonZ() or build up your date using
> components such as; fetcha.day()  fetcha.month()  fetcha.year()
>
>

I made a script what recive a parameter fecha(f)
script pFecha:
s="%02d-%02d-%04d"
s=s % (f.day(),f.month(),f.year())
print s
return printed


the call is 

Thanks
___
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] bug? pagetemplate using strftime

2009-05-07 Thread Andrew Milton
+---[ Miguel Beltran R. ]--
| 
| 
| If you strftime to show the hour and minute too, you will see as I
| previously said it is showing you the time in UTC (as determined by how
| many hours is it out).
| 
| 
| 
| I made a test  with date 2009/05/07 using
|  -- dmYzZ= --
| c= -- x -- X
| 
| and show this
|  -- dmYzZ=06/05/2009   -- c=05/06/09 19:00:00 -- x05/06/09 -- X19:00:00
| 
| here I  see what you said me, the hour is gmt-0500.
| 
| 
| If add in zope.conf
| 
|   TZ America/Mexico_City
| 
| 
| or in runzope.bat
| @set TZ=America/Mexico_City
| 
| nothing change, render the same what before add TZ
| 
| now, how I can show the correct date? help please
| I use MS Sql Server 2000 with field smalldatetime
| I never used before timezone.

You can't use stftime.
You have to manually build a string with the format you want using the
other methods inside DateTime.

e.g. fetcha.aCommonZ() or build up your date using
components such as; fetcha.day()  fetcha.month()  fetcha.year()

-- 
Andrew Milton
a...@theinternet.com.au
___
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] bug? pagetemplate using strftime

2009-05-07 Thread Miguel Beltran R.
>
> If you strftime to show the hour and minute too, you will see as I
> previously said it is showing you the time in UTC (as determined by how
> many hours is it out).
>
>
I made a test  with date 2009/05/07 using
 -- dmYzZ=
-- c= -- x -- X

and show this
 -- dmYzZ=06/05/2009   -- c=05/06/09 19:00:00 -- x05/06/09 --
X19:00:00

here I  see what you said me, the hour is gmt-0500.


If add in zope.conf

  TZ America/Mexico_City


or in runzope.bat
@set TZ=America/Mexico_City

nothing change, render the same what before add TZ

now, how I can show the correct date? help please
I use MS Sql Server 2000 with field smalldatetime
I never used before timezone.
___
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] bug? pagetemplate using strftime

2009-04-22 Thread Andrew Milton
+---[ Miguel Beltran R. ]--
| 
| 
| 'item.fetcha' is what kind of instance? DateTime? datetime?
| 
| How to reproduce the behavior?
| 
| We need something that works on any system.
| 
| 
|  I don't know what type is.
| How can know?
| 
|  
| 
|   09-01-2009
|   2009/01/10
| 
| 
| getData is a zsql method what connect to postgresql using zpsycopgda 2.0
| conecction with enconding utf-8 serializable (with zope internal datetime
| option enabled and disabled) and not work :(
| 
| This problem happen too with ms sql server 2000 with zpyodbc. Using %d break
| the day.

If you strftime to show the hour and minute too, you will see as I
previously said it is showing you the time in UTC (as determined by how
many hours is it out).

-- 
Andrew Milton
a...@theinternet.com.au
___
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] bug? pagetemplate using strftime

2009-04-22 Thread Miguel Beltran R.
>
> 'item.fetcha' is what kind of instance? DateTime? datetime?
>
> How to reproduce the behavior?
>
> We need something that works on any system.
>

 I don't know what type is.
How can know?



  09-01-2009
  2009/01/10


getData is a zsql method what connect to postgresql using zpsycopgda 2.0
conecction with enconding utf-8 serializable (with zope internal datetime
option enabled and disabled) and not work :(

This problem happen too with ms sql server 2000 with zpyodbc. Using %d break
the day.
___
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] bug? pagetemplate using strftime

2009-04-21 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Sorry but your description is pretty weak.

'item.fetcha' is what kind of instance? DateTime? datetime?

How to reproduce the behavior?

We need something that works on any system.

- - -aj
Am 22.04.2009 um 01:56 schrieb Miguel Beltran R.:

> Sorry, I not say clear where is the bug
> The original data is year 2009, month 01, day 10
>
> 2009/4/20 Miguel Beltran R. 
> Hi list,
>
> This is a bug in strftime? add to report to launchpad?
>
> 
>   09-01-2009
> Using strftime show day 09. Here is the error.
>
>   2009/01/10
> Here the day show correctly
>
>
>
>
> 
>
> can someone confirm this?
> using a database postgresql 8.3
> zope 2.11.1
> windows 2003
>
>
>
> ___
> 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 )


Mit freundlichen Grüßen/Kind regards,
Andreas Jung

- ---
ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: i...@zopyx.com - Phone +49 - 7071 - 793376
Registergericht: Amtsgericht Stuttgart, Handelsregister A 381535
Geschäftsführer/Gesellschafter: ZOPYX Limited, Birmingham, UK
- 
E-Publishing, Python, Zope & Plone development, Consulting




-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)

iEYEARECAAYFAknupCYACgkQCJIWIbr9KYzlUQCfRfmRX+4S2f5J3/rbKYj7rY7E
+1UAoJQL6qOcc1bT9SbxR+H62S5z1Evk
=PZh0
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] bug? pagetemplate using strftime

2009-04-21 Thread Miguel Beltran R.
Sorry, I not say clear where is the bug
The original data is year 2009, month 01, day 10

2009/4/20 Miguel Beltran R. 

> Hi list,
>
> This is a bug in strftime? add to report to launchpad?
>
> 
>   09-01-2009
>
Using strftime show day 09. Here is the error.


>   2009/01/10

Here the day show correctly




> 
>
> can someone confirm this?
> using a database postgresql 8.3
> zope 2.11.1
> windows 2003
>
___
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] bug? pagetemplate using strftime

2009-04-20 Thread filtered
I don't see any issue with that? If yes, provide the related output and what
you expect and why?

On Tue, Apr 21, 2009 at 04:33, Miguel Beltran R. wrote:

> Hi list,
>
> This is a bug in strftime? add to report to launchpad?
>
> 
>   09-01-2009
>   2009/01/10
> 
>
> can someone confirm this?
> using a database postgresql 8.3
> zope 2.11.1
> windows 2003
>
> 
> Lo bueno de vivir un dia mas
> es saber que nos queda un dia menos de vida
>
> ___
> 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 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] bug? pagetemplate using strftime

2009-04-20 Thread Andrew Milton
+---[ Miguel Beltran R. ]--
| Hi list,
| 
| This is a bug in strftime? add to report to launchpad?
| 
| 
|   09-01-2009
|   2009/01/10
| 
| 
| can someone confirm this?
| using a database postgresql 8.3
| zope 2.11.1
| windows 2003

Zope DateTime objects revert to UTC when using strftime in all versions
of Zope. It's known, and doesn't seem to be thought of as a bug.

The response I received about this was something to the effect of "write your 
own DateTime"

-- 
Andrew Milton
a...@theinternet.com.au
___
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] Bug in ZSQL test?

2008-07-10 Thread Jaroslav Lukesh

Hi all,

many years I use patched files - here are (see attachment) from my Zope 251 
at

ZOPEROOT/lib/python/Shared/DC/ZRDB/dtml

But it is not able to handle to lng queries, for long queries it 
needs one more little mod with FORM tag. So see the little nuances with your 
newer zope sources ;-)


Regards, JL.

- Original Message - 
From: "Garry Saddington" <[EMAIL PROTECTED]>




On Thursday 10 July 2008 20:47, Allen Schmidt Sr. wrote:

I know, I know...too old to worry about...
Zope 2.8.9.1 on RedHat and MySQL5

In the Test tab of a ZSQL method, where the query has parameters, when
we enter parameters that generate a result of more than 20 rows, we get
the link for next 20 results. However, the parameters are not getting
passed in and the next page shows all the rows as if no parameters 
passed.


Anyone else seen this?

Yes Zope 2.9 gives error for the missing parameters on second page. I have
just lived with it having seen the error before on this list.


connectionTestForm.dtml
Description: Binary data


customDefaultReport.dtml
Description: Binary data
___
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] Bug in ZSQL test?

2008-07-10 Thread Thomas Bennett
I've seen this before in ZSQL test .  But sometimes I have found that forms 
I've created that do this with POST work by changing the method to GET or 
viceversa

Thomas
 

On Thursday 10 July 2008 16:37, Garry Saddington wrote:
> On Thursday 10 July 2008 20:47, Allen Schmidt Sr. wrote:
> > I know, I know...too old to worry about...
> > Zope 2.8.9.1 on RedHat and MySQL5
> >
> > In the Test tab of a ZSQL method, where the query has parameters, when
> > we enter parameters that generate a result of more than 20 rows, we get
> > the link for next 20 results. However, the parameters are not getting
> > passed in and the next page shows all the rows as if no parameters
> > passed.
> >
> > Anyone else seen this?
>
> Yes Zope 2.9 gives error for the missing parameters on second page. I have
> just lived with it having seen the error before on this list.
> regards
> garry
> ___
> 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 )

-- 

Thomas McMillan Grant Bennett   Appalachian State University
Operations & Systems AnalystP O Box 32026
University Library  Boone, North Carolina 28608
(828) 262 6587

"... using OpenOffice.org, and save them back to disk automatically,
in MS Word format.  They surf the Web, check e-mail, do instant 
messaging, view YouTube videos, visit their Facebook pages, learn 
touch-typing skills and lots more.  Our public library has been 
offering these Linux public stations for the past three years."
 - Phil Shapiro Linux Journal January 2008

Library Systems Help Desk: https://www.library.appstate.edu/help/

___
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] Bug in ZSQL test?

2008-07-10 Thread Garry Saddington
On Thursday 10 July 2008 20:47, Allen Schmidt Sr. wrote:
> I know, I know...too old to worry about...
> Zope 2.8.9.1 on RedHat and MySQL5
>
> In the Test tab of a ZSQL method, where the query has parameters, when
> we enter parameters that generate a result of more than 20 rows, we get
> the link for next 20 results. However, the parameters are not getting
> passed in and the next page shows all the rows as if no parameters passed.
>
> Anyone else seen this?
Yes Zope 2.9 gives error for the missing parameters on second page. I have 
just lived with it having seen the error before on this list.
regards
garry
___
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] bug in zeo runner in Zope 2.8.6 ?

2006-04-04 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 4 Apr 2006, at 22:26, Vlada Macek wrote:
I don't know whether this is already fixed in later stable  
versions, but

since 2.8.6 is still a recommended one for at least Plone and maybe
there are another fools like me who want to run ZEO unprivileged using
zeoctl, I'm reporting it. :)


FWIW, it is much better to start Zope/ZEO *as the unprivileged user*,  
unless you have specific reasons for needing to start it as root.


jens

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFEMufTRAx5nvEhZLIRAoFYAJ0QBmLkvhYC3WFyVP25b8fxQIlcIACgsqTA
+JSVa3PbiFYC7vQatzPUGH0=
=N+Kl
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

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


Re: [Zope] bug?

2005-07-06 Thread Andreas Jung



--On 6. Juli 2005 12:44:00 +0200 Jürgen Herrmann 
<[EMAIL PROTECTED]> wrote:



hi there!

either this is a bug or i'm too stoned to see, what's going on...

i have a folder /1, 2 subfolders /1/11 and /1/22. each subfolder
has a property 'bool', which is a boolean.
there's a zcatalog instance in /1/Catalog with one index bool, indexed
attribute 'bool'. i cataloged the two subfolders of /1 there.

i have i skript /1/test with the following content:
results = context.Catalog.searchResults({'bool':1})


try searchResults(bool={'query' : 1})

-aj




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


Re: [Zope] bug?

2005-07-06 Thread Jürgen Herrmann
i was dumb :)

the metadata table simply didn't have getId, so the brains object
acquires getId from the catalog.

sorry for my nubness ;P

regards, juergen herrmann

[ Peter Bengtsson wrote:]
> Easy. The brain object doesn't have a 'getId()' method. The Catalog has.
> What you're probably after is something like this::
>
>  for brain in context.Catalog.searchResults({'bool':1}):
>   cataloged_object = brain.getObject()
>   if cataloged_object is None:
>   print "ZCatalog out of sync!!"
>   else:
>   print cataloged_object.getId()
>
> On 7/6/05, Jürgen Herrmann <[EMAIL PROTECTED]> wrote:
>> hi there!
>>
>> either this is a bug or i'm too stoned to see, what's going on...
>>
>> i have a folder /1, 2 subfolders /1/11 and /1/22. each subfolder
>> has a property 'bool', which is a boolean.
>> there's a zcatalog instance in /1/Catalog with one index bool, indexed
>> attribute 'bool'. i cataloged the two subfolders of /1 there.
>>
>> i have i skript /1/test with the following content:
>> results = context.Catalog.searchResults({'bool':1})
>> print results
>> for o in results:
>>   print o
>>   print o.getId
>>   print o.getId()
>> return printed
>>
>> it prints:
>> [,
>> ]
>> 
>> >
>> Catalog
>> 
>> >
>> Catalog
>>
>> why in the world is o.getId a bound method of /1/Catalog?
>> o is a mybrains instance!!!
>>
>> what am i missing?! help!
>>
>> regards, juergen herrmann
>> ___
>>
>> >> XLhost.de - eXperts in Linux hosting <<
>>
>> Juergen Herrmann
>> Weiherweg 10, 93051 Regensburg, Germany
>> Fon:  +49 (0)700 XLHOSTDE [0700 95467833]
>> Fax:  +49 (0)721 151 463027
>>
>> ICQ:  27139974  -  IRC: [EMAIL PROTECTED]
>> WEB:  http://www.XLhost.de
>> ___
>> 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 )
>>
>
>
> --
> Peter Bengtsson,
> work www.fry-it.com
> home www.peterbe.com
> hobby www.issuetrackerproduct.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 )
>


___

>> XLhost.de - eXperts in Linux hosting <<

Juergen Herrmann
Weiherweg 10, 93051 Regensburg, Germany
Fon:  +49 (0)700 XLHOSTDE [0700 95467833]
Fax:  +49 (0)721 151 463027

ICQ:  27139974  -  IRC: [EMAIL PROTECTED]
WEB:  http://www.XLhost.de
___
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] bug?

2005-07-06 Thread Peter Bengtsson
Easy. The brain object doesn't have a 'getId()' method. The Catalog has.
What you're probably after is something like this::

 for brain in context.Catalog.searchResults({'bool':1}):
  cataloged_object = brain.getObject()
  if cataloged_object is None:
  print "ZCatalog out of sync!!"
  else:
  print cataloged_object.getId()

On 7/6/05, Jürgen Herrmann <[EMAIL PROTECTED]> wrote:
> hi there!
> 
> either this is a bug or i'm too stoned to see, what's going on...
> 
> i have a folder /1, 2 subfolders /1/11 and /1/22. each subfolder
> has a property 'bool', which is a boolean.
> there's a zcatalog instance in /1/Catalog with one index bool, indexed
> attribute 'bool'. i cataloged the two subfolders of /1 there.
> 
> i have i skript /1/test with the following content:
> results = context.Catalog.searchResults({'bool':1})
> print results
> for o in results:
>   print o
>   print o.getId
>   print o.getId()
> return printed
> 
> it prints:
> [,
> ]
> 
> >
> Catalog
> 
> >
> Catalog
> 
> why in the world is o.getId a bound method of /1/Catalog?
> o is a mybrains instance!!!
> 
> what am i missing?! help!
> 
> regards, juergen herrmann
> ___
> 
> >> XLhost.de - eXperts in Linux hosting <<
> 
> Juergen Herrmann
> Weiherweg 10, 93051 Regensburg, Germany
> Fon:  +49 (0)700 XLHOSTDE [0700 95467833]
> Fax:  +49 (0)721 151 463027
> 
> ICQ:  27139974  -  IRC: [EMAIL PROTECTED]
> WEB:  http://www.XLhost.de
> ___
> 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 )
> 


-- 
Peter Bengtsson, 
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.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] BUG: subtransaction not handled correctly in "manage_addFile"

2001-01-26 Thread Ian Sealy

Dear Chris,

> > We need to get this fixed ASAP so my boss has told me to send this
> > message to the list and offer 400 pounds (sterling) to anyone who can
> > fix this bug. Any takers?
> 
> What version of Zope are you using?

2.2.5 on Red Hat 6.2.

Zope version: Zope 2.2.5 (source release, python 1.5.2, linux2) 
Python version: 1.5.2 (#1, Nov 18 2000, 20:03:24) [GCC egcs-2.91.66 19990314/Linux 
(egcs- 
System Platform: linux2 

Cheers,
Ian


___
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] BUG: subtransaction not handled correctly in "manage_addFile"

2001-01-26 Thread Chris Withers

Ian Sealy wrote:
> 
> We need to get this fixed ASAP so my boss has told me to send this
> message to the list and offer 400 pounds (sterling) to anyone who can
> fix this bug. Any takers?

What version of Zope are you using?

cheers,

Chris

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




Re: [Zope] [BUG] calling a constructor crashes Zope

2000-12-25 Thread Steve Spicklemire


Hi Andreas,

   I would be really surprised if this were a python problem. 
Are you using any other extensions with your product? Can you
post a more complete set of code that shows how this constructor
is really called? It sounds like the heap is getting corrupted
somehow, maybe a bad Py_DECREF?

thanks,
-steve

> "Andreas" == Andreas Jung <[EMAIL PROTECTED]> writes:

Andreas> On Mon, Dec 25, 2000 at 11:18:23AM -0500, Steve
Andreas> Spicklemire wrote:
>>  Hi Andreas,
>> 
>> You might try this: Start Zope in debug mode (./start -D
>> ). Then in your __init__...
>> 
>> class AJFile: def __init__(self): import pdb pdb.set_trace()
>> self.d = {}
>> 
>> 
>> Zope will stop in the debugger. Step through with the debugger
>> and see where things are going south

Andreas> It is a problem of Python 1.5.2. It seems to crash
Andreas> somewhere in glibc (malloc.c) when called from
Andreas> PyTuple_New(). I also reported this bug on the bug list
Andreas> for Python (#126790).

Andreas> Andreas

 



___
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] [BUG] calling a constructor crashes Zope

2000-12-25 Thread Steve Spicklemire


Hi Andreas,

   You might try this: Start Zope in debug mode (./start -D ). Then in your __init__...

class AJFile:
  def __init__(self):
 import pdb
 pdb.set_trace()
 self.d = {}


Zope will stop in the debugger. Step through with the debugger and see where things are
going south

-steve

___
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] [BUG] calling a constructor crashes Zope

2000-12-25 Thread Andreas Jung

On Mon, Dec 25, 2000 at 11:18:23AM -0500, Steve Spicklemire wrote:
> 
> Hi Andreas,
> 
>You might try this: Start Zope in debug mode (./start -D ). Then in your 
>__init__...
> 
> class AJFile:
>   def __init__(self):
>  import pdb
>  pdb.set_trace()
>  self.d = {}
> 
> 
> Zope will stop in the debugger. Step through with the debugger and see where things 
>are
> going south

It is a problem of Python 1.5.2. It seems to crash somewhere in glibc
(malloc.c) when called from PyTuple_New(). I also reported this bug
on the bug list for Python (#126790).

Andreas

 

___
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] [BUG] Background processes interfere with Zope's HTTP responses

2000-12-20 Thread Dieter Maurer

Hi Steve,

Steve Spicklemire writes:
 >Hmm.. I just tried this with my highly experimental product
 > (LocalProc 0.0.1) and I didn't observe the same effect that you did
 > behind my Proxy Server.
Whether you see this effect or not depends on the HTTP
processing in the chain between your browser and the server.

When all chain members use multi-request mode, then the fact
that the connection is kept open longer than necessary has
no visible effect.

However, applications that strictly follow old HTTP 1.0
versions will use single-request mode.
Then you may observe the delay.
An optimal application to view the effect is
"ZPublisher.ZClient".

 > ...
 > The
 > main difference I see between what you are doing and what I do.. is
 > that I redirect stdout and stderr so that my subprocess has no open
 > files shared with the parent process.
That was also my first thought.
But in fact, all currently open request sockets are shared
with the process as well.



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] [BUG] Background processes interfere with Zope's HTTP responses

2000-12-19 Thread Steve Spicklemire


Hi Deiter,

   Hmm.. I just tried this with my highly experimental product
(LocalProc 0.0.1) and I didn't observe the same effect that you did
behind my Proxy Server. (I normally run with Rewrite... but when I got
your note I tried ProxyPass and it worked on the first try.)

(Good howto Anser! http://www.zope.org/Members/anser/apache_zserver/)

Anyway... I ran 'sleep 20' as my local process (I checked the
'background' button on my product) and the web page returned
immediately, but the process ran on in the background as I wished. The
main difference I see between what you are doing and what I do.. is
that I redirect stdout and stderr so that my subprocess has no open
files shared with the parent process.. anyway.. you might try this to
see if it suits your needs. Lightly tested on FreeBSD only.. but any
unix should work the same...

http://www.zope.org/Members/sspickle/LocalProc

-steve

> "Dieter" == Dieter Maurer <[EMAIL PROTECTED]> writes:

Dieter> Today was again a hard Zope day.

Dieter> Did you ever hear, that usually (i.e. if you do not do
Dieter> special things) Zope renders a complete page before it
Dieter> starts sending the result back to the client.  This
Dieter> implies that you should never see only half of a page.

Dieter> I heard it and I saw the code that does it.  Therefore, I
Dieter> was convinced that this were really the case.

Dieter> Then our client phoned:

Dieter>   He visits a page that allows him to generate a
Dieter> newsletter. When he presses the "generate newsletter
Dieter> button", a result page is build that tells him that the
Dieter> newsletter is being generated and send is a few minutes.

Dieter>   He reported, that this response page is build only
Dieter> half, then stops, to be completed only half a minute
Dieter> later, at the same time when the newsletter arrives.  The
Dieter> effect is reproducible. If newsletter generation takes
Dieter> longer, he must wait longer for the page to complete.

Dieter>   He is convinced that we generate the newsletter
Dieter> synchronously and let him wait until the generation is
Dieter> complete.  And he is angry.

Dieter>   I know, that the newsletter is generated in a
Dieter> background process, started in an external method with:

Dieter>os.system("gen_newsletter &")

Dieter>   I try to reproduce the behaviour in our test
Dieter> environment and fail. I do not have to wait, until the
Dieter> newsletter generation finished. Then, I use the official
Dieter> service URL and see, I observe the same behaviour.  The
Dieter> difference: in the test environment, the browser connects
Dieter> directly to ZServer; with the official URL, it connects
Dieter> via a proxy.

Dieter>   Puzzling!


Dieter> What happened?

Dieter>  The background process inherits Zope's open file
Dieter> descriptors.  Among them are all currently open HTTP
Dieter> request sockets.  The process keeps these sockets open
Dieter> until it finishes.

Dieter>  There are two HTTP modes:

Dieter>1. single request mode a new TCP connection is
Dieter> created for each HTTP request, the request is completed,
Dieter> when the TCP connection is closed.

Dieter>2. multi request mode several requests share a
Dieter> single TCP connection.  The "Content-Length" HTTP header
Dieter> allows client and server to determine the request
Dieter> boundaries.

Dieter>  That means: when a client uses the multi request
Dieter> mode, everything is fine. Clients, however, that use the
Dieter> single request mode wait until their connection is closed
Dieter> and can observe serious delays.

Dieter>  These delays may be very difficult to explain, as the
Dieter> background process not only delays its own request but may
Dieter> delay arbitrary other requests that happen to be served at
Dieter> the same time.



Dieter> How to fix the problem:

Dieter>   There should be a (file) control "CloseOnExec", that
Dieter> tells Unix to automatically close the file like object
Dieter> upon an exec.  ZServer should probably use it on each of
Dieter> its sockets.  I can not see a serious application that
Dieter> should have direct access to ZServer's HTTP request
Dieter> socket.


Dieter> I will soon file a bug report into the Collector.


Dieter> Dieter

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


___
Zope mailli

RE: [Zope] [BUG] Background processes interfere with Zope's HTTP responses

2000-12-19 Thread Brian Lloyd

> >How to fix the problem:
> >
> >  There should be a (file) control "CloseOnExec", that tells
> >  Unix to automatically close the file like object upon
> >  an exec.
> >  ZServer should probably use it on each of its sockets.
> >  I can not see a serious application that should have
> >  direct access to ZServer's HTTP request socket.
> >I will soon file a bug report into the Collector.
> >Dieter
>
> I'm on the win32 platform and thought that the problem was with my
> proxy software.  Now I'm not so sure.

Note that what Dieter is talking about would only affect 
you if you were spawning an external process that inherited 
the filehandles of the zope process. 

Brian Lloyd[EMAIL PROTECTED]
Software Engineer  540.371.6909  
Digital Creations  http://www.digicool.com 




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




Re: [Zope] [BUG] Background processes interfere with Zope's HTTP responses

2000-12-19 Thread jimbo

>  He reported, that this response page is build only
>  half, then stops, to be completed only half a minute later,

Depending on how long the page is I never  see the bottom. When I use the products 
page I have to refresh 2-3 times to see the bottom part.
  This is thru a proxy only.

>
>  I try to reproduce the behaviour in our test environment
>  and fail. I do not have to wait, until the newsletter
>  generation finished. Then, I use the official service
>  URL and see, I observe the same behaviour.
>  The difference: in the test environment, the browser
>  connects directly to ZServer; with the official
>  URL, it connects via a proxy.
>
>  Puzzling!

I'm having this same sort of problem w/Zope 2.3a1.
I just started trying to use Zope through a proxy.

  If I work directly on the machine I have no problems.


>How to fix the problem:
>
>  There should be a (file) control "CloseOnExec", that tells
>  Unix to automatically close the file like object upon
>  an exec.
>  ZServer should probably use it on each of its sockets.
>  I can not see a serious application that should have
>  direct access to ZServer's HTTP request socket.
>I will soon file a bug report into the Collector.
>Dieter
I'm on the win32 platform and thought that the problem was with my
proxy software.  Now I'm not so sure.
-Jimbo

___
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] [BUG] [Zserver] GET and HEAD give different MIME types

2000-11-29 Thread Hamish Lawson

Martijn Pieters wrote:

> Note that you don't want the DTML code to be called on a HEAD request;
> it may have side effects a mere tpc_abort won't roll back.

If the implication here is that the corresponding GET request could have
meaningful side effects (i.e. not just changes to caches, logs or hit
counters), then strictly it would be breaking the semantics of GET, which is
meant to be idempotent - capable of being called multiple times without
meaningfully changing the state of the server-side system or application.
Requests that can change the state are supposed to use POST.

Hamish Lawson



___
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] [BUG] [Zserver] GET and HEAD give different MIME types

2000-11-29 Thread Martijn Pieters

On Wed, Nov 29, 2000 at 12:06:23PM +0100, Stephane Bortzmeyer wrote:
> On Tuesday 28 November 2000, at 21 h 18, the keyboard of Martijn Pieters 
> <[EMAIL PROTECTED]> wrote:
> 
> > Note that you don't want the DTML code to be called on a HEAD request; it
> > may have side effects a mere tpc_abort won't roll back.
> 
> I understand but this seems a deviation (I don't say a violation since the RFC 
> says SHOULD and not MUST) from the RFC on HTTP (2616):
> 
> 9.4 HEAD
> 
>The HEAD method is identical to GET except that the server MUST NOT
>return a message-body in the response. The metainformation contained
>in the HTTP headers in response to a HEAD request SHOULD be identical
>to the information sent in response to a GET request.
> 
> It is certainly a big problem for debugging or for robots which assume they 
> can test with HEAD.

The SHOULD in that text is there _because_ not all web environments can
reliably generate a HEAD response without invoking undesired side-effects.
It is easy with a static website, where there won't be any side effects to
only sending the headers going with a URL, but with a dynamic web server
this is quite different.

If this is really a big problem for you I suggest you upgrade to Zope
2.2.0 or higher. Quite some trouble is taken to ensure that a more
meaningful content-type is returned:

- If the published object has a 'content_type' attribute, it's value will
  be used first. 

- If absent, the ID of the object will be used to guess it's content type.
  Only object names which use extensions benefit (for example: logo.gif
  is probably 'image/gif').

- If no guess could be made, the property 'default_content_type' is used.
  DTML Documents and Methods define this as 'text/html'.

- Only when all three steps above fail will the content type
  'application/octet-stream' be used.

I believe that only the 3rd step was added in 2.2.0b1, so you could try
and add a 'content_type' property to DTML objects that *must* return a
correct content-type.

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

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




Re: [Zope] [BUG] [Zserver] GET and HEAD give different MIME types

2000-11-29 Thread Stephane Bortzmeyer

On Tuesday 28 November 2000, at 21 h 18, the keyboard of Martijn Pieters 
<[EMAIL PROTECTED]> wrote:

> Note that you don't want the DTML code to be called on a HEAD request; it
> may have side effects a mere tpc_abort won't roll back.

I understand but this seems a deviation (I don't say a violation since the RFC 
says SHOULD and not MUST) from the RFC on HTTP (2616):

9.4 HEAD

   The HEAD method is identical to GET except that the server MUST NOT
   return a message-body in the response. The metainformation contained
   in the HTTP headers in response to a HEAD request SHOULD be identical
   to the information sent in response to a GET request.

It is certainly a big problem for debugging or for robots which assume they 
can test with HEAD.



___
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] [BUG] [Zserver] GET and HEAD give different MIME types

2000-11-28 Thread Martijn Pieters

On Tue, Nov 28, 2000 at 10:31:18AM +0100, Stephane Bortzmeyer wrote:
> 
> application/octet-stream is sent when I HEAD while the proper text/html is 
> sent if I GET??? And I don't have the same headers at all?

<> 
> Server: Zope/Zope 2.1.6 (source release, python 1.5.2, linux2) ZServer/1.1b1

This behaviour has changed, updated if you like, since version 2.2.0b1.
See the change file:

  http://www.zope.org/Products/Zope/2.2.0b1/CHANGES.txt

Note that you don't want the DTML code to be called on a HEAD request; it
may have side effects a mere tpc_abort won't roll back.

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

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




Re: [Zope] Bug tracking tool

2000-10-26 Thread Olivier Deckmyn

AFAIK, You have to get it through CVS...


- Original Message -
From: "Jørn Helge B. Dahl" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 26, 2000 12:54 PM
Subject: [Zope] Bug tracking tool


> Does anybody know of a bug tracking product for Zope which is free to
> try out? I found http://www.zope.org/Members/klm/Tracker/, which
> seemed to be nice, but I didn't see where to get it.
>
> --
> Jørn Helge B. Dahl
> http://falch.net
>
>
> ___
> 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] Bug tracking tool

2000-10-26 Thread Chris Withers

You can get it out of the CVS repository at cvs.zope.org.

If you can find it, I guess drop Ken a mail :-S

cheers,

Chris

"JXrn Helge B. Dahl" wrote:
> 
> Does anybody know of a bug tracking product for Zope which is free to
> try out? I found http://www.zope.org/Members/klm/Tracker/>, which
> seemed to be nice, but I didn't see where to get it.
> 
> --
> Jørn Helge B. Dahl
> http://falch.net
> 
> ___
> 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] Bug or feature? :-)

2000-09-27 Thread Toby Dickenson

On Tue, 26 Sep 2000 14:30:56 -0400 (EDT), Jeff Hoffman
<[EMAIL PROTECTED]> wrote:

>Hello, Zopers.
>
>Try this:
>
>Create a DTML Method in Zope. Give it an id of 'target', and give it the
>following body:
>
>  Woohoo!
>
>Now manage the folder that it is contained in. Instant tab augmentation!
>:-)

Theres been some discussion on this class of bug on zope-dev this
week. http://www.zope.org/Members/htrd/names is a list of other ids
that will change Zopes behaviour if used.


Toby Dickenson
[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] Bug or feature? :-)

2000-09-26 Thread brian

You don't even need the "Woohoo!" body.  I'd be hard pressed to call that
a feature, even though it is kinda cool.

-
  Brian Wisti ([EMAIL PROTECTED])
  http://www.COOLNAMEHERE.com

On Tue, 26 Sep 2000, Jeff Hoffman wrote:

> Hello, Zopers.
> 
> Try this:
> 
> Create a DTML Method in Zope. Give it an id of 'target', and give it the
> following body:
> 
>   Woohoo!
> 
> Now manage the folder that it is contained in. Instant tab augmentation!
> :-)
> 
> --Jeff
> 
> ---
> Jeff K. Hoffman   704.849.0731 x108
> Chief Technology Officer  mailto:[EMAIL PROTECTED]
> Going Virtual, L.L.C. http://www.goingv.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 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] Bug or feature? :-)

2000-09-26 Thread Andy McKay

Nice.

Sorry I dont think that counts as a feature :) You could do a world of hurt
with that.

> Hello, Zopers.
>
> Try this:
>
> Create a DTML Method in Zope. Give it an id of 'target', and give it the
> following body:
>
>   Woohoo!
>
> Now manage the folder that it is contained in. Instant tab augmentation!
> :-)
>
> --Jeff
>
> ---
> Jeff K. Hoffman   704.849.0731 x108
> Chief Technology Officer
mailto:[EMAIL PROTECTED]
> Going Virtual, L.L.C. http://www.goingv.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 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] Bug Tracking Product Recommendation?

2000-08-30 Thread Kapil Thangavelu



You could explore the Tracker Product available from zope.org's cvs. its
used for zope. it is unsupported.


[EMAIL PROTECTED] wrote:
> 
> It would also be nice if it was tied to a ODBC compliant database
> like MS SQL or Access!

nope. did you mean ODBC or MS compliant;)

the only DB solutions i know for bug tracking are bugzilla available
from mozilla.org's ftp (which is tied to mysql). and the SDM module from
arsdigita's ACS(either oracle or postgres).



Kapil

___
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] Bug Tracking Product Recommendation?

2000-08-30 Thread sean

It would also be nice if it was tied to a ODBC compliant database 
like MS SQL or Access!

On 31 Aug 2000, at 9:38, Terry Kerr wrote:

> I am interested in this as well!
> 
> [EMAIL PROTECTED] wrote:
> 
> > Hi,
> > I want to setup a Zope-based bug tracking system.  Can anyone
> > recommend a Zope product that would do this relatively well?
> >
> > Thanks
> >
> > --Sean
> >
> > ___
> > 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 )
> 
> --
> Terry Kerr ([EMAIL PROTECTED])
> Adroit Internet Solutions Pty Ltd (www.adroit.net)
> Phone:   +613 9563 4461
> Fax: +613 9563 3856
> Mobile:  +61 414 938 124
> ICQ: 79303381
> 
> 
> 
> 



___
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] Bug Tracking Product Recommendation?

2000-08-30 Thread Terry Kerr

I am interested in this as well!

[EMAIL PROTECTED] wrote:

> Hi,
> I want to setup a Zope-based bug tracking system.  Can anyone
> recommend a Zope product that would do this relatively well?
>
> Thanks
>
> --Sean
>
> ___
> 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 )

--
Terry Kerr ([EMAIL PROTECTED])
Adroit Internet Solutions Pty Ltd (www.adroit.net)
Phone:   +613 9563 4461
Fax: +613 9563 3856
Mobile:  +61 414 938 124
ICQ: 79303381




___
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] Bug zClass subobjects?

2000-08-16 Thread Rik Hoekstra




> 
> (Second post)
> 
> (I speak french, sorry for my english!)
> I created a ZClass, zRow.  This class can contain other ZClass: zField_Text,
> zField_Date, etc.
> This let me define the columns contained in a zRow.
> I then defined a Class zTable, wich contains zRows.
> 
> Question:
> 
> -  In my manage tabs, I needed to have a tab "Define columns".  To
> achieve this, I inserted a ZRow Instance (with id "Definition") in my zTable
> product definition, and a method called "Define_Columns", containing:
> 

Perhaps it is a better idea to assign the Define_Columns in the Views of
you zTable zclass definition (it is a separate tab in the management
interface there). You can assign any tab name there to any method in you
zclass. 

But I'm not sure I understand this correctly


> 
>   
> 
> 
> And I defined a view "Define Columns" pointing to that method.  When
> i click on the "Define Columns", I can see the manage screen of the instance
> "Definition", that's what I wanted.
> 
> But when I try to add a zField to "Definition" instance, the zField
> instance is created at the zTable level,
> not IN "Definition" instance!  All the classes are derived from on
> CatalogAware, ObjectManager.

Are they by any chance nested ZClasses? If so, this is a known problem.
If not, it is not entirely clear what you're doing. In general, if you
create a ZClass instance to make it appear in the target you intend, it
is important to do so through calling it through a
manage_addProduct['yourclass']._factory and _not_ directly
through the _add method.

But once again, it is not entirely clear to me what you try to do

> 
> I HAVE to deliver the product for the end of the week, so PLEASE
> help me!


hth

Rik

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




Re: [Zope] Bug in

2000-08-09 Thread Dieter Maurer

Marcus Gruendler writes:
 > I am working on a project with Zope. Unfortunately I am having a problem 
 > whith the  tag. I am using the batch processing feature and want to 
 > show only one element per sequence. I do this by setting size=1 and orphan=1. 
 > But th  tag only iterates over the first two records (I have 8 
 > records). It iterates over all 8 records when I use size=2 orphan=1. I think 
 > this is a bug.
It is.

It is reported (in this list and the Collector
(URL:http://classic.zope.org:8080/Collector)).

It is fixed in 2.2.

There is a patch at

URL:http://www.dieter.handshake.de/pyprojects/zope/dt_in.pat



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 )