Max connection attempts reached when connecting to NodeJS

[Please describe your problem here]

Brackets 0.38.0-12606 (mac) & Brackets-Git 0.13.2
Failed to connect to NodeJS. If you just updated the extension close all instances of Brackets and try starting again.
Error: Max connection attempts reached

Error: Max connection attempts reached
    at Object.exports.toError (file:///Users/chm/Library/Application%20Support/Brackets/extensions/user/zaggino.brackets-git/src/ErrorHandler.js:144:16)
    at Object.<anonymous> (file:///Users/chm/Library/Application%20Support/Brackets/extensions/user/zaggino.brackets-git/src/Cli.js:61:37)
    at j (file:///Applications/Brackets.app/Contents/www/thirdparty/thirdparty.min.js:550:26676)
    at Object.k.fireWith (file:///Applications/Brackets.app/Contents/www/thirdparty/thirdparty.min.js:550:27489)
    at Object.<anonymous> (file:///Applications/Brackets.app/Contents/www/thirdparty/thirdparty.min.js:550:28170)
    at j (file:///Applications/Brackets.app/Contents/www/thirdparty/thirdparty.min.js:550:26676)
    at Object.k.fireWith (file:///Applications/Brackets.app/Contents/www/thirdparty/thirdparty.min.js:550:27489)
    at Object.e.(anonymous function) [as reject] (file:///Applications/Brackets.app/Contents/www/thirdparty/thirdparty.min.js:550:28469)
    at Object.eval (/utils/NodeConnection.js:308:34)
    at Object.<anonymous> (file:///Applications/Brackets.app/Contents/www/thirdparty/thirdparty.min.js:550:28045)

Same problem with the last version of bracket (I use archlinux)

I have the same problem on Mint Linux after upgrading to Brackets 1.1. It disappears when I downgrade to 1.0. Maybe it actually is a plugin conflict. I will investigate it further and report back.

Reload without extensions also removes the error.

Probably one of the extensions is not compatible with 1.1, do you have any errors in the console (f12) ?

Actually, there are a lot errors and warnings:
Download the React DevTools for a better development experience: http://fb.me/react-devtools /thirdparty/react.js:4356
Use brackets.getModule("thirdparty/CodeMirror2/lib/codemirror") instead of global CodeMirror.
at Object.defineProperty.get (/brackets.js:120:32)
at file:///home/memrich/.config/Brackets/extensions/user/brackets-livescript/main.js:8:7
at Object. (file:///home/memrich/.config/Brackets/extensions/user/brackets-livescript/main.js:253:7) /utils/DeprecationWarning.js:88
Use brackets.getModule("thirdparty/CodeMirror2/lib/codemirror") instead of global CodeMirror.
at Object.defineProperty.get (/brackets.js:120:32)
at Object. (file:///home/memrich/.config/Brackets/extensions/user/brackets-livescript/main.js:255:5) /utils/DeprecationWarning.js:88
Registering for deprecated event 'currentDocumentChange'. Instead, use MainViewManager.currentFileChange. Error
at Object.on (/utils/EventDispatcher.js:100:43)
at loadOutline (file:///home/memrich/.config/Brackets/extensions/user/crabcode.outline/main.js:260:28)
at Object. (file:///home/memrich/.config/Brackets/extensions/user/crabcode.outline/main.js:398:9)
at Object.context.execCb (file:///opt/brackets/www/thirdparty/requirejs/require.js:1658:33)
at Object.Module.check (file:///opt/brackets/www/thirdparty/requirejs/require.js:869:55)
at Object.Module.enable (file:///opt/brackets/www/thirdparty/requirejs/require.js:1151:22)
at Object.Module.init (file:///opt/brackets/www/thirdparty/requirejs/require.js:782:26)
at callGetModule (file:///opt/brackets/www/thirdparty/requirejs/require.js:1178:63)
at Object.context.completeLoad (file:///opt/brackets/www/thirdparty/requirejs/require.js:1552:21)
at HTMLScriptElement.context.onScriptLoad (file:///opt/brackets/www/thirdparty/requirejs/require.js:1679:29) /utils/EventDispatcher.js:100
Registering for deprecated event 'workingSetAdd'. Instead, use MainViewManager.workingSetAdd. Error
at Object.on (/utils/EventDispatcher.js:100:43)
at loadOutline (file:///home/memrich/.config/Brackets/extensions/user/crabcode.outline/main.js:262:28)
at Object. (file:///home/memrich/.config/Brackets/extensions/user/crabcode.outline/main.js:398:9)
at Object.context.execCb (file:///opt/brackets/www/thirdparty/requirejs/require.js:1658:33)
at Object.Module.check (file:///opt/brackets/www/thirdparty/requirejs/require.js:869:55)
at Object.Module.enable (file:///opt/brackets/www/thirdparty/requirejs/require.js:1151:22)
at Object.Module.init (file:///opt/brackets/www/thirdparty/requirejs/require.js:782:26)
at callGetModule (file:///opt/brackets/www/thirdparty/requirejs/require.js:1178:63)
at Object.context.completeLoad (file:///opt/brackets/www/thirdparty/requirejs/require.js:1552:21)
at HTMLScriptElement.context.onScriptLoad (file:///opt/brackets/www/thirdparty/requirejs/require.js:1679:29) /utils/EventDispatcher.js:100
Registering for deprecated event 'workingSetRemove'. Instead, use MainViewManager.workingSetRemove. Error
at Object.on (/utils/EventDispatcher.js:100:43)
at loadOutline (file:///home/memrich/.config/Brackets/extensions/user/crabcode.outline/main.js:263:28)
at Object. (file:///home/memrich/.config/Brackets/extensions/user/crabcode.outline/main.js:398:9)
at Object.context.execCb (file:///opt/brackets/www/thirdparty/requirejs/require.js:1658:33)
at Object.Module.check (file:///opt/brackets/www/thirdparty/requirejs/require.js:869:55)
at Object.Module.enable (file:///opt/brackets/www/thirdparty/requirejs/require.js:1151:22)
at Object.Module.init (file:///opt/brackets/www/thirdparty/requirejs/require.js:782:26)
at callGetModule (file:///opt/brackets/www/thirdparty/requirejs/require.js:1178:63)
at Object.context.completeLoad (file:///opt/brackets/www/thirdparty/requirejs/require.js:1552:21)
at HTMLScriptElement.context.onScriptLoad (file:///opt/brackets/www/thirdparty/requirejs/require.js:1679:29) /utils/EventDispatcher.js:100
Registering for deprecated event 'workingSetAdd'. Instead, use MainViewManager.workingSetAdd. Error
at Object.on (/utils/EventDispatcher.js:100:43)
at Object. (file:///home/memrich/.config/Brackets/extensions/user/drewkoch.icons/main.js:190:21)
at Object.context.execCb (file:///opt/brackets/www/thirdparty/requirejs/require.js:1658:33)
at Object.Module.check (file:///opt/brackets/www/thirdparty/requirejs/require.js:869:55)
at Object.Module.enable (file:///opt/brackets/www/thirdparty/requirejs/require.js:1151:22)
at Object.Module.init (file:///opt/brackets/www/thirdparty/requirejs/require.js:782:26)
at callGetModule (file:///opt/brackets/www/thirdparty/requirejs/require.js:1178:63)
at Object.context.completeLoad (file:///opt/brackets/www/thirdparty/requirejs/require.js:1552:21)
at HTMLScriptElement.context.onScriptLoad (file:///opt/brackets/www/thirdparty/requirejs/require.js:1679:29) /utils/EventDispatcher.js:100
Registering for deprecated event 'workingSetAddList'. Instead, use MainViewManager.workingSetAddList. Error
at Object.on (/utils/EventDispatcher.js:100:43)
at Object. (file:///home/memrich/.config/Brackets/extensions/user/drewkoch.icons/main.js:190:21)
at Object.context.execCb (file:///opt/brackets/www/thirdparty/requirejs/require.js:1658:33)
at Object.Module.check (file:///opt/brackets/www/thirdparty/requirejs/require.js:869:55)
at Object.Module.enable (file:///opt/brackets/www/thirdparty/requirejs/require.js:1151:22)
at Object.Module.init (file:///opt/brackets/www/thirdparty/requirejs/require.js:782:26)
at callGetModule (file:///opt/brackets/www/thirdparty/requirejs/require.js:1178:63)
at Object.context.completeLoad (file:///opt/brackets/www/thirdparty/requirejs/require.js:1552:21)
at HTMLScriptElement.context.onScriptLoad (file:///opt/brackets/www/thirdparty/requirejs/require.js:1679:29) /utils/EventDispatcher.js:100
Registering for deprecated event 'workingSetRemove'. Instead, use MainViewManager.workingSetRemove. Error
at Object.on (/utils/EventDispatcher.js:100:43)
at Object. (file:///home/memrich/.config/Brackets/extensions/user/drewkoch.icons/main.js:190:21)
at Object.context.execCb (file:///opt/brackets/www/thirdparty/requirejs/require.js:1658:33)
at Object.Module.check (file:///opt/brackets/www/thirdparty/requirejs/require.js:869:55)
at Object.Module.enable (file:///opt/brackets/www/thirdparty/requirejs/require.js:1151:22)
at Object.Module.init (file:///opt/brackets/www/thirdparty/requirejs/require.js:782:26)
at callGetModule (file:///opt/brackets/www/thirdparty/requirejs/require.js:1178:63)
at Object.context.completeLoad (file:///opt/brackets/www/thirdparty/requirejs/require.js:1552:21)
at HTMLScriptElement.context.onScriptLoad (file:///opt/brackets/www/thirdparty/requirejs/require.js:1679:29) /utils/EventDispatcher.js:100
Registering for deprecated event 'workingSetRemoveList'. Instead, use MainViewManager.workingSetRemoveList. Error
at Object.on (/utils/EventDispatcher.js:100:43)
at Object. (file:///home/memrich/.config/Brackets/extensions/user/drewkoch.icons/main.js:190:21)
at Object.context.execCb (file:///opt/brackets/www/thirdparty/requirejs/require.js:1658:33)
at Object.Module.check (file:///opt/brackets/www/thirdparty/requirejs/require.js:869:55)
at Object.Module.enable (file:///opt/brackets/www/thirdparty/requirejs/require.js:1151:22)
at Object.Module.init (file:///opt/brackets/www/thirdparty/requirejs/require.js:782:26)
at callGetModule (file:///opt/brackets/www/thirdparty/requirejs/require.js:1178:63)
at Object.context.completeLoad (file:///opt/brackets/www/thirdparty/requirejs/require.js:1552:21)
at HTMLScriptElement.context.onScriptLoad (file:///opt/brackets/www/thirdparty/requirejs/require.js:1679:29) /utils/EventDispatcher.js:100
Registering for deprecated event 'workingSetSort'. Instead, use MainViewManager.workingSetSort. Error
at Object.on (/utils/EventDispatcher.js:100:43)
at Object. (file:///home/memrich/.config/Brackets/extensions/user/drewkoch.icons/main.js:190:21)
at Object.context.execCb (file:///opt/brackets/www/thirdparty/requirejs/require.js:1658:33)
at Object.Module.check (file:///opt/brackets/www/thirdparty/requirejs/require.js:869:55)
at Object.Module.enable (file:///opt/brackets/www/thirdparty/requirejs/require.js:1151:22)
at Object.Module.init (file:///opt/brackets/www/thirdparty/requirejs/require.js:782:26)
at callGetModule (file:///opt/brackets/www/thirdparty/requirejs/require.js:1178:63)
at Object.context.completeLoad (file:///opt/brackets/www/thirdparty/requirejs/require.js:1552:21)
at HTMLScriptElement.context.onScriptLoad (file:///opt/brackets/www/thirdparty/requirejs/require.js:1679:29) /utils/EventDispatcher.js:100
getPreferenceStorage is called with client ID 'extensions.brackets-filetreesync,' use PreferencesManager.definePreference instead.
at Object.getPreferenceStorage (/preferences/PreferencesManager.js:126:32)
at Object. (file:///home/memrich/.config/Brackets/extensions/user/filetreesync/main.js:18:40) /utils/DeprecationWarning.js:88
getValue is called to get preference 'enabled,' use PreferencesManager.get instead.
at PreferenceStorage.getValue (/preferences/PreferenceStorage.js:128:28)
at Object. (file:///home/memrich/.config/Brackets/extensions/user/filetreesync/main.js:19:29) /utils/DeprecationWarning.js:88
setValue is called to set preference 'enabled,' use PreferencesManager.set instead.
at PreferenceStorage.setValue (/preferences/PreferenceStorage.js:115:28)
at Object. (file:///home/memrich/.config/Brackets/extensions/user/filetreesync/main.js:38:15) /utils/DeprecationWarning.js:88
Cannot assign Ctrl-R to javascript.renameIdentifier. It is already assigned to javascript.renameIdentifier /command/KeyBindingManager.js:730
Cannot assign Ctrl-Alt-G to catanghel.searchwithgoogle. It is already assigned to catanghel.searchwithgoogle main.js:182
Cannot assign Ctrl-Alt-W to catanghel.searchwithgoogle.stackoverflow. It is already assigned to catanghel.searchwithgoogle.stackoverflow main.js:182
Cannot assign Ctrl-Alt-H to catanghel.searchwithgoogle.phpnet. It is already assigned to view.hideSidebar main.js:182
Cannot assign Ctrl-Alt-H to catanghel.searchwithgoogle.phpnet. It is already assigned to view.hideSidebar main.js:182
Cannot assign Ctrl-Alt-M to catanghel.searchwithgoogle.mdn. It is already assigned to catanghel.searchwithgoogle.mdn main.js:182
Use WorkspaceManager.createBottomPanel() instead of PanelManager.createBottomPanel().
at Object.exports.createBottomPanel (/view/PanelManager.js:53:28)
at Object. (file:///home/memrich/.config/Brackets/extensions/user/brackets-integrated-development/results-panel.js:15:26) main.js:175
Use brackets.getModule("thirdparty/CodeMirror2/lib/codemirror") instead of global CodeMirror.
at Object.defineProperty.get (/brackets.js:120:32)
at file:///home/memrich/.config/Brackets/extensions/user/websiteduck.wdminimap/runmode.js:2:1 main.js:175
getPreferenceStorage is called with client ID 'websiteduck.wdminimap,' use PreferencesManager.definePreference instead.
at Object.getPreferenceStorage (/preferences/PreferencesManager.js:126:32)
at Object. (file:///home/memrich/.config/Brackets/extensions/user/websiteduck.wdminimap/MinimapMenus.js:31:39) main.js:175
Use MainViewManager.getViews() instead of DocumentManager.getWorkingSet()
at Object.getWorkingSet (/document/DocumentManager.js:160:28)
at Object. (file:///home/memrich/.config/Brackets/extensions/user/websiteduck.wdminimap/main.js:309:22) main.js:175
getPreferenceStorage is called with client ID 'bracketsTerminal.settings,' use PreferencesManager.definePreference instead.
at Object.getPreferenceStorage (/preferences/PreferencesManager.js:126:32)
at _init (file:///home/memrich/.config/Brackets/extensions/user/brackets-terminal/src/settings.js:20:38)
at Object. (file:///home/memrich/.config/Brackets/extensions/user/brackets-terminal/src/settings.js:53:5) main.js:175
Use WorkspaceManager.createBottomPanel() instead of PanelManager.createBottomPanel().
at Object.exports.createBottomPanel (/view/PanelManager.js:53:28)
at _createPanel (file:///home/memrich/.config/Brackets/extensions/user/brackets-terminal/src/panel.js:19:37)
at Object.init (file:///home/memrich/.config/Brackets/extensions/user/brackets-terminal/src/panel.js:83:13)
at file:///home/memrich/.config/Brackets/extensions/user/brackets-terminal/main.js:109:15
at _callHandler (/utils/AppInit.js:93:13)
at _addListener (/utils/AppInit.js:128:13)
at Object.htmlReady (/utils/AppInit.js:150:9)
at Object. (file:///home/memrich/.config/Brackets/extensions/user/brackets-terminal/main.js:98:13) main.js:175
Failed to load resource file:///opt/brackets/www/img/glyphicons-halflings.png
Use WorkspaceManager.createBottomPanel() instead of PanelManager.createBottomPanel().
at Object.exports.createBottomPanel (/view/PanelManager.js:53:28)
at InfoPanel.init (file:///home/memrich/.config/Brackets/extensions/user/aivanov.command-line-shortcuts/InfoPanel.js:17:31)
at Object. (file:///home/memrich/.config/Brackets/extensions/user/aivanov.command-line-shortcuts/main.js:16:9) main.js:175
Cannot assign Ctrl-Shift-B to extension.commandline.run.0. It is already assigned to cmd.skipCurrentMatch main.js:182
[theseus] fsm: -> waitingForApp main.js:168
Registering for deprecated event 'currentDocumentChange'. Instead, use MainViewManager.currentFileChange. Error
at Object.on (/utils/EventDispatcher.js:100:43)
at new TernReferences (file:///home/memrich/.config/Brackets/extensions/user/ternific/TernReferences.js:30:14)
at new TernManager (file:///home/memrich/.config/Brackets/extensions/user/ternific/TernManager.js:34:31)
at Object. (file:///home/memrich/.config/Brackets/extensions/user/ternific/main.js:27:23)
at Object.context.execCb (file:///opt/brackets/www/thirdparty/requirejs/require.js:1658:33)
at Object.Module.check (file:///opt/brackets/www/thirdparty/requirejs/require.js:869:55)
at Object. (file:///opt/brackets/www/thirdparty/requirejs/require.js:1121:34)
at file:///opt/brackets/www/thirdparty/requirejs/require.js:132:23
at file:///opt/brackets/www/thirdparty/requirejs/require.js:1164:21
at each (file:///opt/brackets/www/thirdparty/requirejs/require.js:57:31) main.js:175
Failed to load resource: the server responded with a status of 414 (Request-URI Too Long) http://brackets-online.herokuapp.com/tick/53d5549ee31c428fe600006f/<!DOCT… browser does not support javascript.
Can't track online status, retry in 5 mins main.js:168
Cannot assign Ctrl-Alt-/ to redmunds.show-shortcuts.view.shortcuts. It is already assigned to pflynn.searchCommands main.js:182
NodeSocketTransport - start main.js:168
Registering for deprecated event 'currentDocumentChange'. Instead, use MainViewManager.currentFileChange. Error
at Object.on (/utils/EventDispatcher.js:100:43)
at file:///home/memrich/.config/Brackets/extensions/user/filetreesync/main.js:41:24
at _callHandler (/utils/AppInit.js:93:13)
at Object._dispatchReady (/utils/AppInit.js:113:13)
at Object.eval (/brackets.js:290:33)
at j (file:///opt/brackets/www/thirdparty/thirdparty.min.js:559:26860)
at Object.k.add [as done] (file:///opt/brackets/www/thirdparty/thirdparty.min.js:559:27169)
at Object.d.always (file:///opt/brackets/www/thirdparty/thirdparty.min.js:559:28045)
at Object.eval (/brackets.js:288:30)
at j (file:///opt/brackets/www/thirdparty/thirdparty.min.js:559:26860) main.js:175
AppInit main.js:168
000false main.js:168
Use WorkspaceManager.createBottomPanel() instead of PanelManager.createBottomPanel().
at Object.exports.createBottomPanel (/view/PanelManager.js:53:28)
at file:///home/memrich/.config/Brackets/extensions/user/brackets-emmet/prompt.js:52:24
at _callHandler (/utils/AppInit.js:93:13)
at Object._dispatchReady (/utils/AppInit.js:113:13)
at Object.eval (/brackets.js:290:33)
at j (file:///opt/brackets/www/thirdparty/thirdparty.min.js:559:26860)
at Object.k.add [as done] (file:///opt/brackets/www/thirdparty/thirdparty.min.js:559:27169)
at Object.d.always (file:///opt/brackets/www/thirdparty/thirdparty.min.js:559:28045)
at Object.eval (/brackets.js:288:30) main.js:175
[theseus] fsm: -> disconnected main.js:168
Registering for deprecated event 'currentDocumentChange'. Instead, use MainViewManager.currentFileChange. Error
at Object.on (/utils/EventDispatcher.js:100:43)
at registerListeners (file:///home/memrich/.config/Brackets/extensions/user/mikaeljorhult.brackets-todo/main.js:372:5)
at file:///home/memrich/.config/Brackets/extensions/user/mikaeljorhult.brackets-todo/main.js:511:3
at _callHandler (/utils/AppInit.js:93:13)
at Object._dispatchReady (/utils/AppInit.js:113:13)
at Object.eval (/brackets.js:290:33)
at j (file:///opt/brackets/www/thirdparty/thirdparty.min.js:559:26860)
at Object.k.add [as done] (file:///opt/brackets/www/thirdparty/thirdparty.min.js:559:27169)
at Object.d.always (file:///opt/brackets/www/thirdparty/thirdparty.min.js:559:28045)
at Object.eval (/brackets.js:288:30) main.js:175
Use WorkspaceManager.createBottomPanel() instead of PanelManager.createBottomPanel().
at Object.exports.createBottomPanel (/view/PanelManager.js:53:28)
at Object.init (file:///home/memrich/.config/Brackets/extensions/user/theseus/src/Panel.js:79:33)
at _init (file:///home/memrich/.config/Brackets/extensions/user/theseus/main.js:319:15)
at _callHandler (/utils/AppInit.js:93:13)
at Object._dispatchReady (/utils/AppInit.js:113:13)
at Object.eval (/brackets.js:290:33)
at j (file:///opt/brackets/www/thirdparty/thirdparty.min.js:559:26860)
at Object.k.add [as done] (file:///opt/brackets/www/thirdparty/thirdparty.min.js:559:27169)
at Object.d.always (file:///opt/brackets/www/thirdparty/thirdparty.min.js:559:28045) main.js:175
Use WorkspaceManager.createBottomPanel() instead of PanelManager.createBottomPanel().
at Object.exports.createBottomPanel (/view/PanelManager.js:53:28)
at Object.init (file:///home/memrich/.config/Brackets/extensions/user/theseus/src/EpochPanel.js:226:30)
at _init (file:///home/memrich/.config/Brackets/extensions/user/theseus/main.js:320:20)
at _callHandler (/utils/AppInit.js:93:13)
at Object._dispatchReady (/utils/AppInit.js:113:13)
at Object.eval (/brackets.js:290:33)
at j (file:///opt/brackets/www/thirdparty/thirdparty.min.js:559:26860)
at Object.k.add [as done] (file:///opt/brackets/www/thirdparty/thirdparty.min.js:559:27169)
at Object.d.always (file:///opt/brackets/www/thirdparty/thirdparty.min.js:559:28045) main.js:175
Cannot assign Ctrl-Alt-B to io.emmet.balance_outward. It is already assigned to builder.build main.js:182
Cannot assign Ctrl-Shift-J to io.emmet.split_join_tag. It is already assigned to pflynn.evalinbrowser main.js:182
Cannot assign Ctrl-Shift-Up to io.emmet.increment_number_by_1. It is already assigned to edit.lineUp main.js:182
Cannot assign Ctrl-Shift-Down to io.emmet.decrement_number_by_1. It is already assigned to edit.lineDown main.js:182
main.js:110
These files were using Brackets' NodeConnection:
main.js:168
[node-error 11:11:28 PM] [Launcher] uncaught exception at top level, exiting. Error: listen EADDRINUSE
at errnoException (net.js:901:11)
at Server._listen2 (net.js:1039:14)
at listen (net.js:1061:10)
at net.js:1135:9
at dns.js:72:18
at process._tickCallback (node.js:415:13) main.js:182
[node-info 11:11:28 PM] [Server] stopping NodeDebugUtils.js:114
File watchers went offline! main.js:175
[brackets-git] Error
at Object. (file:///home/memrich/.config/Brackets/extensions/user/zaggino.brackets-git/src/ExpectedError.js:11:31)
at Object.context.execCb (file:///opt/brackets/www/thirdparty/requirejs/require.js:1658:33)
at Object.Module.check (file:///opt/brackets/www/thirdparty/requirejs/require.js:869:55)
at Object.Module.enable (file:///opt/brackets/www/thirdparty/requirejs/require.js:1151:22)
at Object.Module.init (file:///opt/brackets/www/thirdparty/requirejs/require.js:782:26)
at callGetModule (file:///opt/brackets/www/thirdparty/requirejs/require.js:1178:63)
at Object.context.completeLoad (file:///opt/brackets/www/thirdparty/requirejs/require.js:1552:21)
at HTMLScriptElement.context.onScriptLoad (file:///opt/brackets/www/thirdparty/requirejs/require.js:1679:29) main.js:182
[brackets-git] Error
at Object. (file:///home/memrich/.config/Brackets/extensions/user/zaggino.brackets-git/src/ExpectedError.js:11:31)
at Object.context.execCb (file:///opt/brackets/www/thirdparty/requirejs/require.js:1658:33)
at Object.Module.check (file:///opt/brackets/www/thirdparty/requirejs/require.js:869:55)
at Object.Module.enable (file:///opt/brackets/www/thirdparty/requirejs/require.js:1151:22)
at Object.Module.init (file:///opt/brackets/www/thirdparty/requirejs/require.js:782:26)
at callGetModule (file:///opt/brackets/www/thirdparty/requirejs/require.js:1178:63)
at Object.context.completeLoad (file:///opt/brackets/www/thirdparty/requirejs/require.js:1552:21)
at HTMLScriptElement.context.onScriptLoad (file:///opt/brackets/www/thirdparty/requirejs/require.js:1679:29) main.js:182
[brackets-git] Error
at Object. (file:///home/memrich/.config/Brackets/extensions/user/zaggino.brackets-git/src/ExpectedError.js:11:31)
at Object.context.execCb (file:///opt/brackets/www/thirdparty/requirejs/require.js:1658:33)
at Object.Module.check (file:///opt/brackets/www/thirdparty/requirejs/require.js:869:55)
at Object.Module.enable (file:///opt/brackets/www/thirdparty/requirejs/require.js:1151:22)
at Object.Module.init (file:///opt/brackets/www/thirdparty/requirejs/require.js:782:26)
at callGetModule (file:///opt/brackets/www/thirdparty/requirejs/require.js:1178:63)
at Object.context.completeLoad (file:///opt/brackets/www/thirdparty/requirejs/require.js:1552:21)
at HTMLScriptElement.context.onScriptLoad (file:///opt/brackets/www/thirdparty/requirejs/require.js:1679:29) main.js:182
main.js:110
These files were using Brackets' NodeConnection:
main.js:168
Possibly unhandled Error: Max connection attempts reached
at Object.exports.toError (file:///home/memrich/.config/Brackets/extensions/user/zaggino.brackets-git/src/ErrorHandler.js:162:19)
at Object. (file:///home/memrich/.config/Brackets/extensions/user/zaggino.brackets-git/src/Cli.js:67:37)
at j (file:///opt/brackets/www/thirdparty/thirdparty.min.js:559:26860)
at Object.k.fireWith (file:///opt/brackets/www/thirdparty/thirdparty.min.js:559:27673)
at Object. (file:///opt/brackets/www/thirdparty/thirdparty.min.js:559:28354)
at j (file:///opt/brackets/www/thirdparty/thirdparty.min.js:559:26860)
at Object.k.fireWith (file:///opt/brackets/www/thirdparty/thirdparty.min.js:559:27673)
at Object.e.(anonymous function) [as reject] (file:///opt/brackets/www/thirdparty/thirdparty.min.js:559:28653)
at Object.eval (/utils/NodeConnection.js:320:34)
at Object. (file:///opt/brackets/www/thirdparty/thirdparty.min.js:559:28229) main.js:182
Possibly unhandled Error
at Object. (file:///home/memrich/.config/Brackets/extensions/user/zaggino.brackets-git/src/ExpectedError.js:11:31)
at Object.context.execCb (file:///opt/brackets/www/thirdparty/requirejs/require.js:1658:33)
at Object.Module.check (file:///opt/brackets/www/thirdparty/requirejs/require.js:869:55)
at Object.Module.enable (file:///opt/brackets/www/thirdparty/requirejs/require.js:1151:22)
at Object.Module.init (file:///opt/brackets/www/thirdparty/requirejs/require.js:782:26)
at callGetModule (file:///opt/brackets/www/thirdparty/requirejs/require.js:1178:63)
at Object.context.completeLoad (file:///opt/brackets/www/thirdparty/requirejs/require.js:1552:21)
at HTMLScriptElement.context.onScriptLoad (file:///opt/brackets/www/thirdparty/requirejs/require.js:1679:29) main.js:182
Possibly unhandled Error
at Object. (file:///home/memrich/.config/Brackets/extensions/user/zaggino.brackets-git/src/ExpectedError.js:11:31)
at Object.context.execCb (file:///opt/brackets/www/thirdparty/requirejs/require.js:1658:33)
at Object.Module.check (file:///opt/brackets/www/thirdparty/requirejs/require.js:869:55)
at Object.Module.enable (file:///opt/brackets/www/thirdparty/requirejs/require.js:1151:22)
at Object.Module.init (file:///opt/brackets/www/thirdparty/requirejs/require.js:782:26)
at callGetModule (file:///opt/brackets/www/thirdparty/requirejs/require.js:1178:63)
at Object.context.completeLoad (file:///opt/brackets/www/thirdparty/requirejs/require.js:1552:21)
at HTMLScriptElement.context.onScriptLoad (file:///opt/brackets/www/thirdparty/requirejs/require.js:1679:29) main.js:182
Possibly unhandled Error
at Object. (file:///home/memrich/.config/Brackets/extensions/user/zaggino.brackets-git/src/ExpectedError.js:11:31)
at Object.context.execCb (file:///opt/brackets/www/thirdparty/requirejs/require.js:1658:33)
at Object.Module.check (file:///opt/brackets/www/thirdparty/requirejs/require.js:869:55)
at Object.Module.enable (file:///opt/brackets/www/thirdparty/requirejs/require.js:1151:22)
at Object.Module.init (file:///opt/brackets/www/thirdparty/requirejs/require.js:782:26)
at callGetModule (file:///opt/brackets/www/thirdparty/requirejs/require.js:1178:63)
at Object.context.completeLoad (file:///opt/brackets/www/thirdparty/requirejs/require.js:1552:21)
at HTMLScriptElement.context.onScriptLoad (file:///opt/brackets/www/thirdparty/requirejs/require.js:1679:29) main.js:182
Watching disabled for /home/memrich/Sync/work/konferenzen_und_talks/2015/OOP2015/livescript_presentation/ main.js:175
Use MainViewManager.getViews() instead of DocumentManager.getWorkingSet()
at Object.getWorkingSet (/document/DocumentManager.js:160:28)
at file:///home/memrich/.config/Brackets/extensions/user/martypenner.autosave-files-on-window-blur/main.js:75:39
at n.event.dispatch (file:///opt/brackets/www/thirdparty/thirdparty.min.js:560:6404)
at r.handle (file:///opt/brackets/www/thirdparty/thirdparty.min.js:560:3179) main.js:175
[Theseus] Timed out while trying to connect to node main.js:182
GET http://brackets-online.herokuapp.com/tick/53d5549ee31c428fe600006f/<!DOCT…    </head>    <body style="background-color:  414 (Request-URI Too Long) thirdparty.min.js:561
Can't track online status, retry in 5 mins

The problem part is this:
[node-error 11:11:28 PM] [Launcher] uncaught exception at top level, exiting. Error: listen EADDRINUSE
    at errnoException (net.js:901:11)
    at Server._listen2 (net.js:1039:14)
    at listen (net.js:1061:10)
    at net.js:1135:9
    at dns.js:72:18
    at process._tickCallback (node.js:415:13) main.js:182
[node-info 11:11:28 PM] [Server] stopping NodeDebugUtils.js:114
File watchers went offline! main.js:175

But I'm not sure why EADDRINUSE pops up.

It still fails, even with only brackets-git loaded. Then again - it seems
like the complete extension-system is messed up now (can no longer install
and remove extension via the gui). So it's very like the bug is somewhere
else. I will try a clean installation...
On Wed, Jan 7, 2015 at 11:31 PM, Martin Zagora<EMAIL_ADDRESS>wrote:

The problem part is this:
[node-error 11:11:28 PM] [Launcher] uncaught exception at top level, exiting. Error: listen EADDRINUSE
at errnoException (net.js:901:11)
at Server._listen2 (net.js:1039:14)
at listen (net.js:1061:10)
at net.js:1135:9
at dns.js:72:18
at process._tickCallback (node.js:415:13) main.js:182
[node-info 11:11:28 PM] [Server] stopping NodeDebugUtils.js:114
File watchers went offline! main.js:175
But I'm not sure why EADDRINUSE pops up.
—
Reply to this email directly or view it on GitHub
https://github.com/zaggino/brackets-git/issues/410#issuecomment-69104600
.

I think I have the brackets core issue https://github.com/adobe/brackets/issues/9625

Hi, I found something usefull, maybe, I got with this same error, and my problem is that the extension bracket-sass is broken since version 2. I get the all the "symptoms" described in this thread and it's not the brackets-git extension mistake but the sass extension one.
https://github.com/jasonsanjose/brackets-sass/issues/106
I just deleted manually that sass extension and the git extension is working fine again.

NodeJs process is trying to connect to you system. It could not connect because the host file might have been modified when you  installed some software. Brackets does not modify this file. It is not an issue with brackets or its installation process.  So even if  you delete all relevant folders, Windows registry and reinstall brackets, the problem is not going to get solved as any of these processes would not modify the host file. You have to manually edit C:/windows/system32/drivers/etc/host with notepad and enter a line without any comment sign (#) and enter the following line without any add on like comma or anything.
<IP_ADDRESS>   localhost
Save this file without any extension like txt. Restart brackets.  This file may have other lines. Do not modify any of the other lines.

This is fixed in https://github.com/zaggino/brackets-electron/releases


TypeError: Struct() argument 1 must be string, not unicode

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.07.09. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2017.07.09

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
     import youtube_dl
  File "/usr/lib/python2.7/site-packages/youtube_dl/__init__.py", line 15, in <module>
    from .options import (
  File "/usr/lib/python2.7/site-packages/youtube_dl/options.py", line 8, in <module>
    from .downloader.external import list_external_downloaders
  File "/usr/lib/python2.7/site-packages/youtube_dl/downloader/__init__.py", line 3, in <module>
    from .common import FileDownloader
  File "/usr/lib/python2.7/site-packages/youtube_dl/downloader/common.py", line 10, in <module>
    from ..utils import (
  File "/usr/lib/python2.7/site-packages/youtube_dl/utils.py", line 65, in <module>
    from .socks import (
  File "/usr/lib/python2.7/site-packages/youtube_dl/socks.py", line 29, in <module>
    SOCKS4_DEFAULT_DSTIP = compat_struct_pack('!BBBB', 0, 0, 0, 0xFF)
TypeError: Struct() argument 1 must be string, not unicode

Description of your issue, suggested solution and other information
I tried to embed youtube-dl in my code. But got this error TypeError: Struct() argument 1 must be string, not unicode.
This error found in python 2.7.5. I run the script in python 2.7.9, it's no problem, it works fine.
I think it's about string vs unicode type.
For other information, maybe this is related to this issue https://stackoverflow.com/questions/26008272/string-vs-unicode-encoding-struct-argument
Thank you

Post your code.


Groq openai.BadRequestError:

Hi everybody, Im trying to use gtpme with groq models but after the firts command the program halts with
openai.BadRequestError: Error code: 400 - {'error': {'message': "'messages.2' : for 'role:assistant' the following must be satisfied[('messages.2.content' : value must be a string)]", 'type': 'invalid_request_error'}}.
Help appreciatte.

Is it only happening with groq models?

Sorry about that, looks like I tested it a bit too hastily. Will fix this tomorrow.

Didn't end up waiting until tomorrow. Fixed in https://github.com/ErikBjare/gptme/pull/231
Had the side effect of also fixing Deepseek support (https://github.com/ErikBjare/gptme/issues/170), which is now also supported on the master branch.
A new release will be out soon.

Great, thanks. The tools is amazing

Thank you very much @ErikBjare  !!


[CLEANUP] Replace elastic.co links from opensearch.yml

Replace https://www.elastic.co/guide/en/elasticsearch/reference/index.html  with opensearch doc link. Since we don't have the documentation published yet we will point it to opensearch.org for now.
Issue to update doc link once we documentation online: #610

Why can we not make the change when the OpenSearch doc links are available. I don't see reason for making this change twice.

@adnapibar Can you please point me to that link? I am not aware of it yet.

I mean, when the doc website is ready, we can make this change along with all such instances across the repository. This will minimize the effort and keep the change as part of a single PR.

I believe this is fully resolved, please reopen if otherwise.


Updating to the most recent version of xor_singleheader

The new version of xor_singleheader supports binary fuse filters which are smaller (when the set is large) and it does not fail even when there are duplicate keys.
Fixes https://github.com/glitzflitz/pyxorfilter/issues/6

Thanks, merged


Add configurable service names and add missing MaxLines for Loki DS

Description

Adds missing MaxLines for Loki data sources, as per community request.
Adds missing DerivedFields for data sources, as per community request.
Adds a configurable service name for grafana services:

If spec.service is not empty and the name field is not an empty string, the operator will use this as the default name for the service relating to this specific grafana, otherwise a default Grafana-Service name is used.

Relevant issues/tickets

#306
#310
#324
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

[ ] This change requires a documentation update
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added a test case that will be used to verify my changes
[ ] Verified independently on a cluster by reviewer

Verification steps

Checkout the master branch and run make cluster/prepare/local .
Run the Operator (either deploy or run locally)
Ensure that the operator creates the grafana service correctly using the default Grafana-Service name.
Stop the operator.
Checkout this branch locally.
Edit Grafana.yaml and add the following like to the bottom of the Spec field

  service:
    name: "newServiceName"

Reapply the CR to the cluster
Run the operator
Ensure the new service is created and the name is propagated and that no other services exist, i.e with a previous name

returning to WIP, needs debugging on upgrade scenarios

returning to WIP, needs debugging on upgrade scenarios

This PR should now work properly on upgrades

This PR should now work properly on upgrades

@HubertStefanski I've verified this on cluster and it works as expected. Thanks
/lgtm

@HubertStefanski I've verified this on cluster and it works as expected. Thanks
/lgtm

/retest e2e

/retest e2e

/test e2e

/test e2e

Overriding CI, latest change is documentation only

Overriding CI, latest change is documentation only


Report: All the cities in a region organized by largest population to smallest

Implemented in v0.1-alpha-4


TST: Update and fix post-poetry failures

Remaining typo from #73 and matplotlib deprecations.

Ha, look all green. Next stop cure for cancer!


SAP HANA XS Advanced - Modules within Node.js SAP HANA applications - XSA Messaging Service

Hello,
Could you please provide a tutorial about how to set up and use the XSA Messaging service?
A guide/tutorial like you have provided for many other examples would be very helpful.
Thanks!

Hi,
Thanks for the suggestion. That is an interesting scenario.
I do have a huge wishlist to fulfill so cannot commit on a time right now, but let's see what we can do.
Best,
Lucia.

Thanks for the response @Lsubatin and will look forward to any solution to this scenario.
But as we are developing something which needs to use the Messaging Service and the service being a part of the offering in XSA, could you please point to some helpful documents which show its usage?
There are docs in the sap portal which list details about the service itself but nothing about how it can be implemented in a nodejs environment.
We have made several attempts to create and bing the service from mta.yaml. Although the service gets created, the build fails with an error saying 'service not found' for the module which requires it. This service can then be manually bound with apps from the Cockpit.
A crucial missing piece is the type of resource for 'messaging-service'. Currently, we mention the type as org.cloudfoundry.managed-service but when mentioning it as a requires resource for a nodejs module, this results in a build error. Any help in this regard would be very much appreciated.
Here is how we are defining the resource:
  - name: msg-service-one
    type: org.cloudfoundry.managed-service
    parameters:
      service: messaging-service
      service-plan: free

Thanks!

Hi, Ashish, I haven't tried this from an MTA from webide, have you tried type org.cloudfoundry.existing-service ?

Thanks for the reply, Lucia. Yes, we have tried org.cloudfoundry.existing-service but it gives the same error.
service msg-service-one not found


Update README.md

added tutorial list for git and markdown.

updated clean and sticky footer.

The changes in readme are fine. Kindly rebase your branch and make the commits to the modified footer.


Introduced sin and cos in runtime

@maxonfjvipon I think it would be better to have float.cos and float.sin instead of cos and sin standalone objects.

@yegor256 please check this out. If it's good I would continue to add more objects like these.
Also I wanted to ask about these objects written in eo: should I make a PR at this repository or at objectionary?

@maxonfjvipon all looks good now, but you also should add these two "methods" to float.eo file. Otherwise, they won't be visible by EO compiler. No need to touch "objectionary": your objects will appear there automatically, once we release a new version of this repository to Maven Central.

@maxonfjvipon also, would be nice if you would add some tests to float-tests.eo.

@yegor256 Ok. Will be done soon

@maxonfjvipon if you think that the PR is ready for merging, say so explicitly by posting a new message. Otherwise, it will hang in there forever :)

@yegor256 Oh, my bad) I think the PR is ready to merge

@rultor merge

@rultor merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@yegor256 Done! FYI, the full log is here (took me 7min)

@maxonfjvipon thanks!

Job gh:cqfn/eo#598 is not assigned, can't get performer


Pod stays in status Pending if image can't be pulled because of the disk space usage

I noticed that when I start a Pod over a replicationController and the disk space on the kubelet is not big enough to pull the docker image the pod get stuck at the Pending status.
As example i tried to run heapster on kubernetes from this repo https://github.com/GoogleCloudPlatform/heapster .
On my CoreOS (<IP_ADDRESS>) Node:
core@kube-worker10 ~ $ df
df: '/var/lib/docker/btrfs': Permission denied
Filesystem     1K-blocks    Used Available Use% Mounted on
rootfs           2813932 2395420      1668 100% /
devtmpfs          369948       0    369948   0% /dev
tmpfs             382008       0    382008   0% /dev/shm
tmpfs             382008   38568    343440  11% /run
tmpfs             382008       0    382008   0% /sys/fs/cgroup
/dev/vda9        2813932 2395420      1668 100% /
/dev/vda3        1032088  295904    683756  31% /usr
tmpfs             382008       0    382008   0% /media
tmpfs             382008       0    382008   0% /tmp
/dev/vda6         110576      52    101352   1% /usr/share/oem

and a Docker pull result in:
core@kube-worker10 ~ $ docker pull dockerfile/elasticsearch
bf881c8d55df: Error downloading dependent layers
2015/01/13 15:02:31 Error pulling image (latest) from dockerfile/elasticsearch, ApplyLayer exit status 1 write /elasticsearch/lib/jna-4.1.0.jar: no space left on device

but also the pod stays in the pending status and doesn't get rescheduled:
faaca93f-9b28-11e4-8021-525400c6de43   kubernetes/heapster_influxdb   <IP_ADDRESS>/       name=influxGrafana                 Pending
                                       kubernetes/heapster_grafana
                                       dockerfile/elasticsearch

I'm using kubernetes v0.6.0 at the moment.
Thank you

I think there should definitely at least be an event created in this case

Yeah, once scheduled, we never try to move the pod to a different machine
(imagine that you login and remove files, don't you want the pod to start
then?).  We should probably send an event for more "permanent" failures to
start like this.
However, we should clearly export more resource usage information back up
to the scheduler, so that we don't even schedule onto a machine whose disk
is full...
(btw, how did the disk end up being full?  We should be garbage collecting
most things...)
Thanks
--brendan
On Tue, Jan 13, 2015 at 8:51 AM, Paul Morie<EMAIL_ADDRESS>wrote:

I think there should definitely at least be an event created in this case
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/3431#issuecomment-69776668
.

@johscheuer I think there is an event created for pulling image error. Can you run "kubectl get events"?

#2903 for reporting node's resource triplet {capacity, allocable, usage}

Let us know if there's an event and we can close it out as "resource reporting covered elsewhere".

I found this error message using kubectl get events:
faaca93f-9b28-11e4-8021-525400c6de43   Pod                 Pending             failedScheduling    Error scheduling: failed to find a fit for pod: {{ } {faaca93f-9b28-11e4-8021-525400c6de43 default /api/v1beta1/pods/faaca93f-9b28-11e4-8021-525400c6de43?namespace=default faaca93f-9b28-11e4-8021-525400c6de43<PHONE_NUMBER>-01-13 13:35:03 +0000 UTC map[name:influxGrafana] map[]} {[] [{influxdb kubernetes/heapster_influxdb []  [{ 8083 8083 TCP } { 8086 8086 TCP } { 8090 8090 TCP } { 8099 8099 TCP }] [] 0 0 [] <nil> <nil>  false } {grafana kubernetes/heapster_grafana []  [{ 80 80 TCP }] [{HTTP_USER admin} {HTTP_PASS admin}] 0 0 [] <nil> <nil>  false } {elasticsearch dockerfile/elasticsearch []  [{ 9200 9200 TCP } { 9300 9300 TCP }] [] 0 0 [] <nil> <nil>  false }] {0xa09cd8 <nil> <nil>} map[]} {Pending    map[]}}

@brendandburns I use a mini Datacenter for testing and kubernetes scheduled the big pod onto the smallest CoreOS node. Also there was running a cAdvisor and an nginx container.
Thanks for your fast responses

I don't know if this is related but I just ran into something similar:
Time				From									SubobjectPath	Reason		Message
Thu, 12 Feb 2015 18:34:09 +0000	{kubelet k8s-littlecloud-3-node-1.c.littlebits-electronics.internal}			failedSync	Error syncing pod, skipping: mkdir /var/lib/kubelet/pods/bb1ee0e8-b2e5-11e4-bfb6-42010af0101c: no space left on device	%!v(MISSING)
Thu, 12 Feb 2015 18:34:10 +0000	{scheduler }										scheduled	Successfully assigned cloud-user-debug to k8s-littlecloud-3-node-1.c.littlebits-electronics.internal			%!v(MISSING)
Thu, 12 Feb 2015 18:34:19 +0000	{kubelet k8s-littlecloud-3-node-1.c.littlebits-electronics.internal}			failedSync	Error syncing pod, skipping: mkdir /var/lib/kubelet/pods/bb1ee0e8-b2e5-11e4-bfb6-42010af0101c: no space left on device	%!v(MISSING)
Thu, 12 Feb 2015 18:34:30 +0000	{kubelet k8s-littlecloud-3-node-1.c.littlebits-electronics.internal}			failedSync	Error syncing pod, skipping: mkdir /var/lib/kubelet/pods/bb1ee0e8-b2e5-11e4-bfb6-42010af0101c: no space left on device	%!v(MISSING)
Thu, 12 Feb 2015 18:34:41 +0000	{kubelet k8s-littlecloud-3-node-1.c.littlebits-electronics.internal}			failedSync	Error syncing pod, skipping: mkdir /var/lib/kubelet/pods/bb1ee0e8-b2e5-11e4-bfb6-42010af0101c: no space left on device	%!v(MISSING)
Thu, 12 Feb 2015 18:34:51 +0000	{kubelet k8s-littlecloud-3-node-1.c.littlebits-electronics.internal}			failedSync	Error syncing pod, skipping: mkdir /var/lib/kubelet/pods/bb1ee0e8-b2e5-11e4-bfb6-42010af0101c: no space left on device	%!v(MISSING)
Thu, 12 Feb 2015 18:35:02 +0000	{kubelet k8s-littlecloud-3-node-1.c.littlebits-electronics.internal}			failedSync	Error syncing pod, skipping: mkdir /var/lib/kubelet/pods/bb1ee0e8-b2e5-11e4-bfb6-42010af0101c: no space left on device	%!v(MISSING)
Thu, 12 Feb 2015 18:35:13 +0000	{kubelet k8s-littlecloud-3-node-1.c.littlebits-electronics.internal}			failedSync	Error syncing pod, skipping: mkdir /var/lib/kubelet/pods/bb1ee0e8-b2e5-11e4-bfb6-42010af0101c: no space left on device	%!v(MISSING)
Thu, 12 Feb 2015 18:35:23 +0000	{kube


sqlite3 bulk operation can not deal with vector size 1

  soci::session sql(soci::sqlite3, "/tmp/soci_bulk_test.db");
  sql << R"(
CREATE TABLE TEST(
    ID INT PRIMARY KEY NOT NULL,
    NAME TEXT
)
)";

  std::vector<int> ids;
  ids.emplace_back(1);
  ids.emplace_back(2);
  sql << "INSERT INTO TEST(ID) VALUES(:ID)", soci::use(ids);

  ids = std::vector<int>(1);
  sql << "SELECT ID FROM TEST", soci::into(ids);
  BOOST_TEST(ids.size() == 1);

gives: soci_bulk_test.cpp(36): error: in "soci_bulk_test": check ids.size() == 1 has failed [0 != 1]
This may cause by code in src/backends/sqlite3/statement.cpp at:
        if (1 == number)
        {
            retVal = load_one();
        }
        else
        {
            retVal = load_rowset(number);
        }

1 == number not cover all bulk operations, we my check use hasVectorIntoElements_ like mysql backend statement

Sorry, I don't use SQLite backend myself and I don't know much about the bulk statement handling in it.
If you think you can fix it, please consider submitting a PR doing this. Just please make sure to include an update to the unit test showing the problem and that it is fixed by your changes (i.e. a test that would fail now, but would pass after applying your fixes).
TIA!


cppunit: QA Issue: host contamination

WARNING: QA Issue: cppunit: /cppunit/usr/share/cppunit/html/_stream_8h__incl.md5 is owned by uid 1008, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]

I revisited this issue today and the warning does not show with bitbake cppunit on this build configuration:
Build Configuration:
BB_VERSION        = "1.32.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "fedora-23"
TARGET_SYS        = "i586-oe-linux"
MACHINE           = "qemux86"
DISTRO            = "nodistro"
DISTRO_VERSION    = "nodistro.0"
TUNE_FEATURES     = "m32 i586"
TARGET_FPU        = ""
meta              = "master:9f1fe76727e98e58fc9e46ea2b49cf5c0cb48e6c"
meta-oe
meta-python
meta-multimedia   = "master:761639b9d7681c81dd69eaf3a37c32791d6e97fd"
meta-intel-realsense = "master:c74766ff2dc7383562bdd4aa1f10687c94261c53"
meta-ros          = "indigo-updates:8c8349b317992caa9e961d2a843ffa13f4dfe1d1"


Multiple Subscriptions are created as separate orders

If a customer has multiple subscriptions which are triggered on the same date, multiple orders are created.
So the customer might pay shipping fees multiple times, might not be effected by special discounts at that time or so on.
So placing separate orders on the same date is not applicable.
https://github.com/mollie/magento2-subscriptions/blob/065ec02ac963aacfbf9b03ef3a52f97dfa50413b/Controller/Api/Webhook.php#L213

Hi There @ThomasNegeli ,
Thank you for your feedback regarding our ordering process for multiple subscriptions. We appreciate your concerns about multiple orders being placed on the same date.
The current design of managing each subscription independently was implemented with the purpose of reducing complexity in our operations. This approach allows us to maintain a stable and reliable service for most customers.
We recognize that this model may not be the most favorable for customers with multiple subscriptions and we are committed to continuously reviewing and improving our systems. While we intend to maintain this process for the immediate future, please be assured that your feedback has been taken into account and will be considered as we evaluate potential adjustments to our subscription and ordering processes.
Thank you for your understanding @ThomasNegeli !


[Bug]: Navbar routes are not working

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
The routes are not functioning properly, and the address is not updating in the address bar.
Expected behavior
When a user clicks on them, they should take user to that page
Add ScreenShots
https://github.com/user-attachments/assets/0910dcc4-90f7-4d2f-85eb-b900f0553015
On which device are you experiencing this bug?
No response
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[ ] I'm a SSOC'24 contributor
[X] I have starred the repository

Assign me this task, i will do it asap!

@Bhum-ika u are assigned


Packer support

Is your feature request related to a problem?
The problem that we're looking to solve is being able to manage our ephemeral runners with something like Packer from another repository in git.
What solution would you like?
From a high level, we would love to do something like pull a packer image from something like Artifactory and then use that to create/start the VM rather than manually creating a VM the first time or running scripts. Our goal is to manage the runners entirely without having to touch the host machine itself.
What alternatives have you considered?
We can probably do about 80% of what we want with just pre and post scripts but it would be much more concise as we can use packer across the board as well. We just wouldn't be able to manage the size or resources of the VMs that are created if we do it this way.
Any additional context?
No response

I'd love to see something like this in Tartelet as well. At Shape, we also have scripts in place to create an image using Packer, but they are not yet integrated into our infrastructure.
Unfortunately, I do not have the capacity to work on this feature right now, but I'm happy to help design it and review PRs if anyone is up for taking a swing at it.


asymmetry in equality of Colors

Found in #8932 : Colors.blue == Colors.blue.shade500 is true but Colors.blue.shade500 == Colors.blue is false.
@Hixie points out:

The asymmetry is a a bug in Color.== (it should use runtimeType). Fixing this will make it return false. A MaterialColor is not the same as the Color of the same value, since the MaterialColor has a whole map and so on.

I'll fix this.


Uncaught ReferenceError: root is not defined

Hello guys,
I am getting this errors when I run the application
Uncaught ReferenceError: root is not defined it is coming from Toggle.js
Please help.
Thank you.

root should definitely be defined by the function - are you sure the toggles.js file that you're using is https://github.com/simontabor/jquery-toggles/blob/master/toggles.js? this issue is probably from including the https://github.com/simontabor/jquery-toggles/blob/master/js/Toggles.js instead.

getting the same problem

did you check the previous comment? please make sure you're using toggles.js and not js/Toggles.js

still not working
ReferenceError: bar is not defined
ReferenceError: foo is not defined
i only see part of The O and then the N thats it..

re-open if this is actually an issue, but I can't see how it's possible if the right file is being used

My friend, I am having the same problem.
Using

My debugger shows:
Uncaught ReferenceError: root is not defined(anonymous function) @ toggles.js:1
Being the first line I understand the prolem could be harder to follow but this is my first line:
/**
@license jQuery Toggles v4.0.0
Copyright 2012 - 2015 Simon Tabor - MIT License
https://github.com/simontabor/jquery-toggles / http://simontabor.com/labs/toggles
*/
(function(root) {
var factory = function($) {
var Toggles = root['Toggles'] = function(el, opts) {     <<<<<HERE THE ERROR

Thanks for the help


Compatibility with validation framework

Is there a way to use x-editable with a validation framework like jQuery Validation? Or will it be added in future versions?

:+1:


tkn pac bootstrap errors out on OpenShift

$ tkn pac bootstrap                                                                                [main]
🏃 Checking if Pipelines as Code is installed.
Error: could not detect Pipelines as Code configmap on the cluster, please reinstall

it happens when we disable PAC from TektonConfig and then install using tkn-pac
when we disable the PAC, Repository CRD doesn't get deleted which causes this issue

Is tkn pac CLI only useable by cluster-admins? similar error, except PAC is installed on the OCP cluster by default but users cannot create repos using the CLI. They obviously don't get access to openshift-* namespaces so if the CLI is trying to verify things exist there it will fail.
$ tkn-pac create repository
? Enter the Git repository url (default: https://gitlab.internal/repo):
? Please enter the namespace where the pipeline should run (default: repo):
✓ Repository repo has been created in repo namespace
Error: could not detect Pipelines as Code configmap on the cluster, please reinstall

$ oc get cm -n openshift-pipelines
NAME                            DATA   AGE
config-artifact-bucket          0      59d
config-artifact-pvc             0      59d
config-defaults                 2      59d
config-defaults-triggers        2      59d
config-leader-election          3      59d
config-logging                  3      59d
config-logging-triggers         4      59d
config-observability            5      59d
config-observability-triggers   1      59d
config-registry-cert            0      59d
config-service-cabundle         1      59d
config-trusted-cabundle         1      59d
feature-flags                   9      59d
feature-flags-triggers          2      59d
kube-root-ca.crt                1      721d
openshift-service-ca.crt        1      636d
pipelines-as-code               7      59d
pipelines-as-code-info          3      59d
pipelines-info                  1      59d
triggers-info                   1      59d

it should not be for that command, any chance to fill a new bug report so we can look at it? this would need to be backported


Not-Activated User Accounts should be deleted after 7 Days automatically

Describe the Bug
To be conform with data privacy not-activated user accounts should be deleted after a time frame of 7 days (168 hours).

I guess we need a management command that cleans up expired registrations. We can then call the management command with a systemd timer / cron job.


Expense Tracker

Completion date : 20 June '2023

Investment analysis and tracking

Daily expense monitoring

These things should be included in this

@Shreyaar12  Please assign this issue to me

I would like to work on this
Please assign

Assigned it to you!! Kindly complete within deadline and refer contributing.md and readme.md.
Happy Coding!!


Grt merge segments

@eder-matheus This algorithm should be a bit better, it avoids O(n^2). I don't have a test-case w.r.t. performance. This was just tinkering based upon observation of one suspend/resume. Perhaps valuable since, as you mentioned, the code was written the way it was written w.r.t. performance concerns?


Detection of loops in a single linked list

In the linked list folder there is no algorithm to detect loops in it. I would like to contribute to that module.

sure @rahuldcoder


Library update

Updates brute force method and cell index method to both implement the same trait.
Also change methods to return references to the particles instead of only ids

No me deja hacer merge commit, todo mal


dropall doesn't delete any tables on mssqlserver because liquibase for mssqlserver does not allow setting of default-schema setting

Search first

[X] I searched and no similar issues were found

Description
Spring integration of liquibase has a property named
spring.liquibase.drop-first: true
This will run liquibase.java line 936
    public final void dropAll() throws DatabaseException {
        dropAll(new CatalogAndSchema(getDatabase().getDefaultCatalogName(), **getDatabase().getDefaultSchemaName()**));
    }

however, this default-schema cannot be set when the target is MsSqlServer (because the server does not allow session based default schemas)
however, in the absence of a schema name, it means that the dropAll function finds no resources (tables) to delete
cause:
Steps To Reproduce

an spring application with liquibase configuration against a MsSqldatabase.
use the following configuration:
spring:

spring:
    liquibase:
        enabled: true
       contexts: dev
       change-log: classpath:db/changelog/db.changelog-master.xml
       liquibase-schema: MYSSCHEMANAME
       **drop-first: true**

setup the database MYSCHEMANAME

have liquibase create a table in MYSCHEMANAME via changelog that includes the attribute schemaName="MYSCHEMANAME"

run once.

remove the changesets from configuration (so that they aren't created again)

run again (still with drop-first: true)

observed:

when running the app, the tables are not removed. They will remain in the database.

positive test:
With a debugger I have overridden the value of schemaName manually in CatalogAndSchema and the tables are then removed.
Expected/Desired Behavior
drop-first / drop-all() should either not use "default-schema" value as argument because it cannot be set for all database types.
instead, perhaps a specific configuration can be created to distinguish from default-schema. (drop-schema perhaps)
Or
default-schema property should be allowed for all database types, even if liquibase doesn't use it everywhere.
Liquibase Version
4.23.0
Database Vendor & Version
DBMSSQLServer v12.0
Liquibase Integration
Spring Boot
Liquibase Extensions
No response
OS and/or Infrastructure Type/Provider
Windows 10
Additional Context
my target database is an Azure MsSqlServer
jdbc driver: SqlServer 12.2.0 (latest)
MSAL4j: 1.13.7 (latest)
Are you willing to submit a PR?

[ ] I'm willing to submit a PR (Thank you!)

The command expects to receive the schemas to drop objects in via the schemas property.  Can you specify that?

The command expects to receive the schemas to drop objects in via the schemas property. Can you specify that?

As documented above and for completeness:
If is set "default-schema" property which is used by dropAll() function: then
liquibase.database.core.MSSQLDatabase validation in setDefaultSchemaName() line 143 (if (schemaName != null )
will throw the runtime exception:  "....  MSSQL does not support setting the default schema per session." (which is correct, it does not support this.
the "schemas" property, when I set this as a system property, it does not get picked up in the code by liquibase.dropall()

i have arrived at a workaround however, which I'll document here but may not work for everyone (particularly those users of a managed environment):
As described above: the issue is a result of mssql not allowing a default-schema per-sesssion. (so sql commands like "USE " are invalid)
However, mssqlserver does allow:
default schema per-user: I have tested this by setting the default schema for my user, and this DOES indeed get picked up by the dropAll() CatalogAndSchema[] finalSchemas
which now has the schemaName set to this default schema.


linux-manual: init at 5.15-rc3

Motivation for this change
Requested in #127424.
Package name chosen to match other Linux distributions (e.g. https://packages.debian.org/stretch/linux-manual-4.9).
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

LGTM, 2 nitpicks.
I wonder if this should be an output of the kernel package itself (e.g. doc), so the correct version is available for every kernel that can be used.

I thought about that as well, but I believe that these man pages are primarily relevant to kernel developers and therefore keeping them up to date with the current state of the kernel development is more important than keeping them in sync with the locally installed kernel.
In addition the Linux kernel packages are platform‐specific whereas these manuals could be installed on any platform.


Support MultiIndex for DataFrame.duplicated, drop_duplicates.

Currently DataFrame.duplicated and DataFrame.drop_duplicates don't support MultiIndex.
We should support them.
e.g.,
>>> pdf
          a  b  c
0.660073  1  1  1
0.255808  1  1  1
0.796535  2  1  1
0.562986  3  4  5
>>> pdf.duplicated()
0.660073    False
0.255808     True
0.796535    False
0.562986    False
dtype: bool
>>> pdf.set_index("a", append=True).duplicated()
          a
0.660073  1    False
0.255808  1     True
0.796535  2     True
0.562986  3    False
dtype: bool

or
>>> pdf.drop_duplicates()
          a  b  c
0.660073  1  1  1
0.796535  2  1  1
0.562986  3  4  5
>>> pdf.set_index("a", append=True).drop_duplicates()
            b  c
         a
0.660073 1  1  1
0.562986 3  4  5

Codecov Report

Merging #1363 into master will decrease coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master   #1363      +/-   ##
=========================================
- Coverage   95.22%   95.2%   -0.02%
=========================================
  Files          34      34
  Lines        7705    7699       -6
=========================================
- Hits         7337    7330       -7
- Misses        368     369       +1

Impacted Files
Coverage Δ

databricks/koalas/frame.py
96.73% <100%> (-0.02%)
:arrow_down:

databricks/koalas/generic.py
97.13% <0%> (-0.41%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3d7427f...7b8f546. Read the comment docs.

LGTM.
(FYI: Although we have some problem in Travis now, seems okay to just merge this since GitHub Actions is passed)

Thanks! Let me merge this for now since Github Action builds passed.


[Monitor OpenTelemetry] Release Distro 1.7.1 & Exporter beta.26

Packages impacted by this PR
@azure/monitor-opentelemetry
Checklists

[x] Added impacted package name to the issue description
[ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[x] Added a changelog (if necessary)

API change check
API changes are not detected in this pull request.

@Azure/azure-sdk-write-monitor-data-plane can you review this release PR when someone have a chance?


[stable/minio] Minio: can't enable TLS

BUG REPORT: I can't enable TLS for Minio.

Version of Helm and Kubernetes: Helm v2.10.0, Kubernetes v1.11.0
Which chart: Minio https://github.com/helm/charts/tree/master/stable/minio
What happened: I can't enable TLS for Minio (in distributed mode).
How to do that using minio chart and helm?
Minio supports TLS configuration:
https://docs.minio.io/docs/how-to-secure-access-to-minio-server-with-tls

Existing certificates
If you have already acquired private keys and public certificates, copy them under certs directory in your Minio config directory. By default config directory is ${HOME}/.minio/ or %%USERPROFILE%%.minio\ (based on your operating system). Note that the file should be named as private.key and public.crt for key and certificate respectively.

However, when I put certs into certs directory and try to map it via mountPath or configPath (tried different options) pods either don't run at all with error:
[root@ip-172-31-2-62 centos]# kubectl logs minio-0 -n gpr
ERROR Unable to initialize backend: Disk http://minio-0.minio.gpr.svc.cluster.local:9000/export: corrupted backend format, please join https://slack.minio.io for assistance.
[root@ip-172-31-2-62 centos]#

or run but certs don't map into pods.
E.g. running minio by command:
helm install --namespace gpr -n minio --set service.configPath=/datadir/ssl1,service.type=NodePort,service.nodePort=32646,defaultBucket.enabled=true,defaultBucket.name=gprdatasets,accessKey=AKIAJGT3Q3QJW53VUU7A,secretKey=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,image.tag=RELEASE.2018-07-23T18-34-49Z,persistence.enabled=true,mode=distributed,persistence.storageClass=local-storage-minio stable/minio

Host directory structure (private.key and public.crt are here):
[root@ip-172-31-2-62 datadir]# ls -la /datadir/ssl1/certs/
total 8
drwxr-xr-x. 2 root root   43 Oct 25 05:39 .
drwxr-xr-x. 3 root root   19 Oct 25 07:14 ..
-rw-r--r--. 1 root root 3272 Oct 25 05:39 private.key
-rw-r--r--. 1 root root 1992 Oct 25 05:39 public.crt
[root@ip-172-31-2-62 datadir]#

Pod:
[root@ip-172-31-2-62 centos]# kubectl exec -it minio-0 -n gpr sh
/ # ls -la /export
total 0
drwxr-xr-x    4 root     root            43 Oct 25 07:16 .
drwxr-xr-x    1 root     root            66 Oct 25 07:15 ..
drwxr-xr-x    4 root     root            53 Oct 25 07:16 .minio.sys
drwxr-xr-x    2 root     root             6 Oct 25 07:04 gprdatasets
/ #
/ # ls -la /root/.minio/
total 8
drwxrwxrwx    3 root     root            61 Oct 25 07:16 .
drwx------    1 root     root            40 Oct 25 07:18 ..
drwx------    3 root     root            17 Oct 25 07:16 certs
-rw-------    1 root     root          2177 Oct 25 07:16 config.json
-rw-------    1 root     root          2445 Oct 25 07:16 config.json.old
/ # ls -la /root/.minio/certs/
total 0
drwx------    3 root     root            17 Oct 25 07:16 .
drwxrwxrwx    3 root     root            61 Oct 25 07:16 ..
drwx------    2 root     root             6 Oct 25 07:16 CAs
/ # ls -la /root/.minio/certs/CAs/
total 0
drwx------    2 root     root             6 Oct 25 07:16 .
drwx------    3 root     root            17 Oct 25 07:16 ..
/ #

I don't see certs directory with private.key and public.crt files somewhere.
Possible it's related to emptyDir:
https://github.com/helm/charts/blob/e037985288807f2039f10ac574deaf9017d34220/stable/minio/templates/statefulset.yaml#L49-L50
https://github.com/helm/charts/blob/ba4cbb322c2fd9a3ad38b9cb04ea862a53a59261/stable/minio/templates/statefulset.yaml#L96
What you expected to happen:  certs directory with files should be mapped into pods (it will enable TLS for Minio)

Some conclusions, for enable TLS for Minio, need to:

in statefulset, change http:// to https:// here:
https://github.com/helm/charts/blob/dec56b7744354debcb691d0e421fde1aba9d6b21/stable/minio/templates/statefulset.yaml#L38
replace emptyDir to

        hostPath:
          path: /datadir/ssl1
          type: DirectoryOrCreate

https://github.com/helm/charts/blob/dec56b7744354debcb691d0e421fde1aba9d6b21/stable/minio/templates/statefulset.yaml#L104
3) add schema (HTTP or HTTPS) for livenessProbe here:
https://github.com/helm/charts/blob/dec56b7744354debcb691d0e421fde1aba9d6b21/stable/minio/templates/statefulset.yaml#L74
4) add port here: .svc.cluster.local{{ $.Values.mountPath }} (e.g. .svc.cluster.local:9000{{ $.Values.mountPath }})
https://github.com/helm/charts/blob/dec56b7744354debcb691d0e421fde1aba9d6b21/stable/minio/templates/statefulset.yaml#L38
Issues:

statefulset should be changed only if private.key and public.crt files exist in certs directory.
The same for emptyDir and livenessProbe.
additional option path should be passed to statefulset like: path: /datadir/ssl1. It would be great to add it as parameter - e.g. hostPath


Facing a Problem in ng serve for a my new admin template

Command
serve
Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
I have purchased angular admin template but during setup of template I am getting following error:
./src/main.ts - Error: Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js):
Error: Cannot resolve type entity i5.BsDropdownModule to symbol
./src/polyfills.ts - Error: Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js):
Error: Cannot resolve type entity i5.BsDropdownModule to symbol
:heavy_multiplication_x: Failed to compile.
Minimal Reproduction
ng serve
Exception or Error
./src/main.ts - Error: Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js):
Error: Cannot resolve type entity i5.BsDropdownModule to symbol

./src/polyfills.ts - Error: Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js):
Error: Cannot resolve type entity i5.BsDropdownModule to symbol

Your Environment
My versions are:
Angular CLI: 14.2.7
Node: 14.20.1
Package Manager: npm 8.19.2
OS: linux x64

Anything else relevant?
./src/main.ts - Error: Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js):
Error: Cannot resolve type entity i5.BsDropdownModule to symbol
./src/polyfills.ts - Error: Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js):
Error: Cannot resolve type entity i5.BsDropdownModule to symbol
:heavy_multiplication_x: Failed to compile.

Hi @sagargithubuser,
This looks like an issue with the purchased templated. Likely you have some missing dependency installed.  I suggest you contact the author of your purchased template to assist you.
Closing as this is not caused by Angular.

Thanks @alan-agius4
What could be the depndency missing ?
OR
Is there any setting to ignore the error and complete the ng serve ?

What could be the depndency missing ?
BsDropdownModule seems to be ng-bootstrap related.

OR

Is there any setting to ignore the error and complete the ng serve ?
No this is not possible.


Docs.MS Release Updates for azure-template

Update docs metadata and targeting for release of azure-template

Docs Build status updates of commit bf856e7:
:warning: Validation status: warnings

File
Status
Preview URL
Details

:warning:Warning

Details

docs-ref-services/preview/template-readme.md
:white_check_mark:Succeeded
View (azure-node-preview)

Line 0, Column 0: [Warning-validation-incomplete] Failed to get the validation ruleset and validation was not completed. This happens when there's an issue with the service and continuing to retry the call could cause build delays. You might have content issues that were not reported. To retry validation, close and re-open your PR, or rebuild your branch via Docs Portal (requires admin permissions). If you need admin help or if you continue to see this message, file an issue via https://SiteHelp.
Line 0, Column 0: [Warning-redirected-file-not-removed] Redirected file 'docs-ref-conceptual/index.md [redirection]' is still in the repo. After adding a file to the redirection JSON file, you must delete the original file from the repo.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


how to invoke methods in "OCX"

What problem does this feature solve?
Invoke methods in "OCX" like 'usual' html does
What does the proposed API look like?

Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server, gitter or StackOverflow.


How to add locale support from laravel-localization?

I use this extension https://github.com/mcamara/laravel-localization, there are middlewares, but they are not displayed in the url

Duplicated of #425


Substat filter breaks when page is too small

OS: Mac OSX 10.12.5
Browser: Firefox 53
When browser is too small, the substat drop down on the runes page doesn't work. You can see something when the gap between the input and the one or more|all toggle changes is when it starts working.
Screencast: https://screencast.com/t/SF92jfU8fX
Repro:

Go to runes page: https://swarfarm.com/profile/Miles00001/runes/
Open filter panel
Click in substat  input
If it works, slow shrink browser to the gap between the infpu and the toggle gets smaller
Click in substat input
Drop down doesn't work

Thanks for the report!


Add index on workout_points.date

Sorting that by date makes sense for seeing most recent points, and my DB has 2.5m points in so it's an expensive sort!

Workaround:
sqlite-utils create-index healthkit.db workout_points -- -date

See https://sqlite-utils.datasette.io/en/stable/cli.html#creating-indexes

Also on workout_points.workout_id to speed up queries to show all points in a specific workout.


Health Checks events should contain hostname

I try use event bus to generate alarm. But I can't get hostname from the health checks events.
And it's so tedious  to get the hostname from mesos by failed taskId.
Could the events' json content contain the hostname of the failed task?

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-3452. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.


fix(docs): correct md link syntax in HISTORY.md

Change Summary
Three links in HISTORY.md weren't correct Markdown syntax.
Checklist

[x] The pull request title is a good summary of the changes - it will be used in the changelog
[ ] Unit tests for the changes exist: NA
[ ] Tests pass on CI
[ ] Documentation reflects the changes where applicable: NA
[x] My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

Selected Reviewer: @davidhewitt

@sydney-runkle btw, I hear "welcome to Boston" is in order :)  https://about.bostonpython.com

@nedbat, indeed, thanks! I'm excited to move this coming fall. I'll certainly be attending some Boston Python events :).


non-op lxc mv crashes cluster

Required information

Distribution: Alpine
Distribution version: 3.11
Kernel version: 4.19.80-0-vanilla
LXC version: 3.18
LXD version: 3.18
Storage backend in use: ext4 on md

Issue description
When I attempt to move a container to the cluster node that the container is already on, it crashes the cluster.  Of course there's no reason to do this, but the cluster shouldn't crash if done by accident.  I would expect no output and a success return code.
The following shows the situation pretty well.  I have these lxd nodes behind a load balancer in round robin so it looks like it took a moment for every node to show the failed state.
587bab5b1ce9 [~]# lxc cluster list
+--------------+-------------------------+----------+--------+-------------------+
|     NAME     |           URL           | DATABASE | STATE  |      MESSAGE      |
+--------------+-------------------------+----------+--------+-------------------+
| 57c9fae30ca2 | https://<IP_ADDRESS>:8443 | YES      | ONLINE | fully operational |
+--------------+-------------------------+----------+--------+-------------------+
| 72182231f55b | https://<IP_ADDRESS>:8443 | YES      | ONLINE | fully operational |
+--------------+-------------------------+----------+--------+-------------------+
| a78abd2afeef | https://<IP_ADDRESS>:8443 | YES      | ONLINE | fully operational |
+--------------+-------------------------+----------+--------+-------------------+
587bab5b1ce9 [~]# lxc stop test-0
Error: The container is already stopped
587bab5b1ce9 [~]# lxc info test-0 | grep -i locat
Location: 72182231f55b
587bab5b1ce9 [~]# lxc mv test-0 --target=72182231f55b
Error: Migration operation failure: Get https://<IP_ADDRESS>:8443/1.0/operations/6483f9e4-a636-4931-ab32-9802cf03379a: Unable to connect to: <IP_ADDRESS>:8443
587bab5b1ce9 [~]# lxc cluster list
+--------------+-------------------------+----------+--------+-------------------+
|     NAME     |           URL           | DATABASE | STATE  |      MESSAGE      |
+--------------+-------------------------+----------+--------+-------------------+
| 57c9fae30ca2 | https://<IP_ADDRESS>:8443 | YES      | ONLINE | fully operational |
+--------------+-------------------------+----------+--------+-------------------+
| 72182231f55b | https://<IP_ADDRESS>:8443 | YES      | ONLINE | fully operational |
+--------------+-------------------------+----------+--------+-------------------+
| a78abd2afeef | https://<IP_ADDRESS>:8443 | YES      | ONLINE | fully operational |
+--------------+-------------------------+----------+--------+-------------------+
587bab5b1ce9 [~]# lxc cluster list
Error: cannot fetch node config from database: driver: bad connection
587bab5b1ce9 [~]# lxc list
Error: cannot fetch node config from database: driver: bad connection
587bab5b1ce9 [~]# lxc list
Error: cannot fetch node config from database: driver: bad connection

I've upgraded my cluster to 3.20 and the issue is gone.  The cluster has been behaving much better overall so far.  Thank you all for your work.
This may not be a great error message but at least it doesn't crash anymore.
5be84fba-a0f2-4364-9ca8-2fcbafb4e911 [~]# lxc mv test-0 --target=72182231f55b
Error: Migration operation failure: Failed to connect to destination server: Missing event connection with target cluster member
5be84fba-a0f2-4364-9ca8-2fcbafb4e911 [~]# lxc cluster ls
+--------------+-------------------------+----------+--------+-------------------+--------------+
|     NAME     |           URL           | DATABASE | STATE  |      MESSAGE      | ARCHITECTURE |
+--------------+-------------------------+----------+--------+-------------------+--------------+
| 72182231f55b | https://<IP_ADDRESS>:8443 | YES      | ONLINE | fully operational | x86_64       |
+--------------+-------------------------+----------+--------+-------------------+--------------+
| a78abd2afeef | https://<IP_ADDRESS>:8443 | YES      | ONLINE | fully operational | x86_64       |
+--------------+-------------------------+----------+--------+-------------------+--------------+

^ i've manually removed the third node since before.  it didn't explode.

Good to hear!
Yeah, that error isn't the clearest thing ever for sure but we expect this to further change once we finally complete the eventhub role and don't directly rely on node to node connection for event sharing. This will add more robustness for cross-node operations.
Closing the issue based on above comment.


[Question] You cannot specify both server & proxy options.

Trying to start a server on port 9000.
All of my static files (JS and CSS) should be served from port 7001 while all of the XHR requests should be mocked from port 3000. Is there a way to achieve this?
gulp.task("start-browsersynch", function () {
    return browserSync.init({
        port: 9000,
        proxy: "http://<IP_ADDRESS>:7001/csweb/",
        serveStatic: [{
            route: ["/csweb/css"],
            dir: "dist/css"
        }, {
            route: ["/csweb/js"],
            dir: "dist/js"
        }],
        serveStaticOptions: {
            extensions: ["js", "html"] // pretty urls
        },
        server: {
          middleware: [proxy('http://<IP_ADDRESS>:9000/', {
              target: 'http://localhost:3000/',
              changeOrigin: true   // for vhosted sites
          })],
        }
    });
});

Please check: https://github.com/chimurai/http-proxy-middleware#context-matching
There are several ways to control which requests should be proxied or not.
Think this config is somewhat you are looking for:
proxy(['/**', '!/csweb/css/**', '!/csweb/js/**'], {
  target: 'http://localhost:3000/',
  changeOrigin: true   // for vhosted sites
}


Closing and trying again.


Broken on Mac OSX

hz:> pip3 install bloscpack
hz:> blpk c utf.csv
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.5/bin/blpk", line 7, in
from bloscpack.cli import main
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/bloscpack/init.py", line 9, in
from .args import (BloscArgs,
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/bloscpack/args.py", line 6, in
import blosc
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/blosc/init.py", line 12, in
from blosc.toplevel import (
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/blosc/toplevel.py", line 16, in
from blosc import blosc_extension as _ext
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/blosc/blosc_extension.cpython-35m-darwin.so, 2): Symbol not found: _aligned_alloc
Referenced from: /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/blosc/blosc_extension.cpython-35m-darwin.so
Expected in: flat namespace
in /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/blosc/blosc_extension.cpython-35m-darwin.so

Python: 3.5.2. blosc (1.2.7).

The bug is in python-blosc. Bloscpack currently only works with python-blosc 1.2.7. I.e. there is no simple fix, but you can look at: #45

The same issue happens with python-blosc 1.2.7.
Traceback (most recent call last):
  File "venv/bin/statrunner", line 9, in <module>
    load_entry_point('statrunner==0.2', 'console_scripts', 'statrunner')()
  File "venv/lib/python2.7/site-packages/pkg_resources.py", line 353, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "venv/lib/python2.7/site-packages/pkg_resources.py", line 2321, in load_entry_point
    return ep.load()
  File "venv/lib/python2.7/site-packages/pkg_resources.py", line 2048, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "statrunner/main.py", line 29, in <module>
    from statrunner.castra_api import *
  File "statrunner/castra_api.py", line 3, in <module>
    from castra import Castra
  File "venv/lib/python2.7/site-packages/castra/__init__.py", line 1, in <module>
    from .core import Castra
  File "venv/lib/python2.7/site-packages/castra/core.py", line 18, in <module>
    import blosc
  File "venv/lib/python2.7/site-packages/blosc/__init__.py", line 12, in <module>
    from blosc.toplevel import (
  File "venv/lib/python2.7/site-packages/blosc/toplevel.py", line 16, in <module>
    from blosc import blosc_extension as _ext
ImportError: dlopen(venv/lib/python2.7/site-packages/blosc/blosc_extension.so, 2): Symbol not found: _aligned_alloc
  Referenced from: venv/lib/python2.7/site-packages/blosc/blosc_extension.so
  Expected in: flat namespace
 in venv/lib/python2.7/site-packages/blosc/blosc_extension.so

The problem appears to be that python-blosc 1.2.7 includes c-blosc 1.6.1 in its sources, which in turn uses STDC_MACRO to determine support for the C11 aligned_alloc function instead of the ISOC11_SOURCE macro.
This causes clang (the default compiler shipped by Apple, as of Xcode 5/OS X 10.9 Mavericks), to compile against this function. However, C11 support is not enabled (to actually enable under clang, you must add -std=c11 to CFLAGS).
So the code appears to compile and link okay, but fails at runtime.
$ ( git clone git@github.com:Blosc/c-blosc 2>/dev/null && cd c-blosc && git checkout v1.7.0 2>/dev/null )
$ ( git clone git@github.com:Blosc/python-blosc 2>/dev/null && cd python-blosc && git checkout v1.2.7 2>/dev/null )
$ diff -U1 python-blosc/c-blosc/blosc/blosc.c c-blosc/blosc/blosc.c
--- python-blosc/c-blosc/blosc/blosc.c	2016-07-26 17:04:58.000000000 -0400
+++ c-blosc/blosc/blosc.c	2016-07-26 17:04:43.000000000 -0400

...

@@ -199,9 +200,9 @@
   void *block = NULL;
   int res = 0;

 /* Do an alignment to 32 bytes because AVX2 is supported */
-#if __STDC_VERSION__ >= 201112L
+#if _ISOC11_SOURCE
   /* C11 aligned allocation. 'size' must be a multiple of the alignment. */
   block = aligned_alloc(32, size);
 #elif defined(_WIN32)
   /* A (void *) cast needed for avoiding a warning with MINGW :-/ */

...

The path of least resistance would be passing in the necessary compiler flag viaCFLAGS, except setuptools doesn't differentiate between C (such as blosc) and C++ code (such as snappy), so when setuptools attempts to compile the snappy C++ sources with a C compiler flag, clang sternly says No.:
cc -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -std=c11 -arch i386 -arch x86_64 -pipe -DHAVE_LZ4=1 -DHAVE_SNAPPY=1 -DHAVE_ZLIB=1 -Ic-blosc/blosc -Ic-blosc/internal-complibs/lz4-1.6.0 -Ic-blosc/internal-complibs/snappy-1.1.1 -Ic-blosc/internal-complibs/zlib-1.2.8 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c c-blosc/internal-complibs/lz4-1.6.0/lz4hc.c -o build/temp.macosx-10.11-intel-2.7/c-blosc/internal-complibs/lz4-1.6.0/lz4hc.o -std=c11 -DSHUFFLE_SSE2_ENABLED

cc -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -std=c11 -arch i386 -arch x86_64 -pipe -DHAVE_LZ4=1 -DHAVE_SNAPPY=1 -DHAVE_ZLIB=1 -Ic-blosc/blosc -Ic-blosc/internal-complibs/lz4-1.6.0 -Ic-blosc/internal-complibs/snappy-1.1.1 -Ic-blosc/internal-complibs/zlib-1.2.8 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c c-blosc/internal-complibs/snappy-1.1.1/snappy-c.cc -o build/temp.macosx-10.11-intel-2.7/c-blosc/internal-complibs/snappy-1.1.1/snappy-c.o -std=c11 -DSHUFFLE_SSE2_ENABLED

error: invalid argument '-std=c11' not allowed with 'C++/ObjC++'

error: command 'cc' failed with exit status 1

----------------------------------------
Cleaning up...
Command venv/bin/python -c "import setuptools, tokenize;__file__='venv/build/blosc/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/n2/gjc0slfs38q9g08mzxp0ckc40000gn/T/pip-wgt_wr-record/install-record.txt --single-version-externally-managed --compile --install-headers venv/include/site/python2.7 failed with error code 1 in venv/build/blosc
Storing debug log for failure in ~/.pip/pip.log

For OS X users, your current options for using bloscpack appear to be:
a) don't use OS X
b) use GCC
I believe you would call this a rock and a hard place.

Thanks for the detailed low-level detective work, much appreciated!
Do you upgrading the python-blosc dependency for Bloscpack? As of the latest comments in #45 it appears that fixing the test-suit and upgrading the python-blosc dependency would fix this issue and make Bloscpack available for OSX again?

Thanks @oogali .  I think the issue might be that Blosc is using different checks in:
https://github.com/Blosc/c-blosc/blob/master/blosc/blosc.c#L65
and:
https://github.com/Blosc/c-blosc/blob/master/blosc/blosc.c#L210
and that might be introducing problems.
At any rate, as requiring C11 is quite unlikely for the life of the Blosc1 project, I removed this check in:
https://github.com/Blosc/c-blosc/commit/4d832aab9525158c6615ed796fff3af35a861ae1
Could you please confirm that this works for you?

@FrancescAlted @esc This does appear to fix the issue with c-blosc, but should I be concerned that this brings in blosc 1.4.0 and not the 1.2.7 version that you previously pinned in python-blosc?
I forked and made changes in my repos:
oogali/python-blosc@c-blosc-4d832aa
oogali/bloscpack@unpin-blosc

Hmm, to truly test this, I should have probably made the change in tagged version v1.2.7 of python-blosc, right?

Thanks for testing this.  I think @esc pinned v1.2.7 in bloscpack just because of some segfaults in previous versions of C-Blosc, but I don't think this is relevant anymore in recent releases.  IMO, going to 1.4.x is pretty safe.

Closing as of #51


Recent MSRV is 1.34.0. Document? Test?

This may just be an FYI. Close if your prefer.
Looks like as part of #82, released in 0.3.2, this crate started using std::convert::TryFrom which I believe is MSRV 1.34.0:
   Compiling security-framework v0.3.3

error[E0658]: use of unstable library feature 'try_from' (see issue #33417)

  --> /Users/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/security-framework-0.3.3/src/trust_settings.rs:13:5

   |

13 | use std::convert::TryFrom;

   |     ^^^^^^^^^^^^^^^^^^^^^

error[E0658]: use of unstable library feature 'try_from' (see issue #33417)

  --> /Users/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/security-framework-0.3.3/src/trust_settings.rs:64:15

   |

64 |         match u32::try_from(value).ok() {

   |               ^^^^^^^^^^^^^

I couldn't find any position for what the expected MSRV is here.  Not sure if there is any CI for this, etc.

That one is a small thing, so I've changed it.
I usually only support last 2 stable versions, but maybe this crate needs more. I'll think about it.


[Issue 2393] remove use of $USER in admin.pl -- not needed and not set in containers

Fixes #2393 -- remove use of $USER in admin.pl -- not needed and not set in containers

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/1790/
Test PASSed.


Abdalla/Refactor: Markets

Type of change

[x] Bug fix
[ ] New feature
[ ] Update feature
[x] Refactor code
[ ] Translation to code
[ ] Translation to crowdin
[ ] Script configuration
[ ] Improve performance
[ ] Style only
[ ] Dependency update
[ ] Documentation update
[ ] Release

Please resolve conflicts 🙏


feat: distinguish pause metrics between Paused and Pausing phases (WIP)

Fixes #307
Modifications
Splits the current PipelinesPausing metric into two separate metrics: one for when the Pipeline is in the Pausing phase and another for when it in the Paused phase. By splitting these metrics, we will be able to accurately track if a Pipeline is stuck in a certain phase and an issue may be occurring as opposed to just being in the Paused state like we assume.
We also now only track system pauses as opposed to differentiating between user and system pauses. For user pauses, we expect to not to have to alert on users leaving their Pipelines paused. By tracking system pauses, we will be able to see errors occurring with the PPND strategy.
Within discussion for this implementation, we also will not add MonoVertex pausing metrics as there is no PPND strategy for the CRD at this time.
# HELP numaflow_pipeline_system_paused_seconds Duration a pipeline is paused for
# TYPE numaflow_pipeline_system_paused_seconds gauge
numaflow_pipeline_system_paused_seconds{intuit_alert="true",name="my-pipeline",namespace="example-namespace"} 0
# HELP numaflow_pipeline_system_pausing_seconds Duration a pipeline is pausing for
# TYPE numaflow_pipeline_system_pausing_seconds gauge
numaflow_pipeline_system_pausing_seconds{intuit_alert="true",name="my-pipeline",namespace="example-namespace"} 0

Verification
Testing locally with PPND causing changes to a PipelineRollout and changing the desiredPhase to show user pausing.

Converted to Draft and marked as WIP as we discussed on Slack to update our pause status to also accurately track Pausing time as opposed to what we track currently which is the time the Pause request occurs to when it finishes.


[Hub Generated] Review request for Microsoft.AlertsManagement to add version preview/2019-05-05-preview

This is a PR generated at OpenAPI Hub. You can view your work branch via this link.
Contribution checklist:

[ ] I have reviewed the documentation for AME onboarding.
[ ] Validation tools have been run on swagger spec(s) updated and errors have all been fixed with this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.

adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Please follow the link to find more details on PR review process.

/azp run automation - sdk

Can one of the admins verify this patch?

Is there anything I can/should do to expedite the approval of this breaking change?

@avjerafi you need to fix the prettier check, please refer to the first comment.
For breaking change, please follow Azure Breaking changes approval request form as defined @ Breaking Change Process

I've reviewed the Breaking Change policy, wiki and form. I don't believe this commit is rightly considered a breaking change.  Currently, there are missing fields in the responses due to a wrongly structured definition of inheritance by use of a discriminator. This PR fixes this: the only effect of this change is the returning in the response of expected fields which are currently missing. This change is aligning the behavior with the customer's current expectation.

@avjerafi You need to ask API Review Board @adrianhall to review. If it is emergent, please ask @akning-ms<EMAIL_ADDRESS>for approve the breaking change.
Meanwhile, please fix the prettier check first. Otherwise, it could not be merged.

/azp run automation - sdk

@akning-ms Following our mail correspondence, please approve this breaking change

approved breaking change as it is fixing bug in swagger, and this preview version plan to GA at the end of 2020


Implement nunjucks rendering for websocket urls, authentication, headers and urls

Tested locally on the input url bar with the environment variables.

As you noted in the code comments, switching environments still keeps the connection alive despite the invalidity of the environment variables. I suppose we will address this in a subsequent PR?