Advertisement
Guest User

Python3 Error during upgrade to min 20

a guest
Jul 28th, 2020
309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.91 KB | None | 0 0
  1. Preconfiguring packages ...
  2. Setting up python3 (3.8.2-0ubuntu2) ...
  3. running python rtupdate hooks for python3.8...
  4. /usr/share/bleachbit/bleachbit/__init__.py:260: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  5. if msgctxt is not None and msgctxt is not "":
  6. Traceback (most recent call last):
  7. File "/usr/lib/python3.8/py_compile.py", line 144, in compile
  8. code = loader.source_to_code(source_bytes, dfile or file,
  9. File "<frozen importlib._bootstrap_external>", line 846, in source_to_code
  10. File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  11. File "/usr/share/eric/modules/QScintilla/Editor.py", line 4575
  12. def addCompletionListHook(self, key, func, async=False):
  13. ^
  14. SyntaxError: invalid syntax
  15.  
  16. During handling of the above exception, another exception occurred:
  17.  
  18. Traceback (most recent call last):
  19. File "/usr/lib/python3.8/py_compile.py", line 197, in main
  20. compile(filename, doraise=True)
  21. File "/usr/lib/python3.8/py_compile.py", line 150, in compile
  22. raise py_exc
  23. __main__.PyCompileError: File "/usr/share/eric/modules/QScintilla/Editor.py", line 4575
  24. def addCompletionListHook(self, key, func, async=False):
  25. ^
  26. SyntaxError: invalid syntax
  27.  
  28.  
  29. During handling of the above exception, another exception occurred:
  30.  
  31. Traceback (most recent call last):
  32. File "/usr/lib/python3.8/runpy.py", line 193, in _run_module_as_main
  33. return _run_code(code, main_globals, None,
  34. File "/usr/lib/python3.8/runpy.py", line 86, in _run_code
  35. exec(code, run_globals)
  36. File "/usr/lib/python3.8/py_compile.py", line 218, in <module>
  37. sys.exit(main())
  38. File "/usr/lib/python3.8/py_compile.py", line 200, in main
  39. if quiet < 2:
  40. NameError: name 'quiet' is not defined
  41. error running python rtupdate hook eric
  42. /usr/share/hplip/base/utils.py:2041: SyntaxWarning: "is" with a literal. Did you mean "=="?
  43. if weburl is "" or weburl is None:
  44. /usr/share/hplip/check-plugin.py:116: SyntaxWarning: "is" with a literal. Did you mean "=="?
  45. if log_level is 'debug':
  46. /usr/share/hplip/check.py:685: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  47. if 'getfacl' not in g and '' is not g and 'file' not in g:
  48. /usr/share/hplip/installer/core_install.py:1898: SyntaxWarning: "is" with a literal. Did you mean "=="?
  49. if home_dir is "":
  50. /usr/share/hplip/ui5/devmgr_ext.py:15: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  51. if self.latest_available_version is not "":
  52. /usr/share/hplip/ui5/devmgr_ext.py:37: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  53. if self.latest_available_version is not "":
  54. dpkg: error processing package python3 (--configure):
  55. installed python3 package post-installation script subprocess returned error exit status 4
  56. Errors were encountered while processing:
  57. python3
  58. E: Sub-process /usr/bin/dpkg returned an error code (1)
  59.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement