*** romanofski has quit IRC | 00:03 | |
*** dunny_ has quit IRC | 00:11 | |
*** sp0cksbeard has quit IRC | 00:13 | |
*** greenman has joined #zope3-dev | 00:13 | |
*** greenman has quit IRC | 00:21 | |
*** J1m has quit IRC | 00:34 | |
*** whit has quit IRC | 00:37 | |
*** whit has joined #zope3-dev | 00:41 | |
*** benji has quit IRC | 00:45 | |
*** dunny_ has joined #zope3-dev | 00:48 | |
*** dunny has quit IRC | 00:49 | |
*** jamur2 has quit IRC | 00:55 | |
*** whit has quit IRC | 01:02 | |
*** nathany has quit IRC | 01:15 | |
*** regebro has quit IRC | 01:32 | |
*** fcorrea has quit IRC | 01:36 | |
*** reco has left #zope3-dev | 02:19 | |
*** dunny_ has quit IRC | 02:22 | |
*** rmarianski has quit IRC | 02:45 | |
*** jsadjohnson has joined #zope3-dev | 03:22 | |
*** b52laptop has quit IRC | 03:23 | |
*** aaronv has joined #zope3-dev | 03:39 | |
*** tdoggette has joined #zope3-dev | 03:53 | |
*** reco has joined #zope3-dev | 03:53 | |
*** RaFromBRC has quit IRC | 03:57 | |
*** rocky is now known as rocky|away | 04:02 | |
*** srichter has quit IRC | 04:02 | |
*** aaronv has quit IRC | 04:27 | |
*** reco has quit IRC | 04:50 | |
*** jsadjohnson has quit IRC | 05:06 | |
*** dunny has joined #zope3-dev | 05:14 | |
*** vimes656 has joined #zope3-dev | 05:16 | |
*** dunny_ has joined #zope3-dev | 05:25 | |
*** norro_ has joined #zope3-dev | 05:31 | |
*** dunny has quit IRC | 05:33 | |
*** norro has quit IRC | 05:48 | |
*** norro_ has quit IRC | 05:55 | |
*** ranjith has joined #zope3-dev | 06:01 | |
*** vimes656_ has joined #zope3-dev | 06:03 | |
ranjith | I am doing the project of porting zope2 to python2.5 | 06:03 |
---|---|---|
ranjith | In the project I owuld like to get the rpython implimentation also done | 06:03 |
ranjith | Can any one help me to start with rpython work.. | 06:04 |
*** dunny_ is now known as dunny | 06:07 | |
ranjith | Can any one help me to start with rpython work.. | 06:12 |
*** baijum has joined #zope3-dev | 06:20 | |
ranjith | Can any one help me to start with rpython work.. | 06:21 |
*** vimes656 has quit IRC | 06:21 | |
arika | a little | 06:37 |
arika | thing... | 06:37 |
arika | zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/home/arika/Zope/etc/site.zcml", line 7.2-7.55 ZopeXMLConfigurationError: File "/home/arika/Zope/etc/package-includes/araSquared-configure.zcml", line 1.0-1.37 ZopeXMLConfigurationError: File "/home/arika/Zope/lib/python/araSquared/Site/configure.zcml", line 8.4 InvalidInterface: Concrete attribute, site_name | 06:37 |
arika | what's that? | 06:37 |
arika | I've done that site_name with a TextLine schema... | 06:37 |
arika | hm... | 06:37 |
arika | nothing I think i got it | 06:37 |
arika | nah | 06:40 |
arika | continues not to work | 06:40 |
arika | lol | 06:40 |
arika | I shall read more... | 06:41 |
*** baijum has quit IRC | 06:49 | |
*** fairwinds has quit IRC | 06:51 | |
*** bristow has joined #zope3-dev | 07:27 | |
bristow | hi everyone | 07:28 |
*** bristow has quit IRC | 07:58 | |
arika | hi | 08:04 |
arika | WHat's the problem with persistent.Persistent? | 08:04 |
arika | is that way the only to make things be written to the ZODB? | 08:05 |
*** kursor has joined #zope3-dev | 08:10 | |
arika | kursor: wellcome... | 08:10 |
arika | are you there? | 08:10 |
kursor | yes, only for a moment | 08:14 |
arika | nothing | 08:14 |
arika | I'm trying to make an object be saved in the ZODB | 08:14 |
arika | I'm playing with the debugzope util | 08:14 |
arika | and following my textbook | 08:14 |
arika | >>> from araSquared.Content.Document import Document | 08:15 |
arika | >>> i = Document() | 08:15 |
arika | Traceback (most recent call last): File "<stdin>", line 1, in ? | 08:15 |
arika | TypeError: 'module' object is not callable | 08:15 |
kursor | which textbook? | 08:15 |
arika | that's what I get | 08:15 |
arika | lol | 08:15 |
arika | that one from Philipp whatever... | 08:15 |
arika | Web development with Zope 3 | 08:15 |
arika | lol | 08:15 |
kursor | ah, ok | 08:15 |
arika | if I add (Persistent) to the class name | 08:16 |
arika | it works yeah | 08:16 |
arika | but testing it won't do it | 08:16 |
kursor | Which chapter? | 08:16 |
arika | 5 | 08:16 |
kursor | Yeh it starts with examples derived from object | 08:17 |
kursor | and later on form Persitent | 08:17 |
arika | that's the thing... | 08:17 |
arika | it's supposed that the class that implements my interface IDocument | 08:17 |
arika | has to inherit from Persistent | 08:18 |
arika | in order to be saved... | 08:18 |
arika | that's what I got after reading | 08:18 |
arika | lol | 08:18 |
arika | but the problem is that I can't test like that guy | 08:18 |
arika | lol | 08:18 |
arika | what happens if you inherit from object? | 08:19 |
arika | I thought it was an errata | 08:19 |
arika | lol | 08:19 |
kursor | it is only a newstyle class | 08:20 |
arika | ah OK | 08:20 |
arika | but well | 08:20 |
arika | how can I solve my problem with Persistent? | 08:20 |
arika | ^^ | 08:20 |
kursor | you can also look at | 08:21 |
kursor | http://launchpad.net/z3ctutorial for additional information | 08:21 |
arika | let me see... | 08:21 |
arika | that's another tutorial on Zope 3? | 08:22 |
arika | well... | 08:24 |
arika | btw | 08:24 |
arika | that debugzope | 08:24 |
arika | shows lots of errors loading | 08:24 |
arika | lol | 08:24 |
arika | can't work with the server running... | 08:24 |
arika | >>> i = Document() | 08:25 |
arika | Traceback (most recent call last): File "<stdin>", line 1, in ? | 08:25 |
arika | TypeError: 'module' object is not callable | 08:25 |
arika | continues saying that | 08:25 |
arika | I'll continue later... | 08:39 |
arika | lol | 08:39 |
kursor | is there an other variable named Document? What is in the list of dir() | 08:40 |
kursor | what shows type(Document) | 08:41 |
*** jukart has joined #zope3-dev | 08:48 | |
arika | no, it isn't | 08:50 |
arika | lol | 08:50 |
arika | let me see | 08:50 |
arika | >>> type(Document) | 08:50 |
arika | <type 'module'> | 08:50 |
arika | >>> | 08:50 |
arika | >>> dir() | 08:50 |
arika | ['CONFIG_FILE', 'Document', 'INSTANCE_HOME', 'SOFTWARE_HOME', '__builtins__', '__doc__', '__file__', '__name__', 'app', 'debugger', 'os', 'root', 'sys'] | 08:50 |
arika | >>> | 08:50 |
arika | what that means? | 08:51 |
arika | dir()["Document"] | 08:52 |
arika | shall I try that? | 08:52 |
arika | lol | 08:52 |
arika | >>> dir(Document) | 08:53 |
arika | ['Document', 'IDocument', 'Persistent', '__builtins__', '__doc__', '__file__', '__name__', 'implements'] | 08:53 |
arika | >>> dir()["Document"] | 08:53 |
arika | that's what gives that. | 08:53 |
arika | I would like to solve this but now I have to go... | 08:53 |
arika | If you find a solution I'd like it on a private message (for not loosing it) | 08:53 |
arika | Thank you very much. :) | 08:54 |
*** dunny_ has joined #zope3-dev | 08:55 | |
*** kursor has quit IRC | 09:03 | |
*** dunny has quit IRC | 09:03 | |
*** ranjith has quit IRC | 09:07 | |
*** dunny_ has quit IRC | 09:08 | |
*** jayaraj has joined #zope3-dev | 09:09 | |
*** markusleist has joined #zope3-dev | 09:12 | |
*** dunny has joined #zope3-dev | 09:12 | |
*** jukart has quit IRC | 09:23 | |
arika | could I change Persistent | 09:28 |
arika | by zope.app.container.IContained? | 09:28 |
*** jukart has joined #zope3-dev | 09:34 | |
*** jukart has quit IRC | 09:39 | |
*** instantf1o has quit IRC | 09:39 | |
*** jukart has joined #zope3-dev | 09:40 | |
*** instantf1o has joined #zope3-dev | 09:40 | |
*** philiKON has quit IRC | 10:18 | |
*** flox has joined #zope3-dev | 10:30 | |
*** tarek has quit IRC | 10:58 | |
*** instantf1o has quit IRC | 11:14 | |
*** jukart has quit IRC | 11:14 | |
*** jukart has joined #zope3-dev | 11:15 | |
*** instantf1o has joined #zope3-dev | 11:15 | |
*** norro has joined #zope3-dev | 11:24 | |
*** vimes656_ has quit IRC | 11:37 | |
*** jukart has quit IRC | 12:01 | |
*** jukart has joined #zope3-dev | 12:18 | |
*** malthe has joined #zope3-dev | 12:32 | |
*** malthe has quit IRC | 12:36 | |
*** ccomb has left #zope3-dev | 12:40 | |
*** dunny has quit IRC | 12:43 | |
*** vimes656 has joined #zope3-dev | 12:45 | |
*** timte has joined #zope3-dev | 12:52 | |
*** jukart has quit IRC | 13:17 | |
*** tarek has joined #zope3-dev | 13:18 | |
*** Theuni has quit IRC | 13:26 | |
*** tarek has quit IRC | 13:36 | |
*** Jell-O-Fishi has quit IRC | 13:42 | |
*** Theuni has joined #zope3-dev | 13:55 | |
*** Theuni_ has joined #zope3-dev | 13:56 | |
*** aaronv has joined #zope3-dev | 14:03 | |
*** Jell-O-Fishi has joined #zope3-dev | 14:09 | |
*** bigkevmcd has joined #zope3-dev | 14:11 | |
*** jukart has joined #zope3-dev | 14:15 | |
*** junkafarian has quit IRC | 14:20 | |
*** vimes656 has quit IRC | 14:21 | |
*** bigkevmcd has quit IRC | 14:24 | |
*** fairwinds has joined #zope3-dev | 14:28 | |
*** junkafarian has joined #zope3-dev | 14:30 | |
*** b52laptop has joined #zope3-dev | 14:41 | |
*** jsadjohnson has joined #zope3-dev | 14:43 | |
*** flox has joined #zope3-dev | 14:49 | |
*** junkafarian has quit IRC | 14:58 | |
*** jukart has quit IRC | 15:03 | |
*** junkafarian has joined #zope3-dev | 15:35 | |
*** jsadjohnson has left #zope3-dev | 16:13 | |
*** rcrafton_laptop has joined #zope3-dev | 16:15 | |
*** rcrafton_laptop is now known as rcrafton | 16:16 | |
*** rcrafton_laptop has joined #zope3-dev | 16:24 | |
*** jayaraj has quit IRC | 16:26 | |
*** yotaff has joined #zope3-dev | 16:32 | |
*** J1m has joined #zope3-dev | 16:40 | |
*** rcrafton has quit IRC | 16:40 | |
*** regebro has joined #zope3-dev | 16:44 | |
*** rcrafton_laptop is now known as rcrafton | 17:01 | |
*** vimes656 has joined #zope3-dev | 17:06 | |
*** rocky|away has left #zope3-dev | 17:23 | |
*** rcrafton has quit IRC | 17:37 | |
*** sunew has joined #zope3-dev | 17:43 | |
*** malthe has joined #zope3-dev | 17:45 | |
*** sunew has quit IRC | 17:49 | |
*** tdoggette is now known as tdoggette_ | 17:52 | |
*** rcrafton_laptop has joined #zope3-dev | 18:02 | |
*** jukart has joined #zope3-dev | 18:04 | |
*** b52laptop has quit IRC | 18:20 | |
*** rcrafton_laptop has quit IRC | 18:22 | |
*** b52laptop has joined #zope3-dev | 18:23 | |
*** jukart has quit IRC | 18:24 | |
*** romanofski has joined #zope3-dev | 18:33 | |
*** zagy has quit IRC | 18:44 | |
*** fairwinds has quit IRC | 19:13 | |
*** mintsauce has joined #zope3-dev | 19:26 | |
mintsauce | hi all | 19:26 |
mintsauce | im following benji yorks tutorial on the wiki, but im using a buildout based instance ..... for a new package, such as the hello world app ... i should create a <include package="hello" /> entry and a /src/hello directory? | 19:28 |
*** rcrafton_laptop has joined #zope3-dev | 19:29 | |
*** rcrafton_laptop_ has joined #zope3-dev | 19:37 | |
*** rcrafton_laptop has quit IRC | 19:53 | |
*** rcrafton_laptop_ has quit IRC | 19:55 | |
*** rcrafton has joined #zope3-dev | 19:56 | |
*** malthe has quit IRC | 20:05 | |
mintsauce | anyone here? | 20:08 |
romanofski | mintsauce: yeees? | 20:09 |
mintsauce | im trying to set up a simple hello world app to introduce myself to zope3 ...... im following benji yorks tutorial ...... but im using buildout, so I dont have a python directory ..... where should I be putting the app instead? | 20:11 |
*** jsadjohnson has joined #zope3-dev | 20:11 | |
romanofski | mintsauce: I think you want to try Grok first | 20:11 |
mintsauce | i want to try zope3 .... been using plone for a while | 20:12 |
romanofski | Grok is Zope3 (lite) | 20:12 |
mintsauce | so theres no easy answer to my first question? | 20:15 |
romanofski | hm.. I don't understand your question actually - where is benji yorks tutorial? | 20:16 |
mintsauce | http://www.benjiyork.com/quick_start/ | 20:17 |
mintsauce | its linked from the zope3 wiki | 20:17 |
romanofski | on which point are you now? | 20:17 |
mintsauce | "We need to go to the lib/python directory of our instance" - i dont have this directory, its a buildout installation | 20:21 |
romanofski | ah - i see | 20:23 |
romanofski | so your buildout works and sets up a zope3 instance? | 20:23 |
mintsauce | yup | 20:24 |
romanofski | and you're using the system phython? | 20:25 |
mintsauce | yup - python2.4 | 20:25 |
romanofski | okey | 20:25 |
mintsauce | does it go in the system python directory? | 20:26 |
romanofski | no | 20:26 |
romanofski | you create a python package, which you can reference as a develop-egg | 20:26 |
romanofski | create a directory hello | 20:26 |
romanofski | this has a setyp.py | 20:26 |
romanofski | argl | 20:26 |
romanofski | setup.py | 20:26 |
romanofski | a src directory | 20:26 |
romanofski | a src/hello directory where you put your configure.zcml and the actual code | 20:27 |
mintsauce | where should i create the first hello directory? | 20:27 |
*** zagy has joined #zope3-dev | 20:27 | |
romanofski | actually, you can place it anywhere in the system | 20:28 |
romanofski | but just create it either in your buildout directory | 20:28 |
romanofski | or on a level above | 20:28 |
romanofski | latter one is prefered | 20:28 |
mintsauce | k | 20:29 |
mintsauce | what about 'We need to tell Zope to read our ZCML file, and the easiest way to do that is to put a "slug" in the instance/etc' | 20:31 |
mintsauce | dont have instance etc ;) | 20:32 |
mintsauce | (thanks so far btw, starting to make more sense) | 20:32 |
romanofski | na... you've buildout - you don't want to do this with buildout | 20:32 |
mintsauce | where do i put it instead? | 20:34 |
romanofski | you can tell your zope3 via buildout.cfg where to read additional configure.zcmls from (or which additional packages should be included) | 20:40 |
romanofski | do you know how to setup a develop-egg in your buildout.cfg? | 20:40 |
mintsauce | no ... but im sure i can find some docs | 20:40 |
romanofski | it's very easy | 20:41 |
mintsauce | how then? ;) | 20:41 |
romanofski | just add in your buildout section | 20:41 |
romanofski | develop = ../yourpackage | 20:42 |
romanofski | if you placed 'yourpackage' besides your buildout | 20:42 |
romanofski | it's just a path expression | 20:42 |
mintsauce | ok ..... i already have a line that says develop = . | 20:43 |
romanofski | well you can start right there | 20:43 |
romanofski | do you have a 'src' directory? | 20:44 |
romanofski | in your buildout dir? | 20:44 |
mintsauce | yup | 20:44 |
romanofski | what's in your src? | 20:44 |
mintsauce | src - the folder you told me to create | 20:45 |
mintsauce | and testproject which was set up by my buildout | 20:45 |
mintsauce | ..... what should be in setup.py? | 20:46 |
*** yotaff has quit IRC | 20:46 | |
romanofski | that's the metadata for the egg | 20:47 |
romanofski | name, title, dependencies | 20:47 |
romanofski | I think you should check other eggs what they have | 20:48 |
romanofski | that's probably the best todo | 20:48 |
mintsauce | k | 20:49 |
mintsauce | mind if i send you a screenshot of my folders, to check im doing it correctly? | 20:50 |
romanofski | I won't mind, but if your buildout runs through, and have that develop entry and src directory, you should be right on your path | 20:50 |
mintsauce | http://www.flickr.com/photos/mintsauce/2598423444/ | 20:54 |
romanofski | what's that mashed thing doing there? | 20:55 |
mintsauce | the buildout creates it ... just a default package .... runs fine from installation (mashed is just the project name) | 20:57 |
romanofski | ah | 20:58 |
romanofski | so... you define in your buildout root the setup.py for your package hello | 20:59 |
romanofski | the setup.py in hello can be (re-)moved | 20:59 |
mintsauce | 'define in your buildout root the setup.py for your package hello' - is that the develop = . line in cfg? | 21:01 |
romanofski | yep | 21:02 |
mintsauce | so should work as is then? - what am i looking for after rebuild and restart? | 21:03 |
romanofski | actually you can put a little error in your __init__.py of your hello package to see if it throws an error when you start your instance | 21:05 |
romanofski | do a buildout first though, after you put everything in place | 21:06 |
mintsauce | done a buildout ... looked fine, but cant browse to it yet .... will try the error | 21:06 |
mintsauce | hmmm .... put 'sdfsfsdfsdf' in __init__py .... but no error on restart | 21:07 |
*** norro_ has joined #zope3-dev | 21:08 | |
romanofski | you can check your instance script (which starts the instance) if the path of your develop-egg is in there | 21:08 |
mintsauce | was missing <include package="hello" /> :) | 21:09 |
mintsauce | hmmm | 21:10 |
mintsauce | removed error and it restarts properly | 21:10 |
mintsauce | but browsing localhost:8080/hello returns ' The page that you are trying to access is not available ' | 21:11 |
romanofski | you have a 'hello' browser:page? | 21:12 |
mintsauce | my bad - missed the 'Now if we start Zope back up, we can go to the ZMI and add our content type by clicking on "QS Hello World"' | 21:14 |
mintsauce | i think its working .... got Object Introspector: hello.hello.HelloWorld ( hello ) | 21:15 |
romanofski | well, if your package is recognized by zope3 than you should be able to continue :) | 21:15 |
romanofski | looks good | 21:15 |
mintsauce | thanks loads romanofski, youve been a great help | 21:15 |
*** aaronv has quit IRC | 21:16 | |
romanofski | pleasure | 21:16 |
*** aaronv has joined #zope3-dev | 21:17 | |
*** rocky has joined #zope3-dev | 21:18 | |
*** kursor has joined #zope3-dev | 21:26 | |
*** CSWookie has joined #zope3-dev | 21:29 | |
CSWookie | Anyone know of a way to guarantee that a view is security proxied? | 21:29 |
CSWookie | I have a view on Exception, and I want it to be proxied. Should I just define __new__ in the class and proxy it there? | 21:30 |
*** mintsauce has quit IRC | 21:34 | |
*** kursor has quit IRC | 21:42 | |
*** vimes656 has quit IRC | 22:03 | |
*** nathany has joined #zope3-dev | 22:26 | |
*** mintsauce has joined #zope3-dev | 22:27 | |
*** ktwilight_ has quit IRC | 22:37 | |
*** ktwilight has joined #zope3-dev | 22:40 | |
*** vimes656 has joined #zope3-dev | 22:42 | |
*** vimes656 has quit IRC | 22:48 | |
*** vimes656 has joined #zope3-dev | 22:48 | |
*** nathany has quit IRC | 22:49 | |
*** vimes656 has quit IRC | 22:52 | |
*** rcrafton has joined #zope3-dev | 22:53 | |
*** rcrafton has quit IRC | 23:20 | |
*** dunny has joined #zope3-dev | 23:35 | |
*** b52laptop has quit IRC | 23:58 | |
*** b52laptop has joined #zope3-dev | 23:58 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!