Open Roberta Offline en MAX 10 no se ejecuta (resuelto)

Punto de encuentro para los aficcionados al hardware libre: arduino, raspberry-pi, no tan libre: lego, etc y la programación visual y de dispositivos electrónicos, todo ello con MAX, claro.

Moderadores: daniel.esteban, victor.armendariz, ruben.garcia45, irene.olalla, dgonzalezarroyo

Responder
des_Antonio Ruiz
Mensajes: 174
Registrado: 21 Feb 2008, 09:32

Hola:

Tras instalar el editor Open Roberta Offline, usando Synaptic, he pulsado en su icono en el menú de Programación de MAX y no se ejecuta.

Saludos.
Última edición por des_Antonio Ruiz el 21 Abr 2019, 11:42, editado 1 vez en total.
des_Antonio Ruiz
Mensajes: 174
Registrado: 21 Feb 2008, 09:32

He probado a ejecutar desde terminal openroberta y la salida es la siguiente:

madrid@max10:~/Escritorio$ openroberta
An empty database for version 2.8.1 will be created at /home/madrid/.openroberta/db-/openroberta-db.
2018-12-22 02:28:44,014 [main] session-id=[] user-id=[] robot-name=[] INFO d.f.iais.roberta.main.Administration - *** createemptydb ***
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.dom4j.io.SAXContentHandler (file:/usr/share/openroberta/lib/dom4j-1.6.1.jar) to method com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser$LocatorProxy.getEncoding()
WARNING: Please consider reporting this to the maintainers of org.dom4j.io.SAXContentHandler
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
dic. 22, 2018 2:28:44 A. M. com.mchange.v2.log.MLog <clinit>
INFORMACIÓN: MLog clients using java 1.4+ standard logging.
dic. 22, 2018 2:28:44 A. M. com.mchange.v2.c3p0.C3P0Registry banner
INFORMACIÓN: Initializing c3p0-0.9.2.1 [built 20-March-2013 10:47:27 +0000; debug? true; trace: 10]
dic. 22, 2018 2:28:44 A. M. com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource getPoolManager
INFORMACIÓN: Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@badb06c0 [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@f46fcaaa [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, debugUnreturnedConnectionStackTraces -> false, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> z8kfsx9z1mowhtkj92ssl|5066d65f, idleConnectionTestPeriod -> 3600, initialPoolSize -> 5, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 7200, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 100, maxStatements -> 100, maxStatementsPerConnection -> 0, minPoolSize -> 5, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@11189774 [ description -> null, driverClass -> null, factoryClassLocation -> null, identityToken -> z8kfsx9z1mowhtkj92ssl|32a68f4f, jdbcUrl -> jdbc:hsqldb:file:/home/madrid/.openroberta/db-/openroberta-db, properties -> {password=******, autocommit=false, user=******} ], preferredTestQuery -> null, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false; userOverrides: {} ], dataSourceName -> null, factoryClassLocation -> null, identityToken -> z8kfsx9z1mowhtkj92ssl|4bc28c33, numHelperThreads -> 3 ]
2018-12-22 02:28:45,185 [main] session-id=[] user-id=[] robot-name=[] INFO d.f.i.r.p.util.SessionFactoryWrapper - session factory successfully created
2018-12-22 02:28:45,271 [main] session-id=[] user-id=[] robot-name=[] INFO d.f.i.r.persistence.util.DbExecutor - test sql says, that DDL of /create-tables.sql has already been executed. Skipping execution.
dic. 22, 2018 2:28:45 A. M. org.hsqldb.persist.Logger logInfoEvent
INFORMACIÓN: Database closed
start the database server and the /home/madrid/.openroberta/db-/openroberta-db
starting openroberta server ...
Started pids= 3230 3267
/usr/bin/openroberta: línea 55: electron: orden no encontrada
KILLING pids= 3230 3267
Force kill ...
madrid@max10:~/Escritorio
des_dgonzalezarroyo
Mensajes: 1520
Registrado: 07 Abr 2010, 10:42
Contactar:

Hola

He reproducido el mismo problema.

Por probar otra cosa, he intentado instalarlo según dice en https://github.com/OpenRoberta/robertalab y tampoco. Me da un error (unos cuantos) al lanzar el mvn clean install
David González, Profesor de Tecnología

Imagen

http://social.educa.madrid.org/dgonzalezarroyo
des_ezequiel
Mensajes: 1365
Registrado: 03 Mar 2005, 14:02

Nos faltan dependencias...

Probar primero con

sudo apt install electron

Luego ejecutar openroberta a ver si ya va.

O bien:

sudo apt install libusb-0.1-4 gcc-avr binutils-avr gdb-avr avr-libc avrdude nbc gcc-arm-none-eabi srecord libssl-dev python-uflash electron

Y luego ejecutar openroberta.
¡¡¡Se libre!!!

¡¡¡Usa MAX!!!
Imagen
des_Antonio Ruiz
Mensajes: 174
Registrado: 21 Feb 2008, 09:32

¡Muchas gracias!

Tras realizar sudo apt install electron ya se ejecuta OpenRoberta.
des_Antonio Ruiz
Mensajes: 174
Registrado: 21 Feb 2008, 09:32

No lo he probado, pero aquí se referencia el proceso a seguir con Arduino:
https://jira.iais.fraunhofer.de/wiki/di ... up+Arduino
des_Antonio Ruiz
Mensajes: 174
Registrado: 21 Feb 2008, 09:32

¿Se ha incluido este tema en el github de desarrollo de MAX 10?
Si no, aprovecho para recordarlo.
Gracias.
Responder