xtk / X

The X Toolkit
http://www.goXTK.com
Other
795 stars 266 forks source link

Running test.py throws "NameError: global name 'browserString' is not defined" #172

Open 31 opened 9 years ago

31 commented 9 years ago

With a fresh clone of XTK, ./test.py -b results in this error:

Testing XTK...
Traceback (most recent call last):
  File "./test.py", line 28, in <module>
    tester.run( options )
  File "/Users/dgoodin2/X/utils/_core/_tester.py", line 474, in run
    self.setupEnvironment( browser )
  File "/Users/dgoodin2/X/utils/_core/_tester.py", line 117, in setupEnvironment
    self.__browser = self.getBrowser( name )
  File "/Users/dgoodin2/X/utils/_core/_tester.py", line 84, in getBrowser
    print 'ERROR: Could not start ' + browserString
NameError: global name 'browserString' is not defined

I followed the instructions on this wiki page. Here's a log of all the commands I ran to get here.

I'm on OSX 10.9.5, and have Python 2.7.5.

I also killed the process to free up the web webserver and tried again with -f for firefox, but that had the same error. In both cases, the browser opens to about:blank and after waiting a while the new window is closed when the error is thrown from test.py.

I didn't find any docs on dependencies I should have before running test.py, so maybe I'm just missing something. Thanks for any help! Trying to hop on the road to submitting pull requests.