Google test fail in gstreamer

i use 'make all test' ,have below message:
[==========] Running 21 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 21 tests from MediaPlayerTest
[ RUN      ] MediaPlayerTest.testStartPlayWaitForEnd
2017-10-20 09:23:39.751 [  1] E MediaPlayer:setupPipelineFailed:reason=createAudioSinkElementFailed
2017-10-20 09:23:39.751 [  1] E MediaPlayer:handleSetAttachmentReaderSourceFailed:reason=setupPipelineFailed
/home/whiteknight/NXP_test/mediaplayer/avs-device-sdk-master/MediaPlayer/test/MediaPlayerTest.cpp:412: Failure
Expected: (MediaPlayerStatus::FAILURE) != (m_mediaPlayer->setSource( std::unique_ptr(new MockAttachmentReader(iterations, receiveSizes)))), actual: 4-byte object <02-00 00-00> vs 4-byte object <02-00 00-00>
2017-10-20 09:23:39.752 [  2] E MediaPlayer:playFailed:reason=sourceNotSet
/home/whiteknight/NXP_test/mediaplayer/avs-device-sdk-master/MediaPlayer/test/MediaPlayerTest.cpp:427: Failure
Expected: (MediaPlayerStatus::FAILURE) != (m_mediaPlayer->play()), actual: 4-byte object <02-00 00-00> vs 4-byte object <02-00 00-00>
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed
2017-10-20 09:23:39.752 [  1] E MediaPlayer:doStopFailed:reason=gstElementGetStateFailed
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed
(MediaPlayerTest:20379): GLib-CRITICAL **: Source ID 16098264 was not found when attempting to remove it
[  FAILED  ] MediaPlayerTest.testStartPlayWaitForEnd (7 ms)
[ RUN      ] MediaPlayerTest.testStartPlayForUrl
2017-10-20 09:23:39.753 [  3] E MediaPlayer:setupPipelineFailed:reason=createAudioSinkElementFailed
2017-10-20 09:23:39.753 [  3] E MediaPlayer:handleSetSourceForUrlFailed:reason=setupPipelineFailed
2017-10-20 09:23:39.753 [  2] E MediaPlayer:playFailed:reason=sourceNotSet
/home/whiteknight/NXP_test/mediaplayer/avs-device-sdk-master/MediaPlayer/test/MediaPlayerTest.cpp:441: Failure
Expected: (MediaPlayerStatus::FAILURE) != (m_mediaPlayer->play()), actual: 4-byte object <02-00 00-00> vs 4-byte object <02-00 00-00>
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed
2017-10-20 09:23:39.753 [  4] E MediaPlayer:doStopFailed:reason=gstElementGetStateFailed
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed
(MediaPlayerTest:20379): GLib-CRITICAL **: Source ID<PHONE_NUMBER> was not found when attempting to remove it
[  FAILED  ] MediaPlayerTest.testStartPlayForUrl (1 ms)
[ RUN      ] MediaPlayerTest.testSetSourceEmptyUrl
2017-10-20 09:23:39.754 [  5] E MediaPlayer:setupPipelineFailed:reason=createAudioSinkElementFailed
2017-10-20 09:23:39.754 [  5] E MediaPlayer:handleSetSourceForUrlFailed:reason=setupPipelineFailed
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed
2017-10-20 09:23:39.754 [  6] E MediaPlayer:doStopFailed:reason=gstElementGetStateFailed
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed
(MediaPlayerTest:20379): GLib-CRITICAL **: Source ID<PHONE_NUMBER> was not found when attempting to remove it
[       OK ] MediaPlayerTest.testSetSourceEmptyUrl (1 ms)
[ RUN      ] MediaPlayerTest.testConsecutiveSetSource
2017-10-20 09:23:39.754 [  7] E MediaPlayer:setupPipelineFailed:reason=createAudioSinkElementFailed
2017-10-20 09:23:39.754 [  7] E MediaPlayer:handleSetSourceForUrlFailed:reason=setupPipelineFailed
2017-10-20 09:23:39.754 [  8] E MediaPlayer:setupPipelineFailed:reason=createAudioSinkElementFailed
2017-10-20 09:23:39.754 [  8] E MediaPlayer:handleSetSourceForUrlFailed:reason=setupPipelineFailed
2017-10-20 09:23:39.754 [  2] E MediaPlayer:playFailed:reason=sourceNotSet
/home/whiteknight/NXP_test/mediaplayer/avs-device-sdk-master/MediaPlayer/test/MediaPlayerTest.cpp:466: Failure
Expected: (MediaPlayerStatus::FAILURE) != (m_mediaPlayer->play()), actual: 4-byte object <02-00 00-00> vs 4-byte object <02-00 00-00>
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed
2017-10-20 09:23:39.755 [  9] E MediaPlayer:doStopFailed:reason=gstElementGetStateFailed
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed
(MediaPlayerTest:20379): GLib-CRITICAL **: Source ID<PHONE_NUMBER> was not found when attempting to remove it
[  FAILED  ] MediaPlayerTest.testConsecutiveSetSource (1 ms)
[ RUN      ] MediaPlayerTest.testStartPlayWaitForEndStartPlayAgain
2017-10-20 09:23:39.755 [  a] E MediaPlayer:setupPipelineFailed:reason=createAudioSinkElementFailed
2017-10-20 09:23:39.755 [  a] E MediaPlayer:handleSetIStreamSourceFailed:reason=setupPipelineFailed
/home/whiteknight/NXP_test/mediaplayer/avs-device-sdk-master/MediaPlayer/test/MediaPlayerTest.cpp:417: Failure
Expected: (MediaPlayerStatus::FAILURE) != (m_mediaPlayer->setSource( make_uniquestd::ifstream(inputsDirPath + MP3_FILE_PATH), repeat)), actual: 4-byte object <02-00 00-00> vs 4-byte object <02-00 00-00>
2017-10-20 09:23:39.755 [  2] E MediaPlayer:playFailed:reason=sourceNotSet
/home/whiteknight/NXP_test/mediaplayer/avs-device-sdk-master/MediaPlayer/test/MediaPlayerTest.cpp:479: Failure
Expected: (MediaPlayerStatus::FAILURE) != (m_mediaPlayer->play()), actual: 4-byte object <02-00 00-00> vs 4-byte object <02-00 00-00>
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed
2017-10-20 09:23:39.755 [  a] E MediaPlayer:doStopFailed:reason=gstElementGetStateFailed
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed
(MediaPlayerTest:20379): GLib-CRITICAL **: Source ID<PHONE_NUMBER> was not found when attempting to remove it
[  FAILED  ] MediaPlayerTest.testStartPlayWaitForEndStartPlayAgain (1 ms)
[ RUN      ] MediaPlayerTest.testStopPlay
2017-10-20 09:23:39.756 [  b] E MediaPlayer:setupPipelineFailed:reason=createAudioSinkElementFailed
2017-10-20 09:23:39.756 [  b] E MediaPlayer:handleSetIStreamSourceFailed:reason=setupPipelineFailed
/home/whiteknight/NXP_test/mediaplayer/avs-device-sdk-master/MediaPlayer/test/MediaPlayerTest.cpp:417: Failure
Expected: (MediaPlayerStatus::FAILURE) != (m_mediaPlayer->setSource( make_uniquestd::ifstream(inputsDirPath + MP3_FILE_PATH), repeat)), actual: 4-byte object <02-00 00-00> vs 4-byte object <02-00 00-00>
2017-10-20 09:23:39.756 [  2] E MediaPlayer:playFailed:reason=sourceNotSet
/home/whiteknight/NXP_test/mediaplayer/avs-device-sdk-master/MediaPlayer/test/MediaPlayerTest.cpp:497: Failure
Expected: (MediaPlayerStatus::FAILURE) != (m_mediaPlayer->play()), actual: 4-byte object <02-00 00-00> vs 4-byte object <02-00 00-00>
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed
2017-10-20 09:23:39.756 [  b] E MediaPlayer:doStopFailed:reason=gstElementGetStateFailed
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed
(MediaPlayerTest:20379): GLib-CRITICAL **: Source ID<PHONE_NUMBER> was not found when attempting to remove it
[  FAILED  ] MediaPlayerTest.testStopPlay (0 ms)
[ RUN      ] MediaPlayerTest.testStartPlayCallAfterStopPlay
2017-10-20 09:23:39.756 [  c] E MediaPlayer:setupPipelineFailed:reason=createAudioSinkElementFailed
2017-10-20 09:23:39.756 [  c] E MediaPlayer:handleSetAttachmentReaderSourceFailed:reason=setupPipelineFailed
/home/whiteknight/NXP_test/mediaplayer/avs-device-sdk-master/MediaPlayer/test/MediaPlayerTest.cpp:412: Failure
Expected: (MediaPlayerStatus::FAILURE) != (m_mediaPlayer->setSource( std::unique_ptr(new MockAttachmentReader(iterations, receiveSizes)))), actual: 4-byte object <02-00 00-00> vs 4-byte object <02-00 00-00>
2017-10-20 09:23:39.757 [  2] E MediaPlayer:playFailed:reason=sourceNotSet
/home/whiteknight/NXP_test/mediaplayer/avs-device-sdk-master/MediaPlayer/test/MediaPlayerTest.cpp:512: Failure
Expected: (MediaPlayerStatus::FAILURE) != (m_mediaPlayer->play()), actual: 4-byte object <02-00 00-00> vs 4-byte object <02-00 00-00>
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed
2017-10-20 09:23:39.757 [  c] E MediaPlayer:doStopFailed:reason=gstElementGetStateFailed
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed
(MediaPlayerTest:20379): GLib-CRITICAL **: Source ID<PHONE_NUMBER> was not found when attempting to remove it
[  FAILED  ] MediaPlayerTest.testStartPlayCallAfterStopPlay (1 ms)
[ RUN      ] MediaPlayerTest.testPauseDuringPlay
2017-10-20 09:23:39.757 [  d] E MediaPlayer:setupPipelineFailed:reason=createAudioSinkElementFailed
2017-10-20 09:23:39.757 [  d] E MediaPlayer:handleSetIStreamSourceFailed:reason=setupPipelineFailed
/home/whiteknight/NXP_test/mediaplayer/avs-device-sdk-master/MediaPlayer/test/MediaPlayerTest.cpp:417: Failure
Expected: (MediaPlayerStatus::FAILURE) != (m_mediaPlayer->setSource( make_uniquestd::ifstream(inputsDirPath + MP3_FILE_PATH), repeat)), actual: 4-byte object <02-00 00-00> vs 4-byte object <02-00 00-00>
2017-10-20 09:23:39.757 [  2] E MediaPlayer:playFailed:reason=sourceNotSet
/home/whiteknight/NXP_test/mediaplayer/avs-device-sdk-master/MediaPlayer/test/MediaPlayerTest.cpp:533: Failure
Expected: (MediaPlayerStatus::FAILURE) != (m_mediaPlayer->play()), actual: 4-byte object <02-00 00-00> vs 4-byte object <02-00 00-00>
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed
2017-10-20 09:23:39.757 [  d] E MediaPlayer:doStopFailed:reason=gstElementGetStateFailed
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed
(MediaPlayerTest:20379): GLib-CRITICAL **: Source ID<PHONE_NUMBER> was not found when attempting to remove it
[  FAILED  ] MediaPlayerTest.testPauseDuringPlay (0 ms)
[ RUN      ] MediaPlayerTest.testPlayAfterPause
2017-10-20 09:23:39.757 [  e] E MediaPlayer:setupPipelineFailed:reason=createAudioSinkElementFailed
2017-10-20 09:23:39.757 [  e] E MediaPlayer:handleSetIStreamSourceFailed:reason=setupPipelineFailed
/home/whiteknight/NXP_test/mediaplayer/avs-device-sdk-master/MediaPlayer/test/MediaPlayerTest.cpp:417: Failure
Expected: (MediaPlayerStatus::FAILURE) != (m_mediaPlayer->setSource( make_uniquestd::ifstream(inputsDirPath + MP3_FILE_PATH), repeat)), actual: 4-byte object <02-00 00-00> vs 4-byte object <02-00 00-00>
2017-10-20 09:23:39.757 [  2] E MediaPlayer:playFailed:reason=sourceNotSet
/home/whiteknight/NXP_test/mediaplayer/avs-device-sdk-master/MediaPlayer/test/MediaPlayerTest.cpp:550: Failure
Expected: (MediaPlayerStatus::FAILURE) != (m_mediaPlayer->play()), actual: 4-byte object <02-00 00-00> vs 4-byte object <02-00 00-00>
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed
2017-10-20 09:23:39.757 [  e] E MediaPlayer:doStopFailed:reason=gstElementGetStateFailed
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed
(MediaPlayerTest:20379): GLib-CRITICAL **: Source ID<PHONE_NUMBER> was not found when attempting to remove it
[  FAILED  ] MediaPlayerTest.testPlayAfterPause (1 ms)
[ RUN      ] MediaPlayerTest.testStopAfterPause
2017-10-20 09:23:39.758 [  f] E MediaPlayer:setupPipelineFailed:reason=createAudioSinkElementFailed
2017-10-20 09:23:39.758 [  f] E MediaPlayer:handleSetIStreamSourceFailed:reason=setupPipelineFailed
/home/whiteknight/NXP_test/mediaplayer/avs-device-sdk-master/MediaPlayer/test/MediaPlayerTest.cpp:417: Failure
Expected: (MediaPlayerStatus::FAILURE) != (m_mediaPlayer->setSource( make_uniquestd::ifstream(inputsDirPath + MP3_FILE_PATH), repeat)), actual: 4-byte object <02-00 00-00> vs 4-byte object <02-00 00-00>
2017-10-20 09:23:39.758 [  2] E MediaPlayer:playFailed:reason=sourceNotSet
/home/whiteknight/NXP_test/mediaplayer/avs-device-sdk-master/MediaPlayer/test/MediaPlayerTest.cpp:573: Failure
Expected: (MediaPlayerStatus::FAILURE) != (m_mediaPlayer->play()), actual: 4-byte object <02-00 00-00> vs 4-byte object <02-00 00-00>
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed
2017-10-20 09:23:39.758 [  f] E MediaPlayer:doStopFailed:reason=gstElementGetStateFailed
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed
(MediaPlayerTest:20379): GLib-CRITICAL **: Source ID<PHONE_NUMBER> was not found when attempting to remove it
[  FAILED  ] MediaPlayerTest.testStopAfterPause (0 ms)
[ RUN      ] MediaPlayerTest.testPauseAfterPause
2017-10-20 09:23:39.758 [ 10] E MediaPlayer:setupPipelineFailed:reason=createAudioSinkElementFailed
2017-10-20 09:23:39.758 [ 10] E MediaPlayer:handleSetIStreamSourceFailed:reason=setupPipelineFailed
/home/whiteknight/NXP_test/mediaplayer/avs-device-sdk-master/MediaPlayer/test/MediaPlayerTest.cpp:417: Failure
Expected: (MediaPlayerStatus::FAILURE) != (m_mediaPlayer->setSource( make_uniquestd::ifstream(inputsDirPath + MP3_FILE_PATH), repeat)), actual: 4-byte object <02-00 00-00> vs 4-byte object <02-00 00-00>
2017-10-20 09:23:39.758 [  2] E MediaPlayer:playFailed:reason=sourceNotSet
/home/whiteknight/NXP_test/mediaplayer/avs-device-sdk-master/MediaPlayer/test/MediaPlayerTest.cpp:595: Failure
Expected: (MediaPlayerStatus::FAILURE) != (m_mediaPlayer->play()), actual: 4-byte object <02-00 00-00> vs 4-byte object <02-00 00-00>
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed
2017-10-20 09:23:39.758 [ 10] E MediaPlayer:doStopFailed:reason=gstElementGetStateFailed
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed
(MediaPlayerTest:20379): GLib-CRITICAL **: Source ID<PHONE_NUMBER> was not found when attempting to remove it
[  FAILED  ] MediaPlayerTest.testPauseAfterPause (0 ms)
[ RUN      ] MediaPlayerTest.testResumeAfterPause
2017-10-20 09:23:39.759 [ 11] E MediaPlayer:setupPipelineFailed:reason=createAudioSinkElementFailed
2017-10-20 09:23:39.759 [ 11] E MediaPlayer:handleSetIStreamSourceFailed:reason=setupPipelineFailed
/home/whiteknight/NXP_test/mediaplayer/avs-device-sdk-master/MediaPlayer/test/MediaPlayerTest.cpp:417: Failure
Expected: (MediaPlayerStatus::FAILURE) != (m_mediaPlayer->setSource( make_uniquestd::ifstream(inputsDirPath + MP3_FILE_PATH), repeat)), actual: 4-byte object <02-00 00-00> vs 4-byte object <02-00 00-00>
2017-10-20 09:23:39.759 [  2] E MediaPlayer:playFailed:reason=sourceNotSet
/home/whiteknight/NXP_test/mediaplayer/avs-device-sdk-master/MediaPlayer/test/MediaPlayerTest.cpp:613: Failure
Expected: (MediaPlayerStatus::FAILURE) != (m_mediaPlayer->play()), actual: 4-byte object <02-00 00-00> vs 4-byte object <02-00 00-00>
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed
2017-10-20 09:23:39.759 [ 11] E MediaPlayer:doStopFailed:reason=gstElementGetStateFailed
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed
(MediaPlayerTest:20379): GLib-CRITICAL **: Source ID<PHONE_NUMBER> was not found when attempting to remove it
[  FAILED  ] MediaPlayerTest.testResumeAfterPause (1 ms)
[ RUN      ] MediaPlayerTest.testResumeAfterPlay
2017-10-20 09:23:39.759 [ 12] E MediaPlayer:setupPipelineFailed:reason=createAudioSinkElementFailed
2017-10-20 09:23:39.759 [ 12] E MediaPlayer:handleSetIStreamSourceFailed:reason=setupPipelineFailed
/home/whiteknight/NXP_test/mediaplayer/avs-device-sdk-master/MediaPlayer/test/MediaPlayerTest.cpp:417: Failure
Expected: (MediaPlayerStatus::FAILURE) != (m_mediaPlayer->setSource( make_uniquestd::ifstream(inputsDirPath + MP3_FILE_PATH), repeat)), actual: 4-byte object <02-00 00-00> vs 4-byte object <02-00 00-00>
2017-10-20 09:23:39.759 [  2] E MediaPlayer:playFailed:reason=sourceNotSet
/home/whiteknight/NXP_test/mediaplayer/avs-device-sdk-master/MediaPlayer/test/MediaPlayerTest.cpp:635: Failure
Expected: (MediaPlayerStatus::FAILURE) != (m_mediaPlayer->play()), actual: 4-byte object <02-00 00-00> vs 4-byte object <02-00 00-00>
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed
2017-10-20 09:23:39.759 [ 12] E MediaPlayer:doStopFailed:reason=gstElementGetStateFailed
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed
(MediaPlayerTest:20379): GLib-CRITICAL **: Source ID<PHONE_NUMBER> was not found when attempting to remove it
[  FAILED  ] MediaPlayerTest.testResumeAfterPlay (1 ms)
[ RUN      ] MediaPlayerTest.testGetOffsetInMilliseconds
2017-10-20 09:23:39.760 [ 13] E MediaPlayer:setupPipelineFailed:reason=createAudioSinkElementFailed
2017-10-20 09:23:39.760 [ 13] E MediaPlayer:handleSetAttachmentReaderSourceFailed:reason=setupPipelineFailed
/home/whiteknight/NXP_test/mediaplayer/avs-device-sdk-master/MediaPlayer/test/MediaPlayerTest.cpp:412: Failure
Expected: (MediaPlayerStatus::FAILURE) != (m_mediaPlayer->setSource( std::unique_ptr(new MockAttachmentReader(iterations, receiveSizes)))), actual: 4-byte object <02-00 00-00> vs 4-byte object <02-00 00-00>
2017-10-20 09:23:39.760 [  2] E MediaPlayer:playFailed:reason=sourceNotSet
/home/whiteknight/NXP_test/mediaplayer/avs-device-sdk-master/MediaPlayer/test/MediaPlayerTest.cpp:653: Failure
Expected: (MediaPlayerStatus::FAILURE) != (m_mediaPlayer->play()), actual: 4-byte object <02-00 00-00> vs 4-byte object <02-00 00-00>
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed
2017-10-20 09:23:39.760 [ 13] E MediaPlayer:doStopFailed:reason=gstElementGetStateFailed
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed
(MediaPlayerTest:20379): GLib-CRITICAL **: Source ID<PHONE_NUMBER> was not found when attempting to remove it
[  FAILED  ] MediaPlayerTest.testGetOffsetInMilliseconds (0 ms)
[ RUN      ] MediaPlayerTest.testGetOffsetInMillisecondsNullPipeline
2017-10-20 09:23:39.760 [ 14] I MediaPlayer:handleGetOffsetInMilliseconds::pipelineNotSet
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed
2017-10-20 09:23:39.760 [ 14] E MediaPlayer:doStopFailed:reason=gstElementGetStateFailed
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed
(MediaPlayerTest:20379): GLib-CRITICAL **: Source ID<PHONE_NUMBER> was not found when attempting to remove it
[       OK ] MediaPlayerTest.testGetOffsetInMillisecondsNullPipeline (0 ms)
[ RUN      ] MediaPlayerTest.testPlayingTwoAttachments
2017-10-20 09:23:39.760 [ 15] E MediaPlayer:setupPipelineFailed:reason=createAudioSinkElementFailed
2017-10-20 09:23:39.760 [ 15] E MediaPlayer:handleSetAttachmentReaderSourceFailed:reason=setupPipelineFailed
/home/whiteknight/NXP_test/mediaplayer/avs-device-sdk-master/MediaPlayer/test/MediaPlayerTest.cpp:412: Failure
Expected: (MediaPlayerStatus::FAILURE) != (m_mediaPlayer->setSource( std::unique_ptr(new MockAttachmentReader(iterations, receiveSizes)))), actual: 4-byte object <02-00 00-00> vs 4-byte object <02-00 00-00>
2017-10-20 09:23:39.760 [  2] E MediaPlayer:playFailed:reason=sourceNotSet
/home/whiteknight/NXP_test/mediaplayer/avs-device-sdk-master/MediaPlayer/test/MediaPlayerTest.cpp:681: Failure
Expected: (MediaPlayerStatus::FAILURE) != (m_mediaPlayer->play()), actual: 4-byte object <02-00 00-00> vs 4-byte object <02-00 00-00>
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed
2017-10-20 09:23:39.761 [ 15] E MediaPlayer:doStopFailed:reason=gstElementGetStateFailed
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed
(MediaPlayerTest:20379): GLib-CRITICAL **: Source ID<PHONE_NUMBER> was not found when attempting to remove it
[  FAILED  ] MediaPlayerTest.testPlayingTwoAttachments (1 ms)
[ RUN      ] MediaPlayerTest.testUnsteadyReads
2017-10-20 09:23:39.761 [ 16] E MediaPlayer:setupPipelineFailed:reason=createAudioSinkElementFailed
2017-10-20 09:23:39.761 [ 16] E MediaPlayer:handleSetAttachmentReaderSourceFailed:reason=setupPipelineFailed
/home/whiteknight/NXP_test/mediaplayer/avs-device-sdk-master/MediaPlayer/test/MediaPlayerTest.cpp:412: Failure
Expected: (MediaPlayerStatus::FAILURE) != (m_mediaPlayer->setSource( std::unique_ptr(new MockAttachmentReader(iterations, receiveSizes)))), actual: 4-byte object <02-00 00-00> vs 4-byte object <02-00 00-00>
2017-10-20 09:23:39.761 [  2] E MediaPlayer:playFailed:reason=sourceNotSet
/home/whiteknight/NXP_test/mediaplayer/avs-device-sdk-master/MediaPlayer/test/MediaPlayerTest.cpp:720: Failure
Expected: (MediaPlayerStatus::FAILURE) != (m_mediaPlayer->play()), actual: 4-byte object <02-00 00-00> vs 4-byte object <02-00 00-00>
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed
2017-10-20 09:23:39.761 [ 16] E MediaPlayer:doStopFailed:reason=gstElementGetStateFailed
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed
(MediaPlayerTest:20379): GLib-CRITICAL **: Source ID<PHONE_NUMBER> was not found when attempting to remove it
[  FAILED  ] MediaPlayerTest.testUnsteadyReads (0 ms)
[ RUN      ] MediaPlayerTest.testSetOffsetSeekableSource
2017-10-20 09:23:39.761 [ 17] E MediaPlayer:setupPipelineFailed:reason=createAudioSinkElementFailed
2017-10-20 09:23:39.761 [ 17] E MediaPlayer:handleSetSourceForUrlFailed:reason=setupPipelineFailed
2017-10-20 09:23:39.761 [  2] E MediaPlayer:playFailed:reason=sourceNotSet
/home/whiteknight/NXP_test/mediaplayer/avs-device-sdk-master/MediaPlayer/test/MediaPlayerTest.cpp:787: Failure
Expected: (MediaPlayerStatus::FAILURE) != (m_mediaPlayer->play()), actual: 4-byte object <02-00 00-00> vs 4-byte object <02-00 00-00>
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed
2017-10-20 09:23:39.761 [ 18] E MediaPlayer:doStopFailed:reason=gstElementGetStateFailed
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed
(MediaPlayerTest:20379): GLib-CRITICAL **: Source ID<PHONE_NUMBER> was not found when attempting to remove it
[  FAILED  ] MediaPlayerTest.testSetOffsetSeekableSource (1 ms)
[ RUN      ] MediaPlayerTest.testSetOffsetUnseekable
2017-10-20 09:23:39.762 [ 19] E MediaPlayer:setupPipelineFailed:reason=createAudioSinkElementFailed
2017-10-20 09:23:39.762 [ 19] E MediaPlayer:handleSetAttachmentReaderSourceFailed:reason=setupPipelineFailed
/home/whiteknight/NXP_test/mediaplayer/avs-device-sdk-master/MediaPlayer/test/MediaPlayerTest.cpp:412: Failure
Expected: (MediaPlayerStatus::FAILURE) != (m_mediaPlayer->setSource( std::unique_ptr(new MockAttachmentReader(iterations, receiveSizes)))), actual: 4-byte object <02-00 00-00> vs 4-byte object <02-00 00-00>
** (MediaPlayerTest:20379): CRITICAL **: gst_app_src_set_stream_type: assertion 'GST_IS_APP_SRC (appsrc)' failed
2017-10-20 09:23:39.762 [  2] E MediaPlayer:playFailed:reason=sourceNotSet
/home/whiteknight/NXP_test/mediaplayer/avs-device-sdk-master/MediaPlayer/test/MediaPlayerTest.cpp:815: Failure
Expected: (MediaPlayerStatus::FAILURE) != (m_mediaPlayer->play()), actual: 4-byte object <02-00 00-00> vs 4-byte object <02-00 00-00>
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed
2017-10-20 09:23:39.762 [ 19] E MediaPlayer:doStopFailed:reason=gstElementGetStateFailed
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed
(MediaPlayerTest:20379): GLib-CRITICAL **: Source ID<PHONE_NUMBER> was not found when attempting to remove it
[  FAILED  ] MediaPlayerTest.testSetOffsetUnseekable (0 ms)
[ RUN      ] MediaPlayerTest.testSetOffsetOutsideBounds
2017-10-20 09:23:39.762 [ 1a] E MediaPlayer:setupPipelineFailed:reason=createAudioSinkElementFailed
2017-10-20 09:23:39.762 [ 1a] E MediaPlayer:handleSetSourceForUrlFailed:reason=setupPipelineFailed
2017-10-20 09:23:39.762 [  2] E MediaPlayer:playFailed:reason=sourceNotSet
/home/whiteknight/NXP_test/mediaplayer/avs-device-sdk-master/MediaPlayer/test/MediaPlayerTest.cpp:840: Failure
Expected: (MediaPlayerStatus::FAILURE) != (m_mediaPlayer->play()), actual: 4-byte object <02-00 00-00> vs 4-byte object <02-00 00-00>
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed
2017-10-20 09:23:39.763 [ 1b] E MediaPlayer:doStopFailed:reason=gstElementGetStateFailed
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed
(MediaPlayerTest:20379): GLib-CRITICAL **: Source ID<PHONE_NUMBER> was not found when attempting to remove it
[  FAILED  ] MediaPlayerTest.testSetOffsetOutsideBounds (1 ms)
[ RUN      ] MediaPlayerTest.testSetSourceResetsOffset
2017-10-20 09:23:39.763 [ 1c] E MediaPlayer:setupPipelineFailed:reason=createAudioSinkElementFailed
2017-10-20 09:23:39.763 [ 1c] E MediaPlayer:handleSetSourceForUrlFailed:reason=setupPipelineFailed
2017-10-20 09:23:39.763 [ 1d] E MediaPlayer:setupPipelineFailed:reason=createAudioSinkElementFailed
2017-10-20 09:23:39.763 [ 1d] E MediaPlayer:handleSetSourceForUrlFailed:reason=setupPipelineFailed
2017-10-20 09:23:39.763 [  2] E MediaPlayer:playFailed:reason=sourceNotSet
/home/whiteknight/NXP_test/mediaplayer/avs-device-sdk-master/MediaPlayer/test/MediaPlayerTest.cpp:869: Failure
Expected: (MediaPlayerStatus::FAILURE) != (m_mediaPlayer->play()), actual: 4-byte object <02-00 00-00> vs 4-byte object <02-00 00-00>
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed
2017-10-20 09:23:39.763 [ 1e] E MediaPlayer:doStopFailed:reason=gstElementGetStateFailed
(MediaPlayerTest:20379): GStreamer-CRITICAL **: gst_object_unref: assertion 'object != NULL' failed
(MediaPlayerTest:20379): GLib-CRITICAL **: Source ID<PHONE_NUMBER> was not found when attempting to remove it
[  FAILED  ] MediaPlayerTest.testSetSourceResetsOffset (0 ms)
[----------] 21 tests from MediaPlayerTest (18 ms total)
[----------] Global test environment tear-down
[==========] 21 tests from 1 test case ran. (18 ms total)
[  PASSED  ] 2 tests.
[  FAILED  ] 19 tests, listed below:
[  FAILED  ] MediaPlayerTest.testStartPlayWaitForEnd
[  FAILED  ] MediaPlayerTest.testStartPlayForUrl
[  FAILED  ] MediaPlayerTest.testConsecutiveSetSource
[  FAILED  ] MediaPlayerTest.testStartPlayWaitForEndStartPlayAgain
[  FAILED  ] MediaPlayerTest.testStopPlay
[  FAILED  ] MediaPlayerTest.testStartPlayCallAfterStopPlay
[  FAILED  ] MediaPlayerTest.testPauseDuringPlay
[  FAILED  ] MediaPlayerTest.testPlayAfterPause
[  FAILED  ] MediaPlayerTest.testStopAfterPause
[  FAILED  ] MediaPlayerTest.testPauseAfterPause
[  FAILED  ] MediaPlayerTest.testResumeAfterPause
[  FAILED  ] MediaPlayerTest.testResumeAfterPlay
[  FAILED  ] MediaPlayerTest.testGetOffsetInMilliseconds
[  FAILED  ] MediaPlayerTest.testPlayingTwoAttachments
[  FAILED  ] MediaPlayerTest.testUnsteadyReads
[  FAILED  ] MediaPlayerTest.testSetOffsetSeekableSource
[  FAILED  ] MediaPlayerTest.testSetOffsetUnseekable
[  FAILED  ] MediaPlayerTest.testSetOffsetOutsideBounds
[  FAILED  ] MediaPlayerTest.testSetSourceResetsOffset
19 FAILED TESTS
How do i solve the issue?(i use gstreamer 1.10.4)
command is:
cmake /home/username/NXP_test/mediaplayer/avs-device-sdk-master -DGSTREAMER_MEDIA_PLAYER=ON -DCMAKE_PREFIX_PATH=/home/username/NXP_test/gstreamer/1104/build
make
make all test

Hi @captainpanther,
What platform do you run?
Did you installed gstreamer required plugins?
Thanks,
Benny

Ubuntu 14.04 64bit,how to check that install gstreamer plugin or not?
2017年10月21日 上午2:11，"Benny Avramson"<EMAIL_ADDRESS>
Hi @captainpanther https://github.com/captainpanther,
What platform do you run?
Did you installed gstreamer required plugins?
Thanks,
Benny
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/alexa/avs-device-sdk/issues/262#issuecomment-338282796,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AfLea3skhF1U1gyNsiqKbL5-skHnqOgcks5suOJrgaJpZM4QAbCl
.

Hi @captainpanther,
Please check the Linux Guide regarding the required plugins.
To check the installed Gstreamer plugins, run apt list --installed '*gst*'.
Thanks,
Benny

After using this command ,"apt list --installed 'gst' "  ,
Listing...   What is the cmake command that you used to do the build?
Thanks!

cmake /home/username/NXP_test/mediaplayer/avs-device-sdk-master -DGSTREAMER_MEDIA_PLAYER=ON -DCMAKE_PREFIX_PATH=/home/username/NXP_test/gstreamer/1104/build
or
cmake /home/username/NXP_test/mediaplayer/avs-device-sdk-master -DPORTAUDIO=ON -DPORTAUDIO_LIB_PATH=/home/username/NXP_test/all/portaudio/lib/libportaudio.la  -DPORTAUDIO_INCLUDE_DIR=/home/username/NXP_test/all/portaudio/include
i use any cmake ,but the result  is almost same..

Rather than duplicating the info here, let's consolidate onto this thread:
https://github.com/alexa/avs-device-sdk/issues/264

Hi @captainpanther,
It looks like the main reason for all your failures is the following line, which I can see in every single failure case:
MediaPlayer:setupPipelineFailed:reason=createAudioSinkElementFailed
In our GStreamer-based MediaPlayer implementation, we use the GStreamer element known as "autoaudiosink", which is found in gst-plugins-good.
Can you verify that your built app is being linked with the correct version of these plugins. I notice you have two versions of these plugins installed: 0.1 and 1.0.
Closing for now since it's been two months since this thread has been active, but reopen if you're still seeing this issue please.
Thanks,
Sanjay


Add npm-release action

I'd would be cool have this listed here!

@epeli your changes have been merged, thanks for your contribution 👍

Awesome, thanks!


In 4.1.0a1, compilation throws new RecursiveCompilation error

With zero changes to my setup, other than upgrading to 4.1.0a1, I suddenly can't build my site:
Nanoc::Int::Errors::RecursiveCompilation: The site cannot be compiled because the following items mutually depend on each other:
<Nanoc::Int::ItemRep name="default" binary=false raw_path="output/404.html" item.identifier="/404.html">
<Nanoc::Int::ItemRep name="default" binary=false raw_path="output/articles/3d-file-viewer/index.html" item.identifier="/dotcom/articles/3d-file-viewer.md">
<Nanoc::Int::ItemRep name="default" binary=false raw_path="" item.identifier="/google363a90be6f604622.html">.
....

Compilation stack:

  (empty)

Stack trace:

  0. /Users/gjtorikian/github/help-docs/vendor/cache/ruby/2.2.0/gems/nanoc-4.1.0a1/lib/nanoc/base/services/item_rep_selector.rb:27:in `each'
  1. /Users/gjtorikian/github/help-docs/vendor/cache/ruby/2.2.0/gems/nanoc-4.1.0a1/lib/nanoc/base/compilation/compiler.rb:215:in `compile_reps'
  2. /Users/gjtorikian/github/help-docs/vendor/cache/ruby/2.2.0/gems/nanoc-4.1.0a1/lib/nanoc/base/compilation/compiler.rb:122:in `block in run'
  3. /Users/gjtorikian/github/help-docs/vendor/cache/ruby/2.2.0/gems/nanoc-4.1.0a1/lib/nanoc/base/compilation/dependency_tracker.rb:18:in `run'
  4. /Users/gjtorikian/github/help-docs/vendor/cache/ruby/2.2.0/gems/nanoc-4.1.0a1/lib/nanoc/base/compilation/compiler.rb:121:in `run'
  5. /Users/gjtorikian/github/help-docs/vendor/cache/ruby/2.2.0/gems/nanoc-4.1.0a1/lib/nanoc/base/compilation/compiler.rb:106:in `run_all'
  6. /Users/gjtorikian/github/help-docs/vendor/cache/ruby/2.2.0/gems/nanoc-4.1.0a1/lib/nanoc/base/entities/site.rb:24:in `compile'
  7. /Users/gjtorikian/github/help-docs/vendor/cache/ruby/2.2.0/gems/nanoc-4.1.0a1/lib/nanoc/cli/commands/compile.rb:375:in `block in run'
  8. /Users/gjtorikian/github/help-docs/vendor/cache/ruby/2.2.0/gems/nanoc-4.1.0a1/lib/nanoc/cli/commands/compile.rb:417:in `run_listeners_while'
  9. /Users/gjtorikian/github/help-docs/vendor/cache/ruby/2.2.0/gems/nanoc-4.1.0a1/lib/nanoc/cli/commands/compile.rb:374:in `run'
  ... 16 more lines omitted. See full crash log for details.

I'm going to try and dig around in recent PRs to see what changed but I suspect this may occur for others, too.

I dropped down to 4.0.2 and the error went away. And as one might expect, commenting out item_rep_selector.rb:27 has the site build as well.

This to me seems like it happens because the cached data in tmp/ has changed formats in Nanoc 4.1, and Nanoc 4.1 misinterprets the format of 4.0. The solution for that would be to bump the file format version for the rule memory store.
Can you do two things for me?

Is this for the GitHub developer site? If so, zip the entire directory (including tmp/) and send it to me so I can take a look.

Afterwards, delete tmp/ and recompile with an unmodified Nanoc 4.1.0a1. If my hypothesis is correct, the site will compile properly.

Is this for the GitHub developer site?

It is not, it is sadly for a closed source site. :frowning:

Your hypothesis sadly did not work! I rm -rf tmp/ but it still did not compile.
I can send maybe a small reproducible test case instead of the whole directory? Will that help? I can get it crashing with just a 404.html and another file.

Yes please! Small test cases are awesome.

I can't repro with the public developer site, so now I'm thinking I've bungled something on my end. Looking into it a bit before providing you with a zip and/or shutting this down.

Interesting.
I have this line in my default layout:
<% @meta_description = @item[:meta_description] || @item[:intro] || safe_embed(@item.compiled_content)[0..200] %>

If I remove @item.compiled_content, the build is successful. Is it possible these are like, getting collided somewhere?

Ahh, that is possible, and that gives me another idea as to where this error is coming from.
You can replace @item.compiled_content with yield in the layout, which should fix it. (I’m guessing Nanoc 4.1 has a regression where it can’t deal with @item.compiled_content in this case, because it refers to the content after it’s been laid out. Needs further investigation as to where this issue coms from.)

(It might be the case that Nanoc 4.1.0a1’s behavior is in fact more correct.)

Cool, that'll work. raw_content also seems to work.
Feel free to close this or keep it open if it's something you want to work on? I'm not entirely clear what the problem is, heh.

raw_content will get the initial content without any filters applied to it, so that might not be what you want.
I’ll investigate and when I find that there’s an actual real issue here, but for now I’ll consider this resolved.

I captured the problem in #762.

Nice!

4.1 beta 1 has the fix (see #764).

This is still an issue in 4.1.0b1.

#766 fixes this. (Hopefully!)


Rework with a double_list_links_base class.

Currently the double_list_links is derived from static_double_list_links.
Define a double_list_links_base and derive both from it.

Done in 2023-05-06.


ensure that all workshop attendees are on a MONDO list

We have a number of different listserves. Should we use the mondo users list serve for everyone to best communicate?

we have a mondo-users list. I can add folks to this list if @cmungall makes me an owner.

I think this is done


Dockerize the Laravel / PHP / Dev Stack

@MarkMcDaniels brought up the challenges of jumping into the Code For Greenville projects due to the dev setup tasks and effort.
During the last CFG meeting @jeremywight @allella and @cscully thought we should Dockerize some of the projects.
This HG repo may be a good first candidate.
We talked a bit about it already on the Slack, but I figured to leave this open for some planning and in case others are interested.

I don't think this should be too hard to do. Laravel added "sail".
https://laravel.com/docs/8.x/sail

@csculley is taking a first crack at this right now.

I've added Laravel Sail to the project on the csculley/dockerize branch, but I've been having issues fully bringing up the site, running into permission issues with /var/www/html.
Feel free to try to bring up the project on csculley/dockerize with me to make sure that it's working, by either doing vendor/bin/sail up or vendor/bin/sail up -d!

I ran it and it definitely got pretty far before hanging on this line

laravel.test_1  | [Wed May  5 01:38:54 2021] <IP_ADDRESS>:34274 Closing

Maybe I just need to wait 20 more minutes.
I thought Docker was magic. The more I see it in action the more it looks like a glorified shell script compiling things from source.
I think we'll also want to update the docs with notes on installing required PHP extensions, like sqlite3 and dom. It seem trivial and it's  mentioned in Forking the Project and Getting it Running > Step 3 under the requirements, but it's glossed over given how much they will break things if they aren't already installed locally, for both local install and an attempt at Docker.
Composer won't run without those extensions so that initially blocked the composer install needed to install Sail.
IDK, it sort of defeats the purpose to need to install most of PHP just to try and install a virtual environment that runs a PHP app, but what do I know.
Prerequisite (on Ubuntu)
sudo apt install php-sqlite3 php-dom
composer install
vendor/bin/sail up

I'll try to run it again if it doesn't get past the current positiion.
Thanks @csculley

Lame, I can't test this. I'm running PHP8 and the things are the current versions are not compatible.

@csculley is making progress on Docker.  We've been talking through some pros and cons and questioning if it's going to help to run Docker vs local development besides for Windows users.
Another idea for setting up a dev environment is something like GitPod, which requires an account, but allows for clicking a button / link on a pull request and getting a functional dev environment in the cloud.  It has a 50 hour / month free tier, which I suspect could be more than enough for the folks who have time or system limitations that make local development impractical.
@MarkMcDaniels what do you think? Was your issue trying to develop on Windows and would something like GitPod be even more desirable than having to run WSL + Docker to get a working dev environment setup?

Based on what csculley found, it may be as much work for folks to get WSL and Docker installed locally as it would to follow the packages and daemons to run a local tech stack.
Docker definitely solves some problems, but Chris thought it would be useful for production than development.
In my limited experience with supporting Docker for new contributors on Chapter, especially for those using Windows, it's possible to spend as much time troubleshooting WSL and Docker as troubleshooting a local Laravel and database environment.
GitPod, or similar, are intended to be a more one-click and ephemeral dev environment. Here's an example of a GitPod config for the related Chapter project and I could ask the folks I know in Chapter for pointers if someone wants to go down this path.
I just tested GitPod on a random Chapter pull request and it took about a minute for it to load everything up and have a rendered app / website and a functional code environment. You don't even have to register for an account because you can login with GitHub authorization.
For those who want to dabble before figuring out a more local / custom development environment, GitPod seems to target the issue Mark initially described and it currently allows for up to 50/hours per month for free.
@MarkMcDaniels do you think this would be a better solution?  It would create upfront work to configure GitPod, but if you want to see it in action, then let me know and I can find a stable looking PR on Chapter as an example to see how it works.


NullPointerException on any !ba command

java.lang.NullPointerException: null
at com.BaPB.BaPBPlugin.baSubmit(BaPBPlugin.java:508)
at net.runelite.client.chat.ChatCommandManager.onChatboxInput(ChatCommandManager.java:150)
at net.runelite.client.chat.CommandManager.handleInput(CommandManager.java:152)
at net.runelite.client.chat.CommandManager.onScriptCallbackEvent(CommandManager.java:93)
at net.runelite.client.eventbus.EventBus$Subscriber.invoke(EventBus.java:70)
at net.runelite.client.eventbus.EventBus.post(EventBus.java:223)
at net.runelite.client.callback.Hooks.post(Hooks.java:169)
at client.cl(client.java:21316)
at l.l(l.java:59576)
at cr.c(cr.java:110)
at client.vm(client.java:3246)
at client.b(client.java:965)
at al.d(al.java:344)
at al.run(al.java:323)
at java.base/java.lang.Thread.run(Unknown Source)

I am able to replicate the error when trying the commands on an account that doesn't have a personal best saved. This is caused by it trying to access a value that doesn't exist in the config file.
Will add a try-catch block next update in order to make the error message more easily diagnosable.
In the meantime try to do some runs on the account and verify you haven't signed out of runelite or changed/moved the config file.


addon: Failed to run the test app

I've tried to run the addon via the test app (running src/test/java/.../Application.java), unfortunately it fails with:
Caused by: java.io.FileNotFoundException: Could not find the downloaded Node.js binary in /home/mavi/.vaadin/node/tmp/node-v16.15.0-linux-x64/bin/node
	at com.vaadin.flow.server.frontend.installer.NodeInstaller.installNodeUnix(NodeInstaller.java:285) ~[flow-server-23.1.1.jar:23.1.1]
	at com.vaadin.flow.server.frontend.installer.NodeInstaller.installNode(NodeInstaller.java:267) ~[flow-server-23.1.1.jar:23.1.1]

Indeed, there's corepack, npm and npx but no node binary. A glitch in older Vaadin perhaps? Perhaps we should upgrade Vaadin version in the addon.

Nope, upgrading to Vaadin 23.3.12 just always returns 404. I wonder whether the test classpath is not scanned for views?


Feat - Expand payment event logging

The PaymentAttemptEvent was being dispatched in only a handful of places, where it should be dispatched anytime we respond with a PaymentAuthorize response.
Also added the orderId to the response and the paymentType that returned it, this should give listeners more information about what's happening when these attempts are made.

@alecritson do we need to add anything to the upgrade guide for this?

@alecritson do we need to add anything to the upgrade guide for this?

Added snippet to upgrade guide


Read judgement-types API to determine if a verdict results in a penalty

Currently we always give a penalty when a solution is wrong.
However during ICPC-style contests compiler-error might not produce a penalty.
We can use the judgement-types (see https://contest.domjudge.org/api/contests/5/judgement-types for an example) endpoint to determine if a penalty should be given for a verdict.
That contest can also be used to test this behaviour, because DerBaer had two submissions post-freeze, where the first one was a compiler error. DOMjura curently shows 2 pending submissions, while it should show 1.

Well I think I am kinda lying. We should show two attempts, because we don’t want to let people know if one is a compiler error until we resolve.
However we should still check for compiler error penalties


Implement SBUS as a universal 8+ channel RC control protocol

Hi there,
is it already possible to use MavLink for RC control? Since MavLink RC override is only limited to 8Ch it would be very useful to have SBUS implemented as a truly universal 8Ch+ RC signal. Thanks in advance!
I know of someone who has already made some progress in implementing SBUS to the Raspberry Pi.... however this solution still freezes after some time. Let me know if you are interested in exchanging some knowledge about this and might be able to help debug.
Cheers!
Thomas

Hi, I'm back!
Just updated the code and we now have 12 channel SUMD (AirPI to FC) support. Set rc_proto=5 to use DroneBridge RC for the long-range link and enable SUMD output on the UAV on a defined UART/FTDI.
SUMD is universally supported with 12 channels by both iNAV & MAVLink based FC.
The code will be part of the next release.
As SBUS is not necessary anymore and will not be added by me in the near future I am closing this issue.


Added Quay management of CoP org

Automation of Quay and the current state of the redhat-cop Quay organization

/lgtm


Terras Ignotas has incorrect Max KSP version

CKAN Version:
1.25.3
KSP Version:
<IP_ADDRESS>1 and 1.5.1
Operating System:
Windows 10
Affected mods and mod versions:
Terras Ignotas v0.1.1
Problem
What steps did you take in CKAN?
I searched "Terr" to make Terras Ignotas appear in the list.
What did you expect to happen?
I was looking to make sure everything was correct, the Max KSP version was supposed to be 1.5.1.
What happened instead?
The Max KSP version was 1.3.1.
Screenshots:

This is backed up by someone with 1.5.1 trying to access it.

That's coming from the remote version file:
http://ksp-avc.cybutek.net/version.php?id=548
Try fixing that.

It's fixed on the repo now.

No, it's not: http://ksp-avc.cybutek.net/version.php?id=548

well I just revalidated the netkan using the merged version, and I saw it print id=548, even though the repo says the id is 592. I have no idea where it's getting 548 from.
https://github.com/KSP-DDR/Terras-Ignotas/blob/e4e7c0bfc8dd71464150ccd183313a643caeb366/Release/GameData/TerrasIgnotas/Versioning/Terras-Ignotas.version#L1-L10

548 is in the version file in the download.


No way to create new react-native app with tfjs-react-native because of dependency issues???

Click to expand!
Issue Type
Bug
Have you reproduced the bug with TF nightly?
No
Source
source
Tensorflow Version
tfjs-react-native-0.8.0
Custom Code
Yes
OS Platform and Distribution
all
Mobile device
all
Python version
No response
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
I hope I have just missed something dumb but I don’t think so as I have been struggling to get tfjs-react-native working for the last two days.

version 0.8.0 of this library seems to be unacceptably out of date as far as its dependencies go resulting in it not being possible.....as far as I can tell.....to instantiate a new react-native / expo app and add it as a dependency.  You have to jump through some major hoops to find expo and react SDK versions that might possibly support the versions of react and react-native this library expects and even then it still won't work for me.

There is at least 1 other ticket #7323 mentioning the fact that the libraries dependencies are so out of date that it looks like the library is not maintained at all.

The response to that ticket seems to be 'no it is maintained we will update it sometime'.  Can this please get resolved?

Standalone code to reproduce the issue
follow this tutorial to create a new expo app https://docs.expo.dev/get-started/create-a-new-app/

then do npm i @tensorflow/tfjs-react-native

It will refuse to install due to conflicting react and react-native dependencies

Relevant log output
No response

Hi ,
I am a working professional and willing to participate in GSOC 2023 so want to solve this issue

@rbmdotdev
This issue is more related to tfjs. So,  Could you please post this issue on tensorflow/tfjs for quick assistance.
Thank you !

Ok done https://github.com/tensorflow/tfjs/issues/7454 thanks


ATLAS GlossaryTerm RelatedObj have a mistask where filter existing reference

There is an error in the existing filter ... ：0

please check ~ thanks :)

Hello  @Seandity  - thanks for identifying the issue and the fix. Can you please file a JIRA at https://issues.apache.org/jira for this issue and attach the patch?


Move default provider handling to the spoke

...specifically the case where there's no cloud provider implementation for a platform. We still want to set the status
condition indicating the environment was prepared. Previously this was done on the hub but it should be done on the spoke as only AWS is handled on the hub (and the intention is to move this to the spoke as well).
The cloud.Providerfactory was modified to also return a boolean indicating whether or not a Provider exists.

@tpantelis this one seems to be ready for review. Should we try and get it into 2.6?

/cc @sridhargaddam @skitt

/approve

/lgtm

does this need cherry pick to 2.5?

I think it does, we can discuss it on the cherry-pick
/cherrypick release-2.5

I think it does, we can discuss it on the cherry-pick
/cherrypick release-2.5

We don't need to cherry pick this - it builds on a prior PR so we'd need that one as well.


Import error on kernelapp when running remote kernel

I've followed the setup steps, and confirmed that I can log in to my remote host without a password, but when I run Jupyter and switch to the remote kernel, I get the following:
Traceback (most recent call last):
  File "/usr/local/bin/rkscript", line 218, in <module>
    remote_ports = ch.receive()
  File "/usr/local/lib/python3.4/site-packages/execnet/gateway_base.py", line 711, in receive
    raise self._getremoteerror() or EOFError()
execnet.gateway_base.RemoteError: Traceback (most recent call last):
  File "<string>", line 1039, in executetask
  File "<string>", line 1, in do_exec
  File "<remote exec>", line 11, in <module>
ImportError: No module named IPython.kernel.zmq.kernelapp

Perhaps a PYTHONPATH issue?
Running Python 3.4 on OX X 10.11 locally.

I see that this is a remote error, however when I try import IPython.kernel.zmq.kernelapp on the remote machine, it does not give an error.

Error: ImportError: No module named IPython.kernel.zmq.kernelapp. Yep, it is a remote error.
The IPython.kernel package has been deprecated.
My code from the rkscript:
try:
    from ipykernel.kernelapp import launch_new_instance
except ImportError:
    from IPython.kernel.zmq.kernelapp import launch_new_instance

Check this python 2 and python 3 modules or reinstall/update the jupyter notebook on a remote machine.


Extension doesn't show up in Zeplin

Hi! I'd love to try out the extension, but after adding it to Zeplin the code snippets aren't appearing. Only the regular CSS is shown.
Thanks.

Is the extension enabled in your project?

Yes.
On Thu, May 10, 2018 at 8:28 AM Miguel Rochefort<EMAIL_ADDRESS>wrote:

Is the extension enabled in your project?
[image: image]
https://user-images.githubusercontent.com/1556332/39869557-0114b2dc-542c-11e8-8f3c-a36291dbdfd6.png
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nventive/zeplin-extension-xaml/issues/4#issuecomment-388038984,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ai8SVjF_wNYF6-CPoMsff5jbIifxbOVAks5txDJSgaJpZM4TO7ej
.

I had to search for the extension's output, as it shows underneath the swift layout.  But it does show for me. I'm using v2.02

But it's correct that it doesn't show this for all components right?
As in: It only seems to support text, colors (when in styleguide), gradients.
It does not seem to recognize any form of shapes (vectors or even plain rectangles) Which would have been a killer feature for me

Same here, CSS output doesn't show up for any of the components.

I'm not sure what changed, but the code is generating properly for me using Zeplin Version 2.7.1 (762). I really appreciate the tool!


Problem generating protobuf stubs in ONNX

I'm trying to build this container where deepstream depends on protobuf:protobuf_cpp, but for some reason it's erroring out on the ONNX container build because of the protobuf extension.  I should note that I'm building this from the dev branch also because of a comment I saw in another issue thread.
I'm unclear on how to fix this.
$ ./build.sh --name=my_container protobuf pytorch:2.1 opencv torchvision torchaudio tensorflow2 gstreamer deepstream
[...]
[...]
[...]
  running build_ext
  running cmake_build
  Using cmake args: ['/usr/local/bin/cmake', '-DPYTHON_INCLUDE_DIR=/usr/include/python3.8', '-DPYTHON_EXECUTABLE=/usr/bin/python3', '-DBUILD_ONNX_PYTHON=ON', '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON', '-DONNX_NAMESPACE=onnx', '-DPY_EXT_SUFFIX=.cpython-38-aarch64-linux-gnu.so', '-DCMAKE_BUILD_TYPE=Release', '-DONNX_ML=1', '/tmp/pip-req-build-3z4v669m']
  CMake Deprecation Warning at CMakeLists.txt:2 (cmake_minimum_required):
    Compatibility with CMake < 3.5 will be removed from a future version of
    CMake.

    Update the VERSION argument <min> value or use a ...<max> suffix to tell
    CMake that the project does not need compatibility with older versions.

  -- The C compiler identification is GNU 9.4.0
  -- The CXX compiler identification is GNU 9.4.0
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Check for working C compiler: /usr/bin/cc - skipped
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Check for working CXX compiler: /usr/bin/c++ - skipped
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  CMake Warning (dev) at CMakeLists.txt:106 (find_package):
    Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
    are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
    the cmake_policy command to set the policy and suppress this warning.

  This warning is for project developers.  Use -Wno-dev to suppress it.

  -- Found PythonInterp: /usr/bin/python3 (found version "3.8.10")
  CMake Warning (dev) at CMakeLists.txt:108 (find_package):
    Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
    are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
    the cmake_policy command to set the policy and suppress this warning.

  This warning is for project developers.  Use -Wno-dev to suppress it.

  -- Found PythonLibs: /usr/lib/aarch64-linux-gnu/libpython3.8.so (found version "3.8.10")
  -- Found Protobuf: /usr/local/lib/libprotobuf.so (found version "3.20.3")
  -- ONNX_PROTOC_EXECUTABLE: /usr/local/bin/protoc
  -- Protobuf_VERSION: 3.20.3
  Generated: /tmp/pip-req-build-3z4v669m/.setuptools-cmake-build/onnx/onnx-ml.proto
  Generated: /tmp/pip-req-build-3z4v669m/.setuptools-cmake-build/onnx/onnx-operators-ml.proto
  Generated: /tmp/pip-req-build-3z4v669m/.setuptools-cmake-build/onnx/onnx-data.proto
  -- Could NOT find pybind11 (missing: pybind11_DIR)
  CMake Deprecation Warning at third_party/pybind11/CMakeLists.txt:8 (cmake_minimum_required):
    Compatibility with CMake < 3.5 will be removed from a future version of
    CMake.

    Update the VERSION argument <min> value or use a ...<max> suffix to tell
    CMake that the project does not need compatibility with older versions.

  -- pybind11 v2.10.4
  CMake Warning (dev) at third_party/pybind11/tools/FindPythonLibsNew.cmake:98 (find_package):
    Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
    are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
    the cmake_policy command to set the policy and suppress this warning.

  Call Stack (most recent call first):
    third_party/pybind11/tools/pybind11Tools.cmake:50 (find_package)
    third_party/pybind11/tools/pybind11Common.cmake:180 (include)
    third_party/pybind11/CMakeLists.txt:208 (include)
  This warning is for project developers.  Use -Wno-dev to suppress it.

  -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.10", minimum required is "3.6")
  -- Found PythonLibs: /usr/lib/aarch64-linux-gnu/libpython3.8.so
  -- Performing Test HAS_FLTO
  -- Performing Test HAS_FLTO - Success
  --
  -- ******** Summary ********
  --   CMake version                     : 3.28.1
  --   CMake command                     : /usr/local/lib/python3.8/dist-packages/cmake/data/bin/cmake
  --   System                            : Linux
  --   C++ compiler                      : /usr/bin/c++
  --   C++ compiler version              : 9.4.0
  --   CXX flags                         :  -Wnon-virtual-dtor
  --   Build type                        : Release
  --   Compile definitions               : __STDC_FORMAT_MACROS
  --   CMAKE_PREFIX_PATH                 :
  --   CMAKE_INSTALL_PREFIX              : /usr/local
  --   CMAKE_MODULE_PATH                 :
  --
  --   ONNX version                      : 1.16.0
  --   ONNX NAMESPACE                    : onnx
  --   ONNX_USE_LITE_PROTO               : OFF
  --   USE_PROTOBUF_SHARED_LIBS          : OFF
  --   Protobuf_USE_STATIC_LIBS          : ON
  --   ONNX_DISABLE_EXCEPTIONS           : OFF
  --   ONNX_DISABLE_STATIC_REGISTRATION  : OFF
  --   ONNX_WERROR                       : OFF
  --   ONNX_BUILD_TESTS                  : OFF
  --   ONNX_BUILD_BENCHMARKS             : OFF
  --   ONNX_BUILD_SHARED_LIBS            :
  --   BUILD_SHARED_LIBS                 :
  --
  --   Protobuf compiler                 : /usr/local/bin/protoc
  --   Protobuf includes                 : /usr/local/include
  --   Protobuf libraries                : /usr/local/lib/libprotobuf.so
  --   BUILD_ONNX_PYTHON                 : ON
  --     Python version                :
  --     Python executable             : /usr/bin/python3
  --     Python includes               : /usr/include/python3.8
  -- Configuring done (1.7s)
  -- Generating done (0.0s)
  -- Build files have been written to: /tmp/pip-req-build-3z4v669m/.setuptools-cmake-build
  [  1%] Running gen_proto.py on onnx/onnx.in.proto
  Processing /tmp/pip-req-build-3z4v669m/onnx/onnx.in.proto
  Writing /tmp/pip-req-build-3z4v669m/.setuptools-cmake-build/onnx/onnx-ml.proto
  Writing /tmp/pip-req-build-3z4v669m/.setuptools-cmake-build/onnx/onnx-ml.proto3
  generating /tmp/pip-req-build-3z4v669m/.setuptools-cmake-build/onnx/onnx_pb.py
  [  2%] Running C++ protocol buffer compiler on /tmp/pip-req-build-3z4v669m/.setuptools-cmake-build/onnx/onnx-ml.proto
  /usr/local/lib/python3.8/dist-packages/google/protobuf/internal/api_implementation.py:110: UserWarning: Selected implementation cpp is not available.
    warnings.warn(
  Traceback (most recent call last):
    File "/tmp/pip-req-build-3z4v669m/.setuptools-cmake-build/tools/protoc-gen-mypy.py", line 28, in <module>
      import google.protobuf.descriptor_pb2 as d_typed
    File "/usr/local/lib/python3.8/dist-packages/google/protobuf/descriptor_pb2.py", line 5, in <module>
      from google.protobuf.internal import builder as _builder
    File "/usr/local/lib/python3.8/dist-packages/google/protobuf/internal/builder.py", line 42, in <module>
      from google.protobuf import reflection as _reflection
    File "/usr/local/lib/python3.8/dist-packages/google/protobuf/reflection.py", line 51, in <module>
      from google.protobuf import message_factory
    File "/usr/local/lib/python3.8/dist-packages/google/protobuf/message_factory.py", line 45, in <module>
      from google.protobuf import descriptor_pool
    File "/usr/local/lib/python3.8/dist-packages/google/protobuf/descriptor_pool.py", line 63, in <module>
      from google.protobuf import descriptor
    File "/usr/local/lib/python3.8/dist-packages/google/protobuf/descriptor.py", line 51, in <module>
      from google.protobuf.pyext import _message
  ImportError: cannot import name '_message' from 'google.protobuf.pyext' (/usr/local/lib/python3.8/dist-packages/google/protobuf/pyext/__init__.py)

  The above exception was the direct cause of the following exception:

  Traceback (most recent call last):
    File "/tmp/pip-req-build-3z4v669m/.setuptools-cmake-build/tools/protoc-gen-mypy.py", line 31, in <module>
      raise RuntimeError("Failed to generate mypy stubs") from e
  RuntimeError: Failed to generate mypy stubs
  --mypy_out: protoc-gen-mypy: Plugin failed with status code 1.
  make[2]: *** [CMakeFiles/gen_onnx_proto.dir/build.make:74: onnx/onnx-ml.pb.cc] Error 1
  make[1]: *** [CMakeFiles/Makefile2:107: CMakeFiles/gen_onnx_proto.dir/all] Error 2
  make: *** [Makefile:136: all] Error 2
  Traceback (most recent call last):
    File "/usr/local/lib/python3.8/dist-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
      main()
    File "/usr/local/lib/python3.8/dist-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/usr/local/lib/python3.8/dist-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
      return _build_backend().build_wheel(wheel_directory, config_settings,
    File "/tmp/pip-build-env-tes3938h/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 404, in build_wheel
      return self._build_with_temp_dir(
    File "/tmp/pip-build-env-tes3938h/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 389, in _build_with_temp_dir
      self.run_setup()
    File "/tmp/pip-build-env-tes3938h/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 311, in run_setup
      exec(code, locals())
    File "<string>", line 321, in <module>
    File "/tmp/pip-build-env-tes3938h/overlay/lib/python3.8/site-packages/setuptools/__init__.py", line 103, in setup
      return distutils.core.setup(**attrs)
    File "/tmp/pip-build-env-tes3938h/overlay/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 185, in setup
      return run_commands(dist)
    File "/tmp/pip-build-env-tes3938h/overlay/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
      dist.run_commands()
    File "/tmp/pip-build-env-tes3938h/overlay/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
      self.run_command(cmd)
    File "/tmp/pip-build-env-tes3938h/overlay/lib/python3.8/site-packages/setuptools/dist.py", line 963, in run_command
      super().run_command(command)
    File "/tmp/pip-build-env-tes3938h/overlay/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "/tmp/pip-build-env-tes3938h/normal/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 368, in run
      self.run_command("build")
    File "/tmp/pip-build-env-tes3938h/overlay/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
      self.distribution.run_command(command)
    File "/tmp/pip-build-env-tes3938h/overlay/lib/python3.8/site-packages/setuptools/dist.py", line 963, in run_command
      super().run_command(command)
    File "/tmp/pip-build-env-tes3938h/overlay/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "/tmp/pip-build-env-tes3938h/overlay/lib/python3.8/site-packages/setuptools/_distutils/command/build.py", line 131, in run
      self.run_command(cmd_name)
    File "/tmp/pip-build-env-tes3938h/overlay/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
      self.distribution.run_command(command)
    File "/tmp/pip-build-env-tes3938h/overlay/lib/python3.8/site-packages/setuptools/dist.py", line 963, in run_command
      super().run_command(command)
    File "/tmp/pip-build-env-tes3938h/overlay/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "<string>", line 258, in run
    File "/tmp/pip-build-env-tes3938h/overlay/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
      self.distribution.run_command(command)
    File "/tmp/pip-build-env-tes3938h/overlay/lib/python3.8/site-packages/setuptools/dist.py", line 963, in run_command
      super().run_command(command)
    File "/tmp/pip-build-env-tes3938h/overlay/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "<string>", line 237, in run
    File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['/usr/local/bin/cmake', '--build', '.', '--', '-j', '12']' returned non-zero exit status 2.
  error: subprocess-exited-with-error

  × Building wheel for onnx (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  full command: /usr/bin/python3 /usr/local/lib/python3.8/dist-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmpiajrvrua
  cwd: /tmp/pip-req-build-3z4v669m
  Building wheel for onnx (pyproject.toml): finished with status 'error'
  ERROR: Failed building wheel for onnx
Failed to build onnx
ERROR: Could not build wheels for onnx, which is required to install pyproject.toml-based projects
The command '/bin/sh -c pip3 install --no-cache-dir --verbose git+https://github.com/onnx/onnx@${ONNX_VERSION}' returned a non-zero code: 1
Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/nvidia/jetson-containers/jetson_containers/build.py", line 102, in <module>
    build_container(args.name, args.packages, args.base, args.build_flags, args.simulate, args.skip_tests, args.test_only, args.push, args.no_github_api)
  File "/home/nvidia/jetson-containers/jetson_containers/container.py", line 141, in build_container
    status = subprocess.run(cmd.replace(_NEWLINE_, ' '), executable='/bin/bash', shell=True, check=True)
  File "/usr/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'DOCKER_BUILDKIT=0 docker build --network=host --tag my_container:r35.4.1-onnx --file /home/nvidia/jetson-containers/packages/onnx/Dockerfile --build-arg BASE_IMAGE=my_container:r35.4.1-cmake --build-arg ONNX_VERSION="main" /home/nvidia/jetson-containers/packages/onnx 2>&1 | tee /home/nvidia/jetson-containers/logs/20231222_010520/build/my_container_r35.4.1-onnx.txt; exit ${PIPESTATUS[0]}' returned non-zero exit status 1.

@cahlen onnx likes to build its own version of protobuf that it provides as a submodule - does it work if you omit protobuf from your build.sh command?

Thanks for your quick response @dusty-nv.  Here is what I've tried after your comment,

Completely cleaned my docker containers/images (docker system prune -a)
Re-cloned the repo (without --depth=1) so that I could checkout dev
Did the typical install over again (pip3 install -r requirements.txt) just in case.
Issued:  $ ./build.sh --name=my_container pytorch:2.1 opencv torchvision torchaudio tensorflow2 gstreamer deepstream without the protobuf layer as you requested.

  Here is the last log
-- Testing container my_container:r35.4.1 (onnx/test.py)

docker run -t --rm --runtime=nvidia --network=host \
--volume /home/debian/jetson-containers/packages/onnx:/test \
--volume /home/debian/jetson-containers/data:/data \
--workdir /test \
my_container:r35.4.1 \
/bin/bash -c 'python3 test.py' \
2>&1 | tee /home/debian/jetson-containers/logs/20231222_114450/test/my_container_r35.4.1_test.py.txt; exit ${PIPESTATUS[0]}

testing onnx...
/usr/local/lib/python3.8/dist-packages/google/protobuf/internal/api_implementation.py:87: UserWarning: Selected implementation cpp is not available.
  warnings.warn(
Traceback (most recent call last):
  File "test.py", line 4, in <module>
    import onnx
  File "/usr/local/lib/python3.8/dist-packages/onnx/__init__.py", line 75, in <module>
    from onnx import serialization
  File "/usr/local/lib/python3.8/dist-packages/onnx/serialization.py", line 16, in <module>
    import google.protobuf.json_format
  File "/usr/local/lib/python3.8/dist-packages/google/protobuf/json_format.py", line 30, in <module>
    from google.protobuf.internal import type_checkers
  File "/usr/local/lib/python3.8/dist-packages/google/protobuf/internal/type_checkers.py", line 28, in <module>
    from google.protobuf.internal import decoder
  File "/usr/local/lib/python3.8/dist-packages/google/protobuf/internal/decoder.py", line 64, in <module>
    from google.protobuf.internal import encoder
  File "/usr/local/lib/python3.8/dist-packages/google/protobuf/internal/encoder.py", line 48, in <module>
    from google.protobuf.internal import wire_format
  File "/usr/local/lib/python3.8/dist-packages/google/protobuf/internal/wire_format.py", line 13, in <module>
    from google.protobuf import descriptor
  File "/usr/local/lib/python3.8/dist-packages/google/protobuf/descriptor.py", line 28, in <module>
    from google.protobuf.pyext import _message
ImportError: cannot import name '_message' from 'google.protobuf.pyext' (/usr/local/lib/python3.8/dist-packages/google/protobuf/pyext/__init__.py)
Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/debian/jetson-containers/jetson_containers/build.py", line 102, in <module>
    build_container(args.name, args.packages, args.base, args.build_flags, args.simulate, args.skip_tests, args.test_only, args.push, args.no_github_api)
  File "/home/debian/jetson-containers/jetson_containers/container.py", line 160, in build_container
    test_container(name, package, simulate)
  File "/home/debian/jetson-containers/jetson_containers/container.py", line 320, in test_container
    status = subprocess.run(cmd.replace(_NEWLINE_, ' '), executable='/bin/bash', shell=True, check=True)
  File "/usr/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'docker run -t --rm --runtime=nvidia --network=host --volume /home/debian/jetson-containers/packages/onnx:/test --volume /home/debian/jetson-containers/data:/data --workdir /test my_container:r35.4.1 /bin/bash -c 'python3 test.py' 2>&1 | tee /home/debian/jetson-containers/logs/20231222_114450/test/my_container_r35.4.1_test.py.txt; exit ${PIPESTATUS[0]}' returned non-zero exit status 1.

Since the final container looks to have been built, even thought the test failed, I'm going to try to use it.  I'll update with results.

It seems like an order thing. Switched back to master and was able to successfully excercise this build
$ ./build.sh --name=my_container deepstream pytorch:2.1 opencv torchaudio torchvision tensorflow2

instead of deepstream at the end, I put it up front, and the ordering of the container layers seems to work like this.

OK interesting, thanks @cahlen.  It would appear the order in this case did in fact matter.  The protobuf stuff is tricky to figure out sometimes.  But hey if it works!  Glad that you got it built 👍


Add vectored IO methods to C++ ExclusivePublication

Bring it in line with concurrent Publication.

Added with this commit. https://github.com/real-logic/aeron/commit/453e50b036ac46bd507fa1d4550ce9398d206356


Add performance logging to inference server

Spits out some numbers like this
(-300) recent: 4.73s/6400 (52.7% in session), total: warming up
(-100) recent: 4.81s/6400 (53.0% in session), total: warming up
(0) recent: 4.71s/6400 (53.0% in session), total: warming up
(100) recent: 4.86s/6400 (53.7% in session), total: 48.60s/64000 inferences
(200) recent: 4.82s/6400 (52.8% in session), total: 48.39s/64000 inferences
(300) recent: 4.92s/6400 (51.6% in session), total: 48.60s/64000 inferences

They get interlaced with game debug but they happen often enough to be able to find them.
Existing debug is to find the lines like this in the game debug and multiple by number of games and stuff
Milliseconds per 100 reads: 650ms over 8000 readouts (batched: 8)

The code takes a lot of lines which I don't really like but I like the output so I'm for it.

I simplified what I log so it's a much cleaner solution now.


Stand up Cityvoice (Due 5/29)

Oh hai cc @jmadans

attempted to stand up city voice, after recording last audio clip i got an internal server error, so we’ll have to wait for them to fix it before deploying

Did this happen today or was this before?

This was today.

this was today, happened in the builder, Internal Server Eror
On Fri, May 22, 2015 at 1:47 PM, Dave Guarino<EMAIL_ADDRESS>wrote:

Did this happen today or was this before?
—
Reply to this email directly or view it on GitHub
https://github.com/codeforamerica/mdc-feedback/issues/8#issuecomment-104763553
.

@daguar Feel no need to troubleshoot. I will try with @migurski first next week!

Something's up with Redis — the errors are all TypeError - no implicit conversion of nil into String where the builder is trying to JSON.parse JSON from Redis.
The Redis expiration is currently 30 minutes, but that's an open issue specified here: https://github.com/codeforamerica/cityvoice-survey-builder/issues/8

Did we figure out what the bug was here?


%MSYS2_ROOT% environment variable for msys2 package and persistent /home directory

Same as %CMDER_ROOT%, %MSYS2_ROOT% is pointing the root of MSYS2. This will help lot of works.

You mean adding MSYS2_ROOT to msys2.json?
    "env_set": {
        "MSYS2_ROOT": "$dir"
    },

Yes.

Updated: request persistent directory for /home. Most of user individual config files are there.

Help. Today we are having msys2 update. Please consider confirm this issue.


AQCU-808: Added functionality for estimated series to plot with gaps.

Coverage increased (+0.03%) to 88.372% when pulling 39750feb947a489dcaf17e6d6567c4f3fe7aa260 on zmoore-usgs:bug/estimated-gaps into 7281139ab0b8c70a15b48e0559a18f38ea83134d on USGS-R:master.

pulling this locally to test out.

@zmoore-usgs what's a good example of testing here? Not seeing much of a difference in before/after with the one suggested by laura?  "the Location 01010000, Discharge, Jan to Aug 2015 for DV Hydro has estimates that should show, if that's useful."

@mhines-usgs Yeah, that additional one from Laura didn't have multiple estimated periods so there wasn't much difference. Take a look at the third example she posted in the description:
"Location 01643700, Discharge, Dec 2013 to Feb 2014"

thanks :)


Feature/code cleanup

Ordered and formatted code to ease adding pending PRs functionality.
Removed most of the warnings when possible.
Annotated some ArgumentNullException(object.property) to qualify full parameter name

My goal is to continue incorporating functionality over this base, gathering from existing PRs.
This PR does not add/modify/remove any existing functionality.

Hey @dgvives. Again super appreciate your work here. Do you think you could do a few systematic PR's with a single concept at once and then keep rebasing this one until we make sure all the changes were taken. So for example:
1 - Remove instances of this.
2 - Convert CancellationToken = default
3 - Fix spaces in files
4 - etc.
Make it so much easier to review. We can be timely on the reviews since they are very systematic and less error prone. What do you think?

@jterry75 totally agree, doesn't apply if there is no improvement.
I'm working on #236 solution, just need a docker image valid to run tests on different environments win/unix/mac


Can't push event on a PhoenixChannelState.errored channel

Got this error PhoenixChannelState.errored when channel push. It's about 6 from 10 messages failed to push to the channel.
phoenix_socket: ^0.7.4
I/flutter (14107): Bad state: Can't push event on a PhoenixChannelState.errored channel
I/flutter (14107): #0      PhoenixChannel.pushEvent (package:phoenix_socket/src/channel.dart:286:9)
I/flutter (14107): #1      PhoenixChannel.push (package:phoenix_socket/src/channel.dart:256:7)
I/flutter (14107): #2      _MyPageState._channelPush (package:******/my_page.dart:664:16)
I/flutter (14107): #3      _MyPageState._sendMessage (package:*****/my_page.dart:658:7)
I/flutter (14107): #4      _MyPageState.build.<anonymous closure> (package:****/my_page.dart:216:15)
I/flutter (14107): #5      _MyFAB.build.<anonymous closure> (package:******/my_component.dart:74:48)
I/flutter (14107): #6      EditableTextState._finalizeEditing (package:flutter/src/widgets/editable_text.dart:3245:18)
I/flutter (14107): #7      EditableTextState.performAction (package:flutter/src/widgets/editable_text.dart:3076:9)
I/flutter (14107): #8      TextInput._handleTextInputInvocation (package:flutter/src/services/text_input.dart:1876:39)
I/flutter (14107): #9      TextInput._loudlyHandleTextInputInvocation (package:flutter/src/service

flutter doctor -v
[!] Flutter (Channel [user-branch], 3.16.3, on macOS 14.4.1 23E224 darwin-arm64, locale en-ID)
! Flutter version 3.16.3 on channel [user-branch] at /Users/username/flutter
Currently on an unknown channel. Run flutter channel to switch to an official channel.
If that doesn't fix the issue, reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install.
! Upstream repository unknown source is not a standard remote.
Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss this error.
• Framework revision b0366e0a3f (6 months ago), 2023-12-05 19:46:39 -0800
• Engine revision 54a7145303
• Dart version 3.2.3
• DevTools version 2.28.4
• If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks
and upgrades.
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
• Android SDK at /Users/username/Library/Android/sdk
• Platform android-34, build-tools 33.0.2
• ANDROID_HOME = /Users/username/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15E204a
• CocoaPods version 1.14.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2022.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• android-studio-dir = /Applications/Android Studio.app
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
[✓] VS Code (version 1.89.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension can be installed from:
🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (2 available)
• sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64  • Android 13 (API 33) (emulator)
• Chrome (web)                • chrome        • web-javascript • Google Chrome 124.0.6367.62
[✓] Network resources
• All expected network resources are available.
! Doctor found issues in 1 category.

This usually means the channel flipped to an errored state following an error and it's subsequently unusable.
When such an error happens on a channel, you would see it emitted from the channel.messages stream.

What option that i have if PhoenixChannelState.errored happened ? can channel resend or waiting until it ready to push again ?
This emitted from channel.message
Message(joinRef: 116, ref: 116, topic: myTopic, event: PhoenixChannelEvent(phx_error), payload: {})

i checked that not every errored state emitting message from channel.message, it's not emitting sometimes.

Found why it's error, i was create a chat room that able to send text/image message. The room also push online status every 3.5 with the same topic. It turns out that sending messages and sending online status occur simultaneously.
Any solution about this ? thanks


Fix scrolling reward calculation issue

Purpose

Removes the footer height from the scroll height used to calculate the reward.

Reward calculated before scrolling into the footer.
Does this introduce a breaking change?

[ ] Yes
[ ] No

Pull Request Type
What kind of change does this Pull Request introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

Is there a reason you added a div with an id instead of setting the id to the footer, or using the footer element itself?

yes!, because the footer with an id element couldn't be retrieved from the js side, and we have 2 footer elements in the site, which could cause confusion.


UI changes based on sonu user studies

You can run this by doing:
make branch=ui-changes run_branch

related issues:
#154
#155
#156
#157
#158
#159
#160

@codebeaker changes in https://github.com/FredHutch/shiny-cromwell/pull/162/commits/8a03d230a268912b0991e842eaa926a865f692a1


nixos: xserver typematic configuration options

Motivation for this change
The default key repeat delay and interval are frustratingly slow, so I have to run something like xset r rate 200 60 from my ~/.xsession and from a terminal whenever I plug in a keyboard. Instead of jumping through those hoops, we ought to have a way to declare the seat defaults for typematic settings, which is what this PR provides.
Things done

[ ] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

This allows one to set the seat defaults for keyboard auto-repeat delay
and rate.

Given the positive reactions and the fact that I've tested this on my machine, I'm going to merge. If we want to bike-shed the option names, I'm okay with someone changing them as they see fit.

Closes https://github.com/NixOS/nixpkgs/issues/9364?

Yep.

Does this also mean the typing speed is no longer reset on system switch (even if not configured via these options)?

@Profpatsch No, you'd have to use the options to have it persist. If that's not sufficient, feel free to reopen #9364.


feature: Adding Light Mode for Code Block in Tracks for the blog

Regarding Feature
In all the tracks which have javascript code block, it is always in dark mode even when toggling to light mode.

Solution
I was looking into the code in that we would have to add css classes at 'daily-code\packages\ui\app\CodeBlock.module.css' and based on theme we would load the css class in 'packages\ui\src\CodeBlock.tsx' which change colors when any user switches to Light mode or Dark mode.

I have tested this locally and this is how it looks like on light mode :

Let me know if this is a good or any changes required

Hello @hkirat,
As mostly, we use VSCode themes so i have switched the themes and did few changes in 'CodeBlock.module.css' to look cleaner.
For Dark Theme it looks like this now  : -

For light Theme it looks like this now(made it little more cleaner) : -

Let me know if any more changes required
Note: Sometimes when switching themes code block theme does not get switched due to local cache, so i had to do Hard Reload (CTRL + Shift + R) which then solves the issue.


[GPC] Splitter

Summary
The precompiler would separate elements of a feature file into individual feature files to contain only one item.
Use cases
In the case of parallelization, a feature file can be the base for a thread. With further increasing granularity to one element/one feature file, effectiveness can be increased and execution time decreased.
Example
Take the following (example) feature file:
# src/login.feature
Feature: Login

  Background:
    Given the login page is opened

  Scenario: Login pass
    When the username is typed
    And the password is typed
    And the login button is clicked
    Then the user should be logged in

  Scenario: Login fail
    When the username is typed
    And the wrong password is typed
    And the login button is clicked
    Then the error should be visible
    And the user should not be logged in

Running the precompiler would result in the following feature files:
# dist/login-1.feature
Feature: Login (1)

  Background:
    Given the login page is opened

  Scenario: Login pass
    When the username is typed
    And the password is typed
    And the login button is clicked
    Then the user should be logged in

# dist/login-2.feature
Feature: Login (2)

  Background:
    Given the login page is opened

  Scenario: Login fail
    When the username is typed
    And the wrong password is typed
    And the login button is clicked
    Then the error should be visible
    And the user should not be logged in

Options/Variants

Keep/resolve backgrounds
Naming of the feature files
Naming of the feature

Additional context

@gherking/gherking, please review this issue and propose any change/improvement.


Packet formats from the LWA352 OVRO bifrost branch

LWA352 OVRO bifrost branch, including SNAP2 F-Engine packet format

Codecov Report
Patch coverage: 33.33% and project coverage change: -0.01 :warning:

Comparison is base (9a628e7) 65.53% compared to head (21210ba) 65.52%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@                Coverage Diff                 @@
##           ibverb-support     #206      +/-   ##
==================================================
- Coverage           65.53%   65.52%   -0.01%
==================================================
  Files                  68       68
  Lines                6072     6074       +2
==================================================
+ Hits                 3979     3980       +1
- Misses               2093     2094       +1

Impacted Files
Coverage Δ

python/bifrost/packet_capture.py
66.66% <33.33%> (-1.05%)
:arrow_down:

... and 1 file with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Help with my own project?

Hey, great library btw!
I'm trying to make my own one of these in python. C isn't really my strong suit so would you be able to give a brief rundown of the sequence of operations which occur? From what I understand, you need to multiply the signal by sin(2pif_ct) and cos(2pif_ct), lowpass filter it (at some value) and you get a constellation from the two points?
Am I on the right track? Thanks!

Hi, thanks for checking out my project!
Quick disclaimer: I'm by no means an expert at DSP, so take everything I say with a grain of salt.
With that said, there are four major blocks to implement in order to get the 4 points on the constellation diagram: AGC, signal filtering, symbol timing recovery, and carrier recovery.
So once you have an IQ recording of the QPSK signal, the first thing you should do is normalize its amplitude to a reasonable value. Otherwise you might have too strong of a signal on the input and clip it, or too weak of a signal and the upcoming stages won't pick it up. This is what the AGC is for (see agc.c).
Once you've done that, you'll want to filter your signal. This is to reduce ISI and improve the SNR. Since the satellite is applying a root-raised cosine filter, you'll want to apply the same root-raised cosine filter as well. The two together make a raised-cosine filter, which minimises ISI (see here to get an idea of how this filter is implemented). To aid with symbol timing recovery, I'm interpolating the IQ stream right before passing it through the RRC filter (see interpolator.c:77).
Next up is symbol timing recovery. This is necessary because you only know the spacing between symbols (the symbol rate is a constant 72kbaud), but not when to sample the signal to get the best SNR (see demod.c:162). There are a few algorithms to resolve this, I'm using the early-late algorithm since it's simple to implement and gives good enough results.
The final step is carrier recovery. Now you have a signal sampled at the right time to get the best SNR, and in order to demodulate it, you need to mix it with a local oscillator with the same frequency and phase as the transmitter. To achieve this, I'm implementing a Costas loop. A regular PLL won't do because the phase of the signal is constantly changing (that's what's carrying the data stream). So what a Costas loop does is compensate for the phase change due to the symbols being transmitted, and lock the local oscillator's phase and frequency to match the received signal's frequency and phase (see pll.c:46).
Plotting the output of the Costas loop on the I/Q plane will reveal the four constellation points typical of a QPSK signal, so all I'm doing at this stage is converting the complex samples into two 8-bit values, and writing those to the output file.
A higher-level view of the decoding process is inside demod_thr_run (see demod.c:123), where most of these steps are concatenated. Hopefully this is clear enough!

Very thorough explanation. I can see what to do now, thanks!


Update EmbeddedCollection

resources/app/common/abstract/embedded-collection.mjs

Closed by #2735


UTY-356: Code for retrieving steam auth token at runtime

Contributions: We are not currently taking public contributions - see our contributions policy. However, we are accepting issues and we do want your feedback.

Description
It turns out that my previous solution (parse steam ticket from command lines) is not sufficient because the steam ticket is usually not known at that time. Provide a sample WorkerConnector for retrieving the steam ticket at runtime.
Tests
Manual experiments with the Steam API.
Documentation
In a different PR.
Primary reviewers
@firtina-improbable @jessicafalk

Needs an entry in CHANGELOG.md 😉

@jared-improbable:
Re: SteamWorks/Facepunch connection feature module: The SteamClientWorkerConnector class is part of the Playground project and derives from the ClientWorkerConnector class which is also part of Playground. The reason this is not a feature module (yet) is because

This feature is small in scope, it would be a single file containing a single library method (GetSteamAuthTicket()) which itself depends on third party code. Not sure if this is a valid reason but a feature module felt like overkill.
Users might want a bespoke login flow or use a different Steam library at which point they will need to write their own WorkerConnector anyway. The SteamClientWorkerConnector serves as an example, almost like a tutorial.

Re: Testing code: This is a very good question... Testing this end-to-end would require a test machine have the third party libraries installed and have a steam client running where we are logged in. I also don't see a way to mock this.
I guess if the maintainability concerns are too high, there is an argument to not include this into our codebase altogether. The burden would then be shifted on the tutorials docs page which would then instruct users to write the code we didn't provide to them. Because of that, my slightly shaky idea was to include this file to complement the docs page.

Closing this PR for now. I will create a separate repo containing a full feature module which contains all dependencies.

Nevermind, I'm dumb. We still need to partial changes in this PR as a prerequisite for the feature module.


Fix/645 update mock server and fix prod crashing

Description
JIRA issue: FSADT2-645
Summary of changes

Fixed a bug where empty recent activity will crash the app, @RMCampos this should be the reason the app on prod is crashing after logging in, because mock server isn't made on Prod, so basically we were testing recent activities having empty data for the first time on prod. I couldn't test if this is exactly the reason Prod is crashing though.
Changed mock server's test environment to jest-test to avoid confusion with our test environment on openshift
Added configurations to the mock server if the environment is jest-test
Favourite activity test is now working, it calls the mock API 🙌

Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

How Has This Been Tested?
tested manually and locally
Checklist

[x] I have read the CONTRIBUTING doc
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have already been accepted and merged

Thanks for the PR!
Any successful deployments (not always required) will be available below.
Frontend available
Once merged, code will be promoted and handed off to following workflow run.
Main Merge Workflow

@mgaseta changed the ariaLabel with this commit


Add boilerplate single line code

Add a default single line code for each programming language
example

for Pythonprint "Hello World"
for Java System.out.println("Hello World")

Hey @aayushai please assign this to me.
Thanks

@aayushai   submitted a Pull request for the same please review

Go Ahead @swarupn17,
@thevashuydv it'll be unfair to him if I merge your pr first, he asked first.

okay @aayushai , please assign to me if he's not able to resolve

@aayushai I am doing this task. Please can you find any other issue.
Thanks!

Yeah sure @thevashuydv I've assigned it, in the meantime, you can work on the new issue I am creating.


Bitbucket source/target

https://github.com/ktrysmt/go-bitbucket

Not possible to use as source, as bitbucket doesn't support releases.
Also cannot be used as target, since bitbucket also doesn't support folders in their "downloads" section.


Detection of shyaml fails even though there are steps to install it later in script

I wanted to use this repository to deploy a development version of globus connect so that we can use Globus for our integration testing. The docker-build-gcs.sh script fails with:
realpath: ./venv/bin/shyaml: No such file or directory
I figured perhaps I need to install shyaml on my laptop, so I did that but the script doesn't detect an already installed shyaml. After looking at the script, it looks like there are some lines  to create a virtualenv with shyaml installed but these line of codes are never hit because it fails on line 17:
SHYAML="$(realpath $(dirname ${BASH_SOURCE})/venv/bin/shyaml)"
My workaround was just to comment out that line and the script worked as intended.

(sorry for the late response, my notifications for this repo were not setup correctly)
Although I can see why that would break, I can't reproduce it. What OS version are you (or were you) using and which version of bash?

Looks like a fix for this  was pushed in commit 20132721ab9413078dc721a8d9e1d5a04a7e1c3f. The option --canonicalize-missing avoids this issue.
Thanks for reporting.


About the correction step to gamma-imbalanced partition

Hi @tginart,
Thanks for making your code public. I'm very interested in your work and would like to understand the whole procedure better. However, I have a question about the gamma-imbalanced correction step. How can we guarantee the cluster size is at least self.momentum after applying self._momentum_correction? I could not find proof of this in the paper and it is hard for me to imagine how we can guarantee the cluster size by averaging two centroids by weights. Moreover, the momentum correction step is sequential and the later correction may have influenced previous corrections, which makes the theoretical analysis even harder.
Please let me know if I misunderstand something here. And thanks for your response in advance!
Best,
Chao

Thank you for the interest and the question.
The proof that uses the gamma correction is Lemma C.3. It's not that the cluster size is guaranteed, but it's that in any step, the effect of any individual point on the centroid is "capped" via the gamma correction.
Does that make sense? Happy to answer any follow up questions.

Thanks for your quick response! The proof of Lemma C.3. is indeed the place that confuses me a little bit.

Since this is just computing the centroid for one cluster, I guess the first $\frac{1}{n}$ should be $\frac{1}{|\pi_\kappa|}$ and the second $\frac{1}{n}$ should be $\frac{1}{|\pi_\kappa|-|\pi_\kappa\cap\Delta|}$, where $n$ is the size of the whole dataset? That is why I imagine you would need some bound on the cluster size at each round. Please correct me if I have any misunderstanding here.
I am not sure what "capped" means exactly here. Would appreciate it if you could explain it in a bit more detail or with some expressions. And thanks again for the quick response!

Yes, thank you for pointing this out. This is a minor error/typo, the denominator should indeed be $\frac{1}{|\pi_k|}$.
But after that correction, the argument is still the same. Consider the sum: $\sum_{{i:D_i \in \pi_k}} D_i$

Thank you for bringing this up. After looking back at my notes, I do think that the denominators you've circled are mistakes and should be as you've mentioned.
Actually though, the next few lines in the proof work just fine as if your denominators had been there all along. The L2 bound between any two data points still holds, and therefore the absolute difference is still upper bounded by $\sqrt{d} k /\gamma n$. Is this at least clear in the first case, where $|\pi_\kappa| \geq \gamma n / k$ ?
In the second case, the $\gamma$-correction just averages the new centroid with the previous one in order to decrease the effect of any point on the new centroid.
Please let me know if you have further questions.

Thanks for your response! My question is exactly about the second case. Although the $\gamma$-correction step is intuitive and absolutely makes sense, how can we always guarantee $\pi_\kappa$ would become $|\pi_\kappa|\geq \gamma n/k$ after the correction? Or there is another way to show in theory that the absolute difference between the centroids before and after removal is upper bounded by $mk\sqrt{d}/\gamma n$, even when $|\pi_\kappa| < \gamma n/k$?
One minor comment: the larger coefficient between $\frac{1}{|\pi_\kappa|}$ and $\frac{1}{|\pi_\kappa|-|\pi_\kappa\cap \Delta|}$ should be the latter one and it is actually upper bounded by $1/(\gamma n/k - m)$.