close Warning: Can't synchronize with repository "(default)" (/var/svn/mms does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#532 closed defect (fixed)

Error al cargar MMS0.6

Reported by: lmperez Owned by: Pedro Gea
Priority: critical Milestone: Release 0.6
Component: Persistence Keywords:
Cc:

Description

Cuando intento cargar MMS0.6 con la instrucción #Require MMS; éste me da el siguiente error (ver adjunto).

Attachments (1)

ErrorMMS.txt (8.7 KB) - added by lmperez 14 years ago.

Download all attachments as: .zip

Change History (5)

Changed 14 years ago by lmperez

Attachment: ErrorMMS.txt added

comment:1 Changed 14 years ago by Pedro Gea

Component: GeneralPersistence
Milestone: Release 0.6
Status: newaccepted

Este error ocurre en el primer uso de MMS, al crearse el repositorio local, o bien porque han sido borrados los archivos locales de MMS (en TolAppDataPath).

Este error puede corregirse en la máquina que está dando el error creando el archivo del respositorio manualmente:

Real Ois.Store(
  Set Repository. = [[
    Text MMS.Version = "0.6";
    Real Version = 1
  ]], 
  TolAppDataPath<<"MMS/Repositories/Default/_repository.oza"
);

comment:2 Changed 14 years ago by Pedro Gea

Resolution: fixed
Status: acceptedclosed

(In [2283]) Se soluciona un bug que impide crear repositorios.
Closes #532

comment:3 Changed 14 years ago by lmperez

En la documentación de mms (https://www.tol-project.org/wiki/TolPackageRulesAndComments#Actualizaci%C3%B3nautom%C3%A1ticaymanual) se dice que para instalar mms en una máquina sin red, lo intalemos primero en una con red y luego copiemos la carpeta con los paquetes a la máquina de destino.
Sin embargo al hacer esto, el fichero \tol\TolPackage\Client\TolCint.2.1\add_paths.hpp se crea con direcciones absolutas, en mi caso:

/* -*- mode: C++ -*- */
//////////////////////////////////////////////////////////////////////////////
// FILE   : add_paths.hpp
// PURPOSE: Adds CINT including paths
//////////////////////////////////////////////////////////////////////////////
#pragma includepath "C:/Users/lmperez.BAYESFORECAST/AppData/Roaming/tol/TolPackage/Client/TolCint.2.1/cint"
#pragma includepath "C:/Users/lmperez.BAYESFORECAST/AppData/Roaming/tol/TolPackage/Client/TolCint.2.1/cint/inc"
#pragma includepath "C:/Users/lmperez.BAYESFORECAST/AppData/Roaming/tol/TolPackage/Client/TolCint.2.1/cint/include"
#pragma includepath "C:/Users/lmperez.BAYESFORECAST/AppData/Roaming/tol/TolPackage/Client/TolCint.2.1/cint/stl"

Pero esto está mal porque al copiar de una máquina a otra, esas direcciones no valen y no se encuantran los paquetes de cliente. Lo he resuelto modificando el fichero a :

/* -*- mode: C++ -*- */
//////////////////////////////////////////////////////////////////////////////
// FILE   : add_paths.hpp
// PURPOSE: Adds CINT including paths
//////////////////////////////////////////////////////////////////////////////
#pragma includepath "C:/Documents and Settings/bayes/Dados de aplicativos/tol/TolPackage/Client/TolCint.2.1/cint"
#pragma includepath "C:/Documents and Settings/bayes/Dados de aplicativos/tol/TolPackage/Client/TolCint.2.1/cint/inc"
#pragma includepath "C:/Documents and Settings/bayes/Dados de aplicativos/tol/TolPackage/Client/TolCint.2.1/cint/include"
#pragma includepath "C:/Documents and Settings/bayes/Dados de aplicativos/tol/TolPackage/Client/TolCint.2.1/cint/stl"

Pero entiendo que o bien el instalador debería de escribir las rutas de otra forma, o bien la instalación de mms sin red debería hacerse de otra forma. Voy a subir un tique a tol también porque realmente no se de quien es responsabilidad esto.

comment:4 Changed 14 years ago by Pedro Gea

El comentario anterior está relacionado con el tique #535 y no con éste.

Note: See TracTickets for help on using tickets.