Hola, Después de seguir todos los pasos descritos en [1], arranco el servidor trytond y obtengo un error de respuesta [2] en el navegador. El directorio donde he instalado SAO es [3] y el fichero de configuración de trytond [4] Debo decir que he editado la wiki porque en el paso npm install grunt-contrib-uglify, me daba el siguiente error [5] que solventé actualizando el NodeJs a la versión node-v0.10.28 [6] ¿Podría alguien decirme qué estoy haciendo mal?
Gracias por anticipado, [1] http://wiki.tryton-erp.es/SAO ----------------------------------------------------------------------------------------------------- [2] http://localhost:8000/index.html Error response Error code 404. Message: File not found. Error code explanation: 404 = Nothing matches the given URI. ----------------------------------------------------------------------------------------------------- [3] $ pwd /home/jmartin/workspace/trytond/sao ----------------------------------------------------------------------------------------------------- [4] #This file is part of Tryton. The COPYRIGHT file at the top level of #this repository contains the full copyright notices and license terms. [options] # Activate the json-rpc protocol jsonrpc = *:8000 #ssl_jsonrpc = False # This is the hostname used when generating tryton URI #hostname_jsonrpc = # Configure the path of json-rpc data #jsondata_path = /var/www/localhost/tryton # Activate the xml-rpc protocol xmlrpc = *:8001 #ssl_xmlrpc = False # Activate the webdav protocol webdav = *:8002 #ssl_webdav = False # This is the hostname used when generating WebDAV URI #hostname_webdav = # Configure the database type # allowed values are postgresql, sqlite, mysql #db_type = postgresql # Configure the database connection ## Note: Only databases owned by db_user will be displayed in the connection dialog ## of the Tryton client. db_user must have create permission for new databases ## to be able to use automatic database creation with the Tryton client. #db_host = False #db_port = False db_user = jmartin db_password = ContraseñaSecreta #db_minconn = 1 #db_maxconn = 64 # Configure the postgresql path for the executable #pg_path = None # Configure the Tryton server password #admin_passwd = admin # Configure the path of the files for the pid and the logs #pidfile = False #logfile = False #privatekey = server.pem #certificate = server.pem # Configure the SMTP connection #smtp_server = localhost #smtp_port = 25 #smtp_ssl = False #smtp_tls = False #smtp_password = False #smtp_user = False #smtp_default_from_email = False # Configure the path to store attachments and sqlite database #data_path = /var/lib/trytond # Allow to run more than one instance of trytond #multi_server = False # Configure the session timeout (inactivity of the client in sec) session_timeout = 28800 # Enable auto-reload of modules if changed #auto_reload = True # Prevent database listing #prevent_dblist = False # Enable cron # cron = True # unoconv connection #unoconv = pipe,name=trytond;urp;StarOffice.ComponentContext # Number of retries on database operational error # retry = 5 # Default language code # language = en_US # Timezone of the server timezone = Europe/Madrid celery_start = False jsonpath_data = /home/jmartin/workspace/trytond/sao ----------------------------------------------------------------------------------------------------- [5] $ npm install grunt-contrib-uglify npm WARN package.json [email protected] No README.md file found! npm http GET https://registry.npmjs.org/grunt-contrib-uglify npm http 304 https://registry.npmjs.org/grunt-contrib-uglify npm http GET https://registry.npmjs.org/maxmin npm http GET https://registry.npmjs.org/uglify-js npm http GET https://registry.npmjs.org/chalk npm http 304 https://registry.npmjs.org/uglify-js npm ERR! Error: No compatible version found: uglify-js@'^2.4.0' npm ERR! Valid install targets: npm ERR! ["0.0.1","0.0.2","0.0.3","0.0.4","0.0.5","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.1.0","1.1.1","1.2.0","1.2.1","1.2.2","1.2.3","1.2.4","1.2.5","1.2.6","1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","2.2.0","2.2.1","2.2.2","2.2.3","2.2.4","2.2.5","2.3.0","2.3.1","2.3.2","2.3.3","2.3.4","2.3.5","2.3.6","1.3.5","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.4.5","2.4.6","2.4.7","2.4.8","2.4.9","2.4.10","2.4.11","2.4.12","2.4.13"] npm ERR! at installTargetsError (/usr/local/lib/node_modules/npm/lib/cache.js:685:10) npm ERR! at /usr/local/lib/node_modules/npm/lib/cache.js:607:10 npm ERR! at saved (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:138:7) npm ERR! at Object.oncomplete (fs.js:107:15) npm ERR! If you need help, you may report this log at: npm ERR! <http://github.com/isaacs/npm/issues> npm ERR! or email it to: npm ERR! <[email protected]> npm ERR! System Linux 3.2.0-63-generic npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "grunt-contrib-uglify" npm ERR! cwd /home/jmartin/workspace/trytond/sao npm ERR! node -v v0.10.5 npm ERR! npm -v 1.2.18 npm http 304 https://registry.npmjs.org/chalk npm http 304 https://registry.npmjs.org/maxmin npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/jmartin/workspace/trytond/sao/npm-debug.log npm ERR! not ok code 0 ----------------------------------------------------------------------------------------------------- [6] jmartin@Montmell:~/workspace/trytond/sao$ npm install grunt-contrib-uglify [...] [email protected] node_modules/grunt-contrib-uglify ├── [email protected] ([email protected], [email protected], [email protected]) ├── [email protected] ([email protected], [email protected], [email protected], [email protected]) └── [email protected] ([email protected], [email protected]) jmartin@Montmell:~/workspace/trytond/sao$ npm install grunt-contrib-watch [...] [email protected] node_modules/grunt-contrib-watch ├── [email protected] ├── [email protected] ├── [email protected] ([email protected]) └── [email protected] ([email protected], [email protected], [email protected], [email protected]) jmartin@Montmell:~/workspace/trytond/sao$ npm install [email protected] node_modules/grunt-contrib-concat [email protected] node_modules/grunt-contrib-watch └── [email protected] ([email protected], [email protected]) [email protected] node_modules/grunt-contrib-jshint └── [email protected] ([email protected], [email protected]) [email protected] node_modules/grunt-contrib-uglify ├── [email protected] ([email protected]) └── [email protected] ([email protected], [email protected], [email protected], [email protected]) [email protected] node_modules/grunt-contrib-less ├── [email protected] ([email protected]) └── [email protected] ([email protected], [email protected], [email protected], [email protected]) [email protected] node_modules/grunt-contrib-nodeunit └── [email protected] ([email protected]) jmartin@Montmell:~/workspace/trytond/sao$ grunt Running "concat:dist" (concat) task File "dist/sao.js" created. Running "jshint:dist" (jshint) task >> 1 file lint free. Running "jshint:grunt" (jshint) task >> 1 file lint free. Running "jshint:tests" (jshint) task >> 1 file lint free. Running "uglify:dist" (uglify) task File "dist/sao.min.js" created. Running "less:default" (less) task File dist/sao.min.css created. Done, without errors. ----------------------------------------------------------------------------------------------------- -- Jesús Martín Zikzakmedia SL Dr. Fleming, 28, baixos 08720 Vilafranca del Penedès ☏ 93 890 21 08
