Menu

#146 CWB Generator assumes static path for statistics

0.9.9
open-accepted
2
2011-01-17
2010-03-08
Anonymous
No

When installing an instance of CWM/CWB differnet from a path of ../../cwm/... the CWB will not work (no tree or piecharts shown)

Here's the txt from a log:
26 [main] INFO WorkflowRunner -
1883 [main] INFO XSDMetaModel - Loading XSDSchema from 'metamodel/cwm.xsd'
3543 [main] INFO OawXSDEcoreBuilder - Creating EPackage 'cwm' from XSDSchema 'file:/.../metamodel/cwm.xsd' (null)
4853 [main] INFO Workflow - Reader: Loading model from ../../cwm/application/statistics/model87646/tmp//uml-generated.uml
5039 [main] INFO Workflow - Generator: generating 'cartridge::BrowserStatistics::statisticsPhp::file FOR uml2model' => ../../cwm/application/statistics/model87646/tmp//statistics(overwrite=true,append=false,fileEncoding=utf-8)
7633 [main] INFO Generator - Written 1 files to outlet [default](../../cwm/application/statistics/model87646/tmp//statistics)

Discussion

  • Giuseppe Platania

    • assigned_to: nobody --> enikao
    • status: open --> open-accepted
     
  • Niko

    Niko - 2010-03-09

    I cannot find any hardcoded references to "cwm". The path to store the files to is determined relative to the running script file (which is main.php for all calls to wCMF):
    $dir = dirname($_SERVER['SCRIPT_FILENAME']).'/statistics/model'.$ids[0];

    Please post the absolute path names of
    * main.php
    * Expected statistics directory
    * Acutally used statistics directory

     
  • Giuseppe Platania

    • priority: 5 --> 2
    • assigned_to: enikao --> tschuetz
     

Log in to post a comment.