Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem running saxo -l start #73

Open
sbp opened this issue May 23, 2015 · 0 comments
Open

Problem running saxo -l start #73

sbp opened this issue May 23, 2015 · 0 comments

Comments

@sbp
Copy link
Owner

sbp commented May 23, 2015

From the pip installed version:

Traceback (most recent call last):
  File "/usr/local/bin/saxo", line 13, in <module>
    main()
  File "/usr/local/bin/saxo", line 10, in main
    saxo.script(sys.argv)
  File "/usr/local/lib/python3.4/dist-packages/saxo/core.py", line 343, in script
    main(argv, version)
  File "/usr/local/lib/python3.4/dist-packages/saxo/script.py", line 559, in main
    code = action.names[args.action](args)
  File "/usr/local/lib/python3.4/dist-packages/saxo/script.py", line 283, in start
    modified = time.gmtime(os.path.getmtime("saxo"))
  File "/usr/lib/python3.4/genericpath.py", line 55, in getmtime
    return os.stat(filename).st_mtime
FileNotFoundError: [Errno 2] No such file or directory: 'saxo'

Temporary fix was to use __file__.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant