Questions tagged [error]

The tag has no usage guidance.

67 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1 vote
0 answers
113 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
1 answer
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 ...
  • 23
1 vote
1 answer
465 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 ...
  • 20
1 vote
0 answers
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 ...
  • 11
1 vote
0 answers
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 ...
user avatar
1 vote
1 answer
381 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
0 answers
7 views

Pset 1 - Having trouble with SSH

I keep getting the error message "No such file or directory" after i copy and paste "cat tilde/.ssh/ir_rsa.pub". I'd appreciate any advice!
0 votes
0 answers
7 views

Please point out my mistake

the course i belong to is CS50 Ai. project 0 Tic-tac-toe. I've completed the project to the best of my abilities, but some problem is still making the Ai, when playing O, fill the next empty space ...
0 votes
0 answers
9 views

CS50 - Why does i get clang:error: linker when make calculator

[![enter image description here][1]][1] Why does my code get an clang: error: linker command failed with exit code 1 (use -v to see invocation) [1]: https://i.stack.imgur.com/zrqTU.png
0 votes
0 answers
21 views

CS50-C compiler doesn't working

I can't run the code on cs50 C section is there something wrong with my compiler
0 votes
0 answers
23 views

HELP, error on VS Code, new programmer, CONTAINER ERROR

I'm in the middle of finalizing pset4/filter-more. Just last night I got the error that you can see in the image attached. What could be the cause? A virus? I'm new to programming and really don't ...
0 votes
0 answers
10 views

Integrated Terminal and Debugger produce different results

Objective: Print the name/s with the highest votes So I was debugging my PSET3 Plurality for probably 8+ hours now. I thought everything was fixed since the result in the debugger was what I intended, ...
  • 1
0 votes
0 answers
159 views

CS50x 2022 PSet 9 Finance - check50 failing

I'm currently doing PSet 9, Finance, for CS50x 2022. The web app works fine on my own computer, but when I run it using check50, it is unable to register the user (because of a NoneType object not ...
0 votes
1 answer
21 views

Error when calling seconnd function - expected expression

I'm trying to call my encryption function and am getting an undeclared identifier error. Not sure where i'm going wrong. Code: #include <cs50.h> #include <stdio.h> #include <ctype.h> ...
  • 1
0 votes
0 answers
15 views

Need help with my terminal, I have been strugggling with it one day😭

I don't know what's wrong with my terminal today. Where is my dollar sign??? With these weird" /workspace/..#", I run ./sort1 reversed10000.txt and the output wil be time: can't execute './...
  • 1
0 votes
0 answers
18 views

An error message that I have been getting since I tried to update cs50 codespace

For some strange reason I have been getting the following error (in the picture) since I tried to update the cs50 codespace. Do any of you have any idea how to resolve this? Also now the terminal is ...
0 votes
0 answers
49 views

Why am I getting the 404 error everytime i try to use the the server?

In all the tasks where I need a server, I am getting stack. If I run http-server or flask run (in different tasks), I get a 404 error. please help me fix this and check my work.
0 votes
0 answers
104 views

Lab 3 error message: Incorrect assignment of sorts

When I try to submit my answers I get these messages on running check50: :) answers.txt :) answers all questions :( correctly identifies each sort Incorrect assignment of sorts. I'm not sure I'm ...
0 votes
2 answers
28 views

defining a char variable, why am i getting this error?

#include <cs50.h> #include <stdio.h> int main(void) { int height; do { height = get_int("height: "); } while (height < 1 || height> 8); const ...
0 votes
0 answers
158 views

Getting "undefined reference to `get_string'" error despite having included cs50.h

I'm just starting with Week 2's problem set, in this case readability and can't get past this first step I get this error message /usr/bin/ld: /tmp/cc7uIkNX.o: in function main': hello.c:(.text+0x1e): ...
0 votes
0 answers
370 views

Can't Run Debug50 on VsCode!

Referencing the issue below: Can't run debugger
0 votes
1 answer
15 views

Pset0 - error & fatal error

How can I resolve this problem? Is it a library problems?Is there any mistake in setting? Appreciate before hand! https://i.stack.imgur.com/NVXxo.png
  • 1
0 votes
0 answers
68 views

pset1 Mario error: expected identifier

I really tried to find the solution for myself, but after a lot of hours I give up. Here is the error message and code if its possible please help me:) #include <cs50.h> #include <stdio.h&...
0 votes
0 answers
59 views

PSET9 - TypeError: 'NoneType' object is not subscriptable

My code for pset9 - Finance runs well on my IDE but some how Check50 still reports a log in error, which I don't know why since log in function was provided in the distribution code. Here is my code: ...
0 votes
1 answer
12 views

How can i fix it

Whenever I press the keyboard, this error report always pops up, how can I solve it? I have tried restarting the IDE, but it doesn't seem to work
0 votes
0 answers
19 views

Finance: how does the "errorhandler" work?

I am trying to understand the errorhandler function in pset9 finance. In the given application.py: # Original version def errorhandler(e): """Handle error""" if ...
  • 1
0 votes
1 answer
42 views

PSET5 Why Speller can't load dictionary? (included HASH function in case it's relevant)

// Load function bool load(const char *dictionary) { char word[LENGTH + 1]; FILE *file = fopen("dictionary", "r"); if (file == NULL) { printf(&...
0 votes
0 answers
606 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
1 answer
94 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 -...
  • 1
0 votes
1 answer
169 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
0 answers
201 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 ...
  • 1
0 votes
1 answer
33 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 ...
  • 1
0 votes
1 answer
75 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 ...
  • 3
0 votes
1 answer
117 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
1 answer
122 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
1 answer
113 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
1 answer
80 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
0 answers
58 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
0 answers
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 ...
  • 101
0 votes
1 answer
98 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
1 answer
685 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
0 answers
223 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
0 answers
346 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 ...
  • 135
0 votes
1 answer
217 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
1 answer
177 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 ...
  • 3
0 votes
1 answer
62 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
1 answer
20 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 ;...
  • 1
0 votes
0 answers
35 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
1 answer
197 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
0 answers
871 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, ...