IRC log of #zope3-dev for Sunday, 2005-06-12

philiKONroym, http://codespeak.net/z3/sqlos00:07
roymphiliKON, looks great.. thanks00:26
*** projekt01 has joined #zope3-dev00:27
*** dagnachew has joined #zope3-dev00:34
*** RaFromBRC is now known as RaFromBRC|afk00:49
*** dagnachew has quit IRC00:51
*** projekt01 has quit IRC00:59
*** dagnachew has joined #zope3-dev01:01
*** roym has quit IRC01:03
*** dagnachew has quit IRC01:10
*** mp has quit IRC01:34
*** yota has quit IRC02:19
*** timte has quit IRC02:51
*** d2m has quit IRC03:32
*** hazmat has quit IRC05:31
*** tvon has joined #zope3-dev05:43
*** RaFromBRC|afk has quit IRC06:42
*** hazmat has joined #zope3-dev09:04
*** timte has joined #zope3-dev10:15
*** hazmat has quit IRC10:30
*** timte has quit IRC10:44
*** d2m has joined #zope3-dev10:47
*** mexiKON has joined #zope3-dev11:22
*** philiKON has quit IRC11:31
*** yota has joined #zope3-dev12:00
*** SteveA has quit IRC12:00
*** SteveA has joined #zope3-dev12:22
*** jhauser has joined #zope3-dev12:23
*** Theuni has quit IRC12:27
*** projekt01 has joined #zope3-dev13:05
*** Theuni has joined #zope3-dev13:43
bob2hmm13:44
bob2possibly stupid, but where is the default permissions for object attributes set?13:44
bob2for instance, I've subclassed File, and .data and such get set fine when cerated13:44
bob2er, "created"13:44
bob2but I get a traceback when contentType is tried13:45
mexiKONbob2, you need a <content class="...">...</content> directive for every class you write13:47
mexiKONthat isn't a utility or adapter13:47
mexiKONif you subclass an existing class and want security delcarations to be like the orgiinal class, you can do <content ...><like_class class="..." /></content>13:48
*** projekt01 has quit IRC13:49
bob2hmm13:51
bob2ah-hah13:53
bob2thanks!13:53
bob2working, awesome14:05
bob2zope is amazingly intricate, but well thought out14:05
mexiKONbob2, well, we're always looking for good suggestions to lower the bar14:18
bob2hmm14:18
mexiKONzope3 is meant for complex apps, it's not a scripter platform; however, we aim for a gradual learning experience14:19
bob2oh, of course14:19
bob2I think my only real complaint is that there's lots of bits you need to understand before you get going14:19
bob2and I haven't found a 2 page document that gives a brief explanation of each and how they fit together14:20
mexiKONwell, there's the programmer tutorial (which might already be too lenthy for your taste): http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/ProgrammerTutorial/programmers_tutorial.pdf14:23
mexiKONi also composed this a while ago (not completely up to date): http://philikon.de/files/zope3-for-zope2-developers.pdf14:23
bob2hmm14:23
bob2lengthiness isn't what I'm complaining about, really.  I've read srichter's book (it's quite excellent), but it'd be good to start it off by explaning how it all fits together.14:24
mexiKONbob2, you mgiht want to take a look at http://worldcookery.com14:26
bob2ah, I forgot about that14:26
mexiKONi've heard from a few people that they liked it better as an introductory text14:28
bob2the series on http://toulouse.amber.org is quite good, too14:29
bob2from a "teaching you the gist"-perspective14:29
mexiKONah, yeah, founds this a while ago, too14:29
bob2I hear zope3 3.1 will simplify the component system...do you happen to know if it'll be backwards compatible with 3.0 still?14:31
mexiKONyep14:31
mexiKONit will14:31
mexiKONbackward compatability is always guaranteed from one version to another14:31
mexiKONbackward compatability is always guaranteed from one version to the previous one14:31
bob2minor versions ;p14:31
mexiKONyup14:31
bob2has someone written up a sumary of the changese somewhere?14:32
mexiKONnope; i plan to do this soon14:32
mexiKONyou can read CHANGES.txt , of course14:32
bob2right14:32
bob2oh, hah, you're the author of worldcookery14:35
mexiKONyup14:39
mexiKONsrichter, ayt?15:15
*** nederhoed has joined #zope3-dev15:51
bob2hm16:11
bob2how do I set the default skin?16:11
nederhoedbob2, in /etc/overrides.zcml16:16
bob2hmm16:16
nederhoedfound it?16:16
bob2ahhh16:16
bob2yes, thanks16:16
bob2that answers a question of mine from yesterday, too16:17
bob2thanks!16:17
nederhoedAdd: <browser:defaultSkin name="" />16:17
bob2yup, it's there and commented out16:17
nederhoedwith the name off your desired skin16:17
bob2and now uncommented and set :)16:17
nederhoedindeed16:17
*** SteveA_ has joined #zope3-dev16:17
nederhoedgood luck!16:17
bob2thanks :)16:17
*** SteveA has quit IRC16:35
bob2hm16:35
bob2I guess I can use overrides.zcml to set the "root object" of the instance, too.16:35
nederhoeddunno sorry17:00
SteveA_bob2: there's some fancy interface thing to set the default skin17:02
SteveA_so, you need to override that17:02
* SteveA_ gets vague cos he's working on something else17:02
mexiKONSteveA_, actually, nederhoed was right. <browser:defaultSkin /> is the right directive17:08
SteveA_oh, i missed that17:10
SteveA_as i was disconnected from irc17:10
mexiKONah, ok. now is ee17:41
*** timte has joined #zope3-dev18:22
*** povbot` has joined #zope3-dev18:27
*** timte has quit IRC18:27
*** nederhoed has quit IRC18:27
*** Theuni has quit IRC18:27
*** yota has quit IRC18:27
*** d2m has quit IRC18:27
*** povbot has quit IRC18:27
*** d2m_ has quit IRC18:27
*** vinsci has quit IRC18:27
*** nederhoed has joined #zope3-dev18:27
*** timte has joined #zope3-dev18:27
*** Theuni has joined #zope3-dev18:27
*** vinsci has joined #zope3-dev18:27
*** d2m_ has joined #zope3-dev18:28
*** yota has joined #zope3-dev18:28
*** d2m__ is now known as d2m18:28
*** SteveA__ has joined #zope3-dev18:58
*** andrew_m has joined #zope3-dev19:10
*** tvon has quit IRC19:17
*** SteveA_ has quit IRC19:27
*** SureshZ has joined #zope3-dev19:48
*** hazmat has joined #zope3-dev20:19
*** roym has joined #zope3-dev21:08
*** drzoltron has joined #zope3-dev21:11
drzoltronany sqlos sharks around ?21:14
roymfunny - I am having problems w/getting sqlos to work - I just updated ZopeX3 from svn.21:17
roymI get:     ZopeXMLConfigurationError: File "/var/lib/zope3/instances/instance1/etc/package-includes/sqlos-meta.zcml", line 1.0-1.4321:17
roym    ConfigurationError: ('Invalid value for', 'package', "Couldn't import sqlos, cannot import name IRollback")21:17
drzoltronroym: works fine here21:23
drzoltronI just wanted to know id there was one to give me some hints how to realize references21:24
roymdrzoltron, what version of python are you using w/sqlos21:26
drzoltron2.3.521:26
drzoltronI think I write to the list :)21:27
*** zagy has joined #zope3-dev21:38
*** SteveA__ is now known as SteveA21:40
drzoltrondrzoltron: read the sqlobject doc at http://sqlobject.org/docs/SQLObject.html21:53
drzoltrondrzoltron: thanxalot ! looks good, especially the RelatedJoin section :)21:57
*** hazmat has quit IRC22:15
*** dagnachew has joined #zope3-dev22:20
*** hazmat has joined #zope3-dev22:36
mexiKONroym, i added support for sequence and vocabulary widgets (e.g. RadioWidget and DropdownWidget) to the <widget /> subdirective. philikon-widget-subdirective branch if you wanna try it out.22:54
*** __gotcha_ has quit IRC22:54
roymmexiKON, thanks - how do I check out the branch? I only know "svn co" from main...23:01
mexiKONsvn co svn://whatever-the-public-svn-method-is/Zope3/branches/philikon-widget-subdirective Zope323:09
roymmexiKON, gracias.23:10
roymmexiKON, can I continue to use my old Zope instance when I run the branch code?23:14
mexiKONyup23:14
roym mexiKON, I must be missing something...23:28
roym23:28
roym Here is the error that I get with the new branch23:28
roym |   ...23:28
roym |   File "/usr/local/Zope3/src/zope/app/form/__init__.py", line 119, in __call__23:28
roym |     raise TypeError, "Provided field does not provide ICollection."23:28
roym | TypeError: Provided field does not provide ICollection.23:28
roym |23:28
roym Here is how I use the addform directive...23:28
roym |23:28
roym | <addform23:28
roym |     name="AddQDatum.html"23:28
roym |     label="Add QDatum information"23:28
roym |     schema="anoobe.quiztaker.interfaces.IQDatum"23:28
roym |     content_factory="anoobe.quiztaker.qtmodule.QDatum"23:28
roym |     permission="zope.ManageContent"23:28
roym |     >23:28
roym |     <widget23:28
roym |       field="hxDxTx"23:28
roym |       class="zope.app.form.browser.RadioWidget" />23:28
roym |23:28
roym | </addform>23:28
roym |23:28
roym Here is the schema entry:23:28
roym |     hxDxTx = List(23:28
roym |         title=u"HxDxTx",23:28
roym |         description=u"whether in Hx, Dx or Tx",23:28
roym |         required=False,23:28
roym |         unique=True,23:28
roym |         value_type=Choice(title=u"HxDxTx", vocabulary="hx/dx/tx")23:28
roym |         )23:28
roym23:28
mexiKONphone23:29
mexiKONroym, you can't use the RadioWidget for a List field23:33
mexiKONroym, RadioWidgets are for Choice fields23:33
*** yota has quit IRC23:37
*** dagnachew has quit IRC23:44
roymmexiKON, sorry to be so dense - I changed the List to a Choice and used the widget as follows23:54
roym |     <widget23:54
roym |       field="hxDxTx"23:54
roym |       vocabulary="hx/dx/tx"23:54
roym |       class="zope.app.form.browser.RadioWidget" />23:54
roym | ...23:54
roym | </addform>23:54
roym - and I get23:54
roym | ZopeXMLConfigurationError: File "/var/lib/zope3/instances/instance1/lib/python/anoobe/quiztaker/configure.zcml", line 8.223:54
roym | AssertionError: You must specify either values or vocabulary.23:54
mexiKONChoice and List are fields with different meanings23:58
mexiKONyou can't just exchange one for the other without consequences23:58
mexiKONList means that the resulting value will be a list with 0, 1 or more objects of the kind specified by the value_type field23:59
mexiKONChoice means that you choose *one* out of a given set of values which is represented by a vocabulary in zope23:59

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!