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.

