issues with taurus

141 views
Skip to first unread message

Hernan Humaña

unread,
Apr 26, 2017, 1:10:03 AM4/26/17
to codename-taurus
Hi i can't run taurus

my sample.yml is:

---
execution:
- concurrency: 10
  ramp-up: 1m
  hold-for: 1m30s
  scenario: simple
  
scenarios:
  simple:
    think-time: 0.75
    requests:
    - http://blazedemo.com/
    - http://blazedemo.com/vacation.html
and my error is: 

C:\Users\Sáltala\Documents\Hernann\Visor>bzt sample.yml
02:04:11 INFO: Taurus CLI Tool v1.9.1
02:04:11 INFO: Starting with configs: ['sample.yml']
02:04:11 INFO: No personal config: C:\Users\Sáltala\.bzt-rc
02:04:11 INFO: Configuring...
02:04:11 INFO: Artifacts dir: C:\Users\Sáltala\Documents\Hernann\Visor\2017-04-26_02-04-11.912000
02:04:12 INFO: Preparing...
02:04:13 INFO: Will install JMeter into C:\Users\Sáltala\.bzt\jmeter-taurus
02:04:16 INFO: Downloading: https://archive.apache.org/dist/jmeter/binaries/apache-jmeter-3.1.zip
100% [==========================================================] Time: 0:01:04
02:05:20 INFO: Unzipping c:\users\sltala~1\appdata\local\temp\tmph4wto5.zip to C:\Users\Sáltala\.bzt\jmeter-taurus
Traceback (most recent call last):
  File "c:\python27\lib\logging\__init__.py", line 861, in emit
    msg = self.format(record)
  File "c:\python27\lib\logging\__init__.py", line 734, in format
    return fmt.format(record)
  File "c:\python27\lib\logging\__init__.py", line 465, in format
    record.message = record.getMessage()
  File "c:\python27\lib\logging\__init__.py", line 329, in getMessage
    msg = msg % self.args
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe1 in position 18: ordinal not in range(128)
Logged from file utils.py, line 599
02:05:21 ERROR: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe1 in position 8: ordinal not in range(128)
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\bzt\cli.py", line 212, in perform
    self.engine.prepare()
  File "c:\python27\lib\site-packages\bzt\engine.py", line 130, in prepare
    self.__prepare_provisioning()
  File "c:\python27\lib\site-packages\bzt\engine.py", line 457, in __prepare_provisioning
    self.provisioning.prepare()
  File "c:\python27\lib\site-packages\bzt\modules\provisioning.py", line 70, in prepare
    executor.prepare()
  File "c:\python27\lib\site-packages\bzt\modules\jmeter.py", line 144, in prepare
    self.install_required_tools()
  File "c:\python27\lib\site-packages\bzt\modules\jmeter.py", line 911, in install_required_tools
    tool.install()
  File "c:\python27\lib\site-packages\bzt\modules\jmeter.py", line 2063, in install
    self.__install_jmeter(dest)
  File "c:\python27\lib\site-packages\bzt\modules\jmeter.py", line 1979, in __install_jmeter
    unzip(jmeter_dist, dest, 'apache-jmeter-%s' % self.version)
  File "c:\python27\lib\site-packages\bzt\utils.py", line 601, in unzip
    zfd.extract(member, dest_dir)
  File "c:\python27\lib\zipfile.py", line 1031, in extract
    return self._extract_member(member, path, pwd)
  File "c:\python27\lib\zipfile.py", line 1072, in _extract_member
    targetpath = os.path.join(targetpath, arcname)
  File "c:\python27\lib\ntpath.py", line 85, in join
    result_path = result_path + p_path
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe1 in position 8: ordinal not in range(128)
02:05:21 INFO: Post-processing...
02:05:21 INFO: Artifacts dir: C:\Users\Sáltala\Documents\Hernann\Visor\2017-04-26_02-04-11.912000
02:05:21 WARNING: Done performing with code: 1

Pplease help 

ta...@blazemeter.com

unread,
Apr 27, 2017, 2:50:57 AM4/27/17
to codename-taurus
Hi, Hernan.
It's definitely problem with a national symbol in the path to your home dir.
As a workaround you can create a directory without such symbols in the path (e.g. C:\Taurus) and run tests from it.
Thanks for your report, we fix this bug in the near future.

---
Taras

Andrey Pokhilko

unread,
Jul 16, 2017, 2:54:34 AM7/16/17
to codenam...@googlegroups.com

Hi Hernan,

We have prepared fix for your issue, which is in fact switches Windows Installer from using Python 2 to Python 3. The reason is that Python 2 is known for unicode issues and Python 3 is much better with it.

Can you install the following snapshot and try agan? Here's the link:

http://gettaurus.org/snapshots/TaurusInstaller_1.9.4.1529_x64.exe

--

Andrey

--
You received this message because you are subscribed to the Google Groups "codename-taurus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codename-taur...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/codename-taurus/26ebccf6-870b-4ef7-9d1f-659613db96a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages