Git Product home page Git Product logo

faraday-docker's People

Contributors

nscuro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

faraday-docker's Issues

App container not starting

edit: just realized that my comment didn't post. Yikes. Sorry about that.

Background
I have been trying to get faraday running on a docker container to intermingle with a system that I'm building, but have been wrestling with it for a while. High level overview of what steps I've taken so far:

  1. Pull the official faraday docker, noticed that a lot of the services were not installed, and attempted to build based on their install notes.
  2. Attempted to build my own dockerfile from scratch based on the above.
  3. Attempted to deploy using nscuro's faraday-docker (thanks for providing this by the way!!)

The Issue
When working with faraday-docker (which is what I am focusing this comment is focused on), the app container has been unable to start. The docker logs show the following:

SyntaxError: invalid syntax Traceback (most recent call last): File "/root/faraday/faraday-server.py", line 20, in <module> from server.web import app File "/root/faraday/server/web.py", line 38, in <module> app = create_app() # creates a Flask(__name__) app File "/root/faraday/server/app.py", line 260, in create_app register_blueprints(app) File "/root/faraday/server/app.py", line 64, in register_blueprints from server.api.modules.commandsrun import commandsrun_api File "/root/faraday/server/api/modules/commandsrun.py", line 12, in <module> from server.api.base import AutoSchema, ReadWriteWorkspacedView, PaginatedMixin File "/root/faraday/server/api/base.py", line 20, in <module> from marshmallow_sqlalchemy import ModelConverter File "/usr/local/lib/python2.7/dist-packages/marshmallow_sqlalchemy/__init__.py", line 1, in <module> from .schema import TableSchemaOpts, ModelSchemaOpts, TableSchema, ModelSchema File "/usr/local/lib/python2.7/dist-packages/marshmallow_sqlalchemy/schema.py", line 101 class TableSchema(ma.Schema, metaclass=TableSchemaMeta):

Note that the syntax error was pointing to the "metaclass=Table" on the last line. It didn't get copied.

Attempted fix
This page (https://stackoverflow.com/questions/57837460/airflow-initdb-failed-in-amazon-linux) suggested that they had a marshmallow version mismatch issue, so I figured I would give it a try. I forked the faraday-docker git and the the official faraday git. Edited the server-requirements.txt on faraday, and referenced my own forked repo on the forked faraday-docker.

Alas, it did not fix anything, same issues.

Going forward
I've been trying to do several workarounds but have had issues building from scracth based on Faraday's instructions. I would really like to figure this out for my proof of concept thing that I am working on, so if you have suggestions, please let me know! I'm not too familiar with working with these python modules.

Thanks! And cheers to nscuro for providing this.

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.