'No top bar or graph shown on Gephi
It's the first time I'm using Gephi (version 0.9.2) and when I enter I get this screen.
Now when I select one of the .gexf files everything seems to go smoothly...
, but then I click on "Accept" and no graph is shown, and clicking on any of "Overview", "Data Laboratory" or "Preview" is useless.
I'm stuck and according to this tutorial I should be able to see the graph and have some bars available.
Note I previously had to change the path in the gephi.conf file to jdkhome="C:\Program Files\Java\jdk-17.0.1" as suggested here. I'm using Windows 11.
Solution 1:[1]
I suggest you to upgrade your Gephi version. From version 0.9.5 Gephi no longer requires Java installation and shows other improvements.
With this upgrade this problem should be solved as mentioned in this post about a similar issue: "The latest version of Gephi (0.9.3) embed Java (JRE11) on Linux as well so no need anymore to install Java separately. This should solve most Java compatibility issues" https://github.com/gephi/gephi/issues/1997
Solution 2:[2]
between takes parsers, not characters, as arguments. You need two (trivial) parsers that each parse '"', as well as the parser for what you want between the quotes.
parseString = do
let quoted = between (char '"') (char '"')
res <- quoted (many charLiteral)
return (HiValueString (pack res))
Not really any shorter (even ignoring the extra variable binding I introduce for readability), but it lets you separate more cleanly the quoting from the thing being quoted.
Regardless, you can use <$> to replace your >>= followed immediately by return.
parseString = (HiValueString . pack) <$> (char '"' *> manyTill charLiteral (char '"'))
or
parseString = (HiValueString . pack) <$> (between (char '"') (char '"') (many charLiteral))
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | |
| Solution 2 |



