Receiving error to check internet connection despite being connected #30
Unanswered
Raeggincom
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Nicholas & community members,
I've been working with NEMPY, and I noticed that there are a few 5-minute intervals where I receive the error below. For instance, this error occurred for the '2019/12/11 10:30:00' interval.
Can you please advise me on how to resolve this issue? This error occurs despite having a stable internet connection and NEMweb containing the data.
Keen to solve it and looking forward to any help.
Error Message:-
MissingDataError Traceback (most recent call last)
Input In [8], in <cell line: 1>()
----> 1 raw_inputs_loader.set_interval('2019/12/11 10:30:00')
File ~/anaconda3/lib/python3.9/site-packages/nempy/historical_inputs/loaders.py:68, in RawInputsLoader.set_interval(self, interval)
53 """Set the interval to load inputs for.
54
55 Examples
(...)
65
66 """
67 self.interval = interval
---> 68 self.xml.load_interval(interval)
File ~/anaconda3/lib/python3.9/site-packages/nempy/historical_inputs/xml_cache.py:90, in XMLCacheManager.load_interval(self, interval)
88 self._download_xml_from_nemweb()
89 if not self.interval_inputs_in_cache():
---> 90 raise MissingDataError(
91 'File not downloaded, check internet connection and that NEMWeb contains data for interval {}.'.format(
92 self.interval))
93 with open(self.get_file_path()) as file:
94 read = file.read()
MissingDataError: File not downloaded, check internet connection and that NEMWeb contains data for interval 2019/12/11 10:30:00.
Beta Was this translation helpful? Give feedback.
All reactions