IRC log of #zope for Wednesday, 2017-06-14

*** Pumukel has quit IRC00:21
*** Pumukel has joined #zope00:22
*** Fox2 has joined #zope00:32
*** Fox2 has quit IRC00:38
*** Pumukel has quit IRC01:11
*** mup has quit IRC01:58
*** mup has joined #zope01:58
*** mup_ has joined #zope03:51
*** mup has quit IRC03:51
*** mup_ is now known as mup03:52
*** MatthewWilkes has quit IRC05:10
*** MatthewWilkes has joined #zope05:15
*** kulll has joined #zope06:21
*** galigan has joined #zope06:47
*** nilo has joined #zope08:55
*** El_Rolando has joined #zope09:26
*** alecm has quit IRC09:55
*** __mac__ has joined #zope10:31
*** projekt01 has joined #zope10:43
*** alecm has joined #zope10:57
*** alecm has joined #zope10:57
galiganWe have some troubles with errors routed throught SiteErrorLog, that when raven try to send them, hits with an unicode decode error...11:13
galigananyone has hit the same? Any idea where I should start looking?11:14
galiganIs a required dependency for zope the SiteErrorLog?11:15
galiganCan I go without it?11:15
*** alecm has quit IRC11:42
*** regebro has quit IRC12:10
*** regebro has joined #zope12:10
*** projekt01 has quit IRC12:40
*** MrTango has joined #zope12:44
*** srichter_ has quit IRC14:06
*** avoinea has quit IRC14:12
*** avoinea has joined #zope14:12
*** nilo has quit IRC14:25
*** nilo has joined #zope14:28
*** nilo has quit IRC14:33
*** nilo has joined #zope14:41
*** galigan has quit IRC15:23
*** adi_ has joined #zope15:37
*** adi_ has quit IRC15:38
*** agroszer has joined #zope15:39
agroszerping hannosch15:39
hannoschagroszer: pong15:39
agroszerhannosch, looks like zope.container-4.1.0-cp27-cp27mu-manylinux1_x86_64.whl breaks15:40
hannoschmmh, in what way?15:40
agroszerin a very weird way, it's _zope_container_contained.so seems to be wrong15:40
agroszerwe get TypeError: can't apply this __setattr__ to persistent.Persistent object15:41
agroszerto be more precise:15:42
agroszerTraceback (most recent call last):15:42
agroszer  File "/ve/local/lib/python2.7/site-packages/ZODB/Connection.py", line 800, in setstate15:42
agroszer    self._reader.setGhostState(obj, p)15:42
agroszer  File "/ve/local/lib/python2.7/site-packages/ZODB/serialize.py", line 623, in setGhostState15:42
agroszer    obj.__setstate__(state)15:42
agroszer  File "/ve/local/lib/python2.7/site-packages/zope/container/_proxy.py", line 53, in __setstate__15:42
agroszer    object.__setattr__(self, '__parent__', state[0])15:42
agroszerTypeError: can't apply this __setattr__ to persistent.Persistent object15:42
agroszerwhen I replace the so with a know-good the exception goes away15:42
hannoschwhich version of persistent do you have?15:42
agroszerpersistent==4.2.415:43
agroszerdo we need 4.2.4.2 ?15:43
hannoschok, and not 4.2.42?15:43
agroszernono15:44
agroszerpersistent==4.2.415:44
hannoschI meant 4.2.4.215:44
hannoschsorry, I had trouble with that version, breaks the Persistence tests15:44
agroszerf*15:44
agroszerI copied the above from requirements.txt15:45
betabughmm, there was someone here yesterday with that problem15:45
agroszerbut as it looks pip installed 4.2.4.215:45
hannoschah. no. that problem already happened with 4.2.315:45
agroszerlets rerun pip15:46
hannoschmmh, the so file seems ok, when I run ldd on it. doesn't look like it's using any wrong libraries15:48
hannoschwhat OS are you on?15:48
agroszerdunno, size differs here at least15:48
agroszerUbuntu 16.04.2 LTS x6415:49
hannoschthe manylinux builds are done on a centos 5 image, with really old libc and friends. so I'd assume size differences when linking against current libraries15:49
agroszerhannosch, does not matter whether I install persistent 4.2.4 or 4.2.4.215:52
agroszerfails with both15:52
hannoschok, what about 4.2.215:52
agroszergive me a se15:53
agroszerc15:53
hannoschor rather, can you just do: from zope.container._zope_container_contained import ContainedProxyBase15:54
hannoschand see what that gives you15:54
hannoschyou might run into the pure Python implementation15:54
agroszer4.2.2 fails too15:55
agroszergoing back to 4.2.415:56
agroszerhannosch,15:57
agroszerImportError: /work/shoobx/shoobx.app/ve/local/lib/python2.7/site-packages/zope/container/_zope_container_contained.so: undefined symbol: PyUnicodeUCS2_AsEncodedString15:57
hannoschgood. I get the same error15:57
hannoschbut the wheel metadata says this is a "mu" -> wide unicode wheek15:57
hannoschwheel15:57
hannoschand sys.maxunicode also says wide unicode15:57
hannoschit being 1114111, and not just 64k15:58
*** nilo has quit IRC15:59
hannoschaha, https://github.com/zopefoundation/BTrees/issues/70 sounds like the same problem16:05
hannoschit's a problem with the manylinux wheel builder itself16:05
hannoschagroszer: I've removed the Python 2.7 wheels for the zope.* projects, where I added them (zope.container zope.i18nmessageid zope.proxy zope.security)16:08
agroszerhannosch, thank you16:12
hannoschthanks for spotting this so quickly and telling me about my mistake :)16:13
hannoschthere's probably another bug here, where the C version of persistent and the Python version of zope.container don't work together16:14
*** lregebro has joined #zope16:16
*** regebro has quit IRC16:19
*** nilo has joined #zope16:31
*** agroszer has quit IRC16:33
*** galigan has joined #zope16:40
*** nilo has quit IRC16:47
*** alecm has joined #zope17:30
*** srichter has joined #zope17:41
*** __mac__ has quit IRC18:23
*** MrTango has quit IRC18:32
*** srichter has quit IRC18:47
*** srichter_ has joined #zope18:48
*** El_Rolando has quit IRC19:17
*** lregebro has quit IRC19:58
*** lregebro has joined #zope20:00
*** srichter_ has quit IRC20:14
*** srichter has joined #zope20:15
*** srichter_ has joined #zope20:18
*** srichter has quit IRC20:18
*** nilo has joined #zope20:59
*** __mac__ has joined #zope21:12
*** nilo has quit IRC21:39
*** nilo has joined #zope21:39
*** __mac__ has quit IRC21:42
*** nilo has quit IRC22:14
*** nilo has joined #zope22:15
*** nilo has quit IRC22:59
*** srichter_ has quit IRC23:20

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