Giter VIP home page Giter VIP logo

dataplay3's People

Contributors

gangtao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dataplay3's Issues

Tiny fix

楼主大大,感谢分享。
本地运行时,发现几个小问题,不知是否合理:

  1. 最新版本:auto-sklearn==0.4.2
  2. 主页打开时有报错(chrome控制台):pwacompat.min.js:1 Uncaught SyntaxError: Unexpected token <
  3. 有报错:
    TypeError: Promise.all(...).then(...).catch(...).finally is not a function
    at files.forEach.file (/home/apps/AISpace/dataplay3/client/scripts/lint-prettier.js:44:13)
    三个问题的解决我已在fork库上修改。

i used the dockerfile to build images, then an error appeared when running a container.

sh entrypoint.sh

==> /home/logs/gunicorn-access.log <==

==> /home/logs/gunicorn.log <==
[2019-04-29 07:37:42 +0000] [7] [INFO] Starting gunicorn 19.9.0
[2019-04-29 07:37:42 +0000] [7] [INFO] Listening at: http://0.0.0.0:8000 (7)
[2019-04-29 07:37:42 +0000] [7] [INFO] Using worker: sanic.worker.GunicornWorker
[2019-04-29 07:37:42 +0000] [15] [INFO] Booting worker with pid: 15
[2019-04-29 07:37:43 +0000] [17] [INFO] Booting worker with pid: 17
[2019-04-29 07:37:43 +0000] [19] [INFO] Booting worker with pid: 19
[2019-04-29 07:37:43 +0000] [21] [INFO] Booting worker with pid: 21
[2019-04-29 07:37:43 +0000] [22] [INFO] Booting worker with pid: 22
/usr/local/lib/python3.6/dist-packages/sklearn/ensemble/weight_boosting.py:29: DeprecationWarning: numpy.core.umath_tests is an internal NumPy module and should not be imported. It will be removed in a future NumPy release.
from numpy.core.umath_tests import inner1d
/usr/local/lib/python3.6/dist-packages/sklearn/ensemble/weight_boosting.py:29: DeprecationWarning: numpy.core.umath_tests is an internal NumPy module and should not be imported. It will be removed in a future NumPy release.
from numpy.core.umath_tests import inner1d
/usr/local/lib/python3.6/dist-packages/sklearn/ensemble/weight_boosting.py:29: DeprecationWarning: numpy.core.umath_tests is an internal NumPy module and should not be imported. It will be removed in a future NumPy release.
from numpy.core.umath_tests import inner1d
/usr/local/lib/python3.6/dist-packages/sklearn/ensemble/weight_boosting.py:29: DeprecationWarning: numpy.core.umath_tests is an internal NumPy module and should not be imported. It will be removed in a future NumPy release.
from numpy.core.umath_tests import inner1d
/usr/local/lib/python3.6/dist-packages/sklearn/ensemble/weight_boosting.py:29: DeprecationWarning: numpy.core.umath_tests is an internal NumPy module and should not be imported. It will be removed in a future NumPy release.
from numpy.core.umath_tests import inner1d
INFO:sanic.root:using static path /home/dataplay/filesvc/../static
INFO:sanic.root:using static path /home/dataplay/filesvc/../static
INFO:sanic.root:using static path /home/dataplay/filesvc/../static
INFO:sanic.root:using static path /home/dataplay/filesvc/../static
INFO:sanic.root:using static path /home/dataplay/filesvc/../static
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/gunicorn/arbiter.py", line 210, in run
self.sleep()
File "/usr/local/lib/python3.6/dist-packages/gunicorn/arbiter.py", line 360, in sleep
ready = select.select([self.PIPE[0]], [], [], 1.0)
File "/usr/local/lib/python3.6/dist-packages/gunicorn/arbiter.py", line 245, in handle_chld
self.reap_workers()
File "/usr/local/lib/python3.6/dist-packages/gunicorn/arbiter.py", line 525, in reap_workers
raise HaltServer(reason, self.WORKER_BOOT_ERROR)
gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/bin/gunicorn", line 10, in
sys.exit(run())
File "/usr/local/lib/python3.6/dist-packages/gunicorn/app/wsgiapp.py", line 61, in run
WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
File "/usr/local/lib/python3.6/dist-packages/gunicorn/app/base.py", line 223, in run
super(Application, self).run()
File "/usr/local/lib/python3.6/dist-packages/gunicorn/app/base.py", line 72, in run
Arbiter(self).run()
File "/usr/local/lib/python3.6/dist-packages/gunicorn/arbiter.py", line 232, in run
self.halt(reason=inst.reason, exit_status=inst.exit_status)
File "/usr/local/lib/python3.6/dist-packages/gunicorn/arbiter.py", line 345, in halt
self.stop()
File "/usr/local/lib/python3.6/dist-packages/gunicorn/arbiter.py", line 393, in stop
time.sleep(0.1)
File "/usr/local/lib/python3.6/dist-packages/gunicorn/arbiter.py", line 245, in handle_chld
self.reap_workers()
File "/usr/local/lib/python3.6/dist-packages/gunicorn/arbiter.py", line 525, in reap_workers
raise HaltServer(reason, self.WORKER_BOOT_ERROR)
gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>

[2019-04-29 07:37:53 +0000] [19] [ERROR] Exception in worker process

Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/gunicorn/arbiter.py", line 583, in spawn_worker
worker.init_process()
File "/usr/local/lib/python3.6/dist-packages/sanic/worker.py", line 51, in init_process
super().init_process()
File "/usr/local/lib/python3.6/dist-packages/gunicorn/workers/base.py", line 129, in init_process
self.load_wsgi()
File "/usr/local/lib/python3.6/dist-packages/gunicorn/workers/base.py", line 138, in load_wsgi
self.wsgi = self.app.wsgi()
File "/usr/local/lib/python3.6/dist-packages/gunicorn/app/base.py", line 67, in wsgi
self.callable = self.load()
File "/usr/local/lib/python3.6/dist-packages/gunicorn/app/wsgiapp.py", line 52, in load
return self.load_wsgiapp()
File "/usr/local/lib/python3.6/dist-packages/gunicorn/app/wsgiapp.py", line 41, in load_wsgiapp
return util.import_app(self.app_uri)
File "/usr/local/lib/python3.6/dist-packages/gunicorn/util.py", line 350, in import_app
import(module)
File "/home/dataplay/server.py", line 39, in
app.blueprint(file_svc)
File "/usr/local/lib/python3.6/dist-packages/sanic/app.py", line 555, in blueprint
blueprint.register(self, options)
File "/usr/local/lib/python3.6/dist-packages/sanic/blueprints.py", line 141, in register
uri, future.file_or_directory, *future.args, **future.kwargs
File "/usr/local/lib/python3.6/dist-packages/sanic/app.py", line 533, in static
content_type,
File "/usr/local/lib/python3.6/dist-packages/sanic/static.py", line 146, in register
)(_handler)
File "/usr/local/lib/python3.6/dist-packages/sanic/app.py", line 192, in response
name=name,
File "/usr/local/lib/python3.6/dist-packages/sanic/router.py", line 147, in add
self._add(uri, methods, handler, host, name)
File "/usr/local/lib/python3.6/dist-packages/sanic/router.py", line 303, in _add
route = merge_route(route, methods, handler)
File "/usr/local/lib/python3.6/dist-packages/sanic/router.py", line 255, in merge_route
uri, ",".join(list(duplicated))
sanic.router.RouteExists: Route already registered: /ui<file_uri:/?.+> [GET,HEAD]

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.