Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #1497 (closed defect: fixed)

Opened 11 years ago

Last modified 11 years ago

Missing files from 1.0.3.2 after build

Reported by: lmacken Owned by: anonymous
Priority: normal Milestone: 1.0.4
Component: TurboGears Version: 1.0.3
Severity: major Keywords:
Cc:

Description

I'm trying to get 1.0.3.2 packaged up for Fedora, but `python setup.py build` doesn't seem to be copying over all of the necessary files. It looks as if kid/js/css/tmpl files are not getting installed properly during the build.

For example, the sitetemplate.kid file exist with TurboGears 1.0.2.2:

[lmacken@crow TurboGears-1.0.2.2]$ ls -l turbogears/view/templates/
sitetemplate.kid
-rw-r--r-- 1 lmacken lmacken 748 2007-01-05 16:07 turbogears/view/
templates/sitetemplate.kid
[lmacken@crow TurboGears-1.0.2.2]$ python setup.py build
[lmacken@crow TurboGears-1.0.2.2]$ ls -l build/lib/turbogears/view/
templates/sitetemplate.kid
-rw-r--r-- 1 lmacken lmacken 748 2007-01-05 16:07 build/lib/turbogears/
view/templates/sitetemplate.kid

...but does not with TurboGears 1.0.3.2:

[lmacken@crow TurboGears-1.0.3.2]$ ls -l turbogears/view/templates/
sitetemplate.kid
-rw-r--r-- 1 lmacken lmacken 748 2007-02-15 23:57 turbogears/view/
templates/sitetemplate.kid
[lmacken@crow TurboGears-1.0.3.2]$ python setup.py build
[lmacken@crow TurboGears-1.0.3.2]$ ls -l build/lib/turbogears/view/
templates/sitetemplate.kid
ls: cannot access build/lib/turbogears/view/templates/
sitetemplate.kid: No such file or directory 

Change History

comment:1 Changed 11 years ago by toshio

I did a little playing around with this and it appears that the EOL conventions in Tubogears[...].zip and TurboGears[...].tar.gz are different. Zip files have Dos EOL conventions and .tar.gz has Unix. If you attempt to using the .zip file in Unix causes this to happen.

comment:2 Changed 11 years ago by faide

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone set to 1.0.4

This is because the zip files are generated on a Windows machine :-/ When you see the source in a .zip archive it means it has been produced on a Windows machine. Thanks for the information, we'll build source releases also on Ubuntu.

Please don't hesitate to re-open this ticket if you need some more help/info/action

Note: See TracTickets for help on using tickets.