-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Allessandro,

I confirm that changing:
 from tg.configuration import Bunch
to:
 from tg.util import Bunch
in tgext/menu/__init__.py solves my problem.

My application seems to be running fine under tg-2.2 :)


Thanks,
- -- 
Jean-Denis Girard

SysNux                  Systèmes  Linux  en Polynésie française
http://www.sysnux.pf/   Tél: +689 50 10 40 / GSM: +689 79 75 27

Le 21/04/2012 07:46, Alessandro Molina a écrit :
> It seems that tgext.menu is trying to import Bunch from
> tg.configuration while it relies in tg.util.
> Bunch has always relied in tg.utl.Bunch, it was just imported in
> configuration because configuration itself uses it.
> 
> That can be easily fixed by changing tgext/menu/__init__.py to import
> tg.util.Bunch,
> I think that Michael can change it quite quickly as he is the author
> of tgext.menu itself.
> 
> On Sat, Apr 21, 2012 at 6:09 AM, Jean-Denis Girard <[email protected]> 
> wrote:
> Hi,
> 
> I made a quick test of my application under tg-2.2 today. I installed in
> a new virtualenv, without any issue. I quickstarted a project and ran
> tests, everything seemed ok.
> 
> Then I copied my project but got an error when running paster setup-app:
>  File
> "/home/SysNux/tg22_64/lib/python2.6/site-packages/tgext.menu-1.0rc1-py2.6.egg/tgext/menu/__init__.py",
> line 29, in <module>
>    from tg.configuration import Bunch
> ImportError: cannot import name Bunch
> 
> 
> Thanks,
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "TurboGears" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to 
>> [email protected].
>> For more options, visit this group at 
>> http://groups.google.com/group/turbogears?hl=en.
>>
> 
-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAk+S/VYACgkQuu7Rv+oOo/iCfwCfWlHge5mQhKNVF4KssSlJ9WlT
LF4AoJyEza3IF9p5XnQuGedwYhRC5C3D
=XQWi
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to