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

Fix python 2.6 errors #21

Closed
tony opened this Issue Nov 20, 2013 · 0 comments

Comments

Projects
None yet
1 participant
@tony
Member

tony commented Nov 20, 2013

This issue occurs with files on python 2.6 and leads to failed builds on travis.

test_freeze_config (tmuxp.testsuite.test_workspacefreezer.FreezeTest) ... ok
======================================================================
ERROR: test_export_json (tmuxp.testsuite.test_config.ImportExportTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/tony/tmuxp/tmuxp/testsuite/test_config.py", line 71, in test_export_json
    buf = open(json_config_file, 'w')
IOError: [Errno 2] No such file or directory: '/home/travis/build/tony/tmuxp/tmuxp/testsuite/.tmuxp/config.json'
======================================================================
ERROR: test_export_yaml (tmuxp.testsuite.test_config.ImportExportTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/tony/tmuxp/tmuxp/testsuite/test_config.py", line 89, in test_export_yaml
    buf = open(yaml_config_file, 'w')
IOError: [Errno 2] No such file or directory: '/home/travis/build/tony/tmuxp/tmuxp/testsuite/.tmuxp/config.yaml'
======================================================================
ERROR: test_scan_config (tmuxp.testsuite.test_config.ImportExportTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/tony/tmuxp/tmuxp/testsuite/test_config.py", line 101, in test_scan_config
    buf = open(garbage_file, 'w')
IOError: [Errno 2] No such file or directory: '/home/travis/build/tony/tmuxp/tmuxp/testsuite/.tmuxp/config.psd'
----------------------------------------------------------------------
Ran 72 tests in 34.752s
FAILED (errors=3)
The command "python setup.py test" exited with 1.
Done. Your build exited with 1.

@ghost ghost assigned tony Nov 20, 2013

tony added a commit that referenced this issue Nov 20, 2013

tony added a commit that referenced this issue Nov 20, 2013

tony added a commit that referenced this issue Nov 20, 2013

@tony tony closed this Nov 20, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment