I'm trying to include in my rails application a date time selector, looking around I found this: http://www.malot.fr/bootstrap-datetimepicker/index.php
but when I try to compile it I get the following error:
$lessc build/build_standalone.less datetimepicker.css
/usr/local/rvm/gems/ruby-2.0.0-head/gems/less-2.3.2/bin/lessc:100:in `read': No such file or directory - datetimepicker.css (Errno::ENOENT)
from /usr/local/rvm/gems/ruby-2.0.0-head/gems/less-2.3.2/bin/lessc:100:in `<top (required)>'
from /usr/local/rvm/gems/ruby-2.0.0-head/bin/lessc:23:in `load'
from /usr/local/rvm/gems/ruby-2.0.0-head/bin/lessc:23:in `<main>'
I'm not too fresh with less could you please help me solve this?
the os is mac os 10.8.4
thanks,
solved:
the second parameter was not pointing correctly to the css file.
the correct commandline is :
$lessc build/build_standalone.less css/datetimepicker.css
thanks :)
Related
There is a script with import pymssql.
I'm trying to compile this file with this command
As a result, I get an error:
45873 WARNING: Hidden import "_mssql" not found!
Maybe someone has encountered a similar one? Tell me what can be done?
enter image description here
If you are using pymssql > 2.1.5, you can add these arguments:
--hidden-import decimal --hidden-import pymssql._mssql --hidden-import uuid
when running PyInstaller.
I have updated the hook for this.
As soon as I start Atom and try to write Python Code, i get this warning message with every entry:
Provided path doesn't exist.
pylama
Please fix pylama path or install latest version
Uninstall / reinstall of pylama (also Atom) does not help... what can I do?
if you want to the error information disappear,you just open the aom settings,find the installed linter package,cancel the option as follow
lint on change ,don't select this option.
I'm trying to install cunn for Torch but make install fails. Cuda is 7.5.27 because 8 doesn't support OSX 10.10 anymore.
I've been trying to debug this for a while, but I'm running out of things to try.
While searching solution I saw few others having a similar problem (https://github.com/TRIQS/cthyb/issues/8, https://github.com/jcjohnson/neural-style/issues/134) but didn't find any solution that would fix this. It seems that this is a general problem related to OSX/Xcode and not necessarily cunn.
All help is much appreciated.
$ luarocks install cunn
...
...
-- Installing: /Users/foo/torch/install/lib/luarocks/rocks/cunn/scm-1/lib/libTHCUNN.so
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: for:
/Users/foo/torch/install/lib/luarocks/rocks/cunn/scm-1/lib/libTHCUNN.so (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib"
would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
The issue went away when I did ./clean.sh in ~/torch followed by ./update.sh. I still don't have any idea what was the problem.
I downloaded the new material bootstrap css and wanted to use it in my jekyll blog. After setting up and running the jekyll serve -w to compile the site locally, the console returned this error
Conversion error: Jekyll::Converters::Scss encountered an error while converting 'css/main.scss': Invalid CSS after "...x-highlighting"": expected selector or at-rule, was ""bootstrap"" on line 49
After searching for a while, it seems as if I am the only one facing this issue. What am I doing wrong?
Turns out this was caused by an omitted comma after one of my import statements
#import
"base",
"layout",
"syntax-highlighting",
"bootstrap";
Hope this saves someone else some time.
You can also check if you're starting the server in the right directory, in my case, I spend 1 hour trying to start the server in the wrong directory :(
This error is usually thrown when there is a typo or malformed CSS string in one of the *.sass files.
The error returned during the build is pointing to the issue. Just have in mind that the given line in the error is the one in bundled output css file: _site/css/main.css.
Using --trace might help further investigate in some cases. i.e.:
bundle exec jekyll build --trace
In github Pages, set main folder to /(root), not docs. Hope it works
Not sure if this is the right place to post the question. I am trying to create rpm's for my project, this is the first time I am writing a spec file. When I am building the spec the file with the command
rpmbuild -ba name.spec
error: Installed (but unpackaged) file(s) found:
etc/gluster-object/account-server/1.conf
etc/gluster-object/cert.crt
etc/gluster-object/cert.key
etc/gluster-object/container-server/1.conf
etc/gluster-object/fs.conf
etc/gluster-object/gluster-object.conf
etc/gluster-object/object-server/1.conf
etc/gluster-object/proxy-server.conf
Please find the link ( http://pastie.org/2426321 ) to spec file. Any help on this is greatly appreciated. Thanks in advance.
It seems you put the files into %{_conf_dir}/gluster-object, but tell rpmbuild to include the files from %{_conf_dir}/%{_obj_dir}/*. That seems to be a difference.
%files
%defattr(-,root,root)
%{_conf_dir}/gluster-object/*
would be the way to go.