ve thoughts about it?
Thanks
(ps, I have something like xslfilter, but using wsgi and libxml2 and also an
XSL
version of TAL/METAL that I'd like to use in Zope)
--
Brad Clements,[EMAIL PROTECTED](315)268-1000
http://www.murkworks.com
AO
t for other reasons than inactivity...
I think this is why the thread has gone on so long. I'm ONLY talking about idle
timeout drops,
and nothing else.
gvibDA and sapdbi make a distinction between idle timeout disconnects and others,
since
they know when the server has dropped them due to in
in, I don't see the loss..
--
Brad Clements,[EMAIL PROTECTED] (315)268-1000
http://www.murkworks.com (315)268-9812 Fax
http://www.wecanstopspam.org/ AOL-IM: BKClements
___
Zope-Dev mailli
.
This is the way gvibDA works. It reconnects and retries.
Where are transactions lost in this scenario? Remember, I'm talking about the DA
catching
"connectioned timed out" due to idle activity, and no other DB exceptions.
--
Brad Clements,
faults, since I had segfaults within
minutes of
starting zope with more than 1 thread, way less than the timeout time.
> Either that or restructure the DA like I did for ZOracleDA ;-)
I want to do that. Hope my client will pay for it ;-)
--
Brad Clements,[EMAIL PROTECTED]
FSWriteError: Not a legal object name:
The above traceback occured, for example, when trying to create a file object called
'xyz'.
--
Brad Clements,[EMAIL PROTECTED] (315)268-1000
http://www.murkworks.com (315)268-9812 Fax
http://www.wecansto
user=user, # zope user
uid=uid,# our internal uid
preferences=preferences and None,
emailaddress=emailaddress,
orgname=orgname,
isManager=isManager,
isCustomer=isCustomer)
SESSION['user_details'] = I
It seems like the 'I' object is wrapped somehow. Fro
On 19 Jul 2004 at 7:44, Chris Withers wrote:
> Brad Clements wrote:
> >>What's the actual problem you're experiencing?
> >
> > I have set the SAPDB timeout to 32400 seconds.
>
> Unless you have an extremely heavily loaded Zope, that's too low, and
e problem for a
> DA. You just need a per-DA instance mutex which you acquire before opening
> a connection release afterwards.
Someone else said that every thread has it's own copy of ZODB, hence their own copies
of
each DA. So putting the mutex on the DA won't help this, will it?
Getting the actual database
connection
from a DA stinks (ie, it's not really possible). I'd like to see an API extension to
ZopeDA's to
allow Pythonscripts, Products and external methods get an actual db connection. But
that I
suppose is a problem to solve later.
I think I
ay (architecturally) to cleanly get this information into
medusa's
ftp_server.py module?
--
Brad Clements,[EMAIL PROTECTED] (315)268-1000
http://www.murkworks.com (315)268-9812 Fax
http://www.wecanstops
th).
This is the deep magic of which my previous note speaks.
Where are these details documented (in general terms, not just about DA's), so that I
can
figure this out without bugging the list too much?
--
Brad Clements,[EMAIL PROTECTED] (315)268-10
here a "Zen Of" document about this somewhere?
Thanks
--
Brad Clements,[EMAIL PROTECTED] (315)268-1000
http://www.murkworks.com (315)268-9812 Fax
http://www.wecanstopspam.org/ AOL-IM: BKClements
___
es via FTP. Maybe that can be done by having pseudo
subdirectories named after revisions or branches. So /myFolder/.Prev/index_html
would do what you expect (note you can't save to old versions anyway ..)
--
Brad Clements,[EMAIL PROTECTED] (315)268-1000
http://www.murkwor
d,h,m,s) vs. DateTime('-MM-DD HH:MM:SS')
Why can't Zope just dynamically load the tzfile data as appropriate from the system if
it
can?
--
Brad Clements,[EMAIL PROTECTED] (315)268-1000
http://www.murkworks.com (315)268-9812 Fax
http:
> On Mon, 2003-12-01 at 16:45, Brad Clements wrote:
> > I think adding right/EST5EDT tzfile info to DateTimeZone.py might solve my
> > problem.
> >
> > Can someone email me the .py script used to create the DateTimeZone.py file?
> >
> >
>
--
Br
I think adding right/EST5EDT tzfile info to DateTimeZone.py might solve my problem.
Can someone email me the .py script used to create the DateTimeZone.py file?
--
Brad Clements,[EMAIL PROTECTED] (315)268-1000
http://www.murkworks.com (315)268-9812
;>> time.tzname
('EST', 'EDT')
>>> time.tzset()
>>> time.tzname
('EST', 'EDT')
>>> time.timezone
18000
How does time.localtime() know the correct timezone offset, but time.timezone is not
correct?
>>> time.localtime(); os.sy
and
experience the same problem. I think there's a bug in the firebird/interbase gds
library
that fails under multi-threading conditions. The gvibDA is thunked, but gds still hangs
under heavy load.
So, we're migrating to SAP DB, which is also much faster than Firebird (at least for
our
use
could continue to use ZMI as normal, but run "another zserver" on a different
port (the one that feeds the world) with a particular revision. Or I could do this
with
ZEO.
Probably there's too much overhead in this idea.
--
Brad Clements,
s and 386963
bytes
--
2002-11-08T13:57:57 INFO(0) ZODB Mounted database
"{'host':'localhost','port':'4400','storage':'Common',}" at Managers/Common
Exception exceptions.AttributeError: "Connection instance has
On 30 Oct 2002 at 11:25, Chris Withers wrote:
> Brad Clements wrote:
> > http://dev.zope.org/Wikis/DevSite/Projects/Zope2.6/ProposedFeatures
> >
> > But the passive port range patch didn't make it into 2.6
>
> Do you have CVS access?
No. I emailed both sets o
t into 2.6
Brad Clements,[EMAIL PROTECTED] (315)268-1000
http://www.murkworks.com (315)268-9812 Fax
AOL-IM: BKClements
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**
mapped to "Change DTML Methods" in the corresponding Product "Define
permissions" tab. Though I don't see "Ftp access" as a permission on this zclass under
"define permissions" on the class, but it is shown as an inherited permisson.
4. Shoul
PASV ftp support has already been integrated into Zope 2.6
Brad Clements,[EMAIL PROTECTED] (315)268-1000
http://www.murkworks.com (315)268-9812 Fax
AOL-IM: BKClements
___
Zope-Dev maillist - [EMAIL
lot of xml-rpc with IE 5.5 clients, and getting a fault is a pita.
I keep modifying xmlrpc.py (each time I update Zope) to print the traceback on the
server, but that's a pita.
Brad Clements,[EMAIL PROTECTED] (315)268-1000
http://www.murkworks.com (3
add
import types
to the modified xmlrpc.py
Brad Clements,[EMAIL PROTECTED] (315)268-1000
http://www.murkworks.com (315)268-9812 Fax
AOL-IM: BKClements
___
Zope-Dev maillist - [EMAIL PROTECTED]
http
lass(t, Unauthorized)):
! return self._real.exception(fatal=fatal,info=info)
!
# Create an appropriate Fault object. Unfortunately, we throw away
# most of the debugging information. More useful error reporting is
# left as an exercise for the reader.
locking more then the privileged ports only.
This feature has already been added to Zope 2.6 as a patch.
I originally added it to Zope 2.5, so I think you can just copy the 2.6 ftp_server
from
CVS and drop it into your current Zope to get it to work.
Brad Clements,[EMAIL PROT
e is being called. But that still
messes
it up.
Brad Clements,[EMAIL PROTECTED] (315)268-1000
http://www.murkworks.com (315)268-9812 Fax
AOL-IM: BKClements
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://list
source for AFS? (not possible),
2. or you want Zope to authenticate to an existing AFS domain? (possible)
I've done the later, used SWIG to wrap some AFS functions and created a userFolder
object to authenticate to AFS.
Brad Clements,[EMAIL PROTECTED] (315)268-1000
http
I have two pending suggestions on the wiki. I'm ready to submit code/patches. What is
the actual mechanism I should use?
Just put patches into bug tracker?
Brad Clements,[EMAIL PROTECTED] (315)268-1000
http://www.murkworks.com (315)268-9812 Fax
A
.. then you wouldn't need these mods.
def getSqlCode(exceptionObject):
"""Return the sqlcode"""
return exceptionObject.getSqlCode()
Then when you get an exception, pass the exception object to the external method to
get the sqlcode.
Brad Clements,
st submit both of these to patch manager?
Brad Clements,[EMAIL PROTECTED] (315)268-1000
http://www.murkworks.com (315)268-9812 Fax
netmeeting: ils://ils.murkworks.com AOL-IM: BKClements
___
Zope
n't downstream caching proxies ungzip a response if they get a connection from
a client that doesn't support gzip? Or will they only do this if its Transfer-Encoded?
Brad Clements,[EMAIL PROTECTED] (315)268-1000
http://www.murkworks.com
On 6 Feb 2002 at 10:02, seb bacon wrote:
> I don't have much useful to add - I just wanted to mention that I know
> there are people out there who have succesfully used mod_gzip with Zope;
> and that I *like* the name dogzip :-)
"That's my dog, zip!"
Brad Cl
I'm looking for architectural suggestions for adding gzip compression to
HTTPResponse for text types.
First, I just wanted to compress xml-rpc output, since I'm returing lots of table data
as
XML text (not objects), then loading that text/xml into a DOM for XSLT processing.
I hacked the attac
to the regular http publisher.
Can anyone suggest where I start looking so I can verify the behaviour I'm seeing and
submit a patch?
Brad Clements,[EMAIL PROTECTED] (315)268-1000
http://www.murkworks.com (315)268-9812 Fax
netmeeting: ils://ils.murkwo
I'm working with IBM's Sash
http://sash.alphaworks.ibm.com/
Unfortunately the client is programmed in Javascript..
--
I'm also doing a lot of DHTML, XML/XSLT browser based stuff on IE. So-called one-
page web applications based on XML-RPC, works nice.
Brad Clements,
is is with Zope 2.5B3
Should Zope include PyXML components?
Brad Clements,[EMAIL PROTECTED] (315)268-1000
http://www.murkworks.com (315)268-9812 Fax
netmeeting: ils://ils.murkworks.com AOL
p to one for each thread) might be worthwhile..
I
remember seeing something on the list about per-thread state information being
available somewhere.. an oid jar or something?
Anyone have pointers?
Thanks
Brad Clements,[EMAIL PROTECTED] (315)268-1000
http://www.murkworks.com
t is serialized.
I think the reason for using Thunked was because under Windows, gds is not truly
multi-threaded and dies.
I do not recall exactly what the story is.. You're welcome to try it without the
Thunked
Mixin.
Brad Clements,[EMAIL PROTECTED] (315)268-1000
safelist.append(i)
elif not skip_unauthorized:
raise Unauthorized, 'unauthorized access to init'
for el in seq:
if v(seq, seq, None, el):
safelist.append(el)
elif not skip_unauthorized:
raise Unauthorized, 'unauth
this shkould be clear enough as a message.
> zope can't find the reduce function.
right, but it can find the other built-in functions okay.
Brad Clements,[EMAIL PROTECTED] (315)268-1000
http://www.murkworks.com (315)268-9812 Fax
netmeeting: ils
In Zope 2.4.3 binary on Linux
import operator
reduce(operator.add,[0,1,2,3,4])
gives me Error Value: global name 'reduce' is not defined
Is this a faq?
Brad Clements,[EMAIL PROTECTED] (315)268-1000
http://www.murkworks.com (315)26
bug tracking. If Bugzilla is too much of a bear to deal with,
> there are simpler alternatives available, such as Roundup, Jitterbug,
> the SF bug tracker, and our unreleased SPLAT!.
SPLAT, sounds interesting, like to see how that stacks up to roundup..
Brad Clemen
g if anyone else has been able to reproduce the condition so
that we can say for certain if its a bug, or a mis-configuration.
Thanks,
Brad Clements,[EMAIL PROTECTED] (315)268-1000
http://www.murkworks.com (315)268-9812 Fax
netmeeting: ils
for c in doc.getChildNodes():
getattr(self, self.element_types[c.getNodeName()])(c, level, output)
output('')
def stx_to_html(src=None,text="", nocall=None,level=1 ):
if src and src.meta_type == 'Rendered STX' and not text:
text = src.document_
pings are
stored? Perhaps ZClasses stores the permission mappings, but ParsedXML overrides
the restored value somehow?
Zope 2.3.3 (binary release, python 1.5.2, linux2-x86)
(Using last released beta parsed XML)
Brad Clements,[EMAIL PROTECTED] (315)268-1000
http://www.murkworks.co
x27;ll hesitate to recommend one.
> >
> > At least one of them is listed on xmlrpc.com.
> >
> > Having them you could script them via jscript, and basically open up the
> > connection easily.
>
Brad Clements,[EMAIL PROTECTED] (315)268
onna
take a lot of code to get working.
Otherwise, I could use an XML-RPC client for IE5.5, but I can't find one!
Brad Clements,[EMAIL PROTECTED] (315)268-1000
http://www.murkworks.com (315)268-9812 Fax
netmeeting: ils://ils.murkworks.
e
thrilled.
Just a wish for the next release
Brad Clements,[EMAIL PROTECTED] (315)268-1000
http://www.murkworks.com (315)268-9812 Fax
netmeeting: ils://ils.murkworks.com AOL-IM: BKClements
_
-page-web-app for IE 5.5 that heavily uses ADO
and XML to generate a shipping interface. It's a work in progress but I'm really
beginning to like XML and XSLT.
> ..lots of other 'professional' Zope sites to consider, for example at a
> random what do you cal
I can't tell you the URL for, its for an importer-exporter
handling 600
packages per day (shipping, tracking, customs, etc) His customers (100 or so) and
their
staff (200 or so) login to track packages every day.
It's based on Zope 2.2 (argh) and Interbase on Linux.
No
On 23 Apr 2001, at 14:45, Brad Clements wrote:
> I've been using zope 2.2.2 with a plugable brain that does something like
> this:
>
>
> class Mybrain:
>def __init__(self):
>self.__dict['myvar'] = 'xyzzy'
Uh, sorry, this should prob
ave a quick pointer for a fix, I have 60 minutes to make this work.
thanks
Brad Clements,[EMAIL PROTECTED] (315)268-1000
http://www.murkworks.com (315)268-9812 Fax
netmeeting: ils://ils.murkworks.com AOL-IM: BKClements
IE did you test?
Brad Clements,[EMAIL PROTECTED] (315)268-1000
http://www.murkworks.com (315)268-9812 Fax
netmeeting: ils://ils.murkworks.com AOL-IM: BKClements
___
Zope-Dev maillist - [EMAIL
to blank
out a field, they can't do it.
Brad Clements,[EMAIL PROTECTED] (315)268-1000
http://www.murkworks.com (315)268-9812 Fax
netmeeting: ils://ils.murkworks.com AOL-IM: BKClements
___
On 24 Jan 2001, at 11:15, [EMAIL PROTECTED] wrote:
> Brad Clements wrote:
> > I posted this same bug AND a patch as bug # 1566 on Aug 28th, 2000.
> >
> > http://classic.zope.org:8080/Collector/1566/view
> >
> > Sad to see its *still* pending
>
> Wel
6 on Aug 28th, 2000.
http://classic.zope.org:8080/Collector/1566/view
Sad to see its *still* pending
Brad Clements,[EMAIL PROTECTED] (315)268-1000
http://www.murkworks.com (315)268-9812 Fax
netmeeting: ils://ils.murkworks.com AOL-IM: B
except:
> - if self.elses: result=render(self.elses, md)
> - else: result=''
> else:
> result = []
> append=result.append
> --- 572,577
>
>
> --
> R
imple enough task to create a Python Script (or
> even a DTML Method) that *is* Web accessible to relay
> that information if it is needed.
>
> Thoughts?
I think your proposal is the way to go.
Brad Clements,[EMAIL PROTECTED] (315)268-1000
http://www.murkworks.c
more permanant and "correct" solution. What do others think?
Brad Clements,[EMAIL PROTECTED] (315)268-1000
http://www.murkworks.com (315)268-9812 Fax
netmeeting: ils://ils.murkworks.com AOL-IM:
del cache[q]
del keys[-1]
My change is:
if int(cache[q][0]) == key:
del cache[q]
Brad Clements,[EMAIL PROTECTED] (315)268-1000
http://www.murkworks.com (315)268-9812 Fax
netmeeting:
tance, it got a "no __call__ method" error.
So then I tried passing the connection from dtml,
ie
but when MyMethod calls db.cursor() it gets a security error. Probably
because this function isn't exposed by the security machinery.
(same thing probably for the __call__ error)
Brad
been pulled, I think ;-)
Pulled as in cancelled?
-Brad
p.s. Anyone see my chapter on Embedding/Extending Python in the
Wrox Professional Linux Programming book? looking for feedback
(kudos, hatemail, etc)
Brad Clements,[EMAIL PROTECTED] (315)268-1000
http://www.murkworks.com
m and it still does *not* fix the
problem of using the test function in an SQL Method.
Brad Clements,[EMAIL PROTECTED] (315)268-1000
http://www.murkworks.com (315)268-9812 Fax
netmeeting: ils://ils.murkworks.com
allow an empty string to return None? Or do we need to add
an explicit "optional" type?
Either way, I'd like to fix this, but what's the best way?
Brad Clements,[EMAIL PROTECTED] (315)268-1000
http://www.murkworks.com (315)268-9812
t-index']=pstart-1
kw['next-sequence-end-index']=pend-1
kw['next-sequence-size']=pend+1-pstart
except:
if self.elses: result=render(self.elses, md)
else: result='
I just posted a bug about TimeStamp.c having a typo..
My fault, didn't have USE_EXTENSION_CLASS defined.
Please ignore as I crawl under a rock
(also, couldn't find a better email address to send this to)
Brad Clements,[EMAIL PROTECTED] (315)268-1000
http://www.mur
70 matches
Mail list logo