Dear all, sorry that it took so long. tw2.core==2.2.1.1 is a hotfix release which contains just this one fix. You can install it from PyPI.
I could track the misbehaviour down to the use of six.moves.map, which points to the function formerly known as imap, instead of the builtin map, which got added in the Python 3 porting process. So the fix was as simple as evaluating the iterator that map returns now. See the issue on Github and the linked commit for more details: https://github.com/toscawidgets/tw2.core/issues/104 Regards, Moritz On 17.12.2013 14:52, Moritz Schlarb wrote: > You two, since this is more likely a problem with ToscaWidgets2, please > post all versions of installed tw2 packages here, too. > > Since I can reproduce the problem with > tw2.ace==0.2.1 > tw2.bootstrap.forms==2.2.0 > tw2.core==2.2.0.8 > tw2.dynforms==2.0.1 > tw2.forms==2.2.0.3 > tw2.jqplugins.chosen==0.2 > tw2.jquery==2.2.0.2 > tw2.pygmentize==0.1 > tw2.sqla==2.1.0 > tw2.wysihtml5==0.3.1 > I crosspost it to the ToscaWidgets ML. > > Am 05.12.2013 21:30, schrieb Shane Ó Conchúir: >> Hi all, >> >> I have the same problem as Juraj. I am using TurboGears 2.3.0b3. My test >> website worked perfectly but I am having trouble deploying a production >> server. I have tried the following commands: >> python setup.py archive_tw2_resources >> python setup.py archive_tw2_resources -d tw2.dynforms >> under my personal account, the www-data user, and with and without >> activating the tg2 environment. The output is: >> >> running archive_tw2_resources >> Creating temp dir /tmp/tmpuVSbzX >> Extracting resources >> Deleting old output dir myapp/public/tw2/ >> Creating output dir >> Moving build to myapp/public/tw2/resources >> >> but not files are created/copied into myapp/public/tw2/resources. Some >> of the files I use on the site are: >> >> .../tw2/resources/tw2.dynforms.widgets/static/dynforms.js >> .../tw2/resources/tw2.forms/static/forms.css >> .../tw2/resources/tw2.dynforms.widgets/static/*.png >> >> So I think I can easily get away with manually copying those files. >> However, a proper fix would be better. >> >> Regards, >> Shane >> >> On Sunday, October 6, 2013 4:49:26 AM UTC-7, Juraj Variny wrote: >> >> Hello, >> >> after upgrade to tg2.3 ( using py 2.7.5 ) I got an error: >> >> % python setup.py archive_tw2_resources >> error: invalid command 'archive_tw2_resources' >> >> Everything other seems to work. I thought the old virtualenv may be >> slightly broken(mix of easy_install and pip installed stuff) so >> retried with completely new virtualenv - created it exactly >> according to "Give It a Try" on tg website. Now it accepts the command: >> >> running archive_tw2_resources >> Creating temp dir /tmp/tmpb9pAZl >> Extracting resources >> Deleting old output dir example/public/tw2/ >> Creating output dir >> Moving build to example/public/tw2/resources >> >> but it puts no files into output directory at all. >> >> Regards, >> >> Juraj >> >> -- >> You received this message because you are subscribed to the Google >> Groups "TurboGears" group. >> To unsubscribe from this group and stop receiving emails from it, send >> an email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/turbogears. >> For more options, visit https://groups.google.com/groups/opt_out. > -- Moritz Schlarb -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/turbogears. For more options, visit https://groups.google.com/groups/opt_out.

