如果我有一个回溯如: Traceback (most recent call last):
File "...\overall_input.py", line 5, in setup_data
MODULE1.function_name()
File "...\MODULE1.py", line 5, in function_name
value = 1/0
所以我前几天做了一项学费课程作业。这是我的程序。我希望这是自我解释。 (这是Python的,顺便说一句。) def print_intro():
print ("Welcome to the tuition program. This program will calculate your tuition cost.")
def get_id_num():
grad_status
在运行我的QT5项目,我得到警告,如 QObject::startTimer: Timers cannot be started from another thread
等。 尽管许多答案涵盖了在给定的代码中导致这些警告或者如何纠正它们,我想知道,其中代码中的是警告生成的一个回溯。 这是因为我认为这是由于我的某些Qt功能的不正确使用导致了内部警告的产生,例如,在上述情况下,使用定时器执行的功能
我想了解我收到的回溯错误。见下文。 Traceback (most recent call last):
File "test.py", line 291, in test_cache_in_function
self.assertTrue("sunset" in testfilestr,"Testing that the sunset request was cached")