如何忽略OCI_SUCCESS_WITH_INFO异常

时间:2018-02-12 11:45:07

标签: php oracle pdo oci

我正在尝试使用以下代码连接到Oracle服务器:

  File "./run", line 33, in <module>
    markets = cmc.markets(coin["id"])
  File "/Users/alex/anaconda3/lib/python3.6/site-packages/pymarketcap/core.py", line 296, in markets
    marks = html.find(id="markets-table").find("tbody").find_all('tr')
AttributeError: 'NoneType' object has no attribute 'find'

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "./run", line 35, in <module>
    markets = cmc.markets(coin["symbol"])
  File "/Users/alex/anaconda3/lib/python3.6/site-packages/pymarketcap/core.py", line 296, in markets
    marks = html.find(id="markets-table").find("tbody").find_all('tr')
AttributeError: 'NoneType' object has no attribute 'find'

但它给我一个例外:

  

SQLSTATE [HY000]:OCISessionBegin:OCI_SUCCESS_WITH_INFO:ORA-28011:该帐户即将过期;立即更改密码(/root/php-5.4.35/ext/pdo_oci/oci_driver.c:686)

请有人告诉我,如何在不改变通行证的情况下忽略它。

0 个答案:

没有答案