Git Product home page Git Product logo

oh-my-earth's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

oh-my-earth's Issues

获取地球图片失败

Updating earth image...
Latest version: 2017/06/23 18:50:00 GMT
Offset version: 2017/06/23 18:50:00 GMT

Downloading tiles: 0/64 completed
Traceback (most recent call last):
File "/usr/local/bin/oh-my-earth", line 34, in
main()
File "/usr/local/bin/oh-my-earth", line 25, in main
EarthManager().run()
File "/home/joshua/funs/oh-my-earth/manage_earth.py", line 127, in run
res = p.map(download_chunk, product(range(level), range(level), (requested_time,)))
File "/usr/lib/python2.7/multiprocessing/pool.py", line 251, in map
return self.map_async(func, iterable, chunksize).get()
File "/usr/lib/python2.7/multiprocessing/pool.py", line 567, in get
raise self._value
multiprocessing.pool.MaybeEncodingError: Error sending result: 'HTTPError()'. Reason: 'TypeError("can't pickle cStringIO.StringO objects",)'

Note: An error when move earth code to manage_earth.py

ERROR:

Updating...
Latest version: 2017/06/03 02:30:00 GMT
Offset version: 2017/06/03 02:30:00 GMT

Downloading tiles: 0/64 completed
Traceback (most recent call last):
  File "./run.py", line 17, in <module>
    main()
  File "./run.py", line 14, in main
    e.run()
  File "/home/xzhao027/Code/oh-my-earth/manage_earth.py", line 127, in run
    res = p.map(download_chunk, product(range(level), range(level), (requested_time,)))
  File "/usr/lib/python2.7/multiprocessing/pool.py", line 251, in map
    return self.map_async(func, iterable, chunksize).get()
  File "/usr/lib/python2.7/multiprocessing/pool.py", line 558, in get
    raise self._value
TypeError: download_chunk() takes exactly 2 arguments (1 given)

ERROR when init a scrapy

$ scrapy startproject momentum

Traceback (most recent call last):
  File "/usr/local/bin/scrapy", line 7, in <module>
    from scrapy.cmdline import execute
  File "/usr/local/lib/python2.7/dist-packages/scrapy/cmdline.py", line 9, in <module>
    from scrapy.crawler import CrawlerProcess
  File "/usr/local/lib/python2.7/dist-packages/scrapy/crawler.py", line 7, in <module>
    from twisted.internet import reactor, defer
  File "/usr/local/lib/python2.7/dist-packages/twisted/internet/reactor.py", line 38, in <module>
    from twisted.internet import default
  File "/usr/local/lib/python2.7/dist-packages/twisted/internet/default.py", line 56, in <module>
    install = _getInstallFunction(platform)
  File "/usr/local/lib/python2.7/dist-packages/twisted/internet/default.py", line 44, in _getInstallFunction
    from twisted.internet.epollreactor import install
  File "/usr/local/lib/python2.7/dist-packages/twisted/internet/epollreactor.py", line 24, in <module>
    from twisted.internet import posixbase
  File "/usr/local/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 18, in <module>
    from twisted.internet import error, udp, tcp
  File "/usr/local/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 28, in <module>
    from twisted.internet._newtls import (
  File "/usr/local/lib/python2.7/dist-packages/twisted/internet/_newtls.py", line 21, in <module>
    from twisted.protocols.tls import TLSMemoryBIOFactory, TLSMemoryBIOProtocol
  File "/usr/local/lib/python2.7/dist-packages/twisted/protocols/tls.py", line 63, in <module>
    from twisted.internet._sslverify import _setAcceptableProtocols
  File "/usr/local/lib/python2.7/dist-packages/twisted/internet/_sslverify.py", line 38, in <module>
    TLSVersion.TLSv1_1: SSL.OP_NO_TLSv1_1,
AttributeError: 'module' object has no attribute 'OP_NO_TLSv1_1'

There are too many processes runs on Ubuntu

I've installed the amazing project. but I found there are many processes runs:

shaun@shaun-ThinkPad-T420:~/Workspace/hotel$ ps -ef|grep python
shaun 3486 3485 0 22:30 ? 00:00:14 python /usr/local/bin/oh-my-earth
shaun 3487 3486 0 22:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 3488 3486 0 22:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 3489 3486 0 22:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 3490 3486 0 22:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 3491 3486 0 22:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 3492 3486 0 22:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 3493 3486 0 22:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 3494 3486 0 22:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 3495 3486 0 22:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 3496 3486 0 22:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 3497 3486 0 22:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 3498 3486 0 22:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 3499 3486 0 22:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 3500 3486 0 22:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 3501 3486 0 22:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 3502 3486 0 22:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 3503 3486 0 22:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 3504 3486 0 22:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 3505 3486 0 22:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 3506 3486 0 22:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 3507 3486 0 22:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 3508 3486 0 22:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 3509 3486 0 22:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 3510 3486 0 22:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 3511 3486 0 22:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 3512 3486 0 22:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 3513 3486 0 22:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 3514 3486 0 22:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 3515 3486 0 22:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 3516 3486 0 22:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 3517 3486 0 22:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 3518 3486 0 22:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 19651 19650 0 23:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 19652 19651 0 23:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 19653 19651 0 23:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 19654 19651 0 23:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 19655 19651 0 23:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 19656 19651 0 23:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 19657 19651 0 23:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 19658 19651 0 23:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 19659 19651 0 23:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 19660 19651 0 23:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 19661 19651 0 23:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 19662 19651 0 23:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 19663 19651 0 23:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 19664 19651 0 23:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 19665 19651 0 23:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 19666 19651 0 23:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 19667 19651 0 23:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 19668 19651 0 23:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 19669 19651 0 23:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 19670 19651 0 23:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 19671 19651 0 23:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 19672 19651 0 23:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 19673 19651 0 23:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 19674 19651 0 23:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 19675 19651 0 23:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 19676 19651 0 23:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 19677 19651 0 23:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 19678 19651 0 23:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 19679 19651 0 23:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 19680 19651 0 23:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 19681 19651 0 23:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 19682 19651 0 23:30 ? 00:00:00 python /usr/local/bin/oh-my-earth
shaun 19683 19651 0 23:30 ? 00:00:00 python /usr/local/bin/oh-my-earth

is this allright?

I'm using Ubuntu 16.04LTS, and set crontab like blow:
*/10 * * * * /usr/local/bin/oh-my-earth

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

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'

ImportError: No module named PIL

when I install than enter oh-my-earth
it show me
Traceback (most recent call last):
File "/usr/local/bin/oh-my-earth", line 13, in
from PIL import Image
ImportError: No module named PIL

how to deal with it

no such file

No such file or directory: 'XXX/.cache/oh-my-earth/momentumdash.random.jpg'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.