yinwang0 / pysonar2

PySonar2: a semantic indexer for Python with interprocedual type inference

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tried it on windows, no html files generated

laike9m opened this issue · comments

I'm not sure what I did wrong.
I executed this command, everything goes well but no html files generated.

java -jar target\pysonar-2.0-SNAPSHOT.jar path-to-a-project .\html

Here is the final output:
1

There was a mistake yesterday I made that will make it not generating html files (for all OSs), and it was fixed after a while. Can you try the current revision and see if there is still the problem?

pulled and compiled again, still not working...

The problem was that none of the files were parsed successfully by the Python interpreter under Windows. See in your output "failed to parse: 14". It may take some time to figure out why it behaves differently in windows.

huh, what might be the problem?

It looks like the Python interpreter wasn't communicating with the Java
process correctly under Windows, so none of the files are parsed and
written into JSON.

-- Yin

On Sat, Nov 23, 2013 at 11:16 PM, laike9m notifications@github.com wrote:

huh, what might be the problem?


Reply to this email directly or view it on GitHubhttps://github.com//issues/29#issuecomment-29150375
.

This patch doesn't seem to work...

it said Timed out while parsing

I tried it again on my Windows 7 machine and it at least parsed the files and did analysis. The output file links are not at correct locations although they contain correct information.

Can you try removing the directory printed in the beginning of the run:
AST cache is at: ...

Maybe this will fix it.

I got it to work, but it failed to parse some py files.

Yes. but can you see the links at correct locations? I can't on my windows
machine.

-- Yin

On Thu, Nov 28, 2013 at 12:33 AM, laike9m notifications@github.com wrote:

I got it to work, but it failed to parse some py files.


Reply to this email directly or view it on GitHubhttps://github.com//issues/29#issuecomment-29446938
.

Do you mean link like this?
1

I'm not sure what it should be like when I click on those links(maybe jump to the defination?). On my computer, nothing happens.

When you move your mouse on the link of a variable, it should highlight the
definition of the variable. If you move the cursor on the definition, it
will highlight all the variables that refer to it.

On my computer, I see those links, but the highlights are in wrong places.

-- Yin

On Thu, Nov 28, 2013 at 1:08 AM, laike9m notifications@github.com wrote:

I'm not sure what it should happen when I click on those links(maybe jump
to the defination?). On my computer, nothing happens.


Reply to this email directly or view it on GitHubhttps://github.com//issues/29#issuecomment-29448576
.

No, hilighting does not work.

And some of the hilighted words are weird
2

So we are seeing the same thing. Might be an issue about line ending
conventions.

-- Yin

On Thu, Nov 28, 2013 at 1:20 AM, laike9m notifications@github.com wrote:

No, hilighting does not work.

And some of the hilighted words are weird
[image: 2]https://f.cloud.github.com/assets/2592205/1638475/3742e326-580d-11e3-9451-abf7d6621694.jpg


Reply to this email directly or view it on GitHubhttps://github.com//issues/29#issuecomment-29449230
.