projekt01 | Are you buying your next laptop with windows vista like srichter? | 00:00 |
---|---|---|
projekt01 | ;-) | 00:00 |
* benji places bets on flying pigs before jim-windows-laptop | 00:01 | |
J1m | Vista is going to be a real problem, sunce M$ is hostile to VMs. I'll only ruin Windows in a VM. | 00:01 |
philiKON | benji: make that two bets :) | 00:01 |
projekt01 | I'm not sure, or could you buy your laptop brand without a windows os ;-) | 00:02 |
projekt01 | My Vista was living on my laptop for 4 days, then I was replacing this pice of ... | 00:03 |
*** sm has quit IRC | 00:08 | |
*** sm has joined #zope3-dev | 00:08 | |
mgedmin | I'm sure you can ruin Windows anywhere | 00:10 |
mgedmin | I'd even go as far as saying it's ruined out of the box | 00:10 |
philiKON | it can be made quite decent to live with | 00:12 |
philiKON | i still don't understand why you'd prefer it as a development platform over anything unix-ish, though | 00:12 |
philiKON | especially since linux is free | 00:13 |
projekt01 | I have not one user which uses linux for it's business | 00:13 |
philiKON | so? | 00:14 |
philiKON | i never deploy on macosx either | 00:14 |
mgedmin | I liked benji's email today: "is windows so in zope3 developers?" "in a word: yes" | 00:14 |
mgedmin | um, "so unpopular" | 00:14 |
benji | ;) | 00:14 |
* mgedmin can't copy/paste anymore | 00:14 | |
benji | you even missed a word in the middle of a sentence, impressive | 00:15 |
philiKON | i mean, i totally understand if you'll have to run windows because you need to connect to exchange or need to run XYZ proprietary software | 00:15 |
philiKON | but then simply get vmware and a linux VM | 00:15 |
philiKON | and voila, you actually have a platform wiht a proper compiler! | 00:16 |
philiKON | anyway, i shouldn't get into this rant :) | 00:16 |
pcardune | philiKON: you will soon be pulling me into it | 00:16 |
philiKON | :) | 00:16 |
projekt01 | I know, but we should take care on windows users, we do not have a benefit not supporting windows. | 00:18 |
*** norro has quit IRC | 00:18 | |
projekt01 | And I think it's a shame for us developers to develop with a cross plattform language like python and not beeing able to make it running on all supported OS. | 00:19 |
philiKON | right, i don't *mind* windows, but it's hard to expect everyone else to take care of windows | 00:19 |
srichter | no, but when switching paradigms we need to make sure we do not leave others in the dust | 00:20 |
mgedmin | the good thing about web apps is you can run linux on the server even if all your clients use windows | 00:21 |
mgedmin | although I've nothing against making sure the apps are portable | 00:21 |
J1m | mgedmin, as long as your clients don't run ie. :) | 00:22 |
projekt01 | mgedmin, tell that the Lufthansa's IT supporting company Amadeus, the do not support linux for one server just for running our extranet app | 00:23 |
philiKON | i wonder why nobody ever made a firefox skin that looked like i.e. | 00:23 |
pcardune | he he he | 00:24 |
philiKON | mgedmin: right, projekt01 has a point. large companies have cooooomplicated processes... :( | 00:24 |
mgedmin | that's a reason why I work for a small company :) | 00:24 |
philiKON | but if your client is a big company... | 00:25 |
srichter | mgedmin: J1m: where should a put the recipe for creating a coverage-report script specific to a package (i.e. choosing default options)? Would z3c.coverage.recipe work? | 00:25 |
pcardune | philiKON: you can be a chooser... is it not your right to deny a client? | 00:25 |
projekt01 | pcardune, yes and sleep under the bridge at the end of the year ;-) | 00:26 |
philiKON | srichter: why do we need an extra recipe just to create a script? | 00:27 |
J1m | srichter, I don't understand the question. | 00:27 |
projekt01 | pcardune, btw, congratulations to your great js form work | 00:28 |
srichter | because I have to specify several options to use the coverage script right now | 00:28 |
srichter | it is the same reason we have a recipe for the testrunner | 00:28 |
J1m | srichter, ehrn ou use the scripts recipe, you can specify options as part of the script generation. | 00:29 |
J1m | so you can define the options you want supplied in the configuration. | 00:29 |
srichter | J1m: oh, interesting | 00:29 |
J1m | s/ehrn ou/when you/ :) | 00:29 |
pcardune | projekt01: thanks | 00:29 |
J1m | Look at the documentation for zc.recipe.egg | 00:29 |
srichter | I have to figure out how to use that | 00:29 |
srichter | J1m: ok, will do | 00:30 |
srichter | thanks | 00:30 |
philiKON | srichter: basically you use the zc.recipe.egg:scripts recipe | 00:30 |
mgedmin | srichter: z3c.coverage.coveragediff is now 100% unit tested (even the if __name__ == '__main__': main() bit) | 00:30 |
srichter | mgedmin: cool! :-) | 00:31 |
mgedmin | ah, but you didn't see the execfile(filename, dict(__name__='__main__')) bit yet | 00:31 |
srichter | mgedmin: have you started testing coverage_report as well? | 00:31 |
mgedmin | I expect to be yelled at because I wrote that | 00:31 |
srichter | mgedmin: yes I did, I read the checkin message already | 00:31 |
pcardune | mgedmin: oh wow, that is rather sneaky | 00:33 |
srichter | so why do we need a recipe for the testrunner then? | 00:34 |
philiKON | we probably don't | 00:35 |
mgedmin | speaking of testrunner and buildout... | 00:36 |
WebMaven | my last reason for running windows went away once I could install IE on linux for testing web designs. | 00:36 |
mgedmin | every package I've seen that used buildout also has a setup.py script | 00:36 |
mgedmin | but setup.py test did not run the testsuite | 00:36 |
* philiKON didn't even know that setup.py test existed | 00:36 | |
* philiKON wonders what it does | 00:36 | |
mgedmin | is there a way to hook up setup.py test to run bin/test? | 00:36 |
* mgedmin discovered setup.py test by running setup.py --help-commands | 00:37 | |
*** timte has quit IRC | 00:40 | |
*** timte has joined #zope3-dev | 00:41 | |
*** jodok_ has quit IRC | 00:46 | |
*** mgedmin has quit IRC | 00:52 | |
*** eldar has quit IRC | 00:55 | |
*** alga has quit IRC | 01:04 | |
*** edgordon has joined #zope3-dev | 01:04 | |
*** srichter has quit IRC | 01:05 | |
*** rcrafton_ has quit IRC | 01:13 | |
*** edgordon has quit IRC | 01:17 | |
*** naro has left #zope3-dev | 01:18 | |
*** pbugni has quit IRC | 01:23 | |
*** fcorrea has quit IRC | 01:28 | |
*** fcorrea has joined #zope3-dev | 01:30 | |
*** Ariel_Calzada has quit IRC | 01:31 | |
*** nathany_ has quit IRC | 01:31 | |
*** rocky|boston has quit IRC | 01:35 | |
*** ksmith99_ has joined #zope3-dev | 01:39 | |
*** oferw has joined #zope3-dev | 01:54 | |
*** fcorrea has quit IRC | 01:57 | |
*** timte has quit IRC | 02:07 | |
*** J1m has quit IRC | 02:23 | |
*** nitromaster has joined #zope3-dev | 03:10 | |
*** oferw has quit IRC | 03:11 | |
*** benji has quit IRC | 03:23 | |
*** huajie has joined #zope3-dev | 03:25 | |
*** WebMaven_ has joined #zope3-dev | 03:32 | |
*** WebMaven has quit IRC | 03:32 | |
*** RaFromBRC has quit IRC | 03:44 | |
*** jinty has quit IRC | 03:47 | |
*** grahal has joined #zope3-dev | 03:58 | |
*** srichter has joined #zope3-dev | 04:01 | |
*** ChanServ sets mode: +o srichter | 04:05 | |
*** jsadjohnson has quit IRC | 04:06 | |
*** WebMaven_ is now known as WebMaven | 04:08 | |
*** grahal has quit IRC | 04:08 | |
*** fcorrea has joined #zope3-dev | 04:10 | |
*** fcorrea has left #zope3-dev | 04:11 | |
*** jsadjohnson has joined #zope3-dev | 04:11 | |
*** zez_zez has quit IRC | 04:16 | |
*** nitromaster has quit IRC | 04:34 | |
*** natea_ has joined #zope3-dev | 04:47 | |
projekt01 | philiKON, ayt? | 04:51 |
*** jsadjohnson has quit IRC | 05:15 | |
*** natea_ has quit IRC | 05:24 | |
*** natea_ has joined #zope3-dev | 05:37 | |
*** rcrafton has joined #zope3-dev | 05:55 | |
*** chacha_chaudhry has joined #zope3-dev | 05:59 | |
*** alecm has quit IRC | 05:59 | |
*** rcrafton has quit IRC | 06:13 | |
*** fdrake has joined #zope3-dev | 06:14 | |
*** pcardune has quit IRC | 06:15 | |
*** pcardune has joined #zope3-dev | 06:27 | |
*** fcorrea has joined #zope3-dev | 06:41 | |
*** fcorrea_ has joined #zope3-dev | 06:42 | |
*** fcorrea has left #zope3-dev | 06:43 | |
*** fcorrea_ is now known as fcorrea | 06:44 | |
*** projekt01 has quit IRC | 06:57 | |
*** stub has joined #zope3-dev | 06:58 | |
*** greenman has quit IRC | 07:04 | |
*** fcorrea has quit IRC | 07:18 | |
*** fdrake has left #zope3-dev | 07:22 | |
*** natea_ has quit IRC | 07:24 | |
huajie | anyone knows if it is allowed to put zope.schema.* objects when defining a zc.form.field.Union instance ? | 07:27 |
huajie | all examples I have seen are putting zc.form.field.* into zc.form.field.Union | 07:28 |
huajie | I tried to put a zope.schema.object into zc.form.field.Union and got an error : 'Object' object has no attribute 'fields' :S | 07:29 |
*** natea_ has joined #zope3-dev | 07:35 | |
*** cursor has joined #zope3-dev | 07:36 | |
*** natea_ has quit IRC | 07:39 | |
*** niemeyer has quit IRC | 07:42 | |
* huajie get some examples with zope.schema objects in the documentation | 07:46 | |
*** baijum has joined #zope3-dev | 07:48 | |
*** WebMaven has quit IRC | 07:51 | |
*** d2m has joined #zope3-dev | 08:06 | |
*** sorin has joined #zope3-dev | 08:07 | |
*** sorin is now known as sorindregan | 08:08 | |
*** alecm has joined #zope3-dev | 08:12 | |
*** SteveA has quit IRC | 08:19 | |
*** whit has quit IRC | 08:23 | |
*** greenman has joined #zope3-dev | 08:26 | |
*** tjs has left #zope3-dev | 08:27 | |
*** alecm has quit IRC | 08:43 | |
*** timte has joined #zope3-dev | 08:55 | |
*** SteveA has joined #zope3-dev | 09:12 | |
*** SteveA has quit IRC | 09:16 | |
*** SteveA has joined #zope3-dev | 09:16 | |
*** whit has joined #zope3-dev | 09:21 | |
*** agroszer has joined #zope3-dev | 09:27 | |
*** SteveA has quit IRC | 09:34 | |
*** SteveA has joined #zope3-dev | 09:39 | |
*** greenman has quit IRC | 09:40 | |
*** schwendinger has joined #zope3-dev | 09:41 | |
*** greenman has joined #zope3-dev | 09:42 | |
*** pelle_ has joined #zope3-dev | 09:47 | |
*** projekt01 has joined #zope3-dev | 09:50 | |
*** MJ has joined #zope3-dev | 10:14 | |
*** yvl has joined #zope3-dev | 10:15 | |
*** ignas has joined #zope3-dev | 10:16 | |
*** ktwilight has joined #zope3-dev | 10:20 | |
*** lmiller has quit IRC | 10:27 | |
*** dobee has joined #zope3-dev | 10:28 | |
*** naro has joined #zope3-dev | 10:32 | |
*** markusleist has quit IRC | 10:35 | |
*** ktwilight_ has quit IRC | 10:37 | |
*** cursor has quit IRC | 10:47 | |
*** romanofski has joined #zope3-dev | 11:09 | |
*** romanofski has quit IRC | 11:12 | |
*** theuni has joined #zope3-dev | 11:12 | |
*** greenman has quit IRC | 11:20 | |
*** greenman has joined #zope3-dev | 11:23 | |
*** MJ has quit IRC | 11:26 | |
*** jinty has joined #zope3-dev | 11:37 | |
*** b52laptop has quit IRC | 11:39 | |
*** jfroche has joined #zope3-dev | 11:42 | |
*** vlado has joined #zope3-dev | 11:52 | |
*** norro has joined #zope3-dev | 11:54 | |
*** richardkan has joined #zope3-dev | 12:02 | |
*** huajie has quit IRC | 12:13 | |
*** huajie has joined #zope3-dev | 12:22 | |
*** b52laptop has joined #zope3-dev | 12:23 | |
*** markusleist has joined #zope3-dev | 12:27 | |
*** jodok has joined #zope3-dev | 12:38 | |
*** greenman has quit IRC | 12:39 | |
* jinty wonders if there is a simple utility function to check if unauthenticated users have permission to see things | 12:44 | |
*** jfroche has quit IRC | 12:51 | |
*** jfroche has joined #zope3-dev | 12:52 | |
*** naro has left #zope3-dev | 12:53 | |
ccomb | jinty : zope.security.checker.canAccess ? | 12:54 |
*** naro has joined #zope3-dev | 12:57 | |
jinty | ccomb: only works if the current principal is unauthenticated | 12:58 |
jinty | I want to check during the request of any user | 12:58 |
* jinty what's to know whether to set the Cache-Control: pubic header on a file download | 13:01 | |
*** greenman has joined #zope3-dev | 13:01 | |
ccomb | I'm note sure why canAccess would make a difference between authenticated and unauthenticated | 13:03 |
*** ghendi has joined #zope3-dev | 13:03 | |
ignas | jinty: hmm, you might want to look at security policy code, and call it with unauthenticated principal as a parameter | 13:08 |
ignas | jinty: but still you will have to know the permission needed to access that data first ... | 13:08 |
*** mkerrin has joined #zope3-dev | 13:16 | |
jinty | ignas: yeah, I'm doing that, trying to proxy the object and get the permission from the checker. Just seems very round-about | 13:23 |
*** greenman_ has joined #zope3-dev | 13:25 | |
*** dennis_ has joined #zope3-dev | 13:26 | |
*** greenman has quit IRC | 13:26 | |
*** junkafarian has joined #zope3-dev | 13:41 | |
junkafarian | hi * | 13:41 |
junkafarian | is there a way of adapting a standard zope object to display as a folder w/ controlled contents when represented as a file | 13:43 |
junkafarian | ? | 13:43 |
junkafarian | or should i go down another route? | 13:44 |
ccomb | junkafarian : if your object is a Container, you can derive your view from zope.app.container.browser.contents.Contents | 13:50 |
junkafarian | thats the trouble | 13:51 |
junkafarian | its not a container | 13:51 |
junkafarian | but basically i want it to be represented as a directory so i can drop files in for the object to process in its own context | 13:52 |
ccomb | then you should at least implement IWriteContainer in your object, or create an adapter to this interface | 13:54 |
junkafarian | ok | 13:55 |
junkafarian | cool | 13:55 |
junkafarian | ill look into that | 13:55 |
junkafarian | im implementing IReadDirectory and IWriteDirectory at the moment | 13:56 |
junkafarian | are they no good? | 13:56 |
junkafarian | the ftp client displays the objects as folders, however, i cannot list the contents | 13:57 |
ccomb | ah ok, container and directories are not exactly the same | 13:58 |
junkafarian | ok, sorry if i didnt explain that :P | 13:58 |
junkafarian | so do i need to use a directory or a container? | 13:59 |
ccomb | (actually IReadDirectory is derived from IReadContainer) | 14:00 |
junkafarian | i think i just need to fake the contents of the directory | 14:00 |
junkafarian | but i dont know the correct process to do so | 14:01 |
ccomb | or adapt the items of the directory to IReadFile ? | 14:01 |
junkafarian | the object doesnt contain any items | 14:01 |
junkafarian | i want to represent a metadata file | 14:02 |
junkafarian | and i want to be able to upload a video file which the __call__ method then handles | 14:02 |
junkafarian | but i want to represent the object itself as a directory so that i can manage user access | 14:04 |
*** dunny has quit IRC | 14:04 | |
ccomb | I've recently finished a small project to simply manage videos and images in Project Folder, with ability to set permissions on them | 14:04 |
ccomb | you might find interesting to look at it | 14:05 |
ccomb | http://eztranet.gorfou.fr | 14:05 |
ccomb | it's in french but you can gete the source in the bottom of the file, and you can test it by clicking on "Projets" | 14:06 |
ccomb | (bottom of the file → bottom of the page) | 14:06 |
ccomb | (user/pass is admin/eztranet) | 14:08 |
*** huajie has quit IRC | 14:08 | |
* junkafarian takes a look | 14:09 | |
ccomb | the code also contains some unuseful junk from another project (unused catalog) | 14:09 |
ccomb | I've been forced to extract the ajax tree from the rotterdam skin | 14:13 |
ccomb | It would be nice to provide it as a separate package | 14:13 |
*** huajie has joined #zope3-dev | 14:17 | |
*** goschtl has joined #zope3-dev | 14:29 | |
*** benji has joined #zope3-dev | 14:29 | |
junkafarian | ccomb: i just put the current revision on pesto.largeblue.net | 14:30 |
*** pcardune has quit IRC | 14:33 | |
*** sorindregan has quit IRC | 14:34 | |
junkafarian | ...just setting the ftp view up so you can see what i mean | 14:35 |
junkafarian | user/pass is test/letmein | 14:36 |
*** iap is now known as jap | 14:46 | |
*** jap is now known as iap | 14:48 | |
*** iap is now known as jap | 14:49 | |
junkafarian | ccomb: eztranet looks very cool | 14:52 |
junkafarian | did you have a look at pesto? | 14:52 |
* ccomb is back and will look at pesto | 14:56 | |
huajie | I try to adapt for zc.form.field.Union the example http://zope3.mpg.de/cgi-bin/twiki/view/Zope/KomplexerContent given for zope.schema.Object but I go nowhere. | 14:57 |
huajie | can I hope it would be that easy or it won't work ? | 14:58 |
ccomb | junkafarian : very interesting project ! | 15:01 |
junkafarian | check out pesto.largeblue.net/trac | 15:02 |
*** mgedmin has joined #zope3-dev | 15:02 | |
junkafarian | its a redevelopment of www.green.tv | 15:02 |
junkafarian | obviously with a bit more functionality :P | 15:03 |
ccomb | the progress bar for file upload is the perl based one, I see | 15:03 |
junkafarian | yeah | 15:03 |
ccomb | I've been searching a solution on this for years | 15:03 |
junkafarian | we want to provide users the choice between http and ftp upload | 15:03 |
ccomb | There was a patch-based solution for php too | 15:03 |
junkafarian | its open source | 15:03 |
ccomb | but I've recently discovered a very cool thing for zope3 in zorg | 15:04 |
junkafarian | you can check out the current revision at svn://pesto.largeblue.net/pesto | 15:04 |
junkafarian | whats that? | 15:04 |
ccomb | /ccomb searching | 15:05 |
*** ghendi has left #zope3-dev | 15:05 | |
* ccomb searching | 15:05 | |
junkafarian | we're also in #green | 15:05 |
ccomb | it is in zorg.live : http://svn.zope.org/zope3org/trunk/src/zorg/live/ | 15:06 |
ccomb | demo→upload | 15:07 |
ccomb | I could make live.comment work but not live.upload | 15:07 |
*** niemeyer has joined #zope3-dev | 15:16 | |
*** Newfie2007 has joined #zope3-dev | 15:23 | |
_prefixer | hey! anyone know what could cause configure error like "junk after document element"? | 15:26 |
junkafarian | its a syntax error | 15:29 |
junkafarian | check the line it gives you | 15:29 |
_prefixer | hmm, error at line 6.1: | 15:30 |
_prefixer | <xmlrpc:view | 15:30 |
_prefixer | tabbed in | 15:30 |
_prefixer | wait, i'll pastebin it | 15:31 |
*** dobee has quit IRC | 15:31 | |
_prefixer | http://pastebin.com/m35ddff6a | 15:34 |
junkafarian | you are closing the initial configure tag | 15:35 |
_prefixer | oh snap | 15:35 |
_prefixer | haha | 15:35 |
_prefixer | thx, i need caffeine | 15:36 |
*** rcrafton has joined #zope3-dev | 15:37 | |
*** rcrafton has joined #zope3-dev | 15:39 | |
CrippsFX | _prefixer: I hear that one ;) | 15:42 |
CrippsFX | heh ... I've made that mistake before too. | 15:42 |
*** cursor has joined #zope3-dev | 15:46 | |
*** stub has quit IRC | 15:47 | |
*** ghendi has joined #zope3-dev | 15:54 | |
*** b52laptop has quit IRC | 15:56 | |
*** greenman_ has quit IRC | 15:57 | |
*** b52laptop has joined #zope3-dev | 15:58 | |
*** greenman has joined #zope3-dev | 16:01 | |
*** naro has quit IRC | 16:01 | |
*** greenman has quit IRC | 16:04 | |
*** yvl has quit IRC | 16:20 | |
*** rocky|boston has joined #zope3-dev | 16:21 | |
*** povbot has joined #zope3-dev | 16:29 | |
*** ignas has joined #zope3-dev | 16:32 | |
*** fcorrea has joined #zope3-dev | 16:32 | |
*** projekt01 has quit IRC | 16:34 | |
*** J1m has joined #zope3-dev | 16:37 | |
*** ghendi has quit IRC | 16:41 | |
*** povbot has joined #zope3-dev | 16:47 | |
*** pbugni has joined #zope3-dev | 16:56 | |
*** dennis_ has quit IRC | 17:04 | |
*** bigkevmcd has quit IRC | 17:04 | |
*** bigkevmcd has joined #zope3-dev | 17:07 | |
*** naro has joined #zope3-dev | 17:17 | |
*** pelle_ has quit IRC | 17:18 | |
*** pelle_ has joined #zope3-dev | 17:19 | |
*** romanofski has joined #zope3-dev | 17:23 | |
*** Ariel_Calzada has joined #zope3-dev | 17:23 | |
*** rcrafton_ has joined #zope3-dev | 17:29 | |
*** witsch has joined #zope3-dev | 17:38 | |
witsch | J1m: hi! it's the wrong channel, but can i ask you a quick question about blobs? | 17:40 |
*** alga has joined #zope3-dev | 17:42 | |
witsch | J1m: i've got a class inheriting from blob.Blob, Persistent and Implicit, and when i set an attribute on it (via setattr) it is first set (i can getattr again), but in the next request it's gone again, even though it's the same object... is there anything special about the Blob class i'm missing? | 17:42 |
J1m | don't inherit from blob.Blob. | 17:43 |
J1m | That's not supported. | 17:43 |
J1m | This makes me want to implement a Final meta class. :) | 17:43 |
witsch | J1m: ok. :) | 17:43 |
J1m | "prefer composition to inheritence" | 17:44 |
witsch | J1m: actually i think it was theuni who wrote that code i'm looking at... :) | 17:44 |
witsch | J1m: alright, thanks | 17:44 |
witsch | J1m: is that because of the setstate stuff? just out of curiosity... | 17:45 |
J1m | There are all sorts of reasons. | 17:45 |
J1m | Blobs were designed to be used via composition. | 17:45 |
* J1m really wishes he has final classes. | 17:45 | |
witsch | J1m: ok, fair enough... | 17:46 |
witsch | hehe | 17:46 |
*** schwendinger has quit IRC | 17:46 | |
*** rcrafton has quit IRC | 17:46 | |
theuni | witsch: uuuh. what where why? :) | 17:48 |
witsch | theuni: hi :) | 17:48 |
witsch | theuni: i'm working on integrating blobs into plone again... ATBlobField, you know | 17:48 |
theuni | ah | 17:48 |
witsch | theuni: i was "just" trying to store the file name and mime type on the ATBlob object | 17:49 |
J1m | In general inheritance should not be used except: | 17:49 |
witsch | and wondering... :) | 17:49 |
J1m | - Between classes maintained by the same person, or | 17:49 |
J1m | - When the prospective base class makes explicit promises that inheritence is supported and describes how. | 17:49 |
*** goschtl has left #zope3-dev | 17:50 | |
J1m | Otherwise, inheritence should eb assumed to be unsafe. | 17:50 |
*** dobee has joined #zope3-dev | 17:50 | |
witsch | J1m: ok :) but like i said, i was trying to enhance that code and was probably trusting the already existing inheritance too much... :) | 17:51 |
J1m | what existing inheritence? | 17:51 |
mgedmin | final classes shouldn't be hard... in __init__ check if self.__class__ is not MyClass, then show a warning or raise an error | 17:51 |
mgedmin | however it doesn't feel pythonic -- consenting adults et al | 17:51 |
J1m | mgedmin, gould point. I was thinking of something more violent and harder to get around. :) | 17:52 |
witsch | J1m: theuni's written a thing named ATBlobField, in which an ATBlob class inherits from Blob | 17:52 |
witsch | J1m: but that's changable, no problem | 17:52 |
witsch | J1m: i was just gonna use is as a starting point for blobs in plone (to give you the background) | 17:52 |
J1m | ah | 17:53 |
J1m | OK, fix that. | 17:53 |
witsch | J1m: will do | 17:53 |
witsch | thanks again | 17:53 |
* J1m goes to launchpad to submit a bug report that Blobs are subclassable. | 17:53 | |
*** chacha_chaudhry has quit IRC | 17:54 | |
*** schwendinger has joined #zope3-dev | 17:55 | |
*** theuni has left #zope3-dev | 17:56 | |
*** pelle_ has quit IRC | 18:01 | |
*** hazmat has joined #zope3-dev | 18:03 | |
*** ChanServ sets mode: +o hazmat | 18:03 | |
*** agroszer has quit IRC | 18:05 | |
*** pcardune has joined #zope3-dev | 18:08 | |
*** huajie has quit IRC | 18:09 | |
*** baijum has quit IRC | 18:09 | |
*** dobee has quit IRC | 18:12 | |
*** dobee has joined #zope3-dev | 18:13 | |
*** pandres has joined #zope3-dev | 18:16 | |
*** pandres has left #zope3-dev | 18:17 | |
*** b52laptop has quit IRC | 18:17 | |
*** b52laptop has joined #zope3-dev | 18:19 | |
*** jsadjohnson has joined #zope3-dev | 18:28 | |
*** ksmith99_ has left #zope3-dev | 18:41 | |
*** nathany_ has joined #zope3-dev | 18:41 | |
*** witsch has left #zope3-dev | 18:46 | |
*** vlado has quit IRC | 18:47 | |
*** nathany_ has quit IRC | 18:53 | |
*** nathany has joined #zope3-dev | 18:54 | |
*** alecm has joined #zope3-dev | 18:56 | |
*** schwendinger has quit IRC | 18:59 | |
*** Newfie2007 has quit IRC | 19:03 | |
*** redir has joined #zope3-dev | 19:04 | |
_prefixer | CrippsFX: :) | 19:07 |
*** Jell-O-Fishi has quit IRC | 19:17 | |
*** jodok has quit IRC | 19:20 | |
*** markusleist has quit IRC | 19:22 | |
junkafarian | Sorry, im still struggling with my ftp view | 19:26 |
junkafarian | does anyone know how to represent an object as a directory in an ftp view | 19:27 |
junkafarian | even though the object isnt a container | 19:27 |
*** theuni has joined #zope3-dev | 19:29 | |
*** Newfie2007 has joined #zope3-dev | 19:32 | |
*** naro has left #zope3-dev | 19:37 | |
*** b52laptop has quit IRC | 19:42 | |
*** schwendinger has joined #zope3-dev | 19:47 | |
*** RaFromBRC has joined #zope3-dev | 20:10 | |
*** salfield has joined #zope3-dev | 20:17 | |
*** ignas has quit IRC | 20:20 | |
*** b52laptop has joined #zope3-dev | 20:35 | |
*** theuni has quit IRC | 20:51 | |
*** lucielejard has joined #zope3-dev | 20:55 | |
*** mkerrin has quit IRC | 21:08 | |
_prefixer | http://pastebin.com/d6478c226 | 21:18 |
_prefixer | any ideas? basically i make my object provide IAttributeAnnotatable but i still can't use IAnnotations to adapt my object | 21:19 |
mgedmin | that is because you haven't registered the adapters that provide IAnnotations for IAttributeAnnotatable objects | 21:20 |
mgedmin | in the unit test fixture you can do it with | 21:20 |
mgedmin | from zope.app.testing import setup | 21:20 |
mgedmin | setup.placelessSetUp() | 21:20 |
mgedmin | setup.setUpAnnotations() | 21:20 |
_prefixer | oh wait, I used just python instead of bin/debugzope.. | 21:21 |
_prefixer | maybe my simple experiment will work that way instead? | 21:21 |
_prefixer | ie.. zopedebug does some stuff for you.. | 21:23 |
mgedmin | it loads site.zcml | 21:23 |
mgedmin | which configures everything | 21:23 |
_prefixer | yea, my example worked with debugzope | 21:24 |
*** jodok has joined #zope3-dev | 21:27 | |
*** richardkan has quit IRC | 21:29 | |
*** Newfie2007 has quit IRC | 21:41 | |
*** edgordon has joined #zope3-dev | 21:42 | |
*** salfield has quit IRC | 21:45 | |
*** edgordon has quit IRC | 21:47 | |
*** bigkevmcd has quit IRC | 21:48 | |
*** mgedmin has quit IRC | 21:56 | |
*** Ariel_Calzada has quit IRC | 21:58 | |
*** junkafarian has quit IRC | 22:00 | |
*** Jell-O-Fishi has joined #zope3-dev | 22:06 | |
*** niemeyer has quit IRC | 22:17 | |
*** d2m has quit IRC | 22:19 | |
*** alga has quit IRC | 22:22 | |
*** cursor has quit IRC | 22:33 | |
*** RaFromBRC is now known as RaFromBRC|lunch | 22:39 | |
*** pcardune is now known as pcardune_lunch | 22:45 | |
*** philiKON_ has joined #zope3-dev | 22:47 | |
*** greenman has joined #zope3-dev | 22:51 | |
*** dunny has joined #zope3-dev | 22:52 | |
*** greenman has quit IRC | 22:55 | |
*** junkafarian has joined #zope3-dev | 22:57 | |
*** philiKON has quit IRC | 23:04 | |
*** lucielejard_ has joined #zope3-dev | 23:04 | |
*** derek|office has quit IRC | 23:04 | |
*** hazmat has quit IRC | 23:09 | |
*** junkafarian has quit IRC | 23:10 | |
*** jinty has quit IRC | 23:12 | |
*** pcardune_lunch is now known as pcardune | 23:13 | |
*** lucielejard has quit IRC | 23:14 | |
*** lucielejard has joined #zope3-dev | 23:14 | |
*** RaFromBRC|lunch is now known as RaFromBRC | 23:22 | |
*** lucielejard_ has quit IRC | 23:29 | |
*** ksmith99 has joined #zope3-dev | 23:43 | |
ksmith99 | in formlib, does anyone know how to provide a default value for a subobject? | 23:44 |
srichter | ksmith99: must be done in the interface | 23:44 |
srichter | otherwise you cannot do it easily | 23:44 |
ksmith99 | srichter: thanks | 23:45 |
srichter | ksmith99: have a look at z3c.form, z3c.formdemo.message shows you how to create custom, dynamic default values | 23:45 |
*** schwendinger has quit IRC | 23:45 | |
ksmith99 | srichter: appreciate it, l'll take a look | 23:46 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!