[Zope] Allow import of whole filesystem class hierarchy?

2007-01-24 Thread Kirk Strauser
frontends to that library in whatever seems appropriate to the task. For example, new web apps will be written with Zope calling those modules. New GUI apps will be written with Visual Studio calling those modules. Yay Zope and Python! You're what broke us away from vendor lock-in! -- Kirk

Re: [Zope] Re: Allow import of whole filesystem class hierarchy?

2007-01-24 Thread Kirk Strauser
not there. -- Kirk Strauser Daycos ___ 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

Re: [Zope] Has anyone generated barcodes output within DTML?

2006-12-04 Thread Kirk Strauser
for several years. I factored the actual code into a Python script that also knows how to generate checksum digits if desired, but you might not need that. -- Kirk Strauser Daycos ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman

[Zope] Wrong time displayed on events

2006-12-03 Thread Kirk Strauser
, and letting Plone fix the display? -- Kirk Strauser Daycos ___ 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

Re: [Zope] Can't stop Zope, machine hanging

2006-09-05 Thread Kirk Strauser
On Tuesday 05 September 2006 3:58 am, Chris Withers wrote: Move hosters. FreeBSD for all its robustness is not something I'd recommend running Zope on... Seriously? Why so? I've been running Zope exclusively on FreeBSD since 2001 without any known problems. -- Kirk Strauser The Day

SOLVED! (was Re: [Zope] Content-Disposition is driving me batty)

2006-08-18 Thread Kirk Strauser
guessing that Zope used to send that header by default but no longer does. -- Kirk Strauser The Day Companies ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

[Zope] Some users can't view sent PDFs anymore

2006-08-17 Thread Kirk Strauser
in advance. My boss is increasingly unamused and I'm out of ideas. -- Kirk Strauser The Day Companies ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

[Zope] Content-Disposition is driving me batty

2006-08-17 Thread Kirk Strauser
=print.pdfpassword=foo Any speculation about what might be causing this is extremely welcome. I'm *not* looking forward to rolling back to 2.8.x (and Python 2.3) at this point. -- Kirk Strauser The Day Companies ___ Zope maillist - Zope@zope.org http

Re: [Zope] Content-Disposition is driving me batty

2006-08-17 Thread Kirk Strauser
this is abnormal by your definition. Nuts. I was trying to generate a clean PDF for testing purposes but looks like it didn't work. I re-uploaded the test file (same URL) with Times New Roman and embedded fonts. -- Kirk Strauser The Day Companies

Re: [Zope] Content-Disposition is driving me batty

2006-08-17 Thread Kirk Strauser
and nothing else. We could live with a blank tab if that was the only problem. -- Kirk Strauser The Day Companies ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope] Content-Disposition is driving me batty

2006-08-17 Thread Kirk Strauser
-Length header. Preliminary tests are very promising. -- Kirk Strauser The Day Companies ___ 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

Re: [Zope] Python Scripts and HTML Forms

2006-08-17 Thread Kirk Strauser
, this_is_a_python_script I use REQUEST.SESSION.get('firstName') Make that: dtml-call this_is_a_python_script(request['first_name']) -- Kirk Strauser The Day Companies ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] Python Scripts and HTML Forms

2006-08-17 Thread Kirk Strauser
from a database, another Zope object, or anything else. Also makes testing *much* easier (since you can use the Test tab to experiment with it). -- Kirk Strauser The Day Companies ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman

Re: [Zope] Some users can't view sent PDFs anymore

2006-08-17 Thread Kirk Strauser
On Thursday 17 August 2006 2:39 pm, Gabriel Genellina wrote: This is unrelated to your main question, but using string exceptions is discouraged... Yeah, I'm in the process of gradually upgrading from look at me, I'm learning Python! code to something a little more presentable. -- Kirk

Re: [Zope] Content-Disposition is driving me batty

2006-08-17 Thread Kirk Strauser
at the source, I'm guessing that ExtFile.__repr__ just calls str() anyway. -- Kirk Strauser The Day Companies ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] Is ExtFile right for me?

2006-04-11 Thread Kirk Strauser
Stefan Holek (thanks, Stefan!), my ZEO seems to be humming along nicely. I'll keep you updated if anything major happens, but now that it's working I doubt that will occur. -- Kirk Strauser The Day Companies ___ Zope maillist - Zope@zope.org http

[Zope] Is ExtFile right for me?

2006-04-10 Thread Kirk Strauser
/Im1 Do Q endstream endobj 6 0 obj 62 endobj 7 0 obj /Length 8 0 R /Type /XObject /Subtype In other words, the normal page header, plus the raw data. I'm not sure why that's happening. -- Kirk Strauser The Day Companies ___ Zope maillist - Zope

Re: [Zope] Screwy permissions problem has me stumped

2006-03-24 Thread Kirk Strauser
. -- Kirk Strauser The Day Companies ___ 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

[Zope] Re: What's limiting my file uploads?

2005-12-30 Thread Kirk Strauser
. :-) -- Kirk Strauser The Day Companies ___ 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

[Zope] What's limiting my file uploads?

2005-12-29 Thread Kirk Strauser
, but the problem remained even after I increased that value to 32768. Any idea why Zope seems to be limiting my file upload size to this script to just under 8KB? -- Kirk Strauser The Day Companies ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman

Re: [Zope] Confusing DateTime().strftime behavior

2005-10-16 Thread Kirk Strauser
= context.testQuery()[0]['date'] print date print date.ISO() print date.strftime('%m/%d/%Y') return gives 2005/10/14 2005-10-14 00:00:00 10/13/2005 By the way, this is with Zope 2.7.7 and Python 2.3.5 on a FreeBSD 5-STABLE server (if that makes any difference). -- Kirk

[Zope] Confusing DateTime().strftime behavior

2005-10-15 Thread Kirk Strauser
to format the object for display, I get the previous day's date instead. I've found several references to this problem in Google, but no one seems to have found a good solution. Any thoughts? -- Kirk Strauser The Day Companies ___ Zope maillist

[Zope] Same product in multiple instances automatically?

2005-09-09 Thread Kirk Strauser
here or there, but it's one more thing to remember when making a new instance and just feels wrong. -- Kirk Strauser The Day Companies ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] Same product in multiple instances automatically?

2005-09-09 Thread Kirk Strauser
). ? That seemed to me that I shouldn't be adding /usr/local/www/Zope/Products to the search path, although I'm unsure of the reasons. -- Kirk Strauser The Day Companies ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] Same product in multiple instances automatically?

2005-09-09 Thread Kirk Strauser
, name it here. Yep. I'm wondering if I should create a $ZOPE/CommonProducts directory and add products $ZOPE/CommonProducts to every instance's zope.conf. -- Kirk Strauser The Day Companies ___ Zope maillist - Zope@zope.org http://mail.zope.org

Re: [Zope] Same product in multiple instances automatically?

2005-09-09 Thread Kirk Strauser
. Thanks! -- Kirk Strauser The Day Companies ___ 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

Re: [Zope] Same product in multiple instances automatically?

2005-09-09 Thread Kirk Strauser
). In other words, it seems to be a FreeBSD bug rather than a Zope bug, and I'm off to file a problem report so that it'll hopefully get fixed. Thanks for the information that led to uncovering this little surprise. -- Kirk Strauser The Day Companies

[Zope] Apache proxying multiple instances in subdirectories?

2005-09-08 Thread Kirk Strauser
on the zope.example.com site. I know this should be easy, but I'm just not getting it. Any ideas? -- Kirk Strauser The Day Companies ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists

[Zope] Sending mail with attachments via Python

2005-05-03 Thread Kirk Strauser
it seems like I'm the only person to ever want to do this. Are there any examples for this sort of thing lying around that I somehow managed not to find? Many thanks, -- Kirk Strauser The Day Companies ___ Zope maillist - Zope@zope.org http

Re: [Zope] Sending mail with attachments via Python

2005-05-03 Thread Kirk Strauser
and Python (and am getting ready to write a magazine article about the two) but jumping through Pythonic hoops to do stuff that would be easy in DTML drives me nuts. Thanks for the pointer, though. I'd stumbled across that earlier, but had kept looking in search of something easier. -- Kirk

Re: [Zope] Sending mail with attachments via Python

2005-05-03 Thread Kirk Strauser
have to reimplement the functionality of DTML to do it. Please don't misunderstand me. I'm not complaining, and if that's what I've got to do then so be it. I'm just a little surprised - that's all. -- Kirk Strauser The Day Companies ___ Zope

[Zope] Both tal:on-error and error_log?

2005-04-18 Thread Kirk Strauser
Can I use a tal:on-error attribute in a page template to provide a user-friendly explanation of an exception while still recording the occurrence of that exception to error_log? -- Kirk Strauser The Day Companies ___ Zope maillist - Zope@zope.org

Re: [Zope] Both tal:on-error and error_log?

2005-04-18 Thread Kirk Strauser
of the exception. I guess I was wondering if there was some way to manually add the exception to an error_log object so that i can come back later to analyze that logfile, while still presenting a non-confusing error screen to my users. -- Kirk Strauser The Day Companies