Questions tagged [final-project]

The tag has no usage guidance.

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

Configure app not to use the filesystem

For the final project I have made an app and deployed it on heroku. From other questions I realized that heroku can't store changes for a long time, so I kept getting logged out as soon as I was ...
0
votes
1answer
30 views

Html page is displayed well as file, but not on server

Here I tried from brackets IDE live preview it was working completely fine, but now it doesn't, i think i maybe deleted sth from C parition that causes this, i'm searching hard but i don't know what ...
0
votes
1answer
11 views

request.form.get returns NoneType

My code is probably going to get very tedious to read through, so I understand if answers come slow or do not come in at all. My issue is that when I use request.form.get on the user's input, I am ...
0
votes
1answer
14 views

Generate dynamic datefields from selected dropdown value sent to another route in Flask

EDIT With the good help of @DinoCoderSaurus, I realised that I overlooked adding a POST method to the datainput form and the routes also lacked GET and POST methods. Adding those modifications helped ...
0
votes
0answers
14 views

url_for not giving correct url

I am making a quiz app for the final project. i cannot give the parameters required through url_for. here is are the functions. functions: @app.route('/quiz') @login_required def quiz(): if ...
0
votes
0answers
14 views

Getting 400 Bad Request error in quiz app for Final Projet

I am making a very simple quiz maker app where users can make and answer a quiz. In my application.py, only the function for the page through which users answer a quiz returns '400 Bad Request (...
0
votes
0answers
14 views

Issue using Mingus package in CS50 project: /bin/sh: 1: lilypond: not found

I am trying to use the Lilypond module from the Mingus package (for my final project) in CS50 IDE, but while running the following python code (as provided in the docs), it returns an error: >>&...
0
votes
1answer
24 views

Cannot find “free” certificate

I completed now in November2020, how do I obtain the "link" of the online free certificate? To be honest I'm not even sure if there is a free certificate so please tell me if there is one. ...
0
votes
1answer
39 views

FINAL PROJECT for cs50! can i make a game using unity and c#?

I just want to know if its ok to submit a game made with Unity using c# for the final project or do I need to make a game with LOVE2d using lua only?
0
votes
1answer
13 views

CS50 Final Project Jinja For Loop Not Running

My final project is a task website that allows you to create tasks, complete them, and get alerted when you haven't done a task on time. Currently, I am working on alerting when the task is due. The ...
0
votes
0answers
46 views

Final Project - Get sql to work html, python and flask

On my website for my final project I am able to enter the user info on the website, but the information is not being inserted into the sql table. I feel that I am not understanding something very ...
0
votes
0answers
15 views

Flask-WTF: input field rendered based on the user's selection

I'm trying to make a form where the user logs an action they've done. Because there were too many actions, they are now split into categories and then, based on which category the user chooses, the ...
0
votes
1answer
24 views

CS50 Final Project / Personalized HTML path

I'm on the Final Project for CS50 and trying to make a simple website to type in General Tasks and get information within different Subjects. I decided to use Flask over Django, however now I'm stuck ...
0
votes
0answers
9 views

I am trying to download Love for the games track but this blue and yellow shield prevents me from using the program, what do I do?

I have a windows 10 laptop, and whenever I try and use it, it asks me for the admin pin of the laptop, my parents keep on putting the pin but it never works, they tried to figure it out but came up ...
0
votes
1answer
13 views

Final Project - if statement with regex not working?

Working on my final project and I'm stuck trying to edit user input. The below code should take the first string in a list and check if it's numeric. If it is, great, that's what I want, otherwise, I ...
0
votes
1answer
24 views

Linking to local html page

I am trying to link to my own html page that I have created in CS50 IDE. The html code is below. I have included 8 variations on trying to find the file. All return error 404. I have the file: &...
0
votes
0answers
86 views

Final Project: Error on uploading files to CS50 IDE via form

tl;dr: CS50 IDE won't let me upload certain kinds of files (via a form on a webpage) without any explanation. I'm writing the function upload_file() that allows the user to upload a file. (It's a CSV ...
0
votes
0answers
89 views

Final Project Submission README.md

I've never had to write a README before and all the online reasources on the subject seem to lead to a result from which it would be hard to grade an application. COuld someone give me a few tips on ...
0
votes
1answer
23 views

Track Web Programming to real Web

I am doing the final project of CS50 and I want to know if I can use my code of the final project and make a real web page with a real adress outside CS50 server... is it possible? Thank you for the ...
0
votes
0answers
12 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
24 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
64 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
17 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
70 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
32 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
22 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
117 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
43 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
9 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
148 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
17 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
174 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
36 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
30 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
71 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
22 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
1answer
24 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
264 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 ...
1
vote
1answer
722 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
39 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 "...
2
votes
1answer
185 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
368 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
480 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
100 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
76 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
35 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
1k 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
636 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 ...