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

Quickstart error #6

Open
suminss opened this issue Nov 25, 2018 · 5 comments
Open

Quickstart error #6

suminss opened this issue Nov 25, 2018 · 5 comments

Comments

@suminss
Copy link

suminss commented Nov 25, 2018

Hi,

I've installed the nemweb package as per directions and am trying to run the suggested quickstart code in jupyter.

Am getting the following error:

from nemweb import nemweb_current
nemweb_current.update_datasets([dispatch_scada])


NameError Traceback (most recent call last)
in ()
1
----> 2 nemweb_current.update_datasets([dispatch_scada])

NameError: name 'dispatch_scada' is not defined

Is this a problem with my installation? Have tried once using pip, then un and reinstalling using setup.py.
Or, do I need to initialise dispatch_scada before downloading?

Many thanks!

@dylanjmcconnell
Copy link
Member

Hey - sorry for not getting back to you sooner.. Did you have dispatch_scada as a string (as in, "dispatch_scada")?

Cheers, Dylan

@jufemaiz
Copy link
Contributor

jufemaiz commented Jan 8, 2019

from nemweb import nemweb_current

nemweb_current.update_datasets(['dispatch_scada'])

As per @dylanjmcconnell above.

Though it may still be blocked at #14

@suminss
Copy link
Author

suminss commented Jan 18, 2019 via email

@jufemaiz
Copy link
Contributor

jufemaiz commented Jan 18, 2019 via email

@dylanjmcconnell
Copy link
Member

Hey @suminss - just looking at the traceback, looks like @jufemaiz was also right right re: #14 .. I've had
go at fixing that in the dev branch (If you checkout the dev branch the and run the setup script it should hopefully be fixed - if you do try, let me know how you go).

(...and perhaps make sure sqlite3 is installed, as per @jufemaiz last comment).

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

3 participants