1. Create Specialist
2. Manage it
3. See Zope output.
I see:
Exception exceptions.KeyError:
in
ignored
Mike
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding
Itamar Shtull-Trauring wrote:
>
> mike wrote:
> >
> > 1. Create Specialist
> > 2. Manage it
> > 3. See Zope output.
>
> I'm not having any problems - maybe post your Zope version to the mailing
2.2.6
> list, and explain what exactly you did in step
Fix for www/storageForm.dtml
$ diff storageForm.dtml.orig storageForm.dtml
7c7
<
---
>
56c56
<
---
>
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding!
It looks like retrieved items have no _v_dm_ set. I fixed it (not sure
this is right) with:
File: Rack.py
def getItem(self, key):
"""Get an item from the rack by key"""
# Borrow canonicals map for per-transaction item cache
k = key,
item = self._canon
http://www.zope.org/Members/RainDog/ZSession/ZSession-0.0.2.tar.gz/view
Comments?
Mike
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http
"Phillip J. Eby" wrote:
>
> At 08:45 PM 6/19/00 +0800, mike wrote:
> >It looks like retrieved items have no _v_dm_ set. I fixed it (not sure
> >this is right) with:
> >
>
> Um, check to make sure you're using _RawItem, not _v_itemConstructor, in
"Phillip J. Eby" wrote:
>
> At 08:44 PM 6/19/00 +0800, mike wrote:
> >Fix for www/storageForm.dtml
> >
> >$ diff storageForm.dtml.orig storageForm.dtml
> >7c7
> ><
> >---
> >>
> >56c56
> ><
> >---
"Phillip J. Eby" wrote:
> I haven't been able to reproduce the "nonexistent _v_dm_" problem Mike has
> reported. Mike, are you on 2.2 or 2.1.x? Your last post on that subject
> was unclear, since you said "2.2.6" and there is no such version to m
Does anybody have subject?
Thanks,
Mike
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http
nset this option, 'normalize'
command removes all content of tags.
Mike
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.or
ake sort locale-aware I need to list.sort(locale.strcoll).
>But how I could ask dtml-in to use locale.strcoll? Should I add another
> option to dtml-in? Something like
> ?
I use
A bit slower but works like hammer.
Mike
___
Zope-Dev
e better way than inserting things
like
print "objectChanging %s, has status=%d" % (
self, self.__dict__.has_key('_v_status_')
)
:-)
Mike
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.z
"Phillip J. Eby" wrote:
>
> At 08:58 PM 6/19/00 +0800, mike wrote:
> >
> >http://www.zope.org/Members/RainDog/ZSession/ZSession-0.0.2.tar.gz/view
> >
> >Comments?
> >
>
> Now that I've had a chance to really look at this (while tr
In short:
1. URL = http://www.zope.org/Members/RainDog/ZSession
2. It works.
3. I need more comments/suggestions
Mike
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding
--
The output I have running this modified version (my comments starts with
##):
[mike@gw zope]$ ./start
--
2000-06-22T15:04:07 PROBLEM(100) ZServer Computing default hostname
--
2000-06-22T15:04:07 INFO(0) ZServer Medusa (V1.13.4.1) started at Thu
Jun 22 23:04:0
Well, it should be:
> ##
> # Add this to see what I mean
>
> try :
> print "%s 'self'=%s" % (
> key,
> slot.values()[0].__dict__
> )
> except :
>
from fresh
DataSkins, so things like 'manage_tabs' just do not work properly. Try
set up Rack for any real ZClass and you see this.
If you'd like I send you complete test suite reproducing the situation.
Mike
___
Zope-Dev maillist - [EMAIL PROTECT
in sessions. Of course, one always can create
delegating rack (and even rack-to-specialist bridge), but what do this
for if simple replacing rackList with dataManagerList will solve all
such problems?
(Oh Gott, help mine improvink mie English :-)
Mike
mean framework developer should
create two separate kinds of the same aspect to be used in master's and
slave's contexts? I think, no. ZPatterns were created to avoid such
dependencies.
At least, they (Specialist and Rack) are both DataManagers and PlugIns.
Mike
_
e Specialist use DataManagers.
> Customizers, for example have no idea what objects they're customizing, so
> they can't support getItem.)
I suggest you set up this (or similar) hierarchy which solve the
problem:
DataManager
DataSouce
Specialist
Rack
rovide an example please?
Mike
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )
Jephte CLAIN wrote:
>
> mike wrote:
> > Jephte CLAIN wrote:
> > > Rack.createItem (low level method) first calls Rack.getItem (higher
> > > level method) to check the existence of the item.
> > > This causes infinite loop in certain cases. It should (IMH
Jephte CLAIN wrote:
>
> mike wrote:
> > > This causes infinite loop because Rack.newItem calls Rack.createItem
> > > which calls my (modified) getItem
> >
> > 1. Leave getItem untouched. Move all that SQL-related stuff into the
> > retrieveItem
Jephte CLAIN wrote:
>
> mike wrote:
> > There is no way to infinite recursion if Rack.getItem is leaved
> > untouched.
> Ah ah. But people will touch it. Like me for example :-)
> There is no way to prevent overriding getItem from a ZClass for example.
> And it *will*
Hello people,
could anybode give an example (in code) on subject?
Thanks,
Mike
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http
ients) depending on that
externalized interface.
Problem: high dependency on A's external interface
2) Write specialized (A->B) pluggable adapters each time I need to use
A's services in clients.
Problem: M*N
What do you think is ... hmmm... less painful
tor specialist and wire it to the appropriate local specialist.
If I understand something at all, whitebox specialist (Script?) called
SkyDiverSpecialist must have its own data source (rack) for SkyDiver
class and use 2.2. strategy mentioned above. (I just see no other way).
Thanks again,
Mike
_
> I will add a "retrieveItem" method to the Specialist which, instead of
> accessing a rack in the local specialist (the default implementation), it
> will instead call (for example) SkyDivers.getItem(). Thus, when you call
> Customers.getItem(), you will actually get an object from the SkyDiver
Mike wrote:
>
> > I will add a "retrieveItem" method to the Specialist which, instead of
> > accessing a rack in the local specialist (the default implementation), it
> > will instead call (for example) SkyDivers.getItem(). Thus, when you call
> > Customer
;t been able to find any add-on products for zope providing an interface
to java environments, we thought we'd ask:
Can zope work wtih Java yet? If so, please point us in the right direction.
Thanks,
Mike Blake
--
[[EMAIL PR
and MySQL 3.23.33 on win2000
Thanks,
mike
--
[[EMAIL PROTECTED] chikoon]$ whoami
[whoami] >> Mike Blake >> Web Developer / CellNetwork, Spain
[e-mail] >> [EMAIL PROTECTED] [icq] >> 103631268
[mobile] >> 678
Title: RE: [Zope-dev] MySQL-python-0.3.5 with ZMySQLDA
mike wrote:
>> I just tried a build of the MySQL-python-0.3.5 module and
>> I get a file not found error because I don't have a cl.exe,
>> which is apparently something I need to finish the build.
>> Does
No module named _mysql
--
[[EMAIL PROTECTED] chikoon]$ whoami
----
[whoami] >> Mike Blake >> Web Developer / CellNetwork, Spain
[e-mail] >> [EMAIL PROTECTED] [icq] >> 103631268
[mobile] >> 678 642 392 [dir
itself)
I then tried putting it in
C:\zopes\chikoon\lib\python\Products\ZMySQLDA
but had the same results.
Sorry to continue with the saga, but at least there's no
copy in html this time! I apologize to everyone for that...
bye!
mike blake
phil wrote:
> RE: [Zope-dev] MySQL-python-
emote server.
Please give me your thoughts on this workaround
solution.
thanks,
--
[[EMAIL PROTECTED] chikoon]$ whoami
Mike Blake
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML enc
) Questionnaire 1(Open Source Development):
http://web.singnet.com.sg/~mikecck/opensource/WebFormA1.htm
3) Questionnaire 2(Open Source and IT/IS Cost):
http://web.singnet.com.sg/~mikecck/opensource/WebFormB1.htm
Thank you for your time.
Mike Chan
Student
Curtin University of Technology
I found ZODBC bug at max_rows.
file name: db.py
line: 230
Current version is getting all rows regardless of
max_rows.
Fixed version is getting rows until rows are smaller than
max_rows.
Current version:
while status==SQL_SUCCESS:
.
r.append(rd)
status=SQLFe
Hello,
I the code below I want to be declare a variable 'tot_net_amt' and add
'net_amt' to it for each record returned. How can I: 1) declare the
variable 2) add to it within the loop.
Thanks. Is it in the Zope book? I'll read some more tonight.
Thanks for you
t for representing
scientific data. Together, the interface, library, and format support the
creation, access, and sharing of scientific data.
Python interface is contained in Konrad Hinsens Scientifc package
http://starship.python.net/~hinsen/ScientificPython/
o have the same transformation
applied to it.
If desired I can pull the CVS tree and produce a diff if the problem
isn't already solved.
Have fun,
Mike
___
Mike C. Fletcher
Designer, VR Plumber, Coder
http://members.rogers.com/mcfletch/
_
Leonardo Rochael Almeida wrote:
On Mon, 2004-01-05 at 00:06, Mike C. Fletcher wrote:
http://zope.org/Collectors/Zope/1055
Is a bug report I filed a while ago for a fairly trivial breakage of the
ClassSecurityInfo class due to the use of assignment to the class
dictionary during the apply
41 matches
Mail list logo