Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

UnicodeEncodeError on re-recording the Test #66

Open
roshanjohn opened this issue Aug 27, 2014 · 0 comments
Open

UnicodeEncodeError on re-recording the Test #66

roshanjohn opened this issue Aug 27, 2014 · 0 comments

Comments

@roshanjohn
Copy link

On re-recording the test, I getting the below error which results in a blank record.json file

print ' Typing', self.key
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe0' in position 0: ordinal not in range(128)

[Full Trace:

Exception in thread Thread-1:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 808, in __bootstrap_inner
self.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 761, in run
self.__target(_self.__args, *_self.__kwargs)
File "/Library/Python/2.7/site-packages/huxley/threadpool.py", line 32, in thread
func(_args, *_kwargs)
File "/Library/Python/2.7/site-packages/huxley/cmdline.py", line 69, in run_test
screensize=screensize
File "/Library/Python/2.7/site-packages/huxley/main.py", line 110, in main
TestRun.record(local_d, d, (url, postdata), screensize, filename, diffcolor, sleepfactor, save_diff)
File "/Library/Python/2.7/site-packages/huxley/run.py", line 152, in record
cls.rerecord(test, path, url, remote_d, sleepfactor, diffcolor, save_diff)
File "/Library/Python/2.7/site-packages/huxley/run.py", line 75, in rerecord
run._playback(sleepfactor)
File "/Library/Python/2.7/site-packages/huxley/run.py", line 95, in _playback
step.execute(self)
File "/Library/Python/2.7/site-packages/huxley/steps.py", line 61, in execute
print ' Typing', self.key
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe0' in position 0: ordinal not in range(128)
]

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

1 participant