Results 1 to 5 of 5

Thread: Cannot get Gogh to run under 8.04

  1. #1
    Join Date
    Aug 2006
    Beans
    21

    Cannot get Gogh to run under 8.04

    Howdy, I absolutely love the drawing program Gogh ( http://www.goghproject.com/ ). I used to use it a ton on my old Tablet PC running 7.10. However, I upgraded to a newer Tablet PC, and it is running 8.04. I cannot seem to get Gogh to start now. I rely heavily on this program and was hoping someone could share some insights.

    Here's the code I get when I launch it:

    Code:
    Traceback (most recent call last):
      File "./gogh", line 31, in <module>
        from goghmain import GoghWindow
      File "/home/stu/Gogh-0.1.2.1/goghmain.py", line 35, in <module>
        from brushmanager import BrushManager
      File "/home/stu/Gogh-0.1.2.1/brushmanager.py", line 30, in <module>
        from settingmanager import *
      File "/home/stu/Gogh-0.1.2.1/settingmanager.py", line 27, in <module>
        import xml.dom.ext
    ImportError: No module named ext
    Thanks in advance!

  2. #2
    Join Date
    Oct 2005
    Location
    Estonia / Sweden
    Beans
    2,332
    Distro
    Ubuntu Development Release

    Re: Cannot get Gogh to run under 8.04

    i get the same problem... there used to be .deb files available in getdeb.net, but i checked and nothing for hardy

  3. #3
    Join Date
    Aug 2006
    Beans
    21

    Re: Cannot get Gogh to run under 8.04

    No one else has come across this problem? I'd really like to get Gogh running again, it's a great piece of software.

  4. #4
    Join Date
    Jun 2007
    Beans
    19

    Re: Cannot get Gogh to run under 8.04

    Some quick googling turned up this: http://blog.mypapit.net/2008/05/ubun...xml-error.html

    I dunno if this will help since I haven't updated to 8.04 myself, yet.

  5. #5
    Join Date
    Aug 2006
    Beans
    21

    Re: Cannot get Gogh to run under 8.04

    I found a solution! Whoo! There was indeed a problem in the Python XML code in Gogh. To fix it, open up settingsmanager.py. First, you'll want to comment out the line:

    Code:
    import xml.dom.ext
    By adding a # sign in front of it. Next, you need to go to the lines that read:

    Code:
    f = open(path, "w")
    xml.dom.ext.PrettyPrint(doc, f)
    f.close()
    And then change it to read:

    Code:
    f = open(path, "w")
    f.write(doc.toxml())
    f.close()
    That's all. ^_^; Enjoy your tablet drawing once more.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •