[Zope] Problem with links containing non-ascii characters in StructuredText

2005-09-29 Thread Maurits van Rees
website":http://zope.org/. -- That last failed link is obviously not as it should be. Does anyone know a solution? I failed to find one with Google. I wondered if it had to do with the diaeresis specifically, but the same thing goes wrong with e.g. 'Zópe'. BTW, I us

Re: [Zope] Problem with links containing non-ascii characters in StructuredText

2005-09-30 Thread Maurits van Rees
't produce a link) or they produce a correct link but with ugly characters like above. Maybe I can get it to work with some more trying and guessing. But does anyone have a good link on how to get Zope to work correctly with Unicode? Thanks, -- Maurits van Rees | http://maurits.vanrees.org/ [

Re: [Zope] Problem with links containing non-ascii characters in StructuredText

2005-09-30 Thread Maurits van Rees
uot;ppsr(text):" print ppsr(text) print "" return printed -- So no more switching from iso to utf with: print ppsr(unicode(text,'iso-8859-1').encode('utf-8')) So far as I can see this solves my problems. Thanks for thinking with me, Andreas. -

Re: [Zope] passing the parameters to zsql method

2005-10-27 Thread Maurits van Rees
e. This gives the report something to present to the user as visual feedback, instead of leaving him in the dark on whether the submission of the form actually had any permanent results. -- Maurits van Rees | http://maurits.vanrees.org/ [Dutch/Nederlands] Public GnuPG key: http://maurits.vanrees.org/va

Re: [Zope] unicode problem

2005-11-30 Thread Maurits van Rees
check if your Python scripts do some explicit unicode encoding, like this: sometext = unicode(some_other_text,'iso-8859-1').encode('utf-8') And you may have to change your Python's default encoding or have a look at etc/zope.conf in your zope instance. HTH, -- Maurits

[Zope] Re: error installing zope from source

2005-12-22 Thread Maurits van Rees
d to install that. ('aptitude install python2.3-dev' or similar.) When you install Zope from source, you may want to install python from source too. At least that's what I see recommended often. -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftwar

[Zope] Re: management of project

2006-03-14 Thread Maurits van Rees
On 2006-03-13, gus <[EMAIL PROTECTED]> wrote: > Hello > One questions > > Is there a program in zope for management project!!! eXtreme Management is great: http://plone.org/products/extreme-management-tool/ My company made it, so I may be biased. :) -- Mauri

[Zope] Re: Newbie zopectl question

2006-03-20 Thread Maurits van Rees
ith 'crontab -e' that contains something like this: @reboot /home/someuser/zopeinstance/bin/zopectl start Then test it of course. :) -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ GnuPG key | http://maurits.vanrees.org/var/gpgkey.as

[Zope] Re: Zope 2.10.0 released

2006-10-03 Thread Maurits van Rees
efore in some Zope tar files IIRC, is that the files in the skel dir don't have the right permissions. Only root can view them. So when you make an instance you run into an error: [Errno 13] Permission denied: './README.txt' -- Maurits van Rees | http://maurits.vanrees.

[Zope] Re: Zope 2.10.0 released

2006-10-03 Thread Maurits van Rees
Maurits van Rees, on 2006-10-03: > Andreas Jung, on 2006-10-03: >> on behalf of Zope developer community I am pleased to announce the release=20 >> of Zope 2.10.0. >> >> You can download Zope 2.10.0 from: >> >> http://www.zope.org/Products/Zope/2.10.0/ >

[Zope] Re: Zope 2.10.0 released

2006-10-03 Thread Maurits van Rees
Andreas Jung, on 2006-10-03: > Feel free to file a collector issue. Probably better, yes. Done: http://www.zope.org/Collectors/Zope/2201 -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ GnuPG key | http://maurits.vanrees.org/

[Zope] Re: Zope 2.10.0 released

2006-10-05 Thread Maurits van Rees
in the directory where I extracted the tar ball to) are owned by root, which is a bit strange. No big deal, bit if this can be fixed, it would be nice. Anyway, the new tarballs work. -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/

[Zope] Re: Zope 2.10.0 released

2006-10-05 Thread Maurits van Rees
y' [EMAIL PROTECTED]:~/download/Zope-2.10.0-final $ find -user root ./lib/python/zope.proxy ./lib/python/zope.proxy/proxy.h ./build-base/python-2.4/build-lib/version.txt Bingo, there is your error. Well, like I said, that's not a big deal, but still... -- Maurits van Rees | htt

[Zope] Tab completion in zopectl debug

2006-10-17 Thread Maurits van Rees
code in that rc file, than that someone could just as easily start a python session and enter the malicious code there. This would just be for convenience. Would this be enough of a convenience to put into the Zope source code? -- Maurits van Rees | http://maurits.vanrees.org/ [NL]

[Zope] Re: Tab completion in zopectl debug

2006-10-18 Thread Maurits van Rees
Dieter Maurer, on 2006-10-18: > Nothing prevents you to call "execfile" at the start of your > debug session. Lazyness prevents me to call "execfile" at the start of my debug session. :) -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http:

[Zope] Re: Tab completion in zopectl debug

2006-10-18 Thread Maurits van Rees
reactions, but then I'll look into adding some lines to the collector, yes, unless someone beats me to it. -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ "Do not worry about your diffi

[Zope] Re: Tab completion in zopectl debug

2006-10-18 Thread Maurits van Rees
looks promising; I'll try it out, thanks. The following also mention ipython in the light of zope: http://tomster.org/blog/archive/2006/10/09/ipython-as-zope-shell http://michaelthornhill.blogspot.com/2005/09/how-to-debug-zopeplone-with-ide.html -- Maurits van Rees | http://maur

[Zope] Re: error with simple python script loop

2006-11-28 Thread Maurits van Rees
Christian Steinhauer, on 2006-11-24: > i cant use pdb on zope´s python script i think? You can, if you put this small (two lines) program in your Products dir: svn://svn.zope.org/repos/main/Products.enablesettrace Not meant for production sites. -- Maurits van Rees | h

[Zope] zdb (was: error with simple python script loop)

2006-11-29 Thread Maurits van Rees
:) > It also includes the security declarations necessary to import it from > untrusted code :-) Those security declarations are actually the only thing that svn://svn.zope.org/repos/main/Products.enablesettrace itself does. -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Wo

[Zope] Re: zope/zeo on multiprocessor machines?

2007-01-24 Thread Maurits van Rees
% when all clients are fully active. A big improvement, with no additional setup that I am aware of. So it is automagically handled, yes. -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ "Do not worry about your difficulties in computers,

[Zope] Re: Which Products Folder?

2007-01-30 Thread Maurits van Rees
on my experience with Zope on Linux though; Windows may handle things differently, so sorry if I am putting you on the wrong track. -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ "Do not worry about your

[Zope] bin/zopectl start not working for Zope 2.9.7

2007-03-26 Thread Maurits van Rees
, mkzopeinstance does not work. This has happened to me with other Zope versions as well. At least I remember reporting this earlier; and seeing it solved fortunately. :) It would seem the root source has not been found/fixed though. :( Any chance of fixing this? Need any help Andrea? --

[Zope] Re: bin/zopectl start not working for Zope 2.9.7

2007-03-26 Thread Maurits van Rees
Maurits van Rees, on 2007-03-26: > So after installing 2.8.9 as root or with sudo, mkzopeinstance does > not work. This has happened to me with other Zope versions as well. > At least I remember reporting this earlier; and seeing it solved > fortunately. :) It would seem the root so

[Zope] Re: bin/zopectl start not working for Zope 2.9.7

2007-03-26 Thread Maurits van Rees
Maurits van Rees, on 2007-03-26: > Maurits van Rees, on 2007-03-26: > Meanwhile, this 2.8.9 has the same problem that I reported for 2.9.7: > bin/zopectl start does not work, though 'fg' does work. And Zope 2.10.3 has this problem too for bin/zopectl start. I just tried unpack

[Zope] [Solved] Re: bin/zopectl start not working for Zope 2.9.7

2007-03-26 Thread Maurits van Rees
ly you found it after all. :) Thanks. -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ "Do not worry about your difficulties in computers, I can assure you mine are still greater." ___ Zope

[Zope] Re: Zope 2.8.9, Zope 2.9.7, Zope 2.10.3 released

2007-03-26 Thread Maurits van Rees
now. Any chance of doing this for 2.8.9 as well, as this has the same bug? -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ "Do not worry about your difficulties in computers, I can assure yo

[Zope] Zope unusable on my Virtual Private Server

2007-04-23 Thread Maurits van Rees
end I am left with the feeling that this server might not be good enough for Zope. I have not yet asked the sys admins for help, but I do not really know what to ask them, except for my money back. Is there anything else I can try? -- Maurits van Rees | http://maurits.vanrees.org/ [NL]

[Zope] Conditional import of annotations for Zope 2.9 and 2.10: how?

2007-05-14 Thread Maurits van Rees
e my loss and translate the zope/(app/)annotations/configure.zcml file (which only registers one adapter) into python code? -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ "Do not worry abo

[Zope] Re: Conditional import of annotations for Zope 2.9 and 2.10: how?

2007-05-14 Thread Maurits van Rees
tried it. Should I propose this on the zope 3 dev list? I do not currently read that list btw. -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ "Do not worry about your difficulties in computers, I can assure you mine are still greater.

[Zope] Re: Conditional import of annotations for Zope 2.9 and 2.10: how?

2007-05-17 Thread Maurits van Rees
Maurits van Rees, on 2007-05-14: > Hm: for this reason it would be nice to still have the original zcml > file in there. Then including that zcml would still work though you > get a DeprecationWarning. Actually, that zcml file should then look > like this: > >

[Zope] Re: Function reindexObject()

2007-05-30 Thread Maurits van Rees
the ZMI: - rename folder A to folder B or - create folder B and move the imported contents of folder A into folder B But I think I misunderstand you, sorry. -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ "Do

[Zope] Re: review_state

2007-06-01 Thread Maurits van Rees
state - Should you then also want the title or name of the state: review_state_title = wflow.getTitleForStateOnType( review_state, 'Document') -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftwar

[Zope] Re: How to execute code at startup?

2007-06-12 Thread Maurits van Rees
obably better, approach that comes to mind: forget about that Product. After you copied the instance, call: bin/zopectl run setcache.py where setcache.py only contains that line above I think. Maybe add "import transaction; transaction.commit()" after that. -- Maurits van Rees | ht

[Zope] Re: 2.9.7 build fails: 'build/lib/linux-i686-2/5/pytz/zoneinfo/Antarctica' does not exist

2007-06-13 Thread Maurits van Rees
ckage directory > 'build/lib/linux-i686-2/5/pytz/zoneinfo/Antarctica' does not exist > make: *** [build] Error 1 > > Any ideas? Antarctica has melted due to global warming. I could not resist. :) It worked fine last time I tried it on my Ubuntu Feisty. You ran "./con

[Zope] Re: zope stopped working suddenly

2007-06-13 Thread Maurits van Rees
m and how to solve it? Two options: 1. Look for errors in the log/event.log file of your zope instance. 2. Start Zope with bin/zopectl fg That last one will start zope in the foreground, which will let you see any warnings and errors that it runs into when starting up. -- Maurits van Rees | http

[Zope] Re: 2.9.7 build fails: 'build/lib/linux-i686-2/5/pytz/zoneinfo/Antarctica' does not exist

2007-06-13 Thread Maurits van Rees
, > configure, etc. before as a normal user. Ehm... you should not run "python setup.py install" at all! The usual way to install zope from a tar ball is: ./configure # or ./configure --with-python=python2.4 --prefix=directory-of-your-choice make sudo make install -- Maurits van R

[Zope] Packing the Data.fs with wget fails since 2.9.7

2007-06-14 Thread Maurits van Rees
es in this context are ['Anonymous']. For zeo I could use the bin/zeopack.py from the zope software home, but not for non-zeo zope servers. Does anybody know a solution? -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ "Do not worry ab

[Zope] Re: a warning message before performing an action

2007-06-14 Thread Maurits van Rees
user if he is sure that he wants to delete the item. Maybe you can borrow some code from that? See: http://dev.plone.org/plone/browser/CMFPlone/branches/2.5/skins/plone_forms/delete_confirmation.cpt though for some reason nothing is currently visible there. -- Maurits van Rees | http://maurits.

[Zope] Re: Packing the Data.fs with wget fails since 2.9.7

2007-06-15 Thread Maurits van Rees
'Authorization', "Basic %s" % auth) # Use POST instead of GET: needed at least in Zope 2.9.7 req.add_data('POST') info = urllib2.urlopen(req) -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ "Do not worry abo

[Zope] Re: Zope 2.10.4 Upgrade

2007-07-12 Thread Maurits van Rees
reflect the new 2.10.4 version and restarted. > Did I miss a step? You can run a mkzopeinstance over an existing instance and those things will be upgraded. Not completely sure what happens to any modifications to the zope.conf file. -- Maurits van Rees | http://maurits.vanrees.org/ [NL]

[Zope] Re: html2pdf

2007-07-12 Thread Maurits van Rees
ection for such use? > > I am using: > (Zope 2.9.0, python 2.4.2, win32) and latest version of html2pdf. I would simply say: set the view permissions to Member and not to Anonymous. Then report back here with any errors you get. -- Maurits van Rees | http://maurits.vanrees.or

[Zope] Re: Installation trouble

2007-07-31 Thread Maurits van Rees
chine. If 2.5 and 2.4 are installed side by side, the ./configure of Zope will choose the 2.4 one. So: keep 2.5 if you want, but also install 2.4. -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ "Do not worry about your difficulties in comput

[Zope] Re: Trouble migrating from Zope 2.5.x to Zope 2.9.x

2007-08-09 Thread Maurits van Rees
-- they all > work fine but also were created using Zope 2.9, not Zope 2.5. I would first migrate the 2.5 database to 2.9 in a separate zope instance with only this database, not any others. After that you can try mounting that migrated database together with the others. This is just a guess

[Zope] Re: Help with DateTime.earliestTime()

2007-08-27 Thread Maurits van Rees
DateTime problem day += 1 try: date = DateTime(self.year, self.month, day) except: break Hm, that should probably be "except DateTime.DateTime.DateError" but there is not really anything else that can go wrong here. -- Maurits van Rees |

[Zope] Re: Help with DateTime.earliestTime()

2007-08-28 Thread Maurits van Rees
J Cameron Cooper, on 2007-08-27: > Maurits van Rees wrote: >> Hm, that should probably be "except DateTime.DateTime.DateError" but >> there is not really anything else that can go wrong here. > > A ConflictError can go wrong here, which is an additional and importa

[Zope] Re: repozo.py problems

2007-11-07 Thread Maurits van Rees
Apparently you are less lucky. :-/ No idea for how to solve this, sorry. -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ "Do not worry about your difficulties in computers, I can assure you mine are still greater."

[Zope] Portal catalog not always finding my content type

2007-11-28 Thread Maurits van Rees
on a plone list instead. But since it *does* go correct in the tests I thought it was probably not something Plone specific. Feel free to direct me to a different list though. :) Thanks, -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ "Do no

[Zope] Re: Portal catalog not always finding my content type

2007-11-29 Thread Maurits van Rees
t of the > 'allowedRolesAndUsers' index for that object: does it say something > like '("Manager",)"? Yes, Manager and some other roles. I published the item and now Anonymous is in that list. And that makes my PAS plugin work. Phew! Thanks! -- Maurits van Re

[Zope] NamedTemplate.__call__ not returning anything

2008-01-13 Thread Maurits van Rees
vn/collective/collective.portlet.vocabulary/trunk/collective/portlet/vocabulary And actually, the tests that I added pass when I change the NamedTemplate.__call__ method to return the value that it just got. So should that method be changed or is there a different way to do this?

[Zope] Re: NamedTemplate.__call__ not returning anything

2008-01-14 Thread Maurits van Rees
Dieter Maurer, on 2008-01-14: > Maurits van Rees wrote at 2008-1-13 23:32 +: >>I have some code where I try to get a named template and render it and >>if it fails I render a default template instead. But this fails, >>presumably because the __call__ method of NamedTempl

[Zope] Re: NamedTemplate.__call__ not returning anything

2008-01-14 Thread Maurits van Rees
Maurits van Rees, on 2008-01-14: > Dieter Maurer, on 2008-01-14: >> Maurits van Rees wrote at 2008-1-13 23:32 +: >>>I have some code where I try to get a named template and render it and >>>if it fails I render a default template instead. But this fails, >>

[Zope] Re: suddenly confused

2008-01-18 Thread Maurits van Rees
first one. Or edit the zope.conf file of the second one and point to the Products dir of the first one in the products directive. -- Maurits van Rees | http://maurits.vanrees.org/ Work | http://zestsoftware.nl/ "This is your day, don't let them take it away." [Barlow Girl]

[Zope] Re: [buildout] bootstrap and develop

2008-01-29 Thread Maurits van Rees
ve/xm.theme/trunk#egg=xm.theme-dev eggs = xm.booking xm.theme build-directory = src develop = true = And then of course mention this section in buildout[parts] and add {xm-development}:eggs to [instance]eggs and perhaps [instance]zcml or wherever else y

[Zope] Re: Installing TextIndexNG3 in ZopeTestCase (long story short)

2008-02-04 Thread Maurits van Rees
estCase.installProduct('Five') > ...and then it worked. You may want to try completely removing that line with installProduct('Five'). If I understand this blog post correctly you should not need it: http://bfhammer.blogspot.com/2006/08/i-break-tests-because-i-ca

[Zope] Re: zope starts in foreground but not normaly

2008-03-11 Thread Maurits van Rees
thing works fine. > if I however start it with bin/zopectl start This is a problem with Zope 2.8.9. It was fixed in the shortly after released 2.8.9.1. See the top of this file: http://www.zope.org/Products/Zope/2.8.9.1/CHANGES.txt -- Maurits van Rees | http://maurits.vanrees.o

[Zope] Re: zip files corrupted with IE when opened, fine when downloaded

2008-03-19 Thread Maurits van Rees
ing 7-zip might solve this. My 2 cents. -- Maurits van Rees | http://maurits.vanrees.org/ Work | http://zestsoftware.nl/ "This is your day, don't let them take it away." [Barlow Girl] ___ Zope maillist - Zope@zope.org ht

[Zope] Re: I would like to join your group; my membership is pending approval

2008-03-25 Thread Maurits van Rees
this list. I think this is not intended. Perhaps > someone can change this in linkedin. > > Soory again > juh I had the same, though no mail ended up here as far as I saw. -- Maurits van Rees | http://maurits.vanrees.org/ Work | http://zestsoftware.nl/ "This is you

[Zope] Re: i18n/L10n support in zope2

2008-04-09 Thread Maurits van Rees
me and attributes. > Also I was not able to find references/examples for DTML, does DTML > supports i18n/L10n ? No. At least, I do not think so, and this grep in a buildout did not return any relevant results: grep i18n $(find . -name '*dtml') -- Maur

[Zope] Re: i18n/L10n support in zope2

2008-04-10 Thread Maurits van Rees
the request object. To display the complete request in a page template for inspection you can probably do this: or simply this -- Maurits van Rees | http://maurits.vanrees.org/ Work | http://zestsoftware.nl/ "This is your day, don't let them take it away." [Barlo

[Zope] Re: i18n/L10n support in zope2

2008-04-10 Thread Maurits van Rees
languages in the i18n domain. Don't you mean to make this three times the same domain and then perhaps add the i18n:target en/de/cs? -- Maurits van Rees | http://maurits.vanrees.org/ Work | http://zestsoftware.nl/ "This is your day, don't let them take it away."

Re: [Zope] Script (Python) insecure ?

2008-08-12 Thread Maurits van Rees
ashed Zope. I could not confirm the other problem; that just gave me a LookupError. With the hotfix in the Products dir of the instance, the crash did not occur and the tests passed. Marvelous! Thanks Andreas! -- Maurits van Rees | http://maurits.vanrees.org/ Work | http://zestsof

Re: [Zope] Script (Python) insecure ?

2008-08-12 Thread Maurits van Rees
Maurits van Rees, on 2008-08-12: > That's with: http://www.zope.org/advisories/Hotfix_20080812_0.1.tar.gz Oh, that tarball contains a .svn directory... I took the liberty of committing a change to the text of the raised ValueError to make it a proper sentence. Old: SystemExit can no

Re: [Zope] Overriding DateTime

2009-03-26 Thread Maurits van Rees
that our product was too late in the startup process to have enough influence. So we put the patch in a product called (Products.)AAAPatch; affectionately called triple A patch. :-) Due to the three A-s at the beginning it was virtually guaranteed to be the first product to load. -- Maurits

Re: [Zope] repoze.bfg 1.0 released

2009-07-07 Thread Maurits van Rees
u need the -f option, for find-links: $ easy_install -f http://dist.repoze.org/bfg/current repoze.bfg Searching for repoze.bfg Reading http://dist.repoze.org/bfg/current Best match: repoze.bfg 1.0 ... -- Maurits van Rees | http://maurits.vanrees.org/ Work | http://zestsoftwar

Re: [Zope] repoze.bfg 1.0 released

2009-07-07 Thread Maurits van Rees
Maurits van Rees, on 2009-07-07: >> Quick installation: >> >>easy_install -i http://dist.repoze.org/bfg/current repoze.bfg Ah, as mentioned on a different mailing list, it should be this: easy_install -i http://dist.repoze.org/bfg/current/simple repoze.bfg -- Mauri

Re: [Zope] Disabling "Expand macros when editing"

2009-09-04 Thread Maurits van Rees
ut when you check it and save the form it remains checked for that template. Try appending ?expand:int=0 to the url. That does the trick for me. -- Maurits van Rees | http://maurits.vanrees.org/ Work | http://zestsoftware.nl/ "This is your day, don't let them take it away."

Re: [Zope] Disabling "Expand macros when editing"

2009-09-04 Thread Maurits van Rees
reported in the bugtracker can not be fixed :-) Looks like this *was* reported earlier and already fixed in Zope 2.10.7. :-) The changelog says: Launchpad #262313: respect the Expand macros when editing flag when editing a page template through the ZMI So Daymon: please switch to 2.10.7 or lat

Re: [Zope] Change admin's password

2009-12-31 Thread Maurits van Rees
the do_adduser method in Zope2/Startup/zopectl.py -- Maurits van Rees | http://maurits.vanrees.org/ Work | http://zestsoftware.nl/ "This is your day, don't let them take it away." [Barlow Girl] ___ Zope maillist - Zope@zope.o