IRC log of #zope for Tuesday, 2010-10-12

*** smita1 has joined #zope00:02
*** julesa has quit IRC00:05
*** d2m has quit IRC00:18
*** sunew has quit IRC00:26
*** timkack has joined #zope00:29
*** timkack has left #zope00:33
*** daMaestro has quit IRC00:35
*** Hypergraphe has quit IRC00:35
*** redir has joined #zope00:45
*** jim_SFU has quit IRC00:45
*** daMaestro has joined #zope00:49
*** xyld has joined #zope00:52
*** menesis has quit IRC00:56
*** xyld has quit IRC00:57
*** MatthewWilkes has quit IRC01:00
*** dunny has joined #zope01:03
*** smita1 has quit IRC01:09
*** J1m has quit IRC01:11
CIA-94andig andig-compositeindex * r117468 Zope/src/Products/PluginIndexes/CompositeIndex/ (util.py CompositeIndex.py): apply index refactored01:19
*** alexpilz has joined #zope01:40
*** alexpilz has quit IRC01:50
*** _mup_ has quit IRC02:05
*** _mup_ has joined #zope02:07
*** Zorb has joined #zope02:14
*** dayne has quit IRC02:16
*** evilbungle has quit IRC02:18
*** MrTango has quit IRC02:38
*** davetoo has joined #zope02:38
*** ccomb1 has quit IRC02:47
*** giampaolo has quit IRC02:50
*** davetoo has quit IRC02:55
*** daMaestro has quit IRC03:05
*** _mup_ has quit IRC03:20
*** Zorb has left #zope03:21
*** milosn has quit IRC03:21
*** milosn has joined #zope03:22
*** _mup_ has joined #zope03:22
*** f10w has quit IRC03:23
*** f10w has joined #zope03:23
*** davisagli is now known as davisagli|away03:45
*** tiwula has quit IRC04:03
*** alvaro_o has quit IRC04:34
*** davisagli|away is now known as davisagli04:48
*** davisagli is now known as davisagli|away04:49
*** mcdonc has quit IRC05:30
*** mcdonc has joined #zope05:31
*** mcdonc has quit IRC05:34
*** mcdonc has joined #zope05:35
*** mcdonc has quit IRC05:39
*** mcdonc has joined #zope05:40
*** huajie has joined #zope06:49
*** allisterb_ has joined #zope07:22
*** allisterb has quit IRC07:25
*** davisagli|away is now known as davisagli07:35
*** davisagli is now known as davisagli|away07:38
*** benji has quit IRC07:39
*** digitalmortician has quit IRC07:47
*** davisagli|away is now known as davisagli08:02
*** davisagli is now known as davisagli|away08:03
*** davisagli|away is now known as davisagli08:15
*** regebro has quit IRC08:16
*** regebro has joined #zope08:33
*** digitalmortician has joined #zope08:39
*** huajie has quit IRC08:39
*** digitalmortician has quit IRC08:41
*** digitalmortician has joined #zope08:41
*** JaRoel|4D has quit IRC08:41
*** zagy has joined #zope08:41
*** milele has quit IRC08:56
*** davisagli is now known as davisagli|away08:57
*** d2m has joined #zope09:20
*** alga has joined #zope09:22
*** smita1 has joined #zope09:23
*** alexpilz has joined #zope09:28
*** alexpilz1 has joined #zope09:29
*** alexpilz has quit IRC09:29
*** Theuni1 has quit IRC09:33
*** alexpilz1 has quit IRC09:33
*** tisto has joined #zope09:36
*** menesis has joined #zope09:37
*** hvidstue has joined #zope09:37
hvidstuehi everyone09:37
hvidstuecan somebody help me with setting op zope-3.4.x ..?09:38
d2mhvidstue: there is bluebream09:38
hvidstueI have read all the guides at zope.org, googled 'the entire net', tried in both Ubuntu and Slackware, but cannot get it to work :-/09:39
d2mwhat do you want to do?09:39
hvidstued2m: mmh, what is the difference ...? It seemed a bit unclear to me, when stumbled upon it09:39
hvidstued2m: I just want to install zope09:40
hvidstue(or BlueBream if you suggest that?)09:40
hvidstued2m: (the standard easy_install zopeproject way doesn't work (I get errors))09:41
d2mhttp://bluebream.zope.org/doc/1.0/gettingstarted.html09:41
hvidstuehttp://bluebream.zope.org/doc/1.0/gettingstarted.html09:42
*** tralala has joined #zope09:42
tralalabetabug: hi09:43
hvidstue*testing*09:47
*** bigkevmcd has quit IRC09:47
*** bigkevmcd has joined #zope09:49
hvidstued2m: mmh ... while downloading ... can I ask some clarifying questions ..?09:52
d2msure, go on09:52
hvidstued2m: mmh, I am comfused about the statement that zope 3 changed name to BlueBream .. but zope 3 and BlueBream are to different bests ... or ..?09:54
hvidstue* beasts09:54
hvidstued2m: and confused about the not working guides at zope.org, and missing hyperlinks to bluebream.zope.org from mainsite zope.org09:55
d2mwhere in special?09:55
*** JaRoel|4D has joined #zope09:55
hvidstueall the zope 3 guides saying use easy_install and zopeproject does not work in Slackware nor Ubuntu :-/09:56
hvidstuewhere in special?   <<< ?09:58
*** agroszer has joined #zope09:58
d2mlets say, people stopped to maintain out of date documentation on zope.org09:58
d2mhvidstue: http://bluebream.posterous.com/bluebream-born-again-zope-310:01
hvidstued2m: heehee .. I have figured that out now, with your help, guiding me towards BlueBream ... which I have now installed and up and running ... piece of cake :)10:01
hvidstueaaah, so Zope 3 was abandoned, and from the ashes rose BlueBream, right ..?10:02
betabugtralala: hey there10:04
tralalahave you got a few minutes to help me with zope testing?10:05
tralalaor to point me to some docs about it10:06
tralalaThe developers guide doesn't even touch the funtional testing api10:07
betabugI'll give it a try :-)10:07
betabugwhat's the problem?10:07
*** Theuni1 has joined #zope10:08
tralalafor a start where do I put the tests?10:08
tralalaI don't have a product10:08
hvidstued2m: anyways ... I am up and running ... thanks for your help and time :)10:08
betabugeither in a folder called "tests" in your product or ....10:08
betabugups10:08
d2mhvidstue: yw10:09
betabugtralala: your code is in the ZMI?10:09
*** touff has quit IRC10:09
tralalaand zopectl doesn't find them in instance/lib/python/tests10:09
betabugwhere is your code?10:09
tralalabetabug: lib/python and Extensions10:09
betabughmmmm10:10
tralalaI have an external method and a couple of modules10:10
* betabug scratching his head10:11
*** hvidstue has quit IRC10:11
betabugI guess having things in lib/python is quite modern :-)10:11
*** huajie has joined #zope10:11
betabugpersonally I'd invest 1 hour or so and move things into a product, but honestly it could be that I'm outdated10:12
tralalaI'm reading testrunner.py now trying to figure out where it's searching for tests10:12
betabugyeah, maybe that's an idea10:12
*** nitrogenycs has joined #zope10:12
tralalabetabug: what would be an hour for you is probably going to be (at least) a couple of days for me. I do want to do it and learn about products but this project is already overdue and other things are piling up10:14
betabughmmm, maybe10:14
betabugtralala: but just take a moment and download the BetaBoring sample product to have a look at it: papakiteliatziar.gr/BetaBoring10:15
tralalaone more thing - what's self in functional.txt?10:15
*** MJ has joined #zope10:16
betabugI guess it's the base of the ZODB, what "app" or something would be in a debug prompt10:16
*** touff has joined #zope10:16
betabugsince you can do self.folder to get to the "folder" where you can instantiate things10:17
tralalabetabug: I've been through in a couple of times, but every time I try to do something on my own a lot of questions start popping up. The kind of questions that are not answered in the docs and need quite a lot of experimenting to figure out.10:18
betabughmmm10:18
betabugyou can always ask me :-)10:18
betabugI can help much more with that than with lib/python :-)10:19
tralalaanyhow let me see if I can make zopectl work for me without a product10:19
betabugdid you find anything in the testrunner?10:19
tralalastill searching10:19
betabugok10:20
*** tisto is now known as tisto|away10:30
*** touff has quit IRC10:31
*** planetzopebot has quit IRC10:33
*** MrTango has joined #zope10:33
*** planetzopebot has joined #zope10:34
*** tisto|away has quit IRC10:35
*** pepeu has joined #zope10:35
*** pepeu has left #zope10:35
*** neo|4D has joined #zope10:40
tralalabetabug: do you have to do anything to register functional_test.py with the framework?10:41
betabugno10:41
betabugit greps for _test.py in the name10:42
*** touff has joined #zope10:44
*** bobo_b has joined #zope10:47
tralalaI found it! Yay! It wants tests to be a package10:47
betabugaha10:47
*** chaoflow has quit IRC10:47
*** chaoflow has joined #zope10:50
tralalaso now I get this:10:52
tralalaModule: dcr.tests.test  AttributeError: 'module' object has no attribute 'test_suite'10:52
betabughmmm, let me check my code10:53
betabugin my test_xy.py files (or xy_test.py, same thing), there is usually a def test_suite():10:54
betabugI think in zwiki code you could find examples10:54
tralalaI don't have tests.test, I just have tests.functional_tests10:54
betabughmm10:54
tralalaand zwiki doesn't have either10:54
betabugdon't know if that matters10:54
betabuglet me check10:54
*** d2m has quit IRC10:55
betabugdo you have def test_suite in your tests.functional_tests?10:56
*** d2m has joined #zope10:56
tralalasorry my bad!10:57
tralalaI did have test.py by mistake10:57
betabugaha :-)10:57
tralalabetabug: yes, it's a copy from zwiki. I had to rename it to test.py to make it work, but that's ok10:58
betabugaha10:58
CIA-94adamg * r117469 zope.wineggbuilder/master.cfg: fix log rotating11:02
*** alexpilz has joined #zope11:10
*** giampaolo has joined #zope11:19
*** mitchell`off is now known as mitchell`11:22
*** evilbungle has joined #zope11:24
*** evilbungle has quit IRC11:36
*** ccomb has joined #zope11:36
*** nitrogenycs has quit IRC11:41
*** gwik has quit IRC11:42
*** goschtl has joined #zope11:54
*** evilbungle has joined #zope12:03
*** ccomb has quit IRC12:09
*** gwik has joined #zope12:12
*** huajie has quit IRC12:15
*** mr_jolly has joined #zope12:17
*** nitrogenycs has joined #zope12:23
*** mr_jolly has left #zope12:32
*** mr_jolly_ has joined #zope12:32
*** teix has joined #zope12:35
*** ccomb has joined #zope12:35
regebroMeh. Zope testbrowser does not like the zope record type forms.12:40
betabugregebro: this kind of thing? name = browser.getControl(name='new_font.Name:record')12:43
*** sunew has joined #zope12:46
regebrobetabug: Yes. Because there are two of them. And they are checkboxes.12:56
betabuguse the index?12:57
regebrobetabug: Well that doesn't seem to work. It seems testbrowser merges these checkboxes into one listcontrol.12:57
betabugoh12:57
regebroAnd you can then set that to [None, 'True'].12:58
regebrohowever, when given to Zope, it will think I checekd the first one, not the second one.12:58
betabugstrange12:59
regebroThere is a bug in here somewhere, cause by checkboxes being braindead.12:59
regebroWhoever specced the HTML form should get unched in the face retroactively for pure stupidity.12:59
betabug[x] punch them13:00
betabug[x] hit them13:00
regebroHow can you design a protocol where there is no difference between "False" and "Does not exist"?13:00
regebroHow stupid is that?13:00
betabugyeah13:01
regebroAnyway, I guess testbrowser does't preserve field order or something like that.13:01
betabughmmm, that would be a bug, right?13:02
regebroI probably can't do anything about it, and have to drop from testbrowser to the API.13:02
betabugIIRC order with these things should be there13:02
regebrobetabug: Yeah.13:02
*** fredvd has joined #zope13:03
*** saju_m has joined #zope13:08
regebrobetabug: It is in fact a non feature. Reading the source points this out. An error would probably be better...13:09
betabugaha13:09
*** thetet has joined #zope13:17
CIA-94charlie_x * r117470 Products.CMFDefault/Products/CMFDefault/browser/search/search.py: Class-level variables should never be mutable.13:19
CIA-94charlie_x * r117471 Products.CMFDefault/Products/CMFDefault/browser/search/tests/test_search.py: Testing of query handling split into two tests.13:19
*** neo|4D has quit IRC13:31
*** MJ has quit IRC13:44
*** MJ has joined #zope13:47
*** d2m1 has joined #zope13:50
*** d2m has quit IRC13:52
*** milele has joined #zope14:01
*** fredvd has quit IRC14:07
*** ccomb has quit IRC14:22
*** MatthewWilkes has joined #zope14:34
CIA-94janwijbrand * r117472 z3c.bcrypt/ (. /src): ignores14:37
*** fredvd has joined #zope14:40
mgedminmmm, z3c.bcrypt sounds delicious14:44
*** tisto has joined #zope14:48
*** neo|4D has joined #zope14:49
*** ccomb has joined #zope15:00
*** fredvd is now known as fredvd|lunchshop15:16
*** huajie has joined #zope15:33
*** janjaapdriessen has joined #zope15:45
*** kosh has quit IRC15:55
*** kosh has joined #zope15:56
*** benji has joined #zope15:56
*** redir has quit IRC16:00
*** redir has joined #zope16:01
*** J1m has joined #zope16:02
*** sunew has quit IRC16:03
*** ccomb has quit IRC16:18
*** dunny has quit IRC16:22
*** dunny has joined #zope16:25
*** ktenney has joined #zope16:26
CIA-94charlie_x * r117473 Products.CMFDefault/Products/CMFDefault/browser/ (13 files in 2 dirs): Workflow views added.16:33
_mup_Bug #659162 was filed: ILocalSiteManager subs attribute keeps subsites referenced after deleting. <zope.site:New> <https://launchpad.net/bugs/659162>16:34
*** thetet has quit IRC16:38
*** ccomb has joined #zope16:39
*** mr_jolly_ has quit IRC16:39
*** Theuni1 has quit IRC16:40
*** dunny has quit IRC16:44
CIA-94charlie_x * r117474 Products.CMFDefault/Products/CMFDefault/browser/workflow/TODO.txt: Documentation updated16:49
*** Theuni1 has joined #zope16:57
*** jim_SFU has joined #zope16:57
*** dayne has joined #zope16:59
*** davisagli|away is now known as davisagli17:15
*** tralala has quit IRC17:16
*** alga has quit IRC17:19
*** davisagli is now known as davisagli|away17:22
*** yuvilio has joined #zope17:36
*** saju_m has quit IRC17:38
*** shastry has joined #zope17:41
*** shastry has joined #zope17:41
*** fredvd|lunchshop is now known as fredvd17:44
*** Guest99727 is now known as Moo-_-17:47
*** allisterb_ has quit IRC17:52
*** webmaven has joined #zope17:55
*** davisagli|away is now known as davisagli17:59
*** Charlie_X has joined #zope18:00
CIA-94janwijbrand * r117475 zope.app.authentication/ (7 files in 2 dirs): try to lift the dependency on zope.app.form. z.a.form still is an indirect test dependency though.18:01
CIA-94janjaapdriessen * r117476 grokui.introspector/ (/bootstrap.py .): inlined bootstrap.py18:01
*** deux has joined #zope18:01
Theuni1here18:01
*** MJ has quit IRC18:01
Charlie_XHi18:01
Theuni1so, agroszer you there?18:02
agroszeryup18:02
agroszerhey18:02
Theuni1Adam wanted to talk about the summit goals.18:02
Theuni1agroszer: anything in particular?18:03
Charlie_XTimescales are missing.18:03
Theuni1true18:03
*** mitchell` is now known as mitchell`off18:04
Theuni1I wanted to gather the details from people directly at the meeting but I failed to record them.18:04
Theuni1I think I will personally write to everyone asking him to get the details (like time scale).18:04
Theuni1Actually, if people are here who signed up for goals, we can write them down now18:04
Theuni1Anyone?18:04
Theuni1oh, me.18:05
Theuni1I wanted to organize the next Zope sprints.18:05
agroszerwell,18:05
Charlie_XSeeing as you've already put up a Wiki, people can edit it directly.18:05
agroszerthe questin is why to have goals if noone is chasing them18:05
* Charlie_X has already put in his timescale.18:05
agroszer+o18:05
Theuni1I think I can do that until the end of the year. The Zope foundation board also talked about announcing sprints explicitly for the next Pycon and Europython to increase visibility. But we also wanted to have dedicated sprints so I need to gather topics for that.18:06
* mgedmin signed up to fix 5 most incomprehensible error messages by the end of the year18:06
agroszeror I just don't see any results yet18:06
Theuni1mgedmin: I remembered that. How is that going?18:06
mgedminum ... research is ongoing18:06
Theuni1agroszer: people might just have gone home very tired and we need to bring everyone up to speed again.18:06
agroszerlet's do that!18:07
*** allisterb has joined #zope18:07
Theuni1Thats why they might be able to put it in themselves but I think bringing it to everyones attention again will help.18:07
*** janjaapdriessen has quit IRC18:07
Charlie_Xmgedmin: I think you just need to follow Chris Withers' e-mails!18:08
Charlie_XTheuni1: I *deliberately* didn't summarise last week. Did you look at the logs?18:08
mgedminCharlie_X, he's mostly dealing with Zope 2; I'm mostly interested in ZTK/Bluebream18:08
Theuni1Charlie_X: i did. I had trouble summarizing and then didn't have any more time.18:08
Theuni1Charlie_X: hmm?18:09
agroszermgedmin, you'll get them as soon as they happen18:09
Theuni1which reminds me18:09
* mgedmin was baffled by LocationError when in fact an attribute was not mentioned in the security declaration, so this is target #118:09
Theuni1i'll send out the information that mgedmin is looking for obscure errors to our internal list, some people don't follow zope-dev that closely18:09
*** OiPolloi has joined #zope18:09
Theuni1I've updated my goal description in the wiki.18:12
Charlie_XI also suggested a bug day. Response has been astonishing by its absence.18:12
Theuni1right.18:12
Theuni1The last bug days had the issue of people subscribing but not being able to attend.18:12
*** smita1 has quit IRC18:13
*** baijum has joined #zope18:13
Theuni1For me personally that reflects just how unpredictable availability is.18:14
*** janjaapdriessen has joined #zope18:14
Theuni1I wonder whether that means we need to figure out different scheduling, or whether interest of people is different, or what.18:14
Theuni1Charlie_X: what are your thoughts?18:14
agroszermight be just bad luck18:15
agroszeron other days there were more people than subscribed as I remember18:15
*** MadRobot has joined #zope18:15
Charlie_XWhether or not someone can actually take part on a particular day is not so important. I think bug days help people think about all the unfinished bugs in the various projects. But we do need to energise things a bit more.18:16
Theuni1I've been bad at energising the last weeks as the post-party/summit/conference/sprint backlash got the most of me.18:17
Theuni1When would the next bug day be due?18:17
Charlie_XThat's understandable.18:17
Charlie_XEnd of the month. I put a doodle up.18:17
Charlie_Xhttp://doodle.com/ctf2bbied4xteayn18:17
Charlie_XEven just two hours on a bug day can be good.18:18
agroszeranything that moves forward is good18:19
Charlie_XSo, even though I spent most of my last bug day on new CMF stuff I did review existing bugs and closed two.18:19
*** alexpilz has quit IRC18:19
Charlie_XMaybe just chattering about what we're planning to do on the ML would be good.18:19
Charlie_XSo come bug day you don't go: "What am I going to do today?"18:20
Charlie_XI still feel like an idiot when it comes to programming so it's nice to know that others might be around who are at least thinking about bugs.18:21
Theuni1Charlie_X: sounds like a good idea. So if I'm going to participate, I could write to the list and say "hey, I'd like to work in this area, is there anything people think about fixing these bugs: ..."?18:21
Theuni1That would also allow people to do some stuff maybe a day before or after18:22
Charlie_XYes, something along those lines.18:22
Charlie_XI realise I'm still obliged to complete the nagging bit of my script.18:22
*** fredvd is now known as fredvd|shopagain18:24
Theuni1there you go :)18:24
*** zagy has quit IRC18:25
*** daMaestro has joined #zope18:25
Theuni1Hmm. See, I don't care about which bug day it's going to be, because that week is completely blocked for customer work anyway. But I'll try to make two hours or so.18:25
Charlie_XThat would be good.18:25
Theuni1Maybe we should point this out a lot more.18:25
Theuni1That the bug day doesn't mean you have to commit all day.18:26
Theuni1Just that that's the day where different people will work on stuff.18:26
Charlie_XWe probably more "triaging".18:26
Theuni1I tried something like that during an IRC meeting once, but that didn't help.18:26
*** alexpilz has joined #zope18:26
Theuni1Maybe really all the participants should take a few minutes beforehand and start discussions on the issues on the mailing list.18:26
Theuni1I'll try to do that for myself, maybe others follow.18:26
Charlie_XGood idea.18:27
agroszerML might be better for this, for timezone issues too18:27
Theuni1ok guys, I need to run again. busy times.18:27
*** alexpilz has quit IRC18:27
Charlie_XThanks, Theuni118:27
Charlie_Xagroszer: ML in advance, sure.18:28
*** alexpilz has joined #zope18:28
agroszermail-list, I just don't like typing a lot18:29
*** fredvd|shopagain is now known as fredvd18:29
agroszerwell thx guys, gotta run too18:30
CIA-94janjaapdriessen * r117477 /Sandbox/janjaapdriessen/buildbot/buildout.cfg: zope.broken does not define any tests18:30
CIA-94ldr * r117478 Products.PluggableAuthService/ (2 files in 2 dirs): Allow for a query string in CookieAuthHelper's login_path.18:30
*** MatthewWilkes has quit IRC18:30
*** Charlie_X has left #zope18:32
*** cwarner has joined #zope18:36
*** cwarner_ has joined #zope18:37
*** janjaapdriessen has quit IRC18:38
*** cwarner__ has joined #zope18:38
*** cwarner___ has joined #zope18:39
*** cwarner has quit IRC18:41
*** goschtl has quit IRC18:42
*** cwarner_ has quit IRC18:42
*** cwarner__ has quit IRC18:43
*** cwarner___ has quit IRC18:44
*** JaRoel|4D has quit IRC18:45
*** cwarner has joined #zope18:46
*** sunew has joined #zope18:49
CIA-94janjaapdriessen * r117479 /Sandbox/janjaapdriessen/buildbot/buildout.cfg: Remove grokui.introspector from buildbot18:57
*** cwarner has quit IRC18:58
*** tiwula has joined #zope18:59
*** ccomb has quit IRC19:01
*** redir has quit IRC19:01
*** giampaolo has quit IRC19:05
*** fredvd is now known as fredvd|food19:12
*** benji is now known as benji-lunch19:14
*** Theuni1 has quit IRC19:18
*** alvaro_o has joined #zope19:33
*** huajie has quit IRC19:39
*** alexpilz has quit IRC19:39
*** yvl has quit IRC19:40
*** OiPolloi has quit IRC19:44
*** tisto has quit IRC19:44
*** shastry_ has joined #zope19:52
*** shastry has quit IRC19:54
*** shastry_ has quit IRC19:58
*** Theuni1 has joined #zope20:00
*** benji-lunch is now known as benji20:03
*** baijum has quit IRC20:11
*** redir has joined #zope20:13
*** Theuni1 has quit IRC20:26
*** ccomb has joined #zope20:29
*** OiPolloi has joined #zope20:32
OiPolloihello, I have a question, but don't know if this is the best place to ask it. I have a ZenOSS installation, which uses Zope underneath. I tried to do an export/import of an object from another installation, through ZMI, and it went wrong. Now I have an invalid (?) object that I can't delete... Any way of deleting it through Python?20:35
OiPolloior forcing it's deletion through ZMI?20:35
OiPolloiwhen I try to delete it through ZMI, I get "An error was encountered while publishing this resource. The requested resource does not exist."20:37
mgedminouch20:39
OiPolloii know that the object contains several "Relationships" (toOneRelationship, toManyRelationship) and that one of says "This relationship does not currently point to an object"20:40
OiPolloiwhen it should be20:40
OiPolloianyway, I don't know much about Zope, but I thought that there should be a way of forcing the removal of this object, either through ZMI or directly through ZODB20:41
mgedminthere definitely is a way20:44
mgedminmake a backup of the Data.fs, just in case20:44
mgedminhave you tried to undo the transaction that imported this object?20:44
OiPolloimmm.. no20:44
OiPolloiwe have Data.fs backed up20:44
OiPolloiunfortunatly, the last backup we have is immediatly after the change20:44
mgedminthen any false suggestions I make won't destroy your data, good ;)20:45
mgedminUndo tab in the ZMI would be my first attempt20:45
OiPolloioh20:45
OiPolloihadn't noticed it :)20:45
OiPolloilet's see20:45
mgedminit's not a panacea20:45
mgedminbut usually works to undo the last thing you changed20:46
mgedminalthough I shouldn't be throwing words like 'usually' about, given that I hardly use Zope 2 ...20:46
*** alexpilz has joined #zope20:48
*** alexpilz1 has joined #zope20:51
OiPolloii don't think it's working20:52
OiPolloii have a few transactions after the "import" one20:53
OiPolloishould I do them all at once, or one by one?20:53
*** alexpilz2 has joined #zope20:53
mgedminyou can try just one; if Zope thinks the latter ones touched the same data, it will refuse to undo20:53
mgedminthen you might try undoing them all20:53
*** alexpilz2 has quit IRC20:54
*** alexpilz has quit IRC20:54
OiPolloijust that one gives a "NotImplementedError"20:54
OiPolloiundoing them all the same error20:55
OiPolloi:S20:55
mgedminwhich Zope version is this?20:55
OiPolloi2.1 I think20:55
*** alexpilz1 has quit IRC20:56
OiPolloiyes, 2.120:56
mgedmineh? when I started Zope stuff 8 years ago, I think I started with 2.420:57
mgedmindo you perhaps mean 2.10?20:57
mgedmin(it's not a floating point number)20:57
OiPolloisorry20:57
OiPolloihehe20:57
OiPolloiit was the number of the Zope Public License20:57
mgedmin:)20:57
OiPolloii'm not thinking straight at this time20:57
OiPolloihow can i find out?20:58
mgedmin/Control_Panel shows it, IIRC20:58
OiPolloiZope 2.12.120:59
OiPolloifound it another place20:59
mgedmincould very well be that undo got broken a version or two ago, and nobody noticed/fixed it20:59
mgedminsuch is the sad state of Zope 2 these days :(20:59
OiPolloi:(21:00
davisagliOiPolloi: try the latest Zope 2.12.x; I know it was broken at some point in the 2.12 series but I think it works now21:00
mgedminpossible approaches: open the Data.fs from a Python prompt, find the offending object, remove it21:00
mgedminupgrade to the latest Zope 2.12, try the undo again (thanks, davisagli!)21:01
*** allisterb has quit IRC21:01
mgedmintruncate the Data.fs just before the transaction that imported the broken object -- Data.fs is append-only21:01
OiPolloidavisagli: mmm, this is a ZenOSS installation, I don't know if I can update Zope21:01
mgedmin(unless you pack it)21:01
davisagliOiPolloi: dunno, you'd have to ask Zenoss folks21:01
OiPolloiI tried editing Data.fs a while ago21:01
davisagliOiPolloi: does zenoss use ZEO, or run the db in the same process as Zope?21:02
OiPolloizeo, I think21:02
OiPolloithere's a zeoctl process21:02
davisagliOiPolloi: k. the zeo process needs to have ZopeUndo in its python environment21:02
mgedminzodbbrowser has a rudimentary undo capability, but I think it has a bug that prevents its usage on Zope 2's data.fs'es21:03
mgedminre: updating zope behind ZenOSS's back -- you could install a temporary copy of the latest 2.12 anywhere, copy the Data.fs, open it, undo the bad transaction, stop your temporary Zope, copy the Data.fs back21:04
mgedmin(while ZenOSS is stopped, obviously -- replacing the Data.fs when it's open is not a good idea)21:04
OiPolloimgedmin: that's a good idea21:04
OiPolloimaybe the simplest to do21:04
OiPolloidavisagli: how do I check if zeo has ZopeUndo in its python environment?21:05
mgedminwait till you try to discover how to install Zope 2.12 ...21:05
* mgedmin sighs21:05
OiPolloii think it has21:06
OiPolloi. /usr/local/zenoss/python/lib/python2.6/site-packages/Zope2-2.12.1-py2.6-linux-x86_64.egg/ZopeUndo21:06
davisagliyeah, ok21:06
OiPolloithis exists, at least21:07
davisagliOiPolloi: the issue I recalled had to do with it being missing, so I don't know if upgrading Zope 2.12 will fix your problem with undo or not21:07
OiPolloihehe21:08
OiPolloiweird21:08
OiPolloion the zope site, the latest stable version is 2.11.4?21:08
*** deux has quit IRC21:08
OiPolloioh wait, there's a zope2.zope.org site21:08
OiPolloi2.12.12 is the latest21:09
OiPolloireleased 10 days ago21:09
*** allisterb has joined #zope21:15
*** yuvilio has quit IRC21:16
*** agroszer has quit IRC21:23
*** zagy has joined #zope21:33
*** cbcunc has joined #zope21:33
*** zagy has quit IRC21:33
*** zagy has joined #zope21:33
*** alga has joined #zope21:43
OiPolloithanks for the help.. i'll try to finish the recovery tomorrow21:48
OiPolloimany thanks :)21:49
*** OiPolloi has quit IRC21:49
*** sunew has quit IRC21:51
*** allisterb has quit IRC21:59
*** rnix has quit IRC22:02
*** gwik has quit IRC22:03
*** rnix has joined #zope22:03
*** allisterb has joined #zope22:12
*** teix has left #zope22:16
CIA-94charlie_x * r117480 Products.CMFDefault/Products/CMFDefault/Portal.py:22:18
CIA-94Logging code removed.22:18
CIA-94manage_options set explicitly to remove "properties" which can be handled within the site.22:18
*** mr_jolly has joined #zope22:24
*** redir has quit IRC22:27
*** gwik has joined #zope22:28
*** redir has joined #zope22:34
*** mr_jolly has quit IRC22:35
*** daMaestro has quit IRC22:39
*** daMaestro has joined #zope22:39
*** MatthewWilkes has joined #zope22:39
*** fredvd|food is now known as fredvd22:44
*** zagy has quit IRC22:44
*** regebro has quit IRC22:52
*** gmonnerat has joined #zope22:56
gmonneratsomeone have one samples with xinha on zope ?22:56
*** dunny has joined #zope22:57
*** smita1 has joined #zope23:03
*** hever has joined #zope23:03
*** gmonnerat has quit IRC23:05
*** hever has quit IRC23:08
*** hever has joined #zope23:09
*** MJ has joined #zope23:14
*** MJ has quit IRC23:17
*** evilbungle has quit IRC23:23
*** gwik has quit IRC23:40
*** MatthewWilkes has quit IRC23:47
*** MatthewWilkes has joined #zope23:49
*** ktenney has quit IRC23:51

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