floseries | 3 Nov 10:59
Favicon

Zope instance under VISTA


Have created a plone3_buildout project named optilux (Plone development
book).

$ bin/instance fg

is running, but 

$ bin/instance start

comes with following error:

D:\Programme\optilux>bin\instance start
D:\Python24\python.exe
D:\Programme\optilux\parts\instance\bin\zopeservice.py start
Starting service Zope_393643977
Error starting service: access denied

Same with
$ bin/instance install

Could it be, that during run time of another zope instance service process a
second one cannot be installed ? Plone has been installed before under
Programme\Plone and optilux has its own Zope2 and Plone installation.

In addition: The user who is setting up the above commands has
administration rights (administration role under VISTA)

--

-- 
View this message in context: http://n2.nabble.com/Zope-instance-under-VISTA-tp3937491p3937491.html
(Continue reading)

floseries | 3 Nov 11:23
Favicon

paster and buildout under WINDOWS


Running paster for creating plone3_buildout project demands path for
zope2_install and plone_products_install.

I could not found any documentation which paths these are.

Having installed Plone 3.3.1 with zope before, are these following paths ? :

Zope2_install: ..Plone\bin or ...Plone\zope2
plone_products_install: ..Plone or ..Plone\buildout-cache\eggs

And where should the .buildout directory with the default.cfg be installed ?
Is it under c:\users\<username>\ ?

--

-- 
View this message in context: http://n2.nabble.com/paster-and-buildout-under-WINDOWS-tp3937573p3937573.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.

Martin Aspeli | 3 Nov 11:30
Picon

Re: paster and buildout under WINDOWS

floseries wrote:
> Running paster for creating plone3_buildout project demands path for
> zope2_install and plone_products_install.

Just leave them blank if you don't have these already.

> I could not found any documentation which paths these are.
> 
> Having installed Plone 3.3.1 with zope before, are these following paths ? :
> 
> Zope2_install: ..Plone\bin or ...Plone\zope2
> plone_products_install: ..Plone or ..Plone\buildout-cache\eggs
> 
> And where should the .buildout directory with the default.cfg be installed ?
> Is it under c:\users\<username>\ ?

Probably. The best way to check is to start a command line and do:

   python -c "import os.path; print os.path.expanduser('~')"

Martin

--

-- 
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book

Martin Aspeli | 3 Nov 11:32
Picon

Re: Zope instance under VISTA

floseries wrote:
> Have created a plone3_buildout project named optilux (Plone development
> book).
> 
> $ bin/instance fg
> 
> is running, but 
> 
> $ bin/instance start
> 
> comes with following error:
> 
> D:\Programme\optilux>bin\instance start
> D:\Python24\python.exe
> D:\Programme\optilux\parts\instance\bin\zopeservice.py start
> Starting service Zope_393643977
> Error starting service: access denied
> 
> 
> Same with
> $ bin/instance install

That's different - that just installs a Windows service. You may have a 
permission problem.

> Could it be, that during run time of another zope instance service process a
> second one cannot be installed ? Plone has been installed before under
> Programme\Plone and optilux has its own Zope2 and Plone installation.

You can't start two instances that run on the same port, no.
(Continue reading)

floseries | 3 Nov 12:02
Favicon

Re: paster and buildout under WINDOWS


Hello Martin,

Martin Aspeli wrote:
> 
> 
> floseries wrote:
>> 
>>> Running paster for creating plone3_buildout project demands path for
>>> zope2_install and plone_products_install.
>> 
> 
> Just leave them blank if you don't have these already.
> 

Well, I have those already and I do not want to install them more than ones.

Martin Aspeli wrote:
> 
> 
> floseries wrote:
>> 
>>> And where should the .buildout directory with the default.cfg be
>>> installed ?
>>> Is it under c:\users\<username>\ ?
>> 
> 
> Probably. The best way to check is to start a command line and do:
> 
>    python -c "import os.path; print os.path.expanduser('~')"
(Continue reading)

Martin Aspeli | 3 Nov 12:26
Picon

Re: paster and buildout under WINDOWS

floseries wrote:
> Hello Martin,
> 
> 
> Martin Aspeli wrote:
>>
>> floseries wrote:
>>>> Running paster for creating plone3_buildout project demands path for
>>>> zope2_install and plone_products_install.
>> Just leave them blank if you don't have these already.
>>
> 
> Well, I have those already and I do not want to install them more than ones.

Then given an absolute path to the existing installation (parts\zope2 
and parts\plone); note - if you're on Plone 3.2 or later, the 'plone 
products' stuff is irrelevant, just ignore it.

Martin

--

-- 
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book

floseries | 3 Nov 12:41
Favicon

Re: Zope instance under VISTA


Martin Aspeli wrote:
> 
>> $ bin/instance start
>> 
>> comes with following error:
>> 
>> D:\Programme\optilux>bin\instance start
>> D:\Python24\python.exe
>> D:\Programme\optilux\parts\instance\bin\zopeservice.py start
>> Starting service Zope_393643977
>> Error starting service: access denied
>> 
>> 
>> Same with
>> $ bin/instance install
> 
> That's different - that just installs a Windows service. You may have a 
> permission problem.
> 

Well. I understood, that I have to install first before being able to start
an instance.

Martin Aspeli wrote:
> 
> You can't start two instances that run on the same port, no.
> 

The ports are different: 8080 and 8081
(Continue reading)

floseries | 3 Nov 15:48
Favicon

Buildout error messages


Is there a possibility to suppress within buildout the python compilation of
eggs or directories within an egg ?

Actually it does not make sense that python files within skin directories
will be compiled. For those who are not so familiar with Zope and Plone will
think that there's something going wrong.

Most common error messages are:

    return <i<something
SyntaxError: 'return' outside function 

But it's not an error.
--

-- 
View this message in context: http://n2.nabble.com/Buildout-error-messages-tp3938888p3938888.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.

Martin Aspeli | 3 Nov 16:07
Picon

Re: Buildout error messages

floseries wrote:
> Is there a possibility to suppress within buildout the python compilation of
> eggs or directories within an egg ?

Not really, but they're harmless.

Martin

--

-- 
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book

floseries | 3 Nov 16:57
Favicon

instance: import error


Created plone3_buildout project with existing zope2 installation at plone3
project under plone\zope2.

After buildout started:

$ bin\instance start

Following traceback appears:

Traceback (most recent call last):
  File "D:\Programme\project\bin\instance-script.py", line 135, in ?
    plone.recipe.zope2instance.ctl.main(
  File "d:\programme\project\eggs\plone.recipe.zope2instance-2.7-py2.4.egg\p
lone\recipe\zope2instance\ctl.py", line 217, in main
    options.realize(args, doc=__doc__)

...

  File
"D:\Programme\Plone\zope2\lib\python\AccessControl\Implementation.py", li
ne 51, in setImplementation
    from AccessControl import ImplC as impl
  File "D:\Programme\Plone\zope2\lib\python\AccessControl\ImplC.py", line
30, in
 ?
    from ImplPython import RestrictedDTML, SecurityManager,
ZopeSecurityPolicy
ImportError: No module named ImplPython

(Continue reading)


Gmane