IRC log of #zope for Friday, 2011-09-16

*** runyaga has quit IRC00:09
*** m8 has quit IRC00:42
*** sp0cksbeard has quit IRC00:47
*** Wu has quit IRC00:54
*** thetet has quit IRC01:01
*** TresEquis has quit IRC01:06
*** bigkevmcd has quit IRC01:12
*** zenwryly has quit IRC01:13
*** zenwryly has joined #zope01:13
*** ccomb has joined #zope01:40
*** supton has quit IRC01:42
*** supton has joined #zope01:43
*** J1m has quit IRC01:44
*** Arfrever has joined #zope01:49
*** supton has quit IRC02:03
*** rbanffy has quit IRC02:04
*** hever has quit IRC02:28
*** runyaga has joined #zope02:34
*** runyaga has quit IRC02:34
*** runyaga has joined #zope02:34
*** sunew has quit IRC02:38
*** evilbungle has joined #zope02:41
*** runyaga has quit IRC02:52
*** daMaestro has quit IRC02:56
*** _mup_ has quit IRC03:00
*** _mup_ has joined #zope03:00
*** evilbungle has quit IRC03:03
*** _srichter has quit IRC03:06
*** _srichter has joined #zope03:06
*** mr_jolly has left #zope03:10
*** tiwula has quit IRC03:11
*** evilbungle has joined #zope03:15
*** sp0cksbeard has joined #zope03:19
*** evilbungle has quit IRC03:35
*** ccomb has quit IRC03:48
*** Arfrever has quit IRC04:46
*** dayne has joined #zope06:07
*** sp0cksbeard has quit IRC06:23
*** dayne has quit IRC06:46
*** patul has joined #zope06:55
*** River-Rat has joined #zope07:19
*** River_Rat has quit IRC07:22
*** Sada has joined #zope07:31
*** Sada has quit IRC07:32
*** Sada has joined #zope07:36
*** Rakshith has joined #zope07:57
*** Dikeshwar has joined #zope07:58
*** Allmity has joined #zope08:05
*** Gautam has joined #zope08:17
*** Gautam is now known as Guest2345508:18
*** tisto has joined #zope08:28
*** alga has quit IRC08:33
*** tisto has quit IRC08:50
*** __mac__ has joined #zope09:02
*** hever has joined #zope09:17
*** alga has joined #zope09:24
*** hever has quit IRC09:33
*** d2m has joined #zope09:37
*** avoinea has joined #zope09:39
*** MrTango has joined #zope09:40
*** Wu has joined #zope09:57
*** planetzopebot has quit IRC10:08
*** planetzopebot has joined #zope10:08
*** agroszer has joined #zope10:26
*** alexpilz has joined #zope10:28
*** hever has joined #zope10:34
*** digitalmortician has joined #zope10:43
*** digitalmortician has quit IRC10:44
*** thetet has joined #zope10:50
*** alexpilz1 has joined #zope10:59
*** mr_jolly has joined #zope11:00
*** alexpilz has quit IRC11:01
*** alexpilz1 has quit IRC11:10
*** alexpilz has joined #zope11:10
*** mitchell`off is now known as mitchell`11:22
*** d2m has quit IRC11:53
*** eperez has joined #zope12:01
*** d2m has joined #zope12:06
*** jakke1 has joined #zope12:15
jakke1Hi guys, I'm having a StorageTransactionError in ZODB.BaseStorage12:16
jakke1plone4.1 with ZODB-3.10.3 and transaction-1.1.112:16
jakke1trying to do a multiple undo in the ZMI12:16
jakke1I can't find any reported bug on this in de zope bug reports12:17
jakke1anyone seen this before or hints where to start debugging?12:17
*** teix has joined #zope12:23
*** Rakshith has quit IRC12:38
*** fredvd has joined #zope12:42
*** tisto has joined #zope12:43
*** dayne has joined #zope12:45
*** dayne has quit IRC12:50
*** tisto is now known as tisto|lunch13:09
*** menesis has joined #zope13:31
*** evilbungle has joined #zope13:41
*** evilbungle has quit IRC13:45
*** evilbungle has joined #zope14:01
*** dayne has joined #zope14:11
*** _srichter has quit IRC14:23
*** dayne has quit IRC14:23
*** evilbungle has quit IRC14:25
*** dayne has joined #zope14:27
*** _srichter has joined #zope14:39
*** tisto|lunch is now known as tisto14:45
*** evilbungle has joined #zope14:50
*** Sada has quit IRC14:56
*** Sada has joined #zope14:56
*** Wu has quit IRC15:00
*** patul has quit IRC15:09
*** Sada has quit IRC15:14
*** Sada has joined #zope15:15
*** Rakshith has joined #zope15:16
*** evilbungle has quit IRC15:18
*** Sada has quit IRC15:20
*** dayne has quit IRC15:21
koshjakke1: what are you trying to do when you get that error?15:22
*** Rakshith has quit IRC15:22
*** Dikeshwar has quit IRC15:27
*** Guest23455 has quit IRC15:33
*** Allmity has quit IRC15:38
*** menesis has quit IRC15:41
*** do3cc has joined #zope15:43
*** menesis has joined #zope15:45
jakke1|kosh15:49
koshwhat?15:50
jakke1I'm running an undo in plone; trying to roll back the removal of 3 files in a folder15:50
jakke1running pdb now in transaction-1.1.1/transaction/_transaction.py; but my mental model of what's going on is not right yet15:50
koshare you undoing multiple transactions or just one? how are you doing the undo? have other things tried to change those same documents since the files where deleted?15:52
jakke1multiple undo15:52
jakke1I deleted 3 files; one by one. Then select those 3 actions in the undo window int he zmi and click undo15:52
koshwhat about other things that have tried to add or remove files in the same folder since then? where those files put in the catalog? etc15:54
koshhow long ago did it happen?15:56
jakke1one single undo action is not a problem15:56
jakke1how long ago: today, as soon as I started debugging the issue; around 10 this morning15:56
koshso what happens if you undo them one at a time?15:57
jakke1one at the time is no problem15:57
koshso why not just do it that way?15:57
jakke1multiple in the same batch is an issue15:57
koshI have run into multiples undoing at the same time a problem but ony when they have modified some common resource15:58
jakke1we have had issues doing that, but I haven't been able to reproduce that yet15:58
jakke1I'm using files in the same folder; so the common resource is the folder15:59
jakke1btw: the files do are in the portal_catalog15:59
*** eperez has quit IRC16:03
*** bigkevmcd has joined #zope16:04
jakke1tried a couple more scenarios16:04
koshthe odds are some common resource is causing a problem, you can try posting your question on the zope list but overall just try to undo them one by one and see if it works16:05
jakke1it's ZODB-3.10.3 which requires transaction > 1.1.0 (having 1.1.1)16:05
jakke1and the changelog somewhere states they made some checks more strict16:06
jakke1tried to figure out with diff if there were changes in that part of the code where I started debugging, but that doesn't seem to be16:07
*** hever has quit IRC16:07
jakke1common resource seems to be pretty wide defined: remove Plone/a/b; remove Plone/b/c ; so a page in 2 folders that are next to each other16:13
jakke1and still: StorageTransactionError Duplicate tpc_begin calls for same transaction16:13
koshprobably have the catalog in common16:13
koshoverall you can't rely on undo for anyting other then an emergency16:14
jakke1we needed the undo for an emergence; due to another bug found by accident16:15
*** supton has joined #zope16:15
jakke1a folder that shouldn't be removed, could not be recovered (tried cut-n-paste, but only cut worked out and clipboard went empty)16:15
jakke1and some other actions were done after that; so we had to undo 4-5 actions16:16
jakke1that's why I'm debugging now16:16
koshdon't use cut and paste16:18
koshuse copy and paste and then delete16:18
*** sp0cksbeard has joined #zope16:19
jakke1it's not about us, we can hit the wall, find a solution and use it; it's about the users16:19
koshthe users are deleting stuff?16:19
jakke1not all users realize they can get the same result with copy-paste-delete16:19
*** __mac__1 has joined #zope16:19
jakke1it happens that users delete stuff they din't want to be deleted too yes16:20
koshah that is not something I have run into16:20
jakke1and since there is no trashbin, our first option is undo, the second is the whole backup procedure; zexp export import, ...16:20
koshundoing tends to be a pretty nasty problem in most systems I have run into, better to figure out how not to have to undo16:21
*** __mac__ has quit IRC16:22
jakke1I get your point, and that would be ideal, but also nearly impossible16:23
jakke1the day you think you covered all usecases, some user will do something unforeseen and off you go again16:23
jakke1too many options16:23
koshyes and in any relational db system, nosql system etc you end up with a lot of problems trying to undo things16:24
koshsince future transactions depend on the state of previous transactions etc16:25
*** ccomb has joined #zope16:28
jakke1that's why it would be really nice to have the undo we had before16:33
jakke1don't want to give up the comfort you're used to16:33
*** menesis has quit IRC16:34
*** MrTango has quit IRC16:36
koshI suspect it was fixed because the old one would lead to some strange errors but ask on the zope dev list and find out16:37
*** hever has joined #zope16:38
jakke1I'm running on the latest code of transaction and ZODB, so I don't really get what you mean by the "old one"16:40
*** Wu has joined #zope16:40
jakke1but I'll pop the question on the list as you suggest, thanks16:40
koshthe older transaction code that used to work for you I think had strange problems sometimes16:45
koshlike undoing putting the catalog in an inconsistent state16:45
*** RichardBarrell has joined #zope16:46
jakke1ok, now it starts to make sence to me16:47
jakke1sounds like I'll be playing way out of my league here, but having a look won't harm ;-)16:47
koshI just remember there where some strange bugs and screwing up the catalog can screw up other things16:48
koshespecially in plone16:48
koshso they probably tightened things up to fix that issue and broke some other case that you need16:48
koshasking about in on zope-dev list though might give you a better solution16:48
koshI do with cut and paste had been doing differently in zope though16:49
koshit should have been implemented as copy paste verify delete16:49
*** menesis has joined #zope16:50
*** teix has quit IRC16:58
*** __mac__1 has quit IRC16:58
*** teix has joined #zope16:58
jakke1got a suggestion from a colleague; I'm going to try if I have the same issue on plone4.0; to be sure it's not the catalog implementation17:03
*** hever has quit IRC17:07
*** alga has quit IRC17:11
koshnot a clue for plone itself, I don't use it on any system17:22
*** supton has quit IRC17:29
*** agroszer has quit IRC17:30
*** thetet has quit IRC17:36
*** hever has joined #zope17:45
*** alexpilz has quit IRC17:46
*** Raine has joined #zope18:05
*** alga has joined #zope18:08
*** supton has joined #zope18:08
*** Wu has quit IRC18:09
*** yvl has quit IRC18:12
*** Raine has left #zope18:15
*** tiwula has joined #zope18:22
*** __mac__ has joined #zope18:24
*** __mac__ has quit IRC18:31
*** TresEquis has joined #zope18:35
*** hever has quit IRC19:10
*** ccomb has quit IRC19:27
*** Spanktar has joined #zope19:30
*** menesis has quit IRC19:41
*** d2m has quit IRC19:53
*** do3cc has quit IRC20:01
*** m8 has joined #zope20:01
*** d2m has joined #zope20:08
*** runyaga has joined #zope20:09
*** runyaga has quit IRC20:09
*** runyaga has joined #zope20:09
*** evilbungle has joined #zope20:17
*** evilbungle has quit IRC20:20
*** menesis has joined #zope20:42
*** alexpilz has joined #zope20:48
*** tisto has quit IRC20:51
*** TresEquis has quit IRC20:52
*** menesis has quit IRC20:55
*** tisto has joined #zope21:04
*** avoinea has quit IRC21:21
*** RichardBarrell has quit IRC21:28
*** hever has joined #zope21:42
*** fredvd has quit IRC21:54
*** m8 has quit IRC21:58
*** m8 has joined #zope22:12
*** alexpilz1 has joined #zope22:19
*** alexpilz has quit IRC22:22
*** tisto has quit IRC22:27
*** alexpilz has joined #zope22:43
*** alexpilz1 has quit IRC22:46
*** avoinea has joined #zope23:06
*** River-Rat has quit IRC23:08
*** River-Rat has joined #zope23:09
*** _srichter has quit IRC23:17
*** supton has quit IRC23:19
*** _srichter has joined #zope23:25
*** Arfrever has joined #zope23:33
*** teix has quit IRC23:47
*** d2m has left #zope23:50
*** avoinea has quit IRC23:53

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