Re: [Zope] Can't Track Simple Bug

2006-11-09 Thread Chris Withers
Nancy Donnelly wrote: I have two Zope instances. On one of them, I have a boilerplate script that I use for all my clients' Web sites. Works fine. Has for years. I decided to copy it over to my other instance and I get an error. Here's the line in question: p tal:on-error=string:

Re: [Zope] How To Convert Files To Page Templates?

2006-11-08 Thread Chris Withers
Nancy Donnelly wrote: That helped a lot! I yahoo'd (can't google any more since they've sold out to the interests gathering our personal data for Homeland Security) put_factory and got this code snippet: if ext == 'dtml': from OFS.DTMLDocument import DTMLDocument return DTMLDocument(

Re: [Zope] How To Convert Files To Page Templates?

2006-11-07 Thread Chris Withers
Nancy Donnelly wrote: Hi; I'm redoing a bunch of documents on a Zope site on my PC and I realized it would be easier to simply delete all the old ones and upload all the new ones. But if I do that, they'll load as files, not page templates. How are you creating these new objects? I'd hazard

Re: [Zope] newbie -- creating a Product

2006-11-06 Thread Chris Withers
Aidan wrote: I need to be able to send an e-mail (following a form submit) with an attachment (and I prefer not to use DTML). I can send e-mails withOUT attachments, but according to this: http://mail.zope.org/pipermail/zope/2005-May/159291.html I wrote a product specifically for this:

Re: [Zope-dev] Maintainer of Zope 2 Windows builds?

2006-11-02 Thread Chris Withers
Christian Steinhauer wrote: since month there is no new windows build of the zope2 releases. It would be nice if someone can make a decision who can take care of the build for the windows version. No one can force someone to do this, we need a volunteer. I was happy doing it but I don't have

Re: [ZWeb] wiki skin

2006-10-30 Thread Chris Withers
Simon Michael wrote: Chris Withers wrote: Is it going to move to the great new style that's been used for the Zope 3 wiki? I took some time to get used to the new skin. I like it a lot - great work Kevin (and Tom). Yes indeed :-) I have been guessing the consensus will be to use the new

Re: [Zope] Weird ZCatalog issue...

2006-10-30 Thread Chris Withers
Chris Withers wrote: Chris Withers wrote: This ain't right, anyone else seen this or anything like it? zopectl debug: len(app.some_catalog.unrestrictedSearchResults()) 2937144 i = 0 for b in app.some_catalog.unrestrictedSearchResults(): i+=1 i 821165 Also: len(tuple

[Zope] Weird ZCatalog issue...

2006-10-27 Thread Chris Withers
This ain't right, anyone else seen this or anything like it? zopectl debug: len(app.some_catalog.unrestrictedSearchResults()) 2937144 i = 0 for b in app.some_catalog.unrestrictedSearchResults(): i+=1 i 821165 wtf? (Zope 2.8) Chris -- Simplistix - Content Management, Zope

Re: [Zope] Weird ZCatalog issue...

2006-10-27 Thread Chris Withers
Chris Withers wrote: This ain't right, anyone else seen this or anything like it? zopectl debug: len(app.some_catalog.unrestrictedSearchResults()) 2937144 i = 0 for b in app.some_catalog.unrestrictedSearchResults(): i+=1 i 821165 Also: len(tuple

Re: [Zope] How to do...

2006-10-20 Thread Chris Withers
Garito wrote: Sure, but I don't need only localization, I need to preprocess the properties before read them I'm afraid your entire approach is likely to end you in a world of pain... Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [Zope-dev] Zope 2.10.0 installer for Windows

2006-10-19 Thread Chris Withers
Wolfgang Strobl wrote: I'll have to stay with 2.9.4 or older, for the forseeable future. Somehow, I wonder whether current Zope2 releases get any real world testing before becoming stable. Did perhaps all testing happen on the Windows side, in the past? ;-) Er, no. You'll likely find that

Re: [Zope] How to do...

2006-10-19 Thread Chris Withers
Garito wrote: object.Property2 and retrieve the data with the current locale For spanish locale I would like to retrieve 18-10-2006 Rather than torturing yourself with all this weirdness, maybe you should look at using Zope 3's locale support in your app, whether it's zope 2 or zope 3...

Re: [Zope-DB] Pitfall: mxODBCZopeDA and test runner in 2.9+

2006-10-19 Thread Chris Withers
M.-A. Lemburg wrote: As I understand it, the only case that the PYC cleaner is trying to work around here is a local configuration problem which only occurs if some PY file was removed upstream. Nope, not at all... Quite often shows up early in the development cycle... 1. create myfoo.py 2.

[Zope-dev] testing, DemoStorage and Zope2.app()

2006-10-18 Thread Chris Withers
Hi All, I've been having fun with unit tests: http://mail.zope.org/pipermail/zope3-dev/2006-October/020757.html http://mail.zope.org/pipermail/zope3-dev/2006-October/020775.html But Jim finally pointed me in the right direction:

Re: [Zope] Tab completion in zopectl debug

2006-10-18 Thread Chris Withers
Maurits van Rees wrote: Hi, I have recently learned how to add tab completion to an interactive python session and to pdb, thanks to Tom Lazar and to Jacob at ParTecs. More info with links on my first blog entry in three months: http://maurits.vanrees.org/weblog/2006/10/tab-completion.html

Re: [Zope-DB] Pitfall: mxODBCZopeDA and test runner in 2.9+

2006-10-16 Thread Chris Withers
Charlie Clark wrote: Technically you should actually use $INSTANCE_HOME/modules at least for Never heard of 'modules' before, where did you read about this? newer versions of Zope and I think this is also the way to go in the future. We've stuck with $INSTANCE_HOME/lib as this works with so

Re: [Zope-DB] Error in Shared.ZRDB.Connection.__setstate__ in 2.9.4

2006-10-16 Thread Chris Withers
Charlie Clark wrote: And this is STILL wrong... FFS... How hard is exc_info=True to grasp as a concept? Don't shoot the messenger! Don't worry, that wasn't aimed at you ;-) I've hardly touched the logging module so I'll plead ignorance (as well as stupidity ;-). But for 2.10 it is a big

[ZWeb] zope.org dns

2006-10-13 Thread Chris Withers
Hi All, Summary of current status on DNS... I've just updated the zonedit contact details to point to: http://groups.google.com/group/zopeorg-dns This is a private, members only group and I've invited all relevant people to the group. If I've left anyone out, please let me know. If you've

Re: [ZWeb] Apache config for lists.zope.org/mail.zope.org fubar?

2006-10-13 Thread Chris Withers
yep :-) Chris Lennart Regebro wrote: Does this have anything with the sudden onsplurt of spam via Zope mailing lists? ___ Zope-web maillist - Zope-web@zope.org http://mail.zope.org/mailman/listinfo/zope-web -- Simplistix - Content Management,

Re: [ZWeb] Apache config for lists.zope.org/mail.zope.org fubar?

2006-10-13 Thread Chris Withers
Lennart Regebro wrote: On 10/13/06, Chris Withers [EMAIL PROTECTED] wrote: yep :-) Extra annoyiong since I have been trying to unsubscribe from the zope-list for a week. And failing. I don't have time to read that list just now... procmail's great, works for me on michael milne ;-) (and I

Re: [ZWeb] statistical nonsense

2006-10-13 Thread Chris Withers
Justizin wrote: I hope you all curl up and die. I'm going to use TurboGears, since apparently noone in the Zope community will fucking talk to me anymore. I'm sure you will be sorely missed ;-) Seriously, you seemed like a well meaning, fairly clued up, if slightly arrogant guy when you

Re: [ZWeb] statistical nonsense

2006-10-13 Thread Chris Withers
Justizin wrote: Heck, at my age, I could just go join a fucking band instead of spending most of my time volunteering to work with open-source software on behalf of non-profit foundations. http://www.bash.org/?14207 ;-) Chris -- Simplistix - Content Management, Zope Python Consulting

Re: [ZWeb] zope.org dns

2006-10-13 Thread Chris Withers
Jim Fulton wrote: Chris Withers wrote: ... I'm tempted to email this zoneedit username and password to the google group so that it's not locked away in several people's mail accounts. How do people feel about this? It makes me feel uncomfortable. :) No worries, that's fine, I think enough

Re: [Zope] Re: Sending XML straight down to a zope

2006-10-13 Thread Chris Withers
Jonathan wrote: As an alternative strategy, how about: i) set up a url just for this problem user ii) us apache rewrite to redirect to a non-zope cgi script iii) use the cgi script to 'fix' the xml iv) do a redirect with the fixed xml to a 'zope' url Being all Nu Skool about this, I wonder

[Zope] PUT_Factory equivalent for MKCOL?

2006-10-13 Thread Chris Withers
Hi All, Is there an equivalent to the PUT_Factory for MKCOL? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope maillist - Zope@zope.org

Re: [Zope-DB] Pitfall: mxODBCZopeDA and test runner in 2.9+

2006-10-13 Thread Chris Withers
M.-A. Lemburg wrote: If you fail to use -k, the zope test runner will delete bytecode for all your products - including mxODBCZopeDA, which has no .py files to fall back on. Ouch. I'll investigate further - there might be a bug to file against zope.testing. Why does the test runner delete

Re: [Zope-dev] svn.zope.org down?

2006-10-12 Thread Chris Withers
There still appear to be some outstanding dns issues... Chris Wichert Akkerman wrote: Is something happening with svn.zope.org? I haven't been able to use anonymous or authorized svn for two days. Wichert. -- Simplistix - Content Management, Zope Python Consulting -

[ZWeb] [Fwd: [Zope] http://svn.zope.org and http://cvs.zope.org]

2006-10-12 Thread Chris Withers
Looks like DNS is still fubar'ed here in europe... I get the same experience as this user... C:\nslookup svn.zope.org Non-authoritative answer: Name:svn.zope.org Address: 63.240.213.171 cheers, Chris -- Simplistix - Content Management, Zope Python Consulting -

Re: [ZWeb] DNS still fishy?

2006-10-12 Thread Chris Withers
Justizin wrote: I'd love to see more backups once they have copies of the zone. Why? zope.org has happily lived off two nameservers for years and years... All of a sudden, we need to have more backups, the upshot of which has been people in europe getting served bad dns from ns.qutang.net

Re: [ZWeb] DNS still fishy?

2006-10-12 Thread Chris Withers
Jens Vagelpohl wrote: It makes sense to have name servers in different physical locations and on different networks in case one provider runs into trouble. The point of contention is the number of slaves. Right, which brings me back to my other point: why, when 2 server have been fine for

[ZWeb] Re: [Zope-dev] svn.zope.org down?

2006-10-12 Thread Chris Withers
There still appear to be some outstanding dns issues... Chris Wichert Akkerman wrote: Is something happening with svn.zope.org? I haven't been able to use anonymous or authorized svn for two days. Wichert. -- Simplistix - Content Management, Zope Python Consulting -

[ZWeb] *poke*

2006-10-12 Thread Chris Withers
is this list alive? Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope-web maillist - Zope-web@zope.org http://mail.zope.org/mailman/listinfo/zope-web

Re: [Zope] Zope 2 for Windows

2006-10-12 Thread Chris Withers
Jens Vagelpohl wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11 Oct 2006, at 17:14, michael nt milne wrote: The windows builds will be available as soon as someone volunteer to care about the Windows platform. ignorant thinking. Most businesses use Windows and Zope will suffer

Re: [Zope] Sending XML straight down to a zope

2006-10-12 Thread Chris Withers
Peter Bengtsson wrote: xml_content = open('validxmlfile.xml').read() http = httplib.HTTP(localhost, 8080) http.putrequest(POST, /uploadExpenseXML) That's not really a valid transaction... My guess is you should be encoding this as a posted file (ie: as if you'd used an input type=file/) and

Re: [Zope] Zope 2 for Windows

2006-10-12 Thread Chris Withers
Andreas Jung wrote: @Chris: what is STFU? Heh, I was trying to be polite, but hey, why change the habit of a lifetime? ;-) STFU = Shut The Fuck Up :-) Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [Zope-dev] Moving ZopeVersionControl to subversion?

2006-10-10 Thread Chris Withers
Jens Vagelpohl wrote: I'm afraid I spoke too soon. My sudo access has been removed. Jim tells me any task requiring root access must be performed by him (or other ZC staff I presume). I'm hereby un-volunteering myself from this task. That's a shame... What is it with preventing people who

Re: [Zope-dev] Maintainer of Zope 2 Windows builds?

2006-10-10 Thread Chris Withers
Andreas Jung wrote: Thanks for your work on the windows builds in the past. We appreciate your work very much. I'll 2nd that! Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope-Dev

Re: [Zope-dev] Maintainer of Zope 2 Windows builds?

2006-10-10 Thread Chris Withers
Sidnei da Silva wrote: I'm using Zope on Windows on a daily basis now. So that might mean me. :) Well volunteered :-) I would point you to the right place to look for the instructions in svn, but zope.org's dns is currently geB0rken... I would like to propose setting up some sort of

Re: [Zope] Clarification: uncatalog_object question

2006-10-10 Thread Chris Withers
Jonathan Hobbs wrote: I used catalog-aware objects and just deleted the object in the folder and the object was automatically removed from the zcatalog). I don't understand why the uid of 1049298593 works in retrieving the record from the zcatalog, but not when used to delete the record from

Re: [Zope] doc string rules

2006-10-10 Thread Chris Withers
Dennis Allison wrote: Thanks. What about classes modules? Should Foo, in you example, have a doc string? No, but it can't hurt, can it? ;-) What about the module that Foo belongs to? No. cheers, Chris -- Simplistix - Content Management, Zope Python Consulting -

Re: [Zope] Production Advice

2006-10-10 Thread Chris Withers
Jonathan Cyr wrote: What is a good daily backup strategy with Zope 2.71? Good for repozo... Right now, I'm developing on a WinXP machine, and am considering SuSE 9.1 for my spec, any experiences, good or bad?... YAST2-installed or manually? red hat or debian are the mainstays around

Re: [Zope] Re: manage_beforeDelete

2006-10-10 Thread Chris Withers
Tres Seaver wrote: class Test(CatalogAware, , OrderedFolder): def manage_beforeDelete(self, item, container): CatalogAware.manage_beforeDelete(item, container) OrderedFolder.manage_beforeDelete(item, container) Seeing code like this reminds me why we have events... They're

Re: [Zope] PAS and md5 or crypt passwords

2006-10-10 Thread Chris Withers
Robert (Jamie) Munro wrote: I've got an SQL database already populated with usernames and md5 passwords from an old system that I am replacing - I don't have the cleartext passwords. If you're uising MySQL or (iirc) PostGres, then I'm pretty sure this will work out of the box if you use

Re: [Zope-dev] Maintainer of Zope 2 Windows builds?

2006-10-09 Thread Chris Withers
Sidnei da Silva wrote: On Sat, Oct 07, 2006 at 09:25:29AM +0200, Andreas Jung wrote: | Who is currently in charge or who feels responsible for the Windows builds? Tim Peters. Er, no. Tim isn't even at Zope Corp anymore, as far as I know... I built the last couple of Zope 2.9.x release, but

[Zope] Re: [Fwd: [USN-359-1] Python vulnerability]

2006-10-09 Thread Chris Withers
Tres Seaver wrote: Chris Withers wrote: ouch... I'd imagine Zope is vulnerable to this? What source version(s) of python have these problems fixed? I think the issue only surfaces if you compile Python for UCS4, which the desktop-centric versions shipped by the distros do. If you build

Re: [Zope] TimerService/ZopeScheduler runs but doesn't run scripts......

2006-10-06 Thread Chris Withers
michaelntmilne wrote: And anyway a bit of sport is enjoyable...:-) So is a bit of procmail magic, goodbye michael ;-) Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope maillist -

Re: [Zope] Surprising load test results?

2006-10-06 Thread Chris Withers
Martijn Faassen wrote: The speed drop in ZPT I think is due to using Zope 3's ZPT engine in 2.10. Zope 3 has, unless someone tells me otherwise, the policy of being slow but right at the moment. Optimisation may be something the Zope 3 guys want to focus on once they've finished refactoring

Re: [Zope] TimerService/ZopeScheduler runs but doesn't run scripts......

2006-10-06 Thread Chris Withers
Andreas Jung wrote: Be aware: he changes his email address. Probably gets banned by the various free providers he abuses ;-) That's why he escaped from my blacklist. probably filtering on milne in the To field will be enough... Chris -- Simplistix - Content Management, Zope Python

[Zope] [Fwd: [USN-359-1] Python vulnerability]

2006-10-06 Thread Chris Withers
ouch... I'd imagine Zope is vulnerable to this? What source version(s) of python have these problems fixed? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ---BeginMessage---

Re: [Zope] TimerService/ZopeScheduler runs but doesn't run scripts......

2006-10-05 Thread Chris Withers
michaelntmilne wrote: Simply good advice. I'm not asking for people to do my work for me! Did anyone ask you for advice? ;-) I'm perfectly capable of doing it myself thanks very much. I'm sure the authors look forward to your patches and unit tests... There is a general disdain of Windows

Re: [Zope] external method: importing and updating method

2006-10-05 Thread Chris Withers
Alan wrote: Thanks for help. I did what suggested below. We also set a crontab to restart the zope server every night, Why?! Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope

Re: [Zope] Surprising load test results?

2006-10-05 Thread Chris Withers
Pascal Peregrina wrote: We made some basic load testing against different Zope2 versions and found some unexpected results. What's unexpected in particular? How many runs did you do for each setup and how did you average them? Also, was the hardware, memory usage and processor load, excluding

[Zope-dev] zodb time-stamp reduction error without time chaning on server

2006-10-04 Thread Chris Withers
Hi All, One of my customers has a large (21GB) production zodb which they back up onto a contingency server using repozo and rsync. The process is roughly as follows: 1. pack the production database to 3 days once a day. 2. create a full backup with repozo and rsync this to the contingency

Re: [Zope-dev] zodb time-stamp reduction error without time chaning on server

2006-10-04 Thread Chris Withers
Dieter Maurer wrote: 3. If repozo is not to blame, what could be? One possibility would be a bad call. A bad call? Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope-Dev maillist

Re: [Zope] TimerService/ZopeScheduler runs but doesn't run scripts......

2006-10-04 Thread Chris Withers
michaelntmilne wrote: but it *should* work on windows as well. Ok, it's not the ultimate platform but ignoring it or not making sure products work on it undermines the expansion of zope and zope related products There you go, once again making assertions about what work other people should

Re: [Zope] Proposal System

2006-10-04 Thread Chris Withers
wekoweko wrote: Hi, has anyone ever implemented a pdf generating/creating proposal system in Zope? (i.e. creates a pdf that is customized and editable). Mostly just manipulating a pdf in Zope, if anyone has any recommendations or suggestions, please post, thanks. From what you're saying,

[Zope] Re: [z3-five] A Quick Event-based Cataloging How-to for Zope 2

2006-10-02 Thread Chris Withers
Good plan: http://zopewiki.org/Zope2EventBasedCataloging I hope the gods of ZWiki will link it into the right places... Chris Lennart Regebro wrote: http://zopewiki.org/ZopeWiki ? -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [z3-five] [Zope] Re: A Quick Event-based Cataloging How-to for Zope 2

2006-10-02 Thread Chris Withers
Paul Winkler wrote: maybe zopewiki.org? thanks for the writeup, very useful and readable! Yeah, I'm trying to get better at writing dox for stupid people, which is the category I often fall into when I need to do something like this in a hurry or after little sleep... It's also getting

Re: [Zope-DB] Zope and MySQL talking on Windows

2006-10-02 Thread Chris Withers
Jens Vagelpohl wrote: I Installed The Zope MySQL Database Adapter (ZMySQLDA) and The Python MySQL Database Interface (MySQLdb) to Zope's Products directory (Zope/lib/python/Products) , but it didn't work ! You're trying to install Linux software onto Windows. That will not work. Use

Re: [Zope-DB] free database adapters ,...

2006-10-02 Thread Chris Withers
Jaroslav Lukesh wrote: object-craft.com. I was not try mxODBC, because mx does not send me trial licence. That doesn't sound like eGenix... what reason did they give? Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [Zope-dev] SESSION values only refreshing with Shift-reload

2006-09-29 Thread Chris Withers
Hi Tina, Tina Matter wrote: I have a basic DTML document that has several input fields on it. I'm pretty sure you're looking for the zope@zope.org list ;-) On my error page (dtml-document), Use ZPT instead, or Twiddler when it's out ;-) However, when I click on that link, my SESSION

[Zope] Re: [z3-five] A Quick Event-based Cataloging How-to for Zope 2

2006-09-29 Thread Chris Withers
whit wrote: thanks Chris! -w I just wish there was a good and more permenant place to put this... Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope maillist - Zope@zope.org

Re: [Zope-dev] Future of ZClasses

2006-09-28 Thread Chris Withers
Jonathan wrote: BTW - nothing beats ZClasses and DTML for quick-and-dirty demos, one-time applications, and rapid-prototyping! I prefer to use page templates, python scripts and PropertyManagers for this ;-) Chris -- Simplistix - Content Management, Zope Python Consulting -

Re: [Zope] automated object exporting

2006-09-28 Thread Chris Withers
Jonathan wrote: If you are in a *nix environment i would suggest investigating 'cron' and using the 'manage_exportObject' method (google away!) If this is for backup, I wouldn't bother. Just use repozo like you're supposed to ;-) Chris -- Simplistix - Content Management, Zope Python

Re: [Zope] Dictionary in ZPT

2006-09-28 Thread Chris Withers
Pascal Peregrina wrote: Hi, I am not sure about your use case, but this should work: ... tal:define=global count python: 0; global data python: {} ... tal:define=null python: data.update({'jname':jname}); ... ...and anyone writing code like that should be taken out back and loudly shot...

Re: Zope.org DNS ( was Re: [ZWeb] http://namespaces.zope.org/zope )

2006-09-27 Thread Chris Withers
Andrew Sawyers wrote: You didn't cc tres Yeah, I know, but since Jens shouted at me shortly afterwards, I didn't think I'd rectify the situation ;-) Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [ZWeb] http://namespaces.zope.org/zope

2006-09-27 Thread Chris Withers
Justizin wrote: Perhaps I am making a wild and sweeping assumption here, but I think that Chris is talking about the DNS servers which are controlled by software the team I worked on at Rackspace was responsible for, and look like ns.rackspace.com. ;) Yep, so you're responsible for that crappy

Re: [Zope] issue with a ZODB database conflict error

2006-09-27 Thread Chris Withers
michael nt milne wrote: Any ideas? What happens is that on adding the file Zope just egg timers for ages and this appears in the logs. In the end a new file is added but that's only after many many minutes etc Far be it for you actually bother googling for Zope ConflictError and reading the

[Zope] A Quick Event-based Cataloging How-to for Zope 2

2006-09-26 Thread Chris Withers
Hi All, Just been playing with this and found it remarkably easy, so thought I'd pass it on. If anyone can think of a better place than the mailing list archives for this, please let me know! Anyway, so I'm building a Zope 2 app where I need to index objects that are not catalog aware when

[Zope-dev] Re: [Zope-DB] KeyError from Shared.DC.DA.DA

2006-09-25 Thread Chris Withers
This probably merits the Zope Dev list too, since this is part of core zope... cheers, Chris FAIRS, Dan, GBM wrote: Hi, Under load, we're seeing KeyErrors from the _cached_result method of the DA class in the code used to clear out cached results. We're using Python 2.3.5, Zope 2.8.5,

Re: [ZWeb] Re: the maintenance of change logs

2006-09-25 Thread Chris Withers
Jim Fulton wrote: the machine that goes by many names, including svn.zope.org, cvs.zope.org, and mail.zope.org. I think I'm right in saying that this poor box does have apache on it and so might not be such a bad place to stick the foundation stuff if it is just flat files? cheers,

Re: [Zope] Correpted Error while Packing zope databse

2006-09-25 Thread Chris Withers
[EMAIL PROTECTED] wrote: CorruptedError: /srv/sites/intrapmo/var/Data.fs:298657432:time-stamp reduction: 0x035f3aa3f3818c55 = 0x035f3f0dfa5d0289 My guess would be that your server's time went backwards at some point. Either that or something weird wrong with the server's hardware... Chris

Re: [Zope-DB] Zope database connectivity

2006-09-25 Thread Chris Withers
Dieter Maurer wrote: However, it really is now as you describe it... Well, you should be a foundation member by now, right? Yes, Yay! but my SVN access is not yet working (probably due to a '.' in my Zope user account). Could you not just register another account name at zope.org and

Re: [Zope] VirtualHost 403 Forbidden. Help!!

2006-09-22 Thread Chris Withers
Ferhat Ayaz wrote: I'm now able to access the server. with allowing access from all IPs. But is this the regular way to do VirtualHosting with Zope?? Here the solution (!?) Proxy * Allow from all /Proxy You really better asking these questions on #apache on

Re: [Zope] Problem with running same script at a time

2006-09-22 Thread Chris Withers
Pletli Antal wrote: When I move the second script into other outer folder, all is OK. It is very strange, and I'v never read from this problem before. Eh? You've never heard of a blocking problem before? You're creating a blocking loop, which you seem to have now fixed... nothing odd about

Re: [Zope-DB] Zope database connectivity

2006-09-22 Thread Chris Withers
Dieter Maurer wrote: M.-A. Lemburg wrote at 2006-9-20 23:00 +0200: ... I'll correct that slightly: Zope DAs usually open the connection as soon as the connection object is loaded into memory, e.g. if you look at the folder contents containing the connection object. In my view, this is a bug

Re: [Zope] PageTemplate i18n migration from Zope2 to Zope2+Five / Zope3...

2006-09-18 Thread Chris Withers
Pascal Peregrina wrote: (note that I donĀ¹t want to use flat files for translations, How come? Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope maillist - Zope@zope.org

Re: [Zope] Localizer/TranslationService question

2006-09-18 Thread Chris Withers
Pascal Peregrina wrote: Conclusion: personally, I will remain on 1.0.1 :)) But now that our sites have hundreds of messages in several languages, I might try to move the MessageCatalog implementation from PersistentMapping to Btree (I mean for storing the messages in ZODB). Have you thought

Re: [Zope] Simple high-level question - mabye about WEBDAV?

2006-09-18 Thread Chris Withers
Steve wrote: Chris McDonough wrote: How does it not work? I enter an URL which would render the index_html method as a Network Place and all I get is an error message: Getting Zope's WebDAV serving to work with M$ WebFolder is deep voodoo :-( cheers, Chris -- Simplistix - Content

Re: [Zope] Is there any setting in plone site? Which can restrict for login to newly registered users.

2006-09-14 Thread Chris Withers
Krishna Shukla wrote: Is there any setting in plone site? Which can restrict for login to newly registered users. Duno, why don't you ask on a plone list? cheers, Chris PS: Lose the obnoxious tail off your email if you want to post to public mailing lists... -- Simplistix - Content

Re: [Zope] Dictionary in ZPT

2006-09-13 Thread Chris Withers
Martijn Pieters wrote: On 9/12/06, Andreas Jung [EMAIL PROTECTED] wrote: tal:define=dummy python: somedict.update({key:value}) See, I never manipulate dictionaries in TAL and forgot you had to do it that way. I gave the wrong answer in my reply. That's because manipulating dictionaries in a

Re: [Zope] How can I get a listing of all objects in the Zope 2.62 ZODB?

2006-09-13 Thread Chris Withers
Mark, Jonathan (Integic) wrote: Is there anything similar for the Zope 2.62 ZODB? I have been using Squishdot at goodbyejim.com for years. I still don't understand it. I would love to be able to see everything that it dumps into the ZODB. OK. Can I ask why you're interested? (the answer to

Re: [Zope] Custom authentication page...

2006-09-13 Thread Chris Withers
David H wrote: If necessary add dtml-var error_tb to your standard_error_message (if using dtml) for a clearer error expression This is not good advice. There are reasons why the traceback was dropped from standard_error_message in the first place ;-) Much better is just to look in the

Re: [Zope] How can I get a listing of all objects in the Zope 2.62 ZODB?

2006-09-13 Thread Chris Withers
Mark, Jonathan (Integic) wrote: has been a positive one. I am grateful to Chris for writing it and am glad that he has moved on to other cutting edge Zope projects. What gives you the idea I've moved on anywhere? I still use Squishdot heavily and deployed a new instance for a customer a

Re: [Zope] Authentication on a Folder?

2006-09-11 Thread Chris Withers
Ferhat Ayaz wrote: In index_html: p tal:content=container/Admin/getUser/ will an authenticated user. But the page template MySite/index_html should have access to the Script Admin/getUser. I don't know how to do this.?? I think you're looking for Proxy Roles... Chris -- Simplistix -

Re: [Zope] Hanging site

2006-09-08 Thread Chris Withers
David wrote: - Browser just reports time out (not that the site is not available) Too many negatives inside your brackets, please clarify... - DeadlockDebugger does not respond either I find that hard to believe... I've tried packing the ZODB (which worked fine, but did not resolve the

Re: [Zope] Re: request.locale - do we have this in 2.9.4?

2006-09-07 Thread Chris Withers
Philipp von Weitershausen wrote: Funny, I've never used either in 6 years of zoping ;-) Me neither, but are we prepared to break the apps of the people who do? I'd assert that no-one does... (Btw, just thought of another one possible name clash: 'response') no-one uses that is Zope 2

Re: [Zope] Need Help--urgently

2006-09-07 Thread Chris Withers
cpdm cadlab wrote: Well sure it takes time to acquire etiquette for newcomer. 1. read this: http://www.catb.org/~esr/faqs/smart-questions.html 2. don't post in html to a non-html list 3. use a real name 4. eesh, that's some ugly-assed code you posted :-S Chris -- Simplistix - Content

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

2006-09-06 Thread Chris Withers
Andreas Jung wrote: This remark was just stupid. There is nothing with BSD except there are some known issues you need to consider when compiling Python (at least there were some issues in the past). Sorry, I disagree. Look back over the list archives, it seems common for people to have

Re: [Zope] Re: request.locale - do we have this in 2.9.4?

2006-09-06 Thread Chris Withers
Philipp von Weitershausen wrote: Practically, it will very rarely hinder you to add attributes (such as locale) to the request. I think locale and debug are just common enough to be form variables. Funny, I've never used either in 6 years of zoping ;-) You'd be surprised (I was too). Plus,

Re: [Zope] Re: Hmm... Localizer or Localizer

2006-09-06 Thread Chris Withers
Peter Bengtsson wrote: You simply didn't read Five/doc/i18n.txt (http://codespeak.net/z3/five/i18n.html). Googling five i18n gives you that as a first hit. RTFM is all I can say here. Don't RTFM me! I've read that page and unless you have a PhD in physics and indept experience of Zope 3 is

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

2006-09-05 Thread Chris Withers
Ken Ara wrote: One and a half days later, I am again unable to stop, restart or kill Zope. My ISP host is making changes on their network and I believe the problem is with them. I am in a FreeBSD jail, sharing the machine with a DNS server. It's 3am over there, and I wish I could do something

Re: [Zope] TinyTablesPlus How To??

2006-09-05 Thread Chris Withers
beno wrote: Strange. I have version 0.9 and I could not find it! So, I just now downloaded a new copy and untarred it and there it was. Must have gotten deleted somehow. You still alive? Damn... want some more rope? As for Dennis Allison's comment, of course, I just want to know about this

Re: [Zope] MailBoxer Problem Found...But Not Solved

2006-09-05 Thread Chris Withers
beno wrote: down. Frankly, I though (and still suspect) that the fact that the site 2012.vi:7080 doesn't resolve because of the Pound/Squid/Zope interface name resolution has fuckall to do with Pound, Squid or Zope. but 202.71.106.119:7080 does combined with the fact that I have to send

Re: [Zope] Change language with PTS

2006-09-05 Thread Chris Withers
Peter Bengtsson wrote: I'm still a i18n newbie. Don't use PTS! Ideas? If you have a google, you'll see i've just recently done the language-selection-from-cookies dance in Zope 2 but using Zope 3's infinitely better translation machinery ;-) There's even a sx.translations package which

Re: [Zope] searching zope free hosting

2006-09-05 Thread Chris Withers
Fabio Marcone wrote: I'm searching a zope free hosting to publish my homepage. Unfortunately freezope.org and objectis.net are unavailable. http://register.freezope.org/ looks like it's working to me... Chris -- Simplistix - Content Management, Zope Python Consulting -

Re: [Zope] Re: Problems starting ZEO with zeoctl

2006-09-04 Thread Chris Withers
Tres Seaver wrote: The permission needed here is for the effective user to write to the ZEO control socket, which is normally in the 'etc' direcdtory of your instance home, and named 'zeo.zdsock'. Try changing 'zeo.conf' to put that file in your 'var' directory, where you *must* be able to

Re: [Zope] Python import security problem

2006-09-04 Thread Chris Withers
Ferhat Ayaz wrote: Hi, (As you know) I'm a zope newbie. I didn't find a article describing my following problem. Funny: http://www.google.com/search?q=%22you+are+not+allowed+to+access%22 You could do with RTFMing and Googling a bit more. Just about every question you've asked so far has

Re: [Zope-dev] ZODB.POSException.ConflictError on attribute assignment

2006-09-01 Thread Chris Withers
[EMAIL PROTECTED] wrote: I'm getting a ZODB.POSException.ConflictError in the following code in a Custom Zope Product, Google for ConflictError Zope and read, a lot. These are to be expected due to Zope's concurrency model, but if end users are seeing them then your application needs

Re: [Zope-dev] Re: Timing the opening of network ports

2006-08-31 Thread Chris Withers
Christian Theune wrote: b) it's more convenient for developers Why? Early open port means: zopectl restart and reload in your browser immediately without getting Connection refused. Dieter already mentioned this use case I don't really buy that, but since it's configurable, it doesn't

<    5   6   7   8   9   10   11   12   13   14   >