cx_Oracle.DatabaseError: [Decode error - output not utf-8]
sublime下,用cx_Oracle 連線oracle資料庫,發現報錯。報錯如下:
cx_Oracle.DatabaseError: [Decode error - output not utf-8]
這個錯誤查到最後,是sql語句錯了,sysdate少寫了個s;
sql="select sysdate from dual"
在命令列下執行指令碼,提示sql語句錯誤,為啥sublime不提示呢!
附:檢視當前輸入輸出編碼:
import sys
print(sys.stdin.encoding)
print(sys.stdout.encoding)
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29519108/viewspace-2134996/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Sublime Text: [Decode error - output not utf-8]Error
- sublime 出現 [Decode error - output not utf-8]Error
- Sublime Text 2/3 [Decode error - output not utf-8]Error
- [Decode error - output not utf-8] lua 使用string.subError
- python編碼問題之——Decode error - output not utf-8PythonError
- 使用 Sublime 工具時報Decode error - output not utf-8解決辦法Error
- Sublime text 2/3 [Decode error - output not utf-8] 完美解決方法Error
- sublime上配置java環境,解決Decode error - output not utf-8問題JavaError
- sublime Text3編譯java檔案提示Decode error - output not utf-8編譯JavaError
- Sublime下python 報錯[Decode error - output not utf-8]解決辦法PythonError
- Sublime Text 2報 Decode error - output not utf-8 錯誤的解決辦法Error
- 用sublime Text3編譯java檔案提示Decode error - output not utf-8編譯JavaError
- Sublime Text 2報“Decode error - output not utf-8”錯誤的解決辦法Error
- sublime text編譯時提示錯誤[Decode error - output not utf-8] compilation terminated編譯Error
- Sublime報Decode error - output not utf-8 or cp936 錯誤的解決辦法Error
- mount error(5): Input/output errorError
- bash : input/output errorError
- Input/output error [ linux ]ErrorLinux
- mount.nfs: Input/output errorNFSError
- Could not decode a text frame as UTF-8 的解決
- RAID 磁碟故障input/output errorAIError
- Python——Output not utf-8錯誤解決辦法Python
- 解決IDEA Error:Output directory is not specifiedIdeaError
- Composer 提示 zlib_decode (): data errorError
- PyMySQL 獲取資料 'utf-8' codec can't decode byte 0xed in position 2: 錯誤MySql
- 7.76 DECODE
- requirement for output typeUIREM
- golang url decodeGolang
- decode函式函式
- decode的使用
- hackmyvm--Decode
- UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc8 in position 0: invalid continuation byteUnicodeError
- angular input和outputAngular
- 安裝win10系統提示Output error file to the following location A:\ghosterr.txt怎麼辦Win10Error
- Error: CreateProcess failed, Command: ‘C:\Keil_v5\ARM\ARMCC\bin\fromelf.exe --bin -o ..\OBJ\outputErrorAIOBJ
- perl encode,decode
- 代替DECODE的CASE
- HTML <output> 輸出域HTML