Comments (1)
Last issue on "swim.sh provision" (I need to launch it twice, at first launch the database is not available : sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "postgres" (172.18.0.3), port 5432 failed: Connection refused
Is the server running on that host and accepting TCP/IP connections?
)
Traceback (most recent call last):
File "/app/provision/provision_broker.py", line 96, in
_add_users(config['BROKER_USERS'])
File "/app/provision/provision_broker.py", line 69, in _add_users
if client.user_exists(name):
^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/app/lib/python3.11/site-packages/broker_rest_client/rabbitmq_rest_client.py", line 249, in user_exists
self.get_user(name)
File "/opt/conda/envs/app/lib/python3.11/site-packages/broker_rest_client/rabbitmq_rest_client.py", line 238, in get_user
result = self.perform_request('GET', url, response_class=RabbitMQUser)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/app/lib/python3.11/site-packages/rest_client/requestor.py", line 70, in perform_request
processed_response = self._process_response(response, response_class, many)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/app/lib/python3.11/site-packages/rest_client/requestor.py", line 100, in _process_response
response_data = response_class.from_json(response_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/app/lib/python3.11/site-packages/broker_rest_client/models.py", line 68, in from_json
tags=user_dict['tags'].split(',') if user_dict['tags'] else []
^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'list' object has no attribute 'split'
from swim-ti-yp-prototype.
Related Issues (10)
- swim.sh issues HOT 1
- swim-base image fails to build HOT 1
- swim.sh provision should overwrite the changes to the database instead of skipping if the user exists.
- Consider removing existing volumes when a swim.sh stop --clean is performed
- Allow the user to remove images or build images with --no-cache to allow rebuilding from scratch
- Add license of dos2unix application HOT 1
- nginx container image runs as root HOT 1
- swim-base fails to build HOT 1
- with Ubuntu 22.4 ". ./swim.sh user_config" exits with error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swim-ti-yp-prototype.