Compilation Error
-
- Gephi Plugin Developer
- Posts:15
- Joined:12 Jul 2010 23:55 [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 get an error when compiling Gephi 0.7alpha4. I get the following error:
/home/sroach/Downloads/new/gephi-0.7-alpha4.sources/DesktopLayout/src/org/gephi/desktop/layout/layer.xml:8:106: Attribute "bundlevalue" must be declared for element type "attr".
/home/sroach/netbeans-6.9/harness/suite.xml:175: The following error occurred while executing this line:
/home/sroach/netbeans-6.9/harness/common.xml:320: /home/sroach/Downloads/new/gephi-0.7-alpha4.sources/DesktopLayout/src/org/gephi/desktop/layout/layer.xml is not a valid XML document.
I looked at the line in layer.xml and it looks OK to me:
<attr name="displayName" bundlevalue="org.gephi.desktop.layout.Bundle#CTL_LayoutAction"/>
Any help someone could provide would be great.
I have: netbeans 6.9
Ubuntu 10.04
Gephi 0.7alpha4
Thanks for your time.
Shaun
/home/sroach/Downloads/new/gephi-0.7-alpha4.sources/DesktopLayout/src/org/gephi/desktop/layout/layer.xml:8:106: Attribute "bundlevalue" must be declared for element type "attr".
/home/sroach/netbeans-6.9/harness/suite.xml:175: The following error occurred while executing this line:
/home/sroach/netbeans-6.9/harness/common.xml:320: /home/sroach/Downloads/new/gephi-0.7-alpha4.sources/DesktopLayout/src/org/gephi/desktop/layout/layer.xml is not a valid XML document.
I looked at the line in layer.xml and it looks OK to me:
<attr name="displayName" bundlevalue="org.gephi.desktop.layout.Bundle#CTL_LayoutAction"/>
Any help someone could provide would be great.
I have: netbeans 6.9
Ubuntu 10.04
Gephi 0.7alpha4
Thanks for your time.
Shaun
- 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: Compilation Error
Hi, did you downloaded the source archive 0.7alpha4 or from the trunk ?
-
- Gephi Plugin Developer
- Posts:15
- Joined:12 Jul 2010 23:55 [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: Compilation Error
Thanks for your help.
I downloaded from the downloads page, with this link:
http://launchpad.net/gephi/0.7/0.7alpha ... ources.zip
I downloaded from the downloads page, with this link:
http://launchpad.net/gephi/0.7/0.7alpha ... ources.zip
- 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: Compilation Error
Ok, with these sources you need to use Netbeans 6.8 to build it. We migrated to Netbeans 6.9 recently, so the trunk is working with 6.9. You can look here how to checkout the code.
-
- Gephi Plugin Developer
- Posts:15
- Joined:12 Jul 2010 23:55 [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: Compilation Error
Awesome. That worked.
Thanks very much for helping me.
Shaun
Thanks very much for helping me.
Shaun
-
- Gephi Plugin Developer
- Posts:15
- Joined:12 Jul 2010 23:55 [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: Compilation Error
Another issue:
I am now trying to go back and compile with NetBeans 6.8. I am using their last 6.8 release, and also the release of gephi from this link: http://launchpad.net/gephi/0.7/0.7alpha ... ources.zip.
When I try to build the project I get this error:
/usr/local/netbeans-6.8/harness/suite.xml:172: The following error occurred while executing this line:
/usr/local/netbeans-6.8/harness/build.xml:165: Cannot compile against a module: /usr/local/netbeans-6.8/platform11/lib/org-openide-util.jar because of dependency: org.openide.util > 7.31.2.1
BUILD FAILED (total time: 0 seconds)
Any ideas why this might happen? Do I need an older version of netbeans?
Thanks
Shaun
I am now trying to go back and compile with NetBeans 6.8. I am using their last 6.8 release, and also the release of gephi from this link: http://launchpad.net/gephi/0.7/0.7alpha ... ources.zip.
When I try to build the project I get this error:
/usr/local/netbeans-6.8/harness/suite.xml:172: The following error occurred while executing this line:
/usr/local/netbeans-6.8/harness/build.xml:165: Cannot compile against a module: /usr/local/netbeans-6.8/platform11/lib/org-openide-util.jar because of dependency: org.openide.util > 7.31.2.1
BUILD FAILED (total time: 0 seconds)
Any ideas why this might happen? Do I need an older version of netbeans?
Thanks
Shaun
- eduramiba
- Gephi Code Manager
- Posts:1064
- Joined:22 Mar 2010 15:30
- Location:Madrid, Spain [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: Compilation Error
Hi, this problem seems to be a netbeans 6.8 bug that happens when updating, and for some reason does not copy updated jars to the netbeans 6.8 install directory.
It happened to me at first and I fixed it copying the updated org-openide-util.jar from "C:\Users\[Your user]\.netbeans\6.8\lib" (this is in Windows 7) to "C:\Program Files\NetBeans 6.8\platform11\lib".
If it happens with other jar, try to do the same.
It happened to me at first and I fixed it copying the updated org-openide-util.jar from "C:\Users\[Your user]\.netbeans\6.8\lib" (this is in Windows 7) to "C:\Program Files\NetBeans 6.8\platform11\lib".
If it happens with other jar, try to do the same.
-
- Gephi Plugin Developer
- Posts:15
- Joined:12 Jul 2010 23:55 [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: Compilation Error
Thanks very much, that did the trick.
I got the plugin working and published (I think) I am posting a couple extra questions in the plugins forum.
I got the plugin working and published (I think) I am posting a couple extra questions in the plugins forum.
-
- 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: Compilation Error
Hi,
The plug-in has been approved and is now available to every Gephi user though the Update Center.
http://gephi.org/plugins/alchemyapi-plugin/
The plug-in has been approved and is now available to every Gephi user though the Update Center.
http://gephi.org/plugins/alchemyapi-plugin/
-
- Gephi Plugin Developer
- Posts:15
- Joined:12 Jul 2010 23:55 [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: Compilation Error
Great! Thanks