Coder Social home page Coder Social logo

alpr's People

Contributors

cbdonohue avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

alpr's Issues

Consistently getting error message stating no table named images

What am I missing here? I can't seem to debug the issue.
The images.db file is zero bytes and is created, but nothing after that.
I've tried a few things with the -v or --mount, but unsuccessful.
Any help appreciated!

`MacMini:alpr z$ docker run -it --rm -p 5000:5000 -v /Users/Z/alpr:/app/data -e RTSP_STREAM="rtsp://192.168.1.1:1234/xyz" cbdonohue/alpr:latest

  • Serving Flask app 'web' (lazy loading)
  • Environment: production
    WARNING: This is a development server. Do not use it in a production deployment.
    Use a production WSGI server instead.
  • Debug mode: on
  • Running on all addresses.
    WARNING: This is a development server. Do not use it in a production deployment.
  • Running on http://172.17.0.2:5000/ (Press CTRL+C to quit)
  • Restarting with stat
  • Debugger is active!
  • Debugger PIN: 889-085-656
    172.17.0.1 - - [12/May/2023 22:13:58] "GET /?debugger=yes&cmd=resource&f=style.css HTTP/1.1" 200 -
    172.17.0.1 - - [12/May/2023 22:13:58] "GET /?debugger=yes&cmd=resource&f=debugger.js HTTP/1.1" 200 -
    172.17.0.1 - - [12/May/2023 22:13:58] "GET /?debugger=yes&cmd=resource&f=ubuntu.ttf HTTP/1.1" 200 -
    172.17.0.1 - - [12/May/2023 22:13:58] "GET /?debugger=yes&cmd=resource&f=console.png HTTP/1.1" 200 -
    172.17.0.1 - - [12/May/2023 22:13:58] "GET /?debugger=yes&cmd=resource&f=console.png HTTP/1.1" 200 -
    /usr/local/lib/python3.6/dist-packages/werkzeug/filesystem.py:51: BrokenFilesystemWarning: Detected a misconfigured UNIX filesystem: Will use UTF-8 as filesystem encoding instead of 'ascii'
    BrokenFilesystemWarning,
    172.17.0.1 - - [12/May/2023 22:14:27] "GET / HTTP/1.1" 500 -
    Traceback (most recent call last):
    File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 2091, in call
    return self.wsgi_app(environ, start_response)
    File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 2076, in wsgi_app
    response = self.handle_exception(e)
    File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 2073, in wsgi_app
    response = self.full_dispatch_request()
    File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1518, in full_dispatch_request
    rv = self.handle_user_exception(e)
    File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1516, in full_dispatch_request
    rv = self.dispatch_request()
    File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1502, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
    File "/app/web.py", line 11, in index
    c.execute('SELECT * FROM images')
    sqlite3.OperationalError: no such table: images
    172.17.0.1 - - [12/May/2023 22:14:27] "GET /?debugger=yes&cmd=resource&f=debugger.js HTTP/1.1" 200 -
    172.17.0.1 - - [12/May/2023 22:14:27] "GET /?debugger=yes&cmd=resource&f=style.css HTTP/1.1" 200 -
    172.17.0.1 - - [12/May/2023 22:14:27] "GET /?debugger=yes&cmd=resource&f=console.png HTTP/1.1" 200 -
    172.17.0.1 - - [12/May/2023 22:14:27] "GET /?debugger=yes&cmd=resource&f=ubuntu.ttf HTTP/1.1" 200 -
    172.17.0.1 - - [12/May/2023 22:14:27] "GET /?debugger=yes&cmd=resource&f=console.png HTTP/1.1" 200 -
    `

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.