Questions tagged [error]

The tag has no usage guidance.

53 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
109 views

hash sum error using update50 in cs50 ide

When i try to update my cs50 ide using update50, i get the following error: ~/workspace/ $ update50 Adding external repos... Hit http://ppa.launchpad.net trusty InRelease Ign http://archive.ubuntu....
1
vote
1answer
146 views

Parse wont pass check50

for some reason my code isnt passing: :( Two spaces after GET returns error code & :( Two spaces before HTTP/1.1 returns error code I cant see what would cause that. A previous question indicates ...
1
vote
1answer
464 views

I am getting "HTTP/1.1 501 Not Implemented" when I run 192.#.#.#:port#/cat.jpg

@curiouskiwi, Thanks a lot....your response helped a lot. I wonder why I missed out such little detail. However guys, I have another problem which I believe am missing out something but can not seem ...
1
vote
0answers
2k views

Appliance not working with virtual box (Failed to import, NS_ERROR_FAILURE (0x80004005) )

Working on a Macbook Air 10.6.8 (snow leopard). Have the most up-to-date virtualbox (tried updating within the program). Checked for troubleshooting in the CS50 manual and this forum, but did not ...
1
vote
0answers
144 views

not able to install appliance." file does not match manifest"

i am facing a problem while trying to install the cs50 appliance on VMware player and on Oracle VirtualBox. I have tried installing it on three computers of mine and all running WINDOWS 7 with a i3 ...
1
vote
1answer
366 views

CS50 Finance not showing up

I'm starting CS50 Finance and I've reached a small hitch. When I try to load the page "pset7"/localhost (After doing all the first steps listed in the spec), I don't get the CS50 Finance logo, but ...
0
votes
0answers
11 views

I have an error in register function (Week9 Finance)

I would like to ask for your help please with an error I keep getting on my code for the week 9 Finance. I have been receiving like this Here is my login/ register function below. @app.route("/...
0
votes
0answers
17 views

Invalid slug error

When trying to go through the steps in lab 1 for hello.c. I am getting the below error ~/ $ check50 cs50/problems/2021/pset1/hello ...
0
votes
1answer
8 views

error : function definition not allowed here pls help

i got this error message pls help $ make triangle clang -ggdb3 -O0 -std=c11 -Wall -Werror -Wextra -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wshadow triangle.c -lcrypt -lcs50 -...
0
votes
0answers
13 views

CS50 Tic Tac Toe Minimax problem with Nonetype error

I'm having a recurring 'Nonetype object is not subscriptable' error on the minimax problem. Depending on how I setup my debugging, it either appears as an error on runner.py line 85 (trying to ...
0
votes
0answers
33 views

CS50 PSET3 test code does not compile

The output says that the code does not compile, but the error is in the test code not in mine`s
0
votes
0answers
10 views

Q: how to read terminal window and debug in Finance?

I am receiving errors (in red) in my terminal window. However I'm not understanding what those errors actually mean. Can someone help direct me on how to 1) read the error 2) find out where exactly ...
0
votes
0answers
27 views

Filter (more) Edge error not passing check50

Yesterday I copleted filter less and all images passes check50, today I try to complete filter more edge I've added the same code like like filter less for Grayscale, Reflection, Blur and added new ...
0
votes
0answers
24 views

Request throwing JSON error

I'm having a very strange problem. This code, which was working perfectly yesterday, is now throwing the error - File "/usr/local/lib/python3.9/json/decoder.py", line 355, in raw_decode ...
0
votes
1answer
13 views

Expected Expression Error

I have been working on cs50 problem set 2 and I have come across the error readability.c:35:1: error: expected expression else if( index > 16) ^ My code is as follows if(index < 1) { ...
0
votes
0answers
95 views

Tideman error: :( lock_pairs skips final pair if it creates cycle

It would be amazing if someone had the time to look through my code for the Tideman exercise :D I get the following error: :( lock_pairs skips final pair if it creates cycle lock_pairs did not ...
0
votes
0answers
17 views

I am getting 2 following errors on using check50 on my code. Can anyone help?

:( encrypts "This is CS50" as "Cbah ah KH50" using yukfrnlbavmwzteogxhcipjsqd as key output not valid ASCII text :( encrypts "This is CS50" as "Cbah ah KH50" ...
0
votes
1answer
23 views

Pset2 Readability error with "else" statement

readability.c:28:9: error: expected expression else: Shown above is the error I am getting. If anyone would point me to what exactly I am doing wrong. that would be great. Bellow, I will add my ...
0
votes
1answer
47 views

Pset2 Readability undeclared identifier error message

I am attempting to make my program but everytime I try, it tells me I have not identified my variable "i" eventhough I identified it as an integer above. Does anyone know what I'm doing ...
0
votes
1answer
74 views

*** No rule to make target 'runoff'. Stop. Even though I'm in the correct directory

I keep getting the No rule to make target error on the runoff problem even when I'm in the correct directory as you can see in the picture attached. Note: I have just completed the vote function for ...
0
votes
1answer
80 views

My code does what I want it to do, but I get errors with check50 (PSET1, MARIO, LESS)

When I run my code in the terminal it gives me the correct response. However, check50 indicates there is an issue with my spaces. I have spend 2 days looking at it but I dont know whats wrong. INPUT /...
0
votes
1answer
27 views

Terminal window not update

Struggling after Certain changes were made on the file and compiled as compiler failed to identify the changes made.I.e the terminal window displays the same errors in the file. This meant program ...
0
votes
1answer
63 views

Getting partial output in Blur (pset4 filter) , trying to debug edge and middle pixel

My program when run through check50 says the corner pixels work but nothing else seems to work. I have been stuck on this problem for days and after not getting any considerable reply on the cs50 ...
0
votes
0answers
53 views

I am having trouble with the 2020 pset4 Recover assignment and even though my code compiles, it doesnt work, its not recovering the images

EDIT: I posted this 17 days ago please help. Heres my code and it wud be great if someone cud help A.S.A.P. thankyou! #include <stdio.h> #include <stdlib.h> #include<stdint.h> #...
0
votes
0answers
2k views

NameError: name 'db' is not defined

I've made a simple code using python, where with the help of Flask_sqlalchemy I am trying to create 2 tables in a database which is being hosted by Heroku. The file db.py contains my table details ...
0
votes
1answer
70 views

CS50 Terminal saying there's error in code that isn't there - More Comfortable Mario

Whenever I type Make Mario into the Terminal for the "More Comfortable" Mario.c assignment in Week 1, it keeps telling me I have an error on 13:9 - but there's nothing typed on 13:9. I'm a bit ...
0
votes
1answer
496 views

Stuck at 57% in Pset 8 Finance

I cannot fix some problems in Pset8 because in my gradebook, Finance is still at 57%. Here are the errors that I have after I used check50: :( logging in as registered user succceeds application ...
0
votes
0answers
206 views

Encountering Error When Attempting to Update Submit50

Issue: When running the terminal command "pip install --upgrade submit50", I am getting the following error: "ERROR: Command errored out with exit status 1: /usr/local/bin/python3.7 -u -c 'import ...
0
votes
0answers
314 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 ...
0
votes
1answer
204 views

please help ! till yesterday my app was working almost fine but today its not even starting ! can someone pls explain this to me?

flask.cli.NoAppException: Failed to find application in module "application". Are you sure it contains a Flask application? Maybe you wrapped it in a WSGI middleware or you are using a factory ...
0
votes
1answer
156 views

Pset5 Memory leak and errors in valgrind

I have been beating my head against a wall trying to solve my issues on my own, but I have gotten no where. I have two issues: 1) I have a small memory leak of 568 bytes in 1 block. My unload function ...
0
votes
1answer
59 views

Pset 1 expected expression

I've run into a problem on credit. Whenever I run this #include <stdio.h> #include <cs50.h> int main(void) { int credit; //Ask user for input of cc number printf("What is ...
0
votes
1answer
18 views

The output is only _

So in this program, the only output I am getting is _. Help would be appreciated. My init: void init(void) { // Initializing the game int square; square = (d*d) - 1; for (int i = 0 ;...
0
votes
0answers
30 views

Resize does not compile

I wrote the code for Resize, saved it and compiled it. But it does not compile. Instead, it gives a super long error message. ~/workspace/pset4/resize/ $ make resize clang -fsanitize=integer -...
0
votes
1answer
185 views

pset6 how do we check for string in mario

I've tried to find out how to check for string input for mario.py. I know to check for the range of integers when getting input from the user, but if they enter a string instead of a number, is there ...
0
votes
0answers
744 views

speller.c:217:5: error: redefinition of 'main' int main

I actually received two error messages: speller.c:217:5: error: redefinition of 'main' int main(int argc, char *argv[]) ^ speller.c:20:5: note: previous definition is here int main(int argc, ...
0
votes
1answer
38 views

In the previous code, I am getting runtime error

What should I do ? How to get rid of this runtime error Link to my code I had written the code for snackdown'17 (Temple Land) my command line is showing snkeat.c:58:28: runtime error: unsigned ...
0
votes
0answers
269 views

Need solutions! Errors keep popping up and Docker won't start [Windows 10 Pro x64], What should I do?

First of all, I'd like to make it clear that I'm a total noob when it comes to docker. I've read every other thread yet couldn't solve it (Though, many times I wouldn't just be able to understand what ...
0
votes
2answers
122 views

Help! CS50 Error message not making sense at all

I am in week 1 on CS50 2017, and in the lecture he presents a code written as follows: #include <cs50.h> #include <stdio.h> int main(void); { int n = 0; while (true) { ...
0
votes
0answers
585 views

Internal error:VMware gives an error how to solve

VMware gives an error i.e. Internal Error while starting welcome window. I reinstalled but still getting same problem.
0
votes
1answer
165 views

Pset8 Mashup cs50x 2016 version, issue to make it work

I've completed the cs50x 2016 version last december and I'tried to see the mashup code working again in order to see code and reuse it and maybe modify it. I tried to run it as usual but it didn't ...
0
votes
1answer
238 views

Pset7 C$50 URL not working

I am hoping someone can help. In PSET7 C$50, the url that is generated in the "Running" section of the problem set documentation is leading to a page with a message "This site can't be reached". I ...
0
votes
1answer
46 views

Can't upload my final project

I want to know if anyone else is having this problem, I'm trying to upload my video for my final project, which is shorter than 2 minutes, but the upload just hangs and never finishes, I've already ...
0
votes
1answer
80 views

PSET6 - Double free error

I'm getting stuck in the last lines of PSET6. Apparently the problem is in the LOAD function. Check50 server2 getting all but 1 lines marked red :( and when running the program I get * Error in `./...
0
votes
0answers
32 views

Program failing to compute simple mathematical expression

while writting a program shown in Greg Perry's and Dean Miller's book "C Programming: Absolute Begginer's Guide", noticed that the program I wrote has failed thus far to actually compute a very simple ...
0
votes
0answers
163 views

I have a error during compilation of pset1 water.c

Any idea why this error is showing clang -ggdb3 -O0 -std=c11 -Wall -Werror -Wshadow water.c -lcs50 -lm -o water
0
votes
1answer
106 views

expected output, not standard error

My program compiles and runs fine. There isnt even much memory leak. But still it doesn't pass the cs50 check. Link to my check code
0
votes
0answers
175 views

pset6 internal server error 500, debugged and variables all correct, need help!

I cannot get past this error, internal server error 500. I have debugged using printf and all variables are holding the right values (request target, absolute path, path). I added a printf line to the ...
0
votes
0answers
195 views

clock_watchdog_timeout error

I am running Windows 10 with VMWare and the latest version of the CS50 appliance for the edX version of the course. It had been working fine, but then a couple weeks ago when I executed the "update50" ...
0
votes
0answers
60 views

My code doesn't run %s?

Here is the C programming Absolute Beginner's Guide book's chapter15ex1.c //Example program #1 from Chapter 15 of Absolute Beginner's Guide //to C, 3rd Edition //File Chapter 15ex1.c /* This program ...