Re: [Zope3-Users] Zope 3.1.0 make error -- permissions

2005-12-09 Thread Alen Stanisic
On Thu, 2005-12-08 at 20:23 -0600, cmire wrote:
> I'm just not sure what to change under that directory.  I built Python 2.4.2 
> as root, so I don't understand why I'm getting a permissions error on python 
> when I try to build Zope 3.1.0 as root.  I've tried different su variations; 
> I've tried just opening a raw root console.
> 
> I'm concerned about changing everything to 777 under Python-2.4.2 from a 
> security standpoint.  I'm trying to build a website based on Zope and I don't 
> want just anybody to be able to arbitrarily execute python code.
> 
> I reran make with "-d" to give me more details, and my guess is that Zope is 
> being built using my python install, and python is trying to write the build 
> file to the Zope-3.1.0 directory and can't.  If this is the case -- how do I 
> fix it?  /usr/local/src is owned by root, as is /usr/local/src/Python-2.4.2 
> and /usr/local/src/Zope-3.1.0.  Permissions are 755 all around, at the 
> directory level and under.
> 
> Here is the tail end of the make -d output:
> 
>  No implicit rule found for `default'.
>   Considering target file `build'.
>File `build' does not exist.
>Finished prerequisites of target file `build'.
>   Must remake target `build'.
> /usr/local/src/Python-2.4.2 install.py -q build
> make: execvp: /usr/local/src/Python-2.4.2: Permission denied
> Got a SIGCHLD; 1 unreaped children.
> Putting child 0x08078210 (build) PID 6872 on the chain.
> Live child 0x08078210 (build) PID 6872
> Reaping losing child 0x08078210 PID 6872
> make: *** [build] Error 127
> Removing child 0x08078210 PID 6872 from chain.
> linux:/usr/local/src/Zope-3.1.0 #
> 
> 

Are you sure you specified a full path to python 2.4 executable rather
than a directory where python is installed. So instead of 

configure --with-python /usr/local/src/Python-2.4.2

it should be something like

configure --with-python /usr/local/src/Python-2.4.2/python2.4

Alen

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] index.html

2005-12-09 Thread Adam Groszer
I register a page with the following zcml:
  
  

I can access it only through .../person01/@@index.html.

What am I missing? What do I have to do to access it as
.../person01/index.html?

-- 
Best regards,
 Adam  mailto:[EMAIL PROTECTED]
--
Quote of the day:
Plans are only good intentions unless they immediately degenerate into hard 
work. 
- Peter F. Drucker 

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Re: index.html

2005-12-09 Thread Jeff Rush

Adam Groszer wrote:

I register a page with the following zcml:
  
  

I can access it only through .../person01/@@index.html.

What am I missing? What do I have to do to access it as
.../person01/index.html?


Now that's odd!  Here I can use @@index.html or index.html, @@contents.html 
or contents.html and view my own pages.  The @@ seems to make no difference, 
in the cases I'm trying.


And sometimes when type in a URL to reference an object, say

http://localhost/myobject

it add a /index.html suffix and displays in the browser URL widget as:

http://localhost/myobject/index.html

and other times it doesn't.  Using firefox here.

-Jeff

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Re: index.html

2005-12-09 Thread Adam Groszer
Hello Jeff,

Strange, now it's working, but I think I did not modify anything.
Maybe I missed a restart...

Friday, December 9, 2005, 12:21:47 PM, you wrote:

JR> Adam Groszer wrote:
>> I register a page with the following zcml:
>>   >   name="index.html"
>>   for="..interfaces.IPerson"
>>   template="person_view.pt"
>>   permission="dkr.ListContent"
>>   menu="zmi_views" title="View"
>>   >
>>   
>> 
>> I can access it only through .../person01/@@index.html.
>> 
>> What am I missing? What do I have to do to access it as
>> .../person01/index.html?

JR> Now that's odd!  Here I can use @@index.html or index.html, @@contents.html
JR> or contents.html and view my own pages.  The @@ seems to make no difference,
JR> in the cases I'm trying.

JR> And sometimes when type in a URL to reference an object, say

JR>  http://localhost/myobject

JR> it add a /index.html suffix and displays in the browser URL widget as:

JR>  http://localhost/myobject/index.html

JR> and other times it doesn't.  Using firefox here.

JR> -Jeff

JR> ___
JR> Zope3-users mailing list
JR> Zope3-users@zope.org
JR> http://mail.zope.org/mailman/listinfo/zope3-users


-- 
Best regards,
 Groszer Adammailto:[EMAIL PROTECTED]
--
Quote of the day:
The great successful men of the world have used their imagination...they think 
ahead and create their mental picture in all its details, filling in here, 
adding a little there, altering this a bit and that a bit, but steadily 
building-steadily buildings. (Robert Collier)

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Newcomer to Zope, question about Postgres

2005-12-09 Thread Rakesh Malik
I have a working instance of Zope3 in Fedora, and I downloaded and built thepsycopg adapter. I'm still getting errors when I try importing SQLObject, though. Is this a configuration thing, or did I neglect to download and install
something I need to make this work?Thanks!Rakesh
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users