[Zope3-Users] translation domains and their scope

2007-02-22 Thread Giovannetti, Mark
Hello, I am having some trouble with translation domains. I have setup two for use. Call one 'common' and the other 'myapp'. They were created under a folder that was turned into a site using the ZMI. Call this site MYSITE. The translation domains were also registered via the ZMI. I have

RE: [Zope3-Users] Events

2007-02-22 Thread Giovannetti, Mark
Hello David, Does anyone know the process by which objects are notified by events? I created a custom container that stores objects in MySQL. However, I noticed that when I add a container that an ObjectAddedEvent is then propogated to every single object in my container,

[Zope3-Users] User preferences for languages- possible?

2007-02-22 Thread Giovannetti, Mark
Hi, This stuff is crazy. I just want to implement a user preference for a language (because I have to). I've read all the user pref. documentation (skinpref, apidoc prefs and zope.app.preference) until I'm blue in the face. Nothing seems to work and there is no help via google and so forth. I

[Zope3-Users] RE: translation domains and their scope

2007-02-22 Thread Giovannetti, Mark
Hi Philipp, Thanks for responding. I am including the mailing list. From: Philipp von Weitershausen [mailto:[EMAIL PROTECTED] Giovannetti, Mark wrote: [snip] However, using http://localhost:8080/ to display the same generic page (as another ISite), the translations do not happen

RE: [Zope3-Users] Re: User preferences for languages- possible?

2007-02-22 Thread Giovannetti, Mark
Hi Philipp, You are a great resource, thanks for helping. See below. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Philipp von Weitershausen Giovannetti, Mark wrote: Hi, This stuff is crazy. I just want to implement a user preference for a language (because I

[Zope3-Users] Zope3 startup

2007-02-28 Thread Giovannetti, Mark
Hello, One of the problems that I've had learning zope 3 (and python at the same time) is that I did not understand how code 'got executed'. This was a big stumbling block for someone coming from a non-object oriented background who was used to creating 'normal' websites--i.e. the

RE: [Zope3-Users] Zope3 startup

2007-03-02 Thread Giovannetti, Mark
if there are some good ones. Other comments inline: From: Marius Gedminas On Wed, Feb 28, 2007 at 11:47:15AM -0500, Giovannetti, Mark wrote: Hello, [snip] 1. At zope startup, each *-configure.zcml in etc/package-includes is read. Q. The __init__.py file for each package is then executed

RE: [Zope3-Users] FreeBSD zopectl socket.error: (13, 'Permission denied')

2007-03-09 Thread Giovannetti, Mark
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Christensen zope3-users: I am a FreeBSD 6.2 and Zope newbie who is attempting to get Zope 3.3.0 working. I have made and installed Zope 3 using the ports collection, and run

RE: [Zope3-Users] Crash

2007-03-12 Thread Giovannetti, Mark
-Original Message- From: David Johnson Our Zope 3.2.1 server is crashing and we cannot determine why. The last entry in the access.log is the following: 218.160.132.172 - - [10/Mar/2007:22:11:45 -0500] CONNECT sextw.com.tw:25 HTTP/1.0 404 0 - - Hi David, This is an attack

[Zope3-Users] Using 'if object' evaluates false even if object exists

2007-04-12 Thread Giovannetti, Mark
Hi list, Hope everyone's having a splendid day/evening/whatever. I've encountered a strange error. I have two chunks of nearly identical code below. The only difference is the first if statement. One has: if context: the other has: if context is not None The first fails to be true