I can access two directories in /var/www but not two others.
I have this rule in httpd.conf before the rewrite rules for Zope:
RewriteCond %{REQUEST_URI} !^/(usage|zusage|ead2002|asu_ead)
The usage and zusage directories work, that is /usage goes to the
/var/www/usage directory not looking on Zo
looks like DA.py is using psycopg2.__version__ not psycopg2.__version__[:5]
with the index of 5. You might want to check that. Also,
psycopg2.__version__[:5] is 2.0.1 not 2.0.11 and 2.0.1 is not in the list on
my install from today. The index should be 6 not 5 for versions higher than
2.0.
Have you installed psycopg2 2.0.11, not the adapter but the library for
python? and is it in the python path for your Zope python?
I'm thinking you have psycopg not psycopg2 installed as your python library
and the psycopg2 adapter. There is no psycopg 2.0.11.
I am assuming this is still how
I am suspecting that serial in MySQL works like serial in PostgreSQL in which
a sequence is automatically created. If so, you should be able to query the
last_value field in the sequence without having to call the function. The
field
name might be different in MySQL, I don't know. This will
I don't know if there is a reason not to use this but no one has mentioned
PyUNO.
http://wiki.services.openoffice.org/wiki/Python
>From that page:
"OpenOffice.org ships with a python scripting language, version 2.3.4. This
Python distribution comes with the Uno module which connects the UNO API
I need a SAML 2.0 solution for authenticating into Google Apps from a SAML 2.0
request from Google Apps. There are Java, PHP, Perl, Drupal, and other
solutions but I didn't want to build from scratch if there was already a Zope
solution available. I haven't found a Zope product that does SAML
cess to files on the filesystem through zope, like LocalFS?
Thomas
On Wednesday 10 September 2008 13:36, Dieter Maurer wrote:
> Thomas Bennett wrote at 2008-9-9 13:12 -0400:
> >using
> >python 2.4.5
> >Zope 2.11.1-final
> >DirectoryStorage 1.1.19
> >
> >
using
python 2.4.5
Zope 2.11.1-final
DirectoryStorage 1.1.19
First, is there a more preferable product to use to serve files, mostly PDF,
from the file system with Zope?
I suspect lock_file.py has changed since the DirectoryStorage product was last
updated.
I followed instructions on http:
This may help in addition to Jonathan's suggestion.
In PostgreSQL when you create a serial field for that
purpose it actually creates an integer field with a modifier
similar to this:
not null default nextval(('"dl_articlereq_id_seq"'::text)::regclass)
where dl_article is the table in which id
I've seen this before in ZSQL test . But sometimes I have found that forms
I've created that do this with POST work by changing the method to GET or
viceversa
Thomas
On Thursday 10 July 2008 16:37, Garry Saddington wrote:
> On Thursday 10 July 2008 20:47, Allen Schmidt Sr. wrote:
> > I know,
Can you use ftp or webdav, that may be easier, this would take care of
mimetypes without having to move to a lower level. It depends on the
capabilities of your camera but not knowing the model there is limited help.
I had an Axis camera, that ran embedded linux and had a built in python web
So was this RHEL machine customized to update ZOPE with YUM or Up2date or is
this a default. I have been using Fedora and CentOS (both built from redhat
dist.) for some time now and haven't seen this issue. This would be nice to
know seeing that I am currently moving all my linux servers to RH
have you used locate or any other utility to make sure you only have one Zope
installed, like "locate zope.conf" ?
Thomas
On Friday 11 April 2008 15:14, Wes Modes wrote:
> Better yet, here's a more informative debug output. It tells me that
> zope thinks this is a new instance. Though the old
On Friday 11 April 2008 01:02, member madhangc wrote:
> Dear all,
>
> I'm developing a biological database using Zope 2.6 and pgsql. Let me
> explain my issue with an example. There is a menu called Drug in my
> homepage, by clicking the menu the drug names along with their type in two
> different
If you would elaborate a little, like what you really want to do, you might
get responses directing you toward a quicker solution. That aside, if you
want to execute a command line application as root from your External Method
look at Paramiko as mentioned in my response to the previous Extern
il 2008 06:06, Chris Withers wrote:
> Thomas Bennett wrote:
> > I have had similar instances with GSA on my Zope server in that it would
> > try to index something like
> > /mydir/mydir/mydir/mydir/somefile.html
> >
> > Often I've found the case is an href t
If you absolutely have to, look at Paramiko a python ssh/sftp library which is
easy to use but as mentioned already there are critical security issues.
with paramiko you don't have to directly edit the files but within an ssh
connection run the commands needed that actually make the changes. Y
I have had similar instances with GSA on my Zope server in that it would try
to index something like
/mydir/mydir/mydir/mydir/somefile.html
Often I've found the case is an href that references ../somethingelse.html
I don't know if this might be related to your case but you might want to
check.
Concerning the post from FuBuJo <[EMAIL PROTECTED]> about Zope Zeo with
reference to RedHat blowing up with Zope.
I've been running Zope on RedHat and RedHat based OSs since 1999, always on
Dells, and only found an issue with RedHat 8.0 when it came out (before RHEL
existed) and the issue was
I am using the gdata library from google and my script works
as a standalone but when I try to use it as an External Method
I get an error: ssl() argument 1 must be _socket.socket, not _socketobject
I suspect it is from the python socket library but I don't know why
I am getting this error or how
I'm not quite sure what you mean by a "selection button" but as far as a
checkbox the value will exist or not. that is to say that if the box is
checked then the value and variable will exist. if the box is not checked
then there is nothing. At least this is what I have found with forms and
alendar is change the sort field to time and in ascending
order.
Thomas
On Thursday 01 November 2007 16:43, Jaroslav Lukesh wrote:
> - Original Message -----
> From: "Thomas Bennett" <[EMAIL PROTECTED]>
>
> > fine. Today, November 1, on both calendars not all eve
Zope Version(Zope 2.9.7-final, python 2.4.3, linux2)
Python Version 2.4.3 (#1, Mar 14 2007, 18:51:08) [GCC 4.1.1 20070105 (Red Hat
4.1.1-52)]
System Platform linux2
We are using Corporate Calendar which requires the Calendar product for
CalendarTag.py. I have written a replacemen
I started trying a solution with libxml2/libxslt which did work in python on
the command line but failed through the WEB While browsing the WEB I came
across lxml and didn't spend much time on it but now looking at it I think the
tools from 4suite still involve less code although there may be so
what role does 4suite play in your process?
> If you have a working solution, would you be willing to share it?
> cb
>
> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Thomas
> Bennett
> Verzonden: woensdag 24 oktober 2007 23:02
&
On Wednesday 24 October 2007 23:35, Andreas Jung wrote:
> --On 24. Oktober 2007 17:01:35 -0400 Thomas Bennett
>
> <[EMAIL PROTECTED]> wrote:
> > Zope Version(Zope 2.10.3-final, python 2.4.3, linux2)
> > using zeo storage
> >
> > I am trying to impleme
Zope Version(Zope 2.10.3-final, python 2.4.3, linux2)
using zeo storage
I am trying to implement a server side XSL Transform with the
tools I have installed. I have 4suite, libxml2, and libxsl. The
all of the files are dtml documents.
Listing 1 below works on the command line and wri
There are also features in PIL to add effects to the image if you want
slant, swirl or anything.
Thomas
***
from PIL import Image,ImageDraw,ImageFont
import random
import os
from StringIO import StringIO
from OFS.Image import manage_addImage
# CREATED AUGUST 8, 2007 - Thomas Bennett
#
Well first, is it actually Data.fs that you see growing or are you just seeing
less disk space from a reporting tool, you just said the "Zope site has
filled up". If it is not Data.fs then look at the size of your logs, often,
and which one is growing fastest and how big is it. Also, do you ha
Some Products deprecated ( and some not ) only need minor editing to get
working again such as I did to a Product when moving to a newer Zope.
Even I can do minor edits and help from the list makes it even easier and
quicker when I can't find a solution on my own.
Just because a Product is depr
You probably want NT Script. We use that on our public PCs in the library.
We have CDs in a tower and use NT Script to map a CD and a drive from a
server that has an executable to access the CD or run the executable from the
client machine. Every machine has NT Script installed. In 1995 when
See: http://www.zope.org/Members/EIONET/RDFSummary This product is old but I
don't think it needs any maintenance since it still does the simple but good
job it was designed to do.
I have a different situation but you might want to implement this. This is
with just Zope not Plone. All our n
I have been wanting to try a SquishDot site also and get the very same error.
Traceback (innermost last):
Module ZPublisher.Publish, line 119, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 42, in call_object
Module App.special_dtml, line 65, in __c
This might help a little, not sure. Have you ever gone into
ZMI->Control_Panel->Database Management and packed the database?
Thomas
On Sunday 10 June 2007 02:28, kamal hamzat wrote:
> Hello,
>
> Please i want to know the physical path on my Zope installation where Zope
> stored the objects (su
ED] [mailto:[EMAIL PROTECTED] On
> >Behalf Of Thomas Bennett
> >Sent: 25 April 2007 22:44
> >To: zope@zope.org
> >Subject: Re: [Zope] apache rewrite quit working
> >
> >
> >Don't think that is it because it works fine if I change Zope
> >to port 80
-
> School of Medical Education Development
> Faculty of Medical Sciences Computing
> University of Newcastle
>
> Email : [EMAIL PROTECTED]
>
> >-Original Message-
> >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> >Behalf Of Thomas Bennett
&g
er.
Thomas
On Wednesday 25 April 2007 15:50, Jonathan wrote:
> - Original Message -----
> From: "Thomas Bennett" <[EMAIL PROTECTED]>
> To:
> Sent: Wednesday, April 25, 2007 4:15 PM
> Subject: Re: [Zope] apache rewrite quit working
>
> > web-dav server is l
nal Message -
> From: "Thomas Bennett" <[EMAIL PROTECTED]>
> To:
> Sent: Wednesday, April 25, 2007 3:24 PM
> Subject: [Zope] apache rewrite quit working
>
> > Zope Version (Zope 2.9.7-final, python 2.4.4, linux2)
> > Python Version 2.4.4 (#1, Oct 23 20
Zope Version(Zope 2.9.7-final, python 2.4.4, linux2)
Python Version 2.4.4 (#1, Oct 23 2006, 13:58:00) [GCC 4.1.1 20061011 (Red Hat
4.1.1-30)]
System Platform linux2
SOFTWARE_HOME /var/zope/lib/python
ZOPE_HOME /var/zope
INSTANCE_HOME /var/zope
CLIENT_HOME /var/zope
I have installed the following:
Zope Version(Zope 2.9.7-final, python 2.4.4, linux2)
Python Version 2.4.4 (#1, Oct 23 2006, 13:58:00)
[GCC 4.1.1 20061011 (Red Hat 4.1.1-30)]
System Platform linux2
SOFTWARE_HOME /var/zope/lib/python
ZOPE_HOME /var/zo
CorpCalendar.CorpEvent has a security declaration for
nonexistent method 'index_html'
--
On Thursday 22 March 2007 13:26, Andreas Jung wrote:
> --On 22. März 2007 14:09:00 -0400 Thomas Bennett <[EMAIL PROTECTED]>
>
> wrote:
> > Long story short:
> >
> &
Long story short:
Is it appropriate to change
self.REQUEST.AUTHENTICATED_USER.name
to
self.REQUEST.REMOTE_USER
?
It appears to work but I'm not sure if there may be repercussions on this.
Thomas
Long story:
I had to make the change in getUserVariable(self, key, default=None) to view
eve
I know this has been addressed before but after searching the WEB half a day
Friday I only found one related item although not directly related to my
situation and it said search the archives.
Zope Version
(Zope 2.6.1 (binary release, python 2.1, linux2-x86), python 2.1.3,
linux2)
Py
I would like some suggestions on building a dynamic quiz.
There are categories and in each category the question can be multiple
choice or true/false. For each category a specific number of questions is
asked. The questions asked are randomly chosen from a collection of
questions for the c
For what its worth, thanks AJ and others for the time you put into replying
queries daily. I find often I don't have to ask because if someone hasn't
already asked it someone else will soon ask. Not to mention, but I will,
some of your responses (all of you) leaves me saying " I didn''t know y
I'll have to say, this is the first Zope that I've had a problem with the
install since 1998. The last successful version I installed was 2.92.
RedHat Linux 7.3
Python 2.4.3
I've looked at the Troubleshooting info in the INSTALL.txt file and my
Makefile for Python 2.4.3 shows
CC=
I'll have to say, this is the first Zope that I've had a problem with the
install since 1998. The last successful version I installed was 2.92.
RedHat Linux 7.3
Python 2.4.3
I've looked at the Troubleshooting info in the INSTALL.txt file and my
Makefile for Python 2.4.3 shows
CC=
With a lack of information here I'll answer based fully on assumption based on
dtml.
In your form the action should go to a dtml method.
The dtml method should have a call to your Z SQL Method
And then you can add anything in the dtml method which will be viewed as the
response page to t
If I'm not mistaken, by default "out of the package" both Zope and Tomcat
defaults to run on port 8080, don't know about the relation to OpenXchange.
You need to change one of them.
As Tino mentioned, Zope port is set in zope.conf. zope.conf, with the Suse
10 rpm I used on my notebook, is
We use COREBlog, http://coreblog.org/ , for our news page since July 2004. It
works great for a news page. See http://www.library.appstate.edu/blog/news/ .
The Recent Entries, Categories, and Archives links in the right column are
automatically updated by the product. You can customize the lo
I'm running Zope 2.8.1-final, python 2.3.5, linux2 and Zope 2.6.1 python
2.1.3, linux2 on the same server so I don't see why you cant' also run Zope
2.9. More than likely each of your configurations have the same path to the
lock file. Edit zopefolder/etc/zope.conf where zopefolder is the nam
Don't know if this will work for you but since I put Apache in front of Zope
I've had to change all REMOTE_USER to HTTP_X_FORWARDED_FOR for use in scripts
that used the REMOTE_USER value before.
Thomas
On Monday 19 December 2005 15:12, Robert Boyd wrote:
> I'm using Apache 2.0, and I cannot fin
52 matches
Mail list logo