IRC log of #zope3-dev for Monday, 2009-11-16

*** danfairs has quit IRC00:11
*** junkafarian has quit IRC01:30
*** junkafarian has joined #zope3-dev01:43
*** aaronv has quit IRC01:56
*** matthal has joined #zope3-dev01:59
*** ignas has quit IRC02:06
*** tarek has quit IRC02:23
*** junkafarian has quit IRC02:39
*** lisppaste6 has quit IRC03:13
*** stub has joined #zope3-dev03:20
*** lisppaste6 has joined #zope3-dev03:29
*** pcardune has joined #zope3-dev03:34
*** alga has joined #zope3-dev03:50
*** baijum has joined #zope3-dev04:13
*** aaronv has joined #zope3-dev04:45
*** yota has quit IRC04:53
*** drudi has quit IRC05:12
*** baijum has quit IRC05:40
*** romanofski has quit IRC05:47
*** aaronv has quit IRC05:56
*** matthal has quit IRC06:04
*** romanofski has joined #zope3-dev06:06
*** baijum has joined #zope3-dev06:15
*** allisterb_ has quit IRC07:04
*** hath|away has joined #zope3-dev07:16
*** hath|away is now known as hathawsh07:17
*** ignas has joined #zope3-dev07:35
*** kursor has joined #zope3-dev07:37
*** afd__ has joined #zope3-dev07:40
*** hathawsh is now known as hath|away07:53
*** afd__ has quit IRC08:01
*** hath|away is now known as hathawsh08:01
*** afd__ has joined #zope3-dev08:01
*** afd__ has joined #zope3-dev08:02
*** hathawsh is now known as hath|away08:03
*** kursor has quit IRC08:09
*** baijum has quit IRC08:13
*** afd_ has joined #zope3-dev08:17
*** romanofski has quit IRC08:19
*** matthal has joined #zope3-dev08:25
*** afd__ has quit IRC08:25
*** sm has quit IRC08:28
*** pcardune has quit IRC08:36
*** afd_____ has joined #zope3-dev08:41
*** jpcw has joined #zope3-dev08:46
*** afd_ has quit IRC08:48
*** pcardune has joined #zope3-dev09:38
*** agroszer has joined #zope3-dev09:41
*** stub has quit IRC09:42
*** yvl has joined #zope3-dev09:46
*** zagy has joined #zope3-dev09:55
*** pcardune has quit IRC09:58
*** markusleist has quit IRC10:00
*** junkafarian has joined #zope3-dev10:02
*** jpcw has quit IRC10:16
*** sweh has joined #zope3-dev10:19
*** jfkw has quit IRC10:21
*** Theuni1 has joined #zope3-dev10:24
*** projekt01 has joined #zope3-dev10:30
*** romanofski has joined #zope3-dev10:40
*** davisagli has quit IRC10:41
*** ignas has quit IRC10:44
*** projekt01 has left #zope3-dev10:44
*** jpcw has joined #zope3-dev10:47
*** jhauser has joined #zope3-dev10:54
*** MJ has joined #zope3-dev10:57
*** mgedmin has joined #zope3-dev11:00
*** piro84 has joined #zope3-dev11:00
piro84good morning11:00
*** tarek has joined #zope3-dev11:06
piro84hi mgedmin11:08
piro84I'm trying to run the functional test that comes with the zope installation11:12
piro84to get an idea about how it works11:13
*** jukart has joined #zope3-dev11:13
piro84can anybody help me?11:13
* mgedmin wonders if piro84 expects us to read his screen telepathically11:16
piro84I'm just collecting questions11:16
mgedminoh dear11:16
*** Theuni1 has quit IRC11:17
* mgedmin prepares to run away11:17
piro84because I don't want to say stupid thigs :-)11:17
piro84I just got a home installation of Zope3.411:17
piro84and I located the ftests under testbrowser/ftest11:18
*** matthal has quit IRC11:18
piro84how do I run them? should I write a script which uses testrunner or somethings is ready "out of the box" ?11:19
*** Theuni1 has joined #zope3-dev11:20
*** __mac__ has joined #zope3-dev11:21
*** ignas has joined #zope3-dev11:22
*** markusleist has joined #zope3-dev11:22
mgedminthere's a test runner11:35
mgedminI'm not sure I remember what an "installation of Zope 3.4" is11:35
mgedminin a source checkout it's ./test; in a buildout it's bin/test11:36
mgedminin an instance created with mkzopeinstance it should also be bin/test11:36
*** junkafarian_ has joined #zope3-dev11:39
piro84I run the test script in my zopeInstance11:41
piro84but there are no tests in lib/python11:42
piro84is there any functional test for zope itself?11:43
*** afd_____ has quit IRC11:44
*** alga has quit IRC11:47
*** drudi has joined #zope3-dev11:54
*** romanofski has quit IRC11:55
*** hath|away is now known as hathawsh11:56
*** mkerrin has joined #zope3-dev12:07
*** drudi has quit IRC12:07
*** alga has joined #zope3-dev12:12
* piro84 is confused @_@12:30
mgedminzope is confusing12:32
mgedminthere are functional tests for zope itself12:32
mgedminyou ought to be able to run them if you untar the source archive12:32
*** MJ has quit IRC12:32
mgedmin(although these days buildouts are preferred)12:32
piro84I have the source12:35
piro84but I'm not sure which one are the functional tests and which the unit tests12:36
piro84I guess they are the one in zope.testbrowser.tests.TestBrowserLayer12:36
piro84am I right?12:38
*** danfairs has joined #zope3-dev12:45
*** afd_____ has joined #zope3-dev12:47
*** stub has joined #zope3-dev12:48
*** danfairs has quit IRC13:04
mgedminpiro84, yep13:04
mgedmingenerally, bin/test -f will skip the unit tests and run the functional tests13:04
mgedminwhere "functional" is defined as "not a unit test"13:04
mgedminit's somewhat fuzzy these days when there are multiple layers13:05
piro84should I call the test script from my home instance of zope or from /usr/local/zope/bin (zope install directory)?13:06
*** fcorrea has quit IRC13:07
piro84there is a file called zopetest in there13:08
piro84and it tests everything in zope.app13:08
*** zagy has quit IRC13:09
*** zagy has joined #zope3-dev13:10
*** projekt01 has joined #zope3-dev13:13
*** mcdonc has quit IRC13:17
*** kursor has joined #zope3-dev13:17
*** drudi has joined #zope3-dev13:18
*** projekt01 has quit IRC13:21
*** MJ has joined #zope3-dev13:22
*** stub has quit IRC13:31
*** El_Rolando has joined #zope3-dev13:35
*** mcdonc has joined #zope3-dev13:41
*** Theuni1 has quit IRC13:44
*** Theuni1 has joined #zope3-dev13:45
*** zagy has quit IRC13:48
*** fcorrea has joined #zope3-dev13:52
*** zagy has joined #zope3-dev13:54
*** Theuni1 has quit IRC14:03
*** aaronv has joined #zope3-dev14:25
*** Theuni1 has joined #zope3-dev14:26
*** jhauser_ has joined #zope3-dev14:31
*** Theuni1 has quit IRC14:39
*** jhauser has quit IRC14:42
*** jhauser has joined #zope3-dev14:46
*** jhauser__ has joined #zope3-dev14:54
*** jhauser_ has quit IRC14:54
*** jhauser has quit IRC14:55
*** jhauser__ is now known as jhauser14:55
*** markusleist has quit IRC15:03
*** benji has joined #zope3-dev15:04
*** benji is now known as Guest7961915:05
*** dunny has quit IRC15:06
*** hathawsh is now known as hath|away15:18
*** menesis has quit IRC15:22
*** jfkw has joined #zope3-dev15:23
*** jfkw has quit IRC15:32
*** tisto has joined #zope3-dev15:44
*** menesis has joined #zope3-dev15:58
*** lurkymclurkleton has joined #zope3-dev16:03
*** gary_poster has joined #zope3-dev16:10
*** alexdb has joined #zope3-dev16:14
alexdbHi, how can I pass parameters to my factory when I do a createObject('myFactoryRegisteredName') ?16:14
afd_____alexdb: unless you plan on having different implementation for the same content type, I don't see the reason for using factories16:15
alexdbafd_____: well the things is that I use some code implemented in ZCA which can be called out of Zope16:18
alexdbafd_____: the factory do some calls to an external ressource to get attributes of my object, but I need to pass at least one id to my factory so it can get the good data16:19
piro84got to go16:19
piro84see you later16:19
*** piro84 has left #zope3-dev16:19
afd_____I see. I'm not sure if createObject can accept parameters (I think it can), but you can, at worse, create your own factories using named adapters16:20
afd_____something like: getAdapter(IMyObjectFactory, name="some_object_type)16:21
afd_____and then call this adapter (which could be a simple function) with whatever parameters you want16:21
alexdbafd_____: ok thanks, i'll go get some coffee and try this ;)16:22
*** Theuni1 has joined #zope3-dev16:28
alexdbafd_____: in fact, createObject accept parameters :)16:29
afd_____yeah, I half-remember that16:29
*** tarek has quit IRC16:52
*** tarek has joined #zope3-dev16:52
*** ignas has quit IRC17:06
*** hath|away is now known as hathawsh17:16
*** redir has joined #zope3-dev17:17
*** hathawsh is now known as hath|away17:27
*** aaronv has quit IRC17:39
*** jukart has quit IRC17:41
*** sweh has quit IRC17:45
*** alecm has joined #zope3-dev17:47
*** sawdog has joined #zope3-dev17:48
*** jfkw has joined #zope3-dev17:49
*** sm has joined #zope3-dev17:56
*** agroszer_ has joined #zope3-dev18:08
*** agroszer has quit IRC18:08
*** yvl has quit IRC18:09
*** pyqwer has joined #zope3-dev18:11
*** tisto has quit IRC18:12
*** kapil__ has joined #zope3-dev18:18
*** tisto has joined #zope3-dev18:32
*** hath|away is now known as hathawsh18:34
*** El_Rolando has quit IRC18:34
*** hathawsh is now known as hath|away18:35
*** J1m has joined #zope3-dev18:35
*** jukart has joined #zope3-dev18:40
*** sm has quit IRC18:49
*** nathany has joined #zope3-dev18:50
*** MJ has quit IRC18:56
*** __mac__ has quit IRC18:58
*** Theuni2 has joined #zope3-dev19:00
*** sm has joined #zope3-dev19:02
*** sm_ has joined #zope3-dev19:06
*** Theuni1 has quit IRC19:07
*** mgedmin has quit IRC19:11
*** kapil__ has quit IRC19:12
*** mintsauce has joined #zope3-dev19:12
*** afd_____ has quit IRC19:13
*** nathany_ has joined #zope3-dev19:13
*** matthal has joined #zope3-dev19:13
mintsauceIs there an 'easy' way to clear ConnectionStateError's ?19:13
*** kapil__ has joined #zope3-dev19:14
*** nathany has quit IRC19:20
*** alecm has quit IRC19:20
*** davisagli has joined #zope3-dev19:20
*** tisto has quit IRC19:20
*** sm has quit IRC19:21
*** sm_ is now known as sm19:21
*** tisto has joined #zope3-dev19:22
*** alecm has joined #zope3-dev19:25
*** redir has quit IRC19:27
*** jpcw has quit IRC19:28
*** hath|away is now known as hathawsh19:35
*** redir has joined #zope3-dev19:36
*** agroszer__ has joined #zope3-dev19:51
*** agroszer_ has quit IRC19:51
*** jpcw has joined #zope3-dev19:55
*** aaronv has joined #zope3-dev20:01
*** nathany_ has quit IRC20:04
*** nathany has joined #zope3-dev20:06
*** pyqwer has quit IRC20:11
*** mkerrin has left #zope3-dev20:13
*** alexdb has quit IRC20:14
*** hathawsh is now known as hath|away20:25
*** nathany has quit IRC20:26
*** nathany_ has joined #zope3-dev20:26
*** alecm has quit IRC20:28
*** alecm has joined #zope3-dev20:31
*** drudi has quit IRC20:35
*** nathany_ has quit IRC20:55
*** jukart has quit IRC20:59
mintsauceDeleting and replacing my Data.fs doesnt get rid of ConnectionStateError's - is there another way to clear them?21:07
*** mcdonc has quit IRC21:10
*** mcdonc has joined #zope3-dev21:13
*** nathany has joined #zope3-dev21:13
*** kapil__ has quit IRC21:16
mintsauceAs I understand it, zodb.connection.setstate: "Turns the ghost 'obj' into a real object by loading its state from the database." - But my obj seems corrupted - is there not a way to clear it?21:17
*** nathany has quit IRC21:19
*** menesis has quit IRC21:20
*** afd_____ has joined #zope3-dev21:34
*** alga has quit IRC21:38
*** pcardune has joined #zope3-dev21:41
*** afd____ has joined #zope3-dev21:46
*** webmaven has joined #zope3-dev21:47
*** menesis has joined #zope3-dev21:54
*** menesis has quit IRC21:55
*** lisppaste6 has quit IRC21:58
*** lisppaste6 has joined #zope3-dev21:58
*** tisto has quit IRC22:03
*** agroszer__ has quit IRC22:11
*** menesis has joined #zope3-dev22:11
*** junkafarian_ has quit IRC22:12
*** afd_____ has quit IRC22:14
*** mcdonc has quit IRC22:23
*** mcdonc_ has joined #zope3-dev22:23
*** mcdonc_ is now known as mcdonc22:23
*** allisterb has joined #zope3-dev22:27
*** dunny has joined #zope3-dev22:27
*** hath|away is now known as hathawsh22:27
*** hathawsh is now known as hath|away22:28
*** kapil__ has joined #zope3-dev22:29
*** hath|away is now known as hathawsh22:35
*** kursor has quit IRC22:42
*** __mac__ has joined #zope3-dev22:45
*** aaronv has quit IRC23:06
*** __mac__ has quit IRC23:11
mintsauceIf anyone's interested  / lands here via google later, the ConnectionStateError was actually masking a syntax error, which I found stepping through via pdb.23:23
*** mintsauce has quit IRC23:25
*** afd____ has quit IRC23:27
*** fcorrea has quit IRC23:47

Generated by 2.15.1 by Marius Gedminas - find it at!