*** seletz_ has quit IRC | 00:07 | |
*** pelle_ has quit IRC | 00:08 | |
*** yota has quit IRC | 00:14 | |
*** whit has quit IRC | 00:17 | |
*** whit has joined #zope3-dev | 00:18 | |
*** gstratton has joined #zope3-dev | 00:25 | |
*** tarek has joined #zope3-dev | 00:28 | |
*** shane_ has quit IRC | 00:40 | |
*** fairwinds has quit IRC | 00:45 | |
*** chaoflow has quit IRC | 00:48 | |
*** chaoflow has joined #zope3-dev | 00:48 | |
*** gstratton has quit IRC | 00:52 | |
*** romanofs1i has joined #zope3-dev | 00:53 | |
*** romanofs1i has quit IRC | 00:54 | |
*** romanofski has quit IRC | 00:55 | |
*** romanofski has joined #zope3-dev | 00:56 | |
*** pcardune has joined #zope3-dev | 00:57 | |
*** aaronv has quit IRC | 01:01 | |
*** tarek has quit IRC | 01:22 | |
*** danfairs has quit IRC | 01:38 | |
*** junkafarian has joined #zope3-dev | 01:41 | |
*** MiUlEr has joined #zope3-dev | 01:44 | |
*** MiUlEr has quit IRC | 01:48 | |
*** MiUlEr has joined #zope3-dev | 01:48 | |
*** flox has left #zope3-dev | 01:53 | |
*** markusleist has quit IRC | 01:53 | |
*** MiUlEr has quit IRC | 01:57 | |
*** nyo has quit IRC | 01:58 | |
*** hazmat has joined #zope3-dev | 02:02 | |
*** ChanServ sets mode: +o hazmat | 02:02 | |
*** norro has quit IRC | 02:04 | |
*** kaeru has joined #zope3-dev | 02:11 | |
*** fairwinds has joined #zope3-dev | 02:18 | |
*** whit has quit IRC | 02:33 | |
*** whit has joined #zope3-dev | 02:34 | |
*** quodt has quit IRC | 02:42 | |
*** davisagli has joined #zope3-dev | 02:46 | |
*** whit has quit IRC | 02:49 | |
*** davisagli has left #zope3-dev | 02:50 | |
*** andycat has joined #zope3-dev | 02:50 | |
*** whit has joined #zope3-dev | 02:52 | |
*** andycat has quit IRC | 03:06 | |
*** andycat has joined #zope3-dev | 03:06 | |
*** hazmat has quit IRC | 03:17 | |
*** hazmat has joined #zope3-dev | 03:19 | |
*** ChanServ sets mode: +o hazmat | 03:19 | |
*** whit has quit IRC | 03:49 | |
*** pcardune has quit IRC | 04:01 | |
*** troter has joined #zope3-dev | 04:22 | |
*** srichter has joined #zope3-dev | 05:05 | |
*** dbfrombrc has quit IRC | 05:11 | |
*** junkafarian has quit IRC | 05:41 | |
*** stub has joined #zope3-dev | 06:05 | |
*** tarek has joined #zope3-dev | 06:26 | |
*** tarek has quit IRC | 06:54 | |
*** pcardune has joined #zope3-dev | 07:21 | |
*** tarek has joined #zope3-dev | 07:31 | |
*** afd__ has joined #zope3-dev | 07:38 | |
*** fairwinds has quit IRC | 07:38 | |
*** kaeru has quit IRC | 07:43 | |
*** tarek has quit IRC | 07:45 | |
*** davisagli has joined #zope3-dev | 08:14 | |
*** agroszer has joined #zope3-dev | 08:29 | |
*** whit has joined #zope3-dev | 08:29 | |
*** alecm has joined #zope3-dev | 08:41 | |
*** agroszer_ has joined #zope3-dev | 08:41 | |
*** agroszer has quit IRC | 08:46 | |
*** JaRoel|4D has quit IRC | 08:49 | |
*** pcardune has quit IRC | 08:50 | |
*** basti__ has joined #zope3-dev | 08:51 | |
*** kaeru has joined #zope3-dev | 08:52 | |
*** malthe has joined #zope3-dev | 08:55 | |
*** flox has joined #zope3-dev | 09:04 | |
*** redir has quit IRC | 09:05 | |
*** wgrant has quit IRC | 09:05 | |
*** redir has joined #zope3-dev | 09:06 | |
*** wgrant has joined #zope3-dev | 09:06 | |
afd__ | is there a sane way to deal with a system install of zope.interface? (one Ubuntu package depends on zope.interface and they have 3.3.1, which is incompatible with the most of the zope 3.4 packages) | 09:08 |
---|---|---|
afd__ | I get a "Error: There is a version conflict." We already have: zope.interface 3.3.1 but myapp requires 'zope.interface>=3.5.0' | 09:08 |
srichter | afd__: I would compile my own Python | 09:08 |
afd__ | or maybe I should run it under virtualenv... | 09:09 |
srichter | or at least use virtualenv or another method to setup a custom PYthon env | 09:09 |
afd__ | is there no mechanism in buildout to deal with this issue? | 09:09 |
srichter | yes, you can pin the version | 09:09 |
afd__ | I did | 09:10 |
srichter | mmh, that should work | 09:10 |
afd__ | I'm extending this: http://download.zope.org/zope3.4/3.4.0/versions.cfg | 09:10 |
afd__ | I've also set specific version dependency for install_requires, in my package setup.py | 09:10 |
afd__ | creating a versions section in my buildout didn't help either | 09:11 |
*** __mac__ has joined #zope3-dev | 09:12 | |
*** zagy has joined #zope3-dev | 09:15 | |
davisagli | afd__: I think if a package is already in your global environment then buildout won't install it, even if you use a version pin. try running buildout from a virtualenv created with --no-site-packages | 09:16 |
*** whit has quit IRC | 09:17 | |
afd__ | yes, that was what I am doing... but isn't it a bug if buildout doesn't obey the version specifications? | 09:17 |
afd__ | actually, thinking about it, I have a python app that I'm developing that doesn't use so many zope libraries and there it works | 09:18 |
afd__ | although I needed to list zope.interface last in the install_requires, to get the zope.interface egg path to be inserted first in the wrapper scripts | 09:18 |
*** baijum has joined #zope3-dev | 09:18 | |
*** baijum has quit IRC | 09:22 | |
*** baijum has joined #zope3-dev | 09:35 | |
*** danfairs has joined #zope3-dev | 09:36 | |
*** pyqwer has joined #zope3-dev | 09:37 | |
*** goschtl has joined #zope3-dev | 09:38 | |
*** Theuni has joined #zope3-dev | 09:39 | |
*** JaRoel|4D has joined #zope3-dev | 09:42 | |
*** afd___ has joined #zope3-dev | 09:48 | |
*** pelle_ has joined #zope3-dev | 09:52 | |
*** agroszer_ has quit IRC | 09:54 | |
*** afd__ has quit IRC | 09:55 | |
*** redir has quit IRC | 09:57 | |
*** MJ has joined #zope3-dev | 09:58 | |
*** MJ has joined #zope3-dev | 09:59 | |
*** danfairs has quit IRC | 09:59 | |
*** romanofski has quit IRC | 10:00 | |
*** Rolando has joined #zope3-dev | 10:11 | |
*** quodt has joined #zope3-dev | 10:11 | |
*** harobed has joined #zope3-dev | 10:14 | |
*** mkerrin has joined #zope3-dev | 10:25 | |
*** afd___ is now known as afd_ | 10:32 | |
*** jpcw has joined #zope3-dev | 10:33 | |
*** danfairs has joined #zope3-dev | 10:49 | |
*** MJ has quit IRC | 10:51 | |
*** MJ|nickcollision has joined #zope3-dev | 10:51 | |
*** regebro has joined #zope3-dev | 10:53 | |
*** jukart has joined #zope3-dev | 10:57 | |
*** tarek has joined #zope3-dev | 10:57 | |
*** kaeru has quit IRC | 11:04 | |
*** kaeru has joined #zope3-dev | 11:05 | |
*** iham|away is now known as iham | 11:06 | |
*** junkafarian has joined #zope3-dev | 11:11 | |
*** danfairs has quit IRC | 11:19 | |
*** danfairs has joined #zope3-dev | 11:21 | |
*** MJ|nickcollision has quit IRC | 11:21 | |
*** MJ has joined #zope3-dev | 11:22 | |
*** baijum has quit IRC | 11:27 | |
*** greenman has joined #zope3-dev | 11:37 | |
*** junkafarian has quit IRC | 11:38 | |
*** alecm has quit IRC | 11:40 | |
*** baijum has joined #zope3-dev | 11:41 | |
*** nyo has joined #zope3-dev | 11:45 | |
*** davisagli has left #zope3-dev | 11:46 | |
*** baijum has quit IRC | 11:46 | |
*** baijum has joined #zope3-dev | 11:48 | |
*** danfairs_ has joined #zope3-dev | 11:50 | |
*** danfairs has quit IRC | 11:51 | |
*** iham has quit IRC | 11:54 | |
*** jayaraj has joined #zope3-dev | 11:55 | |
*** iham has joined #zope3-dev | 11:59 | |
*** flox1 has joined #zope3-dev | 12:02 | |
*** jpcw has left #zope3-dev | 12:03 | |
*** romanofski has joined #zope3-dev | 12:04 | |
*** norro has joined #zope3-dev | 12:08 | |
*** junkafarian has joined #zope3-dev | 12:09 | |
*** ignas has joined #zope3-dev | 12:16 | |
*** flox has quit IRC | 12:17 | |
*** danfairs has joined #zope3-dev | 12:22 | |
*** seletz_ has joined #zope3-dev | 12:22 | |
*** danfairs_ has quit IRC | 12:22 | |
*** seletz_ is now known as seletzathome | 12:23 | |
*** yotaff has joined #zope3-dev | 12:24 | |
*** seletz_ has joined #zope3-dev | 12:29 | |
*** seletz_ is now known as seletz|snafu | 12:30 | |
*** seletz|snafu has quit IRC | 12:32 | |
*** alga has joined #zope3-dev | 12:37 | |
*** markusleist has joined #zope3-dev | 12:42 | |
*** baijum has quit IRC | 12:42 | |
*** seletzathome has quit IRC | 12:43 | |
*** seletz_ has joined #zope3-dev | 12:54 | |
*** danfairs has quit IRC | 13:05 | |
*** greenman has quit IRC | 13:17 | |
*** danfairs has joined #zope3-dev | 13:17 | |
*** romanofs1i has joined #zope3-dev | 13:22 | |
*** romanofs1i has quit IRC | 13:28 | |
*** Rolando has quit IRC | 13:31 | |
*** Rolando has joined #zope3-dev | 13:31 | |
*** tarek has quit IRC | 13:37 | |
*** romanofski has quit IRC | 13:37 | |
*** fairwinds has joined #zope3-dev | 13:39 | |
*** danfairs has quit IRC | 13:43 | |
*** danfairs has joined #zope3-dev | 13:44 | |
*** bigkevmcd has joined #zope3-dev | 13:44 | |
*** flox1 is now known as flox | 13:50 | |
*** gstratton has joined #zope3-dev | 14:02 | |
*** mintsauce has joined #zope3-dev | 14:08 | |
*** seletz_ has quit IRC | 14:09 | |
*** whit has joined #zope3-dev | 14:09 | |
mintsauce | Is there a tal / python way to check for the existence of an image at an url? | 14:10 |
mintsauce | like exists: but for urls not paths ... | 14:10 |
ignas | mintsauce: no, don't think it's easy to implement | 14:11 |
mintsauce | fiddlesticks | 14:11 |
ignas | mintsauce: without making an http request to your application | 14:11 |
ignas | i mean - how else can you do that? unless you know what you are looking for, and if you know what you are looking for | 14:11 |
ignas | like a photo of a person | 14:12 |
ignas | then you can construct a case specific test like | 14:12 |
ignas | <img tal:condition="person/photo" /> | 14:12 |
mintsauce | but that relies on it being on zodb? (Which, actually in my case it is, I just wondered if I could avoid the ZODB overhead) | 14:13 |
ignas | emm, what? | 14:13 |
ignas | you want to know if a resource exists without ZODB overhead? | 14:13 |
ignas | where are you going to store the data about that then? | 14:13 |
ignas | or are you only talking about "resources" that are registered through zcml? | 14:14 |
ignas | if your images are in ZODB the only way to find out if they are there is to ask ZODB ;) | 14:14 |
ignas | if they are not in ZODB then - well you know how to check if they exist, don't you? | 14:14 |
* mintsauce looks thick | 14:15 | |
ignas | well you suggested that in some way testing for existance of "http://application/john/photo" would not add ZODB overhead that testing for person/photo would... | 14:15 |
mintsauce | sorry, let me explain a bit more. | 14:16 |
mintsauce | I'm want to return a users photo - but it's on the very front page and will be viewed a lot as a result. Now, correct me if im wrong, retrieving the image by wondering off into the member annoations (where it's stored) seems to be a higher cost than accessing the url and seeing if I get an image....................... | 14:18 |
mintsauce | but by the sounds of it, the latter isn't an option that's available. | 14:19 |
ignas | oh really | 14:19 |
ignas | you mean - you think that an access of a bit of data in process costs more than | 14:20 |
ignas | an http request, that traverses into person, then tries to access that same bit of data in a separate process | 14:20 |
mintsauce | hehe - 'I think' - would be happy to told otherwise :) | 14:20 |
ignas | it's the same info in the same place, but instead of doing 20 operations in the same view, you are doing 20 operations in separate HTTP request/response cycles | 14:21 |
mintsauce | I see what you mean .. | 14:25 |
ignas | but do you understand it? ;) | 14:26 |
ignas | how many of them are you displaying on the same page by the way? | 14:27 |
*** danfairs has quit IRC | 14:27 | |
ignas | if it's less than 200 i'll yell at you for premature optimization too ;) | 14:28 |
* mintsauce keeps quiet | 14:28 | |
mintsauce | but but but .... it's the homepage of the site, which i expect to be visited heavily .... ;) | 14:28 |
ignas | you expect | 14:30 |
mintsauce | ok. point taken :P | 14:30 |
*** danfairs has joined #zope3-dev | 14:31 | |
*** benji has quit IRC | 14:34 | |
*** hazmat has quit IRC | 14:35 | |
*** whit has quit IRC | 14:38 | |
*** jap has joined #zope3-dev | 14:40 | |
*** tarek has joined #zope3-dev | 14:40 | |
*** ktwilight_ has joined #zope3-dev | 14:43 | |
*** mintsauce has quit IRC | 14:47 | |
*** ktwilight__ has joined #zope3-dev | 14:47 | |
*** ktwilight_ has quit IRC | 14:50 | |
*** gstratton has quit IRC | 14:51 | |
*** pelle__ has joined #zope3-dev | 14:53 | |
*** ktwilight has quit IRC | 14:56 | |
*** gstratton has joined #zope3-dev | 14:57 | |
*** imgrey has joined #zope3-dev | 14:57 | |
imgrey | hi #zope3-dev | 14:57 |
*** pelle_ has quit IRC | 14:58 | |
*** danfairs has quit IRC | 14:59 | |
imgrey | does someone know why callback 'cb' not triggering here: a = tst_db['tst']; b = weakref.proxy(, cb); del a ? | 14:59 |
*** danfairs has joined #zope3-dev | 15:02 | |
*** __mac__ has quit IRC | 15:03 | |
*** __mac__ has joined #zope3-dev | 15:04 | |
ignas | imgrey: where are you importing the weakref.proxy from? | 15:11 |
*** gstratton has quit IRC | 15:12 | |
*** redir has joined #zope3-dev | 15:12 | |
ignas | imgrey: well duh | 15:13 |
ignas | imgrey: you are deleting "a" but tst_db['tst'] is still referring to the object | 15:14 |
ignas | imgrey: that you have passed to weakref.proxy | 15:14 |
ignas | imgrey: so the object is not gone, thus weakref is not doing anything | 15:14 |
ignas | imgrey: and anyway - how is that related to Zope3? | 15:14 |
*** menesis has joined #zope3-dev | 15:22 | |
*** benji has joined #zope3-dev | 15:23 | |
*** dunny has quit IRC | 15:25 | |
*** menesis has quit IRC | 15:27 | |
*** menesis has joined #zope3-dev | 15:27 | |
imgrey | ignas, module weakref. python2.5 | 15:32 |
*** danfairs_ has joined #zope3-dev | 15:34 | |
imgrey | ignas, as it is impossible to use __del__ method I'm trying to find a way to execute callback after object destructor finished its work | 15:34 |
*** danfairs has quit IRC | 15:34 | |
*** projekt01 has joined #zope3-dev | 15:42 | |
ignas | imgrey: what desctructor | 15:43 |
ignas | imgrey: use IObjectRemoved event and subscribers if it's zope | 15:43 |
*** cshenton has joined #zope3-dev | 15:44 | |
*** redir has quit IRC | 15:44 | |
*** redir has joined #zope3-dev | 15:45 | |
imgrey | ignas, http://dpaste.com/61/ | 15:45 |
projekt01 | jukart, ayt? | 15:46 |
jukart | projekt01: jep | 15:46 |
projekt01 | jukart, did you just remove duplucated code in jsonrpc? | 15:46 |
jukart | projekt01: im my own branch not in trunk | 15:47 |
imgrey | ignas, I saw zope events and canot imagine how it may be used in my application | 15:47 |
projekt01 | or what is your goal? | 15:47 |
projekt01 | yup | 15:47 |
jukart | projekt01: my goal is to get non positional arguments back for version 1.1 | 15:47 |
projekt01 | can we do this and be compatible with the specification? | 15:48 |
jukart | projekt01: the proposal for 1.1 defines non positional arguments and we already used it | 15:48 |
jukart | we need to stay with 1.1 because our gae backend only supports 1.1 | 15:49 |
projekt01 | I'm fine with any improvment, I just saw the changes. I'm not sure what's missing, was I while ago since I was working on that ;-) | 15:49 |
jukart | projekt01: my brach i made now supports everything for all versions | 15:50 |
*** menesis has quit IRC | 15:50 | |
projekt01 | just wondering if it has sideeffects for z3c.json or the JS lib z3c.jsonrpcproxy | 15:50 |
*** menesis has joined #zope3-dev | 15:50 | |
projekt01 | Do you think it's compatible with everything before? | 15:50 |
jukart | projekt01: I don't think there are side effects because it is just an extension | 15:50 |
projekt01 | cool | 15:50 |
projekt01 | can you merge that back to the trunk? | 15:51 |
jukart | but didn't look at jsonrpcproxy | 15:51 |
jukart | projekt01: np | 15:51 |
projekt01 | I'll take a look at that tonight | 15:51 |
jukart | projekt01: I would also like to make a new release because right now I use my own eggs in our internal repos | 15:51 |
projekt01 | of corse, no problem | 15:52 |
jukart | would like to see it on pypi | 15:52 |
jukart | so I merge it to trunk now so that you can test it | 15:52 |
projekt01 | jukart, Ok, will do so and let you know if it's working | 15:53 |
projekt01 | jukart, what JS library are you using with z3c.jsonrpc? | 15:53 |
jukart | projekt01: we have a GWT frontend | 15:54 |
jukart | and I used pyjamas for some tests | 15:54 |
projekt01 | is thre a simple way to test GWT with z3c.jsonrpc? | 15:54 |
*** menesis has quit IRC | 15:54 | |
jukart | projekt01: no not really, nothing is simple with java :( | 15:54 |
*** agroszer_ has joined #zope3-dev | 15:55 | |
projekt01 | I see | 15:55 |
*** menesis has joined #zope3-dev | 15:56 | |
projekt01 | I'll take a look at that tonight and let you know about that | 15:56 |
projekt01 | jukart, probably I'll find a way to add a handcrafted test framework using a server setup for the different JS libs like JQuery uses by default | 15:59 |
jukart | projekt01: merge is done, z3c.jsonrpc tests are still passing | 15:59 |
projekt01 | cool | 15:59 |
jukart | projekt01: but the test only use version 2.0 | 15:59 |
projekt01 | ;-) | 15:59 |
projekt01 | I'll add more tests for the other versions tonight | 16:00 |
*** danfairs_ has quit IRC | 16:00 | |
jukart | projekt01: did you see my other fixes I did last week, there where wrong checks for incoming version numbers | 16:00 |
*** lucielejard has joined #zope3-dev | 16:00 | |
*** hazmat has joined #zope3-dev | 16:00 | |
*** ChanServ sets mode: +o hazmat | 16:00 | |
jukart | I changed them from float to string | 16:00 |
*** stub has quit IRC | 16:00 | |
projekt01 | Yes, saw that looks good to me | 16:01 |
jukart | projekt01: and works much better with our frontend :) | 16:01 |
ignas | imgrey: sorry, had to go afk | 16:01 |
*** danfairs has joined #zope3-dev | 16:01 | |
*** pelle_ has joined #zope3-dev | 16:01 | |
ignas | imgrey: as I said - you have to do del test_db['tst'] to trigger the garbage collection of your variable | 16:02 |
imgrey | ignas, the same | 16:02 |
ignas | you do both del a and del test_db['tst']? | 16:02 |
imgrey | as far as I understand zodb managing objects on its own. and it is necessary to dig into its caching mechanism | 16:03 |
imgrey | ignas, only tst_db['tst'] | 16:03 |
ignas | imgrey: i am not sure how and why are you trying to mix zodb garbage collection and python garbage collection | 16:03 |
*** redir has quit IRC | 16:03 | |
ignas | imgrey: well - python garbage collection and object destruction is only triggered when there are no more references to the object | 16:04 |
*** lurkymclurkleton has joined #zope3-dev | 16:04 | |
ignas | imgrey: so naturally as long as at least one of the "a" and "test_db['tst']" are pointing at your object | 16:04 |
ignas | imgrey: the object will have refcount > 0 and will not be destroyed | 16:04 |
*** jamur2 has joined #zope3-dev | 16:04 | |
ignas | imgrey: and still I don't get how it is related to zope3, and what are you trying to accomplish... | 16:05 |
imgrey | ignas, according to my logic, when I perform 'del' object should be deleted (its __del__ method should be called). and when it deleted, then weakref proxy should call my callback. it may not happen only for one reason, if zodb overloaded __del__ method | 16:05 |
ignas | del | 16:06 |
imgrey | if it is so, then its impossible to catch event | 16:06 |
ignas | deletes 1 reference of the object | 16:06 |
ignas | and __del__ only get's triggered if you delete all of them | 16:06 |
ignas | do you know what's the difference between the object that is created when you do A() and the variable that you assign the instance of the object to? | 16:07 |
ignas | "a" is not the same thing as the instance of A(), "a" is pointing to A(), so by doing "del a" you remove reference to the object, not the object itself | 16:08 |
ignas | so try doing this: | 16:09 |
ignas | a = A() | 16:09 |
ignas | b = a | 16:09 |
ignas | wrap the object | 16:09 |
ignas | and "del a" | 16:09 |
ignas | yout callback will not get called | 16:09 |
ignas | and i really hope you understand why | 16:09 |
imgrey | ignas, I got it. thanks a lot | 16:10 |
*** davisagli has joined #zope3-dev | 16:14 | |
*** aaronv has joined #zope3-dev | 16:15 | |
*** ccomb has left #zope3-dev | 16:18 | |
*** baijum has joined #zope3-dev | 16:19 | |
*** nyo has quit IRC | 16:19 | |
*** agroszer_ is now known as agroszer | 16:20 | |
*** pelle__ has quit IRC | 16:22 | |
*** danfairs_ has joined #zope3-dev | 16:31 | |
*** danfairs has quit IRC | 16:31 | |
*** norro has quit IRC | 16:39 | |
*** pelle_ has quit IRC | 16:40 | |
*** pelle_ has joined #zope3-dev | 16:47 | |
*** mgedmin has joined #zope3-dev | 16:51 | |
*** fRiSi has joined #zope3-dev | 16:56 | |
*** pelle__ has joined #zope3-dev | 16:59 | |
*** J1m has joined #zope3-dev | 17:01 | |
*** tarek has quit IRC | 17:04 | |
*** redir has joined #zope3-dev | 17:05 | |
*** tarek has joined #zope3-dev | 17:06 | |
*** basti__ has quit IRC | 17:08 | |
*** pelle___ has joined #zope3-dev | 17:08 | |
*** pelle_ has quit IRC | 17:10 | |
*** danfairs_ has quit IRC | 17:16 | |
*** srichter has quit IRC | 17:18 | |
*** afd__ has joined #zope3-dev | 17:19 | |
*** menesis has quit IRC | 17:22 | |
*** nathany has joined #zope3-dev | 17:24 | |
*** danfairs has joined #zope3-dev | 17:24 | |
*** imgrey has quit IRC | 17:26 | |
*** pelle__ has quit IRC | 17:26 | |
*** imgrey has joined #zope3-dev | 17:26 | |
*** JaRoel|4_ has joined #zope3-dev | 17:30 | |
*** jhauser has joined #zope3-dev | 17:31 | |
*** afd_ has quit IRC | 17:31 | |
*** reedobrien has joined #zope3-dev | 17:34 | |
*** hazmat has quit IRC | 17:34 | |
*** zagy has quit IRC | 17:37 | |
imgrey | have someone seen this: http://dpaste.com/106/ ? | 17:38 |
imgrey | cannot understand why application hangs on commect to zodb | 17:39 |
ignas | imgrey: and the code that causes that? | 17:40 |
*** redir has quit IRC | 17:40 | |
imgrey | ignas, http://dpaste.com/109/ | 17:42 |
*** jerrymcfarts has joined #zope3-dev | 17:43 | |
benji | imgrey: which line in your 109 paste throws the exception? 15 perhaps? | 17:44 |
imgrey | benji, there's no exception on client side | 17:44 |
imgrey | benji, ZEO raises exception | 17:44 |
*** srichter has joined #zope3-dev | 17:45 | |
*** JaRoel|4_ has quit IRC | 17:45 | |
*** JaRoel|4_ has joined #zope3-dev | 17:45 | |
*** JaRoel|4D has quit IRC | 17:46 | |
*** MJ has quit IRC | 17:47 | |
*** danfairs has quit IRC | 17:48 | |
benji | imgrey: if your code is working, why are you complaning? ;) | 17:49 |
benji | more seriously: I /think/ that's normal the first time you open a brand new DB | 17:50 |
imgrey | benji, my code hangs | 17:50 |
benji | ah; what line does it hang on? | 17:50 |
*** danfairs has joined #zope3-dev | 17:50 | |
*** ChanServ sets mode: +o srichter | 17:50 | |
imgrey | benji, db = ZODB.DB(storage) | 17:52 |
imgrey | benji, seems it hangs randomly | 17:55 |
*** tarek has quit IRC | 17:55 | |
*** lucielejard has quit IRC | 17:56 | |
benji | imgrey: sorry, nothing springs to mind | 17:58 |
*** sm has joined #zope3-dev | 17:59 | |
*** jpcw has joined #zope3-dev | 18:01 | |
*** lucielejard has joined #zope3-dev | 18:03 | |
*** imgrey has quit IRC | 18:03 | |
*** pelle_ has joined #zope3-dev | 18:03 | |
*** tarek has joined #zope3-dev | 18:03 | |
*** Theuni has quit IRC | 18:04 | |
*** pelle__ has joined #zope3-dev | 18:08 | |
*** pelle___ has quit IRC | 18:09 | |
*** tarek_ has joined #zope3-dev | 18:11 | |
*** tarek has quit IRC | 18:12 | |
*** pcardune has joined #zope3-dev | 18:13 | |
*** sawdog_ has joined #zope3-dev | 18:16 | |
*** jukart has quit IRC | 18:16 | |
*** tarek_ has quit IRC | 18:16 | |
*** srichter has quit IRC | 18:19 | |
*** srichter has joined #zope3-dev | 18:19 | |
*** tarek_ has joined #zope3-dev | 18:22 | |
*** danfairs has quit IRC | 18:24 | |
*** tarek_ has quit IRC | 18:24 | |
*** danfairs has joined #zope3-dev | 18:24 | |
*** davisagli has left #zope3-dev | 18:25 | |
*** pelle_ has quit IRC | 18:25 | |
*** tarek_ has joined #zope3-dev | 18:30 | |
*** dbfrombrc has joined #zope3-dev | 18:31 | |
*** tarek__ has joined #zope3-dev | 18:31 | |
*** sawdog has quit IRC | 18:33 | |
*** tarek__ has joined #zope3-dev | 18:34 | |
*** tarek__ has quit IRC | 18:35 | |
*** strichter has joined #zope3-dev | 18:36 | |
*** srichter has quit IRC | 18:36 | |
*** afd___ has joined #zope3-dev | 18:39 | |
*** JaRoel|4_ has quit IRC | 18:40 | |
*** tarek__ has joined #zope3-dev | 18:40 | |
*** goschtl has quit IRC | 18:41 | |
*** afd__ has quit IRC | 18:42 | |
*** agroszer_ has joined #zope3-dev | 18:44 | |
*** zagy has joined #zope3-dev | 18:45 | |
*** tarek_ has quit IRC | 18:47 | |
*** _srichter has joined #zope3-dev | 18:48 | |
*** pelle__ has quit IRC | 18:51 | |
*** afd___ has quit IRC | 18:54 | |
*** afd___ has joined #zope3-dev | 18:55 | |
*** pcardune has quit IRC | 18:57 | |
*** tarek__ has quit IRC | 18:57 | |
*** jfkw has joined #zope3-dev | 18:58 | |
*** strichter has quit IRC | 19:00 | |
*** agroszer has quit IRC | 19:01 | |
*** nathany_ has joined #zope3-dev | 19:02 | |
*** nathany has quit IRC | 19:03 | |
*** nathany_ is now known as nathany | 19:03 | |
*** agroszer_ is now known as agroszer | 19:04 | |
*** pyqwer has quit IRC | 19:05 | |
*** alecm has joined #zope3-dev | 19:10 | |
*** danfairs has quit IRC | 19:10 | |
*** norro has joined #zope3-dev | 19:11 | |
*** ignas has quit IRC | 19:14 | |
*** danfairs has joined #zope3-dev | 19:14 | |
*** quodt has quit IRC | 19:19 | |
*** aaronv is now known as aaronv-LUNCH | 19:19 | |
*** projekt01 has quit IRC | 19:23 | |
*** Rolando has quit IRC | 19:24 | |
*** fRiSi has quit IRC | 19:28 | |
*** JaRoel|4D has joined #zope3-dev | 19:31 | |
*** norro has quit IRC | 19:35 | |
*** strichter has joined #zope3-dev | 19:37 | |
*** norro has joined #zope3-dev | 19:37 | |
*** norro has quit IRC | 19:39 | |
*** jpcw has left #zope3-dev | 19:47 | |
*** davisagli has joined #zope3-dev | 19:49 | |
*** tarek has joined #zope3-dev | 19:50 | |
*** harobed has quit IRC | 19:51 | |
*** _srichter has quit IRC | 19:51 | |
*** baijum has quit IRC | 19:54 | |
*** tarek has quit IRC | 19:55 | |
*** danfairs has quit IRC | 19:55 | |
*** baijum has joined #zope3-dev | 19:55 | |
*** tarek has joined #zope3-dev | 19:59 | |
*** aaronv-LUNCH is now known as aaronv | 20:03 | |
*** baijum has quit IRC | 20:10 | |
*** whit has joined #zope3-dev | 20:14 | |
*** aaronv has quit IRC | 20:16 | |
*** aaronv has joined #zope3-dev | 20:16 | |
*** timte has joined #zope3-dev | 20:19 | |
*** mkerrin has quit IRC | 20:21 | |
*** strichter is now known as srichter | 20:24 | |
*** ChanServ sets mode: +o srichter | 20:24 | |
*** pcardune has joined #zope3-dev | 20:29 | |
*** whit has quit IRC | 20:34 | |
*** whit has joined #zope3-dev | 20:38 | |
*** alga has quit IRC | 20:39 | |
*** tarek has quit IRC | 20:39 | |
*** nyo has joined #zope3-dev | 20:42 | |
*** jukart has joined #zope3-dev | 20:56 | |
*** jayaraj has quit IRC | 20:57 | |
*** malthe has quit IRC | 21:03 | |
*** quodt has joined #zope3-dev | 21:04 | |
*** cshenton_ has joined #zope3-dev | 21:05 | |
*** flox has left #zope3-dev | 21:08 | |
*** runyaga has joined #zope3-dev | 21:11 | |
runyaga | hi guys | 21:11 |
nyo | hi guy) | 21:11 |
*** pelle_ has joined #zope3-dev | 21:12 | |
runyaga | can you have two zeo servers: one in READONLY and one WRITING connected to same file? | 21:12 |
runyaga | i presume not | 21:12 |
runyaga | because that is why we have zeoraid, relstorage and ZRS ;)? | 21:12 |
nyo | well, don't ask me, I didn't use ZEO at all:) | 21:13 |
agroszer | runyaga: I'd say yes | 21:13 |
agroszer | or mostly yes | 21:13 |
runyaga | how mostly? | 21:13 |
agroszer | well, haven't used zeoraid yet | 21:14 |
runyaga | no | 21:14 |
runyaga | i'm talking about w/o zeoraid, relstorage or ZRS | 21:14 |
agroszer | what are looking for? | 21:14 |
agroszer | or trying to do? | 21:14 |
runyaga | two servers running off the same file | 21:14 |
runyaga | same data.fs | 21:14 |
runyaga | one in readonly mode | 21:14 |
runyaga | one in normal mode | 21:14 |
agroszer | I think the "normal" one will lock the data.fs that way that you cannot open it from any other process | 21:15 |
runyaga | if not read_only: | 21:16 |
runyaga | # Create the lock file | 21:16 |
runyaga | self._lock_file = LockFile(file_name + '.lock') | 21:16 |
runyaga | self._tfile = open(file_name + '.tmp', 'w+b') | 21:16 |
runyaga | self._tfmt = TempFormatter(self._tfile) | 21:16 |
runyaga | so th elock file is only done if your not in read_only | 21:16 |
agroszer | ahh, haven't used that | 21:16 |
agroszer | ask Jim, he is the expert there | 21:17 |
runyaga | J1m, ? | 21:17 |
runyaga | i couldnt imagine this working.. it sounds too easy | 21:18 |
agroszer | but when the file is on the same server, | 21:18 |
agroszer | why two ZEO servers? | 21:18 |
runyaga | right.. they are on a SAN | 21:18 |
runyaga | read only redundnacy | 21:19 |
agroszer | aha | 21:19 |
*** timte has quit IRC | 21:19 | |
*** timte has joined #zope3-dev | 21:20 | |
*** cshenton has quit IRC | 21:21 | |
*** junkafarian has quit IRC | 21:24 | |
*** povbot has joined #zope3-dev | 21:31 | |
*** whit has quit IRC | 21:32 | |
*** thetet has joined #zope3-dev | 21:39 | |
*** greenman has joined #zope3-dev | 21:43 | |
runyaga | J1m, last question 3.8a1 fixes are in 3.8 final? or 3.8.1.? http://svn.zope.org/ZODB/tags/3.8.1/?rev=97176 doesnt show 3.8a1 (cache verification) in HISTORY.txt | 21:44 |
*** sawdog_ has quit IRC | 21:57 | |
*** philiKON has joined #zope3-dev | 22:03 | |
*** zagy has quit IRC | 22:06 | |
*** cshenton has joined #zope3-dev | 22:08 | |
*** davisagli has left #zope3-dev | 22:12 | |
*** dunny has joined #zope3-dev | 22:17 | |
*** agroszer has quit IRC | 22:22 | |
*** cshenton_ has quit IRC | 22:25 | |
*** sawdog has joined #zope3-dev | 22:28 | |
*** benji has quit IRC | 22:29 | |
*** lurkymclurkleton has quit IRC | 22:30 | |
*** lurkymclurkleton has joined #zope3-dev | 22:31 | |
J1m | runyaga, I don't know what you're talking about. :) | 22:33 |
runyaga | i dont see HISTORY.txt file in ZODB 3.8.1 tag that says the cache fixes are in there | 22:34 |
runyaga | the entries in HISTORY.txt on trunk say (3.8a1) and I was confused.. is that 3.8, 3.8.1? | 22:34 |
runyaga | to be more specific.. the cache verification enhancements you did, those in 3.8.1? | 22:35 |
*** benji has joined #zope3-dev | 22:38 | |
J1m | The trunk history file seems to be missing lots of information. | 22:38 |
runyaga | ok. i apologize for taking your time. I will get someone to look at the diffs and ensure the verifications are in 3.8.1 | 22:39 |
* runyaga was just confused by history | 22:39 | |
J1m | It looks like entries need to be moved from the 3.8 branch to the trunk and that entries need to migrate from changes to history. | 22:39 |
J1m | Look in the NEWS.txt for 3.8. | 22:40 |
J1m | Look in the NEWS.txt for 3.8.1 | 22:40 |
J1m | We're getting away from NEWS.txt, which is why entries were lost in merges. | 22:40 |
J1m | The various cache-verification fixes, among many other fixes are in 3.8.1 and on the trunk. | 22:41 |
runyaga | thank you | 22:42 |
J1m | The references to 3.8a1 in the reunk history file should almost certainly refer to 3.8.0a1. | 22:43 |
J1m | trunk | 22:43 |
*** tarek has joined #zope3-dev | 22:49 | |
*** afd___ has quit IRC | 22:54 | |
*** TresEquis has joined #zope3-dev | 23:01 | |
*** davisagli has joined #zope3-dev | 23:15 | |
*** sm has quit IRC | 23:17 | |
*** mgedmin has quit IRC | 23:20 | |
*** nyo has quit IRC | 23:34 | |
*** greenman has quit IRC | 23:36 | |
*** gstratton has joined #zope3-dev | 23:40 | |
*** philiKON_ has joined #zope3-dev | 23:48 | |
*** philiKON_ has joined #zope3-dev | 23:49 | |
*** philiKON has quit IRC | 23:49 | |
*** aaronv has quit IRC | 23:52 | |
*** romanofski has joined #zope3-dev | 23:54 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!