[codeface] Re: Aw: Re: Re: Can not coorect execute further examples

  • From: Stefan Kuppelwieser <stefan.kuppelwieser@xxxxxxxxx>
  • To: codeface@xxxxxxxxxxxxx
  • Date: Sat, 8 Apr 2017 19:14:37 +0200

Hello,


after you anlayse run through I have renewed my environment to prevent other errors.

This is how I proceeded:

(1) Ubuntu 16.04 LTS installed on VMware Workstation
(2) Downloaded the master - branch from Codeface and installed it with vagrant up
(3) Afterwards I have executed the following commands, so that it runs

sudo apt-get update
sudo apt-get install npm

cd /vagrant/id_service
npm install --no-bin-links
/vagrant/integration-scripts/test_codeface.sh

cd /vagrant
bash shiny-server-pack.sh

/vagrant/id_service/start_id_service.sh&

(4) After that, I did the analysis of qemu, ansible and puppet [1] and started the webserver

/vagrant/analysis_example.sh
/vagrant/analysis_example_ansible.sh
/vagrant/analysis_example_puppet.sh

cd vagrant;
./shiny-server.sh

(5) After that I could see the projects in the dashboard

http://localhost:8081/apps/dashboard/

Ansible collaboration:
http://localhost:8081/apps/dashboard/?projectid=4&topic=collaboration

Puppet collabortaion:
http://localhost:8081/apps/dashboard/?projectid=6&topic=collaboration

qemu collabortaion:
http://localhost:8081/apps/dashboard/?projectid=2&topic=collaboration


Am 07.04.2017 um 16:41 schrieb Wolfgang Mauerer:

Am 07/04/2017 um 16:33 schrieb Stefan Kuppelwieser:
Actually I tried it with the conway-forreview branch [1] and it works
closly. Now I can enter collaboartion, but I get an mysql-error [2].
It's the same error like the view of communcation [3]. Does the error
occurs because no malinglist has been specified?
The communication analysis can not show anything because no
communication data have been analysed. We should handle this condition
more gracefully in the web frontend, though, than by just showing an
error that the query failed.

As for the cluster analysis, I suppose you've hit a condition where (for
whatever reason) no clusters are present. Can you select some other
release ranges to see if the problem persists? Unfortunately, I cannot
reproduce the problem because I've analysed a slightly different state
of ansible such that codeface picks slightly different release
ranges.

ansible:
Only two clusters of 21 works.
I can for example view the cluster [2], but the I get the next error at cluster correlations [3].

puppet:
Only ~20% of the clusters works.
I can for example view the cluster [4], but the I get the next error at cluster correlations [5].

qemu:
All clusters works.

I also added the log-file of the shiny-server [6].

Please also specify your head revision of your repo so that
I can reproduce the problem locally.

My head revisions are:

ansible:
d4bd54d3b8f4a8be04653c5a260ca63886f84650

puppet:
d7eb9b74218663774f6646cd4e52e20b4696e03c

qemu:
5daf9b3025baef10ee7b77daa003d5696b58d5dc

I used the command 'git rev-parse HEAD' to get the revision

Best regards,
Stefan Kuppelwieser


[1]: https://github.com/StefanKuppelwieser/Codefacee-analysis
[2]: Attachment -> ansible-cluster.PNG
[3]: Attachment -> ansible-cluster-correlations.PNG
[4]: Attachment -> puppet-cluster.PNG
[5]: Attachment -> puppet-cluser-correlations.PNG
[6]: Attachment -> details-vagrant-20170408-170755-9e5f46666770.log


Thanks & best regards, Wolfgang Mauerer
The URL of the colaboration is
http://localhost:8081:/apps/dashboard/?projectid=58&topic=collaboration


Attachment: puppet-cluster.PNG
Description: PNG image

Attachment: ansible-cluster.PNG
Description: PNG image

Attachment: ansible-cluster-correlations.PNG
Description: PNG image

Attachment: puppet-cluser-correlations.PNG
Description: PNG image

Loading required package: NLP

Attaching package: ‘NLP’

The following object is masked from ‘package:ggplot2’:

    annotate


Listening on domain socket 
/tmp/shiny-session/9e5f4666677087800798c5fd87068d5f.sock
Warning in if (!is.na(attribValue)) { :
  the condition has length > 1 and only the first element will be used
Warning in charToRaw(enc2utf8(text)) :
  argument should be a character vector of length 1
all but the first element will be ignored
Warning: Error in mysqlExecStatement: RS-DBI driver: (could not run statement: 
You have an error in your SQL syntax; check the manual that corresponds to your 
MySQL server version for the right syntax to use near '' at line 1)
Stack trace (innermost first):
    124: mysqlExecStatement
    123: dbSendQuery
    122: dbSendQuery
    121: mysqlQuickSQL
    120: dbGetQuery
    119: dbGetQuery
    118: query.cluster.edges
    117: construct.cluster
    116: FUN
    115: lapply
    114: gen.clusters.list
    113: prepare.clusters
    112: <reactive>
    101: w$cluster.list
    100: do.cluster.plots
     99: renderPlot
     89: <reactive:plotObj>
     78: plotObj
     77: origRenderFunc
     76: output$widget_1_4
      1: runApp
Warning in cor(x, use = "pairwise.complete.obs", method = cor.method) :
  the standard deviation is zero
Warning in cor(x, y, use = "pair", method = cor.method) :
  the standard deviation is zero
Warning: Error in if: missing value where TRUE/FALSE needed
Stack trace (innermost first):
    102: lower.panel
    101: localLowerPanel
    100: corrgram
     99: renderPlot
     89: <reactive:plotObj>
     78: plotObj
     77: origRenderFunc
     76: output$widget_2_4
      1: runApp

Other related posts: