Code Monkey home page Code Monkey logo

concerto-platform's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

concerto-platform's Issues

Configuration from local database to Amazon relational database

Hi, I have done concerto setup in aws by following installation steps in from https://github.com/campsych/concerto-platform/wiki/Linux-installation. I found that database is setup locally and I require RDS in aws with concerto platform.

For that I have change the configuration in parameters.yml as mentioned below to save all quiz data in RDS:
database_host: host_name
database_port: 3306
database_name: DB_name
database_user: user_name
database_password: password
Still all data saved locally. Please provide you support on same.

Save Data Bug

When the test taker doesn't provide any responses, save data after the linear test generates an error, probably because the vector length is zero.

How can this be resolved?

Below is the debugging error message:

[1] "running test #9..."
<simpleError in list2env(list(), NULL, ): names(x) must be a character vector of the same length as x>
[1] "responding to server..."
[1] "responded to server"
[1] "updating session..."
Error in value[3L] : Error executing test logic.
Calls: tryCatch -> tryCatchList -> tryCatchOne ->

setup.exe for Native Windows Installer does not work on my computer

Dear All,

I tried to install Concerto Platform to use it offline on Windows. After I run setup.exe, I cannot find any icons that I can use to reach the installed program, and also, after I restart (as requested by setup.exe) and tried to run setup.exe again, It installs the pre-installed program again.

My computer specifications are:
Windows 10 Enterprice
64-bit Operating System, x64-based processor

I would be grateful if you can help me.

Best regards,
Bilge Bozkurt

UTF-8 Turkish character Problem

Editor screens works well on Turkish but Test application shows charachers broken. Could you please check your compatibility about it?

Also import function from a CSV seems incompatible with utf-8 coding. just imports blank parts.

Keep up good work.

Run Test - Error encountered. Execution halted.

Hello,

Followed the CAT tutorial, I ran into problem when I do "Run Test": Error encountered. Execution halted. I followed the debugging instructions, but couldn't find any 500 message. There is no message in Apache's error log and app/logs/prod.log, but found the following message in app/logs/dev.log:

[2016-12-03 13:55:24] event.DEBUG: Notified event "console.command" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure". [] []
[2016-12-03 13:55:24] php.DEBUG: socket_accept(): unable to accept incoming connection [11]: Resource temporarily unavailable {"type":2,"file":"/var/www/html/concerto-platform/src/Concerto/TestBundle/Command/StartProcessCommand.php","line":113,"level":28928} []
The second line repeated 5 times, followed by:
[2016-12-03 13:55:24] event.DEBUG: Notified event "console.terminate" to listener "Symfony\Bundle\SwiftmailerBundle\EventListener\EmailSenderListener::onTerminate". [] []

Any clue? Please help. Greatly appreciate it. Thanks.

Error Message With dbEscapeStrings

I have recently migrated to Concerto v5 after several years with v4.

I have a fresh installation of v5 and it seems that something some not well functioning with my installation.

I am receiving the following message with R table query code. The same code was working perfectly on v4.

Error in (function (classes, fdef, mtable) : unable to find an inherited method for function ‘dbEscapeStrings’ for signature ‘"NULL", "character"’

I am wondering if this is a coding error or an installation problem (something related to security or libraries or ...)

Update : I managed to extract the debugger messages:

concerto_test_directive.js:138 Loading required package: concerto5
Loading required package: session
Loading required package: rjson
[1] "LC_CTYPE=en_US.utf8;LC_NUMERIC=C;LC_TIME=en_US.utf8;LC_COLLATE=en_US.utf8;LC_MONETARY=en_US.utf8;LC_MESSAGES=C;LC_PAPER=C;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=C;LC_IDENTIFICATION=C"
Loading required package: RMySQL
Loading required package: DBI
Loading required package: methods
[1] "running test #38..."
[1] "updating session..."
[1] "responding to server..."
[1] "responded to server"
[1] "listening to server..."

placeholder.html:1 Error in event handler for runtime.onMessage: TypeError: Cannot read property 'getBoundingClientRect' of null
at chrome-extension://cjabmdjcfcfdmffimndhafhblfmpjdpe/toolbar.js:1:21892
concerto_test_directive.js:187 [1] "listened to server"
<simpleError in (function (classes, fdef, mtable) { methods <- .findInheritedMethods(classes, fdef, mtable) if (length(methods) == 1L) return(methods[[1L]]) else if (length(methods) == 0L) { cnames <- paste0(""", sapply(classes, as.character), """, collapse = ", ") stop(gettextf("unable to find an inherited method for function %s for signature %s", sQuote(fdef@generic), sQuote(cnames)), domain = NA) } else stop("Internal error in finding inherited methods; didn't return a unique method", domain = NA)})(list("NULL", "character"), structure(function (con, strings, ...) { standardGeneric("dbEscapeStrings")}, generic = structure("dbEscapeStrings", package = "RMySQL"), package = "RMySQL", group = list(), valueClass = character(0), signature = c("con", "strings"), default = \001NULL\001, skeleton = (function (con, strings, ...) stop("invalid call in method dispatch to 'dbEscapeStrings' (no default method)", domain = NA))(con, strings, ...), class = structure("nonstandardGenericFunction", package = "methods")), ): unable to find an inherited method for function ‘dbEscapeStrings’ for signature ‘"NULL", "character"’>
[1] "responding to server..."
[1] "responded to server"
[1] "updating session..."
Error in value[3L] : Error executing test logic.
Calls: tryCatch -> tryCatchList -> tryCatchOne ->
In addition: Warning message:
Closing open result sets
Execution halted

what is progress?

Hi, im back i hope translate all to spanish very soon, but tell me, what about progress for create test more complex?
Tnks

Simple user guide to create the first test

Hello everyone.

I am Concerto 4 user and I am really excited about Concerto 5. I have installed the new version on my computer (I created a docker to improve the installation process. I can share it with you if you want), but I did not understand the new method to create a test. Can you share with me a "Test example" or create a simple documentation to create a first test?

I am a Symfony Developer and, if you want, I think that I can contribute with the project.

Best regards,
Luis Henrique Mulinari

How to ask for a choice between two options ?

Hi, I'm implementing a MBTI-like test using the questionnaire node and I facing a few issue (I create a separate github Issue for each).

To two split each question in two parts, one to appear on the left hand of the radio buttons, one to appear on the right hand? Is there a more cutomizable node to do that or should I try to implement my own node? In the latter case, Is it possible to get hints on how to achieve that (I know the documentation is still to be written)?

concerto v4 to concerto v5.

Hi,
I am trying to update my concerto v4 to concerto v5. I am not sure if I should use "Linux Installation guide" as if I were installing a new software, or I should use "Linux update guide" instead.

Thank you in advance,

A.

How to save the scores of a Questionnaire?

Hi,

I successfully managed to save the userId passed in the URL using the Save Data node as explained in https://github.com/campsych/concerto-platform/wiki/Passing-URL-parameters

I'm also able to compute a MBTI-like profile by following your guideline in #41

I would now like to save the scores into default_data_table.
I tried to connect the scores output of the Questionnaire node to the new_data input of another Save Data node using "list(scores=scores)", the scores output being thus connected to two nodes (Info and Save Data), but nothing get saved.

How may I save the scores of a Questionnaire and still display it?

Error while running a test

I installed the concerto on a ubuntu machine. I can login and create tests. While I tried to run the test, it shows Error encountered. Execution halted. and in the console, I am seeing

Loading required package: concerto5
Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package called 'concerto5'
Error: could not find function "fromJSON"
Execution halted

I can load libraries concerto5 and rjson in a separated R console.

Did I miss some step to configure the R environment for the apache server?

Thank you very much.

Vagrant

Hi

do you have a vagrant version of this file, so we can run and test in fast way

or in virtualbox vm?

Test node creation error with Firefox

How to reproduce:

  • OS: Windows 7 sp1
  • Use Firefox 45.2 ESR as web browser
  • Add new test or edit existing test
  • Right click in "Test flow" section to show context menu
  • Click "create_template_definition" (or other)

Results:

  • No node created
  • SQL error in prod.log
[2016-07-22 12:52:25] request.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\NotNullConstraintViolationException: "An exception occurred while executing 'INSERT INTO TestNode (type, posX, posY, updated, created, tags, flowTest_id, sourceTest_id, updatedBy_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)' with params ["0", null, null, "2016-07-22 12:52:25", "2016-07-22 12:52:25", "", 30, 8, null]:  SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'posX' cannot be null" at D:\Program Files\wamp\www\concerto\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\AbstractMySQLDriver.php line 112 {"exception":"[object] (Doctrine\\DBAL\\Exception\\NotNullConstraintViolationException(code: 0): An exception occurred while executing 'INSERT INTO TestNode (type, posX, posY, updated, created, tags, flowTest_id, sourceTest_id, updatedBy_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)' with params [\"0\", null, null, \"2016-07-22 12:52:25\", \"2016-07-22 12:52:25\", \"\", 30, 8, null]:\n\nSQLSTATE[23000]: Integrity constraint violation: 1048 Column 'posX' cannot be null at D:\\Program Files\\wamp\\www\\concerto\\vendor\\doctrine\\dbal\\lib\\Doctrine\\DBAL\\Driver\\AbstractMySQLDriver.php:112, Doctrine\\DBAL\\Driver\\PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'posX' cannot be null at D:\\Program Files\\wamp\\www\\concerto\\vendor\\doctrine\\dbal\\lib\\Doctrine\\DBAL\\Driver\\PDOStatement.php:93, PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'posX' cannot be null at D:\\Program Files\\wamp\\www\\concerto\\vendor\\doctrine\\dbal\\lib\\Doctrine\\DBAL\\Driver\\PDOStatement.php:91)"} []

Analyse:

  • posX and posY columns cannot be NULL
  • The functions "window.rightClickEvent.offsetX" and "window.rightClickEvent.offsetY" return undefined.
  • Firefox js functions for mouse cursor position aren't well implemented or missing (offsetX and offsetY -> \src\PanelBundle\Resources\public\angularjs\app\concerto_panel\js\directives\flow_logic_directive.js).

Solution:

  • First, using Chrome to test other functionalies.
  • Special functions have to be implemented to support Firefox (or maybe initialize PosX and PosY to the top left position)

bye

Installing concerto 5 at AMI

I have successfully installed concerto 5 to AMI server , but I did not find a complete list of nodes , I attach the following on-screen display . Could I be given the advice to be able to deliver a complete list of nodes. Thank you for your attention and assistance.

screenshot from 2016-08-21 22-14-17

Bower Installation Failed

Hello,
I just tried to install the native concerto, but failed during bower installation.
log and snapshot attached.

concertoinstallationfailed
concertoinstallationlog.txt
http://concertoplatform.com/installers/concertolauncher/x64/node-v6.2.1-x64.msi.
13:33:52 - Node installed successfuly.
13:33:52 - Checking for Node installation...
13:33:54 - Node already installed.
13:33:54 - Installing bower...
13:36:09 - Bower installation failed!
13:49:38 - Checking if x86_2008 is installed...
13:49:38 - x86_2008 installation found.

login error

hello I have been installed concerto native windows version, and update the launcher.
123

Ipsative 4-item Blocks

Hello everyone
I am trying to build an ipsative 4-item block questionnaire, but I am facing a difficulty with the current design of the questionnaire source code.
Since the radio button group is used in response and score recording, it can't be used to manage the vertical selection.

There are two solutions, but I confused which one is better:

  1. Don't use radio button group name in scoring, so introduce a new variable for managing responses and their values.
  2. Keep the current design with radio button group name, and use JS to clear any confusion in radio buttons.

Please let me know if you have any suggestions.

Question - secret and hash

In parameters.yml, last line:
secret: ThisTokenIsNotSoSecretChangeIt

Whose secret is this for?

In parameters_nodes.yml, last line:
hash: someRandomHash

What is that hash for? How should I create a value for it?

Thank you.

How to contribute to the documentation?

Here are two tutorials I wrote based on what I learned from implementing a MBTI-like test on Concerto:

The Helping-Concerto page tells that "[the wiki pages] are editable by everyone who has a (free) GitHub account" but I don't see any Edit button. I tried to create a pull request on the wiki repo (having added this new file on a new branch) but got an permission denied. I obviously don't have the required rights to do so.

Unable to add elements to test flowchart

I'm running the AMI (set up as per the guide) v5.0.beta.2.109 .
When I try to add elements to the test flow I get a 500 in response to the AJAX post request (made to http://[ip]/admin/Test/[testno]/node/add).
Thus no nodes can be added, therefore no questions.
I wonder if I might be able to get around this by using the code test type, are there any examples for this?

Linux Installation - Step 4: PHP dependencies - Deprecation Notice

Warning in the result of php -dmemory_limit=1G composer.phar install --prefer-source --no-interaction.

Deprecation Notice: The callback Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::prepareDeploymentTarget declared at concerto-platform/vendor/sensio/distribution-bundle/Sensio/Bundle/DistributionBundle/Composer/ScriptHandler.php accepts a Composer\Script\CommandEvent but post-install-cmd events use a Composer\Script\Event instance. Please adjust your type hint accordingly, see https://getcomposer.org/doc/articles/scripts.md#event-classes in phar:///concerto-platform/composer.phar/src/Composer/EventDispatcher/EventDispatcher.php:290

I wonder if this has anything to do with my failure at "Run Test".

Question Numbering Formatting

The numbering of items seems to be presented beside the button wihtin an HTML object below:

1/7next

I wonder how I can modify the formatting to make the question numbering appear in a different location, for example at the beginning as "Question 1 of 7", instead of 1/7 Button format that is created automatically.

How can I make such modification?

php /var/www/concerto/app/check.php issue

php /var/www/concerto/app/check.php

this is show me:

Symfony Requirements Checker
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

> PHP is using the following php.ini file:
  /etc/php5/cli/php.ini

> Checking Symfony requirements:
  ...EEE.......................W......W


 [ERROR]
 Your system is not ready to run Symfony projects


Fix the following mandatory requirements
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 * app/cache/ or var/cache/ directory must be writable
   > Change the permissions of either "app/cache/" or  "var/cache/"
   > directory so that the web server can write into it.

 * app/logs/ or var/logs/ directory must be writable
   > Change the permissions of either "app/logs/" or  "var/logs/"
   > directory so that the web server can write into it.

 * date.timezone setting must be set
   > Set the "date.timezone" setting in php.ini* (like Europe/Paris).


Optional recommendations to improve your setup
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 * intl extension should be available
   > Install and enable the intl extension (used for validators).

 * PDO should have some drivers installed (currently available: none)
   > Install PDO drivers (mandatory for Doctrine).


Note  The command console could use a different php.ini file
~~~~  than the one used with your web server. To be on the
      safe side, please check the requirements from your web
      server using the web/config.php script.

How solved?

Error: scope.rightClickEvent is null

All installation steps have been followed successfully and test runner works; however, it seems that I cannot add objects in the flowchart test.
The right click returns an error: Error: scope.rightClickEvent is null
It seems that there is no other way to add test events. Please advise.

Concerto install on Windows

Hi,

I just see a tutorial and an installer for Windows is for 6 days, but here's my feedback anyway. Indeed, some constraints are taken into account due to the technical architecture of my compagny. I have to use a development station with admin rights but without internet connection and an internet station without admin rights.

My platforms:

  1. Dev station
    No internet connection :-(
    Admin rights
    OS : Windows 7 sp1
    Apache HTTP: 2.4.18 x64 (from ) + mod_rewrite enabled
    PHP: 5.6.5 x64 (from ) + json, ctype, ACPU (because Symfony look for it) extensions enabled (no POSIX for Windows), date.timezone set
    MySQL: 5.7.11 x64 (from)
    R: 3.3.1 (x64/x86) + rjson 0.2.15, RMySQL 0.10.9, DBI 0.4.1, session 1.0.3, catR 3.8, digest 0.6.9, ggplot2 2.1.0 (from https://mirror.ibcp.fr/pub/CRAN/index.html and https://mirror.ibcp.fr/pub/CRAN/bin/windows/contrib/3.3/)
    Web browser: Mozilla Firefox 45 ESR / Google Chrome 52

  2. Internet station
    Internet connection (necessarily)
    No admin rights (so many portable apps)
    OS: Windows 7 sp1
    PHP: 5.6.23 (XAMPP version - no install package needed in my case) (from https://sourceforge.net/projects/xampp/files/XAMPP%20Windows/5.6.23/)
    R: 3.3.1 (x64/x86) + rjson 0.2.15, RMySQL 0.10.9, DBI 0.4.1, session 1.0.3, catR 3.8, digest 0.6.9, ggplot2 2.1.0 (from https://mirror.ibcp.fr/pub/CRAN/index.html and https://mirror.ibcp.fr/pub/CRAN/bin/windows/contrib/3.3/)
    Git: 2.9.2 (x64) (from https://git-scm.com/download/win)
    Node+NPM: 6.3.1 (x64) (from http://nodejs.org/dist/lastest-v6.x/)

Before concerto install on internet station:
- If not, set Environment variables for Git (<install_path_git>\cmd), PHP (<install_path_xampp>\php), R (<install_path_R>\bin), Node.js/NPM/Bower (<install_path_node>)

Concerto downloading package on internet station (follow the steps of Linux tutorial) :
(*) no changes from Linux tutorial

  1. Cloning git repository (*):
    git clone https://github.com/campsych/concerto-platform.git

  2. Set up your vhost (* on dev station)

  3. Edit configuration files (* with infos from dev station)

  4. Install PHP dependencies

  • install composer
    download lastest composer.phar (https://getcomposer.org/download/ "Manual download" parts) and copy it in "concerto-platform" root folder
  • install PHP dependencies (*)
cd <path_to_concerto-platform>
php -dmemory_limit=1G composer.phar install --prefer-source --no-interaction
  1. Install JS dependencies
  • install NPM (already done)
  • install bower
npm install -g bower
mklink nodejs.exe node.exe
  • install js dependencies
cd <path_to_concerto-platform>\src\Concerto\PanelBundle\Resources\public\angularjs
bower install
cd <path_to_concerto-platform>\src\Concerto\TestBundle\Resources\public\angularjs
bower install

5b) Public resources mirroring (i'm a beginner in synfony framework but it seems the folders "\src...\PanelBundle...\public" and "\src...\TestBundle...\public" are respecttivly linked to "\web\bundles\concertopanel" and "\web\bundles\concertotest")

ren "<path_to_concerto-platform>\web\bundles\concertopanel" concertopanel.bak
ren "<path_to_concerto-platform>\web\bundles\concertotest" concertotest.bak
mklink /J "<path_to_concerto-platform>\web\bundles\concertopanel" "<path_to_concerto-platform>\src\Concerto\PanelBundle\Resources\public"
mklink /J "<path_to_concerto-platform>\web\bundles\concertotest" "<path_to_concerto-platform>\src\Concerto\TestBundle\Resources\public"
  1. Install Concerto R package
cd "<path_to_concerto-platform>\src\Concerto\TestBundle\Resources\R"
R CMD INSTALL concerto5

6b) Copy to dev station

  • Copy "concerto-platform" folder to dev station (renamed "concerto")
  • create "concerto" db et dbuser on MySQL following informations written in configuration files

Concerto final install on dev station (follow the steps of Linux tutorial) :

  1. Check Symfony requirements (PHP framework) (*)
    run check script and perform any recommended actions (e.g. ext ACPU)
    php "<path_to_concerto-platform>\app\check.php"

  2. Final Concerto setup:

cd "<path_to_concerto-platform>"
php app/console concerto:setup
md "<path_to_concerto-platform>\src\Concerto\PanelBundle\Resources\public\rcache"
php app/console concerto:r:cache

This action was very long on my dev station (over 1 hour). So default TimeOut (3600s) produce an error.
I fix-it editing "<path_to_concerto-platform>\src\Concerto\PanelBundle\Command\GenerateRDocumentationCommand.php"

  • line 35 :
    instead of
$process->setTimeout(3600);

write

$process->setTimeout(7200);

also, rscript on Windows don't need --no-readlines commands.

  • line 24 :
    instead of
$p = "\"" . $this->getContainer()->GetParameter('test_runner_settings')['rscript_exec'] . "\" --no-save --no-restore --quiet --no-readlines \"" . $script_path . "\"";

write

$p = "\"" . $this->getContainer()->GetParameter('test_runner_settings')['rscript_exec'] . "\" --no-save --no-restore --quiet \"" . $script_path . "\"";
  • install starter content
    php app/console concerto:content:import

Concerto 5 is a powerfull promising software. I hope this help. Sorry for my bad english.

Some bugs follow in new issues.

Response Checking Parameter

Has anyone ever created a test parameter that gives immediate feedback regarding whether a response is correct/incorrect? If not, could you outline the steps that would be required to build such a parameter?

installation Problem

I am trying to install v0.9.13.0 on windows 7 (64-bit). I installed all required open source software before. However concerto launcher can not configure mysql server service. (mysql server is up running on my machine).

I have attached a screen shot as well.
Any clue why it is not going through this step?

Thanks[
installationissue

How to compute things on the info node?

Hi, I'm implementing a MBTI-like test and would need to concatenate the dominant letter of each trait to get the final profile (e.g. INTP if Introversion > Extraversion, iNtuition > Sensing, Thinking > Feeling and Perception > Judging). Is it possible to do that using the info node or any other way?

Arithmetic Operations & Passing Variables

I have created a test that measures trait1 and passes the variable to the info node; however, I would like to calculate a grade for the trait, for example if trait > 10 grade = A & if trait < 10 grade = B

Can you please show me an example on how to perform the operation using existing nodes and how both the original trait and calculated grade can both be passed to the final info node?

Docker

i am working to create docker image for concerto rather using vagrant/virtualbox

404 Error

We have installed Concerto on a Windows computer, offline. We go through the prerun and all tests pass. Clicking Run takes us to our web browser where we receive:

Not Found
The requested URL /concerto-platform/admin was not found on this server.
Apache/2.4.17 (Win64) PHP/5.6.16 Server at 127.0.0.1 Port 80

The error provided from the developer error tool in Chrome:
Failed to load resource: the server responded with a status of 404 (Not Found)

Something wrong with rewrite?

Hi,
i've created a docker image for Concerto: https://hub.docker.com/r/lelmarir/docker-concerto/,
but i get this url: http://192.168.99.100:8081/app.php/admin#/tests

is the "app.php" part supposed to be there or should it be "http://192.168.99.100:8081/admin#/tests" ?
This is becouse when i run a test it invoke "http://192.168.99.100:8081/test/196845ab0f57adda1643aa9ea4999cfb/session/start/%5B%5D" that yeld a "404 Not Found".
Instead "http://192.168.99.100:8081/app.php/test/196845ab0f57adda1643aa9ea4999cfb/session/start/%5B%5D" at least give "Oops! An Error Occurred The server returned a "405 Method Not Allowed".", that IMO is more encouraging

How can i fix this? Is a configuration problem?

installation stops at ggplot

11:11:02 - digest R package installed successfully.
11:11:02 - Installing ggplot2 R package...

at this point it seems to stop, meaning that after more than 20 minutes is still there.

Windows 10 64 bit.

Translation : escaping characters

Hi,

I am currently translating Concerto in French. I have a problem for escape characters in some cases (especially single quotes).
For the tooltips, I simply add a backslash without problem.
But in the parts titles with a variable write a single quote will always display the HTML code (') even with backslash.

Example:
TestWizzard.fr_FR.yml (line 7)

[...]
form:
    title:
        add: Créer un nouvel assistant de création de tests
        edit: "Editer l'assistant #{0}"
[...]

How escape or protect characters in this case ?

Rscript process command error on Windows

Hi

How to reproduce:

  • OS: Windows 7 sp1
  • Use Firefox 45.2 ESR or Chrome 52 as web browser
  • Create a questionnaire (e.g. tutorial "How to create a questionnaire test")
  • Click "Debug test"

Results:

  • In the new test tab : "Error encountered. Execution halted."
  • In JS console (in french for R messages) :
Le chargement a nécessité le package : concerto5
Le chargement a nécessité le package : session
Le chargement a nécessité le package : rjson
Error in fromJSON(commandArgs(TRUE)[2]) : 
  unexpected character "i"; expecting opening string quote (") for key value
  Exécution arrétée

Analyse:

  • i get log concerto.log and concerto.log.r in "\src\Concerto\TestBundle\Resources\local<hash_session>" and test rscript command line (without stdout redirection).
  • it seems json arguments aren't correct because of double quotes missing.
  • So, escape characters need to be escaped too...

Solution:

  • Update "\src\Concerto\TestBundle\Command\StartProcessCommand.php" for "not Linux" rscript (line 281)
    instead of
$cmd = "\"" . $rscript_exec . "\" --no-save --no-restore --quiet \"$ini_path\" \"" . addcslashes($test_server_connection, '"') . "\" \"" . addcslashes($r_server, '"') . "\" \"" . addcslashes($submitter, '"') . "\" \"" . addcslashes($client, '"') . "\" $test_session_id \"$wd\" \"$pd\" $murl \"" . addcslashes($values, '"') . "\" >> \"" . $this->logPath . "\" > \"" . $this->rLogPath . "\" 2>&1";

write

$cmd = "\"" . $rscript_exec . "\" --no-save --no-restore --quiet \"$ini_path\" " .
    "\"" . addcslashes(addcslashes($test_server_connection, '"'), '"\\') . "\" ".
    "\"" . addcslashes(addcslashes($r_server, '"'), '"\\') . "\" ".
    "\"" . addcslashes(addcslashes($submitter, '"'), '"\\') . "\" ".
    "\"" . addcslashes(addcslashes($client, '"'), '"\\') . 
    "\" $test_session_id \"$wd\" \"$pd\" $murl " .
    "\"" . addcslashes($values, '"') . "\" " .
    ">> \"" . $this->logPath . "\" > \"" . $this->rLogPath . "\" 2>&1";

bye

Problem : Installing for Linux Server

I have try to install for linux server, and for step 8 we get the message from terminal : `[Doctrine\DBAL\Exception\ConnectionException]
An exception occured in driver: SQLSTATE[28000] [1045] Access denied for us
er 'ThisIsYourDatabaseUserName'@'localhost' (using password: YES)

[Doctrine\DBAL\Driver\PDOException]
SQLSTATE[28000] [1045] Access denied for user 'ThisIsYourDatabaseUserName'@
'localhost' (using password: YES)

[PDOException]
SQLSTATE[28000] [1045] Access denied for user 'ThisIsYourDatabaseUserName'@
'localhost' (using password: YES)

concerto:content:import []
`
Pls advice us to solve this problem, many thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.