*** zenwryly has quit IRC | 00:04 | |
*** J1m_ has quit IRC | 00:19 | |
*** alexpilz has quit IRC | 00:30 | |
*** zenwryly has joined #zope | 00:31 | |
*** mcdonc has joined #zope | 00:53 | |
*** evilbungle has quit IRC | 01:32 | |
*** evilbungle has joined #zope | 01:33 | |
*** alga has quit IRC | 01:33 | |
*** ccomb has quit IRC | 01:51 | |
*** jshell has quit IRC | 01:57 | |
*** sunew has quit IRC | 02:21 | |
*** sunew has joined #zope | 02:34 | |
*** Arfrever has quit IRC | 02:44 | |
*** J1m_ has joined #zope | 02:44 | |
*** sunew has quit IRC | 02:55 | |
*** tiwula has quit IRC | 03:01 | |
*** J1m_ has quit IRC | 03:14 | |
*** Spanktar has quit IRC | 03:24 | |
*** Spanktar has joined #zope | 03:25 | |
*** redir has quit IRC | 03:28 | |
*** mr_jolly has joined #zope | 03:41 | |
*** supton has quit IRC | 03:45 | |
*** Spanktar has quit IRC | 03:55 | |
*** mr_jolly has left #zope | 03:55 | |
*** evilbungle has quit IRC | 04:05 | |
*** daMaestro has quit IRC | 04:31 | |
*** redir has joined #zope | 04:41 | |
*** supton has joined #zope | 05:21 | |
*** davisagli has quit IRC | 05:21 | |
*** davisagli has joined #zope | 05:22 | |
*** tiwula has joined #zope | 05:37 | |
*** dayne has joined #zope | 06:18 | |
*** River_Rat is now known as RiverRat | 06:45 | |
*** supton has quit IRC | 06:47 | |
*** kleist has joined #zope | 07:00 | |
*** davisagli has quit IRC | 08:19 | |
*** davisagli has joined #zope | 08:19 | |
*** bobo_b has quit IRC | 08:32 | |
*** bobo_b has joined #zope | 08:35 | |
*** tisto has joined #zope | 09:05 | |
*** __mac__ has joined #zope | 09:06 | |
*** zagy has joined #zope | 09:08 | |
*** altipard has joined #zope | 09:08 | |
*** tiwula has quit IRC | 09:19 | |
*** altipard has quit IRC | 09:25 | |
*** altipard has joined #zope | 09:25 | |
*** altipard has quit IRC | 09:26 | |
CIA-83 | icemac * r121514 zope.security/ (3 files in 2 dirs): Fixed circular import beween ``zope.security.decorator`` and ``zope.security.proxy`` by moving the code leading to the ``ImportError`` from proxy to decorator | 09:27 |
---|---|---|
CIA-83 | icemac * r121515 zope.security/ (CHANGES.txt setup.py): Preparing release 3.8.1 | 09:27 |
CIA-83 | icemac * r121516 /zope.security/tags/3.8.1: Tagging 3.8.1 | 09:27 |
*** bigkevmcd has joined #zope | 09:28 | |
*** wosc has joined #zope | 09:31 | |
*** menesis has joined #zope | 09:32 | |
*** goschtl has joined #zope | 09:34 | |
stoffus | zope 2.7: I'm having some problems when starting zope instances through /etc/init.d/zope - the PID file is created correctly, but the "Waiting instances in late" exits with "timeout: 30". Any help with troubleshooting is appreciated! | 09:44 |
*** paddy has joined #zope | 09:46 | |
zagy | try "zope fg" | 09:51 |
zagy | this produced an error message | 09:51 |
zagy | or look into the log file | 09:51 |
stoffus | the only log file I can find is Z2-detailed.log and it says: "U 000000000 2011-05-03T08:50:19 System startup" | 09:52 |
stoffus | zope fg - how? I have no bin called zope | 09:53 |
*** agroszer has joined #zope | 09:53 | |
stoffus | oh sorry, you meant /etc/init.d/zope fg? | 09:53 |
wosc | yup | 09:53 |
stoffus | that gives me "Usage ..." | 09:54 |
wosc | it's possible though that this debian init-script doesn't support that | 09:54 |
wosc | tadaa | 09:54 |
stoffus | spot on | 09:54 |
wosc | we had this dance a few days ago, didn't we? | 09:54 |
stoffus | indeed we did | 09:54 |
wosc | did you find a "stock" zopectl in the meantime? | 09:54 |
stoffus | I went with CnP from the old machine since that seems to be our only option | 09:54 |
wosc | right | 09:55 |
* wosc doesn't know what the debian guys did there, unfortunately | 09:55 | |
stoffus | we're soooo cloooose! | 09:55 |
stoffus | it's like almost starting! | 09:55 |
wosc | could you paste that init-script again? | 09:55 |
wosc | here's hoping they haven't butchered it too much... | 09:55 |
stoffus | http://pastie.org/1859484 | 09:56 |
wosc | and /usr/sbin/zopectl please | 09:56 |
stoffus | http://pastie.org/1859486 | 09:57 |
wosc | rats | 09:57 |
* wosc digs | 09:58 | |
stoffus | there is a file created every time I run /etc/init.d/zope called /var/run/zope/default/Z2.pid, which contains a process ID | 10:04 |
stoffus | but the process ID doesn't exist in ps aux (or it disappears like really fast) | 10:05 |
stoffus | the latter is more likely since the ps aux command gives me a higher PID | 10:05 |
stoffus | I've tried to catch some exceptions throughout the class hierarchy but with no result | 10:06 |
*** planetzopebot has quit IRC | 10:08 | |
*** planetzopebot has joined #zope | 10:09 | |
*** Wu has joined #zope | 10:09 | |
stoffus | there are no pcgi files created though | 10:10 |
*** seppo14 has joined #zope | 10:11 | |
*** seppo14 has left #zope | 10:11 | |
betabug | I'd download a 2.7 tarball, get the zopectl out of it, edit the paths inside and run it | 10:13 |
betabug | or I'd ask kosh, he runs debian IIRC | 10:13 |
bigkevmcd | or download the 2.7 tarball, remove the debian package | 10:13 |
bigkevmcd | and install it sensibly | 10:13 |
betabug | yeah, and just move products and db to a new instance created with a clean install | 10:13 |
stoffus | there are no products, and the DB seems to be empty so | 10:14 |
stoffus | I mean, only default products | 10:14 |
betabug | uh? if it's empty, why all the hassle? | 10:14 |
betabug | there are no default products | 10:14 |
stoffus | hmm | 10:14 |
betabug | unless you mean those that are built in to zope (like PageTemplates, BTreeFolder2) | 10:14 |
stoffus | yes exactly | 10:15 |
betabug | but these are not in the instance | 10:15 |
stoffus | nope | 10:15 |
betabug | so, if the instance has no products and an empty db, why bother? | 10:16 |
betabug | what else would there be? | 10:16 |
stoffus | I don't know really | 10:17 |
betabug | quite pointless then unless you find out first? | 10:17 |
bigkevmcd | if the database is empty, then it's unlikely to magically generate some content | 10:17 |
betabug | especially without products | 10:18 |
stoffus | so really, just download a 2.7 tarball and install it, and then create an instance with the same settings as the instance on the old machine | 10:18 |
bigkevmcd | "with the same settings" ? | 10:18 |
betabug | and copy the Data.fs in there | 10:18 |
stoffus | bigkevmcd: port settings and such | 10:18 |
*** digitalmortician has joined #zope | 10:22 | |
CIA-83 | icemac * r121517 zope.security/ (CHANGES.txt setup.py): Back to development: 3.8.2 | 10:23 |
CIA-83 | icemac * r121518 zc.shortcut/ (4 files in 2 dirs): | 10:23 |
CIA-83 | * Declared missing dependencies in `setup.py` so package might run on ZTK 1.1. | 10:23 |
CIA-83 | * Added test extra to declare test dependency on ``zope.app.testing``. | 10:23 |
CIA-83 | * Fixed obvious test failures on ZTK 1.1. | 10:23 |
CIA-83 | icemac * r121519 zc.shortcut/ (14 files in 2 dirs): Conform to repository policy. | 10:23 |
*** menesis has quit IRC | 10:25 | |
*** wosc_ has joined #zope | 10:29 | |
*** wosc has quit IRC | 10:30 | |
*** alga has joined #zope | 10:44 | |
*** ccomb has joined #zope | 10:51 | |
*** avoinea has joined #zope | 11:07 | |
*** avoinea has quit IRC | 11:07 | |
*** avoinea has joined #zope | 11:07 | |
*** mitchell`off is now known as mitchell` | 11:11 | |
*** redir has quit IRC | 11:16 | |
*** wosc_ has quit IRC | 11:32 | |
*** wosc has joined #zope | 11:33 | |
*** TomBlockley has joined #zope | 11:35 | |
*** sylvain has joined #zope | 11:40 | |
*** alexpilz has joined #zope | 11:40 | |
*** eperez has joined #zope | 11:46 | |
*** menesis has joined #zope | 11:47 | |
*** zobbo has joined #zope | 11:47 | |
*** thetet has joined #zope | 12:02 | |
*** fredvd has joined #zope | 12:16 | |
*** goschtl has quit IRC | 12:18 | |
*** goschtl has joined #zope | 12:19 | |
*** evilbungle has joined #zope | 12:22 | |
*** zobbo is now known as zobbo|bbl | 12:25 | |
*** tisto is now known as tisto|away | 12:27 | |
*** altipard has joined #zope | 12:27 | |
*** altipard has left #zope | 12:28 | |
*** menesis has quit IRC | 12:38 | |
stoffus | okay, so I managed to get zope2.7 up and running together with python2.3 on a debian 6 machine. however, there is a z2.py script that I can't find on the clean install, which has a crucial part like this: http://pastie.org/1859788 | 12:39 |
stoffus | where /usr/bill/www is the main root for the web app | 12:39 |
*** menesis has joined #zope | 12:41 | |
stoffus | how do I implement the same functionality with my new, clean install? | 12:41 |
betabug | the first part just sets up interface and port, you have that in zope.conf | 12:51 |
betabug | the 2nd part would probably be done with RewriteRules in apache config (or whatever webserver config) | 12:52 |
betabug | well, I've never seen this kind of stuff before | 12:53 |
betabug | stoffus: if you set the port and address in zope.conf, the instance should come up and you can see what's in there | 12:56 |
betabug | I don't know what sys.path.insert(0,'/usr/bill/www') would be there for, maybe some kind of product living there? | 12:57 |
betabug | my = zhttp_handler('main', '') | 12:57 |
betabug | means to map the folder "main" in the ZODB to the / url - I guess | 12:57 |
betabug | and my = zhttp_handler('ldabill', 'bill') | 12:57 |
*** teix has joined #zope | 12:58 | |
betabug | would be to map "ldabill" in the zodb to "bill" | 12:58 |
betabug | those two you can take straight to the witch I guess | 12:58 |
*** altipard has joined #zope | 13:18 | |
*** MrTango has joined #zope | 13:35 | |
*** ccomb1 has joined #zope | 13:42 | |
*** ccomb has quit IRC | 13:46 | |
*** ccomb1 has quit IRC | 13:48 | |
*** tisto|away is now known as tisto | 13:51 | |
*** paddy has quit IRC | 14:16 | |
*** zobbo|bbl is now known as zobbo | 14:42 | |
CIA-83 | adamg * r121520 z3c.form/ (src/z3c/form/widget.py CHANGES.txt src/z3c/form/widget.txt): Clarify MultiWidget.extract(), when there are zero items, this is now [] instead of <NO_VALUE> | 14:43 |
*** dayne has quit IRC | 14:46 | |
*** dayne has joined #zope | 14:48 | |
*** J1m_ has joined #zope | 15:12 | |
*** zobbo has quit IRC | 15:12 | |
*** J1m_ has quit IRC | 15:15 | |
stoffus | SO, betabug wosc: a new approach, say I want to merge the site into zope - how do I proceed? :) | 15:16 |
betabug | merge? | 15:17 |
stoffus | okay, I mean to make the web app using zope "for real", using ZODB for example, and then use apache in the front to rewrite the URLS | 15:20 |
betabug | ok | 15:20 |
betabug | install a zope from source, create an instance | 15:21 |
betabug | put in any Products / Extensions | 15:21 |
betabug | put in the Data.fs file (as a copy) | 15:21 |
*** fredvd has quit IRC | 15:21 | |
betabug | adjust ports in instance/etc/zope.conf | 15:21 |
stoffus | so far so good | 15:21 |
betabug | and then go to betabug.ch/zope/witch to get RewriteRules for you 2 rewrites you need | 15:22 |
betabug | put them into your apache virtual host setup | 15:22 |
betabug | last step: fix all the stuff you got wrong in the first try of all this :-) | 15:22 |
stoffus | haha | 15:22 |
stoffus | I'm stuck on the last step | 15:22 |
stoffus | the problem is "Where the base of the site is at the Zope subdirectory: " | 15:23 |
stoffus | the Data.fs contains nothing btw, it's even smaller than a Data.fs from a fresh instance | 15:23 |
betabug | well, does zope start? | 15:24 |
betabug | do you get to the ZMI? | 15:24 |
stoffus | yes | 15:24 |
betabug | are there any folders (or folderish items in there)? | 15:24 |
stoffus | should I cnp all Data.fs* or just the actual Data.fs file? I have .index etc. | 15:27 |
betabug | you only need Data.fs | 15:28 |
betabug | the index is regenerated, the locks etc you don't need | 15:29 |
stoffus | okay | 15:29 |
stoffus | well, then no "folders" except temp_folder | 15:30 |
betabug | is there supposed to be data in there? | 15:30 |
betabug | maybe they sent you on a wild goose chase? | 15:30 |
stoffus | I'm guessing no, what would normally be in there? | 15:31 |
stoffus | as I see it, they only use zope to be able to use the zhttp_server | 15:32 |
betabug | for what purpose? | 15:32 |
stoffus | or ZServer | 15:32 |
betabug | why would anybody use ZServer without using Zope? | 15:32 |
stoffus | don't ask me, some rookie liked the word "Zope"? | 15:33 |
betabug | well, you've got 2 rewrites in the config file you pasted | 15:33 |
betabug | "main" -> "/" and the other one I don't remember | 15:33 |
stoffus | yeah, main and ldabill | 15:34 |
betabug | there is that other setup line that links to some www directory that I don't understnad | 15:34 |
betabug | the rewrites are easy | 15:35 |
stoffus | sys.path.insert(0,'/usr/bill/www') | 15:35 |
betabug | some python stuff in there? | 15:35 |
stoffus | yep, main.py and ldabill.py | 15:35 |
betabug | hmm, no idea then | 15:36 |
betabug | indeed this does not really look like a zope app | 15:36 |
betabug | more like something that would be done with wsgi or paster these days | 15:36 |
stoffus | I'm guessing the system was developed some 10 years ago | 15:37 |
stoffus | maybe I'd be better of using apache + mod_python and change the REQUEST and RESPONSE objects into their corresponding objects in apache? | 15:38 |
betabug | no idea | 15:38 |
stoffus | (I know you don't want to hear that...) | 15:39 |
betabug | but I'd guess you'd be better off trying to get it into something wsgi based then | 15:39 |
betabug | pyramid uses something to give you a pre-packages request thing | 15:39 |
*** sunew has joined #zope | 15:40 | |
wosc | stoffus: if that ldabill.py looks like that's all it wants from zope, you're probably better of hooking that into something other than zope | 15:40 |
wosc | if you know mod_python, sure, go with that, otherwise I second betabug's wsgi recommendation | 15:41 |
stoffus | I think the only zopeish in the app is the REQUEST and RESPONSE objects, and I'd do almost anything to not have to replace them | 15:44 |
wosc | well, choice a) get that Zope to run, or b) use some other "container" and write a mapping from its requests to the zope-requests and pass those on to your app | 15:45 |
wosc | but, yeah, depending on what the app does with the request there might be some zopeisms involved after all | 15:46 |
wosc | isn't there some kind of form parsing going on, for example? (I don't know much about zope2) | 15:46 |
*** huajie has joined #zope | 15:49 | |
stoffus | not that I can find, there seems to be static forms, and values are being fetched like confirm_answer=REQUEST.form['confirm_answer'] | 15:50 |
betabug | well if they use "something:list" in forms, that would be zopeish | 15:50 |
betabug | the problem seems to be that they don't really use zope, but this Z2.py setup thing | 15:51 |
*** fredvd has joined #zope | 15:52 | |
*** sunew has quit IRC | 16:00 | |
*** J1m_ has joined #zope | 16:02 | |
stoffus | betabug: exactly, the z2.py is a bit odd | 16:13 |
*** dayne has quit IRC | 16:28 | |
*** slackrunner has joined #zope | 16:33 | |
CIA-83 | erico_andrei 2.2 * r121521 Products.DCWorkflow/Products/DCWorkflow/ (exportimport.py tests/test_exportimport.py CHANGES.txt): Fix an issue with Generic Setup and non-ascii chars in workflow definition | 16:33 |
*** __mac__ has quit IRC | 16:40 | |
*** wosc has quit IRC | 16:44 | |
*** huajie has quit IRC | 16:46 | |
*** fredvd has quit IRC | 16:54 | |
*** redir has joined #zope | 17:01 | |
*** TomBlockley has quit IRC | 17:03 | |
*** tisto is now known as tisto|away | 17:03 | |
*** evilbungle has quit IRC | 17:04 | |
*** shastry has joined #zope | 17:10 | |
*** J1m_ has quit IRC | 17:48 | |
*** slackrunner has quit IRC | 17:48 | |
kosh | hail freaks! | 17:51 |
*** alvaro_o has joined #zope | 17:53 | |
betabug | hey kosh | 17:53 |
*** alvaro_o has quit IRC | 17:53 | |
*** evilbungle has joined #zope | 17:57 | |
kosh | so how are things going? | 17:57 |
betabug | just about to leave the office | 17:58 |
kosh | ah well have fun with that | 18:00 |
kosh | make sure godzilla does not step on you | 18:00 |
betabug | I feed him your marshmallows | 18:00 |
betabug | anyway, cya! | 18:00 |
*** altipard has quit IRC | 18:06 | |
*** goschtl has quit IRC | 18:11 | |
*** __mac__ has joined #zope | 18:11 | |
*** tiwula has joined #zope | 18:14 | |
*** __mac__ has quit IRC | 18:16 | |
*** zagy has quit IRC | 18:24 | |
*** TresEquis has joined #zope | 18:38 | |
*** agroszer has quit IRC | 18:42 | |
*** MrWu has joined #zope | 18:55 | |
*** J1m has joined #zope | 19:00 | |
*** tisto|away is now known as tisto | 19:09 | |
*** Wu has quit IRC | 19:14 | |
*** MrWu is now known as Wu | 19:14 | |
*** eperez has quit IRC | 19:19 | |
*** ccomb has joined #zope | 19:20 | |
*** Spanktar has joined #zope | 19:24 | |
*** redir has quit IRC | 19:26 | |
*** kleist has quit IRC | 19:30 | |
*** slackrunner has joined #zope | 19:36 | |
*** avoinea has left #zope | 19:40 | |
*** jshell has joined #zope | 19:40 | |
*** J1m has quit IRC | 19:40 | |
*** thetet has quit IRC | 19:57 | |
*** pjfd4 has joined #zope | 20:02 | |
pjfd4 | #join #bluebream | 20:02 |
*** sylvain has quit IRC | 20:12 | |
*** pjfd2 has joined #zope | 20:18 | |
*** pjfd4 has quit IRC | 20:19 | |
*** pjfd4 has joined #zope | 20:33 | |
*** evilbungle has quit IRC | 20:35 | |
*** pjfd2 has quit IRC | 20:35 | |
*** menesis has quit IRC | 20:35 | |
*** tisto has quit IRC | 20:42 | |
*** redir has joined #zope | 20:45 | |
*** m8 has joined #zope | 20:47 | |
*** Arfrever has joined #zope | 20:58 | |
*** avoinea has joined #zope | 20:58 | |
*** avoinea has left #zope | 21:00 | |
*** Wu has quit IRC | 21:24 | |
*** zagy has joined #zope | 21:28 | |
*** menesis has joined #zope | 21:30 | |
*** supton has joined #zope | 21:36 | |
*** goschtl has joined #zope | 21:39 | |
CIA-83 | ldr * r121522 plone.z3cform/ (plone/z3cform/templates/macros.pt docs/HISTORY.txt): Define 'hidden' within field macro. | 21:39 |
*** supton has quit IRC | 21:40 | |
*** supton has joined #zope | 21:40 | |
*** goschtl has quit IRC | 21:42 | |
*** slackrunner has quit IRC | 21:55 | |
*** pjfd2 has joined #zope | 22:09 | |
*** pjfd4 has quit IRC | 22:10 | |
*** teix has left #zope | 22:16 | |
*** zagy has quit IRC | 22:23 | |
*** digitalmortician has quit IRC | 22:28 | |
CIA-83 | ldr * r121523 plone.z3cform/ (docs/HISTORY.txt setup.py): Prepare plone.z3cform 0.7.4. | 22:38 |
CIA-83 | ldr * r121524 /plone.z3cform/tags/0.7.4: Tagged plone.z3cform 0.7.4. | 22:38 |
CIA-83 | ldr * r121525 plone.z3cform/ (docs/HISTORY.txt setup.py): bump version | 22:38 |
CIA-83 | ldr * r121526 plone.z3cform/plone/z3cform/traversal.py: Make traversal.py valid python2.4 | 22:38 |
CIA-83 | ldr * r121527 plone.z3cform/ (plone/z3cform/configure.zcml docs/HISTORY.txt): Revert [120798] as it breaks on Zope2.10 / Plone 3.3. We can deal with Zope 2.14 in 0.8.x | 22:38 |
*** goschtl has joined #zope | 22:43 | |
*** goschtl has left #zope | 22:56 | |
CIA-83 | ldr * r121528 plone.z3cform/ (3 files in 2 dirs): | 23:49 |
CIA-83 | * Split traversal tests for Zope2.10, not all traversal functionality is | 23:49 |
CIA-83 | supported on Zope 2.10 and different errors are raised. | 23:49 |
CIA-83 | ldr * r121529 plone.z3cform/plone/z3cform/traversal.py: Fix error introduced while making it runon python 2.4 | 23:49 |
CIA-83 | ldr * r121530 plone.z3cform/ (3 files in 2 dirs): | 23:49 |
CIA-83 | Fix traversal tests on Zope 2.10 to handle TraversalError instead of | 23:49 |
CIA-83 | LocationError. | 23:49 |
CIA-83 | ldr * r121531 plone.z3cform/docs/HISTORY.txt: Prepare plone.z3cform 0.7.5. | 23:49 |
CIA-83 | ldr * r121532 /plone.z3cform/tags/0.7.5: Tagged plone.z3cform 0.7.5. | 23:49 |
*** digitalmortician has joined #zope | 23:50 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!