Hi, fellows,
I'm having an issue with foreman-docker plugin.
When I go to the "New Container" option and try to pass to the "Image"
step, I'm receiving this following error:
LoadError
cannot load such file – sass (in
/opt/rh/ruby193/root/usr/share/gems/gems/foreman_docker-0.2.0/app/assets/stylesheets/foreman_docker/autocomplete.css.scss)
app/helpers/layout_helper.rb:20:in block in stylesheet' app/helpers/layout_helper.rb:20:in
stylesheet'
app/models/concerns/foreman/thread_session.rb:33:in clear_thread' lib/middleware/catch_json_parse_errors.rb:9:in
call'
Follow, in the attachments, the foreman-debug file and the pictures that
showing better the issue.
Anyone had this problem? May you help me to solve this.
Thanks in advance.
Thanks for the report Thiago. We appreciate that you posted the logs
and screenshots!
I've never gotten this error myself, but from looking at your
foreman-debug gem list and gem_list_scl, it looks like you might be
missing some assets related packages.
Could you run
scl enable ruby193 'bundle update'
foreman-rake assets:precompile
and let us know if it's fixed, or the output of these?
Best,
···
On Sat, Jan 10, 2015 at 4:01 PM, Thiago Ozores wrote:
>
> Hi, fellows,
>
> I'm having an issue with foreman-docker plugin.
> When I go to the "New Container" option and try to pass to the "Image" step,
> I'm receiving this following error:
>
> LoadError
> cannot load such file -- sass (in
> /opt/rh/ruby193/root/usr/share/gems/gems/foreman_docker-0.2.0/app/assets/stylesheets/foreman_docker/autocomplete.css.scss)
> app/helpers/layout_helper.rb:20:in `block in stylesheet'
> app/helpers/layout_helper.rb:20:in `stylesheet'
> app/models/concerns/foreman/thread_session.rb:33:in `clear_thread'
> lib/middleware/catch_json_parse_errors.rb:9:in `call'
>
> Follow, in the attachments, the foreman-debug file and the pictures that
> showing better the issue.
> Anyone had this problem? May you help me to solve this.
>
> Thanks in advance.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Foreman users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to foreman-users+unsubscribe@googlegroups.com.
> To post to this group, send email to foreman-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/foreman-users.
> For more options, visit https://groups.google.com/d/optout.
–
Daniel Lobato
@elobatoss
blog.daniellobato.me
daniellobato.me
GPG: http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30
foreman-docker 1.0.0 has been released now, which should include a fix
for this bug, and RPMs are in the 1.7 and nightly plugin repos. Could
you try that out please?
Cheers,
···
--
Dominic Cleal
Red Hat Engineering
On 10/01/15 15:01, Thiago Ozores wrote:
Hi, fellows,
I’m having an issue with foreman-docker plugin.
When I go to the “New Container” option and try to pass to the "Image"
step, I’m receiving this following error:
/LoadError/
cannot load such file – sass (in
/opt/rh/ruby193/root/usr/share/gems/gems/foreman_docker-0.2.0/app/assets/stylesheets/foreman_docker/autocomplete.css.scss)
app/helpers/layout_helper.rb:20:in block in stylesheet' app/helpers/layout_helper.rb:20:in
stylesheet’
app/models/concerns/foreman/thread_session.rb:33:in clear_thread' lib/middleware/catch_json_parse_errors.rb:9:in
call’
Follow, in the attachments, the foreman-debug file and the pictures that
showing better the issue.
Anyone had this problem? May you help me to solve this.
Thanks in advance.
–
You received this message because you are subscribed to the Google
Groups “Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to foreman-users+unsubscribe@googlegroups.com
mailto:foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com
mailto:foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.
>
> Thanks for the report Thiago. We appreciate that you posted the logs
> and screenshots!
>
> I've never gotten this error myself, but from looking at your
> foreman-debug gem list and gem_list_scl, it looks like you might be
> missing some assets related packages.
Could this simply be that assets are not compiled when building the package?
> Could you run
>
> scl enable ruby193 'bundle update'
> foreman-rake assets:precompile
>
Was this installed via rpm packages or gems/bundler?
Ohad
> and let us know if it's fixed, or the output of these?
>
> Best,
>
> >
> > Hi, fellows,
> >
> > I'm having an issue with foreman-docker plugin.
> > When I go to the "New Container" option and try to pass to the "Image"
step,
> > I'm receiving this following error:
> >
> > LoadError
> > cannot load such file – sass (in
> >
/opt/rh/ruby193/root/usr/share/gems/gems/foreman_docker-0.2.0/app/assets/stylesheets/foreman_docker/autocomplete.css.scss)
> > app/helpers/layout_helper.rb:20:in block in stylesheet' > > app/helpers/layout_helper.rb:20:in
stylesheet'
> > app/models/concerns/foreman/thread_session.rb:33:in clear_thread' > > lib/middleware/catch_json_parse_errors.rb:9:in
call'
> >
> > Follow, in the attachments, the foreman-debug file and the pictures that
> > showing better the issue.
> > Anyone had this problem? May you help me to solve this.
> >
> > Thanks in advance.
> >
> > –
> > You received this message because you are subscribed to the Google
Groups
> > "Foreman users" group.
> > To unsubscribe from this group and stop receiving emails from it, send
an
> > email to foreman-users+unsubscribe@googlegroups.com.
> > To post to this group, send email to foreman-users@googlegroups.com.
> > Visit this group at http://groups.google.com/group/foreman-users.
> > For more options, visit https://groups.google.com/d/optout.
>
>
>
> –
> Daniel Lobato
>
> @elobatoss
> blog.daniellobato.me
> daniellobato.me
>
> GPG: http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30
>
> –
> You received this message because you are subscribed to the Google Groups
"Foreman users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
···
On Jan 12, 2015 10:36 AM, "Daniel Lobato" wrote:
> On Sat, Jan 10, 2015 at 4:01 PM, Thiago Ozores wrote:
> To post to this group, send email to foreman-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/foreman-users.
> For more options, visit https://groups.google.com/d/optout.
The RPM does precompile assets, but the autocomplete.css stylesheet is
missing from the hardcoded precompile file list in engine.rb.
···
On 12/01/15 08:50, Ohad Levy wrote:
>
> On Jan 12, 2015 10:36 AM, "Daniel Lobato" > wrote:
>>
>> Thanks for the report Thiago. We appreciate that you posted the logs
>> and screenshots!
>>
>> I've never gotten this error myself, but from looking at your
>> foreman-debug gem list and gem_list_scl, it looks like you might be
>> missing some assets related packages.
>
> Could this simply be that assets are not compiled when building the package?
–
Dominic Cleal
Red Hat Engineering