Advertisement
cqlanus

weewx logs: No module named 'Image'

Jan 17th, 2021
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.35 KB | None | 0 0
  1. Jan 17 21:41:15 weewx[18] DEBUG weewx.reportengine: Running report 'Belchertown'
  2. Jan 17 21:41:15 weewx[18] DEBUG weewx.reportengine: Found configuration file /home/weewx/skins/Belchertown/skin.conf for report 'Belchertown'
  3. Jan 17 21:41:15 weewx[18] DEBUG weewx.cheetahgenerator: Using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', 'user.belchertown.getData']
  4. Jan 17 21:41:15 weewx[18] DEBUG weewx.manager: Daily summary version is 2.0
  5. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: Caught unrecoverable exception in generator 'weewx.cheetahgenerator.CheetahGenerator'
  6. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** No module named 'Image'
  7. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** Traceback (most recent call last):
  8. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** File "/home/weewx/bin/weeplot/genplot.py", line 15, in <module>
  9. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** from PIL import Image, ImageDraw
  10. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** ModuleNotFoundError: No module named 'PIL'
  11. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: ****
  12. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** During handling of the above exception, another exception occurred:
  13. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: ****
  14. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** Traceback (most recent call last):
  15. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** File "/home/weewx/bin/weewx/reportengine.py", line 197, in run
  16. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** obj.start()
  17. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** File "/home/weewx/bin/weewx/reportengine.py", line 280, in start
  18. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** self.run()
  19. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** File "/home/weewx/bin/weewx/cheetahgenerator.py", line 147, in run
  20. Traceback (most recent call last):
  21. File "/home/weewx/bin/weeplot/genplot.py", line 15, in <module>
  22. from PIL import Image, ImageDraw
  23. ModuleNotFoundError: No module named 'PIL'
  24.  
  25. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** self.initExtensions(gen_dict[section_name])
  26. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** File "/home/weewx/bin/weewx/cheetahgenerator.py", line 189, in initExtensions
  27. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** class_ = weeutil.weeutil.get_object(x)
  28. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** File "/home/weewx/bin/weeutil/weeutil.py", line 1093, in get_object
  29. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** mod = __import__(module)
  30. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** File "/home/weewx/bin/user/belchertown.py", line 28, in <module>
  31. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** import weeplot.genplot
  32. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** File "/home/weewx/bin/weeplot/genplot.py", line 17, in <module>
  33. During handling of the above exception, another exception occurred:
  34. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** import Image, ImageDraw
  35. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** ModuleNotFoundError: No module named 'Image'
  36. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** Generator terminated
  37.  
  38. Traceback (most recent call last):
  39. File "/home/weewx/bin/weewx/reportengine.py", line 197, in run
  40. obj.start()
  41. File "/home/weewx/bin/weewx/reportengine.py", line 280, in start
  42. self.run()
  43. File "/home/weewx/bin/weewx/cheetahgenerator.py", line 147, in run
  44. self.initExtensions(gen_dict[section_name])
  45. File "/home/weewx/bin/weewx/cheetahgenerator.py", line 189, in initExtensions
  46. class_ = weeutil.weeutil.get_object(x)
  47. File "/home/weewx/bin/weeutil/weeutil.py", line 1093, in get_object
  48. mod = __import__(module)
  49. File "/home/weewx/bin/user/belchertown.py", line 28, in <module>
  50. import weeplot.genplot
  51. File "/home/weewx/bin/weeplot/genplot.py", line 17, in <module>
  52. import Image, ImageDraw
  53. ModuleNotFoundError: No module named 'Image'
  54. Jan 17 21:41:15 weewx[18] INFO weewx.reportengine: Copied 37 files to /var/www/html
  55. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: Unable to instantiate generator 'user.belchertown.HighchartsJsonGenerator'
  56. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** No module named 'Image'
  57. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** Traceback (most recent call last):
  58. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** File "/home/weewx/bin/weeplot/genplot.py", line 15, in <module>
  59. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** from PIL import Image, ImageDraw
  60. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** ModuleNotFoundError: No module named 'PIL'
  61. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: ****
  62. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** During handling of the above exception, another exception occurred:
  63. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: ****
  64. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** Traceback (most recent call last):
  65. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** File "/home/weewx/bin/weewx/reportengine.py", line 180, in run
  66. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** obj = weeutil.weeutil.get_object(generator)(
  67. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** File "/home/weewx/bin/weeutil/weeutil.py", line 1093, in get_object
  68. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** mod = __import__(module)
  69. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** File "/home/weewx/bin/user/belchertown.py", line 28, in <module>
  70. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** import weeplot.genplot
  71. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** File "/home/weewx/bin/weeplot/genplot.py", line 17, in <module>
  72. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** import Image, ImageDraw
  73. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** ModuleNotFoundError: No module named 'Image'
  74. Jan 17 21:41:15 weewx[18] ERROR weewx.reportengine: **** Generator ignored
  75. Traceback (most recent call last):
  76. File "/home/weewx/bin/weeplot/genplot.py", line 15, in <module>
  77. from PIL import Image, ImageDraw
  78. ModuleNotFoundError: No module named 'PIL'
  79.  
  80. During handling of the above exception, another exception occurred:
  81.  
  82. Traceback (most recent call last):
  83. File "/home/weewx/bin/weewx/reportengine.py", line 180, in run
  84. obj = weeutil.weeutil.get_object(generator)(
  85. File "/home/weewx/bin/weeutil/weeutil.py", line 1093, in get_object
  86. mod = __import__(module)
  87. File "/home/weewx/bin/user/belchertown.py", line 28, in <module>
  88. import weeplot.genplot
  89. File "/home/weewx/bin/weeplot/genplot.py", line 17, in <module>
  90. import Image, ImageDraw
  91. ModuleNotFoundError: No module named 'Image'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement