Voxelize Python Script problems

I'm having problems with cg cookie's video on creating a voxelize script I made sure to copy the object but after the 9th line of scripting I pressed run script and in the info it said  python script failed, check the system console witch I did but I still don't see the problem please help heres my blend file by the way I'm using blender 2.81 http://pasteall.org/blend/index.php?id=52794

Creating ay

  • spikeyxxx replied

    Hi jesse, you misspelled sourceName (as sourseName) in line 4.

    And sourseName is not declared, that's why the script fails.

  • jesse94 replied

    I'm still having troubles with cg cookie's video on creating a voxelize script this time I'm stuck on the part after bpy.context.area.ui_type = 'UV' when I go to the uv editor and select the mesh the UV's wont project on the text heres my blind file http://pasteall.org/blend/index.php?id=52797

  • spikeyxxx replied

    Your mesh doesn't have UV's. Unwrap it and the UV's will show up. Your script seems to be ok so far.