Comments (5)
@shubham717-developer please share the complete error log.
from fuelprice-api.
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.
Facing same issue
from fuelprice-api.
@phalgun maybe the issue is because I am using latest version of python 3.8.1
from fuelprice-api.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fuelprice-api.