Git Product home page Git Product logo

Comments (5)

phalgun avatar phalgun commented on June 27, 2024 1

@shubham717-developer please share the complete error log.

from fuelprice-api.

shubham717-developer avatar shubham717-developer commented on June 27, 2024

File "C:\Users\dc\Desktop\fuelprice-api-master\app\Lib\site-packages\flask\app.py", line 2464, in call
return self.wsgi_app(environ, start_response)
File "C:\Users\dc\Desktop\fuelprice-api-master\app\Lib\site-packages\flask\app.py", line 2450, in wsgi_app
response = self.handle_exception(e)
File "C:\Users\dc\Desktop\fuelprice-api-master\app\Lib\site-packages\flask\app.py", line 1867, in handle_exception
reraise(exc_type, exc_value, tb)
File "C:\Users\dc\Desktop\fuelprice-api-master\app\Lib\site-packages\flask_compat.py", line 39, in reraise
raise value
File "C:\Users\dc\Desktop\fuelprice-api-master\app\Lib\site-packages\flask\app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "C:\Users\dc\Desktop\fuelprice-api-master\app\Lib\site-packages\flask\app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "C:\Users\dc\Desktop\fuelprice-api-master\app\Lib\site-packages\flask\app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "C:\Users\dc\Desktop\fuelprice-api-master\app\Lib\site-packages\flask_compat.py", line 39, in reraise
raise value
File "C:\Users\dc\Desktop\fuelprice-api-master\app\Lib\site-packages\flask\app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "C:\Users\dc\Desktop\fuelprice-api-master\app\Lib\site-packages\flask\app.py", line 1936, in dispatch_request
return self.view_functionsrule.endpoint
File "C:\Users\dc\Desktop\fuelprice-api-master\app.py", line 14, in diesel_prices_all
all_diesel_prices = scrapy.scrape_all_diesel_prices()
File "C:\Users\dc\Desktop\fuelprice-api-master\scrapy.py", line 25, in scrape_all_diesel_prices
diesel_prices[(city).title()] = scrape_latest_price(url_dict[city])
File "C:\Users\dc\Desktop\fuelprice-api-master\scrapy.py", line 13, in scrape_latest_price
stripped_string = str(list(complete_string)[0].strip())
IndexError: list index out of range

from fuelprice-api.

GauravKumar-Tyagi avatar GauravKumar-Tyagi commented on June 27, 2024

Facing same issue

from fuelprice-api.

shubham717-developer avatar shubham717-developer commented on June 27, 2024

@phalgun maybe the issue is because I am using latest version of python 3.8.1

from fuelprice-api.

ravi-python-mss avatar ravi-python-mss commented on June 27, 2024

I think I am having same issue, did you find anything @shubham717-developer ? I am new to python/flask, any help would be great.

from fuelprice-api.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.