inaes-tic / mbc-caspa

MBC Playout Server {mlt edition}
tic.inaes.gob.ar
GNU Affero General Public License v3.0
11 stars 8 forks source link

ReferenceError: app is not defined in main.js #186

Open federb opened 10 years ago

federb commented 10 years ago

Hi, I have the following issue:

ReferenceError: app is not defined in:

app.navigate(url, {trigger: true});

in mbc-playout/caspa/public/js/main.js

because in:

appCollection.fetch({success: function() { app = new AppRouter(); Backbone.history.start({pushState:true}); }});

in mbc-playout/caspa/public/js/main.js

appCollection.fetch() return the option hash 'error' only

Can anyone help me solve this?

Regards.

josx commented 10 years ago

Are you using master? Do you have mongo server running? can you post logs/general.log?

federb commented 10 years ago

I am using master Yes, I have mongo server running Here I post the logs/general.log:

2013-12-06 02:11:52.974 - info: [caspa_server] Debugging backend: use=[undefined], stack=[context=[all], middleware=undefined, context=[all], middleware=undefined] 2013-12-06 02:11:52.981 - info: [caspa_server] Debugging backend: use=[undefined], domain=null, open=[undefined, undefined, undefined, undefined], _maxListeners=100, state=1, domain=null, , _maxListeners=10, databaseName=mediadb, domain=null, , _maxListeners=10, host=localhost, port=27017, auto_reconnect=true, poolSize=1, internalMaster=false, connected=false, poolSize=1, disableDriverBSONSizeCheck=false, ssl=false, slaveOk=undefined, _used=true, _readPreference=null, host=localhost, port=27017, domainSocket=false, timeout=0, noDelay=true, keepAlive=0, encoding=null, bufferSize=0, error=undefined, log=undefined, debug=undefined, error=[], parseError=[], poolReady=[], message=[], close=[], timeout=[], _serverState=connecting, m_n=0, m_oldM=0, m_oldS=0, m_newM=0, m_newS=0, numDataValues=0, mean=0, variance=0, standardDeviation=0, sScore=0, recordQueryStats=false, $ref=$["mongo"]["db"]["_dbconn"], dbInstances=[$ref=$["mongo"]["db"]["_dbconn"]], domain=null, poolReady=undefined, message=undefined, timeout=undefined, error=undefined, close=undefined, parseError=undefined, _maxListeners=10, $ref=$["mongo"]["db"]["_dbconn"]["serverConfig"]["socketOptions"], , poolSize=1, minPoolSize=1, openConnections=[], connectionId=1, currentConnectionIndex=0, _poolState=connecting, _timeout=false, $ref=$["mongo"]["db"]["_dbconn"]["serverConfig"]["logger"], database=mediadb, username=, password=, safe=true, native_parser=true, _applicationClosed=false, native_parser=true, BSON=undefined, Long=undefined, ObjectID=undefined, DBRef=undefined, Code=undefined, Timestamp=undefined, Binary=undefined, Double=undefined, MaxKey=undefined, MinKey=undefined, Symbol=undefined, $ref=$["mongo"]["db"]["_dbconn"]["serverConfig"]["connectionPool"]["bson"], $ref=$["mongo"]["db"]["_dbconn"]["bsonLib"], $ref=$["mongo"]["db"]["_dbconn"]["bsonLib"], _state=connecting, pkFactory=undefined, forceServerObjectId=false, safe=true, , isInitializing=true, auths=[], openCalled=true, commands=[], domain=null, , _maxListeners=10, , $ref=$["mongo"]["db"]["_dbconn"]["serverConfig"]["logger"], slaveOk=false, tag=1386306712680, error=[], parseError=[], poolReady=[], message=[], close=[], serializeFunctions=false, raw=false, recordQueryStats=false, reaperEnabled=false, _lastReaperTimestamp=1386306712681, retryMiliSeconds=1000, numberOfRetries=60, reaperInterval=10000, reaperTimeout=30000, readPreference=undefined, db=null, username=, password=, domain=null, open=undefined, _maxListeners=10, state=1, $ref=$["mongo"]["db"], admin=null, domain=null, , _maxListeners=50, state=0, options=undefined, $ref=$["mongo"]["db"], ObjectID=undefined, collectionName=transforms, collection=null, internalHint=null, hint=null, $ref=$["mongo"]["db"]["_dbconn"]["bsonLib"], ObjectID=undefined, collection=transforms, fulltext=[], facets=[], , max_facets=100, stack=[context=[all], middleware=undefined, context=[all], middleware=undefined, context=[all], middleware=undefined] 2013-12-06 02:11:52.985 - info: [caspa_server] Debugging backend: domain=null, open=[undefined, undefined, undefined, undefined], _maxListeners=100, state=1, domain=null, , _maxListeners=10, databaseName=mediadb, domain=null, , _maxListeners=10, host=localhost, port=27017, auto_reconnect=true, poolSize=1, internalMaster=false, connected=false, poolSize=1, disableDriverBSONSizeCheck=false, ssl=false, slaveOk=undefined, _used=true, _readPreference=null, host=localhost, port=27017, domainSocket=false, timeout=0, noDelay=true, keepAlive=0, encoding=null, bufferSize=0, error=undefined, log=undefined, debug=undefined, error=[], parseError=[], poolReady=[], message=[], close=[], timeout=[], _serverState=connecting, m_n=0, m_oldM=0, m_oldS=0, m_newM=0, m_newS=0, numDataValues=0, mean=0, variance=0, standardDeviation=0, sScore=0, recordQueryStats=false, $ref=$["mongo"]["db"]["_dbconn"], dbInstances=[$ref=$["mongo"]["db"]["_dbconn"]], domain=null, poolReady=undefined, message=undefined, timeout=undefined, error=undefined, close=undefined, parseError=undefined, _maxListeners=10, $ref=$["mongo"]["db"]["_dbconn"]["serverConfig"]["socketOptions"], , poolSize=1, minPoolSize=1, openConnections=[], connectionId=1, currentConnectionIndex=0, _poolState=connecting, _timeout=false, $ref=$["mongo"]["db"]["_dbconn"]["serverConfig"]["logger"], database=mediadb, username=, password=, safe=true, native_parser=true, _applicationClosed=false, native_parser=true, BSON=undefined, Long=undefined, ObjectID=undefined, DBRef=undefined, Code=undefined, Timestamp=undefined, Binary=undefined, Double=undefined, MaxKey=undefined, MinKey=undefined, Symbol=undefined, $ref=$["mongo"]["db"]["_dbconn"]["serverConfig"]["connectionPool"]["bson"], $ref=$["mongo"]["db"]["_dbconn"]["bsonLib"], $ref=$["mongo"]["db"]["_dbconn"]["bsonLib"], _state=connecting, pkFactory=undefined, forceServerObjectId=false, safe=true, , isInitializing=true, auths=[], openCalled=true, commands=[], domain=null, , _maxListeners=10, , $ref=$["mongo"]["db"]["_dbconn"]["serverConfig"]["logger"], slaveOk=false, tag=1386306712680, error=[], parseError=[], poolReady=[], message=[], close=[], serializeFunctions=false, raw=false, recordQueryStats=false, reaperEnabled=false, _lastReaperTimestamp=1386306712681, retryMiliSeconds=1000, numberOfRetries=60, reaperInterval=10000, reaperTimeout=30000, readPreference=undefined, db=null, username=, password=, domain=null, open=undefined, _maxListeners=10, state=1, $ref=$["mongo"]["db"], admin=null, domain=null, , _maxListeners=50, state=0, options=undefined, $ref=$["mongo"]["db"], ObjectID=undefined, collectionName=transforms, collection=null, internalHint=null, hint=null, domain=null, , _maxListeners=50, state=0, options=undefined, $ref=$["mongo"]["db"], ObjectID=undefined, collectionName=medias, collection=null, internalHint=null, hint=null, $ref=$["mongo"]["db"]["_dbconn"]["bsonLib"], ObjectID=undefined, collection=medias, fulltext=[name, title, stat.name], facets=[durationsec, video.resolution.w, video.resolution.h, video.fps, video.bitrate, video.container, video.codec, audio.codec], , max_facets=100, stack=[context=[all], middleware=undefined, context=[all], middleware=undefined] 2013-12-06 02:11:53.234 - info: [caspa_server] Debugging backend: use=[undefined], domain=null, open=[undefined, undefined, undefined, undefined], _maxListeners=100, state=1, domain=null, , _maxListeners=10, databaseName=mediadb, domain=null, , _maxListeners=10, host=localhost, port=27017, auto_reconnect=true, poolSize=1, internalMaster=false, connected=false, poolSize=1, disableDriverBSONSizeCheck=false, ssl=false, slaveOk=undefined, _used=true, _readPreference=null, host=localhost, port=27017, domainSocket=false, timeout=0, noDelay=true, keepAlive=0, encoding=null, bufferSize=0, error=undefined, log=undefined, debug=undefined, error=[], parseError=[], poolReady=[], message=[], close=[], timeout=[], _serverState=connecting, m_n=0, m_oldM=0, m_oldS=0, m_newM=0, m_newS=0, numDataValues=0, mean=0, variance=0, standardDeviation=0, sScore=0, recordQueryStats=false, $ref=$["mongo"]["db"]["_dbconn"], dbInstances=[$ref=$["mongo"]["db"]["_dbconn"]], domain=null, poolReady=undefined, message=undefined, timeout=undefined, error=undefined, close=undefined, parseError=undefined, _maxListeners=10, $ref=$["mongo"]["db"]["_dbconn"]["serverConfig"]["socketOptions"], , poolSize=1, minPoolSize=1, openConnections=[], connectionId=1, currentConnectionIndex=0, _poolState=connecting, _timeout=false, $ref=$["mongo"]["db"]["_dbconn"]["serverConfig"]["logger"], database=mediadb, username=, password=, safe=true, native_parser=true, _applicationClosed=false, native_parser=true, BSON=undefined, Long=undefined, ObjectID=undefined, DBRef=undefined, Code=undefined, Timestamp=undefined, Binary=undefined, Double=undefined, MaxKey=undefined, MinKey=undefined, Symbol=undefined, $ref=$["mongo"]["db"]["_dbconn"]["serverConfig"]["connectionPool"]["bson"], $ref=$["mongo"]["db"]["_dbconn"]["bsonLib"], $ref=$["mongo"]["db"]["_dbconn"]["bsonLib"], _state=connecting, pkFactory=undefined, forceServerObjectId=false, safe=true, , isInitializing=true, auths=[], openCalled=true, commands=[], domain=null, , _maxListeners=10, , $ref=$["mongo"]["db"]["_dbconn"]["serverConfig"]["logger"], slaveOk=false, tag=1386306712680, error=[], parseError=[], poolReady=[], message=[], close=[], serializeFunctions=false, raw=false, recordQueryStats=false, reaperEnabled=false, _lastReaperTimestamp=1386306712681, retryMiliSeconds=1000, numberOfRetries=60, reaperInterval=10000, reaperTimeout=30000, readPreference=undefined, db=null, username=, password=, domain=null, open=undefined, _maxListeners=10, state=1, $ref=$["mongo"]["db"], admin=null, domain=null, , _maxListeners=50, state=0, options=undefined, $ref=$["mongo"]["db"], ObjectID=undefined, collectionName=transforms, collection=null, internalHint=null, hint=null, domain=null, , _maxListeners=50, state=0, options=undefined, $ref=$["mongo"]["db"], ObjectID=undefined, collectionName=medias, collection=null, internalHint=null, hint=null, domain=null, , _maxListeners=50, state=0, options=undefined, $ref=$["mongo"]["db"], ObjectID=undefined, collectionName=pieces, collection=null, internalHint=null, hint=null, $ref=$["mongo"]["db"]["_dbconn"]["bsonLib"], ObjectID=undefined, collection=pieces, fulltext=[], facets=[], ids_in={ "_id": { "$in": [%value%] } }, max_facets=100, stack=[context=[all], middleware=undefined, context=[all], middleware=undefined, context=[all], middleware=undefined] 2013-12-06 02:11:53.246 - info: [caspa_server] Debugging backend: use=[undefined], domain=null, open=[undefined, undefined, undefined, undefined], _maxListeners=100, state=1, domain=null, , _maxListeners=10, databaseName=mediadb, domain=null, , _maxListeners=10, host=localhost, port=27017, auto_reconnect=true, poolSize=1, internalMaster=false, connected=false, poolSize=1, disableDriverBSONSizeCheck=false, ssl=false, slaveOk=undefined, _used=true, _readPreference=null, host=localhost, port=27017, domainSocket=false, timeout=0, noDelay=true, keepAlive=0, encoding=null, bufferSize=0, error=undefined, log=undefined, debug=undefined, error=[], parseError=[], poolReady=[], message=[], close=[], timeout=[], _serverState=connecting, m_n=0, m_oldM=0, m_oldS=0, m_newM=0, m_newS=0, numDataValues=0, mean=0, variance=0, standardDeviation=0, sScore=0, recordQueryStats=false, $ref=$["mongo"]["db"]["_dbconn"], dbInstances=[$ref=$["mongo"]["db"]["_dbconn"]], domain=null, poolReady=undefined, message=undefined, timeout=undefined, error=undefined, close=undefined, parseError=undefined, _maxListeners=10, $ref=$["mongo"]["db"]["_dbconn"]["serverConfig"]["socketOptions"], , poolSize=1, minPoolSize=1, openConnections=[], connectionId=1, currentConnectionIndex=0, _poolState=connecting, _timeout=false, $ref=$["mongo"]["db"]["_dbconn"]["serverConfig"]["logger"], database=mediadb, username=, password=, safe=true, native_parser=true, _applicationClosed=false, native_parser=true, BSON=undefined, Long=undefined, ObjectID=undefined, DBRef=undefined, Code=undefined, Timestamp=undefined, Binary=undefined, Double=undefined, MaxKey=undefined, MinKey=undefined, Symbol=undefined, $ref=$["mongo"]["db"]["_dbconn"]["serverConfig"]["connectionPool"]["bson"], $ref=$["mongo"]["db"]["_dbconn"]["bsonLib"], $ref=$["mongo"]["db"]["_dbconn"]["bsonLib"], _state=connecting, pkFactory=undefined, forceServerObjectId=false, safe=true, , isInitializing=true, auths=[], openCalled=true, commands=[], domain=null, , _maxListeners=10, , $ref=$["mongo"]["db"]["_dbconn"]["serverConfig"]["logger"], slaveOk=false, tag=1386306712680, error=[], parseError=[], poolReady=[], message=[], close=[], serializeFunctions=false, raw=false, recordQueryStats=false, reaperEnabled=false, _lastReaperTimestamp=1386306712681, retryMiliSeconds=1000, numberOfRetries=60, reaperInterval=10000, reaperTimeout=30000, readPreference=undefined, db=null, username=, password=, domain=null, open=undefined, _maxListeners=10, state=1, $ref=$["mongo"]["db"], admin=null, domain=null, , _maxListeners=50, state=0, options=undefined, $ref=$["mongo"]["db"], ObjectID=undefined, collectionName=transforms, collection=null, internalHint=null, hint=null, domain=null, , _maxListeners=50, state=0, options=undefined, $ref=$["mongo"]["db"], ObjectID=undefined, collectionName=medias, collection=null, internalHint=null, hint=null, domain=null, , _maxListeners=50, state=0, options=undefined, $ref=$["mongo"]["db"], ObjectID=undefined, collectionName=pieces, collection=null, internalHint=null, hint=null, domain=null, , _maxListeners=50, state=0, options=undefined, $ref=$["mongo"]["db"], ObjectID=undefined, collectionName=lists, collection=null, internalHint=null, hint=null, $ref=$["mongo"]["db"]["_dbconn"]["bsonLib"], ObjectID=undefined, collection=lists, fulltext=[name], facets=[duration], ids_in={ "_id": { "$in": [%value%] } }, max_facets=100, stack=[context=[all], middleware=undefined, context=[all], middleware=undefined, context=[all], middleware=undefined] 2013-12-06 02:11:53.254 - info: [caspa_server] Debugging backend: use=[undefined, undefined], domain=null, open=[undefined, undefined, undefined, undefined], _maxListeners=100, state=1, domain=null, , _maxListeners=10, databaseName=mediadb, domain=null, , _maxListeners=10, host=localhost, port=27017, auto_reconnect=true, poolSize=1, internalMaster=false, connected=false, poolSize=1, disableDriverBSONSizeCheck=false, ssl=false, slaveOk=undefined, _used=true, _readPreference=null, host=localhost, port=27017, domainSocket=false, timeout=0, noDelay=true, keepAlive=0, encoding=null, bufferSize=0, error=undefined, log=undefined, debug=undefined, error=[], parseError=[], poolReady=[], message=[], close=[], timeout=[], _serverState=connecting, m_n=0, m_oldM=0, m_oldS=0, m_newM=0, m_newS=0, numDataValues=0, mean=0, variance=0, standardDeviation=0, sScore=0, recordQueryStats=false, $ref=$["mongo"]["db"]["_dbconn"], dbInstances=[$ref=$["mongo"]["db"]["_dbconn"]], domain=null, poolReady=undefined, message=undefined, timeout=undefined, error=undefined, close=undefined, parseError=undefined, _maxListeners=10, $ref=$["mongo"]["db"]["_dbconn"]["serverConfig"]["socketOptions"], , poolSize=1, minPoolSize=1, openConnections=[], connectionId=1, currentConnectionIndex=0, _poolState=connecting, _timeout=false, $ref=$["mongo"]["db"]["_dbconn"]["serverConfig"]["logger"], database=mediadb, username=, password=, safe=true, native_parser=true, _applicationClosed=false, native_parser=true, BSON=undefined, Long=undefined, ObjectID=undefined, DBRef=undefined, Code=undefined, Timestamp=undefined, Binary=undefined, Double=undefined, MaxKey=undefined, MinKey=undefined, Symbol=undefined, $ref=$["mongo"]["db"]["_dbconn"]["serverConfig"]["connectionPool"]["bson"], $ref=$["mongo"]["db"]["_dbconn"]["bsonLib"], $ref=$["mongo"]["db"]["_dbconn"]["bsonLib"], _state=connecting, pkFactory=undefined, forceServerObjectId=false, safe=true, , isInitializing=true, auths=[], openCalled=true, commands=[], domain=null, , _maxListeners=10, , $ref=$["mongo"]["db"]["_dbconn"]["serverConfig"]["logger"], slaveOk=false, tag=1386306712680, error=[], parseError=[], poolReady=[], message=[], close=[], serializeFunctions=false, raw=false, recordQueryStats=false, reaperEnabled=false, _lastReaperTimestamp=1386306712681, retryMiliSeconds=1000, numberOfRetries=60, reaperInterval=10000, reaperTimeout=30000, readPreference=undefined, db=null, username=, password=, domain=null, open=undefined, _maxListeners=10, state=1, $ref=$["mongo"]["db"], admin=null, domain=null, , _maxListeners=50, state=0, options=undefined, $ref=$["mongo"]["db"], ObjectID=undefined, collectionName=transforms, collection=null, internalHint=null, hint=null, domain=null, , _maxListeners=50, state=0, options=undefined, $ref=$["mongo"]["db"], ObjectID=undefined, collectionName=medias, collection=null, internalHint=null, hint=null, domain=null, , _maxListeners=50, state=0, options=undefined, $ref=$["mongo"]["db"], ObjectID=undefined, collectionName=pieces, collection=null, internalHint=null, hint=null, domain=null, , _maxListeners=50, state=0, options=undefined, $ref=$["mongo"]["db"], ObjectID=undefined, collectionName=lists, collection=null, internalHint=null, hint=null, domain=null, , _maxListeners=50, state=0, options=undefined, $ref=$["mongo"]["db"], ObjectID=undefined, collectionName=scheds, collection=null, internalHint=null, hint=null, $ref=$["mongo"]["db"]["_dbconn"]["bsonLib"], ObjectID=undefined, collection=scheds, fulltext=[title], facets=[], in_window={ "end": { "$gt": %value% }, "start": { "$lt" : %value% } }, max_facets=100, stack=[context=[all], middleware=undefined, context=[all], middleware=undefined, context=[all], middleware=undefined, context=[all], middleware=undefined] 2013-12-06 02:11:53.462 - info: [caspa_server] Debugging backend: use=[undefined], domain=null, open=[undefined, undefined, undefined, undefined], _maxListeners=100, state=1, domain=null, , _maxListeners=10, databaseName=mediadb, domain=null, , _maxListeners=10, host=localhost, port=27017, auto_reconnect=true, poolSize=1, internalMaster=false, connected=false, poolSize=1, disableDriverBSONSizeCheck=false, ssl=false, slaveOk=undefined, _used=true, _readPreference=null, host=localhost, port=27017, domainSocket=false, timeout=0, noDelay=true, keepAlive=0, encoding=null, bufferSize=0, error=undefined, log=undefined, debug=undefined, error=[], parseError=[], poolReady=[], message=[], close=[], timeout=[], _serverState=connecting, m_n=0, m_oldM=0, m_oldS=0, m_newM=0, m_newS=0, numDataValues=0, mean=0, variance=0, standardDeviation=0, sScore=0, recordQueryStats=false, $ref=$["mongo"]["db"]["_dbconn"], dbInstances=[$ref=$["mongo"]["db"]["_dbconn"]], domain=null, poolReady=undefined, message=undefined, timeout=undefined, error=undefined, close=undefined, parseError=undefined, _maxListeners=10, $ref=$["mongo"]["db"]["_dbconn"]["serverConfig"]["socketOptions"], , poolSize=1, minPoolSize=1, openConnections=[], connectionId=1, currentConnectionIndex=0, _poolState=connecting, _timeout=false, $ref=$["mongo"]["db"]["_dbconn"]["serverConfig"]["logger"], database=mediadb, username=, password=, safe=true, native_parser=true, _applicationClosed=false, native_parser=true, BSON=undefined, Long=undefined, ObjectID=undefined, DBRef=undefined, Code=undefined, Timestamp=undefined, Binary=undefined, Double=undefined, MaxKey=undefined, MinKey=undefined, Symbol=undefined, $ref=$["mongo"]["db"]["_dbconn"]["serverConfig"]["connectionPool"]["bson"], $ref=$["mongo"]["db"]["_dbconn"]["bsonLib"], $ref=$["mongo"]["db"]["_dbconn"]["bsonLib"], _state=connecting, pkFactory=undefined, forceServerObjectId=false, safe=true, , isInitializing=true, auths=[], openCalled=true, commands=[], domain=null, , _maxListeners=10, , $ref=$["mongo"]["db"]["_dbconn"]["serverConfig"]["logger"], slaveOk=false, tag=1386306712680, error=[], parseError=[], poolReady=[], message=[], close=[], serializeFunctions=false, raw=false, recordQueryStats=false, reaperEnabled=false, _lastReaperTimestamp=1386306712681, retryMiliSeconds=1000, numberOfRetries=60, reaperInterval=10000, reaperTimeout=30000, readPreference=undefined, db=null, username=, password=, domain=null, open=undefined, _maxListeners=10, state=1, $ref=$["mongo"]["db"], admin=null, domain=null, , _maxListeners=50, state=0, options=undefined, $ref=$["mongo"]["db"], ObjectID=undefined, collectionName=transforms, collection=null, internalHint=null, hint=null, domain=null, , _maxListeners=50, state=0, options=undefined, $ref=$["mongo"]["db"], ObjectID=undefined, collectionName=medias, collection=null, internalHint=null, hint=null, domain=null, , _maxListeners=50, state=0, options=undefined, $ref=$["mongo"]["db"], ObjectID=undefined, collectionName=pieces, collection=null, internalHint=null, hint=null, domain=null, , _maxListeners=50, state=0, options=undefined, $ref=$["mongo"]["db"], ObjectID=undefined, collectionName=lists, collection=null, internalHint=null, hint=null, domain=null, , _maxListeners=50, state=0, options=undefined, $ref=$["mongo"]["db"], ObjectID=undefined, collectionName=scheds, collection=null, internalHint=null, hint=null, domain=null, , _maxListeners=50, state=0, options=undefined, $ref=$["mongo"]["db"], ObjectID=undefined, collectionName=status, collection=null, internalHint=null, hint=null, $ref=$["mongo"]["db"]["_dbconn"]["bsonLib"], ObjectID=undefined, collection=status, fulltext=[], facets=[], , max_facets=100, stack=[context=[all], middleware=undefined, context=[all], middleware=undefined, context=[all], middleware=undefined] 2013-12-06 02:11:53.466 - info: [caspa_server] Debugging backend: use=[undefined], stack=[context=[all], middleware=undefined, context=[all], middleware=undefined] 2013-12-06 02:11:53.470 - info: [caspa_server] Debugging backend: domain=null, open=[undefined, undefined, undefined, undefined], _maxListeners=100, state=1, domain=null, , _maxListeners=10, databaseName=mediadb, domain=null, , _maxListeners=10, host=localhost, port=27017, auto_reconnect=true, poolSize=1, internalMaster=false, connected=false, poolSize=1, disableDriverBSONSizeCheck=false, ssl=false, slaveOk=undefined, _used=true, _readPreference=null, host=localhost, port=27017, domainSocket=false, timeout=0, noDelay=true, keepAlive=0, encoding=null, bufferSize=0, error=undefined, log=undefined, debug=undefined, error=[], parseError=[], poolReady=[], message=[], close=[], timeout=[], _serverState=connecting, m_n=0, m_oldM=0, m_oldS=0, m_newM=0, m_newS=0, numDataValues=0, mean=0, variance=0, standardDeviation=0, sScore=0, recordQueryStats=false, $ref=$["mongo"]["db"]["_dbconn"], dbInstances=[$ref=$["mongo"]["db"]["_dbconn"]], domain=null, poolReady=undefined, message=undefined, timeout=undefined, error=undefined, close=undefined, parseError=undefined, _maxListeners=10, $ref=$["mongo"]["db"]["_dbconn"]["serverConfig"]["socketOptions"], , poolSize=1, minPoolSize=1, openConnections=[], connectionId=1, currentConnectionIndex=0, _poolState=connecting, _timeout=false, $ref=$["mongo"]["db"]["_dbconn"]["serverConfig"]["logger"], database=mediadb, username=, password=, safe=true, native_parser=true, _applicationClosed=false, native_parser=true, BSON=undefined, Long=undefined, ObjectID=undefined, DBRef=undefined, Code=undefined, Timestamp=undefined, Binary=undefined, Double=undefined, MaxKey=undefined, MinKey=undefined, Symbol=undefined, $ref=$["mongo"]["db"]["_dbconn"]["serverConfig"]["connectionPool"]["bson"], $ref=$["mongo"]["db"]["_dbconn"]["bsonLib"], $ref=$["mongo"]["db"]["_dbconn"]["bsonLib"], _state=connecting, pkFactory=undefined, forceServerObjectId=false, safe=true, , isInitializing=true, auths=[], openCalled=true, commands=[], domain=null, , _maxListeners=10, , $ref=$["mongo"]["db"]["_dbconn"]["serverConfig"]["logger"], slaveOk=false, tag=1386306712680, error=[], parseError=[], poolReady=[], message=[], close=[], serializeFunctions=false, raw=false, recordQueryStats=false, reaperEnabled=false, _lastReaperTimestamp=1386306712681, retryMiliSeconds=1000, numberOfRetries=60, reaperInterval=10000, reaperTimeout=30000, readPreference=undefined, db=null, username=, password=, domain=null, open=undefined, _maxListeners=10, state=1, $ref=$["mongo"]["db"], admin=null, domain=null, , _maxListeners=50, state=0, options=undefined, $ref=$["mongo"]["db"], ObjectID=undefined, collectionName=transforms, collection=null, internalHint=null, hint=null, domain=null, , _maxListeners=50, state=0, options=undefined, $ref=$["mongo"]["db"], ObjectID=undefined, collectionName=medias, collection=null, internalHint=null, hint=null, domain=null, , _maxListeners=50, state=0, options=undefined, $ref=$["mongo"]["db"], ObjectID=undefined, collectionName=pieces, collection=null, internalHint=null, hint=null, domain=null, , _maxListeners=50, state=0, options=undefined, $ref=$["mongo"]["db"], ObjectID=undefined, collectionName=lists, collection=null, internalHint=null, hint=null, domain=null, , _maxListeners=50, state=0, options=undefined, $ref=$["mongo"]["db"], ObjectID=undefined, collectionName=scheds, collection=null, internalHint=null, hint=null, domain=null, , _maxListeners=50, state=0, options=undefined, $ref=$["mongo"]["db"], ObjectID=undefined, collectionName=status, collection=null, internalHint=null, hint=null, domain=null, , _maxListeners=50, state=0, options=undefined, $ref=$["mongo"]["db"], ObjectID=undefined, collectionName=mostomessages, collection=null, internalHint=null, hint=null, $ref=$["mongo"]["db"]["_dbconn"]["bsonLib"], ObjectID=undefined, collection=mostomessages, fulltext=[], facets=[], , max_facets=100, stack=[context=[all], middleware=undefined, context=[all], middleware=undefined] 2013-12-06 02:11:53.485 - info: [caspa_server] Debugging backend: use=[undefined], domain=null, open=[undefined, undefined, undefined, undefined], _maxListeners=100, state=1, domain=null, , _maxListeners=10, databaseName=mediadb, domain=null, , _maxListeners=10, host=localhost, port=27017, auto_reconnect=true, poolSize=1, internalMaster=false, connected=false, poolSize=1, disableDriverBSONSizeCheck=false, ssl=false, slaveOk=undefined, _used=true, _readPreference=null, host=localhost, port=27017, domainSocket=false, timeout=0, noDelay=true, keepAlive=0, encoding=null, bufferSize=0, error=undefined, log=undefined, debug=undefined, error=[], parseError=[], poolReady=[], message=[], close=[], timeout=[], _serverState=connecting, m_n=0, m_oldM=0, m_oldS=0, m_newM=0, m_newS=0, numDataValues=0, mean=0, variance=0, standardDeviation=0, sScore=0, recordQueryStats=false, $ref=$["mongo"]["db"]["_dbconn"], dbInstances=[$ref=$["mongo"]["db"]["_dbconn"]], domain=null, poolReady=undefined, message=undefined, timeout=undefined, error=undefined, close=undefined, parseError=undefined, _maxListeners=10, $ref=$["mongo"]["db"]["_dbconn"]["serverConfig"]["socketOptions"], , poolSize=1, minPoolSize=1, openConnections=[], connectionId=1, currentConnectionIndex=0, _poolState=connecting, _timeout=false, $ref=$["mongo"]["db"]["_dbconn"]["serverConfig"]["logger"], database=mediadb, username=, password=, safe=true, native_parser=true, _applicationClosed=false, native_parser=true, BSON=undefined, Long=undefined, ObjectID=undefined, DBRef=undefined, Code=undefined, Timestamp=undefined, Binary=undefined, Double=undefined, MaxKey=undefined, MinKey=undefined, Symbol=undefined, $ref=$["mongo"]["db"]["_dbconn"]["serverConfig"]["connectionPool"]["bson"], $ref=$["mongo"]["db"]["_dbconn"]["bsonLib"], $ref=$["mongo"]["db"]["_dbconn"]["bsonLib"], _state=connecting, pkFactory=undefined, forceServerObjectId=false, safe=true, , isInitializing=true, auths=[], openCalled=true, commands=[], domain=null, , _maxListeners=10, , $ref=$["mongo"]["db"]["_dbconn"]["serverConfig"]["logger"], slaveOk=false, tag=1386306712680, error=[], parseError=[], poolReady=[], message=[], close=[], serializeFunctions=false, raw=false, recordQueryStats=false, reaperEnabled=false, _lastReaperTimestamp=1386306712681, retryMiliSeconds=1000, numberOfRetries=60, reaperInterval=10000, reaperTimeout=30000, readPreference=undefined, db=null, username=, password=, domain=null, open=undefined, _maxListeners=10, state=1, $ref=$["mongo"]["db"], admin=null, domain=null, , _maxListeners=50, state=0, options=undefined, $ref=$["mongo"]["db"], ObjectID=undefined, collectionName=transforms, collection=null, internalHint=null, hint=null, domain=null, , _maxListeners=50, state=0, options=undefined, $ref=$["mongo"]["db"], ObjectID=undefined, collectionName=medias, collection=null, internalHint=null, hint=null, domain=null, , _maxListeners=50, state=0, options=undefined, $ref=$["mongo"]["db"], ObjectID=undefined, collectionName=pieces, collection=null, internalHint=null, hint=null, domain=null, , _maxListeners=50, state=0, options=undefined, $ref=$["mongo"]["db"], ObjectID=undefined, collectionName=lists, collection=null, internalHint=null, hint=null, domain=null, , _maxListeners=50, state=0, options=undefined, $ref=$["mongo"]["db"], ObjectID=undefined, collectionName=scheds, collection=null, internalHint=null, hint=null, domain=null, , _maxListeners=50, state=0, options=undefined, $ref=$["mongo"]["db"], ObjectID=undefined, collectionName=status, collection=null, internalHint=null, hint=null, domain=null, , _maxListeners=50, state=0, options=undefined, $ref=$["mongo"]["db"], ObjectID=undefined, collectionName=mostomessages, collection=null, internalHint=null, hint=null, domain=null, , _maxListeners=50, state=0, options=undefined, $ref=$["mongo"]["db"], ObjectID=undefined, collectionName=sketchs, collection=null, internalHint=null, hint=null, $ref=$["mongo"]["db"]["_dbconn"]["bsonLib"], ObjectID=undefined, collection=sketchs, fulltext=[], facets=[], , max_facets=100, stack=[context=[all], middleware=undefined, context=[all], middleware=undefined, context=[all], middleware=undefined] 2013-12-06 02:11:53.495 - info: [caspa_server] not scrapping 2013-12-06 02:11:53.496 - info: [caspa_server] Express server listening on port 3000 in mode development active backends: appbackend,transformbackend,mediabackend,piecebackend,listbackend,schedbackend,statusbackend,framebackend,mostomessagesbackend,sketchbackend 2013-12-06 02:12:32.651 - info: [caspa_server] GET / 200 48ms

2013-12-06 02:12:36.364 - info: [caspa_server] GET /lib/head.min.js 200 149ms

2013-12-06 02:12:36.370 - info: [caspa_server] GET /css/main.css 200 159ms

2013-12-06 02:12:39.996 - info: [caspa_server] GET /css/bootstrap-responsive.css 200 60ms

2013-12-06 02:12:39.997 - info: [caspa_server] GET /css/bootstrap-docs.css 200 58ms

2013-12-06 02:12:39.998 - info: [caspa_server] GET /css/airtime/pro_dropdown_3.css 200 53ms

2013-12-06 02:12:40.002 - info: [caspa_server] GET /css/airtime/styles.css 200 58ms

2013-12-06 02:12:40.002 - info: [caspa_server] GET /css/bootstrap.min.css 200 69ms

2013-12-06 02:12:40.014 - info: [caspa_server] GET /css/airtime/showbuilder.css 200 12ms

2013-12-06 02:12:40.018 - info: [caspa_server] GET /css/airtime/masterpanel.css 200 18ms

2013-12-06 02:12:40.019 - info: [caspa_server] GET /css/fullcalendar.css 200 76ms

2013-12-06 02:12:40.020 - info: [caspa_server] GET /css/backbone.modal.css 200 14ms - 416b

2013-12-06 02:12:40.021 - info: [caspa_server] GET /css/airtime/redmond/jquery-ui-1.8.8.custom.css 200 17ms

2013-12-06 02:12:40.024 - info: [caspa_server] GET /css/visualsearch-datauri.css 200 20ms

2013-12-06 02:12:40.026 - info: [caspa_server] GET /css/backbone.modal.theme.css 200 5ms

2013-12-06 02:12:43.337 - debug: [caspa_server] served static content /socket.io.js 2013-12-06 02:12:43.338 - debug: [caspa_server] served static content /backbone.io.js 2013-12-06 02:12:43.342 - info: [caspa_server] GET /js/utils.js 200 700ms

2013-12-06 02:12:43.351 - info: [caspa_server] GET /js/main.js 200 8ms

2013-12-06 02:12:43.386 - info: [caspa_server] GET /js/vendor_others.js 200 741ms

2013-12-06 02:12:43.393 - info: [caspa_server] GET /img/media.png 200 5ms - 587b

2013-12-06 02:12:43.394 - info: [caspa_server] GET /js/models.js 200 52ms

2013-12-06 02:12:43.399 - info: [caspa_server] GET /img/github.png 200 6ms - 2.13kb

2013-12-06 02:12:43.536 - info: [caspa_server] GET /js/views.js 200 193ms

2013-12-06 02:12:43.619 - info: [caspa_server] GET /js/templates.js 200 975ms

2013-12-06 02:12:43.767 - info: [caspa_server] GET /js/vendor.js 200 1126ms

2013-12-06 02:12:43.799 - info: [caspa_server] GET /css/fonts/Andika.woff 200 5ms - 19.93kb

2013-12-06 02:12:43.799 - info: [caspa_server] GET /css/fonts/Arvo.woff 200 4ms - 14.49kb

2013-12-06 02:12:43.800 - info: [caspa_server] GET /css/img/bg.jpg 200 3ms - 172.51kb

2013-12-06 02:12:46.422 - debug: [caspa_server] client authorized 2013-12-06 02:12:46.426 - info: [caspa_server] handshake authorized OhY14igZvi_tyjkuUbeW 2013-12-06 02:12:46.436 - info: [caspa_server] GET /po/es 200 10ms

2013-12-06 02:12:46.712 - debug: [caspa_server] setting request GET /socket.io/1/websocket/OhY14igZvi_tyjkuUbeW 2013-12-06 02:12:46.713 - debug: [caspa_server] set heartbeat interval for client OhY14igZvi_tyjkuUbeW 2013-12-06 02:12:46.716 - debug: [caspa_server] client authorized for 2013-12-06 02:12:46.717 - debug: [caspa_server] websocket writing 1:: 2013-12-06 02:12:47.406 - debug: [caspa_server] client authorized for appbackend 2013-12-06 02:12:47.407 - debug: [caspa_server] websocket writing 1::appbackend 2013-12-06 02:12:47.408 - debug: [caspa_server] sending data ack packet 2013-12-06 02:12:47.408 - debug: [caspa_server] websocket writing 6::appbackend:1+[{"event":"backend"}] 2013-12-06 02:12:47.409 - debug: [caspa_server] client authorized for statusbackend 2013-12-06 02:12:47.409 - debug: [caspa_server] websocket writing 1::statusbackend 2013-12-06 02:12:47.410 - debug: [caspa_server] sending data ack packet 2013-12-06 02:12:47.410 - debug: [caspa_server] websocket writing 6::statusbackend:1+[{"event":"backend"}] 2013-12-06 02:12:47.410 - debug: [caspa_server] client authorized for framebackend 2013-12-06 02:12:47.411 - debug: [caspa_server] websocket writing 1::framebackend 2013-12-06 02:12:47.411 - debug: [caspa_server] sending data ack packet 2013-12-06 02:12:47.411 - debug: [caspa_server] websocket writing 6::framebackend:1+[{"event":"backend"}] 2013-12-06 02:12:49.387 - debug: [caspa_server] sending data ack packet 2013-12-06 02:12:49.387 - debug: [caspa_server] websocket writing 6::appbackend:2+[{"error":{"name":"TypeError","message":"Object [object Object] has no method 'getSchemaValidator'"}},null]

josx commented 10 years ago

i have cloned mbc-caspa from scracth. Then run make and works as expected. Maybe some package didnt download well. Please I recommend you to do rm -rf mbc-caspa and clone it again.

pardo-bsso commented 10 years ago

@federb were you able to solve this?