Giter Site home page Giter Site logo

calibre-access's People

Contributors

dependabot[bot] avatar laharah avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

outrera

calibre-access's Issues

issue on time format after first run

Hi
Thanks, this look good
after the first run I get the following

[user@user]:(5.1kb)~/calibre-access$ calibre-access ~/.config/calibre/server_access_log.txt Traceback (most recent call last): File "/usr/local/bin/calibre-access", line 11, in <module> load_entry_point('calibre-access==1.3.4', 'console_scripts', 'calibre-access')() File "build/bdist.linux-x86_64/egg/calibre_access/calibre_access.py", line 354, in main File "build/bdist.linux-x86_64/egg/calibre_access/utilities.py", line 137, in time_filter File "build/bdist.linux-x86_64/egg/calibre_access/utilities.py", line 85, in get_os_from_agents File "build/bdist.linux-x86_64/egg/calibre_access/utilities.py", line 116, in get_locations File "build/bdist.linux-x86_64/egg/calibre_access/utilities.py", line 41, in get_records File "build/bdist.linux-x86_64/egg/calibre_access/calibre_access.py", line 116, in download_coro File "build/bdist.linux-x86_64/egg/calibre_access/utilities.py", line 111, in coro_from_gen File "build/bdist.linux-x86_64/egg/calibre_access/utilities.py", line 79, in parse_generic_server_log_line File "build/bdist.linux-x86_64/egg/calibre_access/utilities.py", line 75, in <lambda> File "/usr/lib/python2.7/_strptime.py", line 332, in _strptime (data_string, format)) ValueError: time data 'calibre 04/Nov/2018:15:50:26 +0100' does not match format '%d/%b/%Y:%H:%M:%S'
the log looks like this
8.8.8.8 port-47837 - 05/Nov/2018:06:19:35 +0100 "GET /get/thumb/5616/calibre-library?sz=300x400 HTTP/1.1" 401 292 8.8.8.8 port-47828 - 05/Nov/2018:06:19:35 +0100 "GET /get/thumb/5611/calibre-library?sz=300x400 HTTP/1.1" 401 292 8.8.8.8 port-47835 - 05/Nov/2018:06:19:35 +0100 "GET /get/thumb/5615/calibre-library?sz=300x400 HTTP/1.1" 401 292 8.8.8.8 port-47836 - 05/Nov/2018:06:19:35 +0100 "GET /get/thumb/5614/calibre-library?sz=300x400 HTTP/1.1" 401 292 8.8.8.8 port-47837 - 05/Nov/2018:06:19:35 +0100 "GET /get/thumb/5613/calibre-library?sz=300x400 HTTP/1.1" 401 292 8.8.8.8 port-48500 - 05/Nov/2018:06:19:35 +0100 "GET /get/thumb/5612/calibre-library?sz=300x400 HTTP/1.1" 401 292
Do you have any idea why?
Thanks

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.