Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
federb opened this issue Dec 5, 2013 · 4 comments
Open

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

federb opened this issue Dec 5, 2013 · 4 comments

Comments

@federb
Copy link

federb commented Dec 5, 2013

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
Copy link
Member

josx commented Dec 5, 2013

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

@federb
Copy link
Author

federb commented Dec 6, 2013

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] �[90mGET / �[32m200 �[90m48ms�[0m

2013-12-06 02:12:36.364 - info: [caspa_server] �[90mGET /lib/head.min.js �[32m200 �[90m149ms�[0m

2013-12-06 02:12:36.370 - info: [caspa_server] �[90mGET /css/main.css �[32m200 �[90m159ms�[0m

2013-12-06 02:12:39.996 - info: [caspa_server] �[90mGET /css/bootstrap-responsive.css �[32m200 �[90m60ms�[0m

2013-12-06 02:12:39.997 - info: [caspa_server] �[90mGET /css/bootstrap-docs.css �[32m200 �[90m58ms�[0m

2013-12-06 02:12:39.998 - info: [caspa_server] �[90mGET /css/airtime/pro_dropdown_3.css �[32m200 �[90m53ms�[0m

2013-12-06 02:12:40.002 - info: [caspa_server] �[90mGET /css/airtime/styles.css �[32m200 �[90m58ms�[0m

2013-12-06 02:12:40.002 - info: [caspa_server] �[90mGET /css/bootstrap.min.css �[32m200 �[90m69ms�[0m

2013-12-06 02:12:40.014 - info: [caspa_server] �[90mGET /css/airtime/showbuilder.css �[32m200 �[90m12ms�[0m

2013-12-06 02:12:40.018 - info: [caspa_server] �[90mGET /css/airtime/masterpanel.css �[32m200 �[90m18ms�[0m

2013-12-06 02:12:40.019 - info: [caspa_server] �[90mGET /css/fullcalendar.css �[32m200 �[90m76ms�[0m

2013-12-06 02:12:40.020 - info: [caspa_server] �[90mGET /css/backbone.modal.css �[32m200 �[90m14ms - 416b�[0m

2013-12-06 02:12:40.021 - info: [caspa_server] �[90mGET /css/airtime/redmond/jquery-ui-1.8.8.custom.css �[32m200 �[90m17ms�[0m

2013-12-06 02:12:40.024 - info: [caspa_server] �[90mGET /css/visualsearch-datauri.css �[32m200 �[90m20ms�[0m

2013-12-06 02:12:40.026 - info: [caspa_server] �[90mGET /css/backbone.modal.theme.css �[32m200 �[90m5ms�[0m

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] �[90mGET /js/utils.js �[32m200 �[90m700ms�[0m

2013-12-06 02:12:43.351 - info: [caspa_server] �[90mGET /js/main.js �[32m200 �[90m8ms�[0m

2013-12-06 02:12:43.386 - info: [caspa_server] �[90mGET /js/vendor_others.js �[32m200 �[90m741ms�[0m

2013-12-06 02:12:43.393 - info: [caspa_server] �[90mGET /img/media.png �[32m200 �[90m5ms - 587b�[0m

2013-12-06 02:12:43.394 - info: [caspa_server] �[90mGET /js/models.js �[32m200 �[90m52ms�[0m

2013-12-06 02:12:43.399 - info: [caspa_server] �[90mGET /img/github.png �[32m200 �[90m6ms - 2.13kb�[0m

2013-12-06 02:12:43.536 - info: [caspa_server] �[90mGET /js/views.js �[32m200 �[90m193ms�[0m

2013-12-06 02:12:43.619 - info: [caspa_server] �[90mGET /js/templates.js �[32m200 �[90m975ms�[0m

2013-12-06 02:12:43.767 - info: [caspa_server] �[90mGET /js/vendor.js �[32m200 �[90m1126ms�[0m

2013-12-06 02:12:43.799 - info: [caspa_server] �[90mGET /css/fonts/Andika.woff �[32m200 �[90m5ms - 19.93kb�[0m

2013-12-06 02:12:43.799 - info: [caspa_server] �[90mGET /css/fonts/Arvo.woff �[32m200 �[90m4ms - 14.49kb�[0m

2013-12-06 02:12:43.800 - info: [caspa_server] �[90mGET /css/img/bg.jpg �[32m200 �[90m3ms - 172.51kb�[0m

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] �[90mGET /po/es �[32m200 �[90m10ms�[0m

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
Copy link
Member

josx commented Dec 8, 2013

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
Copy link
Member

@federb were you able to solve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants