django-twitter-bootstrap icon indicating copy to clipboard operation
django-twitter-bootstrap copied to clipboard

File could not be found.

Open SaaShah opened this issue 9 years ago • 8 comments

I'm using pipeline. I tried, explicitly over-riding the font file path. But no luck. ValueError: The file 'twitter_bootstrap/fonts/glyphicons-halflings-regular.woff2' could not be found with <pipeline.storage.PipelineCachedStorage object at 0xa8e48ec>.

SaaShah avatar Apr 02 '15 17:04 SaaShah

does that file appear in the installed location of dj-tw-bs?

estebistec avatar Apr 03 '15 00:04 estebistec

No, I created an empty file with the same name and extension. Error seems to go away.

Regards, Saad Bin Shahid | Software Engineer | www.saadbinshahid.com |

On Fri, Apr 3, 2015 at 5:09 AM, Steven Cummings [email protected] wrote:

does that file appear in the installed location of dj-tw-bs?

— Reply to this email directly or view it on GitHub https://github.com/estebistec/django-twitter-bootstrap/issues/21#issuecomment-89087782 .

SaaShah avatar Apr 03 '15 08:04 SaaShah

Yes, but surely you don't get the desired icons? That doesn't sound right at all. I need to go check the packaging...

estebistec avatar Apr 04 '15 01:04 estebistec

No, I did not get my desired icons. please look into it. Thanks.!

Regards, Saad Bin Shahid | Software Engineer | www.saadbinshahid.com |

On Sat, Apr 4, 2015 at 6:21 AM, Steven Cummings [email protected] wrote:

Yes, but surely you don't get the desired icons? That doesn't sound right at all. I need to go check the packaging...

— Reply to this email directly or view it on GitHub https://github.com/estebistec/django-twitter-bootstrap/issues/21#issuecomment-89479068 .

SaaShah avatar Apr 04 '15 16:04 SaaShah

Oh, you have woff2 as the file extension. It's just woff.

estebistec avatar Apr 04 '15 22:04 estebistec

I know that :) I checked. There is an .woff2 empty file in the repo @ bootstrap/fonts/glyphicons-halflings-regular.woff2

That's why I added a empty file. The file is also being used in the CSS and some other places. Hence raising the issue when the PIPELINE try to pre-process it.

Regards, Saad Bin Shahid | Software Engineer | www.saadbinshahid.com |

On Sun, Apr 5, 2015 at 3:16 AM, Steven Cummings [email protected] wrote:

Oh, you have woff2 as the file extension. It's just woff.

— Reply to this email directly or view it on GitHub https://github.com/estebistec/django-twitter-bootstrap/issues/21#issuecomment-89672323 .

SaaShah avatar Apr 04 '15 22:04 SaaShah

Okay. I see. Looking at the currently supported version of bootstrap: https://github.com/twbs/bootstrap/tree/16dbdbd7a2c6cfa3be4e5dcc52249e577c02c84a/fonts, there is no woff2. It's been added in a recent version. So really this isn't a bug, I just need to release new wrapper packages for latest bootstrap (which will include woff2).

However, I've been meaning to give this repo and package the correct name (see #13). So rather than just release the next versions (one of which would include the woff2), I'd like to close this issue and complete #13 and release subsequent versions.

estebistec avatar Apr 05 '15 00:04 estebistec

Great.! Thanks.

Regards, Saad Bin Shahid | Software Engineer | www.saadbinshahid.com |

On Sun, Apr 5, 2015 at 5:41 AM, Steven Cummings [email protected] wrote:

Okay. I see. Looking at the currently supported version of bootstrap: https://github.com/twbs/bootstrap/tree/16dbdbd7a2c6cfa3be4e5dcc52249e577c02c84a/fonts, there is no woff2. It's been added in a recent version. So really this isn't a bug, I just need to release new wrapper packages for latest bootstrap (which will include woff2).

However, I've been meaning to give this repo and package the correct name (see #13 https://github.com/estebistec/django-twitter-bootstrap/issues/13). So rather than just release the next versions (one of which would include the woff2), I'd like to close this issue and complete #13 https://github.com/estebistec/django-twitter-bootstrap/issues/13 and release subsequent versions.

— Reply to this email directly or view it on GitHub https://github.com/estebistec/django-twitter-bootstrap/issues/21#issuecomment-89694757 .

SaaShah avatar Apr 05 '15 16:04 SaaShah