IRC log of #zope for Wednesday, 2010-10-20

*** smita has joined #zope00:05
*** Hypergraphe_ has joined #zope00:07
*** TresEquis has quit IRC00:09
*** jim_SFU has quit IRC00:12
*** kleist has quit IRC00:12
*** makkalot has joined #zope00:19
makkalothi icreated my project with zopeproject, and want to override my skin and put mine as default, i created in src/myproject/etc/myproject-overrides.zcml and put in it my overrides file's place. I have in overrides.zcml : <browser:defaultSkin name="WorldCookery"/> but when i open site dont see any changes any ideas ?00:22
*** shastry has joined #zope00:24
*** shastry has joined #zope00:24
*** JaRoel|4D has joined #zope00:33
*** alexpilz has quit IRC01:01
CIA-38shane * r117780 relstorage/ (16 files in 4 dirs): Checkpoint: optionally put blobs in the database. Some tests pass. :-)01:01
*** Hypergraphe_ has quit IRC01:02
*** Subdino has quit IRC01:07
*** redir has joined #zope01:07
*** makkalot has quit IRC01:20
*** J1m has quit IRC01:37
*** dvschramm is now known as dvschramm|away01:55
*** webmaven has quit IRC01:57
*** alga_ has quit IRC02:16
*** giampaolo has quit IRC02:16
*** davisagli is now known as davisagli|away02:19
*** Theuni2 has joined #zope02:28
*** Theuni1 has quit IRC02:28
*** Theuni2 has quit IRC02:35
*** daMaestro|isBack has joined #zope02:48
*** daMaestro has quit IRC02:49
*** daMaestro|isBack is now known as daMaestro02:49
*** RichardBarrell has quit IRC02:59
*** shastry has quit IRC03:06
*** d2m has quit IRC03:07
CIA-38shane * r117781 relstorage/relstorage/ (8 files in 4 dirs): Now all but 3 tests pass.03:18
*** gwik has quit IRC03:23
*** daMaestro has quit IRC03:25
CIA-38shane * r117781 relstorage/relstorage/ (8 files in 4 dirs): Now all but 3 tests pass.03:31
CIA-38shane * r117782 relstorage/relstorage/tests/blob/blob_transaction.txt: stray pdb03:31
*** rawtatoor1 has joined #zope03:33
*** davisagli|away is now known as davisagli03:38
*** webmaven has joined #zope03:38
*** davisagli is now known as davisagli|away03:42
*** MrTango has quit IRC04:00
*** smita has quit IRC04:04
*** tiwula has quit IRC04:20
*** alvaro_o has quit IRC04:26
*** JaRoel|4_ has joined #zope04:37
*** JaRoel|4D has quit IRC04:38
*** digitalmortician has quit IRC04:38
*** davisagli|away has quit IRC04:38
*** digitalmortician has joined #zope04:38
*** CIA-38 has quit IRC04:38
*** JT has quit IRC04:38
*** eldragon has quit IRC04:38
*** davisagli has joined #zope04:41
*** CIA-38 has joined #zope04:41
*** JT has joined #zope04:41
*** eldragon has joined #zope04:41
*** davisagli is now known as davisagli|away04:47
*** redir has quit IRC04:54
*** redir has joined #zope04:54
CIA-38shane * r117783 /relstorage/branches/1.4: Used the 1.4.0 tag to make the 1.4 branch05:11
CIA-38shane * r117784 relstorage/relstorage/ (4 files in 2 dirs): The tests of the new blob storage and cache now pass on Postgres and MySQL05:11
*** acsr1 has joined #zope05:24
*** acsr has quit IRC05:28
*** davisagli|away is now known as davisagli05:54
*** davisagli is now known as davisagli|away05:57
*** benji has quit IRC06:04
*** webmaven has quit IRC06:12
*** webmaven has joined #zope06:28
*** zagy has quit IRC07:54
*** digitalmortician has quit IRC08:08
*** davisagli|away is now known as davisagli08:20
*** kursor has joined #zope08:34
*** davisagli is now known as davisagli|away08:35
*** Subdino has joined #zope08:37
*** Subdino has left #zope08:37
*** davisagli|away is now known as davisagli08:41
*** __mac__ has joined #zope08:43
*** JaRoel|4_ has quit IRC08:45
*** alexpilz has joined #zope09:00
*** alexpilz has quit IRC09:01
*** alexpilz has joined #zope09:01
*** zagy has joined #zope09:02
*** kursor has quit IRC09:04
*** davisagli is now known as davisagli|away09:06
*** cna has joined #zope09:07
*** yvl has quit IRC09:09
*** digitalmortician has joined #zope09:11
*** Theuni1 has joined #zope09:23
*** sm has quit IRC09:23
*** nitrogenycs has joined #zope09:28
*** alga has joined #zope09:30
*** Theuni1 has quit IRC09:31
*** JaRoel|4D has joined #zope09:42
*** cna has quit IRC09:50
*** cna has joined #zope09:50
*** alexpilz has quit IRC09:51
*** f10w has quit IRC09:53
*** f10w has joined #zope09:57
*** Theuni1 has joined #zope09:57
*** Theuni1 has quit IRC09:58
*** agroszer_ has joined #zope10:11
CIA-38icemac * r117785 z3c.securitytool/ (8 files in 3 dirs): - Updated tests, test setup and demo app to run with ZTK 1.0 on Python 2.4 and Python 2.6.10:11
CIA-38icemac * r117786 z3c.securitytool/ (CHANGES.txt setup.py): - Updated to `z3c.layer.minimal` instead of deprecated `z3c.layer`.10:11
CIA-38icemac * r117787 z3c.securitytool/src/z3c/securitytool/tests.py: removed not needed imports10:11
*** neo|4D has quit IRC10:30
*** cbcunc has quit IRC10:31
*** planetzopebot has quit IRC10:33
*** agroszer_ is now known as agroszer10:33
*** hever has joined #zope10:34
*** planetzopebot has joined #zope10:34
*** Theuni1 has joined #zope10:36
CIA-38icemac * r117788 z3c.securitytool/ (4 files in 2 dirs): Conform to repository policy.10:40
CIA-38shane * r117789 relstorage/relstorage/adapters/schema.py: fixed Oracle syntax10:40
CIA-38shane * r117790 relstorage/relstorage/adapters/schema.py: Corrected Oracle data type10:40
*** alexpilz has joined #zope10:46
*** d2m has joined #zope10:59
CIA-38shane * r117791 relstorage/relstorage/adapters/mover.py: fixed more Oracle syntax11:01
CIA-38gotcha * r117792 gocept.selenium/ (8 files in 6 dirs): use plone.testing as it allows to run zope2 and plone tests together11:01
*** janolap1 has joined #zope11:07
*** MJ has joined #zope11:08
janolap1Hi, we have acquired a software which relies on Zope and ZoDB. We want to access ZoDB database from external tools like access or php for example. Is it possible ? Is it possible to make a dump from ZoDB to import into mysql ?11:09
bigkevmcdno, and yes11:09
betabugyes and no11:09
*** mitchell`off is now known as mitchell`11:11
*** sunew has joined #zope11:15
*** menesis has joined #zope11:19
*** neo|4D has joined #zope11:19
*** vimes656 has joined #zope11:20
*** MatthewWilkes has joined #zope11:22
agroszerjanolap1, it won't be easy ZODB is an object database, while mysql is RDB11:24
agroszerI'd say you definitely will need some custom script/app11:24
CIA-38shane * r117793 relstorage/relstorage/adapters/mover.py: use Oracle-specific blob operations11:25
*** smita has joined #zope11:29
*** vipod_ has joined #zope11:34
*** vipod has quit IRC11:35
*** vipod_ is now known as vipod11:35
*** giampaolo has joined #zope11:41
*** gwik has joined #zope11:50
*** astoon has joined #zope11:52
*** mr_jolly has joined #zope11:52
*** evilbungle has joined #zope12:09
*** TomBlockley has joined #zope12:10
*** evilbungle has quit IRC12:10
*** evilbungle has joined #zope12:10
CIA-38shane * r117794 relstorage/relstorage/adapters/ (oracle.py mover.py): The tests pass. Oracle can now store blobs in the database.12:17
*** TomBlockley has quit IRC12:32
*** teix has joined #zope12:39
janolap1agroszer : Thanx for your answer.12:53
janolap1agroszer : Is it more simple to migrate the database from ZoDB to mysql and make Zope access to mysql via connector ?12:54
janolap1Is it more simple to migrate the database from ZoDB to mysql and make Zope access to mysql via connector ?12:57
betabugjanolap1: ZODB is an object database, there is no "simple" way to translate its contents to an SQL database12:58
janolap1betabug : I know that it is not simple, but for our need, how can we access data inside ZoDB from outside Zope ?12:59
betabugall access has to go through python12:59
betabugsince ZODB is written in python13:00
d2mjanolap1: consider using XMLRPC for access13:00
*** fredvd has joined #zope13:00
bigkevmcdor plain old web requests13:00
betabugthe simplest option is to have zope running and (as d2m said) have it expose the data in the way you need it13:00
d2mbtw, i did export zodb contents to mysql nativ dump format, should be no no problem13:01
bigkevmcdit's fairly easy to do a one-time dump13:01
janolap1betabug : The company gives us some reports but we can't ask a new report for every need...13:02
bigkevmcdjanolap1: they charge you for reports?13:02
janolap1bigkevmcd : yes13:02
bigkevmcdit's your data tho', right?13:02
janolap1bigkevmcd : yes it's our data, but we don't have any skill in zope.13:04
bigkevmcdyou would essentially need to write something to walk the object tree, dump out some representation of the data (CSV, SQL etc), and then have that read into the database of your choice13:05
janolap1So I would like to transfert the structure of the database (tables, fileds) and data for example in a sql dump format to import it in a database that we can use (oracle, mssql, mysql, access, ...)13:05
*** yvl has joined #zope13:05
bigkevmcdthere are no tables13:05
janolap1bigkevmcd : and this don't exists in zope ?13:05
bigkevmcdjanolap1: what "don't exists in zope" ?13:05
bigkevmcdjanolap1: tables?13:06
janolap1bigkevmcd : the script to walk the object tree, ...13:06
bigkevmcdjanolap1: it's specialised13:06
bigkevmcdjanolap1: different for each use13:06
bigkevmcdjanolap1: without knowing your objects, it's hard to estimate what the SQL/CSV representation of them would be13:06
janolap1bigkevmcd : and if we want to add some data, the script will need to be updated ?13:06
bigkevmcdjanolap1: where do you want to add it?13:07
bigkevmcdjanolap1: to your local copy of the database, or the ZODB ?13:07
algajanolap1: look at findObjectsProviding13:07
janolap1bigkevmcd : (sorry some structure to add new data type)13:07
bigkevmcdjanolap1: you'd need to update the dump script to express your new data type in the same output format13:09
janolap1alga : I don't know much about zope, I just want to access the data (from the database) from outside zope. Do you think the copany could make us something we can run in a cron for example and which would dump data .13:09
bigkevmcdjanolap1: They should be able to, it's just a case of mapping objects to CSV/SQL13:09
bigkevmcdI've done it to Python scripts before, it's fairly easy13:10
algajanolap1: which company?13:10
janolap1bigkevmcd : So to be more simple, I suggest to transfert the relationnal data inside mysql and ask the company to point to mysql instead of zodb...13:10
janolap1alga : a french company.13:10
algait certainly is doable13:10
bigkevmcdjanolap1: what relational data?13:10
bigkevmcdjanolap1: you have external data that you want to view in Zope?13:11
janolap1bigkevmcd : no we have data that we would like to view from outside zope.13:11
bigkevmcdjanolap1: there is _no_ relational data in Zope13:11
bigkevmcdjanolap1: Zope is not a relational database13:11
algajanolap1: more likely you would get an XML export of an agreed format and insert it into an RDBMS youself13:11
janolap1bigkevmcd : ok, but our datas are relataionnals datas, but they are not stored in a relationnal way in zodb (which is an object database).13:12
bigkevmcdjanolap1: are you sure they're not just pulling data from an external SQL database?13:13
janolap1alga : Yes, we have suggest it.13:13
*** hever has quit IRC13:13
janolap1bigkevmcd : I don't actually know...13:13
janolap1Oh, it's lunch time.13:13
d2mheh13:13
janolap1I have to go. I'll discuss with you if you want to after a good lunch...13:14
janolap1thank you for all your answer !13:14
*** menesis has quit IRC13:18
*** astoon has quit IRC13:42
*** hever has joined #zope13:46
*** smita has quit IRC13:48
*** vimes656 has quit IRC14:32
*** yvl has quit IRC14:34
*** TomBlockley has joined #zope14:44
*** fredvd has quit IRC14:51
*** makkalot has joined #zope14:54
makkalothi i'm using broswer:viewletManager in my configuration file but got  ConfigurationError: ('Unknown directive', u'http://namespaces.zope.org/browser', u'viewletManager')14:55
makkalotis it deprecated ?14:55
janolap1I'm back !14:55
janolap1bigkevmcd : can you tell me how I can see if they use a sql database ?14:56
mgedminmakkalot, have you got the right meta.zcml included?14:57
makkalotmgedmin: i dont know how can i check it ?14:59
makkalotit doesnt mention about it in the book15:00
janolap1I'm really knew to zope, so my question is a newbie one : in the Zope directories, where are the sources of applications : bin, include, lib, plone, zope ?15:00
janolap1I've found it : plone !15:01
mgedminmakkalot, welcome to the wonderful world of Zope15:02
mgedminmakkalot, what version of zope are you using?15:02
makkalotmgedmin: i guess i'm using the latest checked with buildout and zopeproject15:03
mgedminok, zopeproject15:03
*** _mup_ has quit IRC15:03
mgedminbasically, you need to include zope.viewlet's zcml15:04
*** _mup_ has joined #zope15:04
mgedminwheee, zopeproject fails for me --- version conflict, we already have zc.buildout 1.5.2, it doesn't say which version it wants15:05
mgedminwhy am I still involved with this?15:05
mgedminso, I have no time to waste on zopeproject15:05
mgedminwhat you need is: mention zope.viewlet in your setup.py, among install_requires15:06
mgedminhave your site zcml <include package="zope.viewlet" />15:06
mgedminmaybe also have your site zcml <include package="zope.viewlet" file="meta.zcml" />; I'm not sure15:06
makkalotmgedmin: ok wil give a try15:07
mgedmindo you know where your site.zcml is?  probably defined in buildout.cfg15:07
makkalotmgedmin: i included <include package="zope.viewlet" file="meta.zcml" /> into site.zcml and didnt work15:09
*** alexpilz has quit IRC15:10
mgedminlet me check what zope.viewlet defines15:10
mgedminyeah15:11
mgedmindid you re-run bin/buildout?15:11
makkalotrerruninng now15:11
*** alexpilz has joined #zope15:14
makkalotadded to setup.py zope.viewlet and included into site.zcml <include package="zope.viewlet" /> and <include package="zope.viewlet" file="meta.zcml" />15:14
makkalotdoest order matter in site.zcml ?15:15
makkalotmgedmin:15:15
mgedminorder matters15:18
mgedmingenerally all meta's come first15:18
*** sylvain has joined #zope15:19
*** astoon has joined #zope15:27
janolap1exit15:30
*** janolap1 has quit IRC15:30
*** menesis has joined #zope15:31
makkalotmgedmin: worked put the meta at the top of the config15:32
mgedminyay15:32
makkalotmgedmin: thanks15:33
*** menesis has quit IRC15:43
*** srichter has joined #zope15:47
*** benji has joined #zope15:58
*** J1m has joined #zope16:03
*** tisto has joined #zope16:12
makkaloti'm trying to put my own viewletmanagers but i got that error when use them in my macros : <class 'zope.tal.taldefs.TALError'>: Unrecognized expression type "provider". in expression u'provider:worldcookery.Toolbar'16:12
makkalotany ideas ?16:12
sylvaininclude zope.contentprovider zcml16:14
makkalotsylvain: ok trying16:15
makkalotsylvain: thanks worked16:17
makkalotit is very nice to get answers form that channel, it was a dead place before 2,3 years ago :)16:19
*** zenwryly has quit IRC16:35
*** hever has quit IRC16:38
*** Franzs has joined #zope16:40
*** Franzs has quit IRC16:41
*** pepeu has joined #zope16:45
*** smita has joined #zope16:45
*** cna has left #zope16:46
*** hever has joined #zope16:53
*** dayne has quit IRC16:55
makkalothow can i enable ftp server on zope3, in book it says i should add a <server ftp> to zope.conf i  added but got : Error: unknown type name: 'server'16:59
d2mwhich book?17:00
makkalotweb component development with z317:00
makkalotd2m:17:00
agroszermakkalot, that does not work with paster17:00
makkalotagroszer: so what are my options ?17:01
agroszergetting zserver to work is not so easy... do you really need to serve FTP?17:01
makkalotagroszer: no i want to test adapters in book from ftp17:03
agroszerlemme open my book17:05
*** alga has quit IRC17:06
agroszermakkalot, file representation?17:07
makkalotagroszer: yes17:07
*** MrWu has joined #zope17:09
agroszerI think the best would be now really to get an older Z3 for this17:09
agroszerunless you're good with buildout and recipes17:10
*** menesis has joined #zope17:10
makkalotagroszer: i'm at chapter 13 and all stuff worked good with little touches17:11
agroszerI got that17:12
*** bobo_b has joined #zope17:13
agroszerthe problem is that I think zopeproject uses paster17:13
agroszerbecause nowadays people are happy with HTTP only requests17:13
*** Theuni1 has quit IRC17:14
*** tiwula has joined #zope17:15
makkaloti see17:15
agroszermakkalot, basically you need to switch the paster recipe in buildout for e.g. an z3c.recipe.dev17:15
mgedminwhat about zc.zope3recipes?17:15
agroszerthat might work too17:16
mgedminhow do they compare?17:16
agroszerzc.zope3recipes seem to wipe the logs on re-buildout17:16
agroszerand it uses zdaemon17:16
agroszerbit more complex-ish than z3c.recipe.dev17:16
mgedminok17:17
mgedminbut then again zdaemon might be something that you want17:17
*** jim_SFU has joined #zope17:17
agroszerspec. on windows I did NOT want that ;-)17:18
*** dayne has joined #zope17:18
*** MrWu has quit IRC17:18
agroszerbtw mgedmin do you know why std list's lost permission declarations for me with ZTK 1.0?17:19
*** MrWu has joined #zope17:19
agroszerI get ForbiddenAttribute: ('__iter__', ['...', '...'])17:20
agroszerwhen the list gets proxied17:20
*** zenwryly has joined #zope17:22
agroszerhow to declare security for builtin classes?17:23
mgedminzope.security has a list of those, I think ...17:23
mgedminare you sure that's a real list?17:23
mgedminreprs can be deceiving sometimes17:24
agroszerno, I'm not sure17:24
agroszerlemme check17:24
agroszerbugger it's a PersistentList17:26
agroszersorry for the noise17:27
mgedminstill, no __iter__ for PersistentList?17:27
mgedminlooks like an oversight17:27
agroszerit's in zope.app.security17:27
mgedminah17:27
agroszerbut it's like a skeleton of lots of BBB imports17:27
agroszermgedmin, including zope.app.security helps, thx for the lead17:30
*** agroszer_ has joined #zope17:31
*** agroszer has quit IRC17:31
*** nitrogenycs has quit IRC17:44
*** betabug has quit IRC17:44
*** kursor has joined #zope17:46
*** sunew has quit IRC17:48
*** regebro has joined #zope17:52
*** betabug has joined #zope17:58
*** kursor_ has joined #zope17:59
*** kursor has quit IRC17:59
*** kursor_ is now known as kursor17:59
*** agroszer_ is now known as agroszer18:01
*** MJ has quit IRC18:06
*** alvaro_o has joined #zope18:08
*** alvaro_o has joined #zope18:08
*** betabug has quit IRC18:09
*** davisagli|away is now known as davisagli18:10
*** webmaven has quit IRC18:11
*** smita has quit IRC18:13
*** davisagli is now known as davisagli|away18:14
*** hever has quit IRC18:15
*** betabug has joined #zope18:15
*** hever has joined #zope18:15
*** menesis has quit IRC18:19
*** betabug has quit IRC18:20
*** menesis has joined #zope18:21
*** betabug has joined #zope18:24
*** alexpilz has quit IRC18:28
*** digitalmortician has quit IRC18:31
*** __mac__ has quit IRC18:32
*** mcdonc has joined #zope18:33
*** __mac__ has joined #zope18:33
*** mcdonc has quit IRC18:37
*** __mac__ has quit IRC18:37
*** _bluetouff has quit IRC18:38
*** pepeu has quit IRC18:38
*** mcdonc has joined #zope18:39
*** sm has joined #zope18:47
*** cbcunc has joined #zope18:49
*** betabug has quit IRC18:50
*** davisagli|away is now known as davisagli18:53
*** pepeu has joined #zope18:58
*** betabug has joined #zope19:02
*** giampaolo has quit IRC19:06
*** betabug has quit IRC19:07
*** astoon has quit IRC19:15
*** ccomb has quit IRC19:20
*** sm_ has joined #zope19:22
*** benji is now known as benji-lunch19:23
*** sm has quit IRC19:23
*** sm_ is now known as sm19:23
*** MrWu has quit IRC19:31
*** MrWu has joined #zope19:32
*** Subdino has joined #zope19:32
*** MrWu has quit IRC19:35
*** TresEquis has joined #zope19:36
*** tisto has quit IRC19:40
*** MatthewWilkes has quit IRC19:44
*** mitchell` is now known as mitchell`off19:52
*** betabug has joined #zope19:58
*** sylvain has quit IRC20:01
*** gwik has quit IRC20:03
*** touff has joined #zope20:09
*** Hypergraphe has joined #zope20:16
*** kursor has quit IRC20:18
*** benji-lunch is now known as benji20:25
*** hever has quit IRC20:27
*** TomBlockley_ has joined #zope20:31
*** TomBlockley_ has quit IRC20:32
*** TomBlockley has quit IRC20:34
*** evilbungle has quit IRC20:36
*** mcdonc has quit IRC20:43
*** agroszer_ has joined #zope20:44
*** agroszer has quit IRC20:46
*** evilbungle has joined #zope20:48
*** evilbungle has quit IRC20:52
*** gwik has joined #zope20:58
*** smita has joined #zope20:59
*** gwik has quit IRC21:02
*** TomBlockley has joined #zope21:12
*** teix has quit IRC21:12
*** mcdonc has joined #zope21:14
*** cbcunc has quit IRC21:16
*** Hypergraphe has quit IRC21:17
*** cbcunc has joined #zope21:19
*** daMaestro has joined #zope21:19
*** TresEquis has quit IRC21:39
*** ccomb has joined #zope21:42
*** TomBlockley has quit IRC21:43
*** cbcunc has quit IRC21:45
*** cbcunc has joined #zope21:46
*** alga has joined #zope22:04
*** TomBlockley has joined #zope22:13
*** davisagli is now known as davisagli|away22:14
*** davisagli|away is now known as davisagli22:15
*** agroszer_ has quit IRC22:19
*** TomBlockley has quit IRC22:21
*** touff has quit IRC22:24
*** ccomb has quit IRC22:35
*** d2m has left #zope22:39
*** alexpilz has joined #zope22:40
*** JaRoel|4D has quit IRC23:03
*** MatthewWilkes has joined #zope23:17
*** jim_SFU has quit IRC23:19
*** lucmult has left #zope23:32
*** Subdino has quit IRC23:43
*** vipod has quit IRC23:44
*** ccomb has joined #zope23:44
*** pepeu has quit IRC23:46
*** ccomb has quit IRC23:51
*** JaRoel|4D has joined #zope23:55

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