dthomas218 | 3 Jan 02:22
Favicon

Can't run easy_install from Plone317 Windows experimental buildout


I installed the experimental buildout package into c:\Plone317. Then I
changed my path statement to include c:\Plone317\Python\ and
c:\Plone317\Python\Scripts. I can run python from any folder and I'm python.
Import sys, then sys.executable shows c://Plone317//Python//.

But from the command line, if I run easy_install with or without parameters,
I get: 
Cannot find Python executable
C:\src\Windows\trunk\build\community\3.1.7\external-Python-2.4-source\python.exe

Where is easy_install constructing this odd path from? A config file? A
python script?

Also reported by runyaga here: http://dev.plone.org/plone/ticket/8757

Thanks for any help.

Dan
--

-- 
View this message in context: http://n2.nabble.com/Can%27t-run-easy_install-from-Plone317-Windows-experimental-buildout-tp2104170p2104170.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.

Martin Aspeli | 3 Jan 02:53
Picon
Gravatar

Re: Can't run easy_install from Plone317 Windows experimental buildout

dthomas218 wrote:
> I installed the experimental buildout package into c:\Plone317. Then I
> changed my path statement to include c:\Plone317\Python\ and
> c:\Plone317\Python\Scripts. I can run python from any folder and I'm python.
> Import sys, then sys.executable shows c://Plone317//Python//.
> 
> But from the command line, if I run easy_install with or without parameters,
> I get: 
> Cannot find Python executable
> C:\src\Windows\trunk\build\community\3.1.7\external-Python-2.4-source\python.exe
> 
> Where is easy_install constructing this odd path from? A config file? A
> python script?
> 
> Also reported by runyaga here: http://dev.plone.org/plone/ticket/8757
> 
> Thanks for any help.

I'm not sure why the buildout-based installer has easy_install at all. 
For most purposes in Plone, easy_install and buildout (i.e. editing 
buildout.cfg to add a new egg and re-running bin\buildout) are mutually 
exclusive - and the latter is more predictable and better supported.

Martin

--

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

(Continue reading)

dthomas218 | 3 Jan 22:29
Favicon

Re: Can't run easy_install from Plone317 Windows experimental buildout


Thanks, Martin. I was stuck in trying to install ZopeSkel using easy_install,
and found another way at
http://www.openplans.org/projects/plone-conference-2008-dc/zopeskel/#how-to-windows:

Install ZopeSkel
----------------
Open a command prompt (hit Windows-r or go to Start -> Run)
C:\>easy_install -U ZopeSkel
- or -
[ from JJ's zopeskel branch ]
C:\>mkdir zopeskel
C:\>cd zopeskel
C:\zopeskel> svn co
http://svn.plone.org/svn/collective/ZopeSkel/branches/jjmojojjmojo-AT/
C:\zopeskel> cd jjmojojjmojo-AT
C:\zopeskel\jjmojojjmojo-AT> python setup.py develop
C:\zopeskel\jjmojojjmojo-AT> cd ..\

Dan

Martin Aspeli-2 wrote:
> 
> dthomas218 wrote:
>> I installed the experimental buildout package into c:\Plone317. Then I
>> changed my path statement to include c:\Plone317\Python\ and
>> c:\Plone317\Python\Scripts. I can run python from any folder and I'm
>> python.
>> Import sys, then sys.executable shows c://Plone317//Python//.
>> 
(Continue reading)

Sebastian.Lux | 5 Jan 14:35

Help with VirtualHostMonster


Hello,

Iam running Plone on a Windows 2003 Server (Just Plone, no Apache or
anything else). Lets call it "Server2"

Now I have got another Server (Lets call it Server1) with Apache and some
other services already running.

I want Plone to be reachable at the following url: http://Server1/myPortal

So I set up a rewrite rule in the httpd.conf of Server1 Apache like this:
RewriteRule ^/myPortal(.*) http://Server2:8000/$1 [P,R]

This works, BUT after reaching the Plone Site, all other links are not
converted to http://Server1/myPortal/News (for example) but to the
"original" url from server2 (http://Server2:8000/News)

I think the VirtualHostMonster needs some mappings.
Iam really lost at this point and have already used the search engine and
read the following threads about setting up the VirtualHostMonaster
correctly.

http://plone.org/support/forums/setup#nabble-td351534|a351534
http://plone.org/support/forums/setup#nabble-td351968|a351972
http://plone.org/support/forums/setup#nabble-td781458|a781458 
--

-- 
View this message in context: http://n2.nabble.com/Help-with-VirtualHostMonster-tp2112894p2112894.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.

(Continue reading)

Picon
Picon
Favicon

RE: Re: Problem with versioning

We have migrated from Plone 2.5.3 to Plone 3.1.4. 

We run these products: FAQulator, Marshall, PloneHelpCenter,
PloneKeywordManager, Workflow Policy Support, Zwiki and sdotNews.

Do you think this might be the problem? I guess I can't fix it then, since
I need to copy Data.fs if I want to setup a new server.

Regards Hilde

-----Original Message-----
From: setup-bounces@... [mailto:setup-bounces@...]
On Behalf Of Nick Davis
Sent: 23. desember 2008 11:10
To: setup@...
Subject: [Setup] Re: Problem with versioning

Hilde T Lauvset Rafaelsen wrote:

> 
> When I press the History tab on a page I can see the data when my page 
> was modified, but when I press "Compare to previons version" or "compare

> to current version" all the text is missing. Why is that?
> 

We have the exact same problem with our live 3.1.2 site (previously 
migrated from 2.5.3).

The "compare to previous version" does nothing.
(Continue reading)

Ricardo Newbery | 5 Jan 21:59
Favicon

Re: Help with VirtualHostMonster


On Jan 5, 2009, at 5:35 AM, Sebastian.Lux wrote:

>
> Hello,
>
> Iam running Plone on a Windows 2003 Server (Just Plone, no Apache or
> anything else). Lets call it "Server2"
>
> Now I have got another Server (Lets call it Server1) with Apache and  
> some
> other services already running.
>
> I want Plone to be reachable at the following url: http://Server1/ 
> myPortal
>
> So I set up a rewrite rule in the httpd.conf of Server1 Apache like  
> this:
> RewriteRule ^/myPortal(.*) http://Server2:8000/$1 [P,R]

This won't work.  You need to put in the path elements that  
VirtualHostMonster is looking for.

The first link you sent tells you how to do this.
http://plone.org/support/forums/setup#nabble-td351534

But if you want to read more...
http://plone.org/documentation/tutorial/plone-apache/vhm/
http://plone.org/documentation/how-to/plone-with-apache
http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/VirtualHosting.stx
(Continue reading)

Sebastian.Lux | 6 Jan 07:32

Re: Help with VirtualHostMonster


Ricardo Newbery-2 wrote:
> 
> 
> On Jan 5, 2009, at 5:35 AM, Sebastian.Lux wrote:
> 
>>
>> Hello,
>>
>> Iam running Plone on a Windows 2003 Server (Just Plone, no Apache or
>> anything else). Lets call it "Server2"
>>
>> Now I have got another Server (Lets call it Server1) with Apache and  
>> some
>> other services already running.
>>
>> I want Plone to be reachable at the following url: http://Server1/ 
>> myPortal
>>
>> So I set up a rewrite rule in the httpd.conf of Server1 Apache like  
>> this:
>> RewriteRule ^/myPortal(.*) http://Server2:8000/$1 [P,R]
> 
> 
> This won't work.  You need to put in the path elements that  
> VirtualHostMonster is looking for.
> 
> The first link you sent tells you how to do this.
> http://plone.org/support/forums/setup#nabble-td351534
> 
(Continue reading)

Ricardo Newbery | 6 Jan 09:17
Favicon

Re: Help with VirtualHostMonster


On Jan 5, 2009, at 10:32 PM, Sebastian.Lux wrote:

> This was the very first I tried. The following RewriteRules gave me  
> the
> error
> "We're sorry, but that page doesn't exist… "
> RewriteRule ^/myPortal(/|$)(.*)
> http://Server2:8000/VirtualHostBase/http/Server1/Plone/ 
> VirtualHostRoot/$2
> [L,P] (I tried this since I use the default root instance of Plone)
> RewriteRule ^/myPortal(/|$)(.*)
> http://gonsrc02.sartorius.com:8000/VirtualHostBase/https/gensvn.sartorius.com:443/VirtualHostRoot/$2
> [L,P]
> RewriteRule ^/myPortal(/|$)(.*)
> http://gonsrc02.sartorius.com:8000/Plone/VirtualHostBase/https/gensvn.sartorius.com:443/VirtualHostRoot/_vh_myPortal/$2
> [L,P] (I tried this since it was a solution working in this forums)
>
> I think the main problem is that I want to Rewrite to the default  
> Plone
> instance which is the root of the Zope db and  reachable at  
> Server2:8000 and
> not Server2/myPortal

Huh?  Are you just trying random permutations without understanding  
what the path elements mean?  A sure recipe to waste a bunch of  
time.  :-)

Your last example is close but the zope path is in the wrong place.   
You want the so-called inside-out configuration:
(Continue reading)

Sebastian.Lux | 6 Jan 10:18

Re: Help with VirtualHostMonster


Ricardo Newbery-2 wrote:
> 
> 
> On Jan 5, 2009, at 10:32 PM, Sebastian.Lux wrote:
> 
>> This was the very first I tried. The following RewriteRules gave me  
>> the
>> error
>> "We're sorry, but that page doesn't exist… "
>> RewriteRule ^/myPortal(/|$)(.*)
>> http://Server2:8000/VirtualHostBase/http/Server1/Plone/ 
>> VirtualHostRoot/$2
>> [L,P] (I tried this since I use the default root instance of Plone)
>> RewriteRule ^/myPortal(/|$)(.*)
>> http://gonsrc02.sartorius.com:8000/VirtualHostBase/https/gensvn.sartorius.com:443/VirtualHostRoot/$2
>> [L,P]
>> RewriteRule ^/myPortal(/|$)(.*)
>> http://gonsrc02.sartorius.com:8000/Plone/VirtualHostBase/https/gensvn.sartorius.com:443/VirtualHostRoot/_vh_myPortal/$2
>> [L,P] (I tried this since it was a solution working in this forums)
>>
>> I think the main problem is that I want to Rewrite to the default  
>> Plone
>> instance which is the root of the Zope db and  reachable at  
>> Server2:8000 and
>> not Server2/myPortal
> 
> 
> Huh?  Are you just trying random permutations without understanding  
> what the path elements mean?  A sure recipe to waste a bunch of  
(Continue reading)

Ricardo Newbery | 6 Jan 12:29
Favicon

Re: Help with VirtualHostMonster


On Jan 6, 2009, at 1:18 AM, Sebastian.Lux wrote:

> I read this article twice and understood most of the RewriteRule you  
> posted,
> anyway it does not work.
> I think this is due to the [zope_path] which might be wrong in my
> RewriteRule.
> By the way just to make it clear: I do not need to do anything with  
> the VHM
> in the zope db itself (e.g. adding mappings). Just having a standard  
> VHM in
> the root of zope is enough.
>
> Here is my RewriteRule:
> RewriteRule ^/myPortal($|.*)
> http://Server2:8000/VirtualHostBase/http/Server1:80/Plone/ 
> VirtualHostRoot/_vh_myPortal$1
> [L,P]

Assuming the zope path is correct, this looks okay.  The zope path is  
just the path to the Plone directory from the Zope root.  Do you know  
how to get to the Zope root?

If you're still having problems, I'm guessing either the zope path is  
incorrect or you have an access rule or siteroot interfering with the  
VirtualHostMonster magic.  I don't recall if you said what OS your  
Zope installation is on, but a common (and annoying) problem with  
Windows installations is the default access rule that you get  
sometimes with a Windows installation.  Perhaps you have two ports  
(Continue reading)


Gmane