[Zope-dev] zopeproject and eggs lead to wrong zopeversion

2007-11-26 Thread Christophe Combelles

Hello,

An full-egg zope 3.4 buildout installed with zopeproject tells me the zope
version is 3.3.1 (in /++etc++process/):

- I have a fully eggified zope 3.4 installed with zopeproject.
- I also have a zope 3.3.1 installed on the system python.

When I start the 3.4 full-egg instance, I've discovered that
zope.app.applicationcontrol.zopeversion tries to reach zope/app/version.txt
to determine the major zope version.

Since version.txt does not seem to be included in any egg, it fallbacks to the
system zope installed.

Where is the bug: zopeversion? zopeproject? a missing egg for zope.app itself?

Christophe
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] zopeproject and eggs lead to wrong zopeversion

2007-11-26 Thread TIm TerlegÄrd

On Nov 26, 2007, at 2:28 PM, Philipp von Weitershausen wrote:


Christophe Combelles wrote:

Hello,
An full-egg zope 3.4 buildout installed with zopeproject tells me  
the zope

version is 3.3.1 (in /++etc++process/):
- I have a fully eggified zope 3.4 installed with zopeproject.
- I also have a zope 3.3.1 installed on the system python.
When I start the 3.4 full-egg instance, I've discovered that
zope.app.applicationcontrol.zopeversion tries to reach zope/app/ 
version.txt

to determine the major zope version.
Since version.txt does not seem to be included in any egg, it  
fallbacks to the system zope installed.


system zope? It seems like you have a globally available Zope  
installation. This will obviously confuse any *local* sandbox, such  
as the one created with zopeproject. Make sure you don't have any  
Zope libraries on your standard PYTHONPATH.


Wouldn't it make sense if zopeproject didn't include system python
in PYTHONPATH at all?

/Tim
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] zopeproject and eggs lead to wrong zopeversion

2007-11-26 Thread Wichert Akkerman
Previously TIm TerlegÄrd wrote:
 On Nov 26, 2007, at 2:28 PM, Philipp von Weitershausen wrote:
 
 Christophe Combelles wrote:
 Hello,
 An full-egg zope 3.4 buildout installed with zopeproject tells me  
 the zope
 version is 3.3.1 (in /++etc++process/):
 - I have a fully eggified zope 3.4 installed with zopeproject.
 - I also have a zope 3.3.1 installed on the system python.
 When I start the 3.4 full-egg instance, I've discovered that
 zope.app.applicationcontrol.zopeversion tries to reach zope/app/ 
 version.txt
 to determine the major zope version.
 Since version.txt does not seem to be included in any egg, it  
 fallbacks to the system zope installed.
 
 system zope? It seems like you have a globally available Zope  
 installation. This will obviously confuse any *local* sandbox, such  
 as the one created with zopeproject. Make sure you don't have any  
 Zope libraries on your standard PYTHONPATH.
 
 Wouldn't it make sense if zopeproject didn't include system python
 in PYTHONPATH at all?

No.

Wichert.

-- 
Wichert Akkerman [EMAIL PROTECTED]It is simple to make things.
http://www.wiggy.net/   It is hard to make things simple.
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )