Re: [Zope] all_meta_types confusion

2007-01-09 Thread Garth B.
pdb to more closely trace what's going on, but if you have suggestions on what *might* be going on to help me in my debugging, that would be great. Thank you, Garth On 1/7/07, Dieter Maurer [EMAIL PROTECTED] wrote: You have included the 'permission' definition in your meta_type entry? Garth B

[Zope] all_meta_types confusion

2007-01-05 Thread Garth B.
Hey everyone, Zope 2.9.6 I'm trying to filter the objects that appear in the Add drop down, and I'm having odd results. There are two scenarios. In the first scenario, the active user is a Manager and my folderish object does not have a defined all_meta_types function. Everything shows up in

[Zope] What is an InvalidObjectReference?

2006-11-09 Thread Garth B.
Hello everyone,I'm sporadically getting the following error thrown as a result of a routine I've written.InvalidObjectReference: Attempt to store a reference to an object from a separate connection to the same database or multidatabase. I can often run this routine several times without a problem.

Re: [Zope] What is an InvalidObjectReference?

2006-11-09 Thread Garth B.
Ok, I understand in theory what the problem is, I'm just not clear where in code this could be happening. I'm not consciously manipulating connections and I guess Zope is taking care of those low-level connection details with the ZODB for me. Can I programmatically determine whether an object is

Re: [Zope] attribute used to index PDFs?

2006-02-24 Thread Garth B.
PROTECTED] wrote: --On 12. Dezember 2005 14:54:09 -0500 Garth B. [EMAIL PROTECTED] wrote: On closer inspection, the Word docs aren't actually being indexed appropriately either. When I browse the vocabulary for these indexed Word docs, I happen to see textual content that can be seen by also

[Zope] attribute used to index PDFs?

2005-12-12 Thread Garth B.
TextIndexNG 3.1.1 Zope 2.8.0 Python 2.3.5 What attribute should be specified when indexing PDFs? I've been using data. Word docs are indexed properly, but the PDFs aren't. The PDFs are still found with the rest of the files, but the indexed content is not what I expected. To try narrow things

Re: [Zope] attribute used to index PDFs?

2005-12-12 Thread Garth B.
only used that for text-oriented objects like Page Templates. I'll keep digging around, but I welcome any suggestions for what the problem could be or how I can debug this further. Garth On 12/12/05, Andreas Jung [EMAIL PROTECTED] wrote: --On 12. Dezember 2005 11:33:13 -0500 Garth B. [EMAIL

Re: [Zope] attribute used to index PDFs?

2005-12-12 Thread Garth B.
isn't a [unicode] string. Is the standard Zope File object supposed to expose a txng_get hook? On 12/12/05, Garth B. [EMAIL PROTECTED] wrote: Hi Andreas, Neither PrincipiaSearchSource nor SearchableText does anything for these File-type objects. I guess nothing for SearchableText is expected

Re: [Zope] Adding TextIndexNG 3.1.1 error

2005-12-06 Thread Garth B.
, in getService ComponentLookupError: 'Utilities' On 12/5/05, Garth B. [EMAIL PROTECTED] wrote: Sigh... figures... I'll use this as an excuse to upgrade to 2.8.4 Thanks! On 12/5/05, Andreas Jung [EMAIL PROTECTED] wrote: --On 5. Dezember 2005 14:15:39 -0500 Garth B. [EMAIL PROTECTED] wrote

[Zope] Adding TextIndexNG 3.1.1 error

2005-12-05 Thread Garth B.
Zope 2.8.0 Python 2.3.5 RHEL 3 I installed TextIndexNG 3.1.1 and associated extension_modules without a problem. Trying to add a TextIndexNG index to my catalog returns: Error Type: ComponentLookupError Error Value: 'Utilities' I'm pretty sure I followed all instructions and I've installed and

Re: [Zope] Adding TextIndexNG 3.1.1 error

2005-12-05 Thread Garth B.
, in getService Module zope.component.service, line 109, in getService ComponentLookupError: 'Utilities' On 12/5/05, Andreas Jung [EMAIL PROTECTED] wrote: --On 5. Dezember 2005 13:34:15 -0500 Garth B. [EMAIL PROTECTED] wrote: Zope 2.8.0 Python 2.3.5 RHEL 3 I installed TextIndexNG 3.1.1

Re: [Zope] Adding TextIndexNG 3.1.1 error

2005-12-05 Thread Garth B.
Sigh... figures... I'll use this as an excuse to upgrade to 2.8.4 Thanks! On 12/5/05, Andreas Jung [EMAIL PROTECTED] wrote: --On 5. Dezember 2005 14:15:39 -0500 Garth B. [EMAIL PROTECTED] wrote: Sorry, I created a ZCatalog and when choosing TextIndexNG3 from the Add dropdown in my

[Zope] Non-responsive objects reprise

2005-11-13 Thread Garth B.
should. = Apologies for the long email but I have no idea what's going on... if ANYONE has ANY suggestions or ideas on what else I could investigate it would be GREATLY appreciated! Thank you! Garth On 8/17/05, Dieter Maurer [EMAIL PROTECTED] wrote: Garth B. wrote at 2005-8-16

[Zope] Non-responsive folders

2005-08-16 Thread Garth B.
Hello everyone, Python 2.3.4 Zope 2.7.3 Apache 2.0.46 I have a website that has been running flawlessly since late last year sitting behind Apache using the usual rewrite rules. I've recently started experiencing some folders becoming non-responsive when trying to view them (e.g.

Re: [Zope] XUF and Postgres

2005-07-15 Thread Garth B.
For what it's worth, I recently used the SimpleUserFolder for an application that uses Postgres as the backend. It was terrifically easy to implement authentication through Postgres via the SimpleUserFolder. It does exactly what I want without unnecessary frill or complications. Garth On

[Zope] Re: Poll: Zope and Suse Linux

2005-07-08 Thread Garth B.
When installing from the source, Python does offer a make altinstall which is terrific for installing a newer or older version of Python alongside an existing installation. For example, Fedore Core 4comes with Python 2.4 and as far as I can tell, doing amake altinstallwith the 2.3.5 tarballputs

Re: [Zope] Z SQL Methods and the SQL LIMIT clause

2005-05-12 Thread Garth B.
Assuming MySQL, I found the fix for this was to go the Advanced tab for the ZSQL Method (in the ZMI) and set Maximum Rows to Retrieve to zero. After that, my limit clause worked without a problem. On 5/11/05, Asad Habib [EMAIL PROTECTED] wrote: Is there a reason why Z SQL methods do not allow the

Re: [Zope] Problem with Z Psycopg

2005-04-05 Thread Garth B.
I have the same problem, but I eventually corrected it, by forcibly closing the connection each time prior to running the queries. Fortunately, my scenario uses page caching to reduce the number of hits to the db so the additional effort of reopening the connection is neglible. I'd sure like to