Hello Stefano,
I used mxDateTime about two years ago, when I worked with Bobo, the
move to Zope brought lots of advantages, the only thing I missed was
mxDateTime.
The discussion about DateTime comes to the mailing lists between time
to time, you can look what has already been said about it in
Hello Juan
well, the idea behind me was to do something that anybody can use actually.if I
crack the DateTime module for a quick and dirty, then nobody will benefit from it, and
I will have to take care of it in future releases. I was however thinking on two
possible solutions:
- creating
>>
>> Is there a simple method like getAcquistionPath() that tells me how I was
>> required without having to do some sub optimal REQUEST variable hacking /
>> string matching?
>>
I don't know of any (but that doesn't mean there isn't one). But
couldn't you walk up the aq_parent?
--
Tom Jen
The bug collector doesn't appear to be working, so I apologize if this
issue has already been raised.
ZCatalog is failing for me when I attempt to reindex the catalog after
adding a keyword index. Zope complains of a name error for Except
on line 118 of UnKeywordIndex.py. Here's the code in que
On Fri, 16 Mar 2001 08:48:09 -0500, Edmund Goppelt
<[EMAIL PROTECTED]> wrote:
>Could the author have meant to write 'Exception' here instead of 'Except'?
>
>I am running Zope 2.3.0 stable.
The current cvs has this changed to 'except AttributeError'
Toby Dickenson
[EMAIL PROTECTED]
_
> >> Is there a simple method like getAcquistionPath() that tells
> me how I was
> >> required without having to do some sub optimal REQUEST
> variable hacking /
> >> string matching?
> >>
>
> I don't know of any (but that doesn't mean there isn't one). But
> couldn't you walk up the aq_pare
I have a question regarding images in a MySQL Database
I'm trying to insert (and retrieve) images into a mysql database I use a
standard upload form and a normal insert statement in the sql.
The output i get is this : which is clearly not the correct data
Can someone help me out with this, i n
"[EMAIL PROTECTED]" wrote:
>
> Hello
>
> I am playing around with the DateTime module in order to adapt it to other formats
>than the American one. However, I would like not to start a work that someone is
>already doing or that is already done. I have found a little patch that solves
>tempor
Ahh... thanks Brian. Thats a new one to me :)
> The aq_chain attribute (computed at time of access) provides
> a list (in reverse order) of the objects in the acquisition
> path.
>
> Hope this helps!
>
>
> Brian Lloyd[EMAIL PROTECTED]
> Software Engineer 540.371.6909
>
ZODBC is a level 2 (at most, if not a level-1 still) Database adapter...
http://www.zope.org/Members/petrilli/DARoadmap
...this supports a global lock on all transactions which will block incoming
requests.
ZmxODBC DA is a Level-3 (multithreaded support)
http://www.zope.org/Members/djay/ZmxODBC/Z
All,
I'm in the process of trying out the ZPT stuff(thanks to Duncan Booth for
the win32 stuff).
Anyway up, It's all going according to plan but I have a few issues, maybe
someone has a better idea than me what's wrong here.
http://xml.zope.org/namespaces/tal"
xmlns:metal="http://xml.z
From: "Phil Harris" <[EMAIL PROTECTED]>
> The problem is that I'm getting a traceback (I won't bore you with the
> details unless I have to) to the effect of 'ui' being unknown.
Mmph. That release has a problem with exposing TAL variables to Python
code. There will be a *much* better one Real S
Hi!
> Ahh... thanks Brian. Thats a new one to me :)
To me, aswell. Is this documented somewhere? ;-)
And can someone explain to us where the differences between
aq_chain and getPhysicalPath() are? Actually getPhysicalPath()
seems also to walk up aq_parent. Or am I missing something?
regards,
Hi!
> IMHO, the best approach would be to make mxDateTime available separately
> from DateTime in the _ variable. That would avoid breaking any code, but
> allow anyone who wanted to use mxDateTime that option from within Zope.
>
> I think a product that adds mxDateTime to the _ variable would b
> > IMHO, the best approach would be to make mxDateTime available separately
> > from DateTime in the _ variable. That would avoid breaking any code, but
> > allow anyone who wanted to use mxDateTime that option from within Zope.
> >
> > I think a product that adds mxDateTime to the _ variable wou
I have been using Berkeley DB 2.7.7 as main Zope Storage for about 3 months
now. I am running Zope 2.2.4. Everything was fine yesterday. This morning
I tried to access a ZClass (base class ZObjectManager), which contains about
2,000 objects, I got
ERROR(200) ZODB Couldn't load state for '\000\
> To me, aswell. Is this documented somewhere? ;-)
It's not in the Acquisition.stx in the ExtensionClass docs -
probably they were never updated when it was added. I think
that aq_chain is most useful as a debugging aid rather than
something one would use in an application (which is not to
sa
From: "Christian Scholz" <[EMAIL PROTECTED]>
> And can someone explain to us where the differences between
> aq_chain and getPhysicalPath() are? Actually getPhysicalPath()
> seems also to walk up aq_parent. Or am I missing something?
"aq_chain" gives you a list of the objects traversed to get to
When passing in the REQUEST the var sort_on into the
searchREsults method I get this error:
Zope Errorr
Zope has encountered an error while publishing this resource.
Error Type: TypeError
Error Value: len() of unsized object
With this traceback:
Traceback (innermost last):
File
/usr/loc
Ping... eek. Do you have a backup? There are no recovery utilities for
BerkeleyStorage AFIAK.
- Original Message -
From: "Ping Lau" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 17, 2001 3:55 AM
Subject: [Zope-dev] ZODB Couldn't load state (Berkeley DB 2..7.7)
> I
Julio,
Can you give us the actual index names that you're putting in the request to
search against, the query values you're passing in to each index, and the
contents of the sort_on parameter for that request? What kinds of indexes
are referred to by each of the index names in the query?
-
Itai Tavor writes:
> ... abbreviated references to sibling subproducts ...
> Is there any way to set this up so imports like 'import Utils' and
> 'import Module2' would work in Module1? As a bonus, can I also get
> __init__.py files in each module directory to be executed?
You can manipulate
Menno Brandsen writes:
> I'm trying to insert (and retrieve) images into a mysql database I use a
> standard upload form and a normal insert statement in the sql.
> The output i get is this : 86550c8> which is clearly not the correct data
To get the file content, you call the object's "read" m
The LDAPUserManager is a LDAP user record administration tool to be used in
conjunction with the LDAPLoginAdapter.
It allows the site manager to search, create, edit and delete user records
that are stored on an LDAP server, thereby completing the Zope user
management functionality already offere
On Fri, Mar 16, 2001 at 04:59:16PM -, Phil Harris wrote:
> All,
>
> I'm in the process of trying out the ZPT stuff(thanks to Duncan Booth for
> the win32 stuff).
>
> Anyway up, It's all going according to plan but I have a few issues, maybe
> someone has a better idea than me what's wrong he
Hello,
Of course, we already can use mxDateTime in our own products. But
there is a problem, both modules have the same name, if you write
"import DateTime" you get the Zope's DateTime module.
A solution is to rename the mxDateTime module directory from
DateTime to, for example, mxDateTime, th
Ok, I know there's a howto with a working solution to this problem,
but this is *still* killing me:
How does one add a ZClass Instance in a way analagous to adding, say,
a DTML Document in a Python script?
With the dtml document, it's easy:
container.manage_addProduct['OFSP'].addDTMLDocument('a
Edmund Goppelt wrote:
>
> Ok, I know there's a howto with a working solution to this problem,
> but this is *still* killing me:
>
> How does one add a ZClass Instance in a way analagous to adding, say,
> a DTML Document in a Python script?
>
> With the dtml document, it's easy:
>
> container.m
Hi Menno,
what you get from the form is a FileUpload object, so try this:
print file.__dict__
and you will find out that it has a method called
file.read()
which returns the data of the uploaded file.
Cheers,
Gregor!
-Original Message-
From: "Menno Brandsen" <[EMAIL PROTECTED]>
To: <
On Fri, 16 Mar 2001, Brian Lloyd wrote:
> > To me, aswell. Is this documented somewhere? ;-)
>
> It's not in the Acquisition.stx in the ExtensionClass docs -
> probably they were never updated when it was added. I think
> that aq_chain is most useful as a debugging aid rather than
> something o
30 matches
Mail list logo