Troubleshoot

Case sensitivity
Perhaps the most common error made by Python beginners is to forget that Python is case-sensitive, so that is the first thing to check.

Mismatched parentheses
This may be the second most common cause of problems, and the Python error messages often don't identify clearly lines that have mismatched parentheses (for example 3 opening parentheses and only 2 closing parentheses). Mismatched parentheses and the errors they generate often make it appear that there is a problem later in the script when in fact the problem is the mismatched parentheses.

Internet Connectivity
You don't always need the brick to be connected to the internet but you sometimes do, such as when you want to update the ev3dev and Python libraries. The sharing of the PC's internet connection by Windows can sometimes fail - you will then get error messages when you try to use the internet from the brick. You can also know that you do NOT have a connection to the internet if Brickman tells you you are 'Connected'!! When the brick is connected to the internet, Brickman's networking page will say you are 'Online' rather than 'Connected'. Rather confusingly, 'Connected' means the brick is connected to the PC but NOT connected to the internet i.e. not 'online'. If you need to regain an internet connection from the brick you can try this:
  1. go to Control Panel > Network and Internet > Network connections. There you should see your internet connection and your connection to the EV3 and perhaps also other connections.
  2. Right-click the internet connection and choose Properties.
  3. In the Ethernet propertries dialog box, choose the sharing tab.
  4. Turn off 'Allow other users to connect through this computer's internet connection' and press OK.
  5. Again right-click the internet connection and choose Properties.
  6. In the Ethernet properties dialog box, choose the sharing tab.
  7. Turn on 'Allow other users to connect through this computer's internet connection' and press OK.
  8. On the brick, within the Brickman interface, open Wireless and Networks. If you see Status: Online that should mean your brick is connected to the internet and that you can ignore the following instructions.
  9. If you see Status: Connected that means you ARE connected to the PC but are NOT connected to the internet and you should then open 'All Network Connections'. There may be more than one connection listed.
  10. Open the connection that you want to use to connect to the internet and choose the disconnect option if available.
  11. Once the Status is given as Disconnected choose the Connect option and you should see Status: Online which means the brick now has an internet connection.

LCD screen
Using Brickman to run scripts that use LCD screen is straightforward, but if you want to run the same scripts from SSH you need to carry out a few extra steps that are described at the bottom of this page.

Upgrade
If you are having lots of problems and you think it may be because your libraries are very out of date then you might want to upgrade them all. This should not be taken lightly because it may cause some of your programs to stop working because ev3dev is still being finalised and changes to ev3dev may cause your Python commands to fail. If you want to upgrade all your ev3dev libraries then visit THIS PAGE. Note that this upgrades ev3dev but not ev3 Python so it may also be necessary to update ev3 Python.

Password for 'sudo'
Any time you use 'sudo' (the equivalent of running a command as an administrator in Windows) you will be asked to enter the password for 'robot' which is 'maker' (case-sensitive).
Comments