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
'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/ [
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.
-
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
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
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
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
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
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.
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/
>
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/
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/
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
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]
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:
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
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
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
:)
> 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
% 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,
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
, 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?
--
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
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
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
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
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]
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
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.
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:
>
>
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
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
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
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
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
,
> 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
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
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.
'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
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]
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
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
-- 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
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 |
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
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."
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
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
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?
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
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,
>>
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]
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
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
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
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
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
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
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
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."
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
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
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
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
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
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."
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
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
68 matches
Mail list logo