Re: [Zope] Re: (1 conflicts since startup at 2005-08-04T14:45:39)

2005-09-06 Thread Chris Withers
No, but I have in the past. You don't have CMF Member installed by any chance do you? cheers, Chris Tom Hallam wrote: So on a development site with one person accessing it occasionally you wouldn't expect to see any?! Tom Chris Withers wrote: It's when Zope's optimistic concurrency model

Re: [Zope] Truncating strings with DTML

2005-09-06 Thread Chris Withers
Peter Bengtsson wrote: easy: You don't need to use _.string.legacy() functions. Just put your python expression inside the quotation marks. If you're new to python, don't let DTML be your place to learn python. Use a nice editor like IDLE. Just to emphasise what Peter is saying: do this in ZPT

Re: [Zope] Defining and creating a temporary storage for each user

2005-09-06 Thread Chris Withers
Marco Bizzarri wrote: You mean mantaining just in the memory... uhmmm I should double check with the fact that the object in memory should mantain some reference to an object on the ZODB... which should be no problem at all. Yeah, you'll have to be careful with references. If it were me, I

[Zope] attributes on a file

2005-09-06 Thread Michael
hi, thanks for the help with my last (permissions) problem, i covered it by replacing the code with "known to work code" think it was being caused by a gettattrs call. could someone please tell me how I would modify the "file library" example to store an attribute with the file? (like the guest_na

[Zope] Multilingual content class with LocalPropertyManager

2005-09-06 Thread Dragos Chirila
Hi I want to build a multilingual content class with LocalPropertyManager from the Localizer product. Also, my class extends the File class, something like: class MClass(LocalPropertyManager, File): title = LocalProperty('title') description = LocalProperty('description') def _

[Zope] Re: Defining and creating a temporary storage for each user

2005-09-06 Thread Marco Bizzarri
Florent, thanks for your suggestion. Could you point me on more detailed information about this topic (i.e. how object stored in ZODB are actually managed)? Is this more a ZODB mailing list question than Zope? Should I directly point to ZODB documentaiton? Regards MarcoOn 9/5/05, Florent Guillau

[Zope] Re: Defining and creating a temporary storage for each user

2005-09-06 Thread Florent Guillaume
Marco Bizzarri wrote: Florent, thanks for your suggestion. Could you point me on more detailed information about this topic (i.e. how object stored in ZODB are actually managed)? I don't know of any document explaining that. Is this more a ZODB mailing list question than Zope? Should I direc

[Zope] Re: Zope scalabilty and problems

2005-09-06 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dieter Maurer wrote: > Florent Guillaume wrote at 2005-9-5 16:49 +0200: > >>... >> >>>It is just that the CMF is unable to fix a year long bug >> >>It's not "CMF"'s fault, it's only the responsibility of Windows developers >>running CMF. I for one co

Re: [Zope] attributes on a file

2005-09-06 Thread Chris Withers
Michael wrote: could someone please tell me how I would modify the "file library" example to store an attribute with the file? (like the guest_name in message book) well, I don't have the example to hand, but my guess would be that you're looking to do something like: from AccessControl impo

[Zope] Import Problem with the zexp-File

2005-09-06 Thread Birgit Dippelreiter
Hi!   I want to import a file to my Zope Server (version 2.7.4). The *.zexp is from a Zope Server with version 2.8.0. Should it be possible to import the zexp – File from a newer Zope version to an older one?   Because, when I try to import the File, I always get the following error:

RE: [Zope] Zope startup error: Archetypes: IndexError: list index out of range

2005-09-06 Thread Paul Sue
Chris Withers wrote: |> OK ... But surely, there must be some way to get Zope/Plone working on Solaris! |> |> I think we have Windows Server 2003 box I can try :) | |I'd suggest that is a better option than Solaris, there are more people doing it in the real world, and so you're more |likely to

[Zope] Re: Import Problem with the zexp-File

2005-09-06 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Birgit Dippelreiter wrote: > I want to import a file to my Zope Server (version 2.7.4). The *.zexp is > from a Zope Server with version 2.8.0. Should it be possible to import the > zexp - File from a newer Zope version to an older one? It is possible

Re: [Zope] DateTime and TimeZone

2005-09-06 Thread Mark Gibson
It seems that since the Pacific timezone is in daylight savings time, the correct offset is -7. So nevermind. On Tue, 2005-09-06 at 00:53, Mark Gibson wrote: > I installed zope 2.7.6 on a windows 2000 machine. This machine is set > to the pacific timezone. > > When I run python from the co

Re: [Zope] DateTime and TimeZone

2005-09-06 Thread Dieter Maurer
Mark Gibson wrote at 2005-9-6 00:53 -0600: > ... from DateTime import DateTime > ... >What controls the default timezone behavior of DateTime on Windows? "DateTime" gets it from Python and Python gets it from the operating system (its C runtime library). Under *nix, the environment variable

Re: [Zope] Import Problem with the zexp-File

2005-09-06 Thread Dieter Maurer
Birgit Dippelreiter wrote at 2005-9-6 13:33 +0200: >I want to import a file to my Zope Server (version 2.7.4). The *.zexp is >from a Zope Server with version 2.8.0. Should it be possible to import the >zexp - File from a newer Zope version to an older one? > > > >Because, when I try to import the

RE: [Zope] Zope startup error: Archetypes: IndexError: list index out of range

2005-09-06 Thread Dieter Maurer
Paul Sue wrote at 2005-9-6 08:39 -0700: > ... >Fair enough, but surely there must be SOMEONE on this list that is running >Zope/Plone on Solaris??? We did (but do no more because PC hardware is *much* faster at a lower price). We had few Solaris related problems (none apart from occational "impos

[Zope] php header() equivalent in zope, translation please

2005-09-06 Thread Ed Colmar
I'm working on a website to be viewed in the eve-online in-game browser. This browser has a feature called "trusted site" that allows the server to extract information about the game character that is viewing the page... Once the website is "trusted" all of the variables are transferred over i

[Zope] unbound method failures

2005-09-06 Thread garry saddington
I am using Zope 2.8.1 and adding an xslt method produces the following error: 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 __cal

[Zope] Re: unbound method failures

2005-09-06 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 garry saddington wrote: > I am using Zope 2.8.1 and adding an xslt method produces the following > error: > Module ZPublisher.Publish, line 113, in publish > * Module ZPublisher.mapply, line 88, in mapply > * Module ZPublisher.Publish, line

[Zope] StructuredDocument size limit reduced after 2.5.1 to 2.7.5 upgrade

2005-09-06 Thread John Schinnerer
Aloha, > did you use POST or GET? If yoou use GET, use POST. If you use POST, > then I dont know. Using POST, and I don't know either... Anyone else have any ideas? To recap, my server was upgraded from zope 2.5.1 to 2.7.5 and now StructuredDocument objects in a product I have built have a rath