Ubuntu Installation Issues

24 views
Skip to first unread message

kfblake

unread,
Sep 12, 2012, 11:14:18 AM9/12/12
to neutr...@googlegroups.com
Desperately trying to get Neutron IDE up and running on a brand new Ubuntu EC2 instance.

First, I had to install both python-dev and python-imaging packages (as well as gcc, but that's pretty common) just to get the pip install process to complete successfully.

Now, I'm stuck on an unresponsive start execution just after the ssl cert completes successfully:

./neutronide.py -l -f start

Hangs with (when canceled via keyboardinterrupt command):

File "./neutronide.py", line 179, in <module>
    start_loop(args)
File "./neutronide.py", line 124, in start_loop
    io.start()
File "/usr/local/lib/python2.7/dist-packages/tornado/ioloop.py", line 301, in start
    event_pairs = self._impl.poll(poll_timeout)


Anybody have any ideas on where to go from here?

Paul Bailey

unread,
Sep 12, 2012, 11:43:31 AM9/12/12
to neutr...@googlegroups.com
Ha you actually got it!  The server doesn't do any output until you visit: https://localhost:8000/admin/

However, I noticed a dependency problem and fixed requirements.txt.  So run the following again once you pull down the lastest code:
sudo pip install -r requirements.txt


Keith Blake

unread,
Sep 12, 2012, 12:12:57 PM9/12/12
to neutr...@googlegroups.com
Oh yeah?! OK, then!

Now how would I go about accessing localhost:8000/admin/ on a command line shell?  It doesn't seem to bind to the IP by default.  Any settings I can change to make that happen?

Also, should I run a pip uninstall before installing the new code or will the pip install overwrite properly?

Thanks Paul!! So close!

Paul Bailey

unread,
Sep 12, 2012, 12:23:31 PM9/12/12
to neutr...@googlegroups.com
It should bind to all IPs by default so if your running it on a server just go to ServerAddress.com:8000.

As for pip if you rerun it, it should do the uninstall automatically to meet the new requirements.

Once you get confident that everything is working correctly you can run just ./neutronide.py and it continue to run in the background.  You'll be able to code in your browser whenever you want.

kfblake

unread,
Sep 12, 2012, 2:47:41 PM9/12/12
to neutr...@googlegroups.com
Got it!

I hadn't applied the firewall changes in EC2 properly. 

Everything is up and running, but I still have 1 hangup; what is the Base Directory relative to and what format does it need to be in? Everything I'm trying is coming up as invalid or not found.

Paul Bailey

unread,
Sep 12, 2012, 3:32:47 PM9/12/12
to neutr...@googlegroups.com
Base directory is the full path to where you want to store your code.  For example I use:
/home/paul/git

kfblake

unread,
Sep 12, 2012, 4:19:54 PM9/12/12
to neutr...@googlegroups.com
All setup and working.  Can't wait to get down to coding in this thing.

Thanks for all the help, Paul!

Paul Bailey

unread,
Sep 12, 2012, 4:29:01 PM9/12/12
to neutr...@googlegroups.com
Awesome!  Just FYI, I like to use Rackspace Cloud Servers or Linode instead of EC2 for coding because they give you a permanent drive by default.  Be careful with EC2 and make sure you store your code on an EBS because if your EC2 instance goes down, then you could lose your code.

Reply all
Reply to author
Forward
0 new messages