Hot answers tagged

3 votes
Accepted

update50: command not found in CS50 IDE

update50 is no longer required. If you still see instructions in the current year problem sets to run it, please let us know which one(s) and we will fix.
user avatar
  • 18.3k
2 votes
Accepted

Update function in pset8 is raising an error

A likely cause is the sql in the search function is not returning a column named latitude or longitude (or both). Spelling and case are critical.
user avatar
1 vote
Accepted

Final Project: Problem to UPDATE table (Flask and SQLite) - RuntimeError ("unsupported value: {}".format(value))

There are a lot of problems that are visible. Firstly, when update is clicked, the projectId is not returned. This can be solved simply be adding the following statement in the form <input type=&...
user avatar
  • 957
1 vote
Accepted

pset7 portfolio shares don't update

The difference in the way symbol is being set in the two execute calls would explain the problem. If it tests if SYMBOL is held, then it should insert and/or update SYMBOL.
user avatar
1 vote

Update for the IDE stopped programs from getting compiled

Make sure you close all terminals after update50. This update includes environment changes, which will be loaded when you open a new terminal. With the latest environment, you will notice that the ...
user avatar
1 vote

pset7 - UPDATE syntax error in buy.php

Maybe you should paste your entire code. But a longshot: does it work if you put a ? as a placeholder for [$newAmount] and move $newAmount out of the query string to sit beside $myid and $_POST['...
user avatar
1 vote

Really need help to update cs50 appliance

After The update failed for me (the error about GRUB), i couldn't attempt any other command at the terminal. So i removed the CS50 appliance and then imported it again for a fresh start with original ...
user avatar
  • 25
1 vote
Accepted

Unmet Dependencies, Apache2, bare-metal install

The obstacle appears to be that apache2_2.4.7-1ubuntu4.1_i386.deb can't be installed for fear of clobbering a file that appliance50 has previously overwritten. So try sudo apt-get -o Dpkg::Options::=...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible