[SOLVED] can't read a GML file
-
- Posts:4
- Joined:10 May 2012 21:34 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
I just downloaded gephi-0.8.1-beta and am running OS X 10.7.3 on a Macbook Pro. I can select the lemiserable demo file and it all runs fine. I have a collabs.gml file that I can't open. When I specify *.gml files it is light grey, so it is not being recognized as a gml file. What could be wrong? A friend sent me the file and said I could use it with gephi.
-
- Gephi Community Manager
- Posts:964
- Joined:09 Dec 2009 14:41 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: can't read a GML file
Did you update Gephi using Help > Check for Updates?
I can't reproduce this bug on Windows.
I can't reproduce this bug on Windows.
-
- Posts:4
- Joined:10 May 2012 21:34 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: can't read a GML file
I just did the "Help > Check for Updates" and got a bunch of updates. (I didn't know that I was supposed to do this.) But it still does not recognize my .gml file. Can I send you the file? It is small, only 148KB.
-
- Gephi Community Manager
- Posts:964
- Joined:09 Dec 2009 14:41 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: can't read a GML file
I don't have a Mac, and GML files are recognized on my computer. Don't specify *.gml but all files instead, and try to load the file.
- mbastian
- Gephi Architect
- Posts:728
- Joined:10 Dec 2009 10:11
- Location:San Francisco, CA [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: can't read a GML file
You probably don't have a GML file but rather something like 'LesMiserables.gml.txt' and Mac won't show you the extension.
You can rename this file from the terminal
> mv LesMiserables.gml.txt LesMiserables.gml
You can rename this file from the terminal
> mv LesMiserables.gml.txt LesMiserables.gml
-
- Posts:4
- Joined:10 May 2012 21:34 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: can't read a GML file
Yes, that's what happened! Mac OS X was hiding the .txt part of the file name! It was really coauthors.gml.txt.
Now it is fine. Thank you for your help.
Now it is fine. Thank you for your help.