Questions tagged [final-project]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
10 views

Final Project ajax issue

Hi I'm working on my final project, an online two player game based on the cs5o Finace distribution code, I got tic-tac-toe to work and am now trying to update the playing field displayed to the user ...
0
votes
1answer
12 views

RuntimeError: unused values (wp) in Final Project

I'm working on my final project for the Web Track and whenever someone wins the game (tictactoe) I get an internal server error and the error message: RuntimeError: unused values (wp) Now what this ...
0
votes
0answers
31 views

CS50W Final Project: I need help with deploying my website

for my final project, i made a website that i want to also deploy to production, because i want to be able to implement it in real life. I have made the docker image according to what Brian ...
0
votes
1answer
12 views

Retrieving image from SQLite, “Invalid or Unsupported Image Format”

I am getting an Invalid or Unsupported Image Format when I open an image stored and retrieved in SQLite. When I input the convertToBinaryData file into the writeTofile function then the photo is ...
0
votes
0answers
11 views

Final Project Question - Posthere.io

I was looking over the requirements for the final project and it states that we do not need to use the CS50 IDE as the infrastructure. I was planning on creating an application that could be run from ...
0
votes
1answer
18 views

RuntimeError: missing value for placeholder (:name)

all! I'm doing the final project, and I have a form whose contents I'm trying to submit to a database. My python code is: @app.route("/Contact.html", methods=["GET", "POST"]) def Contact(): if ...
0
votes
0answers
31 views

HTML: Trying to download files from directory

On the quote.html page I have a download button that I want to download the text.txt file in the files folder but when I press the button it tries to downloads text.htm and outputs an error since ...
0
votes
1answer
19 views

problem with nesting sql queries in flask (final project)

I've been trying to only insert new ids if they weren't inserted before in my database but the problem I've been having is that I couldn't get the nested queries to work in python flask. Whatever I do ...
0
votes
0answers
41 views

Cs50x final project ideas

I just finished the web track and now I'm planning to do the final project but cant seem to figure out what I should make for the final project. Can I get some ideas for the final project?
0
votes
1answer
18 views

Absolute path in Cloud9

I am trying to upload an image to the SQLite database in a blob format. I run in to the problem when I am trying to get an absolute path to the image. The error I am getting is FileNotFoundError: [...
0
votes
0answers
3 views

Final Project - Passing a value from an HTML button to Flask

I'm currently doing a web application for my final project but I can't seem to get my HTML to pass a specific value to my flask method. Here's the html block <form action="/test" method="post"> ...
0
votes
1answer
70 views

Can't access 127.0.0.1 and 0.0.0.0 in CS50 IDE

I am on my final project and i have a simple flask app and and index html template. There are no errors in my app, however when i run flask, flask run, it says Running on http://127.0.0.1:5000/ (Press ...
0
votes
0answers
12 views

Visual Studio C#: Picture box doesn't show

I am currently doing my final project. My game is supposed to shoot out a fireball whenever the spacebar is pressed and the wall in front of it gets destroyed. It works, when the spacebar is pressed, ...
0
votes
0answers
89 views

Trying to launch a website for project, and runserver command will not work :'(

I'm having trouble with python manage.py runserver in mac terminal. That command gives the following error: ImportError: cannot import name 'python_2_unicode_compatible' from 'django.utils.encoding' (/...
0
votes
0answers
30 views

2019-2020 final project submited

I've started CS50 in 2019 and I've bought the certificat (In case I'll pass it :) ). I'm in this case: If you submitted Problem Sets 0 – 4 last year, resume your studies with Problem Set 3 in Week 3 ...
0
votes
1answer
26 views

Final project question and Hardware for a SQL server

Hello Dear Coders, I'm in charge of a radiology center (Xray imaging) and we need a cross server system to get patient datas with images. For the CS50 final exam I wish to build a "test" server for ...
0
votes
0answers
12 views

CS50 Final Project Syntax Error [duplicate]

I cannot understand why I have a syntax error on the line surrounded by stars. Please, may somebody help? Code: @app.route("/clients/edit", methods=["GET", "POST"]) @login_required def edit_clients()...
0
votes
0answers
48 views

SQL Query returning nothing

For my final project, I query my database for a the ID of a city whose Name I already have. However, SQL returns no such city even when there is one. Code (Line with error is surrounded by stars): ...
0
votes
1answer
17 views

CS50 Final Project Strange Syntax Error

I am making a web app for my final project. In my code, a strange syntax error is occurring in the middle of a SQL query. Please, may somebody help? Code for that route (problematic line is ...
0
votes
0answers
15 views

Migration Issues

Is anyone else getting this error while trying to migrate sqlite3 to Postgres for deployment on Heroku(Step 15 on https://cs50.readthedocs.io/heroku/)? Does anyone know of any fix? Could the ...
0
votes
1answer
20 views

Would remaking a past project be a valid Final Project submission?

I had made a certain command-line application in Python some time ago, independently, and am now considering porting it to Java and giving it a GUI; this would require me to essentially rewrite all ...
0
votes
1answer
169 views

CS50 final project, problem with submit50 in offline IDE

I'm so close :)), finished what should hopefully qualify for a final project. Due to internet problem where I'm from (I cannot load CS50 IDE on a browser, it could never load), I managed to download ...
0
votes
1answer
584 views

https://stackoverflow.com/questions/32019733/getting-value-from-select-dynamic-tag-using-flask

I am working on the my final project by doing a to do list. I created a dynamic table displaying all my tasks and I added a menu on which you can select a new status. Unfortunately I can't manage to ...
0
votes
1answer
22 views

How to set background color of a button based on query from sqlite database?

I am trying to create a "like" button for my web app (which acts like the "like" button on Facebook), where the number of times clicked by a user is stored in an sqlite database, and will display as "...
1
vote
1answer
150 views

Typeahead does not work

I am trying to build a website with a search field in which users can search for universities stored in an SQLite3 database. I hope to use Typeahead to give suggestions as the user types. However, I ...
0
votes
1answer
243 views

Final Project - Problem uploading files to IDE folder

Update: Does anyone know hot to get the folder's absolute path? It isn't ~/workspace/fp/documentos/ or any of it's variations, such as /workspace/fp/documentos/ or workspace/fp/documentos/. It seems ...
0
votes
1answer
288 views

Access just the text from a db.execute return

Evening all. I am working on my final project and have a question about db.execute. When I run my SQL search the return always has the format {"key": value}. Is there any way to then extract the ...
0
votes
1answer
85 views

Final project without video / screencast

Is the video for the final project really necessary? I don't really have much to present and any technical information is in an "about" section on the website that i've made. Besides, i don't want to ...
0
votes
0answers
73 views

Exceeded Request Quota for API error

I am using a map in my final project, which was working fine up until a couple of weeks ago, and now it says 'for development purposes only' on my map though I have changed no code. I am using the API ...
0
votes
1answer
31 views

Javascript 'Undefined' Variable

I am trying to import values for coordinates using getJson however the map doesn't load now and if I try to print the coordinates in an alert box for testing purposes, it says 'undefined'. // get ...
0
votes
1answer
956 views

Send Variable from Javascript to Flask Application

In a Javascript file scripts.js, how do you send a variable called place which contains information about a place (e.g. name, location, rating) to a Flask Python application.py.
0
votes
1answer
607 views

Google Maps Places API Code Not Running - Final Project

I am quite far into my final project and needed either a database or software which would return places when given a keyword and an area as input. E.g. Restaurants in London. I tried using the ...
0
votes
1answer
34 views

Mashup Search Box Not Filling Screen

In my final project, I am integrating a map and search box based on the Google Maps API used in Pset8 Mashup. My search box is creating a list of places, however the results it produces only fill part ...
0
votes
1answer
84 views

Map Not Loading

In my final project, users can create an account as used in Pset7 Finance and I am including a map using the Google Maps API as used in Pset8 Mashup, however the map isn't loading. I have used code ...
0
votes
1answer
232 views

Final Project TypeError: execute() got multiple values for argument

I have been working on my final project, which is a chat application. I am, however, facing a problem when it comes to sending the messages. I am implementing my project through an SQL database for ...
0
votes
0answers
236 views

Final Project - Error: Templates Not Found

I have just started my final project and am simply trying to allow users to login and register however, when I run flask, I get an error: jinja2.exceptions.TemplateNotFound: homepage.html although all ...
1
vote
0answers
225 views

completion and verified certificate

so i have completed all my psets with a score of atleast 70 % and higher , but i dont see any green banner on my gradebook page saying that i have passed or something..? another thing, for my final ...
0
votes
1answer
88 views

Submiting Final Project

I've started CS50 because I want to become a game developer, so for my final project I wanted to make a simple game. My idea is to do it using Unreal Engine4 or Unity3D, but I don't know if it's ...
0
votes
1answer
155 views

Does grading of final project use / require Cloud9IDE (by Harvard / edX)?

I've been having problems using the scipy library with the Cloud9 IDE since the beginning of December 2017 when AWS acquired Cloud9, which is affecting my final project. I wrote about this back in ...
0
votes
1answer
549 views

Final project: builtins.NameError NameError: name 'usd' is not defined

I'm working on my final project and when clicking on the link generated by the flask run command, I receive the following error: "builtins.NameError NameError: name 'usd' is not defined". I don't ...
1
vote
2answers
2k views

Final project SQL Error: execute() takes 2 positional arguments but 3 were given

EDITED I am working on a conversion table website as my final project. I am using a base unit multiplier to convert one unit to the other. So for example centimeter to yard would look like this. ...
0
votes
0answers
19 views

Cannot link to another template

I am creating a link using the <a href=...></a>html tag. But when I click on the link I get a 404 Not Found error. The template I am trying to redirect the user exists. Anyone got any idea ...
0
votes
1answer
84 views

Problem with flask

I install the socketio module with: pip install flask-socketio. After the installation I cannot run: flask run to enable the application. Is there any way to fix this because I want to use socketio ...
0
votes
1answer
29 views

JS Dropdown in final project

My final project is a conversion website. I am trying to make a dropdown menu that when you click one of the options in the DD, you are taken to another page. When I put in the following code (from ...
0
votes
1answer
70 views

How to get info from an asynchronous javascript function into html - help with callback function

For my final project, I am accessing an API, and I want to display data from that API in a web-page (the API provides data on forecast electricity generation from solar PV in the UK, it's provided by ...
0
votes
1answer
121 views

loading bootstrap to IDE

could you pls help me to load the Bootstrap 4 library to IDE? I want to have compiled css and js. CDN ver is not useful for me because I want to have custom styles. So now I do it like this: load ...
1
vote
1answer
235 views

How do I cluster markers on a googlemap?

For my final project I'm creating a google map web app - building from what we learned in Pset8. I've got over 1,000 locations to add to my map - which looks pretty crowded, as you can see: I'm ...
0
votes
1answer
41 views

Don't understand why a function accessing an API is not returning a response

I'd appreciate some help with something I'm working on for my final project. I'm trying to create a web-app based on what we had to do for Pset8 - creating a google map that updates with information ...
0
votes
1answer
106 views

Importing to sqlite for final project

I'm having problems importing a file into an sqlite database for my final project. I have a .csv file which I want to import. I've created the table using the phplite GUI, with 14 fields (columns). ...
0
votes
1answer
88 views

Final Project with Google Maps ERR_EMPTY_RESPONSE reply for index

I am working on my final project using Google Maps to make a game, and I keep running into the same error: ide50-ssk4988.cs50.io didn’t send any data. ERR_EMPTY_RESPONSE This always seems to happen ...