500 internal errorprocessing error"该怎么处理

 上传我的文档
 下载
 收藏
该文档贡献者很忙,什么也没留下。
 下载此文档
in error processing:在错误处理
下载积分:1500
内容提示:in error processing:在错误处理
文档格式:PDF|
浏览次数:11|
上传日期: 01:01:19|
文档星级:
全文阅读已结束,如果下载本文需要使用
 1500 积分
下载此文档
该用户还上传了这些文档
in error processing:在错误处理
官方公共微信温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!&&|&&
LOFTER精选
网易考拉推荐
用微信&&“扫一扫”
将文章分享到朋友圈。
用易信&&“扫一扫”
将文章分享到朋友圈。
于是在网上找了半天终于找到了个还不错的解决方法【转自&&使用python的pyamf客户端连接服务器的时候,只报出这样的错误:pyamf.remoting.RemotingError: HTTP Error 500: INTERNAL SERVER ERROR如果只看这个错误,会一头雾水的。必须得让报错更明细一些。想了想,有两个办法让错误定位,一个是更改pyamf源码,一个是更改django的源码,让django直接打印出来500错误信息。这里用第二种想法实现了一下。django处理500的源码:python2.7/site-packages/django/core/handlers/base.py源码如下, 中间那段是我添加的,这样可以显示出来详细错误了:& def handle_uncaught_exception(self, request, resolver, exc_info):&&&&&&& """&&&&&&& Processing for any otherwise uncaught exceptions (those that will&&&&&&& generate HTTP 500 responses). Can be overridden by subclasses who want&&&&&&& customised 500 handling.&&&&&&& Be *very* careful when overriding this because the error could be&&&&&&& caused by anything, so assuming something like the database is always&&&&&&& available would be an error.&&&&&&& """&&&&&&& from django.conf import settings&&&&&&& if settings.DEBUG_PROPAGATE_EXCEPTIONS:&&&&&&&&&&& raise&&&&&&& logger.error('Internal Server Error: %s', request.path,&&&&&&&&&&& exc_info=exc_info,&&&&&&&&&&& extra={&&&&&&&&&&&&&&& 'status_code': 500,&&&&&&&&&&&&&&& 'request': request&&&&&&&&&&& }&&&&&&& )&&&&&&& #============= Code start ========== by chang&&&&&&& print "---------- HTTP 500 Error Msg ---------- "&&&&&&& print exc_info&&&&&&& import traceback&&&&&&& print traceback.format_exc()&&&&&&& print "---------------------------------------- "&&&&&&&& #============= Code end =========&&&&&&& if settings.DEBUG:&&&&&&&&&&& from django.views import debug&&&&&&&&&&& return debug.technical_500_response(request, *exc_info)&&&&&&& # If Http500 handler is not installed, re-raise last exception&&&&&&& if resolver.urlconf_module is None:&&&&&&&&&&& raise exc_info[1], None, exc_info[2]&&&&&&& # Return an HttpResponse that displays a friendly error message.&&&&&&& callback, param_dict = resolver.resolve500()&&&&&&& return callback(request, **param_dict)
阅读(7512)|
用微信&&“扫一扫”
将文章分享到朋友圈。
用易信&&“扫一扫”
将文章分享到朋友圈。
历史上的今天
loftPermalink:'',
id:'fks_',
blogTitle:'django——如何解决500 - Internal server error.',
blogAbstract:'Internal server error &500 这个蛋疼烦人的错误一出现,大概你就想砸电脑了吧。因为这个错误引发的源头实在太多了,(本人,常遇到的后台的py文件有错误, 包括一些很不可思议的格式错误)于是在网上找了半天终于找到了个还不错的解决方法【转自&'
{list a as x}
{if x.moveFrom=='wap'}
{elseif x.moveFrom=='iphone'}
{elseif x.moveFrom=='android'}
{elseif x.moveFrom=='mobile'}
${a.selfIntro|escape}{if great260}${suplement}{/if}
{list a as x}
推荐过这篇日志的人:
{list a as x}
{if !!b&&b.length>0}
他们还推荐了:
{list b as y}
转载记录:
{list d as x}
{list a as x}
{list a as x}
{list a as x}
{list a as x}
{if x_index>4}{break}{/if}
${fn2(x.publishTime,'yyyy-MM-dd HH:mm:ss')}
{list a as x}
{if !!(blogDetail.preBlogPermalink)}
{if !!(blogDetail.nextBlogPermalink)}
{list a as x}
{if defined('newslist')&&newslist.length>0}
{list newslist as x}
{if x_index>7}{break}{/if}
{list a as x}
{var first_option =}
{list x.voteDetailList as voteToOption}
{if voteToOption==1}
{if first_option==false},{/if}&&“${b[voteToOption_index]}”&&
{if (x.role!="-1") },“我是${c[x.role]}”&&{/if}
&&&&&&&&${fn1(x.voteTime)}
{if x.userName==''}{/if}
网易公司版权所有&&
{list x.l as y}
{if defined('wl')}
{list wl as x}{/list}appium的log日志中的中文乱码问题应该如何解决? - 知乎1被浏览3819分享邀请回答03 条评论分享收藏感谢收起ORA-39213: Metadata processing is not available 解决方法
11.2.0.3 impdp 报错:
gg2:/u01/backup& impdp dave/dave directory=backup dumpfile=pdba.dmp logfile=table.log tables=pdba table_exists_action=
Import: Release 11.2.0.3.0 - Production onWed Nov 16 12:35:19 2011
Copyright (c) , Oracle and/or itsaffiliates.& All rights reserved.
Connected to: Oracle Database 11gEnterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Miningand Real Application Testing options
ORA-39006: internal error
ORA-39213: Metadata processing is notavailable
查看ORA-39213 具体内容:
gg2:/u01/backup& oerr ora 39213
3, &Metadata processing isnot available&
// *Cause: The Data Pump could not use the Metadata API.& Typically,
//&&&&&&&& this is caused by the XSL stylesheets not being set up properly.
// *Action: Connect AS SYSDBA and executedbms_metadata_util.load_stylesheets
//&&&&&&&& to reload the stylesheets.
gg2:/u01/backup&
运行脚本:
SQL& conn /
Connected.
SQL& executesys.dbms_metadata_util.load_
PL/SQL procedure successfully completed.
再次impdp 成功:
gg2:/u01/backup& impdp dave/dave directory=backup dumpfile=pdba.dmp logfile=table.log tables=pdba table_exists_action=
Import: Release 11.2.0.3.0 - Production onWed Nov 16 12:39:40 2011
Copyright (c) , Oracle and/or itsaffiliates.& All rights reserved.
Connected to: Oracle Database 11gEnterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Miningand Real Application Testing options
Master table &DAVE&.&SYS_IMPORT_TABLE_01&successfully loaded/unloaded
Starting&DAVE&.&SYS_IMPORT_TABLE_01&:& dave/******** directory=backupdumpfile=pdba.dmp logfile=table.log tables=pdba table_exists_action=replace
Processing object typeTABLE_EXPORT/TABLE/TABLE
Processing object typeTABLE_EXPORT/TABLE/TABLE_DATA
. . imported&DAVE&.&PDBA&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& 49.14 MB 2713235rows
Job&DAVE&.&SYS_IMPORT_TABLE_01& successfully completed at 12:40:16
Blog:&&&& https://blog.csdn.net/tianlesoftwareInternal error processing pattern.
MSDN Library
Expand the table of content
Internal error processing pattern.
This error generally occurs when a regular expression has been included in a search string but the syntax for the regular expression contains errors.Re-enter the search string using the correct regular expression syntax. For more information, see .
IN THIS ARTICLE
Is this page helpful?
Additional feedback?
1500 characters remaining
Thank you!
We appreciate your feedback.

我要回帖

更多关于 jsp processing error 的文章

 

随机推荐