Comment #2 on issue 676 by spectestltd: Unicode object has no attribute decode
http://code.google.com/p/robotframework/issues/detail?id=676

Hello,
Many thanks for getting back to me so quickly.
The error is not crashing the execution and I am able to run a whole suite (project) ,howeverI was hoping to import a Resource file (library) on the top level Suite (project) so that I can make calls to it from suites/tests below. The workaround is the import library to each individual suite in the project (top level suite), so that those suites/tests can access it.

I've turned on logging with syslog, but haven't managed to get any additional information from the log file: | ERROR | Error in file 'c:\testing\automation\robot\xxxxxxx_suite\__init__.html' in table 'Setting' in element on row 4: AttributeError: 'unicode' object has no attribute 'decode'
20100929 11:43:15.546 | INFO  | Started test suite

Message does show up in the console.
Pybot command is: >pybot -d C:\Temp -L DEBUG C:\Testing\Automation\Robot\xxxxxxx_Suite (where xxxxxx_Suite is the directory where all my test files are (.html) + __init__.html and a single Resource file(.html)

Thanks

Reply via email to