# Discourse calendar plugin failing on stable branch

**URL:** https://meta.discourse.org/t/discourse-calendar-plugin-failing-on-stable-branch/138554
**Category:** Bug
**Created:** [January 14, 2020, 1:24pm UTC](https://meta.discourse.org/t/discourse-calendar-plugin-failing-on-stable-branch/138554 "2020-01-14T13:24:56Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![trobiyo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/trobiyo/32/311872_2.png) [@trobiyo](https://meta.discourse.org/u/trobiyo)
#### Post date: [January 14, 2020, 1:24pm UTC](https://meta.discourse.org/t/discourse-calendar-plugin-failing-on-stable-branch/138554/1 "2020-01-14T13:24:56Z")

</div>

Hi guys,

At the time of precompiling assets, there is a glitch by using the Discourse calendar plugin.

```bash
...
Done compressing all JS files : 82.84 secs

Start compiling CSS: 2020-01-14 13:20:06 UTC
Compiling css for default 2020-01-14 13:20:06 UTC
precompile target: desktop Dark
rake aborted!
Discourse::ScssError: Error: no mixin named ellipsis
        on line 36 of plugins/discourse-calendar/assets/stylesheets/common/discourse-calendar.scss
        from line 28 of desktop.scss
>> @include ellipsis;

   ---------------^
/var/www/discourse/lib/stylesheet/manager.rb:175:in `rescue in compile'
/var/www/discourse/lib/stylesheet/manager.rb:163:in `compile'
/var/www/discourse/lib/stylesheet/manager.rb:98:in `block (2 levels) in precompile_css'
/var/www/discourse/lib/stylesheet/manager.rb:91:in `each'
/var/www/discourse/lib/stylesheet/manager.rb:91:in `block in precompile_css'
/var/www/discourse/lib/stylesheet/manager.rb:90:in `each'
/var/www/discourse/lib/stylesheet/manager.rb:90:in `precompile_css'
/var/www/discourse/lib/tasks/assets.rake:59:in `block (2 levels) in <top (required)>'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rails_multisite-2.0.7/lib/rails_multisite/connection_management.rb:63:in `with_connection'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rails_multisite-2.0.7/lib/rails_multisite/connection_management.rb:73:in `each_connection'
/var/www/discourse/lib/tasks/assets.rake:52:in `block in <top (required)>'
/var/www/discourse/lib/tasks/assets.rake:318:in `block in <top (required)>'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rake-12.3.2/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:23:in `load'
/usr/local/bin/bundle:23:in `<main>'

Caused by:
SassC::SyntaxError: Error: no mixin named ellipsis
        on line 36 of plugins/discourse-calendar/assets/stylesheets/common/discourse-calendar.scss
        from line 28 of desktop.scss
>> @include ellipsis;

   ---------------^
/var/www/discourse/plugins/discourse-calendar/assets/stylesheets/common/discourse-calendar.scss:36
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sassc-2.0.1/lib/sassc/engine.rb:49:in `render'
/var/www/discourse/lib/stylesheet/compiler.rb:40:in `compile'
/var/www/discourse/lib/stylesheet/compiler.rb:22:in `compile_asset'
/var/www/discourse/lib/stylesheet/manager.rb:164:in `compile'
/var/www/discourse/lib/stylesheet/manager.rb:98:in `block (2 levels) in precompile_css'
/var/www/discourse/lib/stylesheet/manager.rb:91:in `each'
/var/www/discourse/lib/stylesheet/manager.rb:91:in `block in precompile_css'
/var/www/discourse/lib/stylesheet/manager.rb:90:in `each'
/var/www/discourse/lib/stylesheet/manager.rb:90:in `precompile_css'
/var/www/discourse/lib/tasks/assets.rake:59:in `block (2 levels) in <top (required)>'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rails_multisite-2.0.7/lib/rails_multisite/connection_management.rb:63:in `with_connection'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rails_multisite-2.0.7/lib/rails_multisite/connection_management.rb:73:in `each_connection'
/var/www/discourse/lib/tasks/assets.rake:52:in `block in <top (required)>'
/var/www/discourse/lib/tasks/assets.rake:318:in `block in <top (required)>'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rake-12.3.2/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:23:in `load'
/usr/local/bin/bundle:23:in `<main>'
Tasks: TOP => assets:precompile:css
(See full trace by running task with --trace)
...

```

Any hint?

Cheers,  
Ismael

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [January 14, 2020, 1:29pm UTC](https://meta.discourse.org/t/discourse-calendar-plugin-failing-on-stable-branch/138554/2 "2020-01-14T13:29:39Z")

</div>

Hello,

can you tell me your Discourse version please ?

---

<div class="post-metadata">

### Author: ![trobiyo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/trobiyo/32/311872_2.png) [@trobiyo](https://meta.discourse.org/u/trobiyo)
#### Post date: [January 14, 2020, 1:30pm UTC](https://meta.discourse.org/t/discourse-calendar-plugin-failing-on-stable-branch/138554/3 "2020-01-14T13:30:19Z")

</div>

Hi Joffrey,

It’s stable branch, so should point to `v2.3.8` in theory.

Cheers,  
Ismael

---

<div class="post-metadata">

### Author: ![trobiyo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/trobiyo/32/311872_2.png) [@trobiyo](https://meta.discourse.org/u/trobiyo)
#### Post date: [January 15, 2020, 8:08am UTC](https://meta.discourse.org/t/discourse-calendar-plugin-failing-on-stable-branch/138554/4 "2020-01-15T08:08:26Z")

</div>

Hi,  
Any news on this?

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [January 15, 2020, 8:46am UTC](https://meta.discourse.org/t/discourse-calendar-plugin-failing-on-stable-branch/138554/5 "2020-01-15T08:46:51Z")

</div>

Yes, I found the root cause.

I thought it has been for longer than this, but actually the ellipsis mixin has been added recently:

[https://github.com/discourse/discourse/commit/b066a4128d0971c16ab88ef1673115e4a7d16a54](https://github.com/discourse/discourse/commit/b066a4128d0971c16ab88ef1673115e4a7d16a54)

I have been fouled by the fact that we are using it in local-dates, but as local-dates is a core plugin it can’t be out of sync of core functions.

This should be fixed by:  
[https://github.com/discourse/discourse-calendar/commit/e735f87d5b0668c75fa087975e20f0fe8e160b2d](https://github.com/discourse/discourse-calendar/commit/e735f87d5b0668c75fa087975e20f0fe8e160b2d)

If you try again that should work, sorry and thanks for report.

---

<div class="post-metadata">

### Author: ![trobiyo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/trobiyo/32/311872_2.png) [@trobiyo](https://meta.discourse.org/u/trobiyo)
#### Post date: [January 15, 2020, 10:00am UTC](https://meta.discourse.org/t/discourse-calendar-plugin-failing-on-stable-branch/138554/6 "2020-01-15T10:00:16Z")

</div>

Yeah, confirm it works! 👏 Big thank you for your quick action!

Cheers,  
Ismael

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [January 15, 2020, 10:00am UTC](https://meta.discourse.org/t/discourse-calendar-plugin-failing-on-stable-branch/138554/7 "2020-01-15T10:00:43Z")

</div>

Cool, thanks for update!

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [January 15, 2020, 10:00am UTC](https://meta.discourse.org/t/discourse-calendar-plugin-failing-on-stable-branch/138554/8 "2020-01-15T10:00:48Z")

</div>


