*** danfairs has quit IRC | 00:11 | |
*** junkafarian has quit IRC | 01:30 | |
*** junkafarian has joined #zope3-dev | 01:43 | |
*** aaronv has quit IRC | 01:56 | |
*** matthal has joined #zope3-dev | 01:59 | |
*** ignas has quit IRC | 02:06 | |
*** tarek has quit IRC | 02:23 | |
*** junkafarian has quit IRC | 02:39 | |
*** lisppaste6 has quit IRC | 03:13 | |
*** stub has joined #zope3-dev | 03:20 | |
*** lisppaste6 has joined #zope3-dev | 03:29 | |
*** pcardune has joined #zope3-dev | 03:34 | |
*** alga has joined #zope3-dev | 03:50 | |
*** baijum has joined #zope3-dev | 04:13 | |
*** aaronv has joined #zope3-dev | 04:45 | |
*** yota has quit IRC | 04:53 | |
*** drudi has quit IRC | 05:12 | |
*** baijum has quit IRC | 05:40 | |
*** romanofski has quit IRC | 05:47 | |
*** aaronv has quit IRC | 05:56 | |
*** matthal has quit IRC | 06:04 | |
*** romanofski has joined #zope3-dev | 06:06 | |
*** baijum has joined #zope3-dev | 06:15 | |
*** allisterb_ has quit IRC | 07:04 | |
*** hath|away has joined #zope3-dev | 07:16 | |
*** hath|away is now known as hathawsh | 07:17 | |
*** ignas has joined #zope3-dev | 07:35 | |
*** kursor has joined #zope3-dev | 07:37 | |
*** afd__ has joined #zope3-dev | 07:40 | |
*** hathawsh is now known as hath|away | 07:53 | |
*** afd__ has quit IRC | 08:01 | |
*** hath|away is now known as hathawsh | 08:01 | |
*** afd__ has joined #zope3-dev | 08:01 | |
*** afd__ has joined #zope3-dev | 08:02 | |
*** hathawsh is now known as hath|away | 08:03 | |
*** kursor has quit IRC | 08:09 | |
*** baijum has quit IRC | 08:13 | |
*** afd_ has joined #zope3-dev | 08:17 | |
*** romanofski has quit IRC | 08:19 | |
*** matthal has joined #zope3-dev | 08:25 | |
*** afd__ has quit IRC | 08:25 | |
*** sm has quit IRC | 08:28 | |
*** pcardune has quit IRC | 08:36 | |
*** afd_____ has joined #zope3-dev | 08:41 | |
*** jpcw has joined #zope3-dev | 08:46 | |
*** afd_ has quit IRC | 08:48 | |
*** pcardune has joined #zope3-dev | 09:38 | |
*** agroszer has joined #zope3-dev | 09:41 | |
*** stub has quit IRC | 09:42 | |
*** yvl has joined #zope3-dev | 09:46 | |
*** zagy has joined #zope3-dev | 09:55 | |
*** pcardune has quit IRC | 09:58 | |
*** markusleist has quit IRC | 10:00 | |
*** junkafarian has joined #zope3-dev | 10:02 | |
*** jpcw has quit IRC | 10:16 | |
*** sweh has joined #zope3-dev | 10:19 | |
*** jfkw has quit IRC | 10:21 | |
*** Theuni1 has joined #zope3-dev | 10:24 | |
*** projekt01 has joined #zope3-dev | 10:30 | |
*** romanofski has joined #zope3-dev | 10:40 | |
*** davisagli has quit IRC | 10:41 | |
*** ignas has quit IRC | 10:44 | |
*** projekt01 has left #zope3-dev | 10:44 | |
*** jpcw has joined #zope3-dev | 10:47 | |
*** jhauser has joined #zope3-dev | 10:54 | |
*** MJ has joined #zope3-dev | 10:57 | |
*** mgedmin has joined #zope3-dev | 11:00 | |
*** piro84 has joined #zope3-dev | 11:00 | |
piro84 | good morning | 11:00 |
---|---|---|
mgedmin | morning! | 11:01 |
*** tarek has joined #zope3-dev | 11:06 | |
piro84 | hi mgedmin | 11:08 |
piro84 | I'm trying to run the functional test that comes with the zope installation | 11:12 |
piro84 | to get an idea about how it works | 11:13 |
*** jukart has joined #zope3-dev | 11:13 | |
piro84 | can anybody help me? | 11:13 |
mgedmin | maybe | 11:14 |
* mgedmin wonders if piro84 expects us to read his screen telepathically | 11:16 | |
piro84 | eheh | 11:16 |
piro84 | I'm just collecting questions | 11:16 |
mgedmin | oh dear | 11:16 |
*** Theuni1 has quit IRC | 11:17 | |
* mgedmin prepares to run away | 11:17 | |
piro84 | because I don't want to say stupid thigs :-) | 11:17 |
piro84 | I just got a home installation of Zope3.4 | 11:17 |
piro84 | and I located the ftests under testbrowser/ftest | 11:18 |
*** matthal has quit IRC | 11:18 | |
piro84 | how 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-dev | 11:20 | |
*** __mac__ has joined #zope3-dev | 11:21 | |
*** ignas has joined #zope3-dev | 11:22 | |
*** markusleist has joined #zope3-dev | 11:22 | |
mgedmin | there's a test runner | 11:35 |
mgedmin | I'm not sure I remember what an "installation of Zope 3.4" is | 11:35 |
mgedmin | in a source checkout it's ./test; in a buildout it's bin/test | 11:36 |
mgedmin | in an instance created with mkzopeinstance it should also be bin/test | 11:36 |
*** junkafarian_ has joined #zope3-dev | 11:39 | |
piro84 | I run the test script in my zopeInstance | 11:41 |
piro84 | but there are no tests in lib/python | 11:42 |
mgedmin | hmmmh | 11:43 |
piro84 | is there any functional test for zope itself? | 11:43 |
*** afd_____ has quit IRC | 11:44 | |
*** alga has quit IRC | 11:47 | |
*** drudi has joined #zope3-dev | 11:54 | |
*** romanofski has quit IRC | 11:55 | |
*** hath|away is now known as hathawsh | 11:56 | |
*** mkerrin has joined #zope3-dev | 12:07 | |
*** drudi has quit IRC | 12:07 | |
*** alga has joined #zope3-dev | 12:12 | |
* piro84 is confused @_@ | 12:30 | |
mgedmin | zope is confusing | 12:32 |
mgedmin | there are functional tests for zope itself | 12:32 |
mgedmin | you ought to be able to run them if you untar the source archive | 12:32 |
*** MJ has quit IRC | 12:32 | |
mgedmin | (although these days buildouts are preferred) | 12:32 |
piro84 | I have the source | 12:35 |
piro84 | but I'm not sure which one are the functional tests and which the unit tests | 12:36 |
piro84 | I guess they are the one in zope.testbrowser.tests.TestBrowserLayer | 12:36 |
piro84 | am I right? | 12:38 |
*** danfairs has joined #zope3-dev | 12:45 | |
*** afd_____ has joined #zope3-dev | 12:47 | |
*** stub has joined #zope3-dev | 12:48 | |
*** danfairs has quit IRC | 13:04 | |
mgedmin | piro84, yep | 13:04 |
mgedmin | generally, bin/test -f will skip the unit tests and run the functional tests | 13:04 |
mgedmin | where "functional" is defined as "not a unit test" | 13:04 |
mgedmin | it's somewhat fuzzy these days when there are multiple layers | 13:05 |
piro84 | yeah | 13:05 |
piro84 | should 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 IRC | 13:07 | |
piro84 | there is a file called zopetest in there | 13:08 |
piro84 | and it tests everything in zope.app | 13:08 |
*** zagy has quit IRC | 13:09 | |
*** zagy has joined #zope3-dev | 13:10 | |
*** projekt01 has joined #zope3-dev | 13:13 | |
*** mcdonc has quit IRC | 13:17 | |
*** kursor has joined #zope3-dev | 13:17 | |
*** drudi has joined #zope3-dev | 13:18 | |
*** projekt01 has quit IRC | 13:21 | |
*** MJ has joined #zope3-dev | 13:22 | |
*** stub has quit IRC | 13:31 | |
*** El_Rolando has joined #zope3-dev | 13:35 | |
*** mcdonc has joined #zope3-dev | 13:41 | |
*** Theuni1 has quit IRC | 13:44 | |
*** Theuni1 has joined #zope3-dev | 13:45 | |
*** zagy has quit IRC | 13:48 | |
*** fcorrea has joined #zope3-dev | 13:52 | |
*** zagy has joined #zope3-dev | 13:54 | |
*** Theuni1 has quit IRC | 14:03 | |
*** aaronv has joined #zope3-dev | 14:25 | |
*** Theuni1 has joined #zope3-dev | 14:26 | |
*** jhauser_ has joined #zope3-dev | 14:31 | |
*** Theuni1 has quit IRC | 14:39 | |
*** jhauser has quit IRC | 14:42 | |
*** jhauser has joined #zope3-dev | 14:46 | |
*** jhauser__ has joined #zope3-dev | 14:54 | |
*** jhauser_ has quit IRC | 14:54 | |
*** jhauser has quit IRC | 14:55 | |
*** jhauser__ is now known as jhauser | 14:55 | |
*** markusleist has quit IRC | 15:03 | |
*** benji has joined #zope3-dev | 15:04 | |
*** benji is now known as Guest79619 | 15:05 | |
*** dunny has quit IRC | 15:06 | |
*** hathawsh is now known as hath|away | 15:18 | |
*** menesis has quit IRC | 15:22 | |
*** jfkw has joined #zope3-dev | 15:23 | |
*** jfkw has quit IRC | 15:32 | |
*** tisto has joined #zope3-dev | 15:44 | |
*** menesis has joined #zope3-dev | 15:58 | |
*** lurkymclurkleton has joined #zope3-dev | 16:03 | |
*** gary_poster has joined #zope3-dev | 16:10 | |
*** alexdb has joined #zope3-dev | 16:14 | |
alexdb | Hi, 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 factories | 16:15 |
alexdb | afd_____: well the things is that I use some code implemented in ZCA which can be called out of Zope | 16:18 |
alexdb | afd_____: 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 data | 16:19 |
piro84 | got to go | 16:19 |
piro84 | see you later | 16:19 |
*** piro84 has left #zope3-dev | 16: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 adapters | 16: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 want | 16:21 |
alexdb | afd_____: ok thanks, i'll go get some coffee and try this ;) | 16:22 |
*** Theuni1 has joined #zope3-dev | 16:28 | |
alexdb | afd_____: in fact, createObject accept parameters :) | 16:29 |
afd_____ | yeah, I half-remember that | 16:29 |
*** tarek has quit IRC | 16:52 | |
*** tarek has joined #zope3-dev | 16:52 | |
*** ignas has quit IRC | 17:06 | |
*** hath|away is now known as hathawsh | 17:16 | |
*** redir has joined #zope3-dev | 17:17 | |
*** hathawsh is now known as hath|away | 17:27 | |
*** aaronv has quit IRC | 17:39 | |
*** jukart has quit IRC | 17:41 | |
*** sweh has quit IRC | 17:45 | |
*** alecm has joined #zope3-dev | 17:47 | |
*** sawdog has joined #zope3-dev | 17:48 | |
*** jfkw has joined #zope3-dev | 17:49 | |
*** sm has joined #zope3-dev | 17:56 | |
*** agroszer_ has joined #zope3-dev | 18:08 | |
*** agroszer has quit IRC | 18:08 | |
*** yvl has quit IRC | 18:09 | |
*** pyqwer has joined #zope3-dev | 18:11 | |
*** tisto has quit IRC | 18:12 | |
*** kapil__ has joined #zope3-dev | 18:18 | |
*** tisto has joined #zope3-dev | 18:32 | |
*** hath|away is now known as hathawsh | 18:34 | |
*** El_Rolando has quit IRC | 18:34 | |
*** hathawsh is now known as hath|away | 18:35 | |
*** J1m has joined #zope3-dev | 18:35 | |
*** jukart has joined #zope3-dev | 18:40 | |
*** sm has quit IRC | 18:49 | |
*** nathany has joined #zope3-dev | 18:50 | |
*** MJ has quit IRC | 18:56 | |
*** __mac__ has quit IRC | 18:58 | |
*** Theuni2 has joined #zope3-dev | 19:00 | |
*** sm has joined #zope3-dev | 19:02 | |
*** sm_ has joined #zope3-dev | 19:06 | |
*** Theuni1 has quit IRC | 19:07 | |
*** mgedmin has quit IRC | 19:11 | |
*** kapil__ has quit IRC | 19:12 | |
*** mintsauce has joined #zope3-dev | 19:12 | |
*** afd_____ has quit IRC | 19:13 | |
*** nathany_ has joined #zope3-dev | 19:13 | |
*** matthal has joined #zope3-dev | 19:13 | |
mintsauce | Is there an 'easy' way to clear ConnectionStateError's ? | 19:13 |
*** kapil__ has joined #zope3-dev | 19:14 | |
*** nathany has quit IRC | 19:20 | |
*** alecm has quit IRC | 19:20 | |
*** davisagli has joined #zope3-dev | 19:20 | |
*** tisto has quit IRC | 19:20 | |
*** sm has quit IRC | 19:21 | |
*** sm_ is now known as sm | 19:21 | |
*** tisto has joined #zope3-dev | 19:22 | |
*** alecm has joined #zope3-dev | 19:25 | |
*** redir has quit IRC | 19:27 | |
*** jpcw has quit IRC | 19:28 | |
*** hath|away is now known as hathawsh | 19:35 | |
*** redir has joined #zope3-dev | 19:36 | |
*** agroszer__ has joined #zope3-dev | 19:51 | |
*** agroszer_ has quit IRC | 19:51 | |
*** jpcw has joined #zope3-dev | 19:55 | |
*** aaronv has joined #zope3-dev | 20:01 | |
*** nathany_ has quit IRC | 20:04 | |
*** nathany has joined #zope3-dev | 20:06 | |
*** pyqwer has quit IRC | 20:11 | |
*** mkerrin has left #zope3-dev | 20:13 | |
*** alexdb has quit IRC | 20:14 | |
*** hathawsh is now known as hath|away | 20:25 | |
*** nathany has quit IRC | 20:26 | |
*** nathany_ has joined #zope3-dev | 20:26 | |
*** alecm has quit IRC | 20:28 | |
*** alecm has joined #zope3-dev | 20:31 | |
*** drudi has quit IRC | 20:35 | |
*** nathany_ has quit IRC | 20:55 | |
*** jukart has quit IRC | 20:59 | |
mintsauce | Deleting and replacing my Data.fs doesnt get rid of ConnectionStateError's - is there another way to clear them? | 21:07 |
*** mcdonc has quit IRC | 21:10 | |
*** mcdonc has joined #zope3-dev | 21:13 | |
*** nathany has joined #zope3-dev | 21:13 | |
*** kapil__ has quit IRC | 21:16 | |
mintsauce | As 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 IRC | 21:19 | |
*** menesis has quit IRC | 21:20 | |
*** afd_____ has joined #zope3-dev | 21:34 | |
*** alga has quit IRC | 21:38 | |
*** pcardune has joined #zope3-dev | 21:41 | |
*** afd____ has joined #zope3-dev | 21:46 | |
*** webmaven has joined #zope3-dev | 21:47 | |
*** menesis has joined #zope3-dev | 21:54 | |
*** menesis has quit IRC | 21:55 | |
*** lisppaste6 has quit IRC | 21:58 | |
*** lisppaste6 has joined #zope3-dev | 21:58 | |
*** tisto has quit IRC | 22:03 | |
*** agroszer__ has quit IRC | 22:11 | |
*** menesis has joined #zope3-dev | 22:11 | |
*** junkafarian_ has quit IRC | 22:12 | |
*** afd_____ has quit IRC | 22:14 | |
*** mcdonc has quit IRC | 22:23 | |
*** mcdonc_ has joined #zope3-dev | 22:23 | |
*** mcdonc_ is now known as mcdonc | 22:23 | |
*** allisterb has joined #zope3-dev | 22:27 | |
*** dunny has joined #zope3-dev | 22:27 | |
*** hath|away is now known as hathawsh | 22:27 | |
*** hathawsh is now known as hath|away | 22:28 | |
*** kapil__ has joined #zope3-dev | 22:29 | |
*** hath|away is now known as hathawsh | 22:35 | |
*** kursor has quit IRC | 22:42 | |
*** __mac__ has joined #zope3-dev | 22:45 | |
*** aaronv has quit IRC | 23:06 | |
*** __mac__ has quit IRC | 23:11 | |
mintsauce | If 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 IRC | 23:25 | |
*** afd____ has quit IRC | 23:27 | |
*** fcorrea has quit IRC | 23:47 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!