Python Forum
AttributeError: 'list' object has no attribute 'g_s'
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AttributeError: 'list' object has no attribute 'g_s'
#2
There's a lot of code there and I don't feel like debugging it for you. At the very least, the traceback tells you on which line the problem occurs. Why are you trying to access some attribute on a list? Do you not expect the object to be a list? Work backwards from the problem and figure out why you're getting the list. If you do expect the list there, what are you trying to do? Access that attribute on each of the items, some particular items, ...?
Reply


Messages In This Thread
RE: AttributeError: 'list' object has no attribute 'g_s' - by ndc85430 - Mar-30-2020, 07:18 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  AttributeError: 'str' object has no attribute 'size' russoj5 4 7,604 Nov-15-2020, 11:43 PM
Last Post: deanhystad
  Object has no attribute 'replaceall' ? peterp 2 7,323 Nov-10-2020, 09:23 PM
Last Post: buran
  Calling an class attribute via a separate attribute in input wiggles 7 3,038 Apr-04-2020, 10:54 PM
Last Post: wiggles
  ERROR NoneType object has no attribute content denizkb 1 2,683 Nov-21-2019, 01:18 PM
Last Post: denizkb
  AttributeError: 'tuple' object has no attribute 'move' senfik99 2 4,109 Feb-26-2019, 12:42 PM
Last Post: stullis
  text = str(text.encode('utf-8')) AttributeError: 'float' object has no attribute 'enc ulrich48155 2 8,868 Jul-31-2017, 05:21 PM
Last Post: ulrich48155

Forum Jump:

User Panel Messages

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