Questions tagged [c9.io]

Cloud9 combines a powerful online code editor with a full Ubuntu workspace in the cloud

93 questions
152
votes
25 answers

"Invalid Host header" when running Angular/cli development server c9.io

Current command: ng serve --host --public $IP:$PORT Results on my website: Invalid Host header
Olejs
  • 1,637
  • 2
  • 10
  • 6
11
votes
1 answer

How to add a JSON column in MySQL with Rails 5 Migration

I'm trying to add a json column in MySQL db by running: class AddStatisticsToPlayerStatistic < ActiveRecord::Migration[5.0] def change add_column :player_statistics, :statistics, :json end end But I'm getting this error when I try to…
Antonio682
  • 363
  • 1
  • 4
  • 18
8
votes
4 answers

Session not created exception: Chrome version must be >= x.y.z when using Selenium Webdriver with Chrome

A few notes that make this tricky are that I'm using c9.io (developing in the cloud) so I use the gem webdrivers to be able to run Chrome with Watir, instead of creating an executable path to the Chrome installed on my device. My code was working…
6
votes
2 answers

Watir timing out when trying to find any elements after visiting webpage

So probably the most important thing to preface this with is that I'm using c9. It's an IDE in the cloud and so that is giving me a lot of trouble when trying to use Chrome or Firefox with Watir, because I can't write a path to the Chrome or…
ChrisWilson
  • 459
  • 1
  • 6
  • 19
6
votes
1 answer

Install python package zipline on cloud 9 environment Support workspace python

I am trying to install python on the cloud 9 environment. I simply did below, from the installation tutorial: pip install zipline However, I get: Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_ubuntu/zipline Storing…
Carol.Kar
  • 4,581
  • 36
  • 131
  • 264
4
votes
3 answers

Haskell Yesod problems

someone could help me?! I'm working in a Haskell Yesod site for college on a C9 workspace, I've already installed by command Yesod and update cabal, but when I try "stack build" command, this miserable error message appears: $ stack…
Flavia
  • 41
  • 3
4
votes
3 answers

Running selenium in c9

I am trying to run a python code that uses selenium module. This code ran perfectly with the use of a chromedriver in my PC. I am trying to run it in c9.io. I downloaded the chromedriver 64 bit version and gave permissions as 777 using chmod. Still…
Echchama Nayak
  • 971
  • 3
  • 23
  • 44
3
votes
1 answer

How to set path for Firefox Binary in Rails when using c9?

For those who don't know, c9 is an online IDE that uses the cloud. So I’m trying to use FireFox with Watir and the error I’m getting is "Could not find Firefox binary (os=linux). Make sure Firefox is installed or set the path manually with …
ChrisWilson
  • 459
  • 1
  • 6
  • 19
3
votes
1 answer

Cloud IDE unable to connect to heroku

I am having a problem trying to login to heroku via Cloud 9 IDE. I recieve this error when trying to login. jafar70:~/workspace (master) $ heroku login Enter your Heroku credentials. Email: jafsalami@hotmail.co.uk Password (typing will be hidden):…
James Ocean
  • 145
  • 1
  • 2
  • 14
3
votes
1 answer

How to make an XSS-safe browser-based code editor

I would like to use a browser based code editor such as Monaco or Ace in my application to allow users to write some code in the browser that will be executed by other users. You can imagine jsfiddle or similar. However, I don't want to open up…
Daniel
  • 3,021
  • 5
  • 35
  • 50
2
votes
2 answers

How to fix and prevent duplicate key error in mongodb

I've been working on a hobby project recently and I've encountered a problem I can't seem to figure out, even after scouring the internet for an answer. I'm using Node.js on c9.io with MongoDB. Anytime I try to create a new entry into the database,…
Viper294
  • 65
  • 1
  • 9
2
votes
1 answer

Laravel Blade template on c9 is only selectively extending to certain pages

My blade template is extending to the index.blade.php with no problem, but doesn't extend to create.blade.php at all which is located in the subfolder. It simply displays the "Create Users" and nothing else. I'm currently using Laravel 5.2 and PHP…
Kevvv
  • 3,655
  • 10
  • 44
  • 90
2
votes
2 answers

.php requested URL not found on server

I'm attempting to create a webpage that allows a user to upload a file from their computer, and then POST it to my server. However, whenever I'm clicking on the "submit" button on my current webpage, it instantly returns 404 Not Found. The requested…
user9740954
2
votes
0 answers

Retrieve uploaded filepath of latest added file in php

Lets start from the begining. I am a student and have recently had a course in webdevelopement with databases (Im sure the course has different name in english) and I am creating a dynamic website. You can add, edit and remove sites/articles. I…
Nidllah
  • 21
  • 3
2
votes
0 answers

Ethercalc not launching on Docker and c9.io

Whenever i am trying to launch ethercalc using docker or c9.io(ubuntu instance). It is not working and throwing an error as shown below. But it is running locally without any issues in Mac. ethercalc Please connect to:…
1
2 3 4 5 6 7