baev / allure-cli-depricated

Allure Command Line Tool
Other
20 stars 7 forks source link

Report With Invocation Error #24

Closed mariohmol closed 8 years ago

mariohmol commented 9 years ago

I'm trying to generate the HTML Report from a XML, after running py.test, but i'm gettting a error.

I ran the xml files as:

When i try to run the generate:

I got this error:

And thats all.. shows in terminal just this line.. isnt a full log with stacktrace?

My env:

I tryied using version 1.4.4 and 1.3.9, like above: allure report generate F:\Projetos\datavivaetl\dados\tests -v 1.3.9

Same error!

What am i doing wrong?

vania-pooh commented 9 years ago

@pupssman: so far as I can understand py.test adapter now supports 1.4.x series, right? @mariohmol hi, could you please rerun report generation command like the following and send the output:

$ allure report generate -v 1.4.3 --debug F:\\Projetos\\datavivaetl\\dados\\tests

You should use double backslashes because CLI is implemented as Java application and this is how Java works with paths. Also please confirm that your tests directory contains XML files from PyTest run and that you have Internet connection without proxies. If something in your environment differs please specify it.

mariohmol commented 9 years ago

ran here use 1.4.4 (version that i have installed)

same error.. just shows one line..

I confirmed and all xml files are on folder

I have internet conection with proxy, but using maven install in the core of allure.. for example.. it downloads files from web! (i configured HTTP_PROXY variable and settings.xml for maven proxy)

pupssman commented 9 years ago

@vania-pooh yep, as per adaptor's readme, at version 1.5.1 it generates 1.4.X report xml. We are using it with 1.4.1 reports for ourselves. Also, it is known that if one tries to process those reports with 1.3.9 report builder he will have report built, yet internally malformed.

mariohmol commented 9 years ago

Just to guarantee I ran using allure-report-data-1.4.1.jar i had the same issue

I tested running without installing the 1.4.1 version and gave me missing Dependency lib, after installing give me Invocation error.

How can i force to see fullstacketrace, cause --debug didnt changed the output

pupssman commented 9 years ago

If my memory serves me right, there was an issue with proxy configuration for allure-report-builder. I can not locate it now, however.

mariohmol commented 9 years ago

Does it work just over the internet? Is not possible to install all manually and run like "standalone" ?

pupssman commented 9 years ago

I am most certain that @vania-pooh now has enought info to identify your problem -- we need to hear from him.

vania-pooh commented 9 years ago

@mariohmol I don't get how did you work with Allure 1.4.4 which is not released yet. Last stable release is 1.4.3. Regarding proxies - the only version which supports them is 2.2-preview. Only this version is able to read settings.xml from Maven usual place.

mariohmol commented 9 years ago

maybe i confused myself.. but im getting the jars in likes from maven repository, like that http://mvnrepository.com/artifact/ru.yandex.qatools.allure/allure-report-data/1.4.3

about proxy, that is no way to run as offline?

vania-pooh commented 9 years ago

@mariohmol no, this is not yet implemented but is one of the next features. See #17.

baev commented 8 years ago

New version of Allure command line client supports the offline mode. See http://wiki.qatools.ru/display/AL/Allure+CLI