EzDevInfo.com

juno

a lightweight and simple python web framework

Step over(F6) not showing line by line

Please see attached screenshot. I think any configuration is wrong in debugging. Can anybody guide me how to resolve this issue ? I am using eclipse juno on Ubuntu 14.04.

enter image description here


Source: (StackOverflow)

whole content of CheckboxTreeViewer disappear

My sister is implementing some app in Java using Eclipse, SHe has controll CheckboxTreeViewer in window . Everythink works OK when window appears for first time ( whole parents and childs are visible) but when it is folded and unfolded second time whole content dissappears

Here is a createContents method :

protected void createContents()  {

        shlDetails = new Shell();
        shlDetails.setSize(800, 600);
        shlDetails.setText("Details");
        shlDetails.setBackground(SWTResourceManager.getColor(245, 255, 250));

 treeViewerExample = new CheckboxTreeViewer(shlDetails, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL);
 Tree treeExample =  treeViewerExample.getTree();

        treeExample.setBounds(10, 10, 659, 204);
        treeExample.setHeaderVisible(true);
        treeExample.setLinesVisible(true);



   TreeViewerColumn treeViewerColumnName = new TreeViewerColumn(treeViewerExample, SWT.NONE);

    TreeColumn trclmnName = treeViewerColumnName.getColumn();
        trclmnName.setText("Operation type");
        trclmnName.setWidth(300);

         TreeItem trtmParent = new TreeItem(treeExample, SWT.NONE);
        trtmParent.setText("FOR ALL");


     TreeItem trtmChild = new TreeItem(trtmParent, SWT.NONE);
        trtmChild.setText("FOR LANDING");

         TreeItem trtmChild_1 = new TreeItem(trtmParent, SWT.NONE);
        trtmChild_1.setText("FOR TAKE-OFF");
        trtmParent.setExpanded(true);

        TreeItem trtmChild_2 = new TreeItem(trtmParent, SWT.NONE);
        trtmChild_2.setText("FOR TOUCH AND GO");
        TreeItem trtmChild_3 = new TreeItem(trtmParent, SWT.NONE);
        trtmChild_3.setText("FOR PRACTICE LOW APPROACHES");
        TreeItem trtmChild_4 = new TreeItem(trtmParent, SWT.NONE);
        trtmChild_4 .setText("FOR TAXIING");
        TreeItem trtmChild_5 = new TreeItem(trtmParent, SWT.NONE);
        trtmChild_5.setText("FOR CROSSING");
        TreeItem trtmChild_6 = new TreeItem(trtmParent, SWT.NONE);
        trtmChild_6.setText("FOR AIRSHOW PARTICIPATING ACFT");
}

Source: (StackOverflow)

Advertisements

Devstack Juno: ImportError: No module named persistence.backends.sql

Deploying openstack using devstack ran across this error when I use keystone commands.

[Thu Nov 27 09:20:59 2014] [error] [client 172.20.14.15] Traceback (most recent call last):
[Thu Nov 27 09:20:59 2014] [error] [client 172.20.14.15] File "/var/www/keystone/main", line 51, in
[Thu Nov 27 09:20:59 2014] [error] [client 172.20.14.15] drivers = service.load_backends()
[Thu Nov 27 09:20:59 2014] [error] [client 172.20.14.15] File "/opt/stack/keystone/keystone/service.py", line 58, in load_backends
[Thu Nov 27 09:20:59 2014] [error] [client 172.20.14.15] token_api=token.Manager(),
[Thu Nov 27 09:20:59 2014] [error] [client 172.20.14.15] File "/opt/stack/keystone/keystone/common/dependency.py", line 166, in wrapper
[Thu Nov 27 09:20:59 2014] [error] [client 172.20.14.15] self.wrapped_init(*args, **kwargs)
[Thu Nov 27 09:20:59 2014] [error] [client 172.20.14.15] File "/opt/stack/keystone/keystone/common/dependency.py", line 106, in wrapped_init
[Thu Nov 27 09:20:59 2014] [error] [client 172.20.14.15] init(self, *args, **kwargs)
[Thu Nov 27 09:20:59 2014] [error] [client 172.20.14.15] File "/opt/stack/keystone/keystone/token/core.py", line 113, in init
[Thu Nov 27 09:20:59 2014] [error] [client 172.20.14.15] super(Manager, self).init(CONF.token.driver)
[Thu Nov 27 09:20:59 2014] [error] [client 172.20.14.15] File "/opt/stack/keystone/keystone/common/manager.py", line 70, in init
[Thu Nov 27 09:20:59 2014] [error] [client 172.20.14.15] self.driver = importutils.import_object(driver_name)
[Thu Nov 27 09:20:59 2014] [error] [client 172.20.14.15] File "/opt/stack/keystone/keystone/openstack/common/importutils.py", line 38, in import_object
[Thu Nov 27 09:20:59 2014] [error] [client 172.20.14.15] return import_class(import_str)(*args, **kwargs)
[Thu Nov 27 09:20:59 2014] [error] [client 172.20.14.15] File "/opt/stack/keystone/keystone/openstack/common/importutils.py", line 28, in import_class
[Thu Nov 27 09:20:59 2014] [error] [client 172.20.14.15] import(mod_str)
[Thu Nov 27 09:20:59 2014] [error] [client 172.20.14.15] ImportError: No module named persistence.backends.sql


Source: (StackOverflow)

RabbitMQ on Openstack Juno

I am installing Openstack Juno on Fedora 19. I have deleted RabbitMQ default user "guest" and create a new user named "demo". And in all nova.conf I config rabbit_userid=demo. But connected to localhost:5672 failed. From the rabbitmq log, RabbitMQ still use default user "guest" to connect.I tried to set default_user "demo" in rabbitmq.conf but it doesn't work.Why and how to resolve? Following is the error log:

{handshake_error,starting,0,{amqp_error,access_refused, "AMQPLAIN login refused: user 'guest'- invalid credentials",'connection.start_ok'}}`

The content in rabbitmq.conf:

[ {rabbit, [{default_pass, [<<"demo">>]}], [{default_user, [<<"demo">>]}]} ].


Source: (StackOverflow)

ListActivity cannot be resolved to a type

I am new in android development and while creating a Task reminder application I got stuck at this point where it says ListActivity cannot be resolved as a type. I tried to find a solution for this but I couldn't. If anyone could help me that would be really great and a big help for me. This is the full code-

package com.android.taskreminder;

import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;


public class ReminderListActivity extends ListActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.reminder_list);
    }


    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        // Inflate the menu; this adds items to the action bar if it is present.
        getMenuInflater().inflate(R.menu.reminder_list, menu);
        return true;
    }

    @Override
    public boolean onOptionsItemSelected(MenuItem item) {
        // Handle action bar item clicks here. The action bar will
        // automatically handle clicks on the Home/Up button, so long
        // as you specify a parent activity in AndroidManifest.xml.
        int id = item.getItemId();
        if (id == R.id.action_settings) {
            return true;
        }
        return super.onOptionsItemSelected(item);
    }
}

Source: (StackOverflow)

Error in Eclipse Luna 'Variable is not initialized' when declared outside of For loop and initialized within it

When using Eclipse Luna I run into this issue: When I declare a variable outside of the For loop (or another structure), then initialize it within the For loop, upon closing the For loop the value assigned to the variable within the For loop is not carried over. Perhaps this is how it's supposed to be, but when using Eclipse Juno I don't have this problem.

int sebastian;

for(int i=0;i<8;i++)
{
    sebastian = 5*i;
    System.out.println(sebastian);
}

Source: (StackOverflow)

How to get Devstack Juno

I setup Devstack using this link: http://docs.openstack.org/developer/d... . but I got openstack old version. I want Openstack Juno version in devstack. what to do?


Source: (StackOverflow)

devstack juno with nova cells enabled failing to run stack.sh with database error Unknown database 'nova_cell'

2015-07-28 10:01:29.428 | 2015-07-28 15:31:29.427 912 CRITICAL nova [-] OperationalError: (OperationalError) (1049, "Unknown database 'nova_cell'") None None
2015-07-28 10:01:29.428 | 2015-07-28 15:31:29.427 912 TRACE nova Traceback (most recent call last):
2015-07-28 10:01:29.428 | 2015-07-28 15:31:29.427 912 TRACE nova   File "/usr/local/bin/nova-manage", line 10, in <module>
2015-07-28 10:01:29.428 | 2015-07-28 15:31:29.427 912 TRACE nova     sys.exit(main())
2015-07-28 10:01:29.428 | 2015-07-28 15:31:29.427 912 TRACE nova   File "/opt/stack/nova/nova/cmd/manage.py", line 1401, in main
2015-07-28 10:01:29.429 | 2015-07-28 15:31:29.427 912 TRACE nova     ret = fn(*fn_args, **fn_kwargs)
2015-07-28 10:01:29.429 | 2015-07-28 15:31:29.427 912 TRACE nova   File "/opt/stack/nova/nova/cmd/manage.py", line 902, in sync
2015-07-28 10:01:29.429 | 2015-07-28 15:31:29.427 912 TRACE nova     return migration.db_sync(version)
2015-07-28 10:01:29.429 | 2015-07-28 15:31:29.427 912 TRACE nova   File "/opt/stack/nova/nova/db/migration.py", line 29, in db_sync
2015-07-28 10:01:29.429 | 2015-07-28 15:31:29.427 912 TRACE nova     return IMPL.db_sync(version=version)
2015-07-28 10:01:29.429 | 2015-07-28 15:31:29.427 912 TRACE nova   File "/opt/stack/nova/nova/db/sqlalchemy/migration.py", line 41, in db_sync
2015-07-28 10:01:29.429 | 2015-07-28 15:31:29.427 912 TRACE nova     current_version = db_version()
2015-07-28 10:01:29.429 | 2015-07-28 15:31:29.427 912 TRACE nova   File "/opt/stack/nova/nova/db/sqlalchemy/migration.py", line 53, in db_version
2015-07-28 10:01:29.429 | 2015-07-28 15:31:29.427 912 TRACE nova     return versioning_api.db_version(get_engine(), repository)
2015-07-28 10:01:29.429 | 2015-07-28 15:31:29.427 912 TRACE nova   File "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 96, in get_engine
2015-07-28 10:01:29.429 | 2015-07-28 15:31:29.427 912 TRACE nova     facade = _create_facade_lazily()
2015-07-28 10:01:29.429 | 2015-07-28 15:31:29.427 912 TRACE nova   File "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 91, in _create_facade_lazily
2015-07-28 10:01:29.429 | 2015-07-28 15:31:29.427 912 TRACE nova     _ENGINE_FACADE = db_session.EngineFacade.from_config(CONF)
2015-07-28 10:01:29.429 | 2015-07-28 15:31:29.427 912 TRACE nova   File "/usr/local/lib/python2.7/dist-packages/oslo/db/sqlalchemy/session.py", line 816, in from_config
2015-07-28 10:01:29.429 | 2015-07-28 15:31:29.427 912 TRACE nova     retry_interval=conf.database.retry_interval)
2015-07-28 10:01:29.429 | 2015-07-28 15:31:29.427 912 TRACE nova   File "/usr/local/lib/python2.7/dist-packages/oslo/db/sqlalchemy/session.py", line 732, in __init__
2015-07-28 10:01:29.429 | 2015-07-28 15:31:29.427 912 TRACE nova     **engine_kwargs)
2015-07-28 10:01:29.429 | 2015-07-28 15:31:29.427 912 TRACE nova   File "/usr/local/lib/python2.7/dist-packages/oslo/db/sqlalchemy/session.py", line 409, in create_engine
2015-07-28 10:01:29.429 | 2015-07-28 15:31:29.427 912 TRACE nova     _test_connection(engine, max_retries, retry_interval)
2015-07-28 10:01:29.430 | 2015-07-28 15:31:29.427 912 TRACE nova   File "/usr/local/lib/python2.7/dist-packages/oslo/db/sqlalchemy/session.py", line 549, in _test_connection
2015-07-28 10:01:29.430 | 2015-07-28 15:31:29.427 912 TRACE nova     return exc_filters.handle_connect_error(engine)
2015-07-28 10:01:29.430 | 2015-07-28 15:31:29.427 912 TRACE nova   File "/usr/local/lib/python2.7/dist-packages/oslo/db/sqlalchemy/exc_filters.py", line 351, in handle_connect_error
2015-07-28 10:01:29.430 | 2015-07-28 15:31:29.427 912 TRACE nova     handler(ctx)
2015-07-28 10:01:29.430 | 2015-07-28 15:31:29.427 912 TRACE nova   File "/usr/local/lib/python2.7/dist-packages/oslo/db/sqlalchemy/exc_filters.py", line 323, in handler
2015-07-28 10:01:29.430 | 2015-07-28 15:31:29.427 912 TRACE nova     context.is_disconnect)
2015-07-28 10:01:29.430 | 2015-07-28 15:31:29.427 912 TRACE nova   File "/usr/local/lib/python2.7/dist-packages/oslo/db/sqlalchemy/exc_filters.py", line 254, in _raise_operational_errors_directly_filter
2015-07-28 10:01:29.430 | 2015-07-28 15:31:29.427 912 TRACE nova     raise operational_error
2015-07-28 10:01:29.430 | 2015-07-28 15:31:29.427 912 TRACE nova OperationalError: (OperationalError) (1049, "Unknown database 'nova_cell'") None None
2015-07-28 10:01:29.430 | 2015-07-28 15:31:29.427 912 TRACE nova 
2015-07-28 10:01:29.476 | Command failed, please check log for more info
2015-07-28 10:01:29.479 | + exit_trap
2015-07-28 10:01:29.479 | + local r=1
2015-07-28 10:01:29.480 | ++ jobs -p
2015-07-28 10:01:29.481 | + jobs=
2015-07-28 10:01:29.481 | + [[ -n '' ]]
2015-07-28 10:01:29.481 | + kill_spinner
2015-07-28 10:01:29.481 | + '[' '!' -z '' ']'
2015-07-28 10:01:29.481 | + [[ 1 -ne 0 ]]
2015-07-28 10:01:29.481 | + echo 'Error on exit'
2015-07-28 10:01:29.481 | Error on exit
2015-07-28 10:01:29.481 | + [[ -z /opt/stack/logs ]]
2015-07-28 10:01:29.481 | + /home/opexlabs/devstack/tools/worlddump.py -d /opt/stack/logs
2015-07-28 10:01:29.505 | + exit 1

devstack juno with nova cells enabled failing to run stack.sh with database error Unknown database 'nova_cell'

I tried creating the database entries manually, but no use.

Is there any good resource for setting up devstack with nova cells ? I tried in many places but no where its mentioned clearly.


Source: (StackOverflow)

Sahara service failed to start during devstack installation

I am installing devstack Juno and at the end it ended up with an error stating that

sahara failed to start

Here are the details about this error, I am not able to figure it out, kindly help me with this.

/usr/local/bin/sahara-all --config-file /etc/sahara/sahara.conf
2015-02-15 20:53:21.426 INFO sahara.main [-] Starting Sahara all-in-one
2015-02-15 20:53:21.426 INFO sahara.utils.rpc [-] Notifications enabled
2015-02-15 20:53:22.676 INFO sahara.plugins.base [-] Plugin 'hdp' loaded sahara.plugins.hdp.ambariplugin:AmbariPlugin
2015-02-15 20:53:22.677 INFO sahara.plugins.base [-] Plugin 'vanilla' loaded sahara.plugins.vanilla.plugin:VanillaProvider
2015-02-15 20:53:22.677 INFO sahara.plugins.base [-] Plugin 'fake' loaded sahara.plugins.fake.plugin:FakePluginProvider
2015-02-15 20:53:22.725 DEBUG sahara.main [-] Logging of request/response exchange could be enabled using flag --log-exchange from (pid=847) make_app /opt/stack/sahara/sahara/main.py:144
2015-02-15 20:53:22.726 INFO keystonemiddleware.auth_token [-] Starting keystone auth_token middleware
2015-02-15 20:53:22.727 INFO keystonemiddleware.auth_token [-] Using /var/cache/sahara as cache directory for signing certificate
2015-02-15 20:53:22.819 WARNING keystonemiddleware.auth_token [-] signing_dir mode is 0755 instead of 0700
2015-02-15 20:53:22.820 CRITICAL sahara [-] TypeError: unsupported type for timedelta seconds component: str

2015-02-15 20:53:22.820 TRACE sahara Traceback (most recent call last):
2015-02-15 20:53:22.820 TRACE sahara   File "/usr/local/bin/sahara-all", line 9, in <module>
2015-02-15 20:53:22.820 TRACE sahara     load_entry_point('sahara==2014.2.3.dev1', 'console_scripts', 'sahara-all')()
2015-02-15 20:53:22.820 TRACE sahara   File "/opt/stack/sahara/sahara/cli/sahara_all.py", line 56, in main
2015-02-15 20:53:22.820 TRACE sahara     app = server.make_app()
2015-02-15 20:53:22.820 TRACE sahara   File "/opt/stack/sahara/sahara/main.py", line 151, in make_app
2015-02-15 20:53:22.820 TRACE sahara     app.wsgi_app = acl.wrap(app.wsgi_app, CONF)
2015-02-15 20:53:22.820 TRACE sahara   File "/opt/stack/sahara/sahara/api/acl.py", line 31, in wrap
2015-02-15 20:53:22.820 TRACE sahara     return auth_token.AuthProtocol(app, conf=auth_cfg)
2015-02-15 20:53:22.820 TRACE sahara   File "/usr/local/lib/python2.7/dist-packages/keystonemiddleware/auth_token.py", line 661, in __init__
2015-02-15 20:53:22.820 TRACE sahara     seconds=self._conf_get('revocation_cache_time'))
2015-02-15 20:53:22.820 TRACE sahara TypeError: unsupported type for timedelta seconds component: str
2015-02-15 20:53:22.820 TRACE sahara 
sahara failed to start

Source: (StackOverflow)

An internal error occurred during: "Android Library Update". java.lang.NullPointerException

I have just installed the following setup for mobile development with Cocos2d and encountered the following error, almost every time I restarted Eclipse: "An internal error occurred during: "Android Library Update". java.lang.NullPointerException" Afterwards, nothing would work.

I still haven't found what's the cause of this error (BUT, I have a workaround, see below), and also searched for it in the net and didn't find anything related to my environment, which is as follows:

  1. Win7 64bit
  2. adt-bundle-windows-x86_64-20140702 (Eclipse Juno)
  3. android-ndk-r9d-windows-x86_64
  4. jdk-8u25-windows-x64

I am posting this since I have found a workaround to this annoying sh*tty error which I have wasted days on importing and creating new projects every time it appeared, most of the time after I closed and opened Eclipse.

-------- Error Workaround ----------- The error is on .cproject file located in proj.android directory. Seems like Eclipse or some plugin causes some malformation in this file. I did a diff between a good .cproject file and a bad one which causes this annoying error. Below are the lines that need to be removed from your .cproject file every time you encounter this error (and then restart Eclipse, all should be fine)

I hope this would be fixed soon - my guess is it probably happens only on 64bit.. don't know why I didn't install the 32bit and saved all that lost time in the first place... :/

Hope this helps. Please feel free to add yor notes and thoughts, or even tell me if I did something wrong (or stupid..) since i'm kinda new with this ADT environment.

<cconfiguration id="0.1230402123.1377291156">
        <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="0.1230402123.1377291156" moduleId="org.eclipse.cdt.core.settings" name="Debug">
            <externalSettings/>
            <extensions>
                <extension id="org.eclipse.cdt.core.VCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
                <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
                <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
                <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
                <extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
                <extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
            </extensions>

--- SOME MORE XML ---

<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
    <scannerConfigBuildInfo instanceId="0.1230402123">
        <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
    </scannerConfigBuildInfo>

Source: (StackOverflow)

Expecting an auth URL via either error thrown openstack

ubuntu@ubuntu-14-lts:~$ export OS_USERNAME=admin
ubuntu@ubuntu-14-lts:~$ export OS_TENANT_NAME=admin
ubuntu@ubuntu-14-lts:~$ export OS_PASSWORD=admin
ubuntu@ubuntu-14-lts:~$ export OS_AUTH_URL=http://localhost:35357/v2.0/

Executed the command to create the Admin tenant

ubuntu@ubuntu-14-lts:~$ sudo keystone tenant-create --name admin --description "Admin Tenant"

got the below error

Expecting an auth URL via either --os-auth-url or env[OS_AUTH_URL]

modified the url

ubuntu@ubuntu-14-lts:~$ export OS_AUTH_URL="http://localhost:35357/v2.0/"

re-run the same command and same error thrown

ubuntu@ubuntu-14-lts:~$ sudo keystone tenant-create --name admin --description "Admin Tenant"

Expecting an auth URL via either --os-auth-url or env[OS_AUTH_URL]

Is there any Issues in running the command ?


Source: (StackOverflow)

where can i find good reference for configuring openstack nova cell environment using devstack

where can i find good reference for configuring openstack nova cell environment using devstack?

I tried with many links like

http://www.dorm.org/blog/exploring-openstack-nova-cells/ http://cynic88.blogspot.in/2014/11/devstack-installation-with-cells-in.html

openstack official documentation

but nowhere its given in detail, got few errors fixed some of them, but still issues exist.


Source: (StackOverflow)

Unable to create instance on openstack neutron network

I am following the openstack juno user guide for Opensuse and while creating instance by using the neutron network, it fails with the errors as below,

Getting following error at looking the compute logs

'2015-02-25 18:55:08.109 503 TRACE nova.compute.manager [instance: 9402ecd5-cfc7-439f-8137-909baa56e216] _("Unexpected vif_type=%s") % vif_type)

2015-02-25 18:55:08.109 503 TRACE nova.compute.manager [instance: 9402ecd5-cfc7-439f-8137-909baa56e216] NovaException: Unexpected vif_type=binding_failed'
##Getting following errors at looking neutron-openvswitch-agent logs
 '2015-02-25 20:21:38.434 21768 WARNING neutron.agent.securitygroups_rpc [req-e3feb5c2-9fc5-4d45-af92-04fa2e70ef4c None] Driver configuration doesn't match with enable_security_group

    2015-02-25 20:21:38.435 21768 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [req-e3feb5c2-9fc5-4d45-af92-04fa2e70ef4c None] Agent initialized successfully, now running...

    2015-02-25 20:21:38.449 21768 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [req-e3feb5c2-9fc5-4d45-af92-04fa2e70ef4c None] Agent out of sync with plugin!'
####getting following errors at looking neutron-server log.
2015-02-25 20:24:05.508 17170 INFO keystonemiddleware.auth_token [-] Starting keystone auth_token middleware

2015-02-25 20:24:05.510 17170 INFO keystonemiddleware.auth_token [-] Using /var/cache/neutron/keystone-signing as cache directory for signing certificate

2015-02-25 20:24:05.510 17170 WARNING keystonemiddleware.auth_token [-] signing_dir is not owned by 0

2015-02-25 20:24:35.576 17170 ERROR neutron.service [-] Unrecoverable error: please check log for details.

2015-02-25 20:24:35.576 17170 TRACE neutron.service RuntimeError: Could not bind to 0.0.0.0:9696 after trying for 30 seconds

Does anyone know how to solve this issue? Please advice me.


Source: (StackOverflow)

JavaFX on Juno with JDK1.6

is it possible to install JavaFX on Eclipse Juno? The problem is that I have JDK1.6

When I try to install e(fx)clipse by following the guide found here: http://www.eclipse.org/efxclipse/install.html however I receive the following error at step 6:

Cannot complete the install because one or more required items could not be found. Software being installed: e(fx)clipse - IDE 2.0.0.201503100708 (org.eclipse.fx.ide.feature.feature.group 2.0.0.201503100708) Missing requirement: org.eclipse.fx.ide.css.cssext.ui 2.0.0.201503100708 (org.eclipse.fx.ide.css.cssext.ui 2.0.0.201503100708) requires 'bundle org.eclipse.core.databinding.property 1.4.200' but it could not be found Cannot satisfy dependency: From: e(fx)clipse - IDE - CSS 2.0.0.201503100708 (org.eclipse.fx.ide.css.feature.feature.group 2.0.0.201503100708) To: org.eclipse.fx.ide.css.cssext.ui [2.0.0.201503100708] Cannot satisfy dependency: From: e(fx)clipse - IDE 2.0.0.201503100708 (org.eclipse.fx.ide.feature.feature.group 2.0.0.201503100708) To: org.eclipse.fx.ide.css.feature.feature.group [2.0.0.201503100708]

Due to this installation occuring on a system at work, I do not have many options in terms of permissions, I am not able to download a more up to date JDK, I am not able to update to Java8 (I am on Java6).

Does anyone have any ideas of where I can go next?


Source: (StackOverflow)

undefined reference to function C/C++ eclipse

I have one Main .C file, which has some fuctions. Those functions are declared in a header file. While compiling the main C file, im getting an error that undefined reference to '...'. I searched this error and came to know that "your MingW gcc is not seeing your object file". But i executed some tutorial programs sucessfully using this "MingW gcc" without an error. Then i searched "how to link the object file with MingW". I got this.

I assume you are using gcc, to simply link object files do:

$ gcc -o output file1.o file2.o

To get the object-files simply compile using

$ gcc -c file1.c

this yields file1.o and so on.

If you want to link your files to an executable do

$ gcc -o output file1.c file2.c

But i have no idea after read this. Do i have to run the above commands in command prompt? Im using windows eclipse juno and MingW compiler. My object file located in my project's debug folder. How to make MingW to see the object file? Thanks..


Source: (StackOverflow)