This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Generating public/private rsa key pair. | |
open /home/hadoop/.ssh/id_rsa failed: No such file or directory. | |
Saving the key failed: /home/hadoop/.ssh/id_rsa. | |
chmod: cannot access `/home/hadoop/.ssh/id_rsa': No such file or directory | |
./bootstrap.sh: line 17: /home/hadoop/.ssh/known_hosts: No such file or directory | |
./bootstrap.sh: line 21: /home/hadoop/.bashrc: No such file or directory | |
./bootstrap.sh: line 24: /home/hadoop/.bashrc: No such file or directory | |
./bootstrap.sh: line 27: /home/hadoop/.bashrc: No such file or directory | |
./bootstrap.sh: line 28: /home/hadoop/.bashrc: No such file or directory | |
./bootstrap.sh: line 30: /home/hadoop/.bashrc: No such file or directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gulo.harvest=> (harvest-all "/mnt/beast" :path-file "/home/ubuntu/resource_list.txt") | |
"Harvesting 1 resources" | |
"Downloading records from http://ipt.vertnet.org:8080/ipt/resource.do?r=ccber_mammals" | |
" records found" | |
"Writing to /mnt/beast/2013-12-12/ccber_mammals-6caea6d4-b677-4e29-b574-0165e55b2396/ccber_mammals-6caea6d4-b677-4e29-b574-0165e55b2396.csv" | |
"Done harvesting ccber_mammals" | |
"Copying /mnt/beast/2013-12-12/ccber_mammals-6caea6d4-b677-4e29-b574-0165e55b2396 to gs://vn-harvest/data/2013-12-12/" | |
"Harvest complete." | |
nil |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ERROR 2013-12-10 21:10:00,214 wsgi.py:262] | |
Traceback (most recent call last): | |
File "/Users/tuco/bin/google_appengine/google/appengine/runtime/wsgi.py", line 239, in Handle | |
handler = _config_handle.add_wsgi_middleware(self._LoadHandler()) | |
File "/Users/tuco/bin/google_appengine/google/appengine/api/lib_config.py", line 353, in __getattr__ | |
self._update_configs() | |
File "/Users/tuco/bin/google_appengine/google/appengine/api/lib_config.py", line 289, in _update_configs | |
self._registry.initialize() | |
File "/Users/tuco/bin/google_appengine/google/appengine/api/lib_config.py", line 164, in initialize | |
import_func(self._modname) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INFO 2013-12-10 21:10:00,053 appengine_config.py:31] /Users/tuco/Projects/VertNet/webapp/auth.txt | |
ERROR 2013-12-10 21:10:00,214 wsgi.py:262] | |
Traceback (most recent call last): | |
File "/Users/tuco/bin/google_appengine/google/appengine/runtime/wsgi.py", line 239, in Handle | |
handler = _config_handle.add_wsgi_middleware(self._LoadHandler()) | |
File "/Users/tuco/bin/google_appengine/google/appengine/api/lib_config.py", line 353, in __getattr__ | |
self._update_configs() | |
File "/Users/tuco/bin/google_appengine/google/appengine/api/lib_config.py", line 289, in _update_configs | |
self._registry.initialize() | |
File "/Users/tuco/bin/google_appengine/google/appengine/api/lib_config.py", line 164, in initialize |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title></title | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta name="description" content="VertNet data portal"> | |
<meta name="author" content="Vertnet project"> | |
<link href="/css/docs.css" rel="stylesheet"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def has_tissue(rec): | |
if rec.has_key('preparations'): | |
tissuetokens = ["+t", "tiss", "blood", "dmso", "dna", "extract", "froz", | |
"forzen", "freez", "heart", "muscle", "higado", "kidney", | |
"liver", "lung", "nitrogen", "pectoral", "ri\x96on", | |
"kidney", "rnalater", "sample", "sangre", "toe", "spleen"] | |
for token in tissuetokens: | |
if token in rec['preparations'].lower(): | |
return True | |
return False |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def is_number(s): | |
try: | |
float(s) | |
return True | |
except ValueError: | |
return False | |
def valid_latlng(lat,lng): | |
# accepts lat and lng as strings. | |
if not is_number(lat): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def has_media(rec): | |
if rec.has_key('associatedmedia'): | |
return True | |
if rec.has_key('type'): | |
if rec['type'].lower()=='sound': | |
return True | |
if 'image' in rec['type'].lower(): | |
return True | |
return False | |
if rec.has_key('basisofrecord'): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def record_type(rec): | |
if rec.has_key('type'): | |
if rec['type'].lower() == 'physicalobject': | |
return 'specimen' | |
return 'observation' | |
if rec.has_key('basisofrecord'): | |
if 'spec' in rec[basisofrecord].lower(): | |
return 'specimen' | |
return 'observation' | |
return 'unknown' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Geomancer Test Page</title> | |
<script src="http://www.desarrolloweb.com/articulos/ejemplos/jquery/jquery-1.3.2.min.js" type="text/javascript"></script> | |
<script> | |
function getFormat() { | |
var ua = $.browser; | |
if (ua.msie) { | |
return "&f=csv" | |
} else { |