[問題] 請問板上有人有用過Picalo嗎?
Picalo是個open source
我們的團隊嘗試修改picalo的內容
目前已可秀出視窗,但是object tree一直出現錯誤,不會隨軟體開啟而出現
▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
▏ ▏ ▏
▏ ▏ ▏軟體視窗如左,
▏Object▏ ▏
▏ ▏ ▏每當在Python Shell執行時
▏ tree ▏ output ▏
▏ ▏ ▏會出現以下錯誤
▏ ▏ view ▏
▏ ▏ ▏
▏ ▏ ▏ (下一頁..)
▏ ▏▁▁▁▁▁▁▁▁▁▁▁▁▏
▏ ▏ ▏
▏ ▏ command shell ▏
▏ ▏ ▏
▏▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
因為是object tree問題,所以我們執行 object tree.py ,但出現以下錯誤
Traceback (most recent call last):
File "C:\Python27\Lab\picalo\ObjectTree.py", line 2, in <module>
import Utils, Spreadsheet, Dialogs
File "C:\Python27\Lab\picalo\Spreadsheet.py", line 5, in <module>
from TableProperties import TableProperties
File "C:\Python27\Lab\picalo\TableProperties.py", line 1, in <module>
import re, wx, wx.grid, Spreadsheet, Dialogs, Utils, sys
File "C:\Python27\Lab\picalo\Dialogs.py", line 1, in <module>
import Utils, Preferences, Editor, Spreadsheet, TableProperties
File "C:\Python27\Lab\picalo\Editor.py", line 4, in <module>
import Utils, Preferences, Dialogs, MainFrame
File "C:\Python27\Lab\picalo\MainFrame.py", line 3, in <module>
import Utils, Spreadsheet, Shell, Editor, CommandLog, Preferences,
ObjectTree
File "C:\Python27\Lab\picalo\ObjectTree.py", line 5, in <module>
from QueryBuilder import QueryBuilder
File "C:\Python27\Lab\picalo\QueryBuilder.py", line 26, in <module>
class QueryBuilder(Dialogs.Dialog):
NameError: name 'Dialogs' is not defined
然後又開啟 dialogs.py檢查,又出現以下錯誤
剛剛出現的NameError變成
AttributeError: 'module' object has no attribute 'Dialog'
想請問板上有人有相關經驗嗎?
有需要看原始檔案的人,我們可以站內信給你檔案連結
--
Send from my wireless
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.123.165.120
※ 文章網址: https://www.ptt.cc/bbs/Python/M.1442305934.A.345.html