TurboGears 2.2 Beta

192 views
Skip to first unread message

Michael Pedersen

unread,
Apr 10, 2012, 11:55:08 PM4/10/12
to tg-trunk, tg
Well, after working on the package updates last night, I worked on getting a beta release of TG2.2 out.

You won't find it on PyPi, and I have no intention of ever putting it there.

However, you can install it with only slight variation on the normal instructions:

easy_install -i http://tg.gy/beta tg.devtools

All of the packages are upgraded as high as they can be. That means that only Pylons, Chameleon, repoze.who, and transaction are not at the latest possible release.

People, please test this with your code. File tickets. Let us know of problems. We're going to release this as our current stable release soon. Definitely before the end of May, and hopefully at the end of April. Without your feedback, though, we could create problems for you. We don't want that, so please let us know.

Many new packages, many internal code changes to fix many bugs, and many new features, and no support for Python 2.4. This is a major release. Help us get it right.

Thank you.

--
Michael J. Pedersen
My Online Resume: http://www.icelus.org/ -- Google+ http://plus.ly/pedersen
Google Talk: m.ped...@icelus.org -- Twitter: pedersentg

Mengu

unread,
Apr 11, 2012, 7:51:35 AM4/11/12
to TurboGears
hi michael,

i have given 2.2. beta a try. is it me or i feel a bit of speed? by
the way, wasn't 2.2 was going to use pylonsless branch?
> Google Talk: m.peder...@icelus.org -- Twitter: pedersentg

Alessandro Molina

unread,
Apr 11, 2012, 8:26:42 AM4/11/12
to turbo...@googlegroups.com
On Wed, Apr 11, 2012 at 1:51 PM, Mengu <whal...@gmail.com> wrote:
> hi michael,
>
> i have given 2.2. beta a try. is it me or i feel a bit of speed?

2.2 saw some performance improvements, mostly related to the backport
of some speed changes from the 2.3 branch to Crank.
For a benchmark you can see: http://blog.axant.it/archives/452

It benchmarks controllers that just return "Hello World" to remove the
overhead of the template rendering which is something TG cannot
improve.
TG code itself is around twice as fast as the 2.1 codebase.

> by the way, wasn't 2.2 was going to use pylonsless branch?

The 2.3 release will be pylons less one, 2.2 is the last pylons based release.
We tried to keep major changes at minimum for each release (2.2
already has switch to crank and tw2) to make sure we can keep the best
possible backward compatibility.

Michael Pedersen

unread,
Apr 11, 2012, 11:47:05 AM4/11/12
to turbo...@googlegroups.com
First up, something I'd like to clarify: In my mind, 2.3.x is always a beta release. 2.4 will the stable. This will allow us to really dig in on the profiling, and make the changes we need to in order to get the speed where we want it to be. I'm hoping to see 2.4.0 by the end of the summer. We're going to try to avoid breaking any compatibility, but it could happen. That's why this release (2.2) matters as much as it does. Since things can break for 2.3, we need to have a safe "stopping point" for people, and that means 2.2.

Second: 2.2 is going to be the final release that's built on Pylons. 2.3/2.4 are going to drop it as a requirement.

Third: I would avoid loading any extra rendering engine. Extra code being loaded is extra code that could slow things down. So, if there's no *requirement* to do it, don't do it.

Fourth: Alessandro has done a lot of work on the website. I'm planning on publishing that either tonight or tomorrow night. We'll see what the requirements are.

Fifth: Once that's done, I'm planning on disappearing at night for a few weeks. I'll keep releases coming, but I'm going to be quiet. I have to get to work on making things to help make a business. That means Hiring Pond, and it also means a new wiki, and then I'll build from there. That takes time, though, and if I'm online, I can't focus properly. I have to take the internet away from myself so I can work. I'm sorry, but I need to get this done.

I'll share the results, though. That much I can promise :)


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




--
Michael J. Pedersen

Jean-Denis Girard

unread,
Apr 11, 2012, 12:42:51 PM4/11/12
to turbo...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le 10/04/2012 17:55, Michael Pedersen a �crit :


> Well, after working on the package updates last night, I worked on
> getting a beta release of TG2.2 out.

Hi,

Thanks all for your work.

Is there already documentation for the 2.2 release, especially on
migrating from 2.1 ? I'd like to test the beta, but not sure where to start.


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

>
> You won't find it on PyPi, and I have no intention of ever putting it there.
>
> However, you can install it with only slight variation on the normal
> instructions:
>
> easy_install -i http://tg.gy/beta tg.devtools
>
> All of the packages are upgraded as high as they can be. That means that
> only Pylons, Chameleon, repoze.who, and transaction are not at the
> latest possible release.
>
> People, please test this with your code. File tickets. Let us know of
> problems. We're going to release this as our current stable release
> soon. Definitely before the end of May, and hopefully at the end of
> April. Without your feedback, though, we could create problems for you.
> We don't want that, so please let us know.
>
> Many new packages, many internal code changes to fix many bugs, and many
> new features, and no support for Python 2.4. This is a major release.
> Help us get it right.
>
> Thank you.
>
> --
> Michael J. Pedersen
> My Online Resume: http://www.icelus.org/ -- Google+ http://plus.ly/pedersen

> Google Talk: m.ped...@icelus.org <mailto:m.ped...@icelus.org>
> -- Twitter: pedersentg


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

-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAk+FtIsACgkQuu7Rv+oOo/jCgQCgmiSHZrYPIgCLCdLDhGCLYZrG
7rAAn20eSCIRfcVItA4rGkE3ASKkFXBX
=9MQ/
-----END PGP SIGNATURE-----

Michael Pedersen

unread,
Apr 11, 2012, 12:57:45 PM4/11/12
to turbo...@googlegroups.com
My apologies, I forgot to mention: http://www.turbogears.org/2.2/docs/ is the current doc set for it.

On Wed, Apr 11, 2012 at 12:42 PM, Jean-Denis Girard <jd.g...@sysnux.pf> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le 10/04/2012 17:55, Michael Pedersen a écrit :
> Well, after working on the package updates last night, I worked on
> getting a beta release of TG2.2 out.

Hi,

Thanks all for your work.

Is there already documentation for the 2.2 release, especially on
migrating from 2.1 ? I'd like to test the beta, but not sure where to start.


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
Google Talk: m.ped...@icelus.org -- Twitter: pedersentg

Jean-Denis Girard

unread,
Apr 21, 2012, 12:09:44 AM4/21/12
to turbo...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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,
- --
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 10/04/2012 17:55, Michael Pedersen a �crit :
> Google Talk: m.ped...@icelus.org <mailto:m.ped...@icelus.org>
> -- Twitter: pedersentg
>
> --
> You received this message because you are subscribed to the Google
> Groups "TurboGears" group.
> To post to this group, send email to turbo...@googlegroups.com.
> To unsubscribe from this group, send email to
> turbogears+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/turbogears?hl=en.


-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAk+SMwgACgkQuu7Rv+oOo/hyZQCfQ/SbhUD8TNc8QDZjymRBBwpJ
SAsAnjWT6xSaY0j7uwi2q/sVx8MWosBA
=oK47
-----END PGP SIGNATURE-----

Alessandro Molina

unread,
Apr 21, 2012, 1:46:48 PM4/21/12
to turbo...@googlegroups.com
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 <jd.g...@sysnux.pf> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> 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,
> - --
> 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

Jean-Denis Girard

unread,
Apr 21, 2012, 2:32:54 PM4/21/12
to turbo...@googlegroups.com
-----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 <jd.g...@sysnux.pf> 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 turbo...@googlegroups.com.
>> To unsubscribe from this group, send email to turbogears+...@googlegroups.com.
>> 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-----

Jean-Denis Girard

unread,
Apr 21, 2012, 5:02:13 PM4/21/12
to turbo...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le 21/04/2012 08:32, Jean-Denis Girard a �crit :
> My application seems to be running fine under tg-2.2 :)

Actually I have problem with RestController. I get the following
validation error:
Le champ de saisi � '_method' � n'�tait pas attendu.
(Input field _method was not expected)

I'm using tw.forms and tw.forms.validators, not tw2.


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
-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAk+TIFUACgkQuu7Rv+oOo/g6qACeJOU1NVf8gc0g6MHmVKLY3buZ
El8AnRW8RjTfuEtgIr8bF+vep2fLqsCr
=7htl
-----END PGP SIGNATURE-----

Alessandro Molina

unread,
Apr 22, 2012, 6:52:02 AM4/22/12
to turbo...@googlegroups.com
Can you provide more informations or a test case?
I used 2.2 on a few projects and never seen the issue happen, but I
have to admit that I only use CrudRestController, never used plain
RestController alone.

On Sat, Apr 21, 2012 at 11:02 PM, Jean-Denis Girard <jd.g...@sysnux.pf> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>

> Le 21/04/2012 08:32, Jean-Denis Girard a écrit :
>> My application seems to be running fine under tg-2.2 :)
>
> Actually I have problem with RestController. I get the following
> validation error:

>  Le champ de saisi « '_method' » n'était pas attendu.


> (Input field _method was not expected)
>
> I'm using tw.forms and tw.forms.validators, not tw2.
>
>
> 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


> -----BEGIN PGP SIGNATURE-----
>
> iEYEARECAAYFAk+TIFUACgkQuu7Rv+oOo/g6qACeJOU1NVf8gc0g6MHmVKLY3buZ
> El8AnRW8RjTfuEtgIr8bF+vep2fLqsCr
> =7htl
> -----END PGP SIGNATURE-----
>

Jean-Denis Girard

unread,
Apr 22, 2012, 8:04:23 PM4/22/12
to turbo...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le 22/04/2012 00:52, Alessandro Molina a �crit :


> Can you provide more informations or a test case?

There's not much more to say. _method is an hidden field added to the
form as recommended in the documentation for RestController.

Here is an example from my application running fine with tg2.1:

class Edit_group_form(TableForm):
''' Edit group form
'''
fields = [
TextField('display_name', validator=NotEmpty,
label_text='Descriptif',
help_text=u'Entrez un descriptif du groupe'),
HiddenField('_method', validator=None), # Needed by RestController
hiddenField('group_id', validator=Int),
]
submit_text = u'Valider...'
action = '/groups'
method = 'POST'
hover_help = True
edit_group_form = Edit_group_form('edit_group_form')

....

@expose(template="astportal2.templates.form_new")
def edit(self, id=None, **kw):
''' Display edit group form
'''
if not id: id = kw['group_id']
g = DBSession.query(Group).get(id)
v = {'group_id': g.group_id, 'display_name': g.display_name,
'_method': 'PUT'}
tmpl_context.form = edit_group_form
return dict(title = u'Modification groupe ' + g.group_name,
debug='', values=v)


@validate(edit_group_form, error_handler=edit)
@expose()
def put(self, display_name, group_id):
''' Update group in DB
'''
log.info('update %d' % group_id)
g = DBSession.query(Group).get(group_id)
g.display_name = display_name
flash(u'Groupe modifi�')
redirect('/groups/%d/edit' % group_id)


I have tried to create a simple tg2.2 quickstarted application with a
RestController, but I'm getting another error :
TypeError: No object (name: ToscaWidgets per-request storage) has been
registered for this thread


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
-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAk+UnIcACgkQuu7Rv+oOo/h+EQCgk2RBfFODIhjK4v9mTESaKzKG
4uUAni0gLtWB0/c2LmcMq+SA46S7CQO1
=6BSJ
-----END PGP SIGNATURE-----

Alessandro Molina

unread,
Apr 23, 2012, 3:36:01 PM4/23/12
to turbo...@googlegroups.com
On Mon, Apr 23, 2012 at 2:04 AM, Jean-Denis Girard <jd.g...@sysnux.pf> wrote:
> I have tried to create a simple tg2.2 quickstarted application with a
> RestController, but I'm getting another error :
> TypeError: No object (name: ToscaWidgets per-request storage) has been
> registered for this thread
>

You are probably trying to use Tw1 while by default TG2.2 quickstarts with Tw2.
This can be easily solved by removing the "prefer_toscawidgets2" line
inside config/app_cfg.py

I wrote a test unit to check for the issue but it seems that on 2.2
isn't there anymore, can you confirm this?

Jean-Denis Girard

unread,
Apr 23, 2012, 9:08:02 PM4/23/12
to turbo...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Alessandro,

Le 23/04/2012 09:36, Alessandro Molina a �crit :
> You are probably trying to use Tw1 while by default TG2.2 quickstarts with Tw2.
> This can be easily solved by removing the "prefer_toscawidgets2" line
> inside config/app_cfg.py

Yes, that was my problem, thanks for the pointer.

> I wrote a test unit to check for the issue but it seems that on 2.2
> isn't there anymore, can you confirm this?

Not sure about your question, I had the prefer_toscawidgets2 issue with
tg-2.2 installed last Friday.

Concerning the RestController issue, I found the problem was actually in
my code, in 2 controllers; other controllers (also based on
RestController) were running fine. I have corrected the problem, now my
code runs fine under tg-2.2. Sorry for the noise, and thanks for your
assistance.


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
-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAk+V/PIACgkQuu7Rv+oOo/gu+ACfUbzle3AKIUMLtnX2j8ww1sxj
cfwAnRZE6mn6d/PAVWkvWTpdtZpGAgxN
=O9T7
-----END PGP SIGNATURE-----

Michael Pedersen

unread,
Apr 25, 2012, 12:59:08 AM4/25/12
to turbo...@googlegroups.com
I'm working on tgext.menu. Seems that we've had a few changes, and the tester is pretty broken. I'll get a new version of it released this week sometime, along with tgext.xmlrpc.

On Sat, Apr 21, 2012 at 2:32 PM, Jean-Denis Girard <jd.g...@sysnux.pf> wrote:
-----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

--
Michael J. Pedersen
My Online Resume: http://www.icelus.org/ -- Google+ http://plus.ly/pedersen
Google Talk: m.ped...@icelus.org -- Twitter: pedersentg

Michael Pedersen

unread,
Apr 25, 2012, 11:01:07 PM4/25/12
to turbo...@googlegroups.com
I've just released an updated tgext.menu. It fixes that one line, and then makes all the changes that were necessary so the tests would run to completion again. We're still passing all of them, so that's good.

Jean-Denis Girard

unread,
Apr 26, 2012, 12:12:48 AM4/26/12
to turbo...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Michael,

Le 25/04/2012 17:01, Michael Pedersen a �crit :
> I've just released an updated tgext.menu. It fixes that one line, and
> then makes all the changes that were necessary so the tests would run to
> completion again. We're still passing all of them, so that's good.

I have just upgraded tgext.menu to 1.0rc2 and made a quick test,
everything seems fine, thanks.

This morning I also tried to use toscawidget2, and discovered that it
broke tgext.menu; is this a known problem, or are you interested in more
details?


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
-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAk+Yy0AACgkQuu7Rv+oOo/iSHACfehKARFsiHzVvP66M2u+h2XMy
STEAn0X9Ue71d19a31SCx/7vCNzX7h83
=dKRv
-----END PGP SIGNATURE-----

Michael Pedersen

unread,
Apr 26, 2012, 12:47:03 AM4/26/12
to turbo...@googlegroups.com
What do you mean that tw2 broke tgext.menu? I don't know of problems, and I would very much like to fix them.

Also, I've just finished upgrading tgext.xmlrpc. The changes with crank actually produced compatibility problems. Once I understood the problem, it was a one line fix, but finding that problem took longer than I wanted.

Anyway, it's up. Have at it!

On Thu, Apr 26, 2012 at 12:12 AM, Jean-Denis Girard <jd.g...@sysnux.pf> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Michael,

Le 25/04/2012 17:01, Michael Pedersen a écrit :
> I've just released an updated tgext.menu. It fixes that one line, and
> then makes all the changes that were necessary so the tests would run to
> completion again. We're still passing all of them, so that's good.

I have just upgraded tgext.menu to 1.0rc2 and made a quick test,
everything seems fine, thanks.

This morning I also tried to use toscawidget2, and discovered that it
broke tgext.menu; is this a known problem, or are you interested in more
details?


Thanks,
- --
Jean-Denis Girard

SysNux                  Systèmes  Linux  en Polynésie française
-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAk+Yy0AACgkQuu7Rv+oOo/iSHACfehKARFsiHzVvP66M2u+h2XMy
STEAn0X9Ue71d19a31SCx/7vCNzX7h83
=dKRv
-----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 turbo...@googlegroups.com.
To unsubscribe from this group, send email to turbogears+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.

Jean-Denis Girard

unread,
Apr 26, 2012, 2:40:15 AM4/26/12
to turbo...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le 25/04/2012 18:47, Michael Pedersen a �crit :
> What do you mean that tw2 broke tgext.menu? I don't know of problems,
> and I would very much like to fix them.

Adding: "base_config.use_toscawidgets2 = True" to app_cfg.py generates
these JS errors:

$("ul.jd_menu").jdMenu is not a function
$("#sidebar").jdMenu is not a function


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
-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAk+Y7c8ACgkQuu7Rv+oOo/g6jwCaAmCoKUCNtyrbHieXXuldE4ss
n7AAniyNHFNLOu+6hJ2qZYk3sw51uYvK
=ZkUH
-----END PGP SIGNATURE-----

Michael Pedersen

unread,
Apr 26, 2012, 10:58:36 PM4/26/12
to turbo...@googlegroups.com
This morning, when I read this message, I thought it was an issue with resource ordering. Came home, ready to tackle that problem. Turns out it was not resource ordering.

I didn't wrap the call to jdMenu() in a $(document).ready() block, like I should have. This has been fixed, and 1.0rc3 is out. Thanks for letting me know about this.

On Thu, Apr 26, 2012 at 2:40 AM, Jean-Denis Girard <jd.g...@sysnux.pf> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le 25/04/2012 18:47, Michael Pedersen a écrit :
> What do you mean that tw2 broke tgext.menu? I don't know of problems,
> and I would very much like to fix them.

Adding: "base_config.use_toscawidgets2 = True" to app_cfg.py generates
these JS errors:

$("ul.jd_menu").jdMenu is not a function
$("#sidebar").jdMenu is not a function


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
-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAk+Y7c8ACgkQuu7Rv+oOo/g6jwCaAmCoKUCNtyrbHieXXuldE4ss
n7AAniyNHFNLOu+6hJ2qZYk3sw51uYvK
=ZkUH
-----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 turbo...@googlegroups.com.
To unsubscribe from this group, send email to turbogears+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.

Jean-Denis Girard

unread,
Apr 27, 2012, 2:06:11 AM4/27/12
to turbo...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le 26/04/2012 16:58, Michael Pedersen a �crit :
> This morning, when I read this message, I thought it was an issue with
> resource ordering. Came home, ready to tackle that problem. Turns out it
> was not resource ordering.
>
> I didn't wrap the call to jdMenu() in a $(document).ready() block, like
> I should have. This has been fixed, and 1.0rc3 is out. Thanks for
> letting me know about this.

I've upgraded tgext.menu to rc3, but I still get the exact same JS errors.


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
-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAk+aN1MACgkQuu7Rv+oOo/gd5gCgpXTTC4nURbdJ/7+QgQw0NUxl
UjQAn1Jetl4sDXh6M+LO7YVfqgLqfUKJ
=CliD
-----END PGP SIGNATURE-----

Michael Pedersen

unread,
Apr 27, 2012, 10:44:36 AM4/27/12
to turbo...@googlegroups.com
Okay, then something weird is going on, and I need lots more information than just that JS error.

Please pull up a page where you're getting it, and send me the following information:

  • I need the <script> tags from that page, in the order they appear, from the <head> element.
  • I need to see the <script> block that calls jdMenu
  • I need to know which version of which browser and which operating system

Hopefully, that will provide enough information to debug this.

On Fri, Apr 27, 2012 at 2:06 AM, Jean-Denis Girard <jd.g...@sysnux.pf> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le 26/04/2012 16:58, Michael Pedersen a écrit :
> This morning, when I read this message, I thought it was an issue with
> resource ordering. Came home, ready to tackle that problem. Turns out it
> was not resource ordering.
>
> I didn't wrap the call to jdMenu() in a $(document).ready() block, like
> I should have. This has been fixed, and 1.0rc3 is out. Thanks for
> letting me know about this.

I've upgraded tgext.menu to rc3, but I still get the exact same JS errors.


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
-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAk+aN1MACgkQuu7Rv+oOo/gd5gCgpXTTC4nURbdJ/7+QgQw0NUxl
UjQAn1Jetl4sDXh6M+LO7YVfqgLqfUKJ
=CliD
-----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 turbo...@googlegroups.com.
To unsubscribe from this group, send email to turbogears+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.

Michael Pedersen

unread,
Apr 28, 2012, 1:12:24 AM4/28/12
to TurboGears
Aha, now I see the problem, and it makes perfect sense.

In the file you sent, we have this block:
------------------------------
<script type="text/javascript" src="/tw2/resources/tw2.jquery/static/jquery/1.7.1/jquery.js"></script>
<script type="text/javascript" src="/tw2/resources/tgext.menu.util/static/js/jquery.bgiframe.js"></script>
<script type="text/javascript" src="/tw2/resources/tgext.menu.util/static/js/jquery.dimensions.js"></script>
<script type="text/javascript" src="/tw2/resources/tgext.menu.util/static/js/jquery.positionBy.js"></script>
<script type="text/javascript" src="/tw2/resources/tgext.menu.util/static/js/jquery.jdMenu.js"></script><script type="text/javascript" src="/toscawidgets/resources/tw.jquery.base/static/javascript/jquery-1.4.2.js"></script>
---------------------------------

Notice that there is an include of jquery 1.7.1 at the top, and an include of jquery 1.4.2 at the bottom. Looking at the URLs, we can also see that the first jquery is coming from tw2, while the second is coming from tw1. The ordering of the includes matters here: all of the jquery.jdMenu includes are being included/attached to the 1.7.1 copy of jQuery. Then, along comes the 1.4.2 copy of jQuery and overrides the variable $ resulting in all the plugins that were loaded becoming inaccessible.

Something in your app is including tw1 and tw2. The problem is that tw1 is overriding tw2, and blocking out jdMenu from working. Fix that problem, and the whole problem we've been working on will go away.

Mind you, there were still errors to be cleaned up, so I'm glad we reached this point. But the remaining problem, right now, looks to be inside your app. After reviewing tgext.menu, I couldn't even find a way for me to include tw1 code if tw2 code were enabled.

Jean-Denis Girard

unread,
Apr 28, 2012, 12:19:02 PM4/28/12
to turbo...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

ok, so it means tgext.menu is not compatible with tw2; tw2 is default in
tg2.2 applications, so tgext.menu is not compatible with tg2.2, right ?


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 27/04/2012 19:12, Michael Pedersen a �crit :
> Google Talk: m.ped...@icelus.org <mailto:m.ped...@icelus.org>
> -- Twitter: pedersentg
>
> --
> You received this message because you are subscribed to the Google
> Groups "TurboGears" group.
> To post to this group, send email to turbo...@googlegroups.com.
> To unsubscribe from this group, send email to
> turbogears+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/turbogears?hl=en.
-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAk+cGHYACgkQuu7Rv+oOo/hTWgCgpHU8lEugiSAPhdYDqAx1snCV
40QAn0GmPnReext8HgEwI5Wpv+NhOvQB
=IWhn
-----END PGP SIGNATURE-----

Michael Pedersen

unread,
Apr 28, 2012, 4:21:56 PM4/28/12
to turbo...@googlegroups.com
I'm not really sure how my saying "something in your application is loading another version of jquery over the top of the existing version" got turned into "tgext.menu is incompatible tg2.2", but I will categorically and emphatically state this in no uncertain terms:

tgext.menu is compatible with tg2.1.x and tg2.2. I have just tested it and confirmed it.

When I create a new virtualenv, and install the tg2.2 rc in it, and then install tgext.menu, it works exactly as advertised. I get the navbar, and it works.

I have checked the output HTML source, and this is the <script> block that appears. Compare it with yours, which produces an extra load of jQuery (specifically, 1.4.2).

------------------------------------
<script type="text/javascript" src="/tw2/resources/tw2.jquery/static/jquery/1.7.1/jquery.js"></script>
<script type="text/javascript" src="/tw2/resources/tgext.menu.util/static/js/jquery.bgiframe.js"></script>
<script type="text/javascript" src="/tw2/resources/tgext.menu.util/static/js/jquery.dimensions.js"></script>
<script type="text/javascript" src="/tw2/resources/tgext.menu.util/static/js/jquery.positionBy.js"></script>
<script type="text/javascript" src="/tw2/resources/tgext.menu.util/static/js/jquery.jdMenu.js"></script>
------------------------------------

Something in your application is causing an older version of jQuery to be loaded in the browser. When it does, it overwrites the version of jQuery that was loaded already, and obliterates the plugins. The end result is exactly what you saw happen: tgext.menu produces javascript errors. I don't know what in your application is causing it, but something in there is doing it. Remove that extra load of jQuery, and you will see that it works.

On Sat, Apr 28, 2012 at 12:19 PM, Jean-Denis Girard <jd.g...@sysnux.pf> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

ok, so it means tgext.menu is not compatible with tw2; tw2 is default in
tg2.2 applications, so tgext.menu is not compatible with tg2.2, right ?


Thanks,
- --
Jean-Denis Girard

SysNux                  Systèmes  Linux  en Polynésie française
Google Talk: m.ped...@icelus.org -- Twitter: pedersentg

Jean-Denis Girard

unread,
Apr 28, 2012, 9:14:43 PM4/28/12
to turbo...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ok, I misunderstood your previous message, sorry about that; I have
found where jquery-1.4.2 was injected, tgext.menu works fine now with
tg-2.2 and tw-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 28/04/2012 10:21, Michael Pedersen a �crit :
> --
> You received this message because you are subscribed to the Google
> Groups "TurboGears" group.
> To post to this group, send email to turbo...@googlegroups.com
> <mailto:turbo...@googlegroups.com>.
> To unsubscribe from this group, send email to
> turbogears+...@googlegroups.com
> <mailto:turbogears%2Bunsu...@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/group/turbogears?hl=en.
>
>
>
>
> --
> Michael J. Pedersen
> My Online Resume: http://www.icelus.org/ -- Google+ http://plus.ly/pedersen
> Google Talk: m.ped...@icelus.org <mailto:m.ped...@icelus.org>
> -- Twitter: pedersentg
>
> --
> You received this message because you are subscribed to the Google
> Groups "TurboGears" group.
> To post to this group, send email to turbo...@googlegroups.com.
> To unsubscribe from this group, send email to
> turbogears+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/turbogears?hl=en.
-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAk+clgMACgkQuu7Rv+oOo/hOdACeOkSXDXAQLTtkTqPkE9AULqr6
QKoAn3VBaRObilneJhvlJfAh4HKzJNa9
=PIBP
-----END PGP SIGNATURE-----

Jean-Denis Girard

unread,
Apr 27, 2012, 12:03:42 PM4/27/12
to turbo...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Michael,

Attached is the page as saved by Firefox.

The errors show up on Firefox 11 or 12 (on 2 different Linux systems if
that matters), Chromium, Opera...

Chromium (on Linux) shows:
Uncaught TypeError: Object #<Object> has no method 'jdMenu'
jquery.jdMenu.js:16
Uncaught TypeError: Object #<Object> has no method 'jdMenu'

Opera gives more details:
[27/04/2012 05:58:08] JavaScript - http://localhost:8080/?__logins=0
Event thread: DOMContentLoaded
Uncaught exception: TypeError: '$('ul.jd_menu').jdMenu' is not a function
Error thrown at line 16, column 1 in <anonymous function>() in
http://localhost:8080/tw2/resources/tgext.menu.util/static/js/jquery.jdMenu.js:
$('ul.jd_menu').jdMenu();
called from line 1046, column 4 in <anonymous function:
jQuery.Callbacks>(context, args) in
http://localhost:8080/tw2/resources/tw2.jquery/static/jquery/1.7.1/jquery.js:
if ( list[ firingIndex ].apply( context, args ) === false &&
flags.stopOnFalse )
called via Function.prototype.apply() from line 1164, column 6 in
<anonymous function: fireWith>(context, args) in
http://localhost:8080/tw2/resources/tw2.jquery/static/jquery/1.7.1/jquery.js:
fire( context, args );
called from line 435, column 3 in <anonymous function: ready>(wait) in
http://localhost:8080/tw2/resources/tw2.jquery/static/jquery/1.7.1/jquery.js:
readyList.fireWith( document, [ jQuery ] );
called from line 923, column 2 in <anonymous function:
DOMContentLoaded>() in
http://localhost:8080/tw2/resources/tw2.jquery/static/jquery/1.7.1/jquery.js:
jQuery.ready();

[27/04/2012 05:58:08] JavaScript - http://localhost:8080/?__logins=0
Event thread: DOMContentLoaded
Uncaught exception: TypeError: '$("#sidebar").jdMenu' is not a function
Error thrown at line 3, column 6 in <anonymous function>() in
http://localhost:8080/?__logins=0:
$("#sidebar").jdMenu();
called from line 392, column 5 in <anonymous function: ready>() in
http://localhost:8080/toscawidgets/resources/tw.jquery.base/static/javascript/jquery-1.4.2.js:
fn.call( document, jQuery );
called via Function.prototype.call() from line 745, column 2 in
<anonymous function: DOMContentLoaded>() in
http://localhost:8080/toscawidgets/resources/tw.jquery.base/static/javascript/jquery-1.4.2.js:
jQuery.ready();

I hope that helps.


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 27/04/2012 04:44, Michael Pedersen a �crit :
> Okay, then something weird is going on, and I need lots more information
> than just that JS error.
>
> Please pull up a page where you're getting it, and send me the following
> information:
>
> * I need the <script> tags from that page, in the order they appear,
> from the <head> element.
> * I need to see the <script> block that calls jdMenu
> * I need to know which version of which browser and which operating system
>
>
> Hopefully, that will provide enough information to debug this.
>
> On Fri, Apr 27, 2012 at 2:06 AM, Jean-Denis Girard <jd.g...@sysnux.pf
> <mailto:jd.g...@sysnux.pf>> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Le 26/04/2012 16:58, Michael Pedersen a �crit :
> > This morning, when I read this message, I thought it was an issue with
> > resource ordering. Came home, ready to tackle that problem. Turns
> out it
> > was not resource ordering.
> >
> > I didn't wrap the call to jdMenu() in a $(document).ready() block,
> like
> > I should have. This has been fixed, and 1.0rc3 is out. Thanks for
> > letting me know about this.
>
> I've upgraded tgext.menu to rc3, but I still get the exact same JS
> errors.
>
>
> Thanks,
> - --
> Jean-Denis Girard
>
> SysNux Syst�mes Linux en Polyn�sie fran�aise
> http://www.sysnux.pf/ T�l: +689 50 10 40
> <tel:%2B689%2050%2010%2040> / GSM: +689 79 75 27
> <tel:%2B689%2079%2075%2027>
> -----BEGIN PGP SIGNATURE-----
>
> iEYEARECAAYFAk+aN1MACgkQuu7Rv+oOo/gd5gCgpXTTC4nURbdJ/7+QgQw0NUxl
> UjQAn1Jetl4sDXh6M+LO7YVfqgLqfUKJ
> =CliD
> -----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 turbo...@googlegroups.com
> <mailto:turbo...@googlegroups.com>.
> To unsubscribe from this group, send email to
> turbogears+...@googlegroups.com
> <mailto:turbogears%2Bunsu...@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/group/turbogears?hl=en.
>
>
>
>
> --
> Michael J. Pedersen
> My Online Resume: http://www.icelus.org/ -- Google+ http://plus.ly/pedersen
> Google Talk: m.ped...@icelus.org <mailto:m.ped...@icelus.org>
> -- Twitter: pedersentg
>
> --
> You received this message because you are subscribed to the Google
> Groups "TurboGears" group.
> To post to this group, send email to turbo...@googlegroups.com.
> To unsubscribe from this group, send email to
> turbogears+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/turbogears?hl=en.

-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAk+aw14ACgkQuu7Rv+oOo/hGEgCfRVI2CgGC7NPbuVFj/AzCXout
4mYAnipe10VM0dXiFWbPeiw3uK95xvLo
=dbbF
-----END PGP SIGNATURE-----
index.html

Jean-Denis Girard

unread,
Apr 28, 2012, 12:24:07 AM4/28/12
to TurboGears, m.ped...@icelus.org
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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 27/04/2012 04:44, Michael Pedersen a �crit :
> Okay, then something weird is going on, and I need lots more information
> than just that JS error.
>
> Please pull up a page where you're getting it, and send me the following
> information:
>
> * I need the <script> tags from that page, in the order they appear,
> from the <head> element.
> * I need to see the <script> block that calls jdMenu
> * I need to know which version of which browser and which operating system
>
>
> Hopefully, that will provide enough information to debug this.
>
> On Fri, Apr 27, 2012 at 2:06 AM, Jean-Denis Girard <jd.g...@sysnux.pf
> <mailto:jd.g...@sysnux.pf>> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Le 26/04/2012 16:58, Michael Pedersen a �crit :
> > This morning, when I read this message, I thought it was an issue with
> > resource ordering. Came home, ready to tackle that problem. Turns
> out it
> > was not resource ordering.
> >
> > I didn't wrap the call to jdMenu() in a $(document).ready() block,
> like
> > I should have. This has been fixed, and 1.0rc3 is out. Thanks for
> > letting me know about this.
>
> I've upgraded tgext.menu to rc3, but I still get the exact same JS
> errors.
>
>
> Thanks,
> - --
> Jean-Denis Girard
>
> SysNux Syst�mes Linux en Polyn�sie fran�aise
> http://www.sysnux.pf/ T�l: +689 50 10 40
> <tel:%2B689%2050%2010%2040> / GSM: +689 79 75 27
> <tel:%2B689%2079%2075%2027>
> -----BEGIN PGP SIGNATURE-----
>
> iEYEARECAAYFAk+aN1MACgkQuu7Rv+oOo/gd5gCgpXTTC4nURbdJ/7+QgQw0NUxl
> UjQAn1Jetl4sDXh6M+LO7YVfqgLqfUKJ
> =CliD
> -----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 turbo...@googlegroups.com
> <mailto:turbo...@googlegroups.com>.
> To unsubscribe from this group, send email to
> turbogears+...@googlegroups.com
> <mailto:turbogears%2Bunsu...@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/group/turbogears?hl=en.
>
>
>
>
> --
> Michael J. Pedersen
> My Online Resume: http://www.icelus.org/ -- Google+ http://plus.ly/pedersen
> Google Talk: m.ped...@icelus.org <mailto:m.ped...@icelus.org>
> -- Twitter: pedersentg
>
> --
> You received this message because you are subscribed to the Google
> Groups "TurboGears" group.
> To post to this group, send email to turbo...@googlegroups.com.
> To unsubscribe from this group, send email to
> turbogears+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/turbogears?hl=en.

-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAk+bcOcACgkQuu7Rv+oOo/hmsQCffu37/lJlGkHUjHFnGoQugUvt
BvQAn04IfgOTlMPdo7yRrHtATYNOsBx1
=n2Bb
-----END PGP SIGNATURE-----
index.html

alind

unread,
Jun 16, 2012, 11:21:34 AM6/16/12
to turbogea...@googlegroups.com, tg
I dont know wheter for 2.2beta error/bugs creating a seperate thread is appropriate, so I am posting it in this ongoing thread.
Running a simple quickstart with default values gives this error while accessing the groups in admin .

TypeError: 'SortableColumn' object has no attribute '__getitem__'
View as:   Interactive (full)  |  Text (full)  |  XML (full)
Module ?:47 in <Expression u"XML(tmpl_context.widget(value=value_list, action=mount_point+'.json'))">         view
>>  ${XML(tmpl_context.widget(value=value_list, action=mount_point+'.json'))}
Module sprox.viewbase:104 in __call__         view
>>  return self.__widget__.__call__(*args, **kw)
Module tw.core.base:544 in __call__         view
>>  return self.display(value, **kw)
Module tw.core.base:539 in display         view
>>  kw = self.prepare_dict(value, kw)
Module tw.core.base:582 in prepare_dict         view
>>  self.update_params(d)
Module tw.forms.datagrid:121 in update_params         view
>>  columns = self._parse(fields)
Module tw.forms.datagrid:146 in _parse         view
>>  title, name_or_f = col[:2]
TypeError: 'SortableColumn' object has no attribute '__getitem__'


On Wednesday, 11 April 2012 09:25:08 UTC+5:30, Michael Pedersen wrote:
Well, after working on the package updates last night, I worked on getting a beta release of TG2.2 out.

You won't find it on PyPi, and I have no intention of ever putting it there.

However, you can install it with only slight variation on the normal instructions:

easy_install -i http://tg.gy/beta tg.devtools

All of the packages are upgraded as high as they can be. That means that only Pylons, Chameleon, repoze.who, and transaction are not at the latest possible release.

People, please test this with your code. File tickets. Let us know of problems. We're going to release this as our current stable release soon. Definitely before the end of May, and hopefully at the end of April. Without your feedback, though, we could create problems for you. We don't want that, so please let us know.

Many new packages, many internal code changes to fix many bugs, and many new features, and no support for Python 2.4. This is a major release. Help us get it right.

Thank you.

--
Michael J. Pedersen
My Online Resume: http://www.icelus.org/ -- Google+ http://plus.ly/pedersen
Google Talk: m.ped...@icelus.org -- Twitter: pedersentg


On Wednesday, 11 April 2012 09:25:08 UTC+5:30, Michael Pedersen wrote:
Well, after working on the package updates last night, I worked on getting a beta release of TG2.2 out.

You won't find it on PyPi, and I have no intention of ever putting it there.

However, you can install it with only slight variation on the normal instructions:

easy_install -i http://tg.gy/beta tg.devtools

All of the packages are upgraded as high as they can be. That means that only Pylons, Chameleon, repoze.who, and transaction are not at the latest possible release.

People, please test this with your code. File tickets. Let us know of problems. We're going to release this as our current stable release soon. Definitely before the end of May, and hopefully at the end of April. Without your feedback, though, we could create problems for you. We don't want that, so please let us know.

Many new packages, many internal code changes to fix many bugs, and many new features, and no support for Python 2.4. This is a major release. Help us get it right.

Thank you.

--
Michael J. Pedersen
My Online Resume: http://www.icelus.org/ -- Google+ http://plus.ly/pedersen
Google Talk: m.ped...@icelus.org -- Twitter: pedersentg

Alessandro Molina

unread,
Jun 16, 2012, 11:30:57 AM6/16/12
to turbo...@googlegroups.com
You are probably using a version of sprox that doesn't support ToscaWidgets2, plase make sure you have a clear virtualenv installed from the latest unstable release at http://unstable.tg.gy

--
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To view this discussion on the web visit https://groups.google.com/d/msg/turbogears/-/c_36ru4tykYJ.
Reply all
Reply to author
Forward
0 new messages