e2nIEE / pandahub

A data hub for pandapower and pandapipes networks based on MongoDB.
Other
12 stars 12 forks source link

Install issues and improvements #29

Open maurerle opened 1 year ago

maurerle commented 1 year ago

Description

Hey, I just wanted to look into the pandahub to see if it is beneficial for my work and ran a quick test. I found some issues and improvements which are mainly:

Still, I found some weirdness regarding the install:

What I Did

docker compose build
docker compose up -d
firefox 0.0.0.0:8002

fastapi-users does not provide the extra fastapi-users[mongodb] which results in a lot of unneccessary version lookups - probabl superseded by fastapi-users-db-mongodb

pandahub 0.2.3 depends on fastapi>=0.73.0
fastapi-users[mongodb] 9.2.2 depends on fastapi<0.72.0 and >=0.65.2

I hope it helps to get some feedback from an external early beta tester ;)

vogt31337 commented 1 year ago

was fixed by @jthurner and should now be working in version 0.2.4. @maurerle please test and if it now works, please close the issue. Thx!

maurerle commented 1 year ago

Installing the software (3.) is now fixed. The other issues are still open (especially 5 - docs on how this project is usable are missing).

Additionally:

~ pandahub-login
Enter pandahub URL: http://127.0.0.1:8002
Certificate for API needed? (y/n): n
Enter E-Mail: test@example.com
Enter Password: 
[ERROR] code: 500, reason: Internal Server Error

where the pandahub container had the following error:

pymongo.errors.ServerSelectionTimeoutError: db:27017: [Errno -2] Name or service not known, Timeout: 30s, Topology Description: <TopologyDescription id: 64fe17e2822f9c5daeda0c63, topology_type: Single, servers: [<ServerDescription ('db', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('db:27017: [Errno -2] Name or service not known')>]>