Openerp 問題記錄

2022-08-14 06:06:14 字數 355 閱讀 4101

錯誤1:valueerror: too many values to unpack

產生錯誤的原因:

'type':fields.selection([('personal','因私'),('business','因公'),'型別']),#這個selectin型別的定義寫錯了,注意中括號的位置

錯誤2:return user_obj.check(db, uid, passwd),attributeerror: 'nonetype' object has no attribute 'check'

產生錯誤的原因:

檢查一下中文的設定,此次原因是_desctiption的內容寫成了中文,應該使用英文。

ios crash問題記錄

1.誤將nsmutablearray型別的變數初始化為nsarray,結果對nsmutablearray型別變數進行操作時,crash h檔案如下 inte ce movemecontroller secondlevelviewcontroller property nonatomic,retain...

??? nginx lua問題記錄

問題1 當用http localhost test 訪問時,結果為何迥異?eg1 location test 結果為空,說明執行的是httpechomodule的echo指令,沒有執行httpluamodule的content by lua指令 eg2 location test輸出123 說明執行...

sphinx 問題記錄

indexer error while loading shared libraries libmysqlclient.so.18 cannot open shared object file no such file or directory 發現sphinx indexer依賴庫ibmysqlc...