[tbb-bugs] #32014 [Applications/Quality Assurance and Testing]: Fix fpcentral after update to buster

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Oct 9 11:32:19 UTC 2019


#32014: Fix fpcentral after update to buster
-------------------------------------+-------------------------------------
     Reporter:  boklm                |      Owner:  boklm
         Type:  defect               |     Status:  assigned
     Priority:  Medium               |  Milestone:
    Component:                       |    Version:
  Applications/Quality Assurance     |
  and Testing                        |   Keywords:  fpcentral,
     Severity:  Normal               |  TorBrowserTeam201910, boklm201910
Actual Points:                       |  Parent ID:
       Points:                       |   Reviewer:
      Sponsor:                       |
-------------------------------------+-------------------------------------
 After upgrading the VM running https://fpcentral.tbb.torproject.org/ to
 buster, fpcentral now fails to run.

 We can see this in the error logs:
 {{{
 mod_wsgi (pid=9229): Failed to exec Python script file
 '/srv/fpcentral.tbb.torproject.org/fpcentral/fpcentral.wsgi'.
 mod_wsgi (pid=9229): Exception occurred processing WSGI script
 '/srv/fpcentral.tbb.torproject.org/fpcentral/fpcentral.wsgi'.
 Traceback (most recent call last):
   File "/srv/fpcentral.tbb.torproject.org/fpcentral/fpcentral.wsgi", line
 9, in <module>
     from run import app as application
   File "/srv/fpcentral.tbb.torproject.org/fpcentral/run.py", line 4, in
 <module>
     from fingerprint.tags_manager import *
   File
 "/srv/fpcentral.tbb.torproject.org/fpcentral/fingerprint/tags_manager.py",
 line 1, in <module>
     from fingerprint.tags.browser import Browser
   File
 "/srv/fpcentral.tbb.torproject.org/fpcentral/fingerprint/tags/browser.py",
 line 2, in <module>
     from ua_parser import user_agent_parser
   File "/usr/lib/python3/dist-packages/ua_parser/user_agent_parser.py",
 line 465, in <module>
     regexes = yaml.load(fp, Loader=SafeLoader)
   File "/usr/lib/python3/dist-packages/yaml/__init__.py", line 72, in load
     return loader.get_single_data()
   File "/usr/lib/python3/dist-packages/yaml/constructor.py", line 37, in
 get_single_data
     return self.construct_document(node)
   File "/usr/lib/python3/dist-packages/yaml/constructor.py", line 41, in
 construct_document
     data = self.construct_object(node)
   File "/usr/lib/python3/dist-packages/yaml/constructor.py", line 86, in
 construct_object
     data = constructor(self, node)
   File "/usr/lib/python3/dist-packages/yaml/constructor.py", line 414, in
 construct_undefined
     node.start_mark)
 yaml.constructor.ConstructorError: could not determine a constructor for
 the tag None
   in "/usr/share/uap-core/regexes.yaml", line 1, column 1
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32014>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tbb-bugs mailing list