Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
L
Log MatomNom
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Libre
  • Log MatomNom
  • Issues
  • #6

Closed
Open
Opened Nov 22, 2020 by Michał Woźniak@rysiekOwner

NameError: global name 'fileno' is not defined

logwatch_1                | 2020-11-21 12:17:13,812: [INFO] - /srv/logs/old/nginx/git.rys.io.access.log-2020.11.21-13:17:01.log.gz...
logwatch_1                | 2020-11-21 12:17:16,762: [INFO] Error when connecting to Matomo: HTTP Error 413: Request Entity Too Large
logwatch_1                | 2020-11-21 12:17:16,769: [INFO] Retrying request, attempt number 2
logwatch_1                | 2020-11-21 12:17:26,922: [INFO] Error when connecting to Matomo: HTTP Error 413: Request Entity Too Large
logwatch_1                | 2020-11-21 12:17:26,924: [INFO] Retrying request, attempt number 3
logwatch_1                | 2020-11-21 12:17:37,357: [INFO] Error when connecting to Matomo: HTTP Error 413: Request Entity Too Large
logwatch_1                | 2020-11-21 12:17:37,366: [INFO] Max number of attempts reached, server is unreachable!
logwatch_1                | Exception in thread Thread-2:
logwatch_1                | Traceback (most recent call last):
logwatch_1                |   File "/usr/local/lib/python2.7/threading.py", line 801, in __bootstrap_inner
logwatch_1                |     self.run()
logwatch_1                |   File "/usr/local/lib/python2.7/threading.py", line 754, in run
logwatch_1                |     self.__target(*self.__args, **self.__kwargs)
logwatch_1                |   File "/opt/matomo-log-analytics/import_logs.py", line 1876, in _run_bulk
logwatch_1                |     fatal_error(e, hits[0].filename, hits[0].lineno) # approximate location of error
logwatch_1                |   File "./logwatch.py", line 261, in non_fatal_error
logwatch_1                |     errmsg += "\nIngesting '%s' failed at line %s" % (filename, fileno)
logwatch_1                | NameError: global name 'fileno' is not defined
logwatch_1                | 
Assignee
Assign to
Beta
Milestone
Beta
Assign milestone
Time tracking
None
Due date
None
Reference: libre/log-matomnom#6