IRC log of #zope for Wednesday, 2016-01-06

*** tiwula has quit IRC00:13
*** Tr1pp3r has joined #zope00:47
*** Tr1pp3r has quit IRC00:49
*** J1m has left #zope01:49
*** J1m has quit IRC01:49
*** KageSenshi has joined #zope04:22
*** srichter has quit IRC06:52
*** povbot has joined #zope07:43
*** kjs has quit IRC09:21
*** kjs has joined #zope09:23
*** kjs has joined #zope09:23
*** jakke has joined #zope12:22
jakkeHi guys, I'm puzzled here, I'm building an rpm for a  zope application, using a relocatable virtualenv12:23
jakkeso far so good, but when I install the rpm, I get the error "ImportError: No module named Zope2.Starup"12:23
jakkeerr s/Zope2.Starup/Zope2.Startup/12:24
jakkeas far as I can find, it has to do with the ":" as path separator on windows, but I don't seem to find anything documented about it on Linux12:24
jakkeany pointers?12:24
mgedminI thought ; was the path separator on windows12:26
mgedminand what do rpms have to do with windows?12:26
mgedminanyway, can you pastebin the command you're running and the full traceback?12:27
jakkerpms have nothing to do with windows, it's just about the only thing I could find about the particular error12:32
jakkeinteresting, the rpmbuild does startup, I'll gather the cmd and traceback for you mgedmin !12:33
jakkehttp://pastebin.com/WcCXfAjc12:36
mgedmincan you pastebin the contents of "/opt/plone/backends_xdp_oracle/parts/instance/bin/interpreter"?12:37
mgedminit looks like a buildout-generated file12:37
mgedminthose generally hardcode absolute pathnames12:37
jakkeyes, buildout generated file and using plone.recipe.zope2instance12:37
mgedminalso, it migt be useful to see the contents of `bin/instance`12:38
jakkeyou're absolutely right, it's hardcoded path location!12:38
mgedminalso, where is bin/ ?12:38
jakkebin is in the rpmbuild/BUILD folder, but needs to be installed (via rpm) in /opt/plone12:38
jakkeis there a way to make those buildout generated files relocatable, or do I sed the locations after building and before packaing my rpm?12:39
mgedminI'm unfamiliar with rpm, but perhaps you can use sed or something to adjust paths in your build script/12:39
jakkeright :)12:39
mgedminI'm pretty sure buildout doesn't support a relocatable mode12:39
mgedmineven virtualenv deprecated/removed its own support for that12:40
jakkepython hardly does12:40
jakkeindeed12:40
jakkewhich is not an issue in itself, unless you want to build system packages (like rpm)12:40
mgedminsometimes this makes me mad, but then I remember all the other problems with python packaging and stop caring about this particular one12:40
jakkeoh, there is much more waiting for me? looking forward to it... .12:41
mgedmindon't get me started on .pyc files hardcoding the absolute pathname of __file__12:41
jakkeI drop the .pyc and pyo files for packaging, easiest solution12:41
*** fredvd has quit IRC12:41
mgedminI know zope corp had some kind of solution for building rpms for deployment of buildout-based things12:42
mgedminwas it https://pypi.python.org/pypi/zc.sourcerelease ?12:42
*** srichter has quit IRC12:42
jakkelast update in 2012, guess it won't match anymore with current versions of zc.buildout, setuptools and other magical tools12:43
mgedminzc.buildout moves very slowly12:43
jakkeand I'm nearly there, not going to throw it around anymore12:43
mgedminprobably a good decision12:44
jakkewe've had quite some issues with zc.buildout in the past,version numbers might not change much, but implementation sometimes changes much more12:44
jakkeok, going to do some sed/regex magic to fix the issue, thx mgedmin, I owe you another beer, if we ever meet at a conference!12:45
*** giacomos has joined #zope12:52
*** giacomos has quit IRC13:18
*** MrTango has joined #zope13:24
*** MrTango has quit IRC13:55
*** Tr1pp3r has joined #zope13:56
*** m8 has joined #zope13:59
*** srichter has joined #zope14:07
*** srichter has quit IRC14:14
*** srichter has joined #zope14:18
*** srichter has quit IRC14:24
*** srichter has joined #zope14:28
*** Tr1pp3r has quit IRC14:32
*** srichter has quit IRC14:38
*** srichter has joined #zope14:38
*** srichter has quit IRC14:42
*** srichter has joined #zope14:42
*** Arfrever has joined #zope14:44
*** srichter has quit IRC14:46
*** srichter has joined #zope14:46
*** srichter has quit IRC14:50
*** srichter has joined #zope14:50
*** maurits has joined #zope15:34
*** fredvd has joined #zope16:01
*** yvl has quit IRC17:36
*** roq_ has quit IRC18:32
*** roq_ has joined #zope18:33
*** avoinea has quit IRC18:39
*** fredvd has quit IRC18:48
*** avoinea has joined #zope18:58
*** maurits has quit IRC19:23
*** encolpe_ has quit IRC19:36
*** encolpe has joined #zope19:40
*** srichter has quit IRC19:49
*** srichter has joined #zope19:55
*** srichter has quit IRC19:59
*** srichter has joined #zope20:01
*** srichter has quit IRC20:05
*** srichter has joined #zope20:07
*** srichter has quit IRC20:11
*** srichter has joined #zope20:17
*** srichter has quit IRC20:25
*** srichter has joined #zope20:27
*** srichter has quit IRC20:33
*** srichter has joined #zope20:37
*** srichter has quit IRC20:41
*** srichter has joined #zope20:49
*** stereo_ has joined #zope20:50
*** srichter has quit IRC20:53
*** srichter has joined #zope20:53
*** srichter has quit IRC20:57
*** srichter has joined #zope21:07
*** srichter has quit IRC21:11
*** srichter has joined #zope21:13
*** srichter has quit IRC21:17
*** srichter has joined #zope21:21
*** stereo_ has quit IRC21:26
*** srichter has quit IRC21:27
*** srichter has joined #zope21:29
*** giacomos has joined #zope22:04
*** srichter_ has joined #zope22:12
*** srichter has quit IRC22:15
*** srichter has joined #zope23:08
*** giacomos has quit IRC23:23
*** stereo_ has joined #zope23:29

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