Skip to content

ValueError: register__hiding_tag__type: type has no '_hiding_tag_' slot #4

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?

1. installed apptrace as described in wiki with easy_install apptrace and then 
with easy_install-2.5 in /Library/Python/2.5/site-packages/
2. configured app with main.py and any url like that :

apptrace_URL_PATTERNS  = ['^/$']
apptrace_TRACE_MODULES = ['main.py']

3. i try to laod o on any page and the reported error bellow is triggered

What is the expected output? What do you see instead?

.. fatal error!

What version of the product are you using? On what operating system?

OSX 10.6.4
Python 2.5.4
AppEngine 1.3.8
Django 1.1 (loaded using use_library)

Other middleware installed (I disabled them, no difference):

gaesessions
appstats

Please provide any additional information below.

Full traceback:

--> --> -->

Traceback (most recent call last):
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py", line 3211, in _HandleRequest
    self._Dispatch(dispatcher, self.rfile, outfile, env_dict)
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py", line 3154, in _Dispatch
    base_env_dict=env_dict)
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py", line 527, in Dispatch
    base_env_dict=base_env_dict)
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py", line 2404, in Dispatch
    self._module_dict)
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py", line 2314, in ExecuteCGI
    reset_modules = exec_script(handler_path, cgi_path, hook)
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py", line 2210, in ExecuteOrImportScript
    exec module_code in script_module.__dict__
  File "/Hookt/myapp/app/main.py", line 93, in <module>
    main()
  File "/Hookt/myapp/app/main.py", line 90, in main
    run_wsgi_app(application)
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/ext/webapp/util.py", line 97, in run_wsgi_app
    run_bare_wsgi_app(add_wsgi_middleware(application))
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/ext/webapp/util.py", line 117, in run_bare_wsgi_app
    for data in result:
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/ext/appstats/recording.py", line 857, in appstats_wsgi_wrapper
    result = app(environ, appstats_start_response)
  File "/Hookt/myapp/app/vendors/gaesessions/__init__.py", line 429, in __call__
    return self.app(environ, my_start_response)
  File "/Hookt/myapp/app/apptrace/middleware.py", line 116, in wsgi_app
    if record: recorder.trace()
  File "/Hookt/myapp/app/apptrace/instruments.py", line 212, in trace
    iso = hp.iso(obj)
  File "/Hookt/myapp/app/apptrace/guppy/etc/Glue.py", line 45, in __getattr__
    return self._share.getattr(self, name)
  File "/Hookt/myapp/app/apptrace/guppy/etc/Glue.py", line 195, in getattr
    d = self.getattr2(inter, cache, owner, name)
  File "/Hookt/myapp/app/apptrace/guppy/etc/Glue.py", line 215, in getattr2
    x = self.getattr3(inter, name)
  File "/Hookt/myapp/app/apptrace/guppy/etc/Glue.py", line 285, in getattr3
    x = getattr(pa, name)
  File "/Hookt/myapp/app/apptrace/guppy/etc/Glue.py", line 45, in __getattr__
    return self._share.getattr(self, name)
  File "/Hookt/myapp/app/apptrace/guppy/etc/Glue.py", line 195, in getattr
    d = self.getattr2(inter, cache, owner, name)
  File "/Hookt/myapp/app/apptrace/guppy/etc/Glue.py", line 215, in getattr2
    x = self.getattr3(inter, name)
  File "/Hookt/myapp/app/apptrace/guppy/etc/Glue.py", line 311, in getattr3
    x = f()
  File "/Hookt/myapp/app/apptrace/guppy/heapy/UniSet.py", line 2177, in _get_iso
    return self.fam_IdentitySet
  File "/Hookt/myapp/app/apptrace/guppy/etc/Glue.py", line 45, in __getattr__
    return self._share.getattr(self, name)
  File "/Hookt/myapp/app/apptrace/guppy/etc/Glue.py", line 195, in getattr
    d = self.getattr2(inter, cache, owner, name)
  File "/Hookt/myapp/app/apptrace/guppy/etc/Glue.py", line 215, in getattr2
    x = self.getattr3(inter, name)
  File "/Hookt/myapp/app/apptrace/guppy/etc/Glue.py", line 311, in getattr3
    x = f()
  File "/Hookt/myapp/app/apptrace/guppy/heapy/UniSet.py", line 2141, in _get_fam_IdentitySet
    def _get_fam_IdentitySet(self):return self.IdentitySetFamily(self)
  File "/Hookt/myapp/app/apptrace/guppy/heapy/UniSet.py", line 1507, in __init__
    self.defrefining(mod.Anything)
  File "/Hookt/myapp/app/apptrace/guppy/etc/Glue.py", line 45, in __getattr__
    return self._share.getattr(self, name)
  File "/Hookt/myapp/app/apptrace/guppy/etc/Glue.py", line 195, in getattr
    d = self.getattr2(inter, cache, owner, name)
  File "/Hookt/myapp/app/apptrace/guppy/etc/Glue.py", line 215, in getattr2
    x = self.getattr3(inter, name)
  File "/Hookt/myapp/app/apptrace/guppy/etc/Glue.py", line 311, in getattr3
    x = f()
  File "/Hookt/myapp/app/apptrace/guppy/heapy/UniSet.py", line 2115, in _get_Anything
    def _get_Anything(self):    return self.Use.Unity.classifier.get_kind(None)
  File "/Hookt/myapp/app/apptrace/guppy/etc/Glue.py", line 45, in __getattr__
    return self._share.getattr(self, name)
  File "/Hookt/myapp/app/apptrace/guppy/etc/Glue.py", line 195, in getattr
    d = self.getattr2(inter, cache, owner, name)
  File "/Hookt/myapp/app/apptrace/guppy/etc/Glue.py", line 215, in getattr2
    x = self.getattr3(inter, name)
  File "/Hookt/myapp/app/apptrace/guppy/etc/Glue.py", line 285, in getattr3
    x = getattr(pa, name)
  File "/Hookt/myapp/app/apptrace/guppy/etc/Glue.py", line 45, in __getattr__
    return self._share.getattr(self, name)
  File "/Hookt/myapp/app/apptrace/guppy/etc/Glue.py", line 195, in getattr
    d = self.getattr2(inter, cache, owner, name)
  File "/Hookt/myapp/app/apptrace/guppy/etc/Glue.py", line 215, in getattr2
    x = self.getattr3(inter, name)
  File "/Hookt/myapp/app/apptrace/guppy/etc/Glue.py", line 311, in getattr3
    x = f()
  File "/Hookt/myapp/app/apptrace/guppy/heapy/Classifiers.py", line 1283, in _get_Unity
    return self._er_by_(ByUnity, self, name='Unity')
  File "/Hookt/myapp/app/apptrace/guppy/heapy/Classifiers.py", line 1263, in _er_by_
    return self.UniSet.fam_EquivalenceRelation(constructor, *args, **kwds)
  File "/Hookt/myapp/app/apptrace/guppy/heapy/UniSet.py", line 1856, in __call__
    cl = constructor(*args, **kwds)
  File "/Hookt/myapp/app/apptrace/guppy/heapy/Classifiers.py", line 317, in __init__
    Classifier.__init__(self, mod, name, mod.hv.cli_none(),
  File "/Hookt/myapp/app/apptrace/guppy/etc/Glue.py", line 45, in __getattr__
    return self._share.getattr(self, name)
  File "/Hookt/myapp/app/apptrace/guppy/etc/Glue.py", line 195, in getattr
    d = self.getattr2(inter, cache, owner, name)
  File "/Hookt/myapp/app/apptrace/guppy/etc/Glue.py", line 215, in getattr2
    x = self.getattr3(inter, name)
  File "/Hookt/myapp/app/apptrace/guppy/etc/Glue.py", line 285, in getattr3
    x = getattr(pa, name)
  File "/Hookt/myapp/app/apptrace/guppy/etc/Glue.py", line 45, in __getattr__
    return self._share.getattr(self, name)
  File "/Hookt/myapp/app/apptrace/guppy/etc/Glue.py", line 195, in getattr
    d = self.getattr2(inter, cache, owner, name)
  File "/Hookt/myapp/app/apptrace/guppy/etc/Glue.py", line 215, in getattr2
    x = self.getattr3(inter, name)
  File "/Hookt/myapp/app/apptrace/guppy/etc/Glue.py", line 311, in getattr3
    x = f()
  File "/Hookt/myapp/app/apptrace/guppy/heapy/View.py", line 160, in _get_hv
    is_hiding_calling_interpreter = self.is_hiding_calling_interpreter)
  File "/Hookt/myapp/app/apptrace/guppy/heapy/View.py", line 397, in new_hv
    hv.register__hiding_tag__type(self._parent.UniSet.Kind)
ValueError: register__hiding_tag__type: type has no '_hiding_tag_' slot

Original issue reported on code.google.com by jeanphil...@gmail.com on 20 Oct 2010 at 2:08

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions