URL:
  <http://gna.org/bugs/?21230>

                 Summary: Error running win32 binary
                 Project: MyPaint
            Submitted by: tumagonx
            Submitted on: Sat 26 Oct 2013 12:12:26 PM GMT
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
         Planned Release: None
        Operating System: 

    _______________________________________________________

Details:

there are typos in mypaint.py

...
            return [argv[i] for i in xrange(start, argc.value)]

    except Exception:

        return [s.decode(sys.getfilesystemencoding()) for s in args]

 

 

def get_paths():
...

should be return [s.decode(sys.getfilesystemencoding()) for s in sys.argv]


...
if __name__ == '__main__':

    # Console logging

    log_format = "%(levelname)s: %(name)s: %(message)s"

    if sys.platform == 'win32':

        # Windows doesn't understand ANSI by default.

        console_handler = logging.StreamHandler(stream=sys.stderr)

        console_formatter = logging.formatter(log_format)

    else:
...

should be logging.Formatter




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?21230>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs

Reply via email to