Skip to content

SyntaxError #40

@gmar5

Description

@gmar5

Hi.
First of all, thanks for the amazing project, I love the spirit of data collection and great visualisation!

When I run ulogme.sh, I constantly get the following error:

SyntaxError: invalid syntax
logged key frequency: Wed Jun  1 17:19:36 BST 2016 0 release events detected into logs/keyfreq_.txt
  File "rewind7am.py", line 27
    print rewindTime(int(time.time()))
                   ^
SyntaxError: invalid syntax
[...]

Data is still recorded in the window_txt and keyfreq_.txt logs (In this format, e.g.: 1464797947 ulogme - File Manager -- I don't know if it is correct, with that date format.)

I also get these errors running the UI scripts (and they don't do anything):

$ python export_events.py
  File "export_events.py", line 26
    except Exception, e:
                    ^
SyntaxError: invalid syntax

$ python ulogme_serve.py
  File "ulogme_serve.py", line 72
    print 'Serving ulogme, see it on http://localhost:' + `PORT`
                                                      ^
SyntaxError: Missing parentheses in call to 'print'

I am on Manjaro 16.06 (Xfce) Linux.

Do you know what the problem could be and how (if) it can be solved?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions