Python Forum
AttributeError Traceback (most recent call last)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AttributeError Traceback (most recent call last)
#4
(Mar-28-2021, 10:01 AM)quest Wrote:
(Mar-28-2021, 01:37 AM)deanhystad Wrote: No you dont. Not yet. You don't have a name until line 43, but in line 41 you call a method that uses name.

My line 41 is :
td, cdata = self.dataqueue.pop(0)
and there is nothing related to name. And my 43 line is:
self.lastt=td
so I really do not understand what you are saying. There is nothing related to name in these lines and I also defined name in 33 line actually so it should not be a problem

BUt ok I understood now. Your mean is 31 and 33 lines and I corrected it now and it is ok. THanks :)
Reply


Messages In This Thread
RE: AttributeError Traceback (most recent call last) - by quest - Mar-28-2021, 10:03 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Where to look to find the most recent Python grammar allusernametaken 9 3,640 Oct-04-2019, 04:12 AM
Last Post: newbieAuggie2019

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020