trace

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
(pyramid)ad@uris:~/pyramid/backend$ workon pyramid && pserve paste.ini --reload
Starting subprocess with file monitor
/home/ad/pyramid/env/pyramid/local/lib/python2.7/site-packages/scss/__init__.py:86: RuntimeWarning: Scanning acceleration disabled (_speedups not found)!
RuntimeWarning
2014-11-17 21:58:20,978 ERROR: error model capital.cost.form capital.cost.form
Traceback (most recent call last):
File "/home/ad/pyramid/wapy/wapy/app.py", line 139, in make_wsgi
self.router = self.config.make_wsgi_app()
File "/home/ad/pyramid/env/pyramid/local/lib/python2.7/site-packages/pyramid-1.5.1-py2.7.egg/pyramid/config/__init__.py", line 951, in make_wsgi_app
self.registry.notify(ApplicationCreated(app))
File "/home/ad/pyramid/env/pyramid/local/lib/python2.7/site-packages/pyramid-1.5.1-py2.7.egg/pyramid/registry.py", line 74, in notify
[ _ for _ in self.subscribers(events, None) ]
File "/home/ad/pyramid/env/pyramid/lib/python2.7/site-packages/zope.interface-4.1.1-py2.7-linux-x86_64.egg/zope/interface/registry.py", line 328, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/ad/pyramid/env/pyramid/lib/python2.7/site-packages/zope.interface-4.1.1-py2.7-linux-x86_64.egg/zope/interface/adapter.py", line 601, in subscribers
subscription(*objects)
File "/home/ad/pyramid/env/pyramid/local/lib/python2.7/site-packages/pyramid-1.5.1-py2.7.egg/pyramid/config/adapters.py", line 103, in derived_subscriber
return subscriber(arg[0])
File "/home/ad/pyramid/backend/uris/security/schema.py", line 243, in make_map_ev
make_map()
File "/home/ad/pyramid/backend/uris/security/schema.py", line 237, in make_map
format_resource_map()
File "/home/ad/pyramid/backend/uris/security/schema.py", line 180, in format_resource_map
collect_urls(pagelet, pagelet)
File "/home/ad/pyramid/backend/uris/security/schema.py", line 173, in collect_urls
resource_map[map_name].add(models_map[model])
KeyError: 'object_name'
Traceback (most recent call last):
File "/home/ad/pyramid/env/pyramid/bin/pserve", line 9, in <module>
load_entry_point('pyramid==1.5.1', 'console_scripts', 'pserve')()
File "/home/ad/pyramid/env/pyramid/local/lib/python2.7/site-packages/pyramid-1.5.1-py2.7.egg/pyramid/scripts/pserve.py", line 51, in main
return command.run()
File "/home/ad/pyramid/env/pyramid/local/lib/python2.7/site-packages/pyramid-1.5.1-py2.7.egg/pyramid/scripts/pserve.py", line 316, in run
global_conf=vars)
File "/home/ad/pyramid/env/pyramid/local/lib/python2.7/site-packages/pyramid-1.5.1-py2.7.egg/pyramid/scripts/pserve.py", line 340, in loadapp
return loadapp(app_spec, name=name, relative_to=relative_to, **kw)
File "/home/ad/pyramid/env/pyramid/lib/python2.7/site-packages/PasteDeploy-1.5.2-py2.7.egg/paste/deploy/loadwsgi.py", line 247, in loadapp
return loadobj(APP, uri, name=name, **kw)
File "/home/ad/pyramid/env/pyramid/lib/python2.7/site-packages/PasteDeploy-1.5.2-py2.7.egg/paste/deploy/loadwsgi.py", line 272, in loadobj
return context.create()
File "/home/ad/pyramid/env/pyramid/lib/python2.7/site-packages/PasteDeploy-1.5.2-py2.7.egg/paste/deploy/loadwsgi.py", line 710, in create
return self.object_type.invoke(self)
File "/home/ad/pyramid/env/pyramid/lib/python2.7/site-packages/PasteDeploy-1.5.2-py2.7.egg/paste/deploy/loadwsgi.py", line 146, in invoke
return fix_call(context.object, context.global_conf, **context.local_conf)
File "/home/ad/pyramid/env/pyramid/lib/python2.7/site-packages/PasteDeploy-1.5.2-py2.7.egg/paste/deploy/util.py", line 55, in fix_call
val = callable(*args, **kw)
File "/home/ad/pyramid/backend/uris/app.py", line 28, in main
router = app.make_wsgi()
File "/home/ad/pyramid/wapy/wapy/app.py", line 139, in make_wsgi
self.router = self.config.make_wsgi_app()
File "/home/ad/pyramid/env/pyramid/local/lib/python2.7/site-packages/pyramid-1.5.1-py2.7.egg/pyramid/config/__init__.py", line 951, in make_wsgi_app
self.registry.notify(ApplicationCreated(app))
File "/home/ad/pyramid/env/pyramid/local/lib/python2.7/site-packages/pyramid-1.5.1-py2.7.egg/pyramid/registry.py", line 74, in notify
[ _ for _ in self.subscribers(events, None) ]
File "/home/ad/pyramid/env/pyramid/lib/python2.7/site-packages/zope.interface-4.1.1-py2.7-linux-x86_64.egg/zope/interface/registry.py", line 328, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/ad/pyramid/env/pyramid/lib/python2.7/site-packages/zope.interface-4.1.1-py2.7-linux-x86_64.egg/zope/interface/adapter.py", line 601, in subscribers
subscription(*objects)
File "/home/ad/pyramid/env/pyramid/local/lib/python2.7/site-packages/pyramid-1.5.1-py2.7.egg/pyramid/config/adapters.py", line 103, in derived_subscriber
return subscriber(arg[0])
File "/home/ad/pyramid/backend/uris/security/schema.py", line 243, in make_map_ev
make_map()
File "/home/ad/pyramid/backend/uris/security/schema.py", line 237, in make_map
format_resource_map()
File "/home/ad/pyramid/backend/uris/security/schema.py", line 180, in format_resource_map
collect_urls(pagelet, pagelet)
File "/home/ad/pyramid/backend/uris/security/schema.py", line 173, in collect_urls
resource_map[map_name].add(models_map[model])
KeyError: 'object_name'
(pyramid)ad@uris:~/pyramid/backend$