IRC log of #zope for Thursday, 2010-11-11

*** ploufplouf has quit IRC00:03
*** ploufplouf has joined #zope00:03
*** ploufplouf has quit IRC00:08
*** jim_SFU has quit IRC00:10
*** MrWu has quit IRC00:23
*** smita has joined #zope00:23
*** fdrake1 has joined #zope00:35
*** fdrake has quit IRC00:36
CIA-77patricks patricks-remove-tmpdir * r118325 zc.recipe.cmmi/src/zc/recipe/cmmi/README.txt: just use glob..00:36
*** goschtl has joined #zope00:40
*** fdrake1 has quit IRC00:42
*** davisagli is now known as davisagli|away00:43
*** thetet has quit IRC00:46
*** davisagli|away is now known as davisagli00:47
*** smita has quit IRC00:49
*** sunew has quit IRC00:51
*** goschtl has quit IRC00:56
*** J1m has quit IRC00:59
*** MrTango has quit IRC01:01
CIA-77patricks * r118326 zc.recipe.cmmi/ (6 files in 2 dirs):01:18
CIA-77Merge branch that cleans up temporary directories.01:18
CIA-77svn merge -r118317:HEAD svn+ssh://svn.zope.org/repos/main/zc.recipe.cmmi/branches/patricks-remove-tmpdir .01:18
CIA-77patricks * r118327 zc.recipe.cmmi/ (setup.py CHANGES.txt): Update change log, prepare for release01:18
CIA-77patricks * r118328 /zc.recipe.cmmi/tags/1.3.3: Tag 1.3.301:18
CIA-77patricks * r118329 zc.recipe.cmmi/setup.py: back to dev01:18
*** menesis has quit IRC01:25
*** dvschramm has quit IRC01:36
CIA-77patricks 1.2 * r118330 zc.recipe.cmmi/ (7 files in 2 dirs): Backport fixes from 1.3.301:36
CIA-77patricks * r118331 /zc.recipe.cmmi/tags/1.2.2: Tag 1.2.201:36
CIA-77patricks 1.2.2 * r118332 zc.recipe.cmmi/setup.py: remove dev marker01:36
CIA-77patricks 1.2 * r118333 zc.recipe.cmmi/ (CHANGES.txt setup.py): Back to dev01:36
*** acsr3 has joined #zope01:37
*** acsr1 has quit IRC01:39
*** digitalmortician has joined #zope01:59
*** nitrogenycs has left #zope02:13
*** tiwula has quit IRC02:15
*** supton has quit IRC02:19
*** bigkevmcd has quit IRC02:19
*** vipod has quit IRC02:20
*** redir has quit IRC02:27
*** AnneGilles has quit IRC02:28
*** dayne has quit IRC02:29
*** J1m has joined #zope02:35
*** alexpilz has quit IRC02:47
*** davisagli is now known as davisagli|away02:58
*** alvaro_o has quit IRC03:00
*** J1m has quit IRC03:01
*** daMaestro has quit IRC03:21
*** davisagli|away is now known as davisagli03:24
*** davisagli is now known as davisagli|away03:26
*** davisagli|away is now known as davisagli03:46
*** davisagli is now known as davisagli|away03:46
*** rogererens has quit IRC03:47
*** ccomb has quit IRC04:19
*** huajie has joined #zope04:20
*** davisagli|away is now known as davisagli04:30
*** RUNYAGAs has joined #zope04:34
*** fdrake has joined #zope04:35
*** davisagli is now known as davisagli|away04:49
*** fredvd|meeting has quit IRC04:53
*** acsr has joined #zope05:07
*** davisagli|away is now known as davisagli05:09
*** acsr3 has quit IRC05:10
*** davisagli is now known as davisagli|away05:14
*** davisagli|away has quit IRC05:20
*** davisagli has joined #zope05:20
*** RUNYAGAs has quit IRC05:39
*** davisagli is now known as davisagli|away05:54
*** shodan45 has joined #zope05:56
shodan45I'm not very familiar with zope, so forgive me if this is obvious: why can't I upload a zexp file to import via an html form in the ZMI?05:59
*** davisagli|away is now known as davisagli06:01
*** benji has quit IRC06:07
*** kosh has quit IRC06:09
*** kosh has joined #zope06:11
*** srichter has joined #zope06:26
*** kosh has quit IRC06:31
*** kosh has joined #zope06:32
*** davisagli is now known as davisagli|away06:35
*** davisagli|away is now known as davisagli06:41
*** dburba has joined #zope06:57
*** kdie has joined #zope06:59
*** davisagli is now known as davisagli|away06:59
*** digitalmortician has quit IRC07:28
*** fdrake has left #zope07:33
*** davisagli|away is now known as davisagli07:36
*** kdie has quit IRC07:37
*** saju_m has joined #zope07:46
*** davisagli is now known as davisagli|away07:58
*** davisagli|away is now known as davisagli08:05
*** davisagli is now known as davisagli|away08:09
*** davisagli|away has quit IRC08:15
*** davisagli|away has joined #zope08:16
*** davisagli|away is now known as davisagli08:16
*** huajie has quit IRC08:36
*** zagy has joined #zope08:39
*** __mac__ has joined #zope08:45
*** alexpilz has joined #zope08:50
*** wosc has joined #zope08:50
*** alexpilz1 has joined #zope08:50
*** alexpilz1 has quit IRC08:50
*** alexpilz2 has joined #zope08:50
*** alexpilz has quit IRC08:50
*** davisagli is now known as davisagli|away08:53
*** JaRoel|4D has quit IRC08:56
*** shodan45 has quit IRC08:57
*** davisagli|away has quit IRC08:57
*** davisagli|away has joined #zope08:57
*** davisagli|away is now known as davisagli08:57
*** sm has quit IRC09:01
*** sashav has joined #zope09:02
*** davisagli is now known as davisagli|away09:13
*** hever has joined #zope09:16
*** sashav has quit IRC09:17
CIA-77icemac * r118334 z3c.wfmcpersistent/ (5 files in 2 dirs): Conform to repository policy.09:18
*** bigkevmcd has joined #zope09:25
*** hever has quit IRC09:27
*** sashav has joined #zope09:27
*** davisagli|away is now known as davisagli09:35
*** davisagli is now known as davisagli|away09:36
*** alga has joined #zope09:42
*** davisagli|away is now known as davisagli09:42
*** davisagli is now known as davisagli|away09:43
*** alexpilz2 has quit IRC09:48
*** smita has joined #zope09:50
CIA-77icemac * r118335 z3c.widget/ (26 files in 14 dirs):09:52
CIA-77- Updated tests to run with `zope.formlib` 4.0 and `zope.schema` 3.6.09:52
CIA-77- Using Python's ``doctest`` module instead of depreacted ``zope.testing.doctest[unit]``.09:52
*** J1m has joined #zope09:56
*** J1m has left #zope09:58
*** J1m has quit IRC09:58
CIA-77icemac * r118336 z3c.wizard/ (src/z3c/wizard/tests.py CHANGES.txt):10:04
CIA-77- Using Python's ``doctest`` module instead of depreacted10:04
CIA-77``zope.testing.doctest``.10:04
CIA-77icemac * r118337 z3c.wizard/ (LICENSE.txt bootstrap.py COPYRIGHT.txt): Conform to repository policy.10:04
*** davisagli|away is now known as davisagli10:06
*** tisto has joined #zope10:06
*** eperez has joined #zope10:07
*** JaRoel|4D has joined #zope10:08
*** d2m has joined #zope10:11
*** davisagli is now known as davisagli|away10:12
*** ploufplouf has joined #zope10:17
*** MrTango has joined #zope10:20
*** redir has joined #zope10:30
*** planetzopebot has quit IRC10:33
CIA-77jinty jinty-mem * r118338 zope.interface/src/zope/interface/interface.py: Apply slots to Element, Attribute and Method classes. This causes breakage in zope.schema which can be fixed by a trivial patch.10:34
*** planetzopebot has joined #zope10:34
*** goschtl has joined #zope10:35
*** alexpilz has joined #zope10:35
*** neo|4D has joined #zope10:38
*** goschtl has quit IRC10:41
*** saju_m has quit IRC10:48
*** saju_m has joined #zope10:48
CIA-77jinty jinty-mem * r118339 zope.interface/src/zope/interface/interface.py: Fix threading issue in Specification.subscribe brought up by Laurence Rowe. Document that there is a threading issue in setTaggedValue, but we should be safe ignoring it (thanks Tres).10:49
*** saju_m has quit IRC10:57
*** saju_m has joined #zope10:58
*** sylvain has joined #zope11:14
*** astoon has joined #zope11:17
*** j-w has joined #zope11:18
*** nitrogenycs has joined #zope11:21
*** menesis has joined #zope11:24
*** mitchell`off is now known as mitchell`11:24
*** fredvd has joined #zope11:24
*** sunew has joined #zope11:26
*** saju_m has quit IRC11:34
*** saju_m has joined #zope11:35
*** AnneGilles has joined #zope11:57
*** evilbungle has joined #zope11:59
*** saju_m has quit IRC12:11
*** saju_m has joined #zope12:11
*** saju_m has quit IRC12:11
*** saju_m has joined #zope12:11
*** saju_m has quit IRC12:15
*** saju_m has joined #zope12:15
*** saju_m has quit IRC12:16
*** saju_m has joined #zope12:16
*** saju_m has quit IRC12:17
*** vipod has joined #zope12:31
*** rogererens has joined #zope12:39
*** __mac__ has quit IRC12:42
*** __mac__ has joined #zope12:43
*** __mac__ has quit IRC12:43
*** __mac__ has joined #zope12:43
*** alga has quit IRC12:47
*** agroszer_ has joined #zope12:48
*** teix has joined #zope12:52
*** fredvd has quit IRC13:06
*** agroszer_ is now known as agroszer13:07
*** vipod_ has joined #zope13:11
*** giampaolo has joined #zope13:11
*** vipod has quit IRC13:12
*** vipod_ is now known as vipod13:12
*** mr_jolly has joined #zope13:23
*** menesis has quit IRC13:24
*** menesis has joined #zope13:24
CIA-77janjaapdriessen * r118340 /grokproject/branches/janjaapdriessen-hurry.resource: Create feature branch for hurry.resource integration13:33
*** morphex has joined #zope13:54
*** smita has quit IRC13:56
*** AnneGilles has quit IRC14:11
*** sashav has quit IRC14:19
*** rbanffy has joined #zope14:22
*** rbanffy has quit IRC14:23
*** lucmult has joined #zope14:25
*** cna has joined #zope14:26
*** rbanffy has joined #zope14:27
*** rbanffy has quit IRC14:28
*** rbanffy has joined #zope14:28
*** rbanffy has quit IRC14:29
*** rbanffy has joined #zope14:29
*** rbanffy has quit IRC14:31
*** rbanffy_ has joined #zope14:32
*** dayne has joined #zope14:33
*** alexpilz has left #zope14:33
*** rbanffy_ has quit IRC14:33
*** rbanffy_ has joined #zope14:34
*** rbanffy_ has quit IRC14:38
*** rbanffy_ has joined #zope14:38
*** rbanffy_ has quit IRC14:38
*** 36DAASJT9 has joined #zope14:38
*** 36DAASJT9 has quit IRC14:39
*** rbanffy has joined #zope14:39
*** rbanffy has quit IRC14:39
*** morphex has quit IRC14:39
*** cna_ has joined #zope14:40
*** cna has quit IRC14:44
*** cna_ is now known as cna14:44
*** dburba has quit IRC14:48
*** smita has joined #zope14:59
*** ccomb has joined #zope14:59
*** neo|4D has quit IRC15:02
*** astoon has quit IRC15:03
*** thetet has joined #zope15:05
*** benji has joined #zope15:12
*** AnneGilles has joined #zope15:17
*** AnneGilles has quit IRC15:21
*** menesis has quit IRC15:24
*** j-w has quit IRC15:32
*** smita has quit IRC15:41
*** wosc has quit IRC15:47
*** J1m has joined #zope15:58
*** smita has joined #zope15:59
*** jim_SFU has joined #zope16:08
*** nitrogenycs has quit IRC16:10
*** nitrogenycs has joined #zope16:19
*** menesis has joined #zope16:26
*** cna has quit IRC16:28
*** j-w has joined #zope16:30
*** sm has joined #zope16:31
*** sm_ has joined #zope16:32
*** alexpilz has joined #zope16:35
*** dayne has quit IRC16:36
*** sm has quit IRC16:36
*** sm_ is now known as sm16:36
*** TresEquis has joined #zope16:42
*** redir has quit IRC16:48
*** AnneGilles has joined #zope16:49
*** __mac__ has quit IRC17:07
*** __mac__ has joined #zope17:08
*** __mac__ has quit IRC17:12
*** j-w has quit IRC17:15
*** dvschramm has joined #zope17:25
*** J1m has quit IRC17:28
*** dayne has joined #zope17:31
*** dvschramm has quit IRC17:34
*** BGaddie has joined #zope17:40
*** tisto has quit IRC17:41
*** MrWu has joined #zope17:41
*** mr_jolly has left #zope17:42
CIA-77jens 2.2 * r118341 Products.DCWorkflow/Products/DCWorkflow/ (version.txt CHANGES.txt): - release prep for version 2.2.217:53
CIA-77jens * r118342 /Products.DCWorkflow/tags/2.2.2: - tagging version 2.2.217:53
CIA-77jens 2.2 * r118343 Products.DCWorkflow/Products/DCWorkflow/ (version.txt CHANGES.txt): - vb17:53
CIA-77jens * r118344 Products.PluggableAuthService/CHANGES.txt: - release prep for version 1.7.217:53
CIA-77jens * r118345 /Products.PluggableAuthService/tags/1.7.2: - tagging version 1.7.217:53
CIA-77jens * r118346 Products.PluggableAuthService/ (CHANGES.txt Products/PluggableAuthService/version.txt): - vb17:53
*** daMaestro has joined #zope17:57
*** dburba has joined #zope18:07
*** tiwula has joined #zope18:14
*** alvaro_o has joined #zope18:18
*** rogererens has quit IRC18:18
*** neo|4D has joined #zope18:19
*** sunew has quit IRC18:24
*** AnneGilles has quit IRC18:26
*** cpf_ has quit IRC18:49
*** davisagli|away is now known as davisagli18:50
*** alecm_ has joined #zope18:56
*** alecm_ has joined #zope18:56
*** alecm has quit IRC18:59
*** alecm_ is now known as alecm18:59
*** smita has quit IRC19:02
*** astoon has joined #zope19:03
*** mr_jolly has joined #zope19:04
*** alga has joined #zope19:13
*** JaRoel|4D has quit IRC19:13
*** eperez has quit IRC19:18
*** AnneGilles has joined #zope19:24
*** alexpilz has quit IRC19:30
*** benji is now known as benji-lunch19:42
*** AnneGilles has quit IRC19:43
*** acsr has quit IRC19:47
*** sylvain has quit IRC19:48
*** pfrog has joined #zope19:49
pfrogI'm interested in using ZCA for a project of mine, I have a few questions I guess though, like do I have to use zope.interface to register factories to types?19:50
mgedminno19:52
mgedminalthough I'm not sure I understand the question19:52
mgedminfactories to types?19:52
mgedmingenerally you can register adapters on interfaces or types19:52
mgedminon the other side, adapters and utilities must provide interfaces, they can't "provide" types19:53
mgedminfactories don't exist as a separate kind of component19:53
mgedminwhen you need registerable factories, you usually use utilities providing IFactory or something like that19:54
mgedminand distinguish them by name19:54
mgedminor you could have different interfaces -- IPieFactory, ICakeFactory, etc.19:54
pfrogwell so what I want is something where I give it say, get_factory(type(someobj)) which returns a registered callable19:57
pfrogthat take specific arguments19:57
pfrogI don't know if ZCA is really a solution to that, I mean I could just a global dict...19:57
mgedminuse an adapter19:57
pfrogbut I'm using something that already has ZCA19:57
mgedmin@adapter(StrangeObject) @provides(IFactory) def make_StrangeObject(specific, arguments): return StrangeObject(specific, arguments + 2)19:58
mgedminyou could even have a default19:58
pfrogmgedmin: yeah thats what I'm looking for19:58
pfrognice19:58
mgedminit's a sketch that doesn't work19:59
mgedminlet me try a better one19:59
pfrogso to me, an outsider of zope, it looks like ZCA really is a global dict?19:59
pfrogor well, with some added features19:59
mgedminit's a way to have type-based multiple dispatch, is one way of looking at it20:01
mgedminit's hierarchy-aware, which makes it more powerful than a dict20:01
pfrogright20:01
mgedminhttp://pastie.org/1290486 <- better mockup, maybe20:02
pfrogI've done similiar things in other languages, just never python... I guess I hadn't really needed to with the dynamic nature of it being so flexible... but I mean, the larger the program gets I could see where a global registry like that would be really handy20:02
mgedminI probably don't understand what problem you're trying to solve20:03
pfrogobtaining a factory based on type20:04
pfrogwhich zca seemed suited to20:04
mgedminone slightly annoying thing is that you cannot pass a type directly to zca lookup functions20:05
mgedminyou have to pass an instance of a type20:05
pfrog:-(20:06
pfrogthat seems like a pretty annoying thing20:06
mgedminsometimes, not always20:06
mgedminif you've got a type already, why the_type() isn't a suitable factory?20:06
mgedmincan you mandate that for the types you're dealing with they must have a class attribute a_type.create() or something?20:07
pfrognot especially20:07
mgedminwhat problem are you solving by looking up factories based on types?20:07
pfrogone is an object that represents some data in a database20:07
pfrogthe other is an object that uses that information to perform some work20:07
pfrogI want to be able to iterate through a list of varying database "objects" and get ones that do work20:08
mgedmina classic example of an adapter pattern20:08
pfrogthats why I'm here20:08
pfrogso I guess I asked my question poorly20:08
mgedminfor obj in list_of_objects_of_various_types: IWorkerOfSomeKindOfWork(obj).doSomeWork()20:08
pfrogwhat can zca do to help me here :-)20:09
mgedmin"factory" to me is a callable that returns a new instance of an object20:09
pfrogwell IWorkerOfSomeKind(obj, someotherobj, someotherstuff).do_work()20:09
pfrogis more like what I have20:09
pfrogso I figured a factory for obj that creates the worker might be better suited20:10
pfrogbut if the zca can deal with what I need to do there then I can skip the factories altogether, which would save me time and effort for sure20:10
mgedmindo you need dynamic dispatch based on one object, or on several?20:11
mgedminif one, IWorker(obj).doWork(arg, arg) is best20:12
mgedminif you need multi-dispatch, it'll be getMultiAdapter((obj1, obj2, obj3), IWorker).doWork(arg1, arg2)20:12
pfrogone object20:12
pfrogand that does seem saner, though see, do_work ends up becoming a factory function for sanity then20:13
pfrogbecause IWorker is long lived, its a greenlet20:13
pfrogreally I want to pass all the parameters to the constructor20:14
*** neo|4D has quit IRC20:16
mgedminwell, you could, I suppose20:16
mgedminalways declare that your workers adapt(ISpecificType, None, None, None)20:16
mgedminand worker = getMultiAdapter((...), IWorker); worker.start_working_in_background_or_whatever()20:17
*** morphex has joined #zope20:19
*** neo|4D has joined #zope20:19
*** dburba has quit IRC20:23
*** menesis has quit IRC20:31
*** benji-lunch is now known as benji20:35
*** evilbungle_ has joined #zope20:36
*** evilbungle has quit IRC20:37
*** evilbungle_ has quit IRC20:40
*** shastry has joined #zope20:44
*** lducas has joined #zope20:56
lducasHello, got a strange error: I can't log on /manage because on a python script in the login that use mysql db. And it seems that when I resterted zope, mysql is not connected. How can I reconnect without beeing loged in Zope ?20:58
*** AnneGilles has joined #zope21:00
smlducas: are you logging in to the zope root folder ? virtual hosts may prevent this21:01
smthat would help unless your mysql authentication is installed in the root folder. You should also be able to create/login with the zope super user, see installation docs21:03
*** MrWu has quit IRC21:03
*** TresEquis has quit IRC21:04
lducascan't acess to the zmi21:04
lducashttp://www.justbiit.com:9673/manage21:06
*** menesis has joined #zope21:06
lducashad a hacker visit last week : same issue as http://pdw.weinstein.org/2010/06/damn-script-kiddies-get-off-my-lawn.html and I am still wondering how he/she did it cause can't find the file yet and this zope hack might be a consequence of the hack - having put a virtual host on the root !21:08
lducasI got zooop much development... will have to restor before the backup before the hack if can't find a solution21:11
neo|4Dlducas: http://www.justbiit.com:9673/select_IPs/manage_main21:12
neo|4Dnot really good that it's open for the world :)21:12
*** teix has left #zope21:15
lducasThanks Neo, I need anyway to login to hide it ;-)21:16
mgedminthat was a PHP exploit21:18
mgedminin that blog post21:19
mgedminzope does not use PHP21:19
lducasby the way, I am doing an introduction to Plone 4 and need to talk also about Zope for the linuxbahrain.com.. Seems few people knows Zope or Plone in the Middle-East where I live now and will be glade if someone have a nice presentation to help me to rise the Zope/Plone reputation..21:19
neo|4Dlducas: mabeyou can try running bin/instance debug and try to checkout the connection string of the database connection. I think zope does not connect to mysql because there is something wrong with the credentials or connection string21:21
lducasit might comes from Joomla "open extension for hacker" or "open realty" Really don't know21:22
neo|4Dlducas: maybe there is something useful for you here : http://blip.tv/search?q=ploneconf2010 the presentations of the last plone conference21:23
*** AnneGilles has quit IRC21:25
lducasNeo: Thank you ! Will help me. I really look for basic demo, presentation too21:28
lducasNeo: in my instance I have only ./bin/runzope or zopectl21:32
neo|4Dlducas: bin/zopectl debug21:33
*** AnneGilles has joined #zope21:34
lducasneo: it is pages of errors!21:36
*** evilbungle has joined #zope21:36
*** AnneGilles has quit IRC21:38
neo|4Dthat's not good, you don't get a debug prompt at the end?21:41
lducasyes I do21:43
*** mitchell` is now known as mitchell`off21:44
neo|4Dlducas: try the following  db = getattr(app, "MySQL_database_connection")21:45
lducasneo: app is not defined21:48
neo|4Dright21:48
*** alga has quit IRC21:49
*** cpf_ has joined #zope21:52
smlducas: http://plone.org/documentation/faq/locked-out does not help, then ?21:52
*** astoon has quit IRC21:56
*** alga has joined #zope21:56
*** thetet has quit IRC21:56
neo|4Dsm: probably it won't as he has the loginform using a python script which is calling the zmysql method when trying to access zope21:57
smI see21:57
smyes21:57
neo|4Dlducas: if you run bin/zopectl debug, you don't see something like "Starting debugger (the name "app" is bound to the top-level Zope object)"21:59
neo|4D?21:59
smI guess  /select_IPs is using the db connection at /MySQL_database_connection . Maybe one of the other 3 db connections listed will work ?22:00
neo|4D(you should first stop the instance first before doing that)22:00
neo|4Dsm: it's tempting just to try that right :)22:00
smyes it is :)22:00
lducassm: correct but I need to login in order to change the db or open/close mysql connexion22:02
neo|4Dlducas: did you run bin/zopectl debug when the instance was stopped?22:02
neo|4Dotherwise zope cannot get a connection to the zodb22:02
lducasneo: yes22:03
lducasneo: nothing came out..22:04
smfeel free to http://paste.lisp.org/new/zope the zopectl debug output22:05
smack, lisppaste no longer knows #zope22:06
*** evilbungle has quit IRC22:06
*** daMaestro|isBack has joined #zope22:07
neo|4Dhttp://pastie.org/22:07
lducasneo: how do I  copy:past the output ? where is it locate ??22:07
neo|4Djust select it :)22:08
smlducas: the stuff that appears on your console when you run the bin/zopectl debug command22:08
neo|4Dwhen you type in : bin/zopectl debug, copy it from your console22:08
neo|4Dwhat printed there22:08
*** daMaestro has quit IRC22:10
lducas;-) past too large on the website when I submit the past !22:11
neo|4Djust the last 40 lines then22:11
smjust the first screenful then22:12
smbah neo|4D22:12
neo|4Dsorry :)22:12
smit's all your pastebin's fault :)22:12
lducasI know ! ;-)))22:13
lducashttp://paste.lisp.org/display/116521#322:16
smlducas: what changed since this last worked for you ? zope or plone version perhaps ?22:18
*** alexpilz has joined #zope22:19
*** AnneGilles has joined #zope22:19
mgedminthose are all irrelevant, lducas22:19
mgedminpaste the first 40 lines maybe?22:19
neo|4Dmgedmin: but he should have a debug prompt at the right22:20
lducasI notice zope2.11 but i run 2.1022:20
* sm would probably rename /var/lib/zope2.10/instance/plone-site/Products to something else temporarily 22:20
mgedminthe deprecation warnings?22:20
lducasthe 1st pages I don't get them..22:20
mgedminooh, scrollback too short22:20
mgedminouch22:20
mgedminand what's at the bottom?  no debug prompt?22:21
smmgedmin: no app object22:21
mgedminhow big is the data.fs?22:21
lducasnothing is return - empty22:21
smbecause of the TypeErrors, I assume22:21
mgedminor maybe it hasn't finished initializing yet?22:22
mgedminwait, there's more than one chunk of errors22:22
mgedminI don't grok lisppaste's UI22:22
mgedminthe last chunk had just PTS warnings22:23
smhe said he gets a prompt, and >>> app says "app not defined"22:23
lducasHow do I print the size od data.fs ? and where is it ?22:23
mgedminNameError: global name 'get_transaction' is not defined22:23
smso I propose to disable all plone products as a quick way to get (closer to) a working debug prompt, to fix the login issue22:23
lducassm: when I stop it, it runs and just print a new prompt22:24
* sm does not understand22:24
lducaswhen zope was running I get the error of app not defined. Now that I stoped zope, no more error and a new prompt is display with no errors22:25
neo|4Dpaste this at http://pastie.org/ if you like? (or paste.lisp.org)22:26
mgedminremote debugging is fun22:26
neo|4D:)22:27
smlducas: aha. So does >>> app show something now ?22:27
smand >>> app.MySQL_database_connection ?22:28
*** agroszer has quit IRC22:29
lducasseams it does lik ethe >>> "invalid syntax"22:30
lducasseems not to like >>>22:31
smdon't type the >>> yourself22:31
smjust app22:31
lducasApplicatio at22:31
smexcellent22:31
smnow to repair/change your db connection at the debug prompt, um I think neo|4D has a plan22:31
lducasIt is not my falt !22:31
lducas;-)22:32
neo|4Dsm :)22:32
neo|4Dlducas: well, now you have the app22:32
neo|4Dtry : >>> app.MySQL_database_connection.connection_string22:32
lducasstill >>> invalid syntax22:33
neo|4D(so no >>>, just "app.MySQL_database_connection.connection_string")22:33
neo|4Djust :22:33
neo|4Dapp.MySQL_database_connection.connection_string22:33
lducas;-) it prints my db name and password and login22:34
lducasso it is working perfectly22:34
neo|4Dno it's not22:34
neo|4Dtry to log in with mysql with that username and password22:34
lducasI did22:34
neo|4Dand that works?22:35
neo|4Dtry the following as well :22:37
neo|4Dapp.MySQL_database_connection.connect(app.MySQL_database_connection.connection_string)22:37
*** nitrogenycs has left #zope22:37
lducasI can browse the data on the BD mysql22:37
lducasaccess denied !22:38
neo|4Dah22:38
neo|4Dso your zope cannot acces the database connection22:39
neo|4Dso something is wrong with the database settings22:39
neo|4Dcan you paste the connection string (without the username and password)22:39
*** davisagli is now known as davisagli|away22:39
* sm sings the remote debugging song22:41
* neo|4D is listening very carefully22:42
lducasyes, the database has been drop - one of the star DB of the schemas is empty22:42
lducaswebbies22:42
smaha.. "surely nobody's using this old thing, I'll just clean that up"22:44
*** smita has joined #zope22:44
neo|4Dso get the database back and your fine to go then I think?22:45
*** J1m has joined #zope22:45
lducasThank you NEO 4D, SM & mgedmin22:46
* mgedmin didn't do anything!22:46
smyou're welcome22:46
*** mr_jolly has left #zope22:53
*** AnneGilles has quit IRC22:53
*** daMaestro|isBack is now known as daMaestro22:55
neo|4Dlducas: can you login now again?22:56
lducasThank you, I am so happy ;-) it is a great pleasure to see back Zope up and running !!! Thank you all !22:56
neo|4Dsm: we can start singing the remote debugging victory song now I think :)22:59
*** d2m has left #zope23:02
*** davisagli|away is now known as davisagli23:06
koshhail freaks23:24
*** AnneGilles has joined #zope23:28
*** ploufplouf has quit IRC23:34
*** ploufplouf has joined #zope23:34
*** ploufplouf has quit IRC23:39
*** daMaestro has quit IRC23:49
*** daMaestro has joined #zope23:50
CIA-77janjaapdriessen * r118347 /hurry.zoperesource/branches/janjaapdriessen-wsgi: feature branch for wsgi work23:50

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