error while trying to save the gephi project file
-
- Posts:21
- Joined:26 Apr 2010 17:26 [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
Hi
I am having two problems. First, I am unable to save the gephi project (.gephi) and second when I open previously saved gephi project files (.gephi) and make changes and try to save them, I cannot. The problem is sometimes it works and most times it doesn't as a result I am losing all the changes. Here's the error message. I even tried reinstalling gephi but that didn't help either. I would really appreciate any suggestions/help.
Thanks
Anil
*****************************************
The project file couldn't be opened. Please check the file has .gephi extension.
ClassCastException - com.itextpdf.text.Rectangle cannot be cast to java.awt.Rectangle
*****************************************
java.lang.StringIndexOutOfBoundsException: String index out of range: -2
at java.lang.String.substring(Unknown Source)
at org.gephi.desktop.project.ProjectControllerUIImpl$4.run(ProjectControllerUIImpl.java:219)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
[catch] at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:148)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
I am having two problems. First, I am unable to save the gephi project (.gephi) and second when I open previously saved gephi project files (.gephi) and make changes and try to save them, I cannot. The problem is sometimes it works and most times it doesn't as a result I am losing all the changes. Here's the error message. I even tried reinstalling gephi but that didn't help either. I would really appreciate any suggestions/help.
Thanks
Anil
*****************************************
The project file couldn't be opened. Please check the file has .gephi extension.
ClassCastException - com.itextpdf.text.Rectangle cannot be cast to java.awt.Rectangle
*****************************************
java.lang.StringIndexOutOfBoundsException: String index out of range: -2
at java.lang.String.substring(Unknown Source)
at org.gephi.desktop.project.ProjectControllerUIImpl$4.run(ProjectControllerUIImpl.java:219)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
[catch] at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:148)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
- 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: error while trying to save the gephi project file
Hi, would you mind sending me your file mathieu.bastian [at] gephi.org so I can have a look what's wrong in our code? Thanks
-
- Posts:1
- Joined:02 Feb 2012 11:19 [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: error while trying to save the gephi project file
Hi,
I have the same problem.
When I try to save my project, I often get the following message:
The project file couldn't be opened. Please check the file has .gephi extension.
ClassCastException - com.itextpdf.text.Rectangle cannot be cast to java.awt.Rectangle
Sometimes I manage to save it, but when I try to open it the following message appears:
The project file couldn't be opened. Please check the file has .gephi extension.
NumberFormatException - For input string: "3E7"
Do you find anything out or have any idea what I can do about it?
Thanks a lot,
Madita
I have the same problem.
When I try to save my project, I often get the following message:
The project file couldn't be opened. Please check the file has .gephi extension.
ClassCastException - com.itextpdf.text.Rectangle cannot be cast to java.awt.Rectangle
Sometimes I manage to save it, but when I try to open it the following message appears:
The project file couldn't be opened. Please check the file has .gephi extension.
NumberFormatException - For input string: "3E7"
Do you find anything out or have any idea what I can do about it?
Thanks a lot,
Madita
-
- Posts:5
- Joined:05 Mar 2012 14:53 [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: error while trying to save the gephi project file
I regularly get the same problem:
ClassCastException - com.itextpdf.text.Rectangle cannot be cast to java.awt.Rectangle
Product Version: Gephi 0.8 beta
Java: 1.6.0_29; Java HotSpot(TM) Client VM 20.4-b02
System: Windows XP version 5.1 running on x86; Cp1252; en_GB (gephi)
ClassCastException - com.itextpdf.text.Rectangle cannot be cast to java.awt.Rectangle
Product Version: Gephi 0.8 beta
Java: 1.6.0_29; Java HotSpot(TM) Client VM 20.4-b02
System: Windows XP version 5.1 running on x86; Cp1252; en_GB (gephi)
- 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: error while trying to save the gephi project file
Looking into it. This is tracked on Issue #553.
EDIT: Issue fixed. I'll be released in the next update very soon.
EDIT: Issue fixed. I'll be released in the next update very soon.
-
- Posts:2
- Joined:13 Mar 2012 16: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: error while trying to save the gephi project file
I get the error message when I want to save the gephi file. I do not get it when exporting to PDF (actually PDF export works fine).
The bug fix seems to be with respect to a different bug.
The bug fix seems to be with respect to a different bug.
-
- Posts:2
- Joined:13 Mar 2012 16: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: error while trying to save the gephi project file
I just found a work around: Copying nodes to a new workspace, deleting the old workspace. Now I can save the project to *.gephi
I created a Bug report:
https://bugs.launchpad.net/gephi/+bug/954203
I created a Bug report:
https://bugs.launchpad.net/gephi/+bug/954203
- 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: error while trying to save the gephi project file
This issue is fixed in the development version. We'll release a new Gephi version soon with this fix included. Stay tuned by subcribing to the gephi-announce list or follow us on Twitter.
-
- Posts:1
- Joined:06 May 2012 09:15 [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: error while trying to save the gephi project file
Hello,
I downloaded this week the new Gephi version (0.8.1-beta) but I still have the same problem as descibed previously in this forum when I save my graphs....
Here are the error messages that I get...
When I save my files:
" The project file couldn't be opened. Please check the file has a .gephi extension
NullPointerException - null"
However it saves the file (with a .gephi extension) but when I try to open it i get this error and the file doesn't open:
"The project file couldn't be opened. Please check the file has a .gephi extension
XMLStreamException - ParseError at [raw,col]:[1,1]
Message: Premature end of file."
Is this the same error as previously described? I understood that this error was fixed with the new version of the program...
Note that it saves correctly the files if i duplicate the workspace, delete the old one and "save as" the new one.
thank you for your answer
Best
E.
I downloaded this week the new Gephi version (0.8.1-beta) but I still have the same problem as descibed previously in this forum when I save my graphs....
Here are the error messages that I get...
When I save my files:
" The project file couldn't be opened. Please check the file has a .gephi extension
NullPointerException - null"
However it saves the file (with a .gephi extension) but when I try to open it i get this error and the file doesn't open:
"The project file couldn't be opened. Please check the file has a .gephi extension
XMLStreamException - ParseError at [raw,col]:[1,1]
Message: Premature end of file."
Is this the same error as previously described? I understood that this error was fixed with the new version of the program...
Note that it saves correctly the files if i duplicate the workspace, delete the old one and "save as" the new one.
thank you for your answer
Best
E.
-
- Posts:1
- Joined:06 Jun 2012 21:12 [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: error while trying to save the gephi project file
I'm also getting the same issue. I'm importing a Neo4j graph using the Neo4j import plugin. The import goes fine. I get a good graph in Gephi that I can manipulate and explore, but upon saving, I get the same errors reported above. There is a file that gets written out to disk, but it's a zero kb file. I have the newest version of Gephi.