[Zope] Bizarre new problem...

Chris McDonough chrism@digicool.com
Tue, 27 Jun 2000 01:07:39 -0400


I suspect this is coming from MySQLdb.  From the Python DB-API spec:

OperationalError 
 Exception raised for errors that are related to the database's
 operation and not necessarily under the control of the
 programmer, e.g. an unexpected disconnect occurs, the data
 source name is not found, a transaction could not be processed,
 a memory allocation error occurred during processing, etc. It must
 be a subclass of DatabaseError. 

.frm files seem to be table data containers for MySQL.  You should try
operating on your database outside of Zope to see if you can reproduce
the problem.

Curtis Maloney wrote:
> 
> Green things,
> 
> I've had a site in development (almost ready to deploy) and in testing for
> some time.  I just went to go through another test run, when a previously
> working page suddenly generated the following error:
> 
> Error Type: OperationalError
> Error Value: (1017, "Can't find file:
> './service/return.frm' (errno: 13)")
> 
> <traceback at end of e-mail>
> 
> I looked at the traceback, and it appeared to be coming from a particular SQL
> method.  I tried testing the method, same problem.  I tried another SQL
> method.  Same again.
> 
> Ok, so I looked into it further, and checked a previous install.  I can't
> find ANY *.frm files in either zope tree.
> 
> The only event to day which occurred which might have possibly corrupted
> files was when i had to reset due to Netscape (eternal be their pain) chewed
> up all my memory (AGAIN!) and I had to resort to power cycling the computer,
> since it still hadn't responded to my 'kill this annoyingly stupid app'
> keystrokes by the time i'd got back from lunch.
> 
> However, on bootup, the fsck did not find any problems on the disc, so I felt
> reasonably safe.
> 
> Any ideas?  PLEASE?
> 
> Installation:
> 
>   RedHat 6.1
>   Zope 2.1.6 (from src)
> 
> Have a better one,
>         Curtis.
> 
> Traceback (innermost last):
>   File /usr/local/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 214,
> in publish_module
>   File /usr/local/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 179,
> in publish
>   File /usr/local/Zope-2.1.6-src/lib/python/Zope/__init__.py, line 202, in
> zpublisher_exception_hook
>     (Object: sqlGetRADetails)
>   File /usr/local/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 165,
> in publish
>   File /usr/local/Zope-2.1.6-src/lib/python/ZPublisher/mapply.py, line 160,
> in mapply
>     (Object: manage_test)
>   File /usr/local/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 102,
> in call_object
>     (Object: manage_test)
>   File /usr/local/Zope-2.1.6-src/lib/python/Shared/DC/ZRDB/DA.py, line 331,
> in manage_test
>     (Object: sqlGetRADetails)
>   File /usr/local/Zope-2.1.6-src/lib/python/Shared/DC/ZRDB/DA.py, line 312,
> in manage_test
>     (Object: sqlGetRADetails)
>   File /usr/local/Zope-2.1.6-src/lib/python/Shared/DC/ZRDB/DA.py, line 430,
> in __call__
>     (Object: sqlGetRADetails)
>   File /usr/local/Zope-2.1.6-src/lib/python/Products/ZMySQLDA/db.py, line
> 173, in query
> OperationalError: (see above)
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )