Re: [Zope3-Users] third try: containment
Stephan, Roger, thanks for your kind replies, I'm sorry for taking a so long time to reply to you, I dedicate to this Zope 3 personal project my spare time. As for my difficulties with the ftp files representation of my components, I found out what the problem was. I just had mis-spelled the name of an adapter in my code and I also had NO test to test that single bit of code. My fault ;-) As for the GUI offering a contents tab on not container components, I just discovered I had written a wrong configuration in my browser/configure.zcml file The worse thing is almost all the simptoms I runned into are described in the book chapter about creating new components (I think; I'm not sure but I can make this certain if you want me to). So, blame on me. Anyhow I didn't know what the effect of turning on the developer mode was and that helped me to settle this down. So, thanks for your help. The FM is not the only way to settle things down, after all ;-) Now, I'm on my way again to complete this project Bye Catonano At 04.32 24/11/2007, Stephan Richter wrote: On Friday 23 November 2007, catonano wrote: Hello zopers, well this is my third try to ask a question, after the first two ones went totally ignored, in the last few days. The second one was quite simple: how do I instruct the ftp server to write some lines in the access log ? I think nobody has looked at FTP for a while, so the answer is not easily produced by anyone. You will have to read the code to see how it is done. Silence. How comes ? Did I hurt or piss off anyone ? If so, I'm sorry; I'm ready to apologize as soon as someone explains me what I got wrong. Silence usually means that nobody knows the answer. So far my components are NOT persistent. The do NOT inherit from Persistent nor they do implement some sort of persistence themselves. This is because I'm just trying to explore the containment stuff and I don't want to put in too many layers too early. Then you loose! BUT, when in the book component, one of the views the ZMI offers is content, which, as far as I know, is referred to the containers contents and my book is NOT a container ! I swear ! It does NOT implement the IContainer interface or any descendant interface ! Based on what follows, you are lying to us. ;-) As Roger suggested, try inspecting the object. Still the ZMI offers to see the contents of it. If I click on the contents tab a white screen pops up telling my a system error occurred, and the output in the terminal shows a message about a forbidden attribute items called. This is because the system sees that the book is a container and tries to access attributes that have no security declaration/ How is that ? The ZMI takes it correctly when it's about to add content to the shelf, proposing to add a book only, in the left bar, and also, inside the book component, there's no action add in the actions stripe. Still, there's the content tab in the views tabs !! Regards, Stephan -- Stephan Richter CBU Physics Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.3/1144 - Release Date: 21/11/07 16.28 ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] third try: containment
Hello zopers, well this is my third try to ask a question, after the first two ones went totally ignored, in the last few days. The second one was quite simple: how do I instruct the ftp server to write some lines in the access log ? Silence. How comes ? Did I hurt or piss off anyone ? If so, I'm sorry; I'm ready to apologize as soon as someone explains me what I got wrong. Anyhow, here's my third try: I'm trying to learn the Zope 3 architecture and costumes starting from the book example (the messageboard and the messages). I created two example components: shelf and book. Of course, a shelf can contain books. So far my components are NOT persistent. The do NOT inherit from Persistent nor they do implement some sort of persistence themselves. This is because I'm just trying to explore the containment stuff and I don't want to put in too many layers too early. My shelf has no attribute, the only difference between it and the common folders (containers) is that shelf can contain books ONLY. A book has 3 attributes: title, author, editor; it can be contained in a shelf only and it is NOT a container; it can't contain anything. In the ZMI I see my components, I added a shelf and inside the shelf a book. So far, so good ! BUT, when in the book component, one of the views the ZMI offers is content, which, as far as I know, is referred to the containers contents and my book is NOT a container ! I swear ! It does NOT implement the IContainer interface or any descendant interface ! Still the ZMI offers to see the contents of it. If I click on the contents tab a white screen pops up telling my a system error occurred, and the output in the terminal shows a message about a forbidden attribute items called. How is that ? The ZMI takes it correctly when it's about to add content to the shelf, proposing to add a book only, in the left bar, and also, inside the book component, there's no action add in the actions stripe. Still, there's the content tab in the views tabs !! How is that ? I'm on win XP and Zope 3.3.1 Thanks so much anyone for any hint ! Bye Catonano ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] ftp server access log
Hello zopers, I configured my Zope installation (on XP) to start the ftp server also and I'd love to read in the log file about the ftp access operations.It reports about http GETs and POSTs only ! Here an excerpt of my log/z3.log file 2007-11-15T22:02:54 INFO root -- HTTP:localhost:8080 Server started. Hostname: localhost Port: 8080 -- 2007-11-15T22:02:54 INFO root -- FTP:localhost:8021 Server started. Hostname: localhost Port: 8021 -- 2007-11-15T22:02:54 INFO root Startup time: 3.968 sec real, 3.974 sec CPU well, nice. Now, here's an excerpt from my log/access.log file 127.0.0.1 - - [15/Nov/2007:22:06:41 +0200] GET /miaMensola/@@contents.html HTTP/1.1 200 8925 http://localhost:8080/cart/@@contents.html; Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9 127.0.0.1 - - [15/Nov/2007:22:06:41 +0200] GET /miaMensola/@@singleBranchTree.xml HTTP/1.1 200 537 http://localhost:8080/miaMensola/@@contents.html; Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9 127.0.0.1 - - [15/Nov/2007:22:06:45 +0200] POST /miaMensola/@@contents.html HTTP/1.1 303 7411 http://localhost:8080/miaMensola/@@contents.html; Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9 127.0.0.1 - - [15/Nov/2007:22:06:45 +0200] GET /miaMensola/@@contents.html HTTP/1.1 200 7711 http://localhost:8080/miaMensola/@@contents.html; Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9 127.0.0.1 - - [15/Nov/2007:22:06:45 +0200] GET /miaMensola/@@singleBranchTree.xml HTTP/1.1 200 537 http://localhost:8080/miaMensola/@@contents.html; Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9 I logged in in the ftp server too and no trace of that is present in this log ! How can I instruct the ftp server to log its activities ? Thanks so much Bye Catonano ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] security policy - help
Hello zopers, I'm following the Zope Book example to create custom components. I created a shelf component and a book component and I let you the guess about the containment relationship ;-) In the web admin interface I see my components, I create them and browse them, I see the books put in (on ? ) the shelf. BUT when I try to access via ftp, I get a Access denied error message, but look : ONLY if there are some books in the shelf; if it's empty, it gives me the empty listing without raising errors. Any hint ? Why the same components are accessible by an user via the web and NOT via the ftp ? Please don't send me to RTFM, it's a silly thing I can't stand I have to read the security part of the book for this ! And, further, in the log/access.log file I can see the http get requests but not the ftp accesses ? How do I get the ftp activities logged too ? Also, in the etc/zope.conf file, at the bottom I see this: # devmode # # Switches the Developer Mode on and off. # # Default: # devmode off # #devmode on what is developer mode ? What should I expect if I set it on ? Thanks anyone for any hint Bye Catonano ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] security policy - help
At 13.21 14/11/2007, catonano wrote: Hello zopers, I'm following the Zope Book example to create custom components. I created a shelf component and a book component and I let you the guess about the containment relationship ;-) In the web admin interface I see my components, I create them and browse them, I see the books put in (on ? ) the shelf. BUT when I try to access via ftp, I get a Access denied error message, but look : ONLY if there are some books in the shelf; if it's empty, it gives me the empty listing without raising errors. Any hint ? Why the same components are accessible by an user via the web and NOT via the ftp ? I forgot to explain that I'm trying to give my components a representation as files, as the example in the book ! That's why I try to see them in ftp ! Thabks anyhow ! Catonano ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] exploring Zalchemy
Chris and Jurgen, thanks so much for your replies. I have to apologize, it was so simple. The url I gave to the engineUtility was wrong ! It had 3 (three) slashes ! it was 'mysql:///...' while it had to be 'mysql://..:' That's it. Yesterday evening I was able to make it work, create tables, populate them and query them. probably, with wrong or invalid urls the machinery for the connecton tries with a standard url, which happens to be '[EMAIL PROTECTED] etc' Well, thanks so much anyhow. I'm considering to use Zalchemy to provide a file system like access (ftp or web dav) to an existing database. The database is from a phpbms installation and I don't like the user interaction of javascript based stuff. In the Zope book there's an example of giving an ftp like access to a bbs made with Zope. If I'll be able to map my database to some Zope objects, I'll then try to extend that example to represent my stuff. I don't know wether to use rtf models with values taken from the database pasted in them or Xml or restructured text (I heard about it but I don't know exactly what it is). Now, it's early. But I think I'll come here to ask for help some more times, so you'll be kept informed about my progress ;-) Thanks people Bye Catonano At 09.01 07/11/2006, you wrote: catonano wrote: DBAPIError: (Connection failed) (OperationalError) (1045, Access denied for user 'ODBC'@'localhost' (using password: NO)) This seems like you need to find out how to allow access to you user in mysql. It also looks like you might want to supply a password somewhere... Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] exploring Zalchemy
Hello people, hello Jurgen, last time I wrote, I was at the point that aTable = sqlalchemy.Table('aTable', z3c.zalchemy.metadata, autoload=True) doesn't work. I also promised that I would have seen if I could help with that; Sorry I still can't help. I would love to succeed in zopezing my MySql database, before anything else. So I tried to use the example in the zalchemy readme file as it is. It doesn't work either ! Please help me ! The work session follows. PyCrust 0.9.5 - The Flakiest Python Shell Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)] on win32 Type help, copyright, credits or license for more information. import sqlalchemy import z3c.zalchemy from z3c.zalchemy.datamanager import AlchemyEngineUtility engineUtility = AlchemyEngineUtility('tender','mysql:///root:[EMAIL PROTECTED]/tender',echo=False) aTable = sqlalchemy.Table('zalch', ... z3c.zalchemy.metadata, ... sqlalchemy.Column('id', sqlalchemy.Integer, ... sqlalchemy.Sequence('atable_id'), primary_key=True), ... sqlalchemy.Column('value', sqlalchemy.Integer), ... redefine=True) class A(object): ... pass ... sqlalchemy.mapper(A, aTable) is not None True from zope.component import provideUtility provideUtility(engineUtility) z3c.zalchemy.createTable('zalch') import transaction txn = transaction.begin() session = z3c.zalchemy.getSession session() [2006-11-05 14:53:19,500] [pool] : Error on connect(): (Connection failed) (OperationalError) (1045, Access denied for user 'ODBC'@'localhost' (using password: NO)) sqlalchemy.orm.session.Session object at 0x0200D990 It tries to connect to MySql with [EMAIL PROTECTED] usng password: no But the engineUtility I created had a completely different URL ! Maybe I wrote the url incorrectly ? Also a simpler url gives the same url. Look at this Py 0.9.5 Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)] on win32 Type help, copyright, credits or license for more information. import sqlalchemy import z3c.zalchemy from z3c.zalchemy.datamanager import AlchemyEngineUtility engineUtility = AlchemyEngineUtility('tender', 'mysql:///[EMAIL PROTECTED]') eng = engineUtility.getEngine() eng.connect() [2006-11-06 01:04:57,983] [pool] : Error on connect(): (Connection failed) (OperationalError) (1045, Access denied for user 'ODBC'@'localhost' (using password: NO)) Traceback (most recent call last): File input, line 1, in ? File build\bdist.win32\egg\sqlalchemy\engine\base.py, line 477, in connect File build\bdist.win32\egg\sqlalchemy\engine\base.py, line 179, in __init__ File build\bdist.win32\egg\sqlalchemy\engine\base.py, line 500, in raw_connection File build\bdist.win32\egg\sqlalchemy\engine\default.py, line 42, in get_connection File build\bdist.win32\egg\sqlalchemy\pool.py, line 95, in connect File build\bdist.win32\egg\sqlalchemy\pool.py, line 172, in __init__ File build\bdist.win32\egg\sqlalchemy\pool.py, line 108, in get File build\bdist.win32\egg\sqlalchemy\pool.py, line 294, in do_get File build\bdist.win32\egg\sqlalchemy\pool.py, line 91, in create_connection File build\bdist.win32\egg\sqlalchemy\pool.py, line 131, in __init__ File build\bdist.win32\egg\sqlalchemy\pool.py, line 155, in __connect File build\bdist.win32\egg\sqlalchemy\engine\default.py, line 33, in connect DBAPIError: (Connection failed) (OperationalError) (1045, Access denied for user 'ODBC'@'localhost' (using password: NO)) What's wrong with these sessions ? Thanks so much for any hint Bye Catonano ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Re: SqlAlchemy
Hi Jurgen, At 07.52 15/09/2006, you wrote: Hi catonano. As the developer of the z3c.zalchemy package let me give you a short introduction to zalchemy : [...] See also my notes below. And don't forget to read the README in z3c.zalchemy ;) Jürgen sorry for replying so late. I had to take care of my day job. Thanks SO much for your informative reply. I was missing the integration with Zope importance. I read your notes and the readme file. Now, quickly: what's wrong in the following session ? (the winner is going to be gratified with a costant amount of session containing errors for six months ;-) ) import sqlalchemy import z3c.zalchemy from z3c.zalchemy.datamanager import AlchemyEngineUtility engineUtility = AlchemyEngineUtility('tender','mysql:///[EMAIL PROTECTED]',echo=False) listaparti = sqlalchemy.Table('listaparti', z3c.zalchemy.metadata, autoload = True) Traceback (most recent call last): File input, line 1, in ? File build\bdist.win32\egg\sqlalchemy\schema.py, line 138, in __call__ AttributeError: 'NoneType' object has no attribute 'reflecttable' If I try without the autoload argument, it doesn't claim anything and gives me the prompt back listaparti = sqlalchemy.Table('listaparti', z3c.zalchemy.metadata) But I'd LOVE it to discover the tables on its own ! Also, I took the trunk from the SVN bt I really don't know what sandbox is and neither branches ! And they all were in the HEAD revision ! Was I right when I took the trunk one? Thanks SO much Bye Catonano ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] SqlAlchemy
Hello zopers, well this email is going to be quite long, I'm sorry I have many things to say I saw the Zope 3 book, particulary the mapping (adapting) between the persistent objects defined there (a messageboard and a message objects) and some ftp files (and folders). Now, I'd like to do the same with some, say, objects that are in a MySql database. I would love to realize a folders/files hierarchy that's mapped on my relational database ! I saw SqlAlchemy. It's impressive. I took a look at the Zalchemy code too, just to see wether I could borrow something. I made a plan about how to achieve all this. I would like to expose it here and ask you, kind zopers, wether it's sane or there's something BIG I'm missing. Because in the Zalchemy code I saw something I don't understand so I started to fear that there is something big I'm missing, indeed. So, my plan is: 1) introduce all my tables and relationships between them. Something like users = Table('users', metadata, autoload = True) and then overriding some table property where needed, also introducing some relationships, all what needed 2) define some interfaces as in the Zope 3 book, introducing containers and contained objects 3) define implementation classes for the interfaces that in their methods do something similar to what I saw in SQLAlchemyContainer, for example, which is, say, def __setitem__(self, name, item): session = z3c.zalchemy.getSession() #in my case I still don't know where I'll take the session from session.save(item) session.flush([item]) 4) adapt these components to files, as in the book example Could this be a good plan ? Because in the Zalchemy code I saw a strange class, that is: class AlchemyDataManager(object): Takes care of the transaction process in zope. implements(IDataManager) shall I take care of this transaction process too ? Because I know nothing about it and saw not so many docs about the internal Zope3 machinery. Thanks so much for any hint Bye Catonano ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] help ! Zope 3.2.1 won't start any longer !
Microsoft Windows XP [Versione 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\adrianod: D:\ZopeIstanza\bin\runzope Error: 'formatter' is not a known key name (line 103 in file:/D|/ZopeIstanza/etc/zope.conf) For help, use D:\ZopeIstanza\bin\runzope -h D:\ well, I admit I tweaked the python installation. PyReadline was not installed so IPython didn't sport autocompletion ! probably I reinstalled something without removing it first ! But I an't remeber what ! Then I removed evrything and reinstalled ALL 1) python 2) python extensions http://starship.python.net/crew/mhammond 3) ctypes http://starship.python.net/crew/theller/ctypes 4) pyreadline http://projects.scipy.org/ipython/ipython/wiki/PyReadline/Intro 5) Zope I also tried to remove all and reinstall JUST python and Zope Same result ! Please help me ! What can I do ? Please don't suggest me to format the disk, reinstall windows and then Pyhton, Zope, etc ! Thanks so much ! Bye Catonano ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] help ! Zope 3.2.1 won't start any longer !
Tom, At 00.57 14/09/2006, Tom Dossis wrote: catonano wrote: Microsoft Windows XP [Versione 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\adrianod: D:\ZopeIstanza\bin\runzope Error: 'formatter' is not a known key name (line 103 in file:/D|/ZopeIstanza/etc/zope.conf) For help, use D:\ZopeIstanza\bin\runzope -h Try commenting out the problem line(s) in your zope.conf, e.g. logfile path $LOGDIR/z3.log # formatter zope.exceptions.log.Formatter /logfile logfile path STDOUT # formatter zope.exceptions.log.Formatter /logfile In my zope 3.2 instance, the zope.conf file doesn't contain the formatter params. (but my 3.3 version does). Wow ! Thanks, it works ! I was really scared ! Where do those lines come from ? I don't understand ! I just used the 3.2.1 installer ! Bah ! Thanks anyhow ! Bye Catonano ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] It really works, now (was: it works, now)
Adam, Phillipp, people, Ok, I didn't install correctly. I found how to install a package here http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/Zope3Book/installpackages.html and not here ! http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/Zope3Book/contentobject.html I just had to put the folder in ZopeIstance/lib/python I had tried indeed but didn't see the result. I had to wait for one night to pass in order to succeed. I was tired, maybe. Now that is : Microsoft Windows XP [Versione 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\adrianod: D:\cd ZopeIstanza D:\ZopeIstanzabin\test.bat -s book.messageboard Running unit tests: Ran 28 tests with 0 failures and 0 errors in 0.234 seconds. D:\ZopeIstanza BUT now the startup output gives me some warnings. Here they are (this is the step 1 of the book): D:\ZopeIstanzabin\runzope d:\ZopeIstanza\lib\python\book\messageboard\configure.zcml:9: DeprecationWarning : The 'content' alias for the 'class' directive has been deprecated and will be removed in Zope 3.5. content class=.messageboard.MessageBoard C:\Programmi\Python24\Lib\site-packages\zope\configuration\config.py:184: Deprec ationWarning: zope.app.annotation has moved to zope.annotation. Import of zope.a pp.annotation will become unsupported in Zope 3.5 mod = __import__(mname, *_import_chickens) C:\Programmi\Python24\Lib\site-packages\zope\configuration\config.py:184: Deprec ationWarning: zope.app.annotation.interfaces has moved to zope.annotation.interf aces. Import of zope.app.annotation.interfaces will become unsupported in Zope 3 .5 mod = __import__(mname, *_import_chickens) C:\Programmi\Python24\Lib\site-packages\zope\configuration\fields.py:417: UserWa rning: You did not specify an i18n translation domain for the 'description' fiel d in d:\ZopeIstanza\lib\python\book\messageboard\configure.zcml warnings.warn( d:\ZopeIstanza\lib\python\book\messageboard\configure.zcml:35: DeprecationWarnin g: The 'content' alias for the 'class' directive has been deprecated and will be removed in Zope 3.5. content class=.message.Message C:\Programmi\Python24\Lib\site-packages\zope\configuration\fields.py:417: UserWa rning: You did not specify an i18n translation domain for the 'label' field in d :\ZopeIstanza\lib\python\book\messageboard\browser\configure.zcml warnings.warn( C:\Programmi\Python24\Lib\site-packages\zope\configuration\fields.py:417: UserWa rning: You did not specify an i18n translation domain for the 'description' fiel d in d:\ZopeIstanza\lib\python\book\messageboard\browser\configure.zcml warnings.warn( C:\Programmi\Python24\Lib\site-packages\zope\configuration\fields.py:417: UserWa rning: You did not specify an i18n translation domain for the 'title' field in d :\ZopeIstanza\lib\python\book\messageboard\browser\configure.zcml warnings.warn( -- 2006-08-27T21:52:58 INFO root -- HTTP:localhost:8080 Server started. Hostname: localhost Port: 8080 -- 2006-08-27T21:52:58 INFO root Startup time: 9.828 sec real, 9.828 sec CPU looks like the zcml file is a bit obsolete. I still can't fix it myself, but I surely can go on with the book now ! Thanks, people ! Bye Catonano At 09.58 27/08/2006, you wrote: Hello Catonano, As far as I remember, the book.messageboard is the sample app developed in Stephan's book (http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/FrontPage/Zope3Book) I think there are instructions how to get and install the package. ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
it works, now (was: Re: [Zope3-Users] zope 3 book - is it still meaningful ? )
Hello people, Hello Andreas and Adam, I found the test file. It's InstanceFolder/bin/test and there's also InstanceFolder/bin/test.bat Well, I called it with what follows: D:\ZopeIstanzabin\test.bat --dir src\book\messageboard Total: 0 tests, 0 failures, 0 errors D:\ZopeIstanza Well, thanks so much anyhow for any help. Bye Catonano ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
it works, now (was: Re: [Zope3-Users] zope 3 book - is it still meaningful ? )
Well... D:\ZopeIstanzabin\test.bat --dir src\book\messageboard Total: 0 tests, 0 failures, 0 errors D:\ZopeIstanza 0 tests is not that correct... Any hint ? Thanks Catonano ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Installing Zope3 on Windows
Hello people, I downloaded the 3.2.1 version from http://zope.org/Products/Zope3 but it has no windows installer. the previous 3.2.o has it. That is, the last version marked as stable has no windows installer, while the versions marked as developement and the previous stable versions do have it. The download page says: The version Trunk contains the pyd files necessary to get the trunk working on win32 without a C compiler. The ZIP files will get marked with SVN revision number (Unzip into the root of a Zope3 trunk checkout). So I suspect that the versions with no windows installer can work on windows BUT the readme file explicitly says to use a windows installer to install Zope, otherwise you must have a supported C compiler (it's not my case). In a few words: what should I do to make the 3.2.1 version I downloaded work ? I've been playing with Zope 2 and I also made a small job with that and I liked it. Now I want to see wether I can reach a reasonable setup also with Zope3. Thanks SO much for any help ! Bye Catonano ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Installing Zope3 on Windows
Adam, At 20.02 25/08/2006, you wrote: Hello Catonano, Just uploaded a win32 installer and the pyds. Wow ! Really fast ! Thanks SO much ! Bye Catonano ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] zope 3 book - is it still meaningful ?
Hello people, I'm trying to follow the Zope 3, precisely the part that you can find at http://dev.zope.org/Zope3/Zope3Book/contentobject.html. it shows how to create new content type components ( a message board type and a message type) All the source code files are downloadable from the svn, so you can try , following the instructions in the book. The book is quite old ! In the svn I see it's been edited last time in 2004 ! In chapter 13, paragraph 6, there's this sentence: ... There is a script called test.py that will run all or only specified tests for you. To run the test against your implementation, execute the following line from the Zope 3 root directory: 1 python2.3 test.py -vpu --dir src/book/messageboard ... Well, is there a test.py file ? I can't find it ! Also in the svn there's so much material that isn't regarded at all in the book text ! Is that text still valuable ? Or is it obsolete and meaningless, at now ? Thanks so much Bye Catonano ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users