Questions tagged [error]

The tag has no usage guidance.

51 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
103 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
462 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
143 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
356 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
1answer
19 views

Can you tell me my mistake

Please help, I don't know where the problem is.
0
votes
0answers
12 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
19 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
33 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
34 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
0answers
23 views

Internal Server Error

Error Message: "Internal Server Error The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.&...
0
votes
1answer
42 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
15 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
0answers
10 views

CS50 Web programming with python project1

While I'm trying to install psycopg2-binary it is showing me the following error. Help me with it.
0
votes
1answer
50 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
26 views

I got a “linker command failed with exit code 1” error after compiling my source code

clang -ggdb3 -O0 -std=c11 -Wall -Werror -Wextra -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wshadow mario.c -lcrypt -lcs50 -lm -o mario /usr/bin/../lib/gcc/x86_64-linux-gnu/7.4.0/...
0
votes
0answers
5 views

Eorror while login virtual machin

I am getting the follwing error in VMWare Workstation 15 error while running virtual machine. This host does not support Intel VT -x. This host does not support "Intel EPT" hardware assisted MMU ...
0
votes
0answers
98 views

Getting a NameError in the PageRank problem in CS50's Introduction to AI with Python

Here's the implementation code :- https://gist.github.com/ShaunakInamdar/9a914b43bb778aac04e8f254f3e5329f I'm getting an error in line 89 saying "NameError: name 'pageRank' not defined." Somebody ...
0
votes
0answers
50 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
1answer
61 views

Mario problem in IDE

I was trying to run the below program on CS50 IDE, however it shows an error, is it something wrong with the CS50 IDE ? #include <cs50.h> #include <stdio.h> int main(void) { int n; ...
0
votes
0answers
421 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
56 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
0answers
23 views

skip many loops error

I want if found something skips 4 or 5 loops if a = 20 and found something a will be 35 but didn't work why for a in range(len(cont)): if cont[a:a + len(str[c])] == str[c]: temp += 1 ...
0
votes
1answer
190 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
196 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
254 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
181 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
119 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
51 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
158 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
610 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
37 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
262 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
114 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
580 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
232 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
43 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
78 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
162 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
104 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
57 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 ...
0
votes
0answers
458 views

pset2 Vigenere - right output but check50 gives error

I'm on the Vigenere exercise on pset2 and I'm having a strange error, the output of the program is the one that is supposed to be, but the checker still assumes is as being an error, for some reason: ...
0
votes
0answers
14 views

GInteractors break my window after a few runs

I have a program I'm toying around with as my final project, and I wanted a window with a few buttons for a menu of sorts. At first it worked just fine, but the more I run the program, the more likely ...