oh-my-earth icon indicating copy to clipboard operation
oh-my-earth copied to clipboard

cannot open file ~/.cache/oh-my-earth/momentumdash.random.jpg

Open zxj5470 opened this issue 6 years ago • 1 comments

OS: Ubuntu 16.04.3 Unity have installed dependencies ..... and run: oh-my earth

Updating momentumdash image...
Traceback (most recent call last):
  File "/usr/local/bin/oh-my-earth", line 34, in <module>
    main()
  File "/usr/local/bin/oh-my-earth", line 28, in main
    MomentumdashManager().run()
  File "/media/zh/SharedFiles/git/oh-my-earth/manage_momentum.py", line 48, in run
    self.get_bg_picture()
  File "/media/zh/SharedFiles/git/oh-my-earth/manage_momentum.py", line 39, in get_bg_picture
    urllib.urlretrieve(imgurl, momentumdash_output_file)
  File "/usr/lib/python2.7/urllib.py", line 98, in urlretrieve
    return opener.retrieve(url, filename, reporthook, data)
  File "/usr/lib/python2.7/urllib.py", line 249, in retrieve
    tfp = open(filename, 'wb')
IOError: [Errno 2] No such file or directory: '/home/zxj5470/.cache/oh-my-earth/momentumdash.random.jpg'

zxj5470 avatar Dec 08 '17 07:12 zxj5470

先创建目录 ~/.cache/oh-my-earth

gmftbyGMFTBY avatar Apr 06 '18 07:04 gmftbyGMFTBY