jekyll-theme-primer bootsrap.min cannot be found - jekyll

I am trying to run https://github.com/fossasia/gci18.fossasia.org/ locally.
I did it once with jekyll (on an older version of the site) and it worked.
Now, I cloned it so it is updated, but I cannot get it to work. I keep getting an error message that says
Conversion error: Jekyll::Converters::Scss encountered an error while converting 'css/style.scss':
File to import not found or unreadable: bootstrap.min. Load path: C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-theme-primer-0.5.3/_sass on line 1
jekyll 3.7.4 | Error: File to import not found or unreadable: bootstrap.min.
Load path: C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-theme-primer-0.5.3/_sass on line 1
I have tried reinstalling jekyll-theme-primer but it is not working. How can I fix this?

Per the Jekyll Documentation, you'll want to put all of your SCSS partials (such as bootstrap.min.css, themify-icon.css, and the other files imported in /css/style.scss) into the /_sass/ directory for automatic conversion.
Alternatively, you can specify .css in your import statements. For example:
# /css/style.scss
#import 'bootstrap.min.css';
#import 'themify-icon.css';
...
See https://jekyllrb.com/docs/assets/#sassscss for more information.

Related

Darkflow is installed and imported perfectly. But TFNet is not importing from darkflow.net.build

Darkflow library is installed succesfully but when it is imported it gives 'ImportError'. When 'darkflow' is imported it gives no error. But when 'TFNet' is imported from 'darkflow.net.build' then it gives 'ImportError: No module named 'darkflow.net''
Installed darkflow successfully and imported it.
from darkflow.net.build import TFNet
Expected result : TFNet imported
Actual result: ImportError: No module named 'darkflow.net'
Link to the image for error message - https://drive.google.com/open?id=1fuwJtAL1pVehd80oa_EglgQRMin_0Q0O
I had the same issue and fixed installing protobuf==3.5.2

Can't import file on Neo4j with RuntimeException error

I have updated the neo4j.conf file but can't seem to get rid of this error after changing the file and restarting. I am just trying to load a json file through neo4j and have included the line apoc.import.file.enabled=true on the neo4j.conf but doesn't seem to be working for me, I'm still getting the error message:
Failed to invoke procedure 'apoc.load.json' Caused by
java.lang.RuntimeException : Import from files not enabled, please set
apoc.import.file.enabled=true in your neo4j.conf
I am using neo4jCE 3.2.3 and have used the right file path for the json file as it previously worked on my desktop computer (I'm just trying to replicate it on my laptop) and I am using apoc 3.2.0.4 version plugin. The procedure apoc.load.json is also there when I call all procedures directory.

Neo.ClientError.Statement.ExternalResourceFailed on ubuntu

I'm trying to import a csv file in NEO4j db using script :
LOAD CSV FROM "file:///dataframe6.txt" AS line
RETURN count(*)
But I get following error:
Neo.ClientError.Statement.ExternalResourceFailed
Couldn't load the external resource at: file:/home/gaurav/sharing/dataframe6.txt
P.S. : I'm using ubuntu machine
added this line dbms.directories.import=/home/gaurav/sharing/
and dbms.security.allow_csv_import_from_file_urls=true
I had to change folder permission for user NEO4j, it works now

LibGDX - Reading "uiskin.json" in HTML mode

When I RUN my game project in HTML mode, it runs.
But when i DEPLOY it, after I upload it to a server, that error happens:
GwtApplication: exception: Error reading file: uiskin.json
Error reading file: uiskin.json
Error reading file: uiskin.json
Error parsing file: uiskin.json
usikin.json does not exist
Skin file which is used for widgets cannot be read.
Why is it running only on localhost?
I had the same issue. I fixed it after 2 days of searching by replacing uisking.json file (It seems the native uiskin.json file has syntax errors when reading it in html)
So, try to use this uisking.json:
https://gist.github.com/St1nger13/560d5deaec7c3a4d15d477f43a1095b7
Let me know please, if it helped you :)

Load new module in Kamailio

I would like to ask, how can I load new module in Kamailio 4.1.2?
Actually, I have an issue, when I tried to compile my kamaiio.cfg
I've got error:
root#kamailio:/usr/local/# kamailio -c kamailio.cfg
loading modules under /usr/local/lib64/kamailio/modules/
0(25392) ERROR: <core> [sr_module.c:587]: load_module(): ERROR: load_module: could not find module <websocket> in </usr/local/lib64/kamailio/modules/>
0(25392) : <core> [cfg.y:3408]: yyerror_at(): parse error in config file /usr/local/etc/kamailio/kamailio.cfg, line 323, column 12-25: failed to load module
0(25392) ERROR: <core> [cfg.y:3272]: yyparse(): cfg. parser: failed to find command ws_handle_handshake
0(25392) : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /usr/local/etc/kamailio/kamailio.cfg, line 1083, column 27: unknown command, missing loadmodule?
ERROR: bad config file (2 errors)
when I look physically to the /usr/local/lib64/kamailio/modules/ there is some modules, but websocket.so is missing.
So, how can I get and load module in Kamailio?
Thank you for help!
You haven't installed the module websocket. Edit modules.lst file in the source code directory and add websocket to include_modules variable. If you don't have modules.lst, just do:
make cfg
Alternative is to do:
make cfg include_modules="websocket"
By default, the build system for kamailio compiles and install only the modules that have the same dependencies as the core of the application. For websocket you need to install libunistring and openssl (libssl) devel packages.
Steps to load new module to Kamailio server. (Try if above answer is not working for you)
Check the modules is exist in the default module directly /usr/local/lib64/kamailio/modules.
If found, add loadmodule "module_name.so" in load module section in kamailio.cfg file.
If the module is not found in default module directory, you can check for the source code of that module in the default module source code directory /usr/local/src/kamailio-4.4/kamailio/modules.
If source code found, enter to the module directory. Then create modules' shared object file(.so) by following commands.
./configure
make
make test
make install
Then you will get a shared object file(.so). Copy that file into the default module directory. and load this module from the kamailio.cfg file as mentioned in step 1.
If module source code does not exist in the default source code directory, You need to download the source code from the web. And follow step 3 and 4.