Skip to content

Instantly share code, notes, and snippets.

View metaperl's full-sized avatar

Structure and Interpretation of Computer Programs metaperl

View GitHub Profile
[~/prg]$ $HOME/install/stackless/bin/python virtualenv-12.1.1/virtualenv.py ~/prg/nagare-home
$HOME/install/stackless/bin/python virtualenv-12.1.1/virtualenv.py ~/prg/nagare-home
New python executable in /Users/anicca/prg/nagare-home/bin/python
Installing setuptools, pip...done.
[~/prg]$ cd nagare-home/
cd nagare-home/
[~/prg/nagare-home]$ ls
ls
bin include lib
[~/prg/nagare-home]$ cd bin
[~/prg]$ mv nagare-home/ /tmp/junk
mv nagare-home/ /tmp/junk
nagare-home/ -> /tmp/junk
[~/prg]$ ~/install/stackless/bin/python virtualenv-12.1.1/virtualenv.py ~/prg/nagare-home
~/install/stackless/bin/python virtualenv-12.1.1/virtualenv.py ~/prg/nagare-home
New python executable in /Users/anicca/prg/nagare-home/bin/python
Installing setuptools, pip...done.
[~/prg]$ cd nagare-home/
cd nagare-home/
[~/prg/nagare-home]$ ls
# -*- coding: iso-8859-1 -*-
#--
# Copyright (c) 2008-2012 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
# -*- coding: iso-8859-1 -*-
#--
# Copyright (c) 2008-2012 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
# -*- coding: iso-8859-1 -*-
#--
# Copyright (c) 2008-2012 Net-ng.
# All rights reserved.
#
# This software is licensed under the BSD License, as described in
# the file LICENSE.txt, which you should have received as part of
# this distribution.
#--
metaperl@ubuntu:~$ telnet stg-app1 8000
Trying 173.36.28.74...
Connected to stg-app1.localdomain.
Escape character is '^]'.
GET /ttt HTTP/1.0
HTTP/1.0 301 Moved Permanently
Server: PasteWSGIServer/0.5 Python/2.7.8
Date: Wed, 22 Apr 2015 18:44:41 GMT
(nagare-home)tebranno@polaris-stg-app1 nagare-dev $ easy_install nagare==dev
Searching for nagare==dev
Reading https://pypi.python.org/simple/nagare/
Reading http://www.nagare.org
Reading http://www.nagare.org/download
Best match: nagare dev
Downloading http://www.nagare.org/snapshots/nagare-latest#egg=nagare-dev
Processing nagare-latest
Writing /tmp/easy_install-woRhew/nagare-0.4.1-r467/setup.cfg
Running nagare-0.4.1-r467/setup.py -q bdist_egg --dist-dir /tmp/easy_install-woRhew/nagare-0.4.1-r467/egg-dist-tmp-gr5zIf
from __future__ import with_statement
import os
from nagare import component, editor, presentation, validator
import models
print "models: {0}".format(models)
URL: http://polaris-stg-app1.cisco.com:8080/ttt/
File '/home/tebranno/nagare-home/lib/python2.7/site-packages/WebError-0.10.3-py2.7.egg/weberror/evalexception.py', line 431 in respond
app_iter = self.application(environ, detect_start_response)
File '/home/tebranno/nagare-home/lib/python2.7/site-packages/nagare-0.4.1.post467-py2.7.egg/nagare/wsgi.py', line 520 in __call__
response = self.on_exception(request, response)
File '/home/tebranno/nagare-home/lib/python2.7/site-packages/nagare-0.4.1.post467-py2.7.egg/nagare/wsgi.py', line 506 in __call__
output = top.wrap(renderer.content_type, renderer, output)
File '/home/tebranno/nagare-home/lib/python2.7/site-packages/nagare-0.4.1.post467-py2.7.egg/nagare/top.py', line 71 in wrap
html[j:] = [h.body(html[j:])]
File '/home/tebranno/nagare-home/lib/python2.7/site-packages/nagare-0.4.1.post467-py2.7.egg/nagare/namespaces/xml.py', line 210 in __call__
from __future__ import with_statement
import copy
import itertools
import os
from nagare import component, editor, presentation, validator, var
import models