-1
代碼工作到昨天。突然有一個功能沒有被調用。python:函數未調用
所有腳本位於相同的文件夾中,調用腳本和調用腳本。
我已經把幾個打印語句放在_fbbqinsert中,並嘗試單獨運行_fbbqinsert,它工作正常。
該功能調用不正確。
腳本名稱:fbutils
import json
import os, sys
import pandas as pd
import errno
import time
import glob
import datetime
import requests
import fbbqfuns
def _callXML():
try:
print "Calling fbbqinsert"
fbbqfuns._fbbqinsert(report_run_id,cfg,file_name,0)
except:
exc_type, exc_value, exc_traceback = sys.exc_info()
你能提供堆棧跟蹤嗎? – AK47