IRC log of #zope3-dev for Thursday, 2006-03-09

*** vinsci has quit IRC00:02
*** vinsci_ has joined #zope3-dev00:02
*** vinsci- is now known as vinsci00:03
*** tiredbones has joined #zope3-dev00:09
*** sashav has quit IRC00:12
tiredbonesI hope people don't subscribe to zopemag.com. they took ny money an ran. Lesson learn.00:15
srichtertiredbones: what?00:16
tiredbonessrichter, several months ago I subscibe to the mag, know that the site was under construction, but still nother and no reply to all my emails.00:18
tiredboness/nothing/nother/00:18
tiredbonessrichter, at least I got some info before I was shot.00:20
smtiredbones: I heard that before, but several years ago00:22
smthought it was long gone00:22
tiredbonessm, a sucker born everday I suppose. I now wear thr scarlet letter.00:24
smit's inefficiency, not a deliberate scam I think00:26
tiredbonesI hope your right, I would hate to think that this attitude has come to the linux community.00:30
tiredbonesI must say tho, that this is the first time it has happen to me.00:31
*** natea has quit IRC00:32
*** sawdog has quit IRC00:33
srichtertiredbones: the guy running zopemag is around for a long time00:44
tiredbonessrichter, do you know what happen to the nag?00:52
slinkPtiredbones: shot?00:55
tiredbonessrichter, that might me so, but the trust I gave these folks has been short lived.00:55
tiredbonesslinkP, I hope there not dead, I would like to see this make a go of it. It sure is need fo noobs like me.00:57
*** jinty has quit IRC00:59
tiredbonesSpeaking of noobs, is there an irc channel to ask basic question about Zope3?00:59
*** jinty has joined #zope3-dev01:00
*** natea has joined #zope3-dev01:01
smtiredbones: this is it01:02
*** yota has quit IRC01:02
tiredbonesbasic Q., For every instance made, "mkzopeinstance" do you have to update principals.zcml?01:15
*** danfairs has joined #zope3-dev01:20
smif the file is in the instance dir, then yes.. I think it is01:22
*** efrerich has quit IRC01:22
*** jinty has quit IRC01:31
tiredbonesSlug implies that you have an instance, "mkzopeinstance", but I know I started Zope without an instance. Now I have a package and added a slug, I still don't see my package in the ZMI.01:34
tiredbonesWhat should I reread?01:34
*** sbj3 has quit IRC01:43
tiredbonesIf I have a package at "/usr/local/Zope-3.2/zope3/src/package-name/ and I have an instance here /usr/local/Zope-3.2/zope3/myinstance, when I start Zope shouldn't I see something in ZMI pertaining to my package?01:43
tiredbonesAll my test on the package pass.01:45
tiredbonessys.path shows that my paths are there.01:46
*** fabiorizzo has joined #zope3-dev01:48
*** fabiorizzo has left #zope3-dev01:51
*** danfairs has quit IRC01:55
*** philiKON has joined #zope3-dev02:13
*** jinty has joined #zope3-dev02:20
*** Theuni has quit IRC02:25
*** d2m has quit IRC02:25
*** j1m has quit IRC02:28
*** fabiorizz1 has joined #zope3-dev02:30
*** slinkP has left #zope3-dev02:31
*** philiKON has quit IRC02:37
*** philiKON has joined #zope3-dev02:46
*** jinty has quit IRC02:51
*** natea has quit IRC03:03
*** fabiorizz1 has left #zope3-dev03:03
*** philiKON has quit IRC03:06
*** tanghus has quit IRC03:32
*** tav_ has joined #zope3-dev03:34
*** tav has quit IRC03:35
*** stub has joined #zope3-dev03:37
tiredboneshow do I know if zope is reading my include-packages path?03:42
stubBreak one of the .zcml files so it is invalid xml and see if Zope blows up.03:54
*** rockyburt is now known as rockyburt|zzz03:55
*** ignas has quit IRC04:06
*** zbir has quit IRC04:21
*** benji has quit IRC04:26
*** sm has quit IRC04:29
*** sm has joined #zope3-dev04:29
*** sm is now known as sm-afk04:29
*** tav_ has quit IRC04:59
*** tav has joined #zope3-dev05:04
*** stu1 has joined #zope3-dev05:10
*** stub has quit IRC05:10
*** stu1 is now known as stub05:11
*** tanghus has joined #zope3-dev05:11
*** tav has quit IRC05:23
*** tanghus has quit IRC05:32
*** natea has joined #zope3-dev06:40
*** stub has quit IRC07:02
*** zopePloneConsult has joined #zope3-dev07:12
WebMavennatea: I hate to bug you on this, but are there going to be more videos from the Snow Sprint?07:38
*** dobee has joined #zope3-dev07:54
*** dobee has quit IRC08:04
*** xenru|clone has joined #zope3-dev08:11
*** zopePloneConsult has quit IRC08:13
*** natea has quit IRC08:13
*** sm-afk has quit IRC08:13
*** xenru has quit IRC08:13
*** russf_ has quit IRC08:13
*** newpers has quit IRC08:13
*** srichter has quit IRC08:13
*** mp has quit IRC08:13
*** srichter has joined #zope3-dev08:15
*** zopePloneConsult has joined #zope3-dev08:15
*** natea has joined #zope3-dev08:15
*** sm-afk has joined #zope3-dev08:15
*** xenru has joined #zope3-dev08:15
*** russf_ has joined #zope3-dev08:15
*** newpers has joined #zope3-dev08:15
*** mp has joined #zope3-dev08:15
*** irc.freenode.net sets mode: +o srichter08:15
*** eins has joined #zope3-dev08:15
einshi08:15
*** eins has left #zope3-dev08:15
*** eins has joined #zope3-dev08:15
*** dobee has joined #zope3-dev08:29
*** xenru has quit IRC08:31
*** stub has joined #zope3-dev08:57
*** d2m has joined #zope3-dev09:04
*** hdima has joined #zope3-dev09:13
*** sm-afk has quit IRC09:24
*** yota has joined #zope3-dev09:35
*** romanofski has joined #zope3-dev09:45
romanofskimoin :)09:51
*** Theuni has joined #zope3-dev10:05
*** xenru|clone has quit IRC10:05
*** tanghus has joined #zope3-dev10:10
*** j-w has joined #zope3-dev10:16
*** vinsci_ has quit IRC10:22
*** sashav has joined #zope3-dev10:23
*** MJ has quit IRC10:24
*** vinsci has quit IRC10:26
*** vinsci has joined #zope3-dev10:27
*** vinsci- has joined #zope3-dev10:27
*** J1m has joined #zope3-dev10:28
*** danfairs has joined #zope3-dev10:58
*** jinty has joined #zope3-dev11:03
*** xenru has joined #zope3-dev11:04
*** MJ has joined #zope3-dev11:20
*** BjornT has quit IRC11:25
*** tav has joined #zope3-dev11:25
*** andres has joined #zope3-dev11:25
*** J1m has left #zope3-dev11:28
*** BjornT has joined #zope3-dev11:32
*** Theuni has quit IRC11:35
*** Theuni has joined #zope3-dev11:39
*** romanofski has quit IRC11:45
*** stub has quit IRC11:45
*** dunny has quit IRC11:51
*** vinsci- has quit IRC12:11
*** philiKON has joined #zope3-dev12:12
*** mkerrin has joined #zope3-dev12:22
*** rockyburt|zzz has quit IRC12:42
*** yota has quit IRC12:45
*** rockyburt has joined #zope3-dev12:49
*** mgedmin has joined #zope3-dev12:50
*** yota has joined #zope3-dev12:51
*** alga has joined #zope3-dev12:52
*** stub has joined #zope3-dev13:08
__mac__hi, anyone here using database generations?13:08
*** tanghus has quit IRC13:09
*** tav has quit IRC13:10
*** xenru has quit IRC13:11
mgedmin__mac__: yes13:11
*** xenru has joined #zope3-dev13:13
__mac__In ZMI on Database-Schemas tab in details view I see only the generations between minimum_generation and generation or even nothing if they are equal ... this does not make sense to me13:14
*** tav has joined #zope3-dev13:15
*** faassen has joined #zope3-dev13:31
*** yota has quit IRC13:32
*** oferw has joined #zope3-dev13:32
*** yota has joined #zope3-dev13:55
*** deo has joined #zope3-dev14:05
*** romanofski has joined #zope3-dev14:06
*** oferw has quit IRC14:09
*** tanghus has joined #zope3-dev14:22
*** mkerrin has quit IRC14:23
*** zbir has joined #zope3-dev14:24
*** srichter has quit IRC14:24
*** yota has quit IRC14:29
*** yota has joined #zope3-dev14:30
*** tanghus has quit IRC15:11
*** Theuni has quit IRC15:14
*** faassen has quit IRC15:14
*** Theuni has joined #zope3-dev15:15
*** j-w has quit IRC15:15
*** j-w has joined #zope3-dev15:21
*** zbir has quit IRC15:26
*** benji has joined #zope3-dev15:27
*** faassen has joined #zope3-dev15:33
*** eins has quit IRC15:35
*** zopePloneConsult has quit IRC15:37
*** ignas has joined #zope3-dev15:39
*** russf_ has quit IRC15:44
*** mkerrin has joined #zope3-dev15:45
*** harobed has joined #zope3-dev15:50
harobedhi all, how can I add some page in zope.org web site ? I would like translate Zope 3 Book to french. How can I do it ?15:51
benjiharobed, if you create an account you can add it to your space, then when your translation is finished it might be moved into a more prominant place16:06
harobedok, thanks16:06
tiredbonesWhen zope starts-up what file does it read to determine that it has an instances?16:07
benjinone, you start an instance itself16:08
tiredbonesso, when I do ./bin/runzope I'm telling zope to start my instance, "mkzopeinstance"?16:09
*** natea has quit IRC16:10
benjiyes to everything before the comma, what? to everything after :)16:11
*** xenru has quit IRC16:15
*** elro has joined #zope3-dev16:17
*** tanghus has joined #zope3-dev16:18
tiredbonesI'm confuse on the term "instance" here, I started zope like this "./bin/runzope", but I did not make an instance using "mkzopeinstance" and zope started. So then I stop zope and made an instance using "mkzopeinstance" and move my packeage to /usr/local/Zope-3.2/zope/myinstance/lib/python. Started Zope back up, sign on as a manager, click on top, expecting to see something of my package. nothing! Check PYTHONPATH that seems to be ok.Recheck16:18
tiredbonesmy slug. What do I check next?16:18
benjiwhen you started zope the second time you should have used the bin/runzope from inside the instance16:19
*** xenru has joined #zope3-dev16:20
tiredboneshmm, let check.16:20
elrohow do I switch on the pdb on exception behaviour when running zopectl in the foreground? i seemed really cool useful when jim demoed it at the plone conf16:20
benjiwhen using runzope it's -D, off the top of my head I don't know what it is for zopectl16:21
elrorunzope is fine for me16:21
tiredboneswhere should I be sitting in the tree when I run this command?16:22
benjiit shouldn't matter tiredbones, just make sure you're running the runzope or zopectl from /inside/ your new instance16:22
tiredbonesI got an error! GREAT! thanks benji16:24
benjinp, glad to help you generate errors :)16:24
*** mgedmin_ has joined #zope3-dev16:25
tiredboneserrors are good, they help you to take the first step. As the old saying goes, "the journey of a thousand mile..."16:29
*** natea has joined #zope3-dev16:31
*** mgedmin has quit IRC16:33
tiredbonesbeni, your last comment implies that there a difference running zope from outside the instance one creates with mkzopeinstznce. Can you point me to some reading material that would explain this concept/16:36
tiredbonesbenji, your last comment implies that there a difference running zope from outside the instance one creates with mkzopeinstznce. Can you point me to some reading material that would explain this concept/16:36
*** deo has quit IRC16:40
*** srichter has joined #zope3-dev16:42
*** ChanServ sets mode: +o srichter16:50
benjisorry, afk tiredbones, I don't have anything at hand, the gist is that you can make an instance that's runnable or you can just run a zope without an instance, but that's more of convienence16:53
harobedwhere can I found Zope 3 Book in svn ? I don't see it :(16:54
*** rockyburt has quit IRC16:55
*** rockyburt has joined #zope3-dev16:55
harobedyes16:58
*** MrTopf has joined #zope3-dev17:02
benjiharobed, "yes", as in you found it?17:03
benji(hopefully, because I don't know where it is :) )17:03
harobedit's channel error17:03
*** mgedmin_ has quit IRC17:07
*** sm has joined #zope3-dev17:10
*** mgedmin has joined #zope3-dev17:16
elrohmm. Error: option -D not recognized. could it be because I am using twisted rather than zserver?17:19
*** jhauser has joined #zope3-dev17:20
*** philiKON has quit IRC17:21
*** philiKON has joined #zope3-dev17:22
*** sashav has quit IRC17:29
benjielro, oops, I was thinking of the test runner17:31
tiredbonesbenji, thanks for your help, everthing works now. I did not know there was a diffrenece in being inside the instance created with mkzopeinstance and the instance of zope3.17:32
*** natea has quit IRC17:32
*** jhauser_ has quit IRC17:33
benjielro, here's the actual command line: bin/runzope -X server/type=PostmortemDebuggingHTTP17:33
benjiwhen an exception is raised it'll drop you into a pdb17:33
elrocheers benji17:33
benjinp17:34
smooh nice.. is that z3 only ?17:34
elromy code keeps throwing exceptions while I try and work it all out :-)17:34
mgedmintiredbones: in my understanding "instance" is what mkzopeinstance creates; you can use zope 3 from a subversion without checkout without creating an instance17:34
mgedminI wouldn't call the subversion checkout "an instance of zope3"17:35
* sm calls that build home17:35
smas opposed to SOFTWARE_HOME & INSTANCE_HOME.. though I should probably not bring my z2 jargon in here..17:36
elrowhen you build zope you have the option of doing a 'make instance' instead of a 'make install' that puts the software and files all in one place17:36
elro(i.e. SOFTWARE_HOME == INSTANCE_HOME)17:36
tiredbonesmgedmin, well that was my problem, I wasn't sure how the term was being used. In allt he the read I'm doing I took instance to mean Zope3.17:36
smisn't that quite confusing ? make instance is too similar to mkzopeinstance17:36
smhow about make install-in-place17:37
mgedminzope 3 has 'make instance'?  I didn't know that17:38
tiredbonesNow that I think about it, I'm still not sure how to take the term instance.17:39
sman instance is what mkzopeinstance makes17:41
sm(or, muddying the waters, what mkzeoinstance makes in z2)17:41
*** philiKON has quit IRC17:44
*** sawdog has joined #zope3-dev17:45
tiredbonesIn Stephan's book an instance is what is created with mkzopeinstance. However, he also said that Zope will not run until you make an instance.I have started zope without an instance.17:48
guruzthe universe will collapse17:51
rockyburttiredbones: it should probably read, "you shouldn't run zope without an instance"17:52
smaiee17:52
*** hdima has quit IRC17:53
* mgedmin wants a widget for containers; something like a ListSequenceWidget for List(value_type=Object(schema=IFoo))17:53
tiredbonesrockyburt, A noob Q.. Why not? Is it because there is no value in running zope by itself?17:54
*** zagy has quit IRC17:54
rockyburttiredbones: organizational thing for starters -- having instances is a way so that you could install different versions of python code in different environments without having to install zope itself in multiple places (this is just one example)17:55
tiredbonesrockyburt, Another noob Q..Ok, how do I tell zope what instance to use?17:58
mgedmintiredbones: you don't; you use the instance (which knows what zope to use)17:59
rockyburttiredbones: i'm currently developing applications for several different clients, i use a different instance for each client to keep their code separate from each other17:59
rockyburtoh sorry17:59
* rockyburt misunderstood tiredbones's question17:59
tiredbonesmgedmin, So the instance I use depends where I start zope form?18:01
mgedminyes; each instance has its own runzope script (and its own zopectl script)18:01
mgedminyou can start up multiple instances in paralel (if they listen on different TCP ports and do not conflict)18:02
tiredbonesTHANK YOU VERY MUCH!18:02
*** natea has joined #zope3-dev18:07
*** j-w has quit IRC18:13
*** romanofski has quit IRC18:14
* elro wanders if zope should not provide a favicon view as a default18:17
*** natea_ has joined #zope3-dev18:21
*** tav has quit IRC18:25
*** regebro has joined #zope3-dev18:25
*** natea has quit IRC18:26
*** tav has joined #zope3-dev18:33
*** mkerrin has quit IRC18:45
*** dobee has quit IRC18:47
*** zagy has joined #zope3-dev18:54
*** harobed_ has joined #zope3-dev18:58
*** harobed has quit IRC18:58
*** harobed_ has quit IRC19:01
*** jinty has quit IRC19:02
WebMavennatea_: I hate to bug you on this, but are there going to be more videos from the Snow Sprint?19:03
*** jpfarias has joined #zope3-dev19:04
jpfariashey19:04
jpfariashow do I know if zope is loading my modules?19:04
mgedminjpfarias: you could insert a debugging print >> sys.stderr19:05
*** natea has joined #zope3-dev19:05
jpfariasand how do I know if it is loading my .zcml's?19:06
jpfariasI've put a mypackage-configure.zcml on etc/package-includes19:07
jpfariaswith <inlude package="mypackage"/>19:07
*** elro has quit IRC19:07
jpfariasand created mypackage under its lib/python dir19:08
jpfariasput a __init__.py there19:08
jpfariasand a configure.zcml there also19:08
jpfariasbut seems it is not loading them19:08
mgedminintroduce a syntax error, then see if zope 3 complains on startup19:08
jpfariasit does not complains19:09
jpfarias:(19:09
jpfariasfuck19:09
jpfariaswhat can it be?19:09
regebroWell, you didn't turn off developer mode, right?19:10
jpfariasI didn't touched zope config19:10
jpfariasit is the same as mkzopeinstance created19:10
regebroDid you misspell mypackafe-configure.zcml?19:10
jpfariasnope19:11
regebroI did that, and then it doens't find it, it has to end in -configure.zcml... calling it -cofnigure.zcml did not work. :)19:11
jpfariasit has this name: sigaa-configure.zcml19:11
regebroThen I don't know.19:11
jpfariascause mypackage is sigaa19:12
mgedmindoesn't ++apidoc++ list all zcml files that were loaded?19:12
jpfariaswherew19:12
jpfarias?19:12
*** mkerrin has joined #zope3-dev19:12
regebroTry doing the <include package="sigaa" /> in site.zcml and see if that helps (it shouldn't).19:13
jpfariasit didn't find it also :(19:14
jpfariasshouldn't it complain if it can't find a package?19:14
*** natea_ has quit IRC19:17
tiredbonesjpfarias, I'm a noob. So take this with a grain a salt. Muske sure you are inside your instance when starting zope.19:17
jpfariasis there a way to make zope list all zcml's it as loaded?19:17
jpfariasor start it in a more verbose mode19:18
mgedminonly by editing the zope source code, I think19:19
*** stub has quit IRC19:20
*** jinty has joined #zope3-dev19:21
jpfariashaha19:23
jpfariasI did copied my package into another z3 instance19:23
jpfariasand it works19:23
tiredbonesjpfarias, That was the instance you started with bin/runzope.19:25
jpfariasnope19:25
jpfariasI was in my instance dir19:25
jpfariasanyways19:25
jpfariasI've just copied the other instance into my one19:26
jpfariasand it works now19:26
*** TrevorP has quit IRC19:26
*** MJ has quit IRC19:27
mgedminI'd like to provide some extra debugging information in a page template, but only when devmode is enabled in zope.conf19:28
tiredbonesNothing like a noob running his mouth off. I'll go back to lurking now.19:28
mgedminis there a convenient way for checking that with TALES?19:28
*** vinsci has quit IRC19:30
mgedminit seems that zope.app.appsetup.appsetup.getConfigContext().hasFeature('devmode') is the only way19:30
*** romanofski has joined #zope3-dev19:39
*** sashav has joined #zope3-dev19:49
*** natea has quit IRC20:07
srichtermgedmin: the right way, I would claim would be to write a content provider or viewlet that only outputs data if this condition is true20:11
srichtermgedmin: templates should really be agnostic of any of those type of checks20:12
srichtersee the design I did for getting the devmode working in schooltool20:12
srichterbefore viewlets I had to implement an almost duplicate template, now I can just hook into viewlet managers20:13
*** ChanServ sets mode: +o tav20:15
mgedminwhat you said has the ring of truth to it...20:16
mgedminmy use case: SchoolTool has a nice custom error view that by default says only "oops, an error occurred"20:17
mgedminhowever if you add ++debug++errors in the URL, you will see a full traceback in that view20:17
mgedminI thought that it would make more sense/be more convenient if the traceback was always displayed when devmode is enabled20:17
*** jpfarias has left #zope3-dev20:18
*** romanofski has quit IRC20:26
*** romanofski has joined #zope3-dev20:26
*** regebro has quit IRC20:33
*** gnosis has joined #Zope3-dev20:40
*** dunny has joined #zope3-dev20:46
*** j1m has joined #zope3-dev20:48
*** faassen has quit IRC20:48
mgedmin320:59
* mgedmin watched the best-web-app.mov presentation by Sean Kelley21:02
* mgedmin now craves for rapid turnaround21:02
* mgedmin hates having to restart Zope 3 after every single change to view code21:02
*** trevorp-office has quit IRC21:03
*** andres_ has joined #zope3-dev21:04
*** andres has quit IRC21:04
smmgedmin: +121:07
smgreat presentation, isn't it21:07
smhave you looked at http://pythomnic.org ? it sounds very good at that21:08
smhttp://pythomnic.org/loader.html21:08
*** MJ has joined #zope3-dev21:08
*** andres_ is now known as andres21:09
*** zbir has joined #zope3-dev21:09
mgedminyes, the presentation was wonderful21:13
mgedminand no, I looked at pythomnic21:13
mgedminwhat is it?21:14
mgedminit sounds terribly complicated21:14
smmgedmin: not really.. the docs are actually well worth reading21:15
smit's a.. an object publishing framework that provides excellent fault-tolerant/failover/no-restart features21:16
smto benefit from these features, code must follow a few disciplines, like using pythonmic's as a proxy when calling across boundaries21:18
*** febb has joined #zope3-dev21:19
*** fcorrea has joined #zope3-dev21:24
mgedminis ObjectWidget broken in Zope 3.2?21:27
mgedmin  File "/home/mg/src/ivija/Zope3.2/src/zope/app/form/browser/objectwidget.py", line 116, in error21:27
mgedmin    IWidgetInputErrorView).snippet())21:27
mgedminNameError: global name 'IWidgetInputErrorView' is not defined21:27
mgedmintrunk has the same bug, it appears21:37
*** dunny has quit IRC21:52
* mgedmin adds http://www.zope.org/Collectors/Zope3-dev/56521:59
*** romanofski has quit IRC22:10
*** deo has joined #zope3-dev22:15
*** romanofski has joined #zope3-dev22:23
*** zagy has quit IRC22:28
*** ignas has quit IRC22:47
*** zbir has quit IRC22:49
*** tav has quit IRC22:49
*** d2m has quit IRC22:49
*** tav has joined #zope3-dev22:49
*** zbir has joined #zope3-dev22:50
*** d2m has joined #zope3-dev22:50
*** zbir has quit IRC22:51
*** d2m has quit IRC22:51
*** zbir has joined #zope3-dev22:53
*** d2m has joined #zope3-dev22:53
*** srichter has quit IRC22:58
*** zbir has quit IRC22:58
* mgedmin has a headache from trying to write a widget for OrderedContainer23:02
*** mgedmin has quit IRC23:02
* benji wishes Gary's major widget rework was finished and put in the core23:02
*** jhauser has quit IRC23:03
*** zbir has joined #zope3-dev23:09
*** zbir has quit IRC23:20
*** febb has quit IRC23:25
*** alga has quit IRC23:25
*** rockyburt has quit IRC23:30
*** andres has quit IRC23:32
*** natea has joined #zope3-dev23:34
*** tav has quit IRC23:42
newpersis this suppose to give me a url error:  http://namespaces.zope.org/browser23:47
newpersthe reason i'm asking is because i'm getting an uknown directive error with "page"23:48
*** natea has quit IRC23:48
romanofskinewpers: I doubt that the namespace url is something to do with your page error23:51
newpersme too, that's why i asked in xml first.  but that shouldn't return an invalid url, should it?23:52
sawdogthe actual url doesn't need to exist23:52
newpersi need to learn more about xml23:54
newpers:P23:54
newpersanyways, the error went away when I fixed my typo23:55
*** gnosis has quit IRC23:56
*** natea has joined #zope3-dev23:58
*** russf has joined #zope3-dev23:59

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