[Zope3-Users] installing zope3
Hi All,I've downloaded latest zope3.1.0upack it run ./configureConfiguring Zope installationTesting for an acceptable Python interpreter...Python version 2.3.5 found at /usr/bin/pythonThe optimum Python version ( 2.3.5) was found at /usr/bin/python.then make and got error:[EMAIL PROTECTED] make/usr/bin/python install.py -q buildTraceback (most recent call last): File install.py, line 28, in ? context.initialize() File /tmp/Zope-3.1.0/Support/zpkgsetup/setup.py, line 103, in initialize self.scan(depname, pkgdir, reldir) File /tmp/Zope-3.1.0/Support/zpkgsetup/setup.py, line 191, in scan self.scan_package(name, directory, reldir) File /tmp/Zope-3.1.0/Support/zpkgsetup/setup.py, line 202, in scan_package pkginfo = package.loadPackageInfo(name, directory, reldir) File /tmp/Zope- 3.1.0/Support/zpkgsetup/package.py, line 100, in loadPackageInfo pkginfo = read_package_info(directory, reldir) File /tmp/Zope-3.1.0/Support/zpkgsetup/package.py, line 157, in read_package_info data_files[:] = expand_globs(directory, reldir, data_files) File /tmp/Zope-3.1.0/Support/zpkgsetup/package.py, line 294, in expand_globs raise ValueError(ValueError: filename pattern '*- configure.zcml' doesn't match any filesmake: *** [build] Error 1Any idea what causing this? ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] addview name not form
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Florian Lindner wrote: Am Montag, 3. Oktober 2005 14:01 schrieb Florian Lindner: Am Freitag, 30. September 2005 20:17 schrieb Julien Anguenot: Florian Lindner wrote: Am Donnerstag, 29. September 2005 20:25 schrieb Julien Anguenot: First have a look at this : http://www.zope.org/Collectors/Zope3-dev/391 Sorry, didn't read that thoroughly. What do you suggest at the moment do get the desired behavior? Your ContentFolder should implement IAdding and then your example should work I guess. I've modified my content class directive for the addfolder: interface interface=.interfaces.IContentFolder type=zope.app.content.interfaces.IContentType / content class=.contentfolder.ContentFolder implements interface=zope.app.annotation.interfaces.IAttributeAnnotatable / implements interface=zope.app.container.interfaces.IContentContainer / implements interface=zope.app.container.interfaces.IAdding / factory description=CS ContentFolder / require permission=CS.View interface=.interfaces.IContentFolder / require permission=CS.Edit set_schema=.interfaces.IContentFolder / /content And my addMenuItem: addMenuItem title=Link class=CS.Link.link.Link view=AddCSLink.html permission=CS.Add menu=CSaddMenu layer=centershock for=CS.ContentFolder.interfaces.IContentFolder / it's still: zope.configuration.exceptions.ConfigurationError: view name AddCSLink.html not found Does it work with your code? (the code I uploaded) Yes, if you specify the the addMenuItem directive : addMenuItem title=Link class=CS.Link.link.Link view=AddCSLink.html permission=zope.Public menu=CSaddMenu layer=centershock / 1) specify a layer on the addMenuItem directive. 2) remove the for attribute for now until your ContentFolder class implements IAdding. J. - -- Julien Anguenot | Nuxeo RD (Paris, France) CPS Platform : http://www.cps-project.org Zope3 / ECM : http://www.z3lab.org mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFDSqXSGhoG8MxZ/pIRAsbgAJwP8mj0ANTJi/trUyc5QMBErmmcGQCdGbBP U6wfgBUjSLA3+xawgO+sHXs= =Qkvd -END PGP SIGNATURE- ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] installing zope3
On Mon, 2005-10-10 at 21:26 +1300, Michael wrote: Hi All, I've downloaded latest zope3.1.0 upack it run ./configure Configuring Zope installation Testing for an acceptable Python interpreter... Python version 2.3.5 found at /usr/bin/python The optimum Python version ( 2.3.5) was found at /usr/bin/python. then make and got error: [EMAIL PROTECTED] make Hi Michael, you should not be installing (or running) zope3 as root user. Alen ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] installing zope3
Tried to install as non root - same error:ValueError: filename pattern '*-configure.zcml' doesn't match any filesOn 10/11/05, Alen Stanisic [EMAIL PROTECTED] wrote:On Mon, 2005-10-10 at 21:26 +1300, Michael wrote: Hi All, I've downloaded latest zope3.1.0 upack it run ./configure Configuring Zope installation Testing for an acceptable Python interpreter... Python version 2.3.5 found at /usr/bin/python The optimum Python version ( 2.3.5) was found at /usr/bin/python. then make and got error: [EMAIL PROTECTED] makeHi Michael,you should not be installing (or running) zope3 as root user. Alen ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] installing zope3
linux - debian - 3.1 x86(intel P4) gcc (3.5 and 4.0.2)python 2.3.5 and 2.4.2On 10/11/05, Ronald L Chichester [EMAIL PROTECTED] wrote:Okay, I take it your running some type of *nix platform.Which OS and architecture (i.e., cpu) are you running?If you're running Linux,which distribution are you using?On Tue, 11 Oct 2005 11:14:44 +1300Michael [EMAIL PROTECTED] wrote: no - root access On 10/11/05, Ronald L Chichester [EMAIL PROTECTED] wrote: You don't have a permission problem with /tmp do you? On Tue, 11 Oct 2005 06:56:39 +1300 Michael [EMAIL PROTECTED] wrote: Yes, What else? On 10/11/05, Ronald L Chichester [EMAIL PROTECTED] wrote: Bad download, perhaps? Did the checksum from your download match the one from the Zope site?On Mon, 10 Oct 2005 21:26:23 +1300 Michael [EMAIL PROTECTED] wrote: Hi All, I've downloaded latest zope3.1.0 upack it run ./configure Configuring Zope installation Testing for an acceptable Python interpreter... Python version 2.3.5 found at /usr/bin/python The optimum Python version (2.3.5) was found at /usr/bin/python. then make and got error: [EMAIL PROTECTED] make /usr/bin/python install.py -q build Traceback (most recent call last): File install.py, line 28, in ? context.initialize() File /tmp/Zope- 3.1.0/Support/zpkgsetup/setup.py, line 103, in initialize self.scan(depname, pkgdir, reldir) File /tmp/Zope-3.1.0/Support/zpkgsetup/setup.py, line 191, in scan self.scan_package(name, directory, reldir) File /tmp/Zope-3.1.0/Support/zpkgsetup/setup.py, line 202, in scan_package pkginfo = package.loadPackageInfo(name, directory, reldir) File /tmp/Zope-3.1.0/Support/zpkgsetup/package.py, line 100,in loadPackageInfo pkginfo = read_package_info(directory, reldir) File /tmp/Zope-3.1.0/Support/zpkgsetup/package.py, line 157,in read_package_info data_files[:] = expand_globs(directory, reldir, data_files) File /tmp/Zope-3.1.0/Support/zpkgsetup/package.py, line 294,in expand_globs raise ValueError( ValueError: filename pattern '*-configure.zcml' doesn't matchany files make: *** [build] Error 1 Any idea what causing this? ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users