IRC log of #zope for Wednesday, 2012-02-01

*** giacomos has joined #zope00:01
*** Spanktar has quit IRC00:08
*** Spanktar has joined #zope00:10
*** Spanktar has quit IRC00:10
*** Spanktar has joined #zope00:11
*** Spanktar has joined #zope00:12
*** Spanktar has quit IRC00:13
*** Spanktar has joined #zope00:14
*** Spanktar has joined #zope00:15
*** Spanktar has joined #zope00:15
*** AnneGilles has quit IRC00:35
*** Wu has quit IRC00:42
*** Spanktar has quit IRC00:47
*** Spanktar has joined #zope00:48
*** Spanktar has joined #zope00:48
*** teratorn has left #zope01:02
davetootextarea ==> list vs textarea ==> single string?01:12
davetoo(yeah, I think I just answered my own question there.  must be.)01:12
*** J1m has quit IRC01:26
*** supton has quit IRC01:29
*** giacomos has quit IRC01:32
*** TomBlockley has quit IRC01:35
*** alga has quit IRC01:40
*** supton has joined #zope01:44
*** nebo has quit IRC01:49
*** _mup_ has quit IRC02:00
*** _mup_ has joined #zope02:00
*** CIA-54 has quit IRC02:00
*** CIA-86 has joined #zope02:20
*** fredvd has quit IRC02:23
*** River_Rat has joined #zope02:31
*** RiverRat has quit IRC02:33
*** supton has quit IRC02:50
*** jham has quit IRC03:05
*** jham has joined #zope03:10
*** jham has joined #zope03:10
*** tiwula has quit IRC03:35
*** daMaestro has quit IRC03:43
*** davetoo has left #zope04:41
*** thetet has quit IRC05:52
*** tiwula has joined #zope06:27
*** River-Rat has joined #zope06:36
*** River_Rat has quit IRC06:38
*** Spanktar has quit IRC06:54
*** supton has joined #zope07:01
*** __mac__ has joined #zope07:05
*** __mac__ has quit IRC07:12
*** supton has quit IRC07:31
*** __mac__ has joined #zope07:44
*** __mac__ has quit IRC07:49
*** zagy has quit IRC08:10
*** sweh has joined #zope08:16
*** tisto has joined #zope08:46
*** tiwula has quit IRC09:01
*** __mac__ has joined #zope09:04
*** zagy has joined #zope09:08
*** zagy1 has joined #zope09:12
*** zagy1 has quit IRC09:12
*** zagy has quit IRC09:13
*** __mac__1 has joined #zope09:22
*** __mac__ has quit IRC09:22
*** __mac__ has joined #zope09:27
*** agroszer has joined #zope09:29
*** __mac__1 has quit IRC09:30
*** yvl has joined #zope09:30
*** alexpilz has joined #zope09:55
*** tisto is now known as tisto|away09:56
*** giacomos has joined #zope10:11
*** avoinea has joined #zope10:18
*** tisto_ has joined #zope10:19
*** tisto|away has quit IRC10:20
*** J1m has joined #zope10:27
*** Wu has joined #zope10:36
*** alexpilz has quit IRC10:36
*** menesis has joined #zope10:54
*** goschtl has joined #zope10:55
*** AnneGilles has joined #zope10:58
*** tisto_ is now known as tisto11:03
*** mitchell`off is now known as mitchell`11:08
*** giacomos has quit IRC11:14
*** giacomos has joined #zope11:14
*** mr_jolly has joined #zope11:20
*** TomBlockley has joined #zope11:26
*** alexpilz has joined #zope11:33
*** alexpilz has quit IRC12:08
*** davetoo has joined #zope12:11
*** __mac__1 has joined #zope12:12
*** __mac__ has quit IRC12:15
*** evilbungle has joined #zope12:15
*** alga has joined #zope12:21
*** alexpilz has joined #zope12:43
*** __mac__1 has quit IRC12:56
*** AnneGilles has quit IRC12:57
*** sweh has quit IRC12:58
*** AnneGilles has joined #zope12:58
*** thetet has joined #zope13:02
*** sunew has joined #zope13:03
*** fredvd has joined #zope13:05
*** do3cc has joined #zope13:10
*** AnneGilles has quit IRC13:16
*** sweh has joined #zope13:33
*** AnneGilles has joined #zope13:37
*** __mac__ has joined #zope13:41
*** eperez has joined #zope13:48
*** __mac__1 has joined #zope13:55
*** __mac__ has quit IRC13:59
*** __mac__1 is now known as __mac__14:04
*** davetoo has quit IRC14:10
*** fredvd|dinner has joined #zope14:17
*** fredvd has quit IRC14:17
*** fredvd has joined #zope14:20
*** fredvd|dinner has quit IRC14:20
*** J1m has quit IRC14:44
*** Wu has quit IRC15:06
*** tisto is now known as tisto|lunch15:12
*** mcdonc has quit IRC15:15
*** dayne has joined #zope15:18
*** dayne has quit IRC16:08
*** dayne has joined #zope16:09
*** J1m has joined #zope16:12
*** sweh has quit IRC16:21
*** AnneGilles_ has joined #zope16:34
*** AnneGilles has quit IRC16:34
*** AnneGilles_ is now known as AnneGilles16:34
*** dayne has quit IRC16:41
*** zenwryly has quit IRC16:46
*** alexpilz has quit IRC17:04
*** tiwula has joined #zope17:04
*** Wu has joined #zope17:07
*** tisto|lunch is now known as tisto17:18
*** mcdonc has joined #zope17:50
*** Brace has joined #zope17:57
BraceI've inherited an old zope/plone website, unfortunately the server crashed yesterday and it seems to have killed zope and the website won't come back up18:00
betabughow did you try to start it up?18:00
Bracewhen I run zopectl fg, I get messages such as ERROR root Exception while rendering an error message and AttributeError: main_template18:00
Braceand the website is at www.legulcerforums.org (for the error message there if you want to look at that)18:01
betabugBrace: can you put the output on a pastebin?18:01
betabugthe output of zopectl fg18:01
Bracezopectl in the zope instance bin/ dir, there is also a init.d script for zope which I've tried18:02
Braceok willdo18:02
Bracehttp://pastebin.com/bhBp7AXf18:03
Braceand it's legulcerforum.org (no 's' sorry)18:04
BraceI've tried completely restoring the whole instance from backups, but that doesn't seem to make any difference18:04
betabugdoesn't look like a broken db18:05
*** daMaestro has joined #zope18:09
betabugactually this doesn't look like errors you'd get when your zope doesn't want to start up18:10
Bracesorry, should be more explict, zope will start, but then doesn't display a site, the error message starts  'Site Error: An error was encountered while publishing this resource. '18:11
Braceif you go to http://www.legulcerforum.org/ you should see the error message18:11
mgedminBrace, can you log into the ZMI?18:12
betabugI avoid going to unknown sites that people give me on IRC :-)18:12
mgedminhttps://.../manage_main18:12
Bracebetabug: fair enough :D18:12
BraceI'll pastebin it for you18:12
Bracehttp://pastebin.com/xGE7d8im18:13
Bracemgedmin: yes, that does work18:13
mgedminBrace, if you go to the error log there, you should see a better traceback18:14
mgedminit should tell you which page template expression failed18:15
Brace'No exceptions logged' in the error_log18:15
mgedminoh?18:16
mgedminhave you restarted zope after you last got that error?18:16
Bracebut when I go to 'legulcerforums.org/manage_addProduct/SiteErrorLog/manage_addErrorLog' I get a site error18:16
Bracewell currently zope is running as 'zopectl fg' in a screen window18:17
BraceI guess I should start it properly?18:17
mgedminno, that's fine18:17
mgedminI don't remember if the error log gets wiped on restart, but it sounds plausible18:17
mgedminhttp://www.legulcerforum.org/ says "http://www.legulcerforum.org/news/folder_listing"18:18
mgedminand "(Also, the following error occurred while attempting to render the standard error message, please see the event log for full details: main_template)"18:18
* mgedmin shrugs18:19
mgedminyou need to debug this18:19
mgedmin(or restore from backups, if you're not up for debugging)18:19
Bracepart of the site is working - www.legulcerforum.org/imagebanks which uses ZPhotoSlides (I wouldn't visit that URL as Leg Ulcers are really horrible to look at)18:19
Bracesadly, these are the backups :(18:20
mgedminah! and here I was assuming "legulcer" was a french word or something18:20
BraceI've tried two different backup sets already18:20
Bracenope, it's not, it's a rather grim medical thing18:21
Braceok well thanks for your help, I'll start looking at the debugging section of the website18:22
*** yvl has quit IRC18:22
Braceis there any mileage in installing a more recent version of zope and trying that?  as the version on this server is *very* old?18:23
betabugyou need the version of zope that matches with your version of plone18:24
mgedminupgrading zope usually leads to more errors, not less18:24
mgedminas you find your products are incompatible etc.18:24
*** avoinea has quit IRC18:27
*** sunew has quit IRC18:32
*** agroszer has quit IRC18:39
Bracemgedmin: betabug: fair enough I had a feeling you'd say something like that18:42
Bracehow possible is it to recover the text and stuff from the site and put it all on another server?18:44
*** thetet has quit IRC18:44
mgedmindefinitely possible18:44
Bracei.e. is there a database viewer for the data.fs file?18:46
mgedminooh ooh ohh!18:48
mgedminhttp://pypi.python.org/pypi/zodbbrowser18:48
mgedminI've never tried it on Zope 2 files18:48
mgedminit'll probably fail18:48
mgedminbut it might work ;)18:48
BraceI'll give it a try, thanks :D18:49
mgedminI've also a set of tools for converting Zope 2 sites to static sites that parse the .zexp format produced when you import the site from the ZMI18:49
* mgedmin migrated his personal website from zope 2 to blogofile a couple of weeks ago and freed 1 gig of RAM on his server18:50
*** goschtl has quit IRC18:52
*** __mac__ has quit IRC18:54
Bracenever heard of blogofile, but looks a bit like the old Greymatter software18:56
Bracewhich I thought was really rather good18:56
*** Spanktar has joined #zope19:16
*** giacomos has quit IRC19:18
smhey congrats mgedmin19:23
smI've been meaning to do that forever19:23
*** tisto has quit IRC19:23
smthough mine is only using a couple of hundred M, but I can use those19:25
smI'll snapshot zwiki.org with wget, I think19:25
mgedminthat's what I did for out internal company zwiki19:25
mgedmin*our19:25
* mgedmin checks his /root/Changelog19:26
mgedminah, we wanted to upgrade that server to ubuntu 10.04, and discovered that zope2.10 and zope-zwiki were removed from the archive19:27
mgedminso I set up python-moinmoin instead and spidered the old wiki with wget19:27
mgedmin(oh that was a fun upgrade...)19:30
smbooo moinmoin! sssssss!19:31
mgedmin:)19:31
mgedminI briefly considered ikiwiki19:31
mgedminbut wasn't sure I wanted to hack perl if I needed something nonstandard19:32
smexactly...19:32
mgedminmoin was... painful19:32
smstill using it ?19:32
mgedminfor som evalues of using19:33
mgedmin10 edits since july 201119:33
*** thetet has joined #zope19:38
*** TomBlockley has quit IRC19:38
*** mitchell` is now known as mitchell`off19:41
*** m8 has joined #zope19:48
*** evilbungle has quit IRC20:08
*** zenwryly has joined #zope20:21
*** agroszer has joined #zope20:22
*** agroszer has quit IRC20:53
*** __mac__ has joined #zope20:56
*** evilbungle has joined #zope21:01
*** evilbungle has quit IRC21:02
*** mlechner has joined #zope21:28
*** sunew has joined #zope21:29
mlechnerzope2. is it possible to store files (images, audio, video) in a session? any documentation?21:29
mlechneranybody out there?21:37
* mgedmin is here, doesn't know the answer21:40
mlechnermgedmin: thank you. now I can be sure my question has been posted. ;-)21:42
*** povbot` is now known as povbot21:48
*** mlechner has quit IRC22:00
*** povbot has joined #zope22:02
betabugstoring images in a session? baaaaad idea22:18
*** ccomb has joined #zope22:30
*** AnneGilles has quit IRC22:43
J1mbetabug, why do you think storing images in sessions is a bad idea? We do it all the time. Works great.22:46
betabugreally?22:46
J1mYes22:46
betabugI learned long ago that session storage should be kept as small as possible22:46
betabugthough I don't remember where I got it from22:46
J1mI suspect we have different contexts and assumptions.22:47
J1mThe way people generalize about sessions is frustrating.22:47
J1mWe use ZODB-backed sessions with blobs.22:47
betabugwell, the guy asked about "zope2"22:47
J1mWe also keep the session store in the database where we'll end up storing the images, so we don't have to copy.22:47
J1mI assume some version of Zope 2 can work that way.22:48
J1mGotta go22:48
*** mr_jolly has quit IRC22:50
betabugthanx, hf!22:51
betabugwell, probably back in the days storing big stuff in the "standard" session wasn't a good idea22:52
betabugbut ofcoz, back then blobs were unheard of either :-)22:52
*** menesis has quit IRC22:58
*** AnneGilles has joined #zope23:02
*** menesis has joined #zope23:02
*** __mac__ has quit IRC23:13
*** ccomb has quit IRC23:21
*** River-Rat is now known as RiverRat23:54
*** f10w has quit IRC23:58

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