Aloha,
FWIW here's what I found while backing out the hotfix on my zope 2.7.5:
The hotfix-installed files are set to an owner, group and perms that do
not work with an existing install (zope fails to start up
completely/correctly). I don't know if there are other problems also,
but that was the
The trick is to do something like this which is what I did:
$ cd /usr/lib/zope-2.7.5/lib/python/
$ wget
http://www.zope.org/Products/Zope/Hotfix_2005-10-09/security_alert/Hotfix_2005-10-09.tar.gz
$ tar -zxvf Hotfix_2005-10-09.tar.gz
$ chmod -R 644 .
$ chmod -R +X .
That's on a debian to. YMMV.
Trying to send an attachment I get another error:
Error Type: Unauthorized
Error Value: You are not allowed to access 'add_file' in this
context
and the traceback:
Traceback (innermost last):
Module ZPublisher.Publish, line 113, in publish
Module ZPublisher.mapply, line 88, in mapply
Modu
On Thu, 2005-10-13 at 00:26 +0200, Gaute Amundsen wrote:
> Well, I know that ther might easily be "login less" sessions,
> but, is it possible to log have "session less" logins?
Yes. In fact, this is the default for Zope "out of the box". Zope's
default user folder uses HTTP basic authenticatio
That cleared things up nicely.
I will dig into ExuserFolder (which is our standard) a bit more before i
decide.
Thanks :)
Gaute
On Thursday 13 October 2005 10:25, Chris McDonough wrote:
> On Thu, 2005-10-13 at 00:26 +0200, Gaute Amundsen wrote:
> > Well, I know that ther might easily be "login
Fred Drake escribió:
On 10/12/05, Garito <[EMAIL PROTECTED]> wrote:
What do you need?
In this bit of code:
Module Products.Yanged.SitioYanged, line 268, in ObtenerNodo
266 |
267 | if 'NodoRaiz' not in args:
268>| args['NodoRaiz'] =
parseString(self.Dame({'
Yes, okay, you said it once, keep saying again and it just pisses people
off. I know, I'm good at that ;-)
Nicolas Georgakopoulos wrote:
Trying to send an attachment I get another error:
Error Type: Unauthorized
Error Value: You are not allowed to access 'add_file' in this
context
This, whic
Nicolas Georgakopoulos wrote:
I make it work , the fist time I try to use it I had copied my Mailhost
object from another folder and it wasn't working. I delete it and create
another one with a different name. When I go to the MailTemplate object
to chooses my new MailHost it was already select
Hi John,
Wingware Support wrote:
Right now, Wing only supports file system based code.
Really? Why?
For code in the
database, I'd think you would want to set co_filename to some sort of
url.
You could always look at the product I mailed you about, it's not
exactly big ;-)
Somehow t
Hello all,
i am using Zope 2.7.0 and i get some results from SQL Server 2000 with a
python module's fanction witch i call from with in a DTML Method.
The data is comming encoded in ISO-8859-7 (probably due to database
setup).
I changed the setting of the default encoding from ZMI to ISO-8859-7 fo
--On 13. Oktober 2005 13:20:07 +0300 "Thomas G. Apostolou"
<[EMAIL PROTECTED]> wrote:
Hello all,
i am using Zope 2.7.0 and i get some results from SQL Server 2000 with a
python module's fanction witch i call from with in a DTML Method.
2.7.0 is old. Upgrade!
The data is comming encoded
Frey, Peter wrote:
this statement is true, in theory, but sometimes one hits problems that cannot
be solved without help of a debugger.
There may be two circumstances where on NEEDs a debugger in the production
environment
Hmmm, not convinced ;-)
a) when the problem is that urgent that ther
hi all!
i have several products using PageTemplateFiles a lot.
up to some time in them i could just write:
tal:define="results python:here.Catalog.searchResults()"
it seems this isn't working anymore, the catalog would return
all brains instead of seraching the relevant ones... (completely
ignor
On 13 Oct 2005, at 11:39, Jürgen Herrmann wrote:
up to some time in them i could just write:
tal:define="results python:here.Catalog.searchResults()"
it seems this isn't working anymore, the catalog would return
all brains instead of seraching the relevant ones... (completely
ignoreing everythi
Chris Withers wrote:
And to send the attachment I get another error:
Error Type: Unauthorized
Error Value: You are not allowed to access 'add_file' in
this context
The user executing the python script that calls add_file needs to have
the 'Use mailhost services' permission, did they?
Shane
[ Jens Vagelpohl wrote:]
>
> On 13 Oct 2005, at 11:39, Jürgen Herrmann wrote:
>> up to some time in them i could just write:
>> tal:define="results python:here.Catalog.searchResults()"
>>
>> it seems this isn't working anymore, the catalog would return
>> all brains instead of seraching the releva
Hi all,
on behalf of Zope Corporation and the Zope community I am pleased to
announce the release of Zope 2.8.2. You can download Zope 2.8.2 from
http://www.zope.org/Products/Zope/2.8.2/
Some new features of Zope 2.8:
- ZODB 3.4 with MVCC (multi version concurrency control) support
Dear Zope Community,
on behalf of Zope Corporation and all Zope 2 developers and contributors
I am pleased to announce the release of Zope 2.7.8 final.
Zope 2.7.8 can be downloaded from
http://www.zope.org/Products/Zope/2.7.8
The release notes can be found at
http://www.zope.org/Product
On 13 Oct 2005, at 11:56, Jürgen Herrmann wrote:
Apart from whether this worked previosuly or not, it is bad coding
practice to rely on assumptions such as "it will somehow acquire the
REQUEST". You should really change your code to explicity pass in
REQUEST everywhere. Then you can stop worryin
[ Jens Vagelpohl wrote:]
>
> On 13 Oct 2005, at 11:56, Jürgen Herrmann wrote:
>>> Apart from whether this worked previosuly or not, it is bad coding
>>> practice to rely on assumptions such as "it will somehow acquire the
>>> REQUEST". You should really change your code to explicity pass in
>>> RE
On 13 Oct 2005, at 13:38, Jürgen Herrmann wrote:
what i'm worried about is wether i did break anything else, possibly
with even worse results... (i don't like hidden bugs)
By explicitly passing REQUEST? I doubt it.
No i meant that i already broke something that did work before:
obviously so
On 10/13/05, Garito <[EMAIL PROTECTED]> wrote:
> self.Dame({'nombre': self.getId() + '.mm'})
>
> Dame is a function that returns a ZCatalog query where nombre is an index
...
> This File object returns the text of the last attachment I send you some
> mails ago
The index_html() method returns the
Trying to execute the following code from a python script
from smtplib import SMTP
from email.MIMEText import MIMEText
I get a error:
*Error Type: ImportError*
*Error Value: import of "SMTP" from "smtplib" is unauthorized. You are
not allowed to access 'SMTP' in this context
*
Why I can't acc
Python scripts are run in a restricted environment,
move your code to either an external method or a python zope product
built on the filesystem
Nicolas Georgakopoulos wrote:
Trying to execute the following code from a python script
from smtplib import SMTP
from email.MIMEText import MIMETex
Nicolas Georgakopoulos wrote:
Trying to execute the following code from a python script
from smtplib import SMTP
from email.MIMEText import MIMEText
I get a error:
*Error Type: ImportError*
*Error Value: import of "SMTP" from "smtplib" is unauthorized. You are
not allowed to access 'SMTP' in
Chris Withers wrote:
Nicolas Georgakopoulos wrote:
Trying to execute the following code from a python script
from smtplib import SMTP
from email.MIMEText import MIMEText
I get a error:
*Error Type: ImportError*
*Error Value: import of "SMTP" from "smtplib" is unauthorized. You
are not allo
David Convent wrote:
Python scripts are run in a restricted environment,
move your code to either an external method or a python zope product
built on the filesystem
How can I move the code to another python zope product ?
___
Zope maillist - Zope
Nicolas Georgakopoulos wrote:
I will try VerboseSecurity for a last chance ... if it doesn't work I
will install the lates Zope release.
No, you haven't anyway taken me through, step by step, what you've done
to get where you are...
What release of Zope are you using?
Chris
--
Simplistix -
Chris Withers wrote:
Nicolas Georgakopoulos wrote:
I will try VerboseSecurity for a last chance ... if it doesn't work I
will install the lates Zope release.
No, you haven't anyway taken me through, step by step, what you've
done to get where you are...
What release of Zope are you using
Hi,
I have the following constructor for an external product I build.
def manage_addEba(dispatcher, id='eba', title='Title here',REQUEST=None):
"Add a Basis element to a folder."
nEba=eba(id,title)
dispatcher.Destination()._setObject(id, nEba)
if REQUEST is not None:
dispatche
Fred Drake escribió:
On 10/13/05, Garito <[EMAIL PROTECTED]> wrote:
self.Dame({'nombre': self.getId() + '.mm'})
Dame is a function that returns a ZCatalog query where nombre is an index
...
This File object returns the text of the last attachment I send you some
mails ago
T
Hooray, new stable releases are always a happy day :)
Thank you Andreas!
Sadly, I have to report some SNAFUs on zope.org,
so I am cc'ing the zope-web list:
On the "Download Zope" page, the latest stable version is still listed
as 2.8.1. http://www.zope.org/Products/
Also from the main download
Can you show us your __init__ stuff?
2005/10/13, Henny van der Linde <[EMAIL PROTECTED]>:
> Hi,
>
> I have the following constructor for an external product I build.
>
> def manage_addEba(dispatcher, id='eba', title='Title here',REQUEST=None):
> "Add a Basis element to a folder."
> nEba=eb
We have been running on Zope 2.7.6 with a few patches. I am now planning
to migrate to Zope 2.7.8 but am pondering the move to Zope 2.8. We are in
a production situation and cannot accept any downtime, so I am very
concerned about stability and compatibility.
Can the list provide words of ad
I am not the list, but I would go with 2.7.8.
2.8 will need more work from your side in the catalogs.
Jake
--
http://www.ZopeZone.com
Dennis Allison said:
>
> We have been running on Zope 2.7.6 with a few patches. I am now planning
> to migrate to Zope 2.7.8 but am pondering the move to Zope
Tres Seaver said:
> Paul Winkler wrote:
(snip)
>> Also, looking over the release notes, I see that there is one bugfix
>> that made it into the 2.8 branch and the trunk, thanks to Andreas -
>> the #1895 fix to test.py.
>> But the fix does not seem to have been noted in CHANGES.txt on the 2.8
>> br
Hi:
If I use this line in a Python script:
print row['end_date'], row['end_date'].strftime('%d')
I get:
2005/10/13 12
You can see the day is out by one. Should be 13, but is gets converted
as 12. So I'm curious what's up with that?
Zope Version
(Zope 2.8.1-final, python 2.4.0, f
Hi, I am just learning Zope, and I wanted to try external methods. I
first tried a symlink in the Extension directory, but zope reported it
couldn't find it. I then copied the file into the Extension directory
and was successful at that. I assume that happened that way perhaps for
my own protect
2005/10/13, DS <[EMAIL PROTECTED]>:
> Hi, I am just learning Zope, and I wanted to try external methods. I
> first tried a symlink in the Extension directory, but zope reported it
> couldn't find it. I then copied the file into the Extension directory
> and was successful at that. I assume that
- Original Message -
From: "Peter Bengtsson" <[EMAIL PROTECTED]>
To: "Henny van der Linde" <[EMAIL PROTECTED]>
Cc:
Sent: Thursday, October 13, 2005 7:33 PM
Subject: Re: [Zope] constructor product in Zope 2.8.1
Can you show us your __init__ stuff?
Yes
Here it is:
from eba import eb
>
> Can you show us your __init__ stuff?
>
> Yes
>
> Here it is:
>
> from eba import eba
>
>
> def initialize(context):
> context.registerClass(
> eba,
> constructors = (
> eba.manage_addEbaForm,
> eba.manage_addEba
> ),
> icon="www/eba.gif"
>
There's your problem!
Is "eba" a folder or a file (ie.
Dennis Allison wrote:
We have been running on Zope 2.7.6 with a few patches. I am now planning
to migrate to Zope 2.7.8 but am pondering the move to Zope 2.8. We are in
a production situation and cannot accept any downtime, so I am very
concerned about stability and compatibility.
Can the l
Dennis, if you're still using ZSyncer, I don't think it works with 2.8 yet.
I'll be finally trying to fix that in a minute...
-PW
On 10/13/05, J Cameron Cooper <[EMAIL PROTECTED]> wrote:
> Dennis Allison wrote:
> > We have been running on Zope 2.7.6 with a few patches. I am now planning
> > to m
Hi folks,
Anybody who's been wanting to get ZSyncer working on Zope 2.8,
please check out the new 0.7-beta1 on sourceforge:
http://sourceforge.net/project/showfiles.php?group_id=28073&package_id=20913&release_id=363376
This is a beta release!
I'm hoping for feedback from anybody who is using any
On 10/14/05, Dennis Allison <[EMAIL PROTECTED]> wrote:
We have been running on Zope 2.7.6 with a few patches. I am now planningto migrate to Zope 2.7.8 but am pondering the move to Zope 2.8. We are ina production situation and cannot accept any downtime, so I am very
concerned about stability and
--On 13. Oktober 2005 14:46:26 -0700 "Jason C. Leach"
<[EMAIL PROTECTED]> wrote:
Hi:
If I use this line in a Python script:
print row['end_date'], row['end_date'].strftime('%d')
I get:
2005/10/13 12
You can see the day is out by one. Should be 13, but is gets converted
as 12. So I'm
--On 14. Oktober 2005 12:43:53 +0800 Bakhtiar A Hamid
<[EMAIL PROTECTED]> wrote:
On 10/14/05, Dennis Allison <[EMAIL PROTECTED]> wrote:
We have been running on Zope 2.7.6 with a few patches. I am now planning
to migrate to Zope 2.7.8 but am pondering the move to Zope 2.8. We are in
a prod
47 matches
Mail list logo