Why do I fail to install Maps on my mediawiki? and what should I do? - maps

mediawiki version information
official installation documentation
error information
I figure out that I didn't have composer.local.json in my computer,but I have composer.local.json-sample under the directory of mediawiki.
What should I do next?

Related

bibliometrix (Problem in uploading the data)

I am trying to do bibliometrix analysis of articles using the bibliometrix package. I installed the package and then run the library.However, when I am uploading my data, it is showing this error:
Error in readFiles("C:/Users/patel/savedrecs.bib") : could not find
function "readFiles".
Also. when I am running library this is the massage I am getting.
library(bibliometrix) ### load bibliometrix package
Error: package or namespace load failed for ‘bibliometrix’: object
‘scale_type’ is not exported by 'namespace:ggplot2'
In addition:
Warning message: package ‘bibliometrix’ was built under R version
3.4.4
My question is how to upload data? Please help me.
Try to download the package directly from the github repository:
install.packages("devtools")# to install the bibliometrix most recent version from GITHUB
devtools::install_github("massimoaria/bibliometrix")
Beware! The github version, usually, is the most recent and not fixed one.
For windows, I had to install Rtools from https://cran.r-project.org/bin/windows/Rtools/
Then I did the following installs in RStudio
> install.packages("bibliometrix", dependencies=TRUE)
> library(bibliometrix)
To cite bibliometrix in publications, please use:
Aria, M. & Cuccurullo, C. (2017) bibliometrix: An R-tool for comprehensive science mapping analysis, Journal of Informetrics, 11(4), pp 959-975, Elsevier.
http:\\www.bibliometrix.org
To start with the shiny web-interface, please digit:
biblioshiny()
> biblioshiny()
Only then all such prerequisite problems got resolved. Without RTools, all such errors were getting reported.
I re-installed the rtools, then installed the jsonlite package and lastly, installed the bibliometrix package.
now it's working.

Mint 18.1, Ckan, SOLR schema version not supported

I'm a front-end developer and I need to do a Ckan Theme. To do so, I need a working source install of CKAN on my system. I'm using Mint 18.1 and installing Ckan 2.6.2.
Following the steps of the installation of ckan's docs I've got a warning and an error at step 6 as shown on the image.
As you can see the last line says SOLR schema version not supported: 2.7. Supported versions are [2.3] and I can't proceed with the installation. Searching on the Internet I found people having the same problem, but using Docker (have no idea what is this) and their solutions didn't work for me.
Because I have a really short time to build this theme I gave up CKAN 2.6.2 and installd 2.5.2 and everything worked fine.
The SOLR schema that comes with CKAN 2.6.2 is version 2.3, so somehow you have got 2.7, which is provided with later versions of CKAN. Maybe you installed CKAN master and the schema is lingering from then.
Here are some steps so that you can find out where the problem is:
You can check the version of the schema in the CKAN source repo on your disk:
grep 'name="ckan" version=' /usr/lib/ckan/default/src/ckan/ckan/config/solr/schema.xml
You would have then installed this file into Solr (in Step 5, using the 'ln' command). You can check the version in Solr:
grep 'name="ckan" version=' /etc/solr/conf/schema.xml
(When this file is changed, you need to restart SOLR (i.e. jetty) for it to take effect - see the docs again).
You can see what schema SOLR is actually using:
curl -s 'http://localhost:8983/solr/admin/file/?contentType=text/xml;charset=utf-8&file=schema.xml'|grep 'name="ckan" version='
Please do feed back on these.
It sounds like your Docker container for SOLR is a newer version than that is not compatible with CKAN 2.6.2.

I get this Missing or bad plugin while running sonar-runner on a C project

I'm trying to analyze a example project which was provided by the sonarQube examples. I have this C/C++ version 2.0 plugin installed on my SonarQube.
My sonar-project.properties has these contents.
sonar-project.properties
sonar.projectKey=org.codehaus.sonar:simple-c-project
sonar.projectName=Simple C project analyzed with the SonarQube Runner
sonar.projectVersion=1.0
sonar.sources=src
sonar.language=c
sonar.sourceEncoding=UTF-8
When i run the sonar-runner command for this project i get an error as given below
ERROR: Error during Sonar runner execution
org.sonar.runner.impl.RunnerException: Unable to execute Sonar
at org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:91)
at org.sonar.runner.impl.BatchLauncher$1.run(BatchLauncher.java:75)
at java.security.AccessController.doPrivileged(Native Method)
at org.sonar.runner.impl.BatchLauncher.doExecute(BatchLauncher.java:69)
at org.sonar.runner.impl.BatchLauncher.execute(BatchLauncher.java:50)
at org.sonar.runner.api.EmbeddedRunner.doExecute(EmbeddedRunner.java:102)
at org.sonar.runner.api.Runner.execute(Runner.java:90)
at org.sonar.runner.Main.executeTask(Main.java:70)
at org.sonar.runner.Main.execute(Main.java:59)
at org.sonar.runner.Main.main(Main.java:41)
Caused by: com.A.A.A.B.A: Missing or bad plugin license. Please check logs.
Am i missing any plugins or is the plugin installed not proper.
Thank You.
Alternatively you can use another plugin in sonar called sonar-cxx if you don't want to use the commercial plugin. Its community edition Plugin. You can find it Here- https://github.com/wenns/sonar-cxx/wiki/Installation
You can download it from here - https://github.com/wenns/sonar-cxx/releases/tag/cxx-0.9.1
The C/C++ plugin is a commercial plugin, which requires a purchased licenses. I suspect the problem is that it can't find your licenses.
According to the official instructions, you need to do this:
Log in as a System administrator, go to Settings > General Settings > Licenses, paste your license key and Save (was Settings > General Settings > C/C++ (SonarSource) prior to version 1.6).

Mac - GAE: Cannot get the System Java Compiler. Please use a JDK, not a JRE

I'm getting this error when trying to deploy an AppEngine project. The error comes up when trying to compile JSPs:
java.lang.RuntimeException: Cannot get the System Java Compiler. Please use a JDK, not a JRE.
Now, I'm on a Mac, and I've installed JDK 1.7.0-25. I also modified eclipses.ini in eclipse.app by including the -vm line:
openFile
-vm
/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.7
Within Eclipse, the "Installed JREs" is also pointing to JDK 1.7.0-25.
Am I missing something? Thanks in advance.
For "Installed VM" please confirm the location is something like /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home
On OSX, I don't have any -vm entry at all and can successfully deploy AppEngine projects so don't know why that would be needed.
Try removing the JRE from your project and adding re-adding it.

running web2py with GoogleAppEngineLauncher

Trying to run my web2py app from the development server using GoogleAppEngineLauncher
Not sure if the on-line tutorials are out of date or I'm just missing something, but when I follow the link to download the GoogleAppEngine pythonSDK for OSX I get a dmg for the GoogleAppEngineLauncher.
I download and use that, which installs the proper executables, however after I setup my app.yaml file and run "dev_appserver.py myApp" I get this error:
fancy_urllib.InvalidCertificateException: Host appengine.google.com returned an invalid certificate (_ssl.c:503: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed):
I don't get the error if I try and launch the app from the launcher itself, however I can't launch the app because it says the directory already exists and I don't have write permissions. I even tried chmod 777 on the myApp directory.
Should I not be using the GoogleAppLauncher?
additionally I tried using the linux SDX and received the same "certificate" error. The error message directs me to a link mentioning that I need the "ssl" module, but that is included in python 2.7.2 which I am using.
The link also mentions: "appcfg uses SSL when connecting to the Admin Console by default, unless the --insecure flag is passed." But I cannot find that flag in the help menu.
Found this answer which solves the problem.
Basically:
rm google_appengine/lib/cacerts/cacerts.txt
From the SDK

Resources