Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Program doesn't run #3

Open
J-C-O opened this issue Jan 4, 2020 · 1 comment
Open

Program doesn't run #3

J-C-O opened this issue Jan 4, 2020 · 1 comment

Comments

@J-C-O
Copy link

J-C-O commented Jan 4, 2020

Hi, i try to run this program, i use this command to start the program
python luftsachsen.py --data-dir data/ --git False
But i get this error:
C:\Users\Julius\Documents\GitHub\Luftqualitaet-src>python luftsachsen.py --data-dir data/ --git False
Traceback (most recent call last):
File "luftsachsen.py", line 96, in
use_git = options.use_git)
File "luftsachsen.py", line 33, in main
out_dir = raw_dir, basedir = basedir)
File "C:\Users\Julius\Documents\GitHub\Luftqualitaet-src\AirImport\importer.py", line 188, in main
h.get_live_data(periods())
File "C:\Users\Julius\Documents\GitHub\Luftqualitaet-src\AirImport\importer.py", line 52, in get_live_data
self.read_stations()
File "C:\Users\Julius\Documents\GitHub\Luftqualitaet-src\AirImport\importer.py", line 71, in read_stations
for i in stations.find_all('option'):
AttributeError: 'NoneType' object has no attribute 'find_all'

I don't know what to do, i'm using Python 3.4 and i have installed all the requirements.

@evilham
Copy link
Contributor

evilham commented Jan 11, 2020

Hey, it looks like Umwelt Sachsen revamped their site, now it's "pretty", but it doesn't actually seem to work.

I do have a WIP patch that, e.g. reads the stations, but for some reason now the substances can't possibly be listed...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants