, a restart is necessary that Zope sees a change.
--
Dieter
___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db
).
--
Dieter
___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db
301 of DCOracle2/SP.py and check the implicated
object and its type.
--
Dieter
___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db
message!
Cancel the login dialog and you will get the error message :-)
Does Zope somehow create a restricted environment
PythonScripts are a restricted environment where import is
restricted as well as access to attributes.
--
Dieter
___
Zope-DB mailing
Takahashi, Michael wrote at 2005-7-7 09:27 -0700:
But there must be another more efficient way to delete
just the single object in the ZCatalog.
Indeed: If you look at the catalog API (e.g. in the source
or via DocFinder), you will find the uncatalog_object method.
--
Dieter
logfile lies on your installation.
--
Dieter
___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db
OperationalErrors and reopens the connection.
It tries to do this transparently (though a bit wrong).
--
Dieter
___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db
Rajesh wrote at 2005-12-29 13:37 +0530:
1. can not show more than 20 records (Roman Page)
...
KeyError: 'query'
Traceback (innermost last):
A bug which should be fixed in quite recent Zope versions
--
Dieter
___
Zope-DB mailing list
Zope-DB
Martin Krallinger wrote at 2006-1-10 16:57 +0100:
thanks for the info. I am actually using zope 2.7 but still I
encountered this problem.
I think the poster wrote: fixed in Zope 2.7.
Maybe, you try 2.8.5 or 2.9?
--
Dieter
___
Zope-DB mailing list
is broken!)
The import of the corresponding class failed -- almost surely
because your change broke something...
--
Dieter
___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db
, nor an URL nor a parent
--
Dieter
___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db
Products.ZODBMountPoint.MountedObject.MountedObject instances.
Mounting is similar to mounting under *nix.
--
Dieter
___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db
G E R R I T wrote at 2006-2-9 10:01 +0800:
How I can connect MySQL database from my zope web project?
Read the relevant chapter in the Zope Book (2.7 editon, online).
BTW: Why to you attach an image when you post to a technical newsgroup?
--
Dieter
(to be precise:
the implicit conversion between short and unsigned short)
that the author did not expect to hurt compilers (and which
most compilers accept).
Your options:
* use a different (less strict) compiler
* fix the code (such that even your strict compiler feels happy).
--
Dieter
.
DCOracle2 currently has not maintainer.
Maybe, you should look for cx_Oracle (which has an active maintainer).
--
Dieter
___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db
in the other direction.
There are a few object types that unfortunately mix configuration
and content. Catalogs are a prominent example.
We handle them by manually performing the reconfiguration in the production
site that we previously tested in the development site.
--
Dieter
, some have suggested that this
is solved with ZEO.
They err.
As well, I found one post that seemed to be
suggesting the problem had to do with running Zope behind Apache.
It, too, errs.
Do
either of these explanations make any sense?
No.
--
Dieter
than files.
--
Dieter
___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db
Chris Withers wrote at 2006-9-22 10:48 +0100:
Dieter Maurer wrote:
M.-A. Lemburg wrote at 2006-9-20 23:00 +0200:
...
I'll correct that slightly: Zope DAs usually open the connection
as soon as the connection object is loaded into memory, e.g.
if you look at the folder contents containing
connecting to relational database.',
error=exc_info())
--
Dieter
___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db
nasty, partly non deterministic and
very difficult to understand effects) and then calls connect.
In the context of our discussion, it is equivalent to connect.
--
Dieter
___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo
is more efficient
anyway (it uses a module level cache rather than a ZODB cache)
and definitely will avoid the problem above.
--
Dieter
___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db
for several other things
(beside database connections) as well that suffer from
the same deficiency.
--
Dieter
___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db
whether that of psycopg 2.x
uses a connection pool and uses it in the correct way.
I only know that the correct connection pool use is tricky...
--
Dieter
___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db
the installation instructions to the point?
--
Dieter
___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db
documentation to learn under what circumstances
this error is raised.
--
Dieter
___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db
(beside the options already outlined in other replies) possible
to use so called monkey patching to modify thee value.
For details, search for it.
--
Dieter
___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db
the (reasonable, as I have been told) fees
for mxODBC or try again with pymssql (for access to
the MS SQL server) or cxOracle.(for access to Oracle).
The ZODBCDA is no longer reliably maintained (at least as far as I know).
--
Dieter
___
Zope-DB mailing list
in the Zope Book
(2.7 edition, online on plope.org).
--
Dieter
___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db
with your MySQL version).
--
Dieter
___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db
-- and many people
would stop to use new Zope releases.
Otherwise, I would not object against an *additional* SQLAlchemy based
adapter.
--
Dieter
___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db
encoding. The client encoding
controls which encoding (aka charset) the client expects for
unicode strings.
There may be differences between your two configurations.
--
Dieter
___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo
could tell me a choice to get it for
free!
You could use the (commercial!) ZMxOdbcDA from egenix to connect
via ODBC.
--
Dieter
___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db
._setOb(idOfBrokenObject, someNewObject)
After that, you can delete the broken object
container._delObject(idOfBrokenObject)
and commit.
--
Dieter
___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db
, as suggested
by Andreas.
Thank you very much for answering, Dieter, but the same I explained to
Andreas, money is a very big problem in my case.
Then, you need to read very carefully!
I sketched an option that does not cost money:
Maybe, you try to search for it (ZODBCDA).
I do not know
keyword parameter there.
--
Dieter
___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db
).
--
Dieter
___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db
.
A better way would be to raise an exception derived from ConflictError.
Such an exception would cause ZPublisher to perform the Retry
and with a good name for your new exception you would clearly see
what happened in case, the exception were repeated.
--
Dieter
. Essentially, you need to start Zope in the foreground
and it must not run in production mode.
Under *nix (and Windows with very recent Zope versions), zopectl fg
can be used for this.
Watch out Could not import .
--
Dieter
___
Zope-DB mailing
39 matches
Mail list logo