Giter Site home page Giter Site logo

Comments (6)

gnn avatar gnn commented on August 22, 2024

Thanks for the report. The first code block which you posted should definitely work and we need to fix that. Are you installing the package from source? If so, based on which branch?
And then there's something in the output which doesn't match up with what I expected. I have to look into that.

from feedinlib.

c-koehl avatar c-koehl commented on August 22, 2024

I cloned the repository and installed the dependencies.
I remember having issues installing it via pip (3 weeks ago). Apparently if you install it via pip, an older version will be installed, because some files were missing and were different compared to the dev branch in github!

from feedinlib.

nick-harder avatar nick-harder commented on August 22, 2024

Hi, is there a solution for this issue already? I have tried running it on my PC and also on Binder, it doesn't work.

Also, when I run following code:
open_FRED_weather_windpowerlib_single_location = Weather( start=start_date, stop=end_date, locations=[location], heights=heights, variables=variables, **defaultdb())

I get following error:
`---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
in
3 heights=heights,
4 variables=variables,
----> 5 **defaultdb())

C:\ProgramData\Anaconda3\lib\site-packages\feedinlib\open_FRED.py in init(self, start, stop, locations, heights, variables, regions, session, db)
148 location_ids = [
149 l.id
--> 150 for l in chain(self.locations.values(), *self.regions.values())
151 ]
152

C:\ProgramData\Anaconda3\lib\site-packages\feedinlib\open_FRED.py in (.0)
148 location_ids = [
149 l.id
--> 150 for l in chain(self.locations.values(), *self.regions.values())
151 ]
152

AttributeError: 'NoneType' object has no attribute 'id'`

from feedinlib.

p-snft avatar p-snft commented on August 22, 2024

I can reproduce the issue as reported by @nick-harder, also for the current dev. However, I do not have the appropriate knowledga about open_FRED, to fix it. @oemof/feedinlib, could anyone of you help?

from feedinlib.

gnn avatar gnn commented on August 22, 2024

Sorry for taking so long to fix this and thanks for continuously prodding me. The issue that @nick-harder experienced and which @p-snft reproduced is different from the one originally reported. I'll try to reproduce both and probably will open a new issue for the former. In the long run, I'm hoping to have both issues fixed in a month.

from feedinlib.

ADai528 avatar ADai528 commented on August 22, 2024

hi, @nick-harder. I also encountered the same problem, did you finally solve this problem?

from feedinlib.

Related Issues (20)

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.