Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
gimp 2.9.x
#8
The message you report says  "none type object has no attribute e.width" but if it is more accurately "'NoneType' object has no attribute 'ewidth'" then:

  1. There is a place in the code where an ewidth attribute is used
  2. Since NoneType is the type of the object None (and there is no other object of that type) then the variable associate with ewidth has value None
  3. So all this points to srcTile (used in "for x in range(srcTile.ewidth):" that has become None
  4. None is traditionally used in Python function as the value returned when the function cannot return what is asked
  5. So that would be "layer.get_tile(False, j, i)" which isn't returning the requested tile for some reason.
What are the values of i and j when this happens? Can you reproduce the problem in the Python console with just a few lines (get image, get layer, get tile->kaboom)? If so you have all the required input to file a bug in http://bugzilla.gnome.org.
Reply


Messages In This Thread
gimp 2.9.x - by dinasset - 08-25-2017, 01:47 PM
RE: gimp 2.9.x - by rich2005 - 08-26-2017, 10:45 AM
RE: gimp 2.9.x - by dinasset - 08-26-2017, 10:52 AM
RE: gimp 2.9.x - by Ofnuts - 08-26-2017, 01:14 PM
RE: gimp 2.9.x - by dinasset - 08-26-2017, 01:42 PM
RE: gimp 2.9.x - by Ofnuts - 08-26-2017, 07:25 PM
RE: gimp 2.9.x - by dinasset - 08-26-2017, 07:47 PM
RE: gimp 2.9.x - by Ofnuts - 08-26-2017, 10:21 PM
RE: gimp 2.9.x - by dinasset - 08-27-2017, 06:10 AM

Forum Jump: