I am seeing occasional errors like those below. Any have any idea what my
problem here is?
Zope 2.7.6
MySQL-server-4.0.20-0
MySQLDB aka MySQL-python-1.2.tc3
ZMySQL 2.0.9
Python 2.4.1
Typically the errors occur at initial login when the database is consulted
to populate various session variabl
Hi,
In a previous mail, I was asking if anyone had issues with ZopeProfiler and
Zope 2.8.
I have made many more tests and my issue is completely unrelated with Zope
2.8 (I got the same issue with Zope 2.7.6)
The issue has to deal with an XML-RPC call to a java service (using the
standard xmlrpcli
I just finished reading xmlrpclib.py and ZopeProfiler code.
Here is the root cause of the issue :
In my code :
getattr(ServerProxy(self.url),self.rpc_method_expr) returns an
xmlrpclib._Method object
Then ZopeProfiler calls
ZopeProfiler.ZopeProfiler.getHLFuncId(self,fn,frame), which contains:
gP
The other week someone provided me with this snippet of code for
generating links from a list containing a description and a link:-
This works fine, but now that I have used it in a template I'm finding
that the link is being prepended with the locatio
Hi
I'm using the repozo.py script to back up some large FileStorages, as
outlined in:
http://www.zope.org/Wikis/ZODB/FileStorageBackup
I need to clear out old backups regularly, as there are several
storages which are packed every night, and so there are lots of ~2G
backups files around for eve
I have a Zope install 2.5.1 that I am wanting to migrate to another box
that has 2.8.0. After the 2.8.0 install I import the .zexp's and copy
the data.fs file from the old var to the new. This never goes
successfully as I get the following when pointing to
localhost:8080/manage and after I authen
On Mon, Jun 27, 2005 at 08:29:01AM -0500, Tim Suter wrote:
> I have a Zope install 2.5.1 that I am wanting to migrate to another box
> that has 2.8.0. After the 2.8.0 install I import the .zexp's and copy
> the data.fs file from the old var to the new.
Redundant. If you copy the Data.fs file, y
I have a synkronisation script that I run every 10 minutes via wget from
a cron job.
Sometimes the script runs longer than 10 minutes.
In that case I would like to return a page to wget, but not run the
actual script.
So in a external method/module I have a function like this:
BUSY_STATE =
I expect that your 'global BUSY_STATE' statement is only creating a global
variable within the context of a 'program execution'.
In general terms, a global variable is only accessible to routines within a
single running program. Two programs, running simultaneously, will each
have their own v
On 27 Jun 2005, at 14:00, Felix Ulrich-Oltean wrote:
Can I just go in and delete files older than X days from the backup
directory, or will this upset repozo, which apparently keeps info
about its backup files in the .dat file?
You can safely delete all files older than your last *full backup*
> A possible solution: create a property field on the folder
> where the external methods are stored. Have your external
> method update this property field when the external method
> starts and again when it exits. This way you can test
> whether or not the external method is currently in o
- Original Message -
From: "Jim Abramson" <[EMAIL PROTECTED]>
A possible solution: create a property field on the folder
where the external methods are stored. Have your external
method update this property field when the external method
starts and again when it exits. This way yo
[Felix Ulrich-Oltean]
> I'm using the repozo.py script to back up some large FileStorages, as
> outlined in:
>
> http://www.zope.org/Wikis/ZODB/FileStorageBackup
>
> I need to clear out old backups regularly, as there are several
> storages which are packed every night, and so there are lots of ~2G
I think that storing an "isMyProcessingStarted" property would not work,
because the transaction that modifies the property value would not be
committed until the long processing is done, so when the next transaction
that reads this value starts (if this happens before the previous one has
finished
On Mon, Jun 27, 2005 at 11:08:56AM -0400, Tim Peters wrote:
> [Felix Ulrich-Oltean]
> > I need to clear out old backups regularly, as there are several
> > storages which are packed every night, and so there are lots of ~2G
> > backups files around for every day.
>
> Are you doing full backups eve
I deleted the Zope dir to start over. Went through the configure make
and make install routine from the source directoryran
mkzopeinstance.py then after running:
# su -c "/opt/zope/knowledge/bin/runzope" itadmin
I get this:
Traceback (most recent call last):
File "/opt/zope/lib/python/Zop
On Mon, Jun 27, 2005 at 10:28:45AM -0500, Tim Suter wrote:
> I deleted the Zope dir to start over. Went through the configure make
> and make install routine from the source directoryran
> mkzopeinstance.py then after running:
>
> # su -c "/opt/zope/knowledge/bin/runzope" itadmin
>
> I get t
On 6/27/05, Tim Suter <[EMAIL PROTECTED]> wrote:
> I deleted the Zope dir to start over. Went through the configure make
> and make install routine from the source directoryran
> mkzopeinstance.py then after running:
>
> # su -c "/opt/zope/knowledge/bin/runzope" itadmin
>
> I get this:
>
>
- Original Message -
From: "Pascal Peregrina" <[EMAIL PROTECTED]>
I think that storing an "isMyProcessingStarted" property would not work,
because the transaction that modifies the property value would not be
committed until the long processing is done, so when the next transaction
t
Jonathan wrote:
A possible solution: create a property field on the folder where the
external methods are stored. Have your external method update this
property field when the external method starts and again when it exits.
This way you can test whether or not the external method is current
Tim,
> and add a comment there about whether you're happy with it? That adds
> a new option to repozo to automate deleting old files. The chances of
> that patch going in would increase if someone reports they use it and
> are happy with it.
>
What would be most useful is the ability to specify
Can anyone suggest how I would go about debugging a Python routine like
this through Zope?
--
John
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML
To keep traffic down I don't announce every MailManager release but 2.0
is a milestone for us. This is still very much a Zope product but with
2.0 we're now storing the mail in PostgreSQL (and shortly other RDBMs
too) rather than the ZODB. We are still fans of the ZODB but for our
particular us
- Original Message -
From: "John Poltorak" <[EMAIL PROTECTED]>
Can anyone suggest how I would go about debugging a Python routine like
this through Zope?
I would start by testing the python routine on its own (ie. without any ZPT
stuff) to make su
I use a Script Python that writes to a ZPT. It first
reads the ZPT then appends new info; first with a time
stamp, container info, and the message. This works
from other Script Python objects or ZPTs. It's quick
and dirty; but, I've been able to use it for most of
my debugging.
There are other
[Eddie Butcher]
> What would be most useful is the ability to specify the number of backup
> files *kept*.
Please add comments to the Collector issue instead? On a mailing
list. they're forgotten forever an hour after they're posted <0.1
wink>:
http://www.zope.org/Collectors/Zope/1501
__
I prefer:
emacs with ExternalEditor - to edit ZODB objects,
emacs with TRAMP - to edit native filesystem files via SSH, see:
http://savannah.nongnu.org/download/tramp/
emacs via FTP (with AngeFTP or with TRAMP) is also good for both of
these when configured. But be aware that content an
John Poltorak wrote:
My links list consists of simple lines such as
org-1,First link
org-2,Second Link
org-x,Another Link
How do I prepend a hardcoded path to org-1 instead of what is getting
generated?
I would like to see the link for org-1 being generated as
http://www.mysite.org/links/
Hi!
I'am trying to add one more field in the edit_news_form(plone)
but when i execute the script that probably stores the object
information of this new field aren't stored.
So this what i'am doing:
<--Script>
...
new_context = context.portal_factory.doCreate(context,id)
n
John Poltorak wrote:
If I create individual pages for a website as sub folders of a sites main
folder, how do I control the sequence of pages if I automatically generate
a set of links to all the folders?
See the "FileLibrary" example, probably located at:
http://localhost:8080/Examples/FileL
More info that may be of help:
* Ken Manheimer's wiki on Zope debugging at
zope.org:
http://zope.org/Members/klm/ZopeDebugging/FrontPage
* Ken's original paper on the matter:
http://zope.org/Members/klm/ZopeDebugging/ConversingWithZope
* A more advanced coverage of the matter at
zopewi
Well, I guess that you want to debug here.lib.parse_file() as the rest is
quiet obvious...
If "parse_file" is a PythonScript, you can test it from the ZMI, and you
should get a stack trace if an exception is raised.
Pascal
-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECT
All I did was import the Data.fs this time. No good. Still get:
Zope Error
Zope has encountered an error while publishing this resource.
Error Type: AttributeError
Error Value: __getitem__
Should I just use the import function?
Tim
On Mon, 2005-06-27 at 09:41 -0400, Paul Winkler wrote:
> On
Hi everybody!
After upgrading Zope from version 2.6.4 to 2.8.0 and mysqlpython from 0.9.2 to
1.2.0 I cannot add or edit ZSQLMethods anymore, although there is an open
(MySQL)db-Connection that works just fine with the same ZSQLMethods that cannot
be edited or with external methods. The error I'm g
On Mon, Jun 27, 2005 at 11:51:02AM -0500, Tim Suter wrote:
> All I did was import the Data.fs this time. No good. Still get:
>
> Zope Error
> Zope has encountered an error while publishing this resource.
>
> Error Type: AttributeError
> Error Value: __getitem__
>
> Should I just use the import
On Mon, Jun 27, 2005 at 10:03:08AM -0600, Nikko Wolf wrote:
> John Poltorak wrote:
>
> > My links list consists of simple lines such as
> >
> > org-1,First link
> > org-2,Second Link
> > org-x,Another Link
> >
> > How do I prepend a hardcoded path to org-1 instead of what is getting
> > generat
One way would be:
Andrew
--
Zope Managed Hosting
Software Engineer
Zope Corporation
(540) 361-1700
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
> John Poltorak
> Sent: Monday, June 27, 2005 2:05 PM
> To: zope@zope.org
> Subject: Re: [Zope] Gene
Jan-Ole Esleben wrote at 2005-6-26 15:36 +0200:
>Is there a way to have a ZOPE method (called, for example, via a TALES
>expression) time out after a specific (changeable!) amount of time?
There is, if you program it...
Your method must check the timeout itself...
--
Dieter
Dennis Allison wrote at 2005-6-27 00:18 -0700:
>2005-06-26T23:11:06 ERROR(200) ZMySQLDA exception during _begin
> ...
>59, in tpc_finish
>try: self._finish()
> File "/opt/zope/zproducts/standard/ZMySQLDA/db.py", line 376, in _finish
>self._tlock.release()
>error: release unlocked lock
Thi
John Poltorak wrote at 2005-6-25 13:46 +0100:
>If I create individual pages for a website as sub folders of a sites main
>folder, how do I control the sequence of pages if I automatically generate
>a set of links to all the folders? I presume that under normal
>circumstances that sequence would
John Poltorak wrote at 2005-6-27 13:05 +0100:
> ...
>This works fine, but now that I have used it in a template I'm finding
>that the link is being prepended with the location of the new object after
>selecting the original link. ie invoking the code above creates a link
>such as:-
>
>http://ww
Max M wrote at 2005-6-27 15:53 +0200:
> ...
>So in a external method/module I have a function like this:
>
>BUSY_STATE = 0
>def sync_in_progress(busy=None):
> global BUSY_STATE
> if busy is None:
> return BUSY_STATE
> else:
> BUSY_STATE = busy
Note that this is likely t
John Poltorak wrote at 2005-6-27 16:45 +0100:
>
>Can anyone suggest how I would go about debugging a Python routine like
>this through Zope?
It depends what type of object you want to debug, how much
money you are ready to invest and how much comfort you need.
At one endpoint is "pdb" (the Pytho
Pascal Peregrina wrote at 2005-6-27 11:53 +0200:
>I just finished reading xmlrpclib.py and ZopeProfiler code.
>
>Here is the root cause of the issue :
>
>In my code :
> getattr(ServerProxy(self.url),self.rpc_method_expr) returns an
>xmlrpclib._Method object
>
>Then ZopeProfiler calls
>ZopeProfiler.
Jonathan wrote at 2005-6-27 11:33 -0400:
> ...
>I am not sure when changes are made to 'temp_folder' objects as they are not
>committed to the zodb (ie. do changes to temp_folder objects happen
>immediately or are temp_folder changes also tied in to the committment
>machinery)?
They are (tied t
Well, what about :
try:
p= gP()
except:
return
;)
I will test your patch, not sure about the
+s_class = getattr(s, '__class__', None)
+gpp_class = getattr(s, '__class__', None)
in your patch...
Pascal
-Message d'origine-
De : Dieter Maurer [mailto:[EMAIL PROTECTED]
En
I'm using webdav to update to access files from Dreamweaver and it is
working fine but when I try to use windows web folders feature it fails
with the following error in zope log. It seems that windows is
requesting the PROPFIND before authenticating. Any clues?
Zope Version (Zope 2.7.5-final,
Do you mean this?
http://plope.com/software/ExternalEditor
Are there any screen shots of it in action?
I'm not exactly sure how it works, but have feeling it won't work for me.
Yes, that's what Paul meant. I tried it once and it is not difficult to
install. You just have to follow the *README*
On Mon, 2005-06-27 at 21:14 +0200, Josef Meile wrote:
> > Do you mean this?
> >
> > http://plope.com/software/ExternalEditor
> >
> > Are there any screen shots of it in action?
> >
> > I'm not exactly sure how it works, but have feeling it won't work for me.
> Yes, that's what Paul meant. I trie
Please keep discussion on the list.
Now then, let's look at your log:
On Mon, Jun 27, 2005 at 01:09:29PM -0500, Tim Suter wrote:
> Traceback (most recent call last):
> File "/opt/zope/lib/python/OFS/Application.py", line 254, in
> checkGlobalRegistry
> keys=list(self._p_jar.root()['ZGlobals
On Mon, 2005-06-27 at 16:30 -0400, Paul Winkler wrote:
> Please keep discussion on the list.
> Now then, let's look at your log:
>
Yeah, that Reply to All function eludes me sometime.
> > __getattr__
> > raise AttributeError, escape(name)
> > AttributeError: keys
>
> I've never seen that o
On 27 Jun 2005, at 21:30, Paul Winkler wrote:
2005-06-27T13:06:58 WARNING ZODB Could not import class
'SimpleLog' from
module 'Products.LDAPUserFolder.SimpleLog'
It's pretty clear that Zope is having a major problem with
LDAPUserFolder. Possibly you have an old version of LDAPUserFolder
t
On 27 Jun 2005, at 22:27, Tim Suter wrote:
We don't want to use LDAPUserFolder for authentication. The preferred
method of authentication is against an authzldap enabled apache. Or
when authenticating, is it necessary to add the LDAPUserFolder?
Which,
this might explain why when attempting
53 matches
Mail list logo