Re: [Zope-dev] New Products can't included anymore in Zope !!!!!

2003-01-29 Thread Dieter Maurer
David Mauser wrote at 2003-1-29 13:50 +0100:
 > 
 > After i finished the product i copied it to the Server, but it doesn't work. I
 > checked up if there is anything missing, nope. I look if there is an error
 > while compiling the product, nope. I build an bug into the product, and see,
 > the error gets outputed on the console. Also the files get compiled, but they
 > don't come into the products of Zope.
Whenever you have product initialization or Zope startup problems,
activate Zope logging (--> "doc/LOGGING.txt") and check the
logfile for relevant information.

I would expect that Zope looks at a different place for your
products.

Go to "Control_Panel" and check the values for "SOFTWARE_HOME"
and "INSTANCE_HOME". Zope looks in the corresponding "Products"
subfolders for products.


Dieter

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[Zope-dev] Re: [Zope-Coders] FYI: Zope 2.6.1 b2 scheduled for friday

2003-01-29 Thread Barry A. Warsaw

> "BL" == Brian Lloyd <[EMAIL PROTECTED]> writes:

BL> We're planning to cut 2.6.1 b2 this Friday. I wanted to give
BL> the heads-up in case anyone was in the middle of anything that
BL> needs to get in (I saw Toby had committed some things, and it
BL> looks like that merge is complete).

I intend to merge the ZODB 3.1.1 branch into the Zope 2.6.1 branch.
I'll do that asap.  I'm not sure how much work that is.

-Barry

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[Zope-dev] FYI: Zope 2.6.1 b2 scheduled for friday

2003-01-29 Thread Brian Lloyd
Hi all - 

We're planning to cut 2.6.1 b2 this Friday. I wanted to give the 
heads-up in case anyone was in the middle of anything that needs 
to get in (I saw Toby had committed some things, and it looks
like that merge is complete).

Brian Lloyd[EMAIL PROTECTED]
V.P. Engineering   540.361.1716  
Zope Corporation   http://www.zope.com 

 

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] New Products can't included anymore in Zope !!!!!

2003-01-29 Thread Leonardo Rochael Almeida
Looks like your Zope is not registering new products. Are you using ZEO?
In this case you need to stop and start a ZEO CLIENT with the
FORCE_PRODUCT_LOAD environment variable set.

On Wed, 2003-01-29 at 10:50, David Mauser wrote:
> Hi Folks,
> 
> i work now for some month as a devoloper on a Zope System. I have a local
> workstation where i do my work and then i copy the ready product to our Server.
> 
> The product has worked very fine on my machine with the same zope version as
> on the server (2.5.1)
> 
> After i finished the product i copied it to the Server, but it doesn't work. I
> checked up if there is anything missing, nope. I look if there is an error
> while compiling the product, nope. I build an bug into the product, and see,
> the error gets outputed on the console. Also the files get compiled, but they
> don't come into the products of Zope.
> 
> I tried to copy another of our products and renamed the product folder.
> Normaly the product gets into Zope now a second time, but nope. Nothing
> happens, no new products can be included. 
> 
> The "Last modified" in productmanagement is for the newest (2002-08-21) and
> this is long time ago, we changed this product 2 weeks ago and the changes
> have worked.
> 
> Has anyone a clue what to do? 
> 
> Many thanks
> 
> David Mauser
> 
> 
> 
> -- 
> Neu auf AustroNaut: Visitenkarten, Horoskope, personalisierte Kinderbücher
> http://www.austronaut.at/
> 
> ___
> Zope-Dev maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )
> 
-- 
Ideas don't stay in some minds very long because they don't like
solitary confinement.


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[Zope-dev] New Products can't included anymore in Zope !!!!!

2003-01-29 Thread David Mauser
Hi Folks,

i work now for some month as a devoloper on a Zope System. I have a local
workstation where i do my work and then i copy the ready product to our Server.

The product has worked very fine on my machine with the same zope version as
on the server (2.5.1)

After i finished the product i copied it to the Server, but it doesn't work. I
checked up if there is anything missing, nope. I look if there is an error
while compiling the product, nope. I build an bug into the product, and see,
the error gets outputed on the console. Also the files get compiled, but they
don't come into the products of Zope.

I tried to copy another of our products and renamed the product folder.
Normaly the product gets into Zope now a second time, but nope. Nothing
happens, no new products can be included. 

The "Last modified" in productmanagement is for the newest (2002-08-21) and
this is long time ago, we changed this product 2 weeks ago and the changes
have worked.

Has anyone a clue what to do? 

Many thanks

David Mauser



-- 
Neu auf AustroNaut: Visitenkarten, Horoskope, personalisierte Kinderbücher
http://www.austronaut.at/

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[Zope-dev] New Products can't included anymore in Zope !!!!!

2003-01-29 Thread David Mauser
Hi Folks,

i work now for some month as a devoloper on a Zope System. I have a local
workstation where i do my work and then i copy the ready product to our Server.

The product has worked very fine on my machine with the same zope version as
on the server (2.5.1)

After i finished the product i copied it to the Server, but it doesn't work. I
checked up if there is anything missing, nope. I look if there is an error
while compiling the product, nope. I build an bug into the product, and see,
the error gets outputed on the console. Also the files get compiled, but they
don't come into the products of Zope.

I tried to copy another of our products and renamed the product folder.
Normaly the product gets into Zope now a second time, but nope. Nothing
happens, no new products can be included. 

The "Last modified" in productmanagement is for the newest (2002-08-21) and
this is long time ago, we changed this product 2 weeks ago and the changes
have worked.

Has anyone a clue what to do? 

Many thanks

David Mauser



-- 
Neu auf AustroNaut: Visitenkarten, Horoskope, personalisierte Kinderbücher
http://www.austronaut.at/

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[Zope-dev] Accept-Charset hearders causing 500 internal server error.[correctbut not lenient]

2003-01-29 Thread Romain Slootmaekers
Hi,

We have problems with the Accept-Charset headers that are sent to the 
zope server by some mobile phones:
fi:
'Accept-Charset':'ISO-8859-1, US-ASCII, UTF-8; Q=0.8'

These cause a 500 internal server error. (Error Value: invalid literal 
for float(): =0.8 )

I checked with the HTTP1.1 RFC26160 section 14.2 and the header seems 
valid, but in fact isn't:
there is a space between the semi-colon and the Q char (which shouldn't 
be there acoording to the spec).

So, in principle, this is not a zope server bug, but an inflexibility.

I think the server should be a bit more lenient.
a simple .strip() in the right place should do.

Could you guys fix this?

TIA,

Sloot.




BTW, for completeness, I included a quick test program is included below 
(causes a 500 on my zope 2.6.0) :



#- program illustrating the behavior ---
import httplib, urllib

def sendHTTP():
"""

"""
headers = {'Accept':
   'application/vnd.wap.wmlc, 
application/vnd.wap.wmlscriptc, application/vnd.wap.wbxml, 
image/vnd.wap.wbmp, image/gif, application/*, text/html, 
application/xhtml+xml, application/vnd.wap.wml+xml, text/css',
   'Accept-Charset':'ISO-8859-1, US-ASCII, UTF-8; Q=0.8'}#, 
ISO-10646-UCS-2; Q=0.6'
conn = httplib.HTTPConnection("127.0.0.1:8080")
conn.request("GET", "/mobile/wap/games/",headers=headers)
response = conn.getresponse()
print response.status, response.reason
data = response.read()
print data

conn.close()

sendHTTP()




___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )