I have been having all sorts of trouble upgrading from ZODBCDA to ZmxODBC.
The ZODBCDA users RDB.DatabaseResults and ZmxODBC (modified from ZOracleDA)
uses Results.Results. These two classes seem to do exactly the same purpose
and so I suppose one shouldn't exist. The important point is that
Guess noone could help me. I chunked it into the bug collector now.
Peter
Peter Arvidsson skrev:
I started this thread on the regular zope mailinglist but now I found a
similar posting to my problem in the archives.
I have fileobjects where I store pdf-files. If I want to change the
I have fileobjects where I store pdf-files. If I want to change the
pdf-file I use the method "manage_upload". The problem is
that if I try
to view it it always choose the one that is in the cache. It displays
the new one if I open it in a new window or if I save it to disk. The
filesize
That sounds very suspicious - what are your IE cache settings?
[...]
This bug report was related to the fact that the user was
accessing the file through a Squid cache and that at the
time (Zope 2.0.1) there was a legitimate bug in the way
that "If-Modified-Since" headers were
I am using IE 5 (5.00.2919.6307), cache settings set to:
"Check for newer versions of stored pages:
Automatically
Those settings should get the new file if it has changed.
I am accessing the server through a proxy.. could that be a problem? I
think it would be strange if everyone
since all the data at my corporate intranet site is pulled from a RDMS, all my
refrence URLS are generated in JavaScript and have a
rnd="a randomly generated number between 1 and a million" to force the browser to get
the current page.
In article [EMAIL PROTECTED],
Jim Fulton [EMAIL PROTECTED] wrote:
bad_id=ts_regex.compile('[^a-zA-Z0-9-_~\,\. ]').search #TS
I think that it's a bad idea to allow '?'s in ids
and am sorry if it was allowed. In general, I don't
like to see characters in ids that need to be quoted.
I'm not
On Fri, 11 Aug 2000, Chris McDonough wrote:
i went to each Zeo client control_panel, and see that there's
a mzximum of
four connections open at any given time.
comments to the above. i saw only four threads because i started that
particular box with the default. on the box with -t25, i
I later found out this was a bug. The bug was reported 1999-10-12 as
number 754:
[754] Zope Bug: Uploaded Images Don't Appear Immediately
Category: General Last Updated: Oct 29, 1999 7:05 am
Submitted On: Oct 12, 1999 3:58 am Status: Ongoing
Reported Version: 2.0.1 Expected/Fixed Version:
BDY.RTF
Hi,
I am a Python/Zope Developer looking for work. Telecommuting or
something in the area of Pasadena, CA. contract, part-time, fulltime.
I tried the Zope job board but response was virtually nonexistent.
My resume is up on my homepage
http://sindev.dyndns.org/Home
viva la revolution.
Kapil
I have Zope running on two seperate machines. I configured the machines
EXACTLY the same.
The development machine which is MASQed behind the production machine
can access Zope via
http;//localhost:8080
and
http://localhost/Zope/
The production machine can be accessed via
Thanks Dieter,
But I'm using Zope 2.2
So what am I doing wrong?
Regards, Tom
At 23:02 10/08/2000 +0200, Dieter Maurer wrote:
Tom Deprez writes:
But how can you provide a link to the next batch of items at the start of
the batch table?
You need Zope 2.2 or the patch at
What's the HTML you're using for the upload?
Hi All,
I'ved followed the online How-To on implementing a simple service for
parsing uploaded files via the browser. But strangely, it
only works for
Netscape browsers. When I test the uploading using IE, the
supposed file
object
Hi,
few q'ns concerning batch processing:
1. I want the user to be able to choose a batch-page. So, when a query is
done, I want to show something like :
previous page 1 - 2 - 3 - 4 - 5 next page.
The following code works partly: ie. the one thing missing is that it
doesn't shows the current
What is the difference? Somewhere I read that one of them erased all
properties and changed those that are sent to the method (causing
properties that is not sent to the method to be empty) but I dont
remeber where I read it or which one it was? Are there any other
differences?
Hello!
I need to find more info on how Zope handles threading with relation to
database connections.
I am currently considering and evaluating Zope as one of the options we have
to build a really large, completely databasedriven "enterprise scale"
web-platform. I am a bit worried about this
How come this fails...
--
import win32com.client
oOleObj = win32com.client.Dispatch("DSOleFile.PropertyReader")
--
when run from Zope (within and External Method) when it works from Python
standalone on the
Hi Dieter all
How does Zope recognize the type of a file?
It uses "OFS.content_types.guess_content_type"
OK, so 'manage_addFile' uses 'guess_content_type'?
I'm a bit confused here .. I see three lists of content
types, excerpted below. They are in:
1. 'lib/python/OFS/content_types.py'
Steinar,
Did you call pythoncom.CoInitialize()?
If not you need to.
hth
Phil
[EMAIL PROTECTED]
- Original Message -
From: "Steinar Rune Eriksen" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, August 11, 2000 12:49 PM
Subject: [Zope] Python + COM (from external method)
How
Pfew, I managed to implement the thing I wanted. However I'm not satisfied.
There must be an easier solution. If somebody knows which, then please let
me know! Thanks. Here is the code I use to display something like in a
search result :
Previous 1 2 3 4 5 6 Next
dtml-in address_lookup size=5
hi dario,
to clear up some possible misunderstandings and naming issues:
we have two different beasts here. one is the number of threads that
zope uses while it runs. this can be tweaked by invoking the start
script with an argument like "t number_of_threads" or by editing z2.py
and changing
Hi,
I'm wondering is it possible to implement a way that Zope asks for a
password, but not for a login?
eg. like you would give several people the same login password, but that
the users don't have to enter the login, only the password?
Thanks, Tom.
Hello,
At 18:36 10.08.2000 +, Kapil Thangavelu wrote:
make a dtml doc id:return_image
with body
dtml-var data
and use that as your source
so in index_html
img src="dtml-var "return_image.absolute_url()""
Works great. Thank you very much for your help.
Best regards,
Gérard Métrailler Jr.
"Dario Lopez-Kästen" wrote:
Hello!
Hello Dario!
I need to find more info on how Zope handles threading with relation to
database connections.
How about:
http://www.zope.org/Documentation/Developer/Models/ZODB
The jargon of threads and connections (and then threads again) can be
pretty
I love this list! I am designing a file upload form and just started
thinking about how I am going to handle invalid filenames, no filename, etc.
Of course, rather than doing "real work" I decided to take some time and
catch up with my e-mail and viola! Here is this thread.
Thanks Peter!
On Fri, 11 Aug 2000, Chris McDonough wrote:
i went to each Zeo client control_panel, and see that there's
a mzximum of
four connections open at any given time.
comments to the above. i saw only four threads because i
started that
particular box with the default. on the box with
Here's my understanding of how it works:
- The number of threads is decided by NUMBER_OF_THREADS in z2.py or the
command line argument -t[whatever].
- You can give ZServer/Zope a hundred threads if you want to, but if you
want more DB connections to service those threads with, you need to
That worked. Thanks
-Original Message-
From: Phil Harris [SMTP:[EMAIL PROTECTED]]
Sent: Freitag, 11. August 2000 14:06
To: Steinar Rune Eriksen; [EMAIL PROTECTED]
Subject: Re: [Zope] Python + COM (from external method)
Steinar,
Did you call pythoncom.CoInitialize()?
Phil,
Thanks for the send and resend. The pack you sent is
version: 'ZMySQLDA-1-1-3'. I was getting SOME success
with 1.1.4 (MySQL log files would show activity).
When I replace the set I had with what you sent,
I do not even find 'Z MySQL Database Connection'
as an object to create in the
When I create or use an object with a zodbc connection, and when I try to see a dtml page using it, zope open a login window (login with password) , but I don't know what it is, because I try lot of password (zope manager password, zope simple user password, Pc user password ) no one can
That might seem to work, but you will run into subtle bugs eventually.
Check the mailing list archives (or the Collector) for tips on calling
CoInitializeEx.
On Fri, 11 Aug 2000 16:00:08 +0200, Steinar Rune Eriksen
[EMAIL PROTECTED] wrote:
That worked. Thanks
-Original Message-
From:
in general, when a thread attempts to do anything with zope it needs to
get hold of a ZODB connection so it can read or otherwise manipulate
objects in the ZODB. this is why the number of application threads
should be smaller than the number of ZODB connections. tweaking these
numbers is
Based on your findings that all 7 DB connections are being used, I'd
revise the number of threads to 8.
will give it a go this monday.
Yes, it's the pool_size parameter. You can increment this value
*carefully* if you see that you have more threads hanging around than DB
connections, like
ARGH!!!
For anyone interested, my homepage is up and accessible.
So how come my home page was inaccessible?
I had a web-based logging system setup from when my account was hosted
at lostworld.imeme.net, which was causing problems although I checked it
with newly started browsers on two of my
I had this problem.
If you have Python installed standalone on the machine and a copy under Zope, you need
to make sure that the wincomm stuff is in the
python path of the Zope python. You can add the proper dirs to the path in z2.py.)
Hello Folks,
So I downloaded Zope and installed it on my sun box and on my nt box. I
can go to the manage page as the admin and it all looks like it installed
fine.
So I tried to create a folder but the superuser cannot own a folder it
says. So I figure I can create a folder in the zope dir
As superuser add a user and give him the manager role.
- Original Message -
From: Dan Huston [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, August 11, 2000 11:09 AM
Subject: [Zope] need some basic help
Hello Folks,
So I downloaded Zope and installed it on my sun box and on my
I am creating a program, yet again. How this works is,
a zope factory calls a form, which submits data from a textarea to a DTML document.
I want this DTML document to take the data from the form and display it on multiple
lines. For instance:
If a person fills out the textarea like so:
There is a switch in z2.py that allows you to point to a PID file. It will
automatically restart your Zope installation once it goes down (if).
Like so... (start script)
___
#! /bin/sh
reldir=`dirname $0`
PYTHONHOME=`cd $reldir; pwd`
export PYTHONHOME
exec /usr/local/zope/bin/python \
On Fri, Aug 11, 2000 at 01:08:48PM -0400, jesse wrote:
I am creating a program, yet again. How this works is,
a zope factory calls a form, which submits data from a textarea to a DTML
document. I want this DTML document to take the data from the form and display it on
multiple lines. For
Kapil wrote:
I want to change the default way the ZClass renders it's information. I
want more than simply a picture so I crated a new method "index_html" in
my ZClass.
My question is: How do I display the picture from this index_html method?
jesse wrote:
I am creating a program, yet again. How this works is,
a zope factory calls a form, which submits data from a textarea to a DTML
document. I want this DTML document to take the data from the form and display it on
multiple lines. For instance:
If a person fills out the
jesse wrote:
dtml-var "REQUEST.form['list']"
it comes out with
line one line two line three
All the line breaks dissapear! So there is nothing to replace! Does anyone have any
ideas how I could solve this problem?
The line breaks don't disappear, they just don't mean anything in
Greetings,
Is there any way within Zope to parse HTML to look for broken links and orphaned
files? The site I am building will have many Zope dynamic componants, but also a good
share of wrapped static HTML pages maintained by content contributors in
Frontpage/Dreamweaver. I know that
Folks -
Federico sent me a patch for the popy-1.3.3 source. I needed it to tell it where the
postgresql libraries are..if you need it please let me know and I will send it along.
You may also find it in the archives from earlier this month.
- Steve
On Fri, 11 August 2000, "Hung Jung Lu"
Does anybody know how the login is handled by GUF. I use cookie
authentication and I get the loginptomt when I try to access a page that
has authenticate permissions. But when I try to login I don't know how
to get the user logged i.e I don't know how to set the cookie. Can
anybody help me ?
i just packed zope.org, and we're getting the "oversized int" error.
I am correcting this.
Thanks for your patience,
--
ethan mindlace fremen
Zopatista Community Liason
Abnegate I!
___
Zope maillist - [EMAIL PROTECTED]
We want to (mis)use zope as an application server servicing a proprietary
non-http protocol
for transmitting compressed data.
Our idea is a specially written client that connects on a proprietary port
to zope where
a special product is listening and serving the request.
Our question:
How
Nick Garcia wrote:
jesse wrote:
dtml-var "REQUEST.form['list']"
it comes out with
line one line two line three
All the line breaks dissapear! So there is nothing to replace! Does anyone have
any ideas how I could solve this problem?
The line breaks don't disappear, they
Phillipp,
First, design your system.
Then write the very basics of what you need in Python first using
whatever third-party binaries you need to, leaving the methods which use
Zopish features (like ZSQL methods, ODB, etc) as stubs. Then after
you're done, and it works, you can wrap it in a
I have in a recent email to the mailing list urged all Product creators to
include screenshots and/or demos of their products.
I'd like to put some screenshots the management pages in the README.txt of
Xron where they would illustrate that text that explains those pages.
Can you point to
hit http://zope.carbonecho.com/forum/sepServe to see the error
('expecting read-only buffer...')
here's the external function:
from ZPublisher import Client
def ServePHP(url='http://www.yahoo.com', username='bill', password='xyz'):
print 'Sep Serving ' + str(url)
return
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of J.
Atwood
Sent: Saturday, August 12, 2000 1:04 AM
To: [EMAIL PROTECTED]
Subject: Re: [Zope] Zope - long running process
There is a switch in z2.py that allows you to point to a PID file. It will
From: "Bill Welch" [EMAIL PROTECTED]
hit http://zope.carbonecho.com/forum/sepServe to see the error
('expecting read-only buffer...')
This is a known bug. You need to install this patch to Client.py:
#h.connect((self.host, self.port))
h.connect(self.host, self.port)
55 matches
Mail list logo