SteveA | so, by default the URLs reflact the way the objects are linked together | 00:00 |
---|---|---|
SteveA | URLTraversal: IPublishTraverse. in zope/publisher/interfaces/__init__.py | 00:00 |
regebro | OK, I'll have to read the code again. Sigh. Ah well. | 00:01 |
SteveA | Object traversal (not specific to particular requests. as used to process page template TALES path expressions): ITraverser from zope/app/traversing/interfaces.py | 00:01 |
regebro | Thanks for the help, I obviously was barking up a tree in the wrong forest... | 00:01 |
SteveA | so, to hook directly into URL traversal, provide an IPublishTraverse adapter for the interface your object provides. | 00:01 |
SteveA | to hook into object traversal, provide an ITraversable adapter for the interface your object provides. | 00:02 |
SteveA | (I said ITraverser before, but I really meant ITraversable. They're defined in the same module.) | 00:02 |
SteveA | hope your head feels better soon ;-) | 00:02 |
regebro | Thanks. | 00:03 |
*** regebro has quit IRC | 00:08 | |
*** __gotcha___ has quit IRC | 00:08 | |
*** tvon has quit IRC | 00:27 | |
*** Aiste has quit IRC | 00:46 | |
*** tvon has joined #zope3-dev | 00:56 | |
*** htd_ has quit IRC | 01:22 | |
projekt01 | SteveA, ayt? | 02:31 |
projekt01 | J1m, ayt? | 02:34 |
*** bradb has quit IRC | 02:40 | |
J1m | projekt01, yes, but not for long | 03:04 |
projekt01 | J1m, Is the issue 85 still open (change metadata to another name)? | 03:06 |
projekt01 | This issue is asigned to SteveA | 03:06 |
projekt01 | Long time ago.... | 03:06 |
J1m | First, it's not critical, so we can ignore it | 03:08 |
J1m | second, we shoould get rid of it because it is moot. | 03:09 |
projekt01 | Get rid of the naming? Or the issue? | 03:09 |
projekt01 | What does moot mean? | 03:10 |
J1m | Catalogs don't have the data structure they are trying to figure out a name for. | 03:10 |
J1m | Moot means it doesn't matter. | 03:10 |
J1m | weird words | 03:10 |
projekt01 | Ok, this means we can close the issue? right? | 03:10 |
J1m | yup | 03:11 |
J1m | :) | 03:11 |
projekt01 | Cool | 03:11 |
projekt01 | I was sending some mails about other issues, if you have time tomorrow... | 03:11 |
projekt01 | There are not important, but some of them are not relevant since different refactorings and could be closed. | 03:12 |
J1m | I fear I won't, but I'll try | 03:12 |
projekt01 | Ok | 03:12 |
J1m | We should focuss on critical bugs | 03:13 |
projekt01 | How else has the permission and skills for closing issues | 03:13 |
projekt01 | Yup | 03:13 |
J1m | I'm waaaay behind and am not having much spare time in the sprints here | 03:13 |
J1m | This is cool because there are actually around 12 sprints going on at once, in the same 2 rooms | 03:14 |
projekt01 | But I think we should also cleanup the bugtracker, like now it looks like nobody cares about (at least old issue) | 03:14 |
J1m | sleep is more urgent :) | 03:14 |
J1m | I need to go | 03:14 |
J1m | get some sleep | 03:14 |
projekt01 | Some issue are assinged since 2003 and nobody is doing something! | 03:14 |
projekt01 | Ok | 03:14 |
J1m | I agree that we should clean them up, but we should do so when we have more time. | 03:15 |
J1m | I'm really pressed for time myself. | 03:15 |
J1m | good night (morning, whatever) | 03:15 |
projekt01 | Ok, I know, see you | 03:15 |
*** J1m has quit IRC | 03:15 | |
*** bradb has joined #zope3-dev | 03:35 | |
*** tarek_ has quit IRC | 03:39 | |
*** projekt01 has left #zope3-dev | 03:44 | |
*** bradb_ has joined #zope3-dev | 04:09 | |
*** bradb has quit IRC | 04:12 | |
mp | zope3.css is broken | 04:22 |
*** bradb_ has quit IRC | 04:36 | |
mp | whoa, someone just fixed it | 04:36 |
mp | it was fast | 04:36 |
mp | I'm impressed | 04:36 |
*** bradb has joined #zope3-dev | 05:06 | |
*** stub has joined #zope3-dev | 05:35 | |
*** Theuni has quit IRC | 06:06 | |
*** viyyer has joined #zope3-dev | 07:26 | |
viyyer | hi what are the basic requirements for strating zope3 programming guide ? | 07:26 |
*** d2m has quit IRC | 08:16 | |
*** d2m has joined #zope3-dev | 08:30 | |
*** hdima has joined #zope3-dev | 09:21 | |
*** tvon is now known as tvon|Zzz | 09:51 | |
*** sashav has joined #zope3-dev | 10:31 | |
*** _projekt01 has joined #zope3-dev | 11:00 | |
*** vlado has joined #zope3-dev | 11:28 | |
*** stub has quit IRC | 11:31 | |
*** __gotcha_ has joined #zope3-dev | 11:31 | |
*** stub has joined #zope3-dev | 11:33 | |
*** AJC has joined #zope3-dev | 11:49 | |
*** tarek_ has joined #zope3-dev | 11:50 | |
*** MalcolmC has joined #zope3-dev | 11:50 | |
*** zagy has joined #zope3-dev | 11:59 | |
*** apoirier has joined #zope3-dev | 11:59 | |
*** Aiste has joined #zope3-dev | 12:36 | |
*** efge has joined #zope3-dev | 12:36 | |
*** oferw has joined #zope3-dev | 12:44 | |
*** J1m has joined #zope3-dev | 12:52 | |
*** AJC has quit IRC | 12:53 | |
*** AJC has joined #zope3-dev | 12:53 | |
*** __gotcha has quit IRC | 12:55 | |
*** __gotcha has joined #zope3-dev | 12:56 | |
*** _projekt01 has left #zope3-dev | 13:07 | |
*** [apoirier] has joined #zope3-dev | 13:08 | |
*** apoirier has quit IRC | 13:09 | |
*** mgedmin has joined #zope3-dev | 13:10 | |
*** oferw has quit IRC | 13:29 | |
*** J1m has quit IRC | 13:50 | |
*** faassen has joined #zope3-dev | 13:54 | |
*** AJC has quit IRC | 13:57 | |
*** AJC has joined #zope3-dev | 13:57 | |
*** ignas_ has joined #zope3-dev | 14:02 | |
*** tvon|Zzz has quit IRC | 14:05 | |
*** ignas has quit IRC | 14:11 | |
*** tarek_ has quit IRC | 14:44 | |
*** AJC has quit IRC | 14:58 | |
*** stub has quit IRC | 15:05 | |
*** mgedmin has quit IRC | 15:09 | |
*** SteveA has quit IRC | 15:17 | |
*** efge has quit IRC | 15:25 | |
viyyer | hi .. I have installed zope3 by untarring zope3-3 files on /opt and installed it to /var/zope3 ... where would my zope3 python path be? and how can I add zope3 path for python.. for directly importing zope3 libraries? | 15:26 |
*** efge has joined #zope3-dev | 15:27 | |
*** Aiste has quit IRC | 15:27 | |
*** SteveA_ has joined #zope3-dev | 15:29 | |
*** BjornT has joined #zope3-dev | 15:31 | |
Damascene | you install python separately | 15:37 |
Damascene | it uses the same python that the system is running. | 15:37 |
viyyer | Damascene, I was using programming_tutorial on zope3 .. | 15:40 |
*** _projekt01 has joined #zope3-dev | 15:40 | |
viyyer | It asked me to install this buddydemo on the zope3 python directory.. ? where is this ? | 15:40 |
Damascene | are you using the release or svn snapshot? | 15:42 |
viyyer | I'm using the zope3-3 release | 15:43 |
Damascene | did you make a zope3 instance? | 15:43 |
Damascene | i believe it's usually in $zope3instancehome/lib/python. | 15:43 |
Damascene | basically some directory where your PYTHONPATH is pointing to | 15:44 |
viyyer | Damascene, yes.. !! I have the instance running /var/zope3 | 15:44 |
Damascene | you can always put it in any directory as lnog as your setup your environment's PYTHONPATH to point to it | 15:44 |
Damascene | look into /var/zope3 directory.. should be a lib/python subdir? | 15:44 |
viyyer | Damascene, there is | 15:45 |
viyyer | it does exist.. | 15:45 |
*** Theuni has joined #zope3-dev | 15:46 | |
viyyer | Damascene, should I install it right there or.. in a specific sub-dir .. is it matters.. !! and If I want to test it on python.. how should I go about it ? | 15:46 |
viyyer | oops . there is none.. !! | 15:48 |
*** zagy_ has joined #zope3-dev | 15:50 | |
Damascene | it's the same as using python libs/modules | 15:50 |
Damascene | the general concept i mean | 15:50 |
Damascene | of python libraries and modules | 15:50 |
viyyer | Damascene, when I try importing buddydemo.. it shows an error.. unable to import persistent? | 15:50 |
Damascene | there might even be a readme.txt file | 15:51 |
viyyer | yes | 15:51 |
Damascene | yeah put it in the same directory as that | 15:51 |
viyyer | the readme talks about how to install distutils based packages into zope instance | 15:52 |
*** zagy has quit IRC | 15:53 | |
viyyer | Damascene, why do I get the eror with importing persistent ? | 15:54 |
viyyer | should I add zope3 library to python path ? | 15:54 |
Damascene | yeah you might have to | 15:55 |
Damascene | but just tryto startup python | 15:55 |
Damascene | er | 15:55 |
Damascene | zope3 | 15:55 |
viyyer | Damascene, it is started... do I need to restart ? | 15:58 |
Damascene | yeah | 15:59 |
viyyer | I am able to access it's web interface | 15:59 |
Damascene | you need to restart when making code changes | 15:59 |
Damascene | and/or adding new packages | 15:59 |
Damascene | and you also need to create a buddydemo-configure.zcml in the packages-include folder | 15:59 |
Damascene | okay i got to go now. sorry. good luck! | 15:59 |
viyyer | thanks .. lot.. | 16:00 |
viyyer | thanks a million | 16:00 |
*** regebro has joined #zope3-dev | 16:09 | |
*** bradb has quit IRC | 16:15 | |
*** BjornT has quit IRC | 16:18 | |
*** sashav has quit IRC | 16:34 | |
*** bradb has joined #zope3-dev | 16:36 | |
*** Aiste has joined #zope3-dev | 16:41 | |
*** SteveA has joined #zope3-dev | 16:43 | |
*** WebMaven has joined #zope3-dev | 16:44 | |
*** SureshZ has joined #zope3-dev | 16:46 | |
*** SteveA_ has quit IRC | 16:50 | |
*** zagy_ has quit IRC | 16:51 | |
*** zagy has joined #zope3-dev | 16:53 | |
*** BjornT has joined #zope3-dev | 16:54 | |
*** bska|mobile has joined #zope3-dev | 16:55 | |
*** tvon has joined #zope3-dev | 16:56 | |
*** viyyer has quit IRC | 17:01 | |
*** J1m has joined #zope3-dev | 17:07 | |
*** hdima has quit IRC | 17:08 | |
*** mgedmin has joined #zope3-dev | 17:14 | |
*** Damascus- has joined #zope3-dev | 17:18 | |
*** BjornT has quit IRC | 17:19 | |
*** Damascene has quit IRC | 17:22 | |
*** bradb has quit IRC | 17:27 | |
*** bradb has joined #zope3-dev | 17:28 | |
*** oferw has joined #zope3-dev | 17:37 | |
*** mkerrin has joined #zope3-dev | 17:38 | |
*** gintas has joined #zope3-dev | 17:39 | |
*** alga has joined #zope3-dev | 17:48 | |
*** __gotcha____ has joined #zope3-dev | 17:51 | |
*** __gotcha_ has quit IRC | 17:53 | |
*** BjornT has joined #zope3-dev | 17:54 | |
*** mgedmin has quit IRC | 17:55 | |
*** J1m has quit IRC | 17:55 | |
*** WebMaven has quit IRC | 17:55 | |
*** Aiste has quit IRC | 17:55 | |
*** regebro has quit IRC | 17:55 | |
*** Theuni has quit IRC | 17:55 | |
*** __gotcha has quit IRC | 17:55 | |
*** bska|mobile has quit IRC | 17:57 | |
*** tvon has quit IRC | 17:57 | |
*** SureshZ has quit IRC | 17:57 | |
*** bska|mobile has joined #zope3-dev | 17:57 | |
*** SureshZ has joined #zope3-dev | 17:57 | |
*** tvon has joined #zope3-dev | 17:58 | |
*** Aiste has joined #zope3-dev | 17:59 | |
*** Theuni has joined #zope3-dev | 18:08 | |
*** WebMaven has joined #zope3-dev | 18:08 | |
*** niemeyer has joined #zope3-dev | 18:08 | |
*** J1m has joined #zope3-dev | 18:08 | |
*** regebro has joined #zope3-dev | 18:09 | |
*** mgedmin has joined #zope3-dev | 18:10 | |
SteveA | J1m: hi. do you know if it is possible for an object to be GCed while its __init__ is still being processed ? | 18:10 |
SteveA | and, have you seen any errors like "SystemError: ../Objects/listobject.c:125: bad argument to internal function" lately ? | 18:11 |
J1m | I don't think it woul be possible for an object to be GCed while a method is executing. | 18:16 |
J1m | After all, it would be reachable from a stack frame, and I'm sure executing stack frames are reachable. | 18:16 |
J1m | Just a sec, here's Tim, I'll conform w him. | 18:16 |
faassen | even if the stackframe thing isn't going on, there's goig to be a reference to self. | 18:17 |
faassen | I guess someone could reassign self or del it. :) | 18:17 |
SteveA | i need to check the __del__ rules again... this thing has a __del__ | 18:18 |
SteveA | and a __getattr__. and the __del__ and __getattr__ interact. | 18:18 |
SteveA | argh | 18:18 |
SteveA | horrible code | 18:18 |
SteveA | it is the Transaction code from sqlobject's dbconnection code | 18:19 |
J1m | I won't share everything Tim said. ;) But, basically, he thinks I'm right, | 18:19 |
faassen | Tim said it depended on the floating point implementatin of your OS. :) | 18:19 |
SteveA | i started off getting an infinite loop when running my app's testsuite | 18:20 |
J1m | We haven't seen the system error | 18:20 |
SteveA | i looked into it, and there's a __getattr__ hook. the first thing this hook does is call a method that checks self._obselete | 18:20 |
J1m | Tim says don't use __del__ | 18:20 |
J1m | we've decided to deprecate it | 18:21 |
faassen | deprecate __del__ in Python? :) | 18:21 |
J1m | yup | 18:21 |
SteveA | checking self._obselete causes a call to __getattr__ and a loop, because '_obselete' isn't in self.__dict__. but, the only time this is the case is before line 2 of __init__ | 18:21 |
SteveA | yay | 18:21 |
faassen | I never use __del__ myself. | 18:21 |
SteveA | i never use __del__ | 18:21 |
J1m | I doubt that anyone will listen to us though ;) | 18:21 |
faassen | hey, this time I'll listen to you guys! | 18:21 |
SteveA | you have four supporters here | 18:21 |
faassen | del __del__! | 18:21 |
faassen | I can probably convince Guido of it too. | 18:22 |
faassen | unfortunately it'll be one of our Guidos here at Infrae. | 18:23 |
SteveA | convince gudio. i still have his business card | 18:23 |
J1m | Tim says that somehow, someone has passed a non list to PyList_Size | 18:23 |
J1m | Does your app have any C code? | 18:23 |
SteveA | hmm, interesting. | 18:23 |
SteveA | none of its own. | 18:23 |
SteveA | it does use various libraries | 18:23 |
SteveA | like the ones in zope3, psycopg database adapter | 18:24 |
J1m | You could put a gdb breakpoint on that line, let it stop, and see who's calling it with that arg | 18:24 |
SteveA | looks like i need to make a debug build, and see what i can do | 18:24 |
SteveA | unfortunately, the error occurs intermittently | 18:24 |
J1m | you don't need a special build to use gdb | 18:24 |
SteveA | okay | 18:25 |
*** J1m is now known as J1m|away | 18:25 | |
SteveA | thanks tim and jim. i'll see what's up. | 18:25 |
*** oferw has quit IRC | 18:25 | |
SteveA | oh wait... there's a SystemError raised during __init__, so the instance is immediately ready for GC | 18:34 |
SteveA | that explains the problem with __del__ and __getattr__ | 18:34 |
*** bska|mobile has quit IRC | 18:42 | |
*** tvon has left #zope3-dev | 18:42 | |
*** SureshZ has quit IRC | 18:54 | |
*** palmTree has joined #zope3-dev | 18:54 | |
*** SureshZ has joined #zope3-dev | 18:55 | |
*** regebro has quit IRC | 19:00 | |
*** vlado_ has joined #zope3-dev | 19:00 | |
*** vlado has quit IRC | 19:01 | |
*** Damascus- is now known as Damascene | 19:05 | |
*** palmTree has quit IRC | 19:13 | |
*** vlado_ has quit IRC | 19:27 | |
*** gintas has quit IRC | 19:27 | |
*** efge has quit IRC | 19:28 | |
*** anto9us has joined #zope3-dev | 19:28 | |
*** efge has joined #zope3-dev | 19:28 | |
anto9us | does zope3 have postgresql support? | 19:48 |
Damascene | yes | 19:48 |
*** MalcolmC has quit IRC | 19:48 | |
anto9us | great! is it native or an addon? | 19:48 |
Damascene | well technically everythign is a little add-on. but there is a psycopgda adapter/package | 19:49 |
anto9us | the same one that's used with zope 2? | 19:49 |
Damascene | you just need psycopg (python postgres driver) | 19:49 |
Damascene | no, i'm pretty suer it is not. but you can pull it from the SVN | 19:49 |
Damascene | iirc | 19:49 |
anto9us | will it work on windows? | 19:50 |
Damascene | maybe. i don't use windows with zope3. | 19:51 |
anto9us | thanks, I'll take a look at the SVN, not used it before though, I'm a bit of a newbie | 19:52 |
Damascene | maybe it's in a package. let me see | 19:54 |
anto9us | is gadfly ACID compliant do you know? | 19:55 |
anto9us | it may be a better option to port my database | 19:55 |
Damascene | i'm kind of a newbie myself. but maybe you can manuallyd ownload the files. ;( | 19:56 |
Damascene | http://svn.zope.org/ | 19:56 |
Damascene | nto sure on gadfly | 19:56 |
anto9us | another thing, does zope3 have ssl support? | 19:58 |
efge | anto9us: gadfly is a toy database, not something for production | 19:58 |
anto9us | thanks efge | 19:58 |
anto9us | well, getting zope3 installed and running on my winxp based laptop was easy :D | 20:00 |
anto9us | what's the easiest frontend to SVN on windows? | 20:07 |
d2m | http://tortoisesvn.tigris.org/ | 20:08 |
anto9us | d2m: do I need the webprojects version? | 20:10 |
*** anto9us has quit IRC | 20:15 | |
Damascene | do you guys use a normal text editor to do coding or an advanced IDE? | 20:16 |
mgedmin | gvim | 20:17 |
mgedmin | takes some time to learn, but is worth the investment | 20:17 |
mgedmin | tags and keyword completion are killer features | 20:18 |
mgedmin | emacs is also good in the same way (needs learning, worth the effort), but also completely different | 20:18 |
*** palmTree has joined #zope3-dev | 20:21 | |
Damascene | acutally, i use vim right now | 20:21 |
Damascene | or ultraedit under windows (but i do have gvim as wel) | 20:21 |
Damascene | although i dont' thnk i'm familiar with 'tags' | 20:21 |
Damascene | i'll try to exploit more of vim's features then | 20:23 |
Damascene | thanks for the advice | 20:23 |
mgedmin | Damascene, take a brief look at http://mg.pov.lt/blog/hacking-tools.html | 20:23 |
Damascene | ah, seems like i better use 'gvim' more than just vim alone | 20:24 |
_projekt01 | damascene, I use ultra edit ;- | 20:31 |
*** anto9us has joined #zope3-dev | 20:32 | |
Damascene | _projekt01: i've never tried to use ultraedit for 'project' development. i'm quite pleased it even has a ctags option | 20:32 |
_projekt01 | Yup, I use cTags in uEdit | 20:33 |
_projekt01 | You can find it here: http://ctags.sourceforge.net/tools.html | 20:34 |
*** BjornT has quit IRC | 20:58 | |
*** BjornT has joined #zope3-dev | 20:58 | |
anto9us | has anyone managed to get psycopgda running with the latest zope3 on win32? | 21:04 |
*** faassen has quit IRC | 21:04 | |
*** [apoirier] has quit IRC | 21:06 | |
anto9us | zope3 fails to start, I'm getting an error when trying to runzope - AttributeError: 'module' object has no attribute 'new_type' | 21:08 |
Damascene | anto9us: you also need psycopg installed | 21:09 |
Damascene | psycopgdb is kind of like an adapter for zope3 + psycopg | 21:09 |
Damascene | maybe you should see if you have psycopg installed as well? | 21:10 |
anto9us | I see, thanks :) | 21:10 |
*** mkerrin has quit IRC | 21:19 | |
*** xenru has joined #zope3-dev | 21:22 | |
mgedmin | yippee, full zope 3 starts up in 4 seconds on my new laptop | 21:38 |
J1m|away | Did you get a new laptop? :) | 21:40 |
*** J1m|away is now known as J1m | 21:40 | |
* mgedmin nods | 21:41 | |
mgedmin | a T42 | 21:41 |
mgedmin | a quick question: | 21:42 |
mgedmin | can I change an attribute of a persistent object and commit the transaction from a PostMortemDebuggingHTTPServer prompt? | 21:42 |
* mgedmin tried, and it didn't work | 21:42 | |
Damascene | mgedmin: re T42, NICE laptop. i got the wimpy T41 myself. | 21:42 |
alga | Whoo, what a joy indeed | 21:44 |
alga | 5.9 seconds for me | 21:44 |
* alga got an X40 | 21:44 | |
*** BjornT has quit IRC | 21:53 | |
*** BjornT has joined #zope3-dev | 21:54 | |
*** efge has left #zope3-dev | 21:57 | |
*** xenru has quit IRC | 22:23 | |
tvon|desk | alga: nice | 22:29 |
*** tvon has joined #zope3-dev | 22:32 | |
alga | yeah :-) giving my old X20 for my wife to use | 22:34 |
alga | after the hinges are replaced. again. | 22:34 |
tvon | my x31 needs a few repairs. last x20 I saw was built like a brick (in a good way) | 22:34 |
tvon | girl who owned it had dropped it countless times.. pcmcia slot was all crooked.. still ran fine | 22:35 |
anto9us | can anyone tell how to get psycopgda working on win32? | 22:39 |
*** J1m has quit IRC | 22:39 | |
*** bska|mobile has joined #zope3-dev | 22:39 | |
*** Aiste has quit IRC | 22:39 | |
anto9us | or point me in the right direction? | 22:40 |
*** mgedmin has quit IRC | 22:45 | |
*** zagy has quit IRC | 22:50 | |
*** palmTree has quit IRC | 22:52 | |
*** SteveA has quit IRC | 22:55 | |
*** SteveA has joined #zope3-dev | 23:03 | |
*** anto9us_ has joined #zope3-dev | 23:05 | |
*** mgedmin has joined #zope3-dev | 23:06 | |
*** mgedmin has quit IRC | 23:07 | |
anto9us_ | ghost anto9us | 23:08 |
*** anto9us has quit IRC | 23:08 | |
*** anto9us_ is now known as anto9us | 23:08 | |
*** zopepaul has joined #zope3-dev | 23:19 | |
*** bradb has quit IRC | 23:20 | |
*** bradb has joined #zope3-dev | 23:20 | |
WebMaven | hi zopepaul | 23:21 |
WebMaven | Greetings from PyCon | 23:21 |
zopepaul | WebMaven: hi | 23:23 |
* zopepaul wished he was at pycon...well, not really, wished pycon were here :) | 23:23 | |
*** nisha_cgx has joined #zope3-dev | 23:31 | |
*** zopepaul has quit IRC | 23:52 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!