*** tiwula has quit IRC | 00:13 | |
*** Tr1pp3r has joined #zope | 00:47 | |
*** Tr1pp3r has quit IRC | 00:49 | |
*** J1m has left #zope | 01:49 | |
*** J1m has quit IRC | 01:49 | |
*** KageSenshi has joined #zope | 04:22 | |
*** srichter has quit IRC | 06:52 | |
*** povbot has joined #zope | 07:43 | |
*** kjs has quit IRC | 09:21 | |
*** kjs has joined #zope | 09:23 | |
*** kjs has joined #zope | 09:23 | |
*** jakke has joined #zope | 12:22 | |
jakke | Hi guys, I'm puzzled here, I'm building an rpm for a zope application, using a relocatable virtualenv | 12:23 |
---|---|---|
jakke | so far so good, but when I install the rpm, I get the error "ImportError: No module named Zope2.Starup" | 12:23 |
jakke | err s/Zope2.Starup/Zope2.Startup/ | 12:24 |
jakke | as 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 Linux | 12:24 |
jakke | any pointers? | 12:24 |
mgedmin | I thought ; was the path separator on windows | 12:26 |
mgedmin | and what do rpms have to do with windows? | 12:26 |
mgedmin | anyway, can you pastebin the command you're running and the full traceback? | 12:27 |
jakke | rpms have nothing to do with windows, it's just about the only thing I could find about the particular error | 12:32 |
jakke | interesting, the rpmbuild does startup, I'll gather the cmd and traceback for you mgedmin ! | 12:33 |
jakke | http://pastebin.com/WcCXfAjc | 12:36 |
mgedmin | can you pastebin the contents of "/opt/plone/backends_xdp_oracle/parts/instance/bin/interpreter"? | 12:37 |
mgedmin | it looks like a buildout-generated file | 12:37 |
mgedmin | those generally hardcode absolute pathnames | 12:37 |
jakke | yes, buildout generated file and using plone.recipe.zope2instance | 12:37 |
mgedmin | also, it migt be useful to see the contents of `bin/instance` | 12:38 |
jakke | you're absolutely right, it's hardcoded path location! | 12:38 |
mgedmin | also, where is bin/ ? | 12:38 |
jakke | bin is in the rpmbuild/BUILD folder, but needs to be installed (via rpm) in /opt/plone | 12:38 |
jakke | is 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 |
mgedmin | I'm unfamiliar with rpm, but perhaps you can use sed or something to adjust paths in your build script/ | 12:39 |
jakke | right :) | 12:39 |
mgedmin | I'm pretty sure buildout doesn't support a relocatable mode | 12:39 |
mgedmin | even virtualenv deprecated/removed its own support for that | 12:40 |
jakke | python hardly does | 12:40 |
jakke | indeed | 12:40 |
jakke | which is not an issue in itself, unless you want to build system packages (like rpm) | 12:40 |
mgedmin | sometimes this makes me mad, but then I remember all the other problems with python packaging and stop caring about this particular one | 12:40 |
jakke | oh, there is much more waiting for me? looking forward to it... . | 12:41 |
mgedmin | don't get me started on .pyc files hardcoding the absolute pathname of __file__ | 12:41 |
jakke | I drop the .pyc and pyo files for packaging, easiest solution | 12:41 |
*** fredvd has quit IRC | 12:41 | |
mgedmin | I know zope corp had some kind of solution for building rpms for deployment of buildout-based things | 12:42 |
mgedmin | was it https://pypi.python.org/pypi/zc.sourcerelease ? | 12:42 |
*** srichter has quit IRC | 12:42 | |
jakke | last update in 2012, guess it won't match anymore with current versions of zc.buildout, setuptools and other magical tools | 12:43 |
mgedmin | zc.buildout moves very slowly | 12:43 |
jakke | and I'm nearly there, not going to throw it around anymore | 12:43 |
mgedmin | probably a good decision | 12:44 |
jakke | we've had quite some issues with zc.buildout in the past,version numbers might not change much, but implementation sometimes changes much more | 12:44 |
jakke | ok, 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 #zope | 12:52 | |
*** giacomos has quit IRC | 13:18 | |
*** MrTango has joined #zope | 13:24 | |
*** MrTango has quit IRC | 13:55 | |
*** Tr1pp3r has joined #zope | 13:56 | |
*** m8 has joined #zope | 13:59 | |
*** srichter has joined #zope | 14:07 | |
*** srichter has quit IRC | 14:14 | |
*** srichter has joined #zope | 14:18 | |
*** srichter has quit IRC | 14:24 | |
*** srichter has joined #zope | 14:28 | |
*** Tr1pp3r has quit IRC | 14:32 | |
*** srichter has quit IRC | 14:38 | |
*** srichter has joined #zope | 14:38 | |
*** srichter has quit IRC | 14:42 | |
*** srichter has joined #zope | 14:42 | |
*** Arfrever has joined #zope | 14:44 | |
*** srichter has quit IRC | 14:46 | |
*** srichter has joined #zope | 14:46 | |
*** srichter has quit IRC | 14:50 | |
*** srichter has joined #zope | 14:50 | |
*** maurits has joined #zope | 15:34 | |
*** fredvd has joined #zope | 16:01 | |
*** yvl has quit IRC | 17:36 | |
*** roq_ has quit IRC | 18:32 | |
*** roq_ has joined #zope | 18:33 | |
*** avoinea has quit IRC | 18:39 | |
*** fredvd has quit IRC | 18:48 | |
*** avoinea has joined #zope | 18:58 | |
*** maurits has quit IRC | 19:23 | |
*** encolpe_ has quit IRC | 19:36 | |
*** encolpe has joined #zope | 19:40 | |
*** srichter has quit IRC | 19:49 | |
*** srichter has joined #zope | 19:55 | |
*** srichter has quit IRC | 19:59 | |
*** srichter has joined #zope | 20:01 | |
*** srichter has quit IRC | 20:05 | |
*** srichter has joined #zope | 20:07 | |
*** srichter has quit IRC | 20:11 | |
*** srichter has joined #zope | 20:17 | |
*** srichter has quit IRC | 20:25 | |
*** srichter has joined #zope | 20:27 | |
*** srichter has quit IRC | 20:33 | |
*** srichter has joined #zope | 20:37 | |
*** srichter has quit IRC | 20:41 | |
*** srichter has joined #zope | 20:49 | |
*** stereo_ has joined #zope | 20:50 | |
*** srichter has quit IRC | 20:53 | |
*** srichter has joined #zope | 20:53 | |
*** srichter has quit IRC | 20:57 | |
*** srichter has joined #zope | 21:07 | |
*** srichter has quit IRC | 21:11 | |
*** srichter has joined #zope | 21:13 | |
*** srichter has quit IRC | 21:17 | |
*** srichter has joined #zope | 21:21 | |
*** stereo_ has quit IRC | 21:26 | |
*** srichter has quit IRC | 21:27 | |
*** srichter has joined #zope | 21:29 | |
*** giacomos has joined #zope | 22:04 | |
*** srichter_ has joined #zope | 22:12 | |
*** srichter has quit IRC | 22:15 | |
*** srichter has joined #zope | 23:08 | |
*** giacomos has quit IRC | 23:23 | |
*** stereo_ has joined #zope | 23:29 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!