最近借了一个老师的任务,用Pthon写个上位机下位机通讯软件。本来一切都好好的,今天也应该是愉快的一天!但是自从我写出来之后,就变了!!!!最后居然出来一个子线程杀不掉!???沃日!!?搞笑呢?!!这么重要的玩意!这个bug得亏是太显眼了!不然真的就是难受了啊!但是就算发现了,今天肝了一天了也没解决!还是很难受啊!!!我日啊!!话不多说了,如果这破书(没有心血浇灌,当然是破书了)还有人看的话,实在对不起,可耻的拖了!明天搞定问题一定大写一顿!对不住了!
exceptioninthreadThread-2:
Traceback(摸strecentcalllast):
File“/Library/Frameworks/mework/Versions/3.6/lib/python3.6/“,line916,in_bootstrap_inner
File“/Library/Frameworks/mework/Versions/3.6/lib/python3.6/“,line864,inrun
self._target(*self._args,**self._kwargs)
File“/users/zhangzhaobo/cLionProjects/ccF/“,line219,inreceivemessage
atethread
File“/users/zhangzhaobo/cLionProjects/ccF/“,line165,inupdatethread
fo_exists:
File“/Library/Frameworks/mework/Versions/3.6/lib/python3.6/tkinter/__init__.py“,line985,inwinfo_exists
l(‘winfo‘,‘exists‘,self._w))
Runtimeerror:mainthreadisnotinmainloop
exceptionignoredin:
Traceback(摸strecentcalllast):
File“/Library/Frameworks/mework/Versions/3.6/lib/python3.6/tkinter/__init__.py“,line329,in__del__
ifself._boolean(self._l(“info“,“exists“,self._name)):
Runtimeerror:mainthreadisnotinmainloop
exceptionignoredin:
Traceback(摸strecentcalllast):
File“/Library/Frameworks/mework/Versions/3.6/lib/python3.6/tkinter/__init__.py“,line329,in__del__
ifself._boolean(self._l(“info“,“exists“,self._name)):
Runtimeerror:mainthreadisnotinmainloop
exceptionignoredin:
Traceback(摸strecentcalllast):
File“/Library/Frameworks/mework/Versions/3.6/lib/python3.6/tkinter/__init__.py“,line329,in__del__
ifself._boolean(self._l(“info“,“exists“,self._name)):
Runtimeerror:mainthreadisnotinmainloop
Processfinishedwithexitcode9