I need to change the BitBucket Setup information (OAuth keys). How do I do that?

Navigate the webIDE to http://raspberrypi.local/setup and run through the steps again.

Does the webIDE support python3?

Not yet, but our goal is to eventually support it. It's mostly a matter of balancing the bug fixes with the feature requests. That being said, we do accept pull requests! :)


Can you install WebIDE if you have Apache web server already installed? If so how do you do this?

The WebIDE will automatically fallback to using port 8080 in the installation process, if port 80 is in use by something like Apache. Alternatively, you can manually set the port by reviewing the next question in this FAQ.

How do I change the http port the WebIDE is using?

The default is port 80.  This can be changed in two ways.

The easiest is navigating to http://raspberrypi.local/config, changing the port, and restarting your server (see installation on how to restart your server).

A port is defined in config/config.js, but changing that file is only temporary.  The reason the config/config.js file isn't permanent is that an update will overwrite it, erasing you changes.

If you can't access the /config page, because you already have something utilizing port 80, you can permanently change it by running the following at the command line on your Pi:
redis-cli
HMSET server port 3000
exit

How do I fix OAuth errors signing into the Editor?

These suggestions may work for you if you get an error in your browser similar to the following:
failed to obtain request token (status: 400 data: Could not verify OAuth request.)

The first thing to check is that the date for your Pi is set correctly.  You can do this by typing 'date' at the command line, and view the output.  If the time and date isn't set correctly, you will get errors due to the way the OAuth protocol is designed.

Try re-setting your time by executing the following command on your Raspberry Pi, at the command line:
sudo /etc/init.d/ntp force-reload

A final thing you can try is navigating to /setup, and entering your data from Bitbucket again.

How can I fix my repository when it fails to commit or push to bitbucket?

This can happen any number of ways, such as with an SD card that is bad, or if you shut your system down while a commit or push is in progress, or any number of other ways.

You can find out what the real issue is by viewing the log file.

Open the terminal in the webide and execute the following: cd /usr/share/adafruit/webide/logs

Then execute the following command to view the last few commands from the log file: cat output.log

You can also view the errors.log file: cat errors.log

If you see an error such as:

error: object file .git/objects/2c/e98048b95181870dbba33675f3d2bc1d995c47 is empty
fatal: loose object 2ce9804 (stored in .git/objects/2c/e98048b95181870dbba33675f3d2bc1d995c47) is corrupt

You can try fixing that by following this fix from Stack Overflow.
Last updated on 2015-05-04 at 04.27.26 PM Published on 2012-10-05 at 01.21.56 PM