Am Donnerstag, den 01.12.2005, 15:45 -0800 schrieb Dennis Allison:
> I have not yet completed differential diagnosis, but I was hoping someone
> had encountered a similar problem and could pass along a fix/workaround.
>
> The following program fails to do the writes --
>
> import MySQLdb
> init
On Friday 02 December 2005 04:31, Andrew Milton wrote:
> +---[ Gaute Amundsen ]--
>
> | Hi all.
> |
> | I have this problem with our zope based CMS system.
> | No matter what i try I can not make the docLogin page appear when it
> | should. If I go directly to it, it works f
Dennis Allison wrote:
I have not yet completed differential diagnosis, but I was hoping someone
had encountered a similar problem and could pass along a fix/workaround.
The following program fails to do the writes --
import MySQLdb
initdb='test'
dbuser = 'root'
dbpass = 'XX'
host = 'loca
At 07:46 AM 12/2/2005 +1100, Russell Winter wrote:
I would
like to have each user having, either, their own Zope Server
binaries (including CMF & Plone) in their home directories.
Alternatively, as multiple Zope Servers on one machine will be quite a
resource eater, (probably 20 main users) is
+---[ Gaute Amundsen ]--
| Hi all.
|
| I have this problem with our zope based CMS system.
| No matter what i try I can not make the docLogin page appear when it should.
| If I go directly to it, it works fine, but otherwise the http auth poppup
| appears.
I don't know wh
I have not yet completed differential diagnosis, but I was hoping someone
had encountered a similar problem and could pass along a fix/workaround.
The following program fails to do the writes --
import MySQLdb
initdb='test'
dbuser = 'root'
dbpass = 'XX'
host = 'localhost'
connection = MySQ
Hi all.
I have this problem with our zope based CMS system.
No matter what i try I can not make the docLogin page appear when it should.
If I go directly to it, it works fine, but otherwise the http auth poppup
appears.
I have started looking into exUserFolder, and putting in zLOG.LOG statements
According to Dario Lopez-Kästen:
> But in order to even display it in a zpt I must transmogrify it into a
> special zope-object, and *that* is not so easy as I have discovered.
>
> In my case I am not so interested in importing the moduels or classes
> into a Script(Python) - I have allready pas
So far I have not had any success with anything else than writing
special methods in my Classes that converts the objects to
dictionaries before passing them to the zpt or Script(Python) in
question.
But that feels like a very awkward way of doing things, and it
makeas it *very* difficu
Folks,
I am trying to
understand instances, any help or suggestions would be appreciated as I am
obviously missing something.
I would like to have
each user having, either, their own Zope Server binaries (including CMF
& Plone) in their home directories.
Alternatively, as multipl
Dario Lopez-Kästen wrote:
Andreas Jung wrote:
--On 1. Dezember 2005 13:46:55 -0200 Fernando Lujan
<[EMAIL PROTECTED]> wrote:
There's a way to use a Python class inside zope?
For instance, if I create the class:
class MyClass:
"A simple example class"
i = 12345
def f(self
Andreas Jung wrote:
--On 1. Dezember 2005 13:46:55 -0200 Fernando Lujan
<[EMAIL PROTECTED]> wrote:
There's a way to use a Python class inside zope?
For instance, if I create the class:
class MyClass:
"A simple example class"
i = 12345
def f(self):
return 'hello wor
Am Donnerstag, den 01.12.2005, 12:12 -0500 schrieb Mike Jakowlew:
> Hi all,
>
> I'm trying to update a file thats already been uploaded. I can't
> figure out what command to use,
> "update_data"/"manage_upload"/"manage_edit". I've settled (so far) on
> manage_upload but it doesn't work. I get the
I'm happy to announce that I've finally managed to document the
internationalization (i18n) features that Five has brought to the Zope 2
world since version 1.1:
http://worldcookery.com/files/fivei18n
This short tutorial compares current Zope-2-based solutions to the i18n
problem with the Zope 3
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Paul Winkler wrote:
> On Thu, Dec 01, 2005 at 04:44:41PM +, [EMAIL PROTECTED] wrote:
>
>>Hello,
>>
>>does anybody knows a different possibility to beware the
>>bobobase_modification_time of the given object from the following code?
>>
>>
>>def my
File objects have a method called 'update_data'
which may be of use. Look in the ZopeBook for details.
Jonathan
- Original Message -
From:
Mike
Jakowlew
To: zope@zope.org
Sent: Thursday, December 01, 2005 12:12
PM
Subject: [Zope] How to Update files that
are
Hi all,I'm trying to update a file thats already been uploaded. I can't figure out what command to use, "update_data"/"manage_upload"/"manage_edit". I've settled (so far) on manage_upload but it doesn't work. I get the error:
Error Type: AttributeError Error Value: manage_uploadmy code:___
On Thu, Dec 01, 2005 at 04:44:41PM +, [EMAIL PROTECTED] wrote:
> Hello,
>
> does anybody knows a different possibility to beware the
> bobobase_modification_time of the given object from the following code?
>
>
> def my_index_object(object, catalogs=['myPointerCatalog', 'mySearchCatalog']):
Hello,
does anybody knows a different possibility to beware the
bobobase_modification_time of the given object from the following code?
def my_index_object(object, catalogs=['myPointerCatalog', 'mySearchCatalog']):
for cat in catalogs:
object.default_catalog = cat
object.in
Andreas Jung wrote:
Sure you can but you shouldn't..you start with one class and at the end
you have an application with tons of such codeyou can program that
way but
you shouldn't :-)
I will print and read the Developer Book... ;)
Thanks for all replies.
Fernando Lujan
___
Peter Bengtsson wrote:
I think you'd have to set a content-disposition header if you did that...
Surely the File object that this 'some.pdf' is has all of this taken
care of in its index_html()
No, OFS.Image.File sets no content-disposition header.
cheers,
Chris
--
Simplistix - Content Ma
--On 1. Dezember 2005 17:00:09 +0100 Martijn Pieters <[EMAIL PROTECTED]>
wrote:
PythonScripts are for *scripting* not for implementing complex
logic and for programming tasks that require classes. PythonScripts don't
provide full Python functionality that why were are talking of *Restriced
P
Sure you can. It's usually called a "python product" and there are
tutorials and examples you can download from zope.org
The core principle is to inherit from one of the zope classes that you
can find in zope/lib/python/OFS such as Folder, SimpleItem or
UniqueItem.
When you do that you can save in
> PythonScripts are for *scripting* not for implementing complex
> logic and for programming tasks that require classes. PythonScripts don't
> provide full Python functionality that why were are talking of *Restriced
> Python*. Consider writing your functionality as Python product.
And sometimes a
--On 1. Dezember 2005 13:46:55 -0200 Fernando Lujan
<[EMAIL PROTECTED]> wrote:
There's a way to use a Python class inside zope?
For instance, if I create the class:
class MyClass:
"A simple example class"
i = 12345
def f(self):
return 'hello world'
Can I invoke the
On 12/1/05, Fernando Lujan <[EMAIL PROTECTED]> wrote:
> There's a way to use a Python class inside zope?
>
> For instance, if I create the class:
>
> class MyClass:
> "A simple example class"
> i = 12345
> def f(self):
> return 'hello world'
>
> Can I invoke the following co
There's a way to use a Python class inside zope?
For instance, if I create the class:
class MyClass:
"A simple example class"
i = 12345
def f(self):
return 'hello world'
Can I invoke the following code inside a Python Script?
x = MyClass()
x.f()
I'm using zope 2.7.x series
I think I may have to compile PHP with the 'cgi-recirect' option enabled.
I created a PHParser object, placed a 'Hello World' PHP script in it, and
then tried to view it. I got the same error as before:
'/usr/bin/php' may not be a PHP-CGI program. The result from the program
is empty(0 byte).
On Thu, Dec 01, 2005 at 07:40:38AM +, Chris Withers wrote:
> Jonathan Cyr wrote:
> >You might want to use index_html rather than index.html in this
> >example. The dot means other things in Python, and index.html is a
> >carryover from filesystem webservers. My impression is that the
> >ac
Okay, so now I am getting the following error when trying to serve
phpmyadmin via PHPGateway:
File not found!
The URL you have loaded has not been found on this server.
The docroot is set to '/Library/WebServer/Documents/phpmyadmin' and
phpmyadmin has an index.php file. Any help would be great
Hello Wei. Okay, please keep me posted when you determine what the problem
is. If anyone else on the Zope group has experienced a similar
problem, please let me know. Thanks.
On Thu, 1 Dec 2005, Wei He wrote:
Quoting Asad Habib <[EMAIL PROTECTED]>:
Hello. The message came from Mac OS X. Als
On 12/1/05, Chris Withers <[EMAIL PROTECTED]> wrote:
> Peter Bengtsson wrote:
> > pdffile = getattr(context, 'some.pdf')
> > return pdffile
>
> I think you'd have to set a content-disposition header if you did that...
>
Surely the File object that this 'some.pdf' is has all of this taken
care of in
Chris Withers wrote:
Peter Bengtsson wrote:
pdffile = getattr(context, 'some.pdf')
return pdffile
I think you'd have to set a content-disposition header if you did that...
cheers,
Chris
I wondered, but it seems to work in both firefox and ie without.
Rick
J Cameron Cooper wrote:
self.plone['try-me']
or getattr (which doesn't use acquisition.)
Eh? What on earth gave you that idea?
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
___
Zope ma
Jonathan Cyr wrote:
You might want to use index_html rather than index.html in this
example. The dot means other things in Python, and index.html is a
carryover from filesystem webservers. My impression is that the
acquisition mechanism doesn't like ids with a dot, in some circumstances.
Ac
Peter Bengtsson wrote:
pdffile = getattr(context, 'some.pdf')
return pdffile
I think you'd have to set a content-disposition header if you did that...
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
Andreas Jung schrieb:
--On 1. Dezember 2005 00:02:07 -0800 Infor Gates <[EMAIL PROTECTED]>
wrote:
Dear zopist
I am trying to pick up zpt. Is there an equivalent
command in zpt for
Ferkel! ;))
___
Zope maillist - Zope@zope.org
http://mail.z
Am Donnerstag, den 01.12.2005, 00:02 -0800 schrieb Infor Gates:
> Dear zopist
>
> I am trying to pick up zpt. Is there an equivalent
> command in zpt for RESPONSE.redirect('home_page').
There is, but the whole point of ZPT is not
to do so but to separate logic, presentation
and design.
Usually
--On 1. Dezember 2005 00:02:07 -0800 Infor Gates <[EMAIL PROTECTED]>
wrote:
Dear zopist
I am trying to pick up zpt. Is there an equivalent
command in zpt for
pgpeS5xZTeyAJ.pgp
Description: PGP signature
___
Zope maillist - Zope@zope.org
ht
Dear zopist
I am trying to pick up zpt. Is there an equivalent
command in zpt for http://music.yahoo.com/unlimited/
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
40 matches
Mail list logo