Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

Error on Windows 8 with Sublime Text 2 #27

Closed
createproblem opened this issue May 16, 2013 · 2 comments
Closed

Error on Windows 8 with Sublime Text 2 #27

createproblem opened this issue May 16, 2013 · 2 comments
Assignees

Comments

@createproblem
Copy link

Hello, I installed the sublime-phpunit plugin over package control. I didn't changed the configuration so its just default. PHP and PHPUnit works fine from command promt.
PHP and PHPUnit can be found under my PATH variable.

If I "right click: Run all tests" the execution command is correct.

Running in folder: C:\Users\createproblem\Documents\projects\web\mn-webapp\app
$ phpunit -c phpunit.xml.dist

This is the error I got in Sublime Text 2

Traceback (most recent call last):
  File ".\sublime_plugin.py", line 362, in run_
    return self.run(edit)
  File ".\phpunit.py", line 721, in run
  File ".\phpunit.py", line 232, in run
  File ".\phpunit.py", line 190, in start_async
  File ".\phpunit.py", line 74, in __init__
  File ".\subprocess.py", line 633, in __init__
  File ".\subprocess.py", line 842, in _execute_child
TypeError: environment can only contain strings

Maybe a problem in my setup?

Some tips to get this plugin work would be nice.

so long
createproblem

@ghost ghost assigned stuartherbert May 17, 2013
@stuartherbert
Copy link
Owner

It's not your setup - it's something to do with the differences between Python on Windows and Python on UNIX, as the plugin is working fine on all of my UNIX-based test machines.

I've just pushed an update which (fingers crossed) will stop this happening.

@createproblem
Copy link
Author

Great Job. Now its works for me. Thanks for the fast support. The issue is resolved now.

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

No branches or pull requests

2 participants