IRC log of #zope3-dev for Wednesday, 2009-07-08

*** kaeru has quit IRC00:03
*** kaeru has joined #zope3-dev00:05
*** dunny has joined #zope3-dev00:09
*** cshenton has joined #zope3-dev00:09
*** thekorn has quit IRC00:15
*** thekorn has joined #zope3-dev00:15
*** cshenton_ has quit IRC00:26
*** benji has quit IRC00:28
koboldI'd like to release some packages with fixed dependencies (zope.location, zope.sendmail, zope.pagetemplate and zope.app.publisher), but I don't have the right to do the upload to pypi... should I write an e-mail to the mailing list? Can I prepare the job in someway?00:30
*** gary_poster has quit IRC00:35
*** sunoano has quit IRC00:43
*** sunoano has joined #zope3-dev00:45
*** jhauser has quit IRC00:47
*** thekorn has quit IRC00:57
*** pelle_ has quit IRC01:01
*** jamur2 has quit IRC01:13
*** sunoano has quit IRC01:22
*** sunoano has joined #zope3-dev01:25
*** aaronv has quit IRC01:37
*** lurkymclurkleton has quit IRC01:40
*** baijum has quit IRC01:45
*** dvschramm has quit IRC01:45
*** alga has quit IRC02:18
*** hathawsh is now known as hath|away02:22
*** hath|away has quit IRC02:30
*** aaronv has joined #zope3-dev02:31
*** hath|away has joined #zope3-dev02:35
*** hath|away is now known as hathawsh02:36
*** romanofski has joined #zope3-dev02:48
*** cbcunc has quit IRC03:06
*** aaronv has quit IRC03:13
*** skriv1 has quit IRC03:37
*** skriv has joined #zope3-dev03:37
*** davisagli has left #zope3-dev03:41
*** J1m has quit IRC03:45
*** hathawsh is now known as hath|away04:07
*** hath|away is now known as hathawsh04:14
*** aaronv has joined #zope3-dev04:14
*** pcardune has quit IRC04:15
*** skriv1 has joined #zope3-dev04:22
*** skriv has quit IRC04:22
*** aaronv has quit IRC04:23
*** pelle_ has joined #zope3-dev04:50
*** allisterb_ has joined #zope3-dev05:35
*** allisterb has quit IRC05:35
*** davisagli has joined #zope3-dev05:37
*** hathawsh is now known as hath|away05:51
*** linmyat has joined #zope3-dev06:03
*** hath|away is now known as hathawsh06:09
*** baijum has joined #zope3-dev06:10
*** allisterb_ has quit IRC06:22
*** davisagli has quit IRC06:23
*** davisagli has joined #zope3-dev06:24
*** davisagli has quit IRC06:25
*** kursor has joined #zope3-dev06:29
*** kaeru has quit IRC06:29
*** kaeru has joined #zope3-dev06:30
*** skriv has joined #zope3-dev06:40
*** skriv1 has quit IRC06:44
*** kursor has quit IRC06:55
*** stub has joined #zope3-dev07:20
*** alecm has quit IRC07:24
*** CSWookie_ has joined #zope3-dev07:34
*** CSWookie has quit IRC07:36
*** davisagli has joined #zope3-dev07:38
*** skriv has quit IRC08:00
*** greenman has quit IRC08:02
*** kaeru_ has joined #zope3-dev08:02
*** baijum has quit IRC08:04
*** baijum has joined #zope3-dev08:04
*** JaRoel has joined #zope3-dev08:06
*** JaRoel is now known as JaRoel|4D08:07
*** kaeru has quit IRC08:14
*** baijum has quit IRC08:26
*** baijum has joined #zope3-dev08:26
*** davisagli has quit IRC08:32
*** zagy has joined #zope3-dev08:34
*** jukart has joined #zope3-dev08:36
*** jhauser has joined #zope3-dev08:41
*** greenman has joined #zope3-dev08:43
*** greenman has quit IRC08:45
*** JaRoel|4D has quit IRC08:48
*** davisagli has joined #zope3-dev08:55
*** davisagli has quit IRC08:59
*** baijum1 has joined #zope3-dev08:59
*** Theuni1 has joined #zope3-dev09:08
*** baijum has quit IRC09:12
*** __mac__ has joined #zope3-dev09:13
*** redir has joined #zope3-dev09:14
*** romanofs1i has joined #zope3-dev09:17
*** romanofski has quit IRC09:17
*** redir has quit IRC09:19
*** baijum1 has quit IRC09:21
*** thekorn has joined #zope3-dev09:21
*** baijum has joined #zope3-dev09:21
*** sunoano has quit IRC09:25
*** sunoano has joined #zope3-dev09:27
*** goschtl has joined #zope3-dev09:29
*** sweh has joined #zope3-dev09:30
*** allisterb has joined #zope3-dev09:39
*** zagy_ has joined #zope3-dev09:48
*** zagy has quit IRC09:48
*** baijum has quit IRC09:51
*** baijum has joined #zope3-dev09:51
*** JaRoel has joined #zope3-dev10:01
*** mintsauce has joined #zope3-dev10:04
*** ktwilight__ has joined #zope3-dev10:07
*** El_Rolando has joined #zope3-dev10:11
*** JaRoel_ has joined #zope3-dev10:12
*** JaRoel has quit IRC10:12
mintsauceHi all, I'm getting the following error with zope/app/locales/pygettext.py line 221, in escape s[i] = escapes[ord(s[i])]10:13
mintsauceIndexError: list index out of range10:13
mintsauceThe index is 8216 ..... hmmm .. and wrapping it in a try except now gets me to a unicode error...10:17
*** ktwilight_ has quit IRC10:21
*** mkerrin has joined #zope3-dev10:22
yvlmintsauce, can you paste the full traceback?10:23
yvlhttp://paste.lisp.org/new/zope3-dev10:23
yvlit seems that you are (or somebody is) passing unicode string where it shouldn't be10:24
lisppaste6mintsauce pasted "i18nextract error" at http://paste.lisp.org/display/8321710:26
mintsauceYeah, thats what I just found ...... the second error is causing the first?10:27
mintsauce(just trying to work out how to earch for a certain unicode string in textmate!)10:27
mintsauce*earch = search10:27
yvlit should10:27
yvls[i] on a unicode string may get one byte worth of a character10:28
yvltry u'š'[0] and u'š'[1]10:29
yvland when doing that a value may fall outside the 32..126 range.10:31
*** zagy_ has quit IRC10:31
yvlsee make_escapes in pygettext.py10:31
yvlhmm10:34
yvlyou can try adding:  import pbd; pbd.set_trace()10:35
yvland then look which string caused this10:36
yvlit looks that you have non-ascii values in translatable strings somewhere in your project10:37
yvlbut I'm not familiar with that lovely recipe enough to help10:38
*** stub has quit IRC10:39
yvlI guess it is designed only to handle english originals of translatable strings10:39
*** zagy has joined #zope3-dev10:46
mintsauceyvl: (sorry only just noticed your replies) - Yup, putting the pdb in the suspect area to try and track it down :)10:50
*** jpcw has joined #zope3-dev10:52
*** bigkevmcd has left #zope3-dev10:56
*** stub has joined #zope3-dev11:03
*** tisto has joined #zope3-dev11:09
*** __mac__ has quit IRC11:09
*** junkafarian has joined #zope3-dev11:12
*** __mac__ has joined #zope3-dev11:16
*** junkafarian_ has joined #zope3-dev11:25
*** ktwilight__ has quit IRC11:29
*** ktwilight__ has joined #zope3-dev11:31
mintsauceFixed - it was a bunch of curly quotes, en dashes and a random line separator u2028 for good measure.11:32
yvl:)11:33
*** junkafarian has quit IRC11:40
*** lamike has joined #zope3-dev11:44
*** lamike has left #zope3-dev11:44
*** mkerrin has quit IRC11:59
*** JaRoel_ has quit IRC11:59
*** mintsauce has quit IRC11:59
*** JaRoel has joined #zope3-dev12:01
*** kaeru_ has quit IRC12:04
*** kaeru_ has joined #zope3-dev12:05
*** mkerrin has joined #zope3-dev12:10
*** junkafarian_ is now known as junk|home12:26
*** zagy has quit IRC12:28
*** allisterb_ has joined #zope3-dev12:53
*** junkafarian has joined #zope3-dev12:55
*** linmyat has quit IRC13:02
*** allisterb has quit IRC13:10
*** afd__ has joined #zope3-dev13:10
*** aaronv has joined #zope3-dev13:17
*** __mac__ has quit IRC13:19
*** afd_ has joined #zope3-dev13:22
*** afd__ has quit IRC13:22
*** kaeru_ has quit IRC13:25
*** kaeru_ has joined #zope3-dev13:25
*** yotaff has joined #zope3-dev13:26
*** markusleist has quit IRC13:26
*** __mac__ has joined #zope3-dev13:32
*** baijum has quit IRC13:35
*** baijum1 has joined #zope3-dev13:35
*** aaronv has quit IRC13:39
*** afd__ has joined #zope3-dev13:40
*** afd_ has quit IRC13:40
*** aaronv has joined #zope3-dev14:00
*** romanofs1i has quit IRC14:08
*** afd__ has quit IRC14:17
*** ignas has joined #zope3-dev14:21
*** projekt01 has joined #zope3-dev14:22
*** markusleist has joined #zope3-dev14:23
*** aaronv has quit IRC14:29
*** afd__ has joined #zope3-dev14:30
*** pelle_ has quit IRC14:48
*** JaRoel has quit IRC14:48
*** mgedmin has joined #zope3-dev14:49
*** JaRoel has joined #zope3-dev14:49
*** benji has joined #zope3-dev14:51
*** pelle_ has joined #zope3-dev14:52
*** romanofski has joined #zope3-dev14:52
*** hathawsh is now known as hath|away14:52
*** afd__ has quit IRC14:58
*** afd__ has joined #zope3-dev15:12
*** ignas has quit IRC15:18
*** El_Rolando has quit IRC15:19
*** El_Rolando has joined #zope3-dev15:20
*** jpcw has quit IRC15:20
*** ignas has joined #zope3-dev15:21
*** aaronv has joined #zope3-dev15:22
*** ktwilight_ has joined #zope3-dev15:29
*** gary_poster has joined #zope3-dev15:36
*** jpcw has joined #zope3-dev15:43
*** ktwilight__ has quit IRC15:44
*** cbcunc has joined #zope3-dev15:47
*** redir has joined #zope3-dev15:48
*** stub has quit IRC15:54
*** jamur2 has joined #zope3-dev16:00
*** J1m_ has joined #zope3-dev16:02
*** lurkymclurkleton has joined #zope3-dev16:05
*** junkafarian_ has joined #zope3-dev16:08
*** junkafarian has quit IRC16:18
*** romanofski has quit IRC16:23
*** alga has joined #zope3-dev16:38
*** Aiste has quit IRC16:40
*** ignas has quit IRC16:48
*** romanofski has joined #zope3-dev16:50
*** nathany has joined #zope3-dev16:53
*** nuffer has joined #zope3-dev17:02
nufferhey, I'm getting some nuffer ForbiddenAttribute exceptions that I don't really understand17:02
nuffercode is here: http://zope.pastey.net/11722517:02
nufferthe problem comes when I try to access a records "subrecords" field from a view17:02
nufferdoes anyone know why?17:02
*** dunny has quit IRC17:03
*** Janjo has joined #zope3-dev17:06
*** Janjo has quit IRC17:06
mgedminnuffer: what is the type of record.subrecords?17:08
nufferit's a list of SubRecord17:09
nufferat least I think it's a list... it's definitely some sort of list-like object17:10
*** El_Rolando has quit IRC17:10
*** sunoano has quit IRC17:10
goschtlnuffer: maybe you have to specify the value_type in your List(..)17:10
VladDracwhat's a clean way in a formlib.form's render() to detect if the form has been submitted?17:10
VladDracchecking if request.method == 'POST' ?17:11
nuffergoschtl: I tried before giving value_type = zope.schema.Object(schema = ISubRecord)17:11
nufferbut it didn't seem any happier with that...17:11
nufferI'm not even able to get the length of the list or anything, I haven't even gotten to trying to access elements from the list yet =P17:12
goschtlnuffer: sorry no idea...17:14
nufferand what's even weirder17:16
nufferis that from some views I can access this stuff17:16
nufferand not from others17:16
nuffereven though everything is zope.Public17:16
*** El_Rolando has joined #zope3-dev17:19
*** redir has quit IRC17:19
*** thekorn has quit IRC17:27
*** J1m_ has quit IRC17:27
*** sunoano has joined #zope3-dev17:27
*** J1m_ has joined #zope3-dev17:28
*** goschtl has quit IRC17:32
*** dvschramm has joined #zope3-dev17:41
*** baijum1 has quit IRC17:41
nuffergoschtl: the problem, btw, was that it wasn't really a list, it was a list-like class that sqlalchemy was handing back to me17:43
*** kaeru_ has quit IRC17:45
*** J1m_ has quit IRC17:48
*** J1m_ has joined #zope3-dev17:49
*** cshenton_ has joined #zope3-dev17:49
*** pelle_ has quit IRC17:50
*** cshenton has quit IRC17:55
*** Theuni1 has quit IRC17:57
*** sweh has quit IRC17:59
*** Theuni1 has joined #zope3-dev18:00
*** romanofski has quit IRC18:00
*** kaeru_ has joined #zope3-dev18:08
*** J1m_ has quit IRC18:10
*** J1m_ has joined #zope3-dev18:12
*** nuffer has quit IRC18:16
*** El_Rolando has quit IRC18:18
*** lamike has joined #zope3-dev18:18
*** lamike has left #zope3-dev18:18
*** thekorn has joined #zope3-dev18:19
*** Theuni1 has quit IRC18:23
*** JaRoel has quit IRC18:23
*** Theuni1 has joined #zope3-dev18:25
*** junkafarian has joined #zope3-dev18:26
*** redir_ has joined #zope3-dev18:29
*** alga has quit IRC18:32
*** junkafarian_ has quit IRC18:39
*** jukart has quit IRC18:39
*** SpeedyGhost has quit IRC18:41
*** baijum has joined #zope3-dev18:58
*** SpeedyGhost has joined #zope3-dev19:11
*** redir_ has quit IRC19:13
*** __mac__ has quit IRC19:14
*** redir has joined #zope3-dev19:15
*** baijum has quit IRC19:17
*** cshenton has joined #zope3-dev19:19
*** cshenton_ has quit IRC19:25
*** markusleist has quit IRC19:27
*** cshenton_ has joined #zope3-dev19:27
*** markusleist has joined #zope3-dev19:28
*** Theuni1 has quit IRC19:31
*** davisagli has joined #zope3-dev19:36
*** markusleist has quit IRC19:36
*** hath|away is now known as hathawsh19:42
*** kursor has joined #zope3-dev19:43
*** zagy has joined #zope3-dev19:44
*** cshenton has quit IRC19:44
*** SpeedyGhost has quit IRC19:46
*** menesis has joined #zope3-dev19:50
*** projekt01 has quit IRC19:54
*** pcardune has joined #zope3-dev20:01
*** cshenton has joined #zope3-dev20:02
*** JaRoel has joined #zope3-dev20:02
*** cshenton_ has quit IRC20:08
*** sweh has joined #zope3-dev20:14
*** jpcw has left #zope3-dev20:21
*** SpeedyGhost has joined #zope3-dev20:31
*** JaRoel is now known as JaRoel|afk20:49
*** jukart has joined #zope3-dev20:50
*** menesis has quit IRC20:52
*** zagy_ has joined #zope3-dev20:59
*** mkerrin has quit IRC21:02
*** jukart has quit IRC21:07
*** zagy has quit IRC21:09
*** alecm has joined #zope3-dev21:11
*** lucielejard has joined #zope3-dev21:14
*** pelle_ has joined #zope3-dev21:14
*** zagy has joined #zope3-dev21:16
*** JaRoel|afk is now known as JaRoel|4D21:17
*** markusleist has joined #zope3-dev21:21
*** zagy_ has quit IRC21:23
*** ktwilight__ has joined #zope3-dev21:29
*** alecm has quit IRC21:39
*** junkafarian has quit IRC21:39
*** afd__ has quit IRC21:39
*** sawdog has quit IRC21:39
*** dbfrombrc has quit IRC21:39
*** lucielejard has quit IRC21:39
*** cshenton has quit IRC21:39
*** gary_poster has quit IRC21:39
*** ktwilight_ has quit IRC21:39
*** benji has quit IRC21:39
*** tisto has quit IRC21:39
*** jhauser has quit IRC21:39
*** sidnei has quit IRC21:39
*** srichter has quit IRC21:39
*** djinni has quit IRC21:39
*** mcdonc has quit IRC21:39
*** markusleist has quit IRC21:39
*** pcardune has quit IRC21:39
*** kursor has quit IRC21:39
*** J1m_ has quit IRC21:39
*** junk|home has quit IRC21:39
*** sweh has quit IRC21:39
*** sunoano has quit IRC21:39
*** yotaff has quit IRC21:39
*** CSWookie_ has quit IRC21:39
*** aclark has quit IRC21:39
*** kaeru_ has quit IRC21:39
*** lurkymclurkleton has quit IRC21:39
*** BjornT has quit IRC21:39
*** fcorrea has quit IRC21:39
*** thekorn has quit IRC21:39
*** hathawsh has quit IRC21:39
*** andres has quit IRC21:39
*** davisagli has quit IRC21:39
*** aaronv has quit IRC21:39
*** redir has quit IRC21:39
*** nathany has quit IRC21:39
*** mgedmin has quit IRC21:39
*** allisterb_ has quit IRC21:39
*** yvl has quit IRC21:39
*** kiorky has quit IRC21:39
*** pelle_ has quit IRC21:39
*** cbcunc has quit IRC21:39
*** chaoflow has quit IRC21:39
*** VladDrac has quit IRC21:39
*** jamur2 has quit IRC21:39
*** hexsprite has quit IRC21:39
*** ktwilight__ has quit IRC21:39
*** kobold has quit IRC21:39
*** SpeedyGhost has quit IRC21:39
*** zagy has quit IRC21:39
*** JaRoel|4D has quit IRC21:39
*** dvschramm has quit IRC21:39
*** lisppaste6 has quit IRC21:39
*** run|away has quit IRC21:39
*** SteveA has quit IRC21:39
*** srichter has joined #zope3-dev21:40
*** jukart has joined #zope3-dev21:40
*** ktwilight__ has joined #zope3-dev21:40
*** markusleist has joined #zope3-dev21:40
*** zagy has joined #zope3-dev21:40
*** pelle_ has joined #zope3-dev21:40
*** lucielejard has joined #zope3-dev21:40
*** alecm has joined #zope3-dev21:40
*** SpeedyGhost has joined #zope3-dev21:40
*** sweh has joined #zope3-dev21:40
*** JaRoel|4D has joined #zope3-dev21:40
*** cshenton has joined #zope3-dev21:40
*** pcardune has joined #zope3-dev21:40
*** kursor has joined #zope3-dev21:40
*** davisagli has joined #zope3-dev21:40
*** redir has joined #zope3-dev21:40
*** junkafarian has joined #zope3-dev21:40
*** thekorn has joined #zope3-dev21:40
*** J1m_ has joined #zope3-dev21:40
*** kaeru_ has joined #zope3-dev21:40
*** dvschramm has joined #zope3-dev21:40
*** sunoano has joined #zope3-dev21:40
*** nathany has joined #zope3-dev21:40
*** lurkymclurkleton has joined #zope3-dev21:40
*** jamur2 has joined #zope3-dev21:40
*** cbcunc has joined #zope3-dev21:40
*** gary_poster has joined #zope3-dev21:40
*** ktwilight_ has joined #zope3-dev21:40
*** aaronv has joined #zope3-dev21:40
*** afd__ has joined #zope3-dev21:40
*** benji has joined #zope3-dev21:40
*** mgedmin has joined #zope3-dev21:40
*** yotaff has joined #zope3-dev21:40
*** allisterb_ has joined #zope3-dev21:40
*** junk|home has joined #zope3-dev21:40
*** jhauser has joined #zope3-dev21:40
*** CSWookie_ has joined #zope3-dev21:40
*** hathawsh has joined #zope3-dev21:40
*** sidnei has joined #zope3-dev21:40
*** lisppaste6 has joined #zope3-dev21:40
*** yvl has joined #zope3-dev21:40
*** sawdog has joined #zope3-dev21:40
*** kobold has joined #zope3-dev21:40
*** hexsprite has joined #zope3-dev21:40
*** djinni has joined #zope3-dev21:40
*** irc.freenode.net sets mode: +o srichter21:40
*** VladDrac has joined #zope3-dev21:40
*** kiorky has joined #zope3-dev21:40
*** mcdonc has joined #zope3-dev21:40
*** run|away has joined #zope3-dev21:40
*** andres has joined #zope3-dev21:40
*** SteveA has joined #zope3-dev21:40
*** BjornT has joined #zope3-dev21:40
*** aclark has joined #zope3-dev21:40
*** dbfrombrc has joined #zope3-dev21:40
*** fcorrea has joined #zope3-dev21:40
*** chaoflow has joined #zope3-dev21:40
*** JaRoel|4D has quit IRC21:41
*** JaRoel|4D has joined #zope3-dev21:41
*** ktwilight_ has quit IRC21:41
*** jukart has quit IRC21:46
*** aaronv has quit IRC21:50
*** markusleist has quit IRC21:55
*** zagy has quit IRC21:58
*** hathawsh is now known as hath|away22:02
*** nathany is now known as nathany_call22:06
*** ktwilight_ has joined #zope3-dev22:09
*** mgedmin has quit IRC22:16
*** kaeru_ has quit IRC22:20
*** ktwilight__ has quit IRC22:23
*** kaeru_ has joined #zope3-dev22:25
*** hath|away is now known as hathawsh22:30
*** skriv has joined #zope3-dev22:35
*** kursor has quit IRC22:37
*** greenman has joined #zope3-dev23:05
*** hathawsh has quit IRC23:06
*** junkafarian has quit IRC23:12
*** mgedmin has joined #zope3-dev23:16
*** sweh has quit IRC23:22
*** yotaff has quit IRC23:24
* kobold wonders if we can remove the dependency on zope.container from zope.app.publisher ...23:28
* mgedmin sighs and tries to remember how to create a standalone zope-3-based server23:32
benjiif it's a new project, zope-project worked the last time I tried it23:34
*** gary_poster has quit IRC23:35
*** aaronv has joined #zope3-dev23:37
mgedminmight be worth a try23:40
mgedminI want a ./script.py /path/to/Data.fs to start up a trivial z3-based webapp with that particular Data.fs open23:41
mgedminzopeproject /absolute/pathname = fail23:42
benjiif is a "trivial" app, then you might look at bobo23:42
mgedminzopeproject seems to be incompatible with python 2.6?23:44
benji<shrug>23:44
mgedmin:)23:44
* benji is (mostly) stuck on 2.423:45
* mgedmin is smeared between 2.4 and 2.623:45
benjihe23:45
*** jhauser has quit IRC23:45
kobolduhm, in theory it is possible to remove  the dependency on zope.container from zope.app.publisher, it is not complex23:48
koboldit is only needed in tests and in the configure.zcml of z.a.p.xmlrpc23:48
koboldthose zcml snippets should be moved to zope.container, where they really belong to23:49
*** afd__ has quit IRC23:51
*** markusleist has joined #zope3-dev23:51
*** SpeedyGhost has quit IRC23:52
*** SpeedyGhost has joined #zope3-dev23:53

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