[win] no encoding in Globals.py

Bug #480145 reported by Sir.Rainbow
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Scribes
Fix Released
Undecided
Mystilleef

Bug Description

This is the first of a series of bug of running Scribes on Windows.

Error:

PS E:\marco\src\scribes> python scribes.py
Traceback (most recent call last):
  File "scribes.py", line 11, in <module>
    main(argv[1:])
  File "E:\marco\src\scribes\SCRIBES\Main.py", line 7, in main
    __open(argv)
  File "E:\marco\src\scribes\SCRIBES\Main.py", line 16, in __open
    __open_via_dbus(uris)
  File "E:\marco\src\scribes\SCRIBES\Main.py", line 24, in __open_via_dbus
    dbus_service = __get_dbus_service()
  File "E:\marco\src\scribes\SCRIBES\Main.py", line 32, in __get_dbus_service
    from Globals import dbus_iface, session_bus
  File "E:\marco\src\scribes\SCRIBES\Globals.py", line 46
SyntaxError: Non-ASCII character '\xc2' in file E:\marco\src\scribes\SCRIBES\Globals.py on line 46, but no encoding decl
ared; see http://www.python.org/peps/pep-0263.html for details

Solution: add
# -*- coding: utf-8 -*-
at the beginning of the file

Tags: win
Revision history for this message
Sir.Rainbow (sir-rainbow) wrote :
Revision history for this message
Mystilleef (mystilleef) wrote :

Fixed in build 507

Changed in scribes:
status: New → Fix Released
assignee: nobody → Mystilleef (mystilleef)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.