Installation failed, vueCompleter Server State: Dead

Hello tried, to make project work on vue files. I have followed installation process but does not seem to work, here is debug info telling that server is dead
Printing YouCompleteMe debug information...
-- Client logfile: /var/folders/f3/zmf684px0_31cvv2cf463zqr0000gn/T/ycm__u27rimx.log
-- Server Python interpreter: /usr/bin/python
-- Server Python version: 2.7.10
-- Server has Clang support compiled in: False
-- Clang version: None
-- Extra configuration file found and loaded
-- Extra configuration path: /Users/nbossard/OtherProjects/mahali/front/webapp/.ycm_extra_conf.py
-- GenericLSP completer debug information:
--   vueCompleter not running
--   vueCompleter executable: ['/Users/nbossard/.vim/bundle/lsp-examples/vue/node_modules/.bin/vls']
--   vueCompleter logfiles:
--     /var/folders/f3/zmf684px0_31cvv2cf463zqr0000gn/T/vuecompleter_stderr42NXPM.log
**--   vueCompleter Server State: Dead**
--   vueCompleter Project Directory: /Users/nbossard/OtherProjects/mahali/front/webapp
--   vueCompleter Settings: {}
-- Server running at: http://<IP_ADDRESS>:49699
-- Server process ID: 60603
-- Server logfiles:
--   /var/folders/f3/zmf684px0_31cvv2cf463zqr0000gn/T/ycmd_49699_stdout_21gu97xr.log
--   /var/folders/f3/zmf684px0_31cvv2cf463zqr0000gn/T/ycmd_49699_stderr_dt97yaf6.log

and here is an extract of log file
33 2019-08-25.15:13:18,448.-.INFO.-.Received.filetype.completion.available.request
  34 2019-08-25.15:13:21,165.-.INFO.-.Received.extra.conf.load.request
  35 2019-08-25.15:13:21,170.-.INFO.-.Received.event.notification
  36 2019-08-25.15:13:21,170.-.INFO.-.Adding.buffer.identifiers.for.file:./Users/nbossard/OtherProjects/mahali/front/webapp/src/views/About.vue
  37 2019-08-25.15:13:21,176.-.INFO.-.Starting.vueCompleter:.[u'/Users/nbossard/.vim/bundle/lsp-examples/vue/node_modules/.bin/vls']
  38 2019-08-25.15:13:21,183.-.INFO.-.vueCompleter.started
  39 2019-08-25.15:13:21,734.-.ERROR.-.The.language.server.communication.channel.closed.unexpectedly..Issue.a.RestartServer.command.to.recover.
  40 Traceback.(most.recent.call.last):
  41 ..File."/Users/nbossard/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/completers/language_server/language_server_completer.py",.line.318,.in.run
  42 ....self._ReadMessages()
  43 ..File."/Users/nbossard/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/completers/language_server/language_server_completer.py",.line.473,.in._ReadMessages
  44 ....self._DispatchMessage(.lsp.Parse(.content.).)
  45 ..File."/Users/nbossard/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/completers/language_server/language_server_completer.py",.line.549,.in._DispatchMessage
  46 ....self._responses[.message_id.].ResponseReceived(.message.)
  47 ..File."/Users/nbossard/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/completers/language_server/language_server_completer.py",.line.174,.in.ResponseReceived
  48 ....self._response_callback(.self,.message.)
  49 ..File."/Users/nbossard/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/completers/language_server/language_server_completer.py",.line.1564,.in.response_handler
  50 ....self._HandleInitializeInPollThread(.message.)
  51 ..File."/Users/nbossard/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/completers/language_server/language_server_completer.py",.line.1587,.in._HandleInitializeInPollThread
  52 ....self._server_capabilities.=.response[.'result'.][.'capabilities'.]
  53 KeyError:.u'result'

and if I start vls by hand I get :
/Users/nbossard/.vim/bundle/lsp-examples/vue/node_modules/.bin/vls -v              SIGINT(2) ↵  3 ⚙  5428  15:50:50
/Users/nbossard/.vim/bundle/lsp-examples/vue/node_modules/vscode-languageserver/lib/main.js:799
        throw new Error("Connection input stream is not set. " + commandLineMessage);
        ^

Error: Connection input stream is not set. Use arguments of createConnection or set command line parameters: '--node-ipc', '--stdio' or '--socket={number}'
    at _createConnection (/Users/nbossard/.vim/bundle/lsp-examples/vue/node_modules/vscode-languageserver/lib/main.js:799:15)
    at Object.createConnection (/Users/nbossard/.vim/bundle/lsp-examples/vue/node_modules/vscode-languageserver/lib/main.js:746:12)
    at Object.<anonymous> (/Users/nbossard/.vim/bundle/lsp-examples/vue/node_modules/vue-language-server/dist/vueServerMain.js:13:145)
    at Module._compile (internal/modules/cjs/loader.js:759:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:770:10)
    at Module.load (internal/modules/cjs/loader.js:628:32)
    at Function.Module._load (internal/modules/cjs/loader.js:555:12)
    at Module.require (internal/modules/cjs/loader.js:666:19)
    at require (internal/modules/cjs/helpers.js:16:16)
    at Object.<anonymous> (/Users/nbossard/.vim/bundle/lsp-examples/vue/node_modules/vue-language-server/bin/vls:2:1)
 ~/OtherProjects/mahali/front/webapp   feature/install_help_other_browsers ✚ ● ? ⍟2 

Ned the full server log files. Both the ycmd and the vue language server ones.

I think you’re not passing —stdio argument to vls. Adding that would probably work

I tried replacing config in .ivim rc from
  \   { 'name': 'vue',
  \     'filetypes': [ 'vue' ],
  \     'cmdline': [ expand( '$HOME/.vim/bundle/lsp-examples/vue/node_modules/.bin/vls' ) ]
  \   },

to
  \   { 'name': 'vue',
  \     'filetypes': [ 'vue' ],
  \     'cmdline': [ expand( '$HOME/.vim/bundle/lsp-examples/vue/node_modules/.bin/vls' ), '--stdio' ]
  \   },

Any idea where I can find vue language server  log files?

YcmDebugInfo

Sorry YcmToggleLogs

thanks, but unfortunately vuecompleter_stderrjDN5Co.log is empty :-(

what happens if you run /path/to/vls --stdio manually (from the directory that you started vim) ?

wait never mind. Could you please reproduce with "debug" logging on and paste the full cmd log file? check YCM's CONTRIBUTING.md for how to do that. It looks like the server may be sending a bogus response to the initialise method but without the debug logging it's hard to tell.

what happens if you run /path/to/vls --stdio manually (from the directory that you started vim) ?

Application just starts and blocks without displaying anything

wait never mind. Could you please reproduce with "debug" logging on and paste the full ycmd log file? check YCM's CONTRIBUTING.md for how to do that. It looks like the server may be sending a bogus response to the initialise method but without the debug logging it's hard to tell.

Done what you asked, here are interesting logs :
2019-08-26 23:37:34,862 - INFO - Received event notification
2019-08-26 23:37:34,863 - DEBUG - Event name: BufferVisit
2019-08-26 23:37:34,864 - INFO - Received event notification
2019-08-26 23:37:34,865 - DEBUG - Event name: FileReadyToParse
2019-08-26 23:37:34,865 - INFO - Adding buffer identifiers for file: /Users/nbossard/OtherProjects/mahali/front/webapp/src/App.vue
2019-08-26 23:37:34,872 - INFO - Starting vueCompleter: [u'/usr/local/bin/vls', u'--stdio']
2019-08-26 23:37:34,879 - INFO - vueCompleter started
2019-08-26 23:37:34,879 - DEBUG - TX: Sending message: b'Content-Length: 431\r\n\r\n{"id": "1", "jsonrpc": "2.0", "method": "initialize", "params": {"capabilities": {"textDocument": {"completion": {"completionItemKind": {"valueSet": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25]}}}}, "initializationOptions": {}, "processId": 23433, "rootPath": "/Users/nbossard/OtherProjects/mahali/front/webapp", "rootUri": "file:///Users/nbossard/OtherProjects/mahali/front/webapp"}}'
2019-08-26 23:37:35,270 - INFO - Received filetype completion available request
2019-08-26 23:37:35,934 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":4,"message":"Loaded bundled<EMAIL_ADDRESS>2019-08-26 23:37:35,978 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","id":"1","error":{"code":-32603,"message":"Request initialize failed with message: The \\"path\\" argument must be of type string. Received type undefined"}}'
2019-08-26 23:37:35,978 - ERROR - The language server communication channel closed unexpectedly. Issue a RestartServer command to recover.
Traceback (most recent call last):
  File "/Users/nbossard/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/completers/language_server/language_server_completer.py", line 318, in run
    self._ReadMessages()
  File "/Users/nbossard/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/completers/language_server/language_server_completer.py", line 473, in _ReadMessages
    self._DispatchMessage( lsp.Parse( content ) )
  File "/Users/nbossard/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/completers/language_server/language_server_completer.py", line 549, in _DispatchMessage
    self._responses[ message_id ].ResponseReceived( message )
  File "/Users/nbossard/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/completers/language_server/language_server_completer.py", line 174, in ResponseReceived
    self._response_callback( self, message )
  File "/Users/nbossard/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/completers/language_server/language_server_completer.py", line 1564, in response_handler
    self._HandleInitializeInPollThread( message )
  File "/Users/nbossard/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/completers/language_server/language_server_completer.py", line 1587, in _HandleInitializeInPollThread
    self._server_capabilities = response[ 'result' ][ 'capabilities' ]
KeyError: u'result'
2019-08-26 23:37:44,108 - INFO - Received debug info request
2019-08-26 23:37:53,848 - INFO - Received debug info request
2019-08-26 23:38:24,449 - INFO - Received debug info request
2019-08-26 23:39:08,228 - INFO - Received debug info request
2019-08-26 23:41:22,015 - INFO - Received event notification
2019-08-26 23:41:22,016 - DEBUG - Event name: CurrentIdentifierFinished
2019-08-26 23:41:22,018 - INFO - Received completion request
2019-08-26 23:41:22,018 - DEBUG - Using filetype completion: False
2019-08-26 23:41:23,097 - INFO - Received completion request
2019-08-26 23:41:23,098 - DEBUG - Using filetype completion: False
2019-08-26 23:41:23,299 - INFO - Received completion request
2019-08-26 23:41:23,299 - DEBUG - Using filetype completion: False
2019-08-26 23:41:23,412 - INFO - Received completion request
2019-08-26 23:41:23,413 - DEBUG - Using filetype completion: False
2019-08-26 23:41:23,568 - INFO - Received completion request
2019-08-26 23:41:23,568 - DEBUG - Using filetype completion: False
2019-08-26 23:41:24,756 - INFO - Received event notification
2019-08-26 23:41:24,756 - DEBUG - Event name: CurrentIdentifierFinished
2019-08-26 23:41:24,758 - INFO - Received completion request
2019-08-26 23:41:24,758 - DEBUG - Using filetype completion: False
2019-08-26 23:41:24,764 - INFO - Adding ONE buffer identifier for file: /Users/nbossard/OtherProjects/mahali/front/webapp/src/App.vue
2019-08-26 23:41:28,409 - INFO - Received completion request
2019-08-26 23:41:28,409 - DEBUG - Using filetype completion: False
2019-08-26 23:41:28,640 - INFO - Received event notification
2019-08-26 23:41:28,641 - DEBUG - Event name: CurrentIdentifierFinished
2019-08-26 23:41:31,236 - INFO - Received completion request
2019-08-26 23:41:31,236 - DEBUG - Using filetype completion: False
2019-08-26 23:41:31,340 - INFO - Received completion request
2019-08-26 23:41:31,340 - DEBUG - Using filetype completion: False
2019-08-26 23:41:31,448 - INFO - Received completion request
2019-08-26 23:41:31,448 - DEBUG - Using filetype completion: False
2019-08-26 23:41:31,769 - INFO - Received completion request
2019-08-26 23:41:31,770 - DEBUG - Using filetype completion: False
2019-08-26 23:41:32,929 - INFO - Received event notification
2019-08-26 23:41:32,930 - DEBUG - Event name: CurrentIdentifierFinished
2019-08-26 23:41:32,931 - INFO - Received completion request
2019-08-26 23:41:32,931 - DEBUG - Using filetype completion: False
2019-08-26 23:41:32,937 - INFO - Adding ONE buffer identifier for file: /Users/nbossard/OtherProjects/mahali/front/webapp/src/App.vue
2019-08-26 23:41:35,172 - INFO - Received event notification
2019-08-26 23:41:35,173 - DEBUG - Event name: FileReadyToParse
2019-08-26 23:41:35,173 - INFO - Adding buffer identifiers for file: /Users/nbossard/OtherProjects/mahali/front/webapp/src/App.vue
2019-08-26 23:41:35,174 - INFO - Received event notification
2019-08-26 23:41:35,175 - DEBUG - Event name: InsertLeave

2019-08-26 23:37:35,978 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","id":"1","error":{"code":-32603,"message":"Request initialize failed with message: The \\"path\\" argument must be of type string. Received type undefined"}}'

The \"path\" argument must be of type string. Received type undefined

And it happened on an initialize request. There are two things going on:

vls is not being helpful, by assuming it's running in a vscode client and all other clients should just know what magic configuration is necessary... ugh...
ycmd isn't gracefully handling error responses.

The second part is on us. We can fix it fairly easily, but it won't make vue work once again because of the first bullet point.
Since we are not vls developers and there's no log saying "this thing broke", I personally couldn't find where the path thing is coming from. This needs to be reported on vls issue tracker with the following part of the log:
2019-08-26 23:37:35,934 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":4,"message":"Loaded bundled<EMAIL_ADDRESS>2019-08-26 23:37:35,978 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","id":"1","error":{"code":-32603,"message":"Request initialize failed with message: The \\"path\\" argument must be of type string. Received type undefined"}}'

Note: ycmd doesn't send server configuration in the initialize request, but rather follows that request with a didChangeConfiguration notification.

According to https://github.com/vuejs/vetur/issues/1426 the fix will be there in the next release.


List Constraints with GE do not enforce EXACT properly

List constraints with op.GE and exact return incorrect
satisfied results when there are more than the specified
number of constraints that are satisfied:
prob.add_list_constraint(lcnstr.AtLeastNCList(1, True),
                         [cnstr.InValues([3, 4]), ['var1'],
                          cnstr.InValues([4, 5]), ['var2'],
                          cnstr.AllEqual(), ['var1', 'var2']])

will return satisfied True for both sets of assignments:
    {'var1': 4, 'var2': 5}
    {'var1': 4, 'var2': 4}

when both should be False (too many sub-constraints satisfied).

Fixed with commit b4356b7.
Removed the 'exact' param from <= and >= constraints and added an == constraint.


Import AAE apple video

On import, consider also "com.apple.video" for "adjustmentFormatIdentifier" in plist/AAE.
Did not run specific import test --test-import: test osxphotos import (pytest -vv --test-import tests/test_cli_import.py) -- I may not have the proper setup.
Simple tests done no my local Library on Monterey.

ProductName:    macOS
ProductVersion: 12.7.6
BuildVersion:   21H1320

Small typo fixed on import_cli.py

Thanks!


Welcome documents translation

I hope that documents is translated. 😺
https://github.com/vuejs/vue-validator/tree/dev/docs

chinese translation starting
https://github.com/vuejs/vue-validator/pull/196

The Chinese translation is almost complete. Translation of some sentences is not accurate. Later, I will take some time to refine them.

Thank you very much!!
It's a okay 😺

@kazupon
I'm interested in translating vue-validator document to Japanese. So I just started a PR here. https://github.com/vuejs/vue-validator/pull/216 Actually It's first time for me to translate OSS library and new to Vue.js but I thought that It's good to learn about this library and be translated together.I might be slow to work on but I'll do my best.

@hypermkt
Thank you for your japanese translation PR 👍
I'm waiting until it is finished. 😺


Sphinx update

This PR fixes a problem on readthedocs, which was using an older version of sphinx.  Also fixed a small error with a footnote in markov.  No need to review this one; I'll merge as soon as CI tests complete successfully.

Coverage decreased (-0.1%) to 86.195% when pulling b4775d0b4d596caa8d076f546b12f4fcc9a30441 on murrayrm:sphinx_update into bd354c9da4eea9232c745f9bfcd94855038cfeb2 on python-control:master.

Coverage decreased (-0.1%) to 86.195% when pulling b4775d0b4d596caa8d076f546b12f4fcc9a30441 on murrayrm:sphinx_update into bd354c9da4eea9232c745f9bfcd94855038cfeb2 on python-control:master.


Error thrown by Deadbolt when no subject found

Hello,
I've noticied that Deadbolt was throwing an error every time one tries to access a restricted action with  @Restrict. Our application is 50% full of Deadbolt log because of that, is that the wished behavior ? How can I remove those logs without editing source files ?
Here is a typical error :
at be.objectify.deadbolt.java.actions.RestrictAction.applyRestriction(RestrictAction.java:55) [be.objectify.deadbolt-java_2.10-2.2-RC1.jar:2.2-RC1]
2015-08-11T10:16:53.053+02:00at be.objectify.deadbolt.java.utils.RequestUtils.getSubject(RequestUtils.java:62) ~[be.objectify.deadbolt-java_2.10-2.2-RC1.jar:2.2-RC1]
2015-08-11T10:16:53.053+02:00at security.AdministratorDeadboltHandler.getSubject(AdministratorDeadboltHandler.java:26) ~[universail.universail-1.0-SNAPSHOT.jar:1.0-SNAPSHOT]
2015-08-11T10:16:53.053+02:00[warn] application - Deadbolt: Access failure on [/admin/newsletter/listings]
2015-08-11T10:16:53.053+02:00at be.objectify.deadbolt.java.actions.AbstractDeadboltAction.getSubject(AbstractDeadboltAction.java:180) [be.objectify.deadbolt-java_2.10-2.2-RC1.jar:2.2-RC1]
2015-08-11T10:16:53.053+02:00java.lang.NullPointerException: null
2015-08-11T10:16:53.053+02:00[error] application - Error getting subject: null
2015-08-11T10:16:53.053+02:00at java.util.UUID.fromString(UUID.java:192) ~[na:1.7.0_71]
2015-08-11T10:16:53.053+02:00at be.objectify.deadbolt.java.actions.RestrictAction.isAllowed(RestrictAction.java:76) [be.objectify.deadbolt-java_2.10-2.2-RC1.jar:2.2-RC1]

Thanks by advance for your help !

Sorry for the delay, I've been on vacation.
Do you have a full stack trace for the NullPointerException?
There's also a more recent version available for 2.2:
"be.objectify" %% "deadbolt-java" % "2.2.1-RC2"

I have nothing more than the log example I've put in my first post, isn't that enough to know what's about ?
In the light of your answer, I guess the log should'nt be there, should he ?
Will try the suggested version, thanks.

Somewhere around https://github.com/schaloner/deadbolt-2-java/blob/fa39c7409771245c8d63537391b20d35652e0171/app/be/objectify/deadbolt/java/actions/RestrictAction.java#L55 something is null, but without further logging I can't pinpoint it.  Have you stepped through it with a debugger?


bug: Build fails npx ionic cap run android

When I run
npx ionic cap run android
I get
`
FAILURE: Build completed with 2 failures.
[capacitor]
[capacitor]         1: Task failed with an exception.
[capacitor]         -----------
[capacitor]         * Where:
[capacitor]         Build file 'C:\Users\townh\Documents\screenbox\2ndsticks\tutorials\capacitor firebase demo\capacitor-firebase-authentication-demo\android\app\build.gradle' line: 5
[capacitor]
[capacitor]         * What went wrong:
[capacitor]         A problem occurred evaluating project ':app'.
[capacitor]         > C:\Users\townh\Documents\screenbox\2ndsticks\tutorials\capacitor firebase demo\capacitor-firebase-authentication-demo\android\keystore.properties (The system cannot find the file specified)
[capacitor]
[capacitor]         * Try:
[capacitor]         > Run with --stacktrace option to get the stack trace.
[capacitor]         > Run with --info or --debug option to get more log output.
[capacitor]         > Run with --scan to get full insights.
[capacitor]         ==============================================================================
[capacitor]
[capacitor]         2: Task failed with an exception.
[capacitor]         -----------
[capacitor]         * What went wrong:
[capacitor]         A problem occurred configuring project ':app'.
[capacitor]         > compileSdkVersion is not specified. Please add it to build.gradle
[capacitor]
[capacitor]         * Try:
[capacitor]         > Run with --stacktrace option to get the stack trace.
[capacitor]         > Run with --info or --debug option to get more log output.
[capacitor]         > Run with --scan to get full insights.
[capacitor]         ==============================================================================
[capacitor]
[capacitor]         * Get more help at https://help.gradle.org/
[capacitor]
[capacitor]         BUILD FAILED in 750ms
[capacitor]
`

Yes, the documentation is unfortunately not complete.
You have to create a keystore (see Android docs).
You also need to create a new file under the following path: android/keystore.properties.
This file should have the following content:
storePassword=<store-password>
keyPassword=<key-password>
keyAlias=<key-alias>
storeFile=<store-file-path>

Of course you have to replace the placeholders, e.g.
storePassword=1234
keyPassword=1234
keyAlias=debug
storeFile=debug.keystore

You also need to configure Firebase (see here).

To create debug.keystore :
keytool -genkey -v -keystore debug.keystore -storepass 1234 -alias debug -keypass 1234 -keyalg RSA -keysize 2048 -validity 10000

@robingenz This issue was helpful for getting the demo app to build and run locally. I'd like to get the README.md updated with this information so that other people will be able to better understand what is necessary if they are going to get the demo running themselves. From my perspective, this is an important part of evaluating and adopting the plugin, so incomplete documentation here is likely hurting adoption of this plugin and wasting the time of developers.
One other step that I found necessary for Android was to change the order of the activities in AndroidManifest.xml. Initially, npx ionic cap run android resulted in this error:
[capacitor]         Starting application activity dev.robingenz.capacitor.firebaseauth.demo/com.facebook.FacebookActivity...
[capacitor]         ADBs is unresponsive after 5000ms, killing server and retrying...
[capacitor]         Error: Command failed: adb -s 29121FDH300E7A shell am start -W -n dev.robingenz.capacitor.firebaseauth.demo/com.facebook.FacebookActivity
[capacitor]
[capacitor]         Exception occurred while executing 'start':
[capacitor]         java.lang.SecurityException: Permission Denial: starting Intent { flg=0x10000000 cmp=dev.robingenz.capacitor.firebaseauth.demo/com.facebook.FacebookActivity } from null (pid=31511, uid=2000) not exported from uid 10262

I resolved this by moving the activity for dev.robingenz.capacitor.firebaseauth.demo.MainActivity to come first (before the FacebookActivity).
Please see https://github.com/robingenz/capacitor-firebase-authentication-demo/pull/229 for a potential fix.

I've been trying to make this work in Android Studio as well> @robingenz This issue was helpful for getting the demo app to build and run locally. I'd like to get the README.md updated with this information so that other people will be able to better understand what is necessary if they are going to get the demo running themselves. From my perspective, this is an important part of evaluating and adopting the plugin, so incomplete documentation here is likely hurting adoption of this plugin and wasting the time of developers.

One other step that I found necessary for Android was to change the order of the activities in AndroidManifest.xml. Initially, npx ionic cap run android resulted in this error:
[capacitor]         Starting application activity dev.robingenz.capacitor.firebaseauth.demo/com.facebook.FacebookActivity...
[capacitor]         ADBs is unresponsive after 5000ms, killing server and retrying...
[capacitor]         Error: Command failed: adb -s 29121FDH300E7A shell am start -W -n dev.robingenz.capacitor.firebaseauth.demo/com.facebook.FacebookActivity
[capacitor]
[capacitor]         Exception occurred while executing 'start':
[capacitor]         java.lang.SecurityException: Permission Denial: starting Intent { flg=0x10000000 cmp=dev.robingenz.capacitor.firebaseauth.demo/com.facebook.FacebookActivity } from null (pid=31511, uid=2000) not exported from uid 10262

I resolved this by moving the activity for dev.robingenz.capacitor.firebaseauth.demo.MainActivity to come first (before the FacebookActivity).
Please see https://github.com/robingenz/capacitor-firebase-authentication-demo/pull/229 for a potential fix.


create a deprecations writing guide

I just learned how to do this! I would love feedback on anything that is missing or could be explained better.

@jenweber looks like there's an alex issue:
"48:119-48:124  warning  Be careful with “fires”, it’s profane in some cases  fires  retext-profanities"


AnnotatedRegion Desktop support.

This PR adds "setSystemUiOverlayStyleCallback" method to SystemChrome and improve RenderView's "_updateSystemChrome" method behavior for still work with desktop apps with custom title-bar

[x] #125798
[x] #125830

Pre-launch Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I signed the [CLA].
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is [test-exempt].
[x] All existing and new tests are passing.

I am going to close this as I don't think this is the right approach. We need to come up with a comprehensive solution for how to handle this on Desktop.


Translations

Is it possible to translate this plugin?

Successor extension https://github.com/OttoAllmendinger/gnome-shell-screenshot has better translation support


Arm64 Canary docker images include wrong architecture for github-webhook-server

Describe the bug
While attempting to run canary docker images on a Arm64 cluster, the github-webhook-server pods fail to start with the following error:
standard_init_linux.go:228: exec user process caused: exec format error
Meanwhile, the manager binary works correctly.
I suspect an issue with env var scoping on this line which fails to produce Arm64 targets:
https://github.com/actions-runner-controller/actions-runner-controller/blob/bed927052dab1cfaa229ac6878a3a614f92b6750/Dockerfile#L40
Checks

[ ] My actions-runner-controller version (v0.x.y) does support the feature
[x] I'm using an unreleased version of the controller I built from HEAD of the default branch

Environment (please complete the following information):

Controller Version: bed9270
Deployment Method: helm
Helm Chart Version: 0.16.1

Thanks for reporting! I think I had to export these go-related envvars to the githubwebhookserver build.
https://github.com/actions-runner-controller/actions-runner-controller/blob/b57e885a7317268516d5729cdb491aa1c97134c2/Dockerfile#L39

@msessa Fixed. Would you mind giving it a shot once again? Thanks!

@mumoshu, works great now thanks for fixing it.
I'll run canary for a few days and I'll report any issue I may encounter


restricted size VMs

[Enter feedback here]
Hello!
can we get a table with the specification/supportability of the restricted size VMs? HB60-15, HB60-45, ...
thank you!
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 8ca431df-513d-d4c7-fb2a-1b6218ff4e0b
Version Independent ID: 9a3b74c0-7314-d1d8-b14a-cc79684434b1
Content: HB-series - Azure Virtual Machines
Content Source: articles/virtual-machines/hb-series.md
Service: virtual-machines
Sub-service: sizes
GitHub Login: @cynthn
Microsoft Alias: cynthn

@NachoMtnz
Thanks for your feedback! We will investigate and update as appropriate.

@cynthn
Could you add your inputs on above query.
I couldn't find any information about the restricted size VMs you mentioned (HB60-15, HB60-45, ...).

#reassign @Padmalathas Can you ask the HB-series folks about this?

#reassign:@padmalathas

Hello, it is any updates on this?

Sorry, this got slipped through the cracks. All the HB series docs will be updated post GA release.

#239730
@NachoMtnz, This issue has been fixed and the article was updated for the specification/supportability of the restricted size VMs table. Its published!
#please-close


Create /DELETE route for Words

Currently, there are some duplicate words in the database, but there's no way to remove those words.
Create a new /DELETE route that a merger would use to delete a word document from the production database.
The route to implement would be DELETE api/v1/edit/words/:id which will allow for a single word document to be deleted.

Aye Captain

Ill take this one

Closing this ticket since it's now outdated and the not the functionality needed for the API.


inner space pannel

Hi,
I'm edting great with your panel but I see there is more spaces against the original one.
Is it possibile to add some setting for reduce it...

Alen

@acappelletti Yes, The upcoming release will introduce the custom CSS Editor similar to JavaScript.
I hope to release it this weekend.

Hi Mikhail,
absolutely with no rush... when you'll make the new release... could you please let me know?
Thanks and good work!

@acappelletti I just implemented the Styles Editor, which allows to override default and add new styles:

You can try it from the CI artifact. I have a couple more issues to review and will do more testing before the release later today or tomorrow.

@mikhail-vl thanks for your precious update... but when you talk about "CI artifact" it's a test area? 'cause I see always https://grafana.com/grafana/plugins/marcusolsson-dynamictext-panel/?tab=changelog 2.2.0 version form the download area.
Thanks

@acappelletti We released version 3.0.0 and sent it to the Grafana team for review. It usually takes a couple of days to review, and then it will be added to the Grafana Catalog.
Blog post with details: https://volkovlabs.io/blog/dynamictext-panel-3.0.0-20230219/
Meanwhile, you can download it from GitHub.
Let me know if there is anything else.

@mikhail-vl  thank you very much for your amazing support!
I'll wait a couple of day.... it's not a problem.
One thing. This evening I was using your panel and on a numeric field I had a value like 28.15555555556... I needed to format it. I fixed it in the source, but if I didn't have access it was a problem. Does the formatting for these extreme cases already exist in the plug? I've read the documentation and can't seem to find anything
ALEN

@acappelletti We explained how to create custom Handlebars handlers for cases like that in the video: https://www.youtube.com/watch?v=lJqk5Gobec4


VRP - Making two nodes never be assigned on the same route

Hey guys, I was working at a VRP problem and realized that add a disjunction made all nodes on disjunction optional, but my intention is to make only a pair of (or a set of pairs) don't be on the same route. So, do you guys have any idea of how can I do this?
Thanks in advance.
Best regards.

Just a note concerning disjuntion(), only at most one node can be active !
src: https://github.com/google/or-tools/blob/master/ortools/constraint_solver/routing.h#L516
so if you put Pickup and Delivery in the same list for the addDisjunction/penalty, solver can only drop both in order to fulfill both constraints i.e. "at most one node active", and "both nodes on the same vehicle"...
otherwise you could use the overload where you can set the cardinality...
src: https://github.com/google/or-tools/blob/master/ortools/constraint_solver/routing.h#L532

Sorry, @Mizux, I'm trying to understand your solution. How a function that forcing a set of nodes to be in the same vehicle help me to do the opposite of it? What I want is: making two specific nodes never be in the same vehicle/route.
Thanks for your help.

Ha sorry, i was thinking you want pair of node on the same route but having this constraint constraint i.e. could not be respected.
In this case did you simply try:
model.solver().Add(
  model.VehicleVar(routing.NodeToIndex(node_1)) !=
  model.VehicleVar(routing.NodeToIndex(node_2)));

This seems to be exactly what I want. I'm gonna make some tests and post in details to help others.
Many thanks, @Mizux, for your help.

Hey I tried the code below,
`def addDisjunction(node, ngh_list,routing):
for ngh_node in ngh_list:
    routing.solver().Add(
        routing.VehicleVar(routing.NodeToIndex(node)) !=
        routing.VehicleVar(routing.NodeToIndex((ngh_node)))

`
in this function, I give a node and a list of nodes, they add a constraint for each element in this list to not be in the same vehicle of the node. But when I use SolveFromAssignmentWithParameters the assigned vehicles return the same vehicle to a pair of nodes that was not supposed to be on the same route.  Them I tried to use AddSoftSameVehicleConstraint with a negative cost, but I had the same problem.

try using PARALLEL_CHEAPEST_INSERTION as First Solution Strategy and SolveWithParameters
(try not to use SolveFromAssignmentWithParameters with Initial Route and see if it works...)

Ha sorry, i was thinking you want pair of node on the same route but having this constraint optional i.e. could not be respected.
In this case you can simply try:
model.solver().Add(
  model.VehicleVar(routing.NodeToIndex(1)) !=
  model.VehicleVar(routing.NodeToIndex(2)));

note: you may be interested by #847 (comment)

I stumbled upon this problem and thought that this constraint would do the trick. However, due to how OR-Tools is implemented this example is not entirely correct. The VehicleVar for an unassigned delivery is -1. So if both nodes are unassigned the equation will read -1 != -1, thus violating this constraint.
How it actually needs to be formulated is that if "both nodes are active, then activate this contraint". Expressed as code:
firstNodeIndex = routingNodeToIndex(node)
secondNodeIndex = routingNodeToIndex(node)
vehicleIndexForFirstNode = routing.ConditionalExpression(routing.ActiveVar(firstNodeIndex), routing.VehicleVar(firstNodeIndex), -10)

vehicleIndexForSecondNode = routing.ConditionalExpression(routing.ActiveVar(secondNodeIndex), routing.VehicleVar(secondNodeIndex), -20)

model.solver().Add(
   vehicleIndexForFirstNode != vehicleIndexForSecondNode
)

Note here that values -10 and -20 are arbitrary. We need a negative value as all values that are >=0 can be assigned to a vehicle and -1 is already occupied. Whatever value you chose doesn't matter that much I think.

or this ?
https://gist.github.com/Mizux/9e37c370a459bd472a6ac13c304f0b54#file-same_vehicle-py-L51-L56

Yeah, that is slightly neater as it avoids magic numbers.

Perhaps I'm missing something, but can't we use boolean logic to avoid numeric calculations?
UNASSIGNED_INDEX = -1

first_index = manager.NodeToIndex(first_node)
second_index = manager.NodeToIndex(second_node)
first_is_active = routing.ActiveVar(first_index) != UNASSIGNED_INDEX
second_is_active = routing.ActiveVar(second_index) != UNASSIGNED_INDEX
routing.solver().Add(
  first_is_active && second_is_active && (routing.VehicleVar(first_index) != routing.VehicleVar(second_index)))
)

@Woodz any constraint added by solver.Add() must be fulfilled so in your code above you force both node to be active and to be visited by a different vehicle. While user want to express IF locations are actives then we want a different vehicle
note: also don't sure "&&" operator is overloaded correctly and first_is_active * second_is_active is identical to first_is_active && second_is_active
you may also use solver.Add(solver.Sum([first_is_active, second_is_active, (routing.VehicleVar(first_index) != routing.VehicleVar(second_index)) ]) == 3)
note the use of the custom solver.Sum() method

@Woodz any constraint added by solver.Add() must be fulfilled so in your code above you force both node to be active and to be visited by a different vehicle. While user want to express IF locations are actives then we want a different vehicle

Understood - thanks! So it should be like
UNASSIGNED_INDEX = -1 first_index = manager.NodeToIndex(first_node) second_index = manager.NodeToIndex(second_node) first_is_active = routing.ActiveVar(first_index) != UNASSIGNED_INDEX second_is_active = routing.ActiveVar(second_index) != UNASSIGNED_INDEX routing.solver().Add( !first_is_active || !second_is_active || (routing.VehicleVar(first_index) != routing.VehicleVar(second_index))) )

So the constraint is:

first node is not active or
second node is not active or
first and second nodes have different vehicles

seems better in the idea IMHO, but again not sure || is supported
see: https://github.com/google/or-tools/blob/stable/ortools/constraint_solver/python/constraint_solver.i
and || is not overloadable (ed only | could be overloaded https://github.com/python/cpython/blob/46b16d0bdbb1722daed10389e27226a2370f1635/Lib/operator.py#L116-L118 )
Also here python will try to interpret it directly while for instance "second_is_active" value (True or False) will only be known when a solution is found.


Using simdjson as an SAX tokenizer

simdjson seems to be the gold standard in terms of JSON-parsing performance. It's always being updated with state-of-the-art algorithms for parsing, makes excellent use of intrinsics, and supports both arm and x86_64. It's also in use by many different organizations and has extensive testing via fuzzing etc. . I don't know what the performance needs are for JSON parsing here at Spotify, but if there's any desire for more speed, simdjson would be a great choice. It could be used as an SAX tokenizer, or simply forked to have spotify-json's high-level API built on top of it.

It's an interesting direction to explore. In terms of performance, we do alright on x86 platforms, but we have no optimizations for ARM platforms, which turns out to be the majority of our uses. It would be interesting to see if we could use some or all of simdjson in our parser. I don't know if the SAX parses easily slots into our code, but just replacing the string and number parsers with the ones from simdjson might be an easy performance win, and would allow us to remove some of our own code.


net/textproto: get multiple values with canonicalized key

In order to get multiple values from a header, we have to use a standard map expression. However, we need to be aware that keys are canonicalized (header["My-Key"]) otherwise header["my-key"] will not return any value. Or need to use textproto.CanonicalMIMEHeaderKey() explicitly.
header.Get(key) allows to get the first value and internally uses textproto.CanonicalMIMEHeaderKey to canonicalize the key before getting the value.
Is there a reason not to provide, something likeheader.GetValues(key), which returns []string?

Both the http.Header and textproto.MIMEHeader types specify that "[t]o access multiple values of a key, or to use non-canonical keys, access the map directly."  Also, given how simply this function can be written yourself, why is it necessary to include it in the standard library?
func GetValues(h textproto.MIMEHeader, key string) []string {
	if h == nil {
		return nil
	}
	return h[textproto.CanonicalMIMEHeaderKey(key)]
}

Thanks @smasher164 for the explanation.
When using http.Client to invoke an HTTP API endpoint, all keys in the http.Response.Header are canonicalized automatically although the API server returns a non-canonicalized header key.
I thought it would be useful to provide such method so developers don't have to worry about case sensitivity when providing header key to get multiple values just like getting a single value.
I'm cool with having a utility function to perform the same. Hope no other developers would hit the similar confusion as I did.

I'd prefer to change the representation of net/http (and probably net/textproto) Header to not be a map and instead be a struct containing an internal map (along with other stuff), and enforce that we only store canonicalized keys.
That's part of #23707.
That said, a new method for now sounds fine. GetValues is a little weird in that the existing method Get isn't GetValue. GetAll? GetMulti? Just Values? (we prefer to avoid Get in general)

I like Values, but the downside is that it doesn't sort next to Get in the godoc. Not the end of the world, I suppose.


Could not create IMFVideoPresenter

StackTrace:
   at WPFMediaKit.MediaFoundation.EvrPresenter.CreateNew()
   at WPFMediaKit.DirectShow.MediaPlayers.MediaPlayerBase.CreateEnhancedVideoRenderer(IGraphBuilder graph, Int32 streamCount)
   at WPFMediaKit.DirectShow.MediaPlayers.MediaPlayerBase.CreateVideoRenderer(VideoRendererType rendererType, IGraphBuilder graph, Int32 streamCount)
   at WPFMediaKit.DirectShow.MediaPlayers.MediaUriPlayer.oldOpenSource()

InnerException
Can't load library '...\bin\Build\EvrPresenter64.dll'.
Im using MediaUriElement to play RTSP stream. But i got exception: there are no EvrPresenter64.dll in my folder, actually it exists
How can i fix this

Hi Jeremi,
Did you solve this problem. I have the exact same problem when trying to load the EvrPresenter32.dll library. It suddenly stopped working.

Thanks for getting back to me so quickly. I already run on the x86 platform, so the cause of my problem must be different.

Got the same problem. Cant load evrpresenter64.dll and when i build as x86, it cant load EvrPresenter32.dll. Both dll's are in the correct folder.

I our case it was because the C++ 2013 redistributable was not installed on the pc.

Tried that but doesn't solve the problem. Guess I'll continue my search. Thanks anyway


How long should SIC allow for a user to complete TOTP registration?

When a user registers a TOTP authenticator app with their 1st factor GCKey or banking credential, they are doing so across three different systems, each with it's own session timeout and two of which are completely unaware of each other.
The applicable timeouts are:
20 minutes - the single sign-in timeout window of GKey an CBS. Once a user has correctly entered their password they can single-sign in to their Sign In Canada account for 20 minutes without having to re-enter their password
20 minutes - the maximum time that Sign In Canada waits for a user to sign-in or sign-up with the TOTP service
30 minutes - the maximum time a user can be idle before the TOTP service will time them out.
The 20 minute 1st factor timeout, added to the 30 minute TOTP idle timeout means that if a user signs in to their GCKey or banking credential and then abandons their computer, a malicious user has up to 50 minutes available to use that open session to register their own 2nd factor with the victim's first factor.
We need to decide if this is acceptable, or if SIC should enforce a limit on the time allowed to complete the end-to-end registration process and if so, what that time limit should be.

this is related to https://dev.azure.com/tbs-sct/Sign in Canada/_workitems/edit/9970

NIST 800-63 sec 7.2 recommends max 30 minutes of inactivity before re-authenticating. Can we make sure we track those events in our metrics? i.e. re-authentication kicks in after x minutes of inactivity.

We already have telemetry showing many people need more than 20 minutes (the current timeout). Reducing that would negatively impact the usability of ATIP online, forcing users to re-start registration from scratch every time they can't finish in time.
The issue is the user is not inactive, they are active at an externally-managed system where we have no visibility (where a 30 min inactivity timeout is in place).

Asking SSC to reduce the idle timeout on their service would bring it into alignment with the NIST guideline, but this decision here relates to total end-to-end time across 3 systems, not inactive time at any one of them.

closing duplicate of https://github.com/sign-in-canada/Acceptance-Platform/issues/108


Not compatible with Expo v49

<EMAIL_ADDRESS>from<EMAIL_ADDRESS>  node_modules/expo-cached-image/node_modules/expo
<EMAIL_ADDRESS>from<EMAIL_ADDRESS>    node_modules/expo-cached-image
<EMAIL_ADDRESS>from the root project

Failure of expo-doctor traceback determined that this package only support v48
Expected package<EMAIL_ADDRESS>Found invalid:
<EMAIL_ADDRESS>  (for more info, run: npm why expo-modules-autolinking)
Expected package<EMAIL_ADDRESS>

#27


App seems to be stuck, infinitely loading

Keybase GUI Version: 1.0.21-20170413113755+766e240
Whenever I launch the app, it never seems to get further than the loading screen. the problem persists even through multiple reinstalls and reboots.

I too am experiencing this issue. GUI version: 1.0.21+20170413113438+766e240
Started experiencing this issue within the past couple of days. Uninstalls/Reinstalls have not fixed this issue. GUI screen sits on "Loading...". I've logged in via the shell, and the system tray icon shows my folders, but will not let me open them. KBFS drive does not show up either.

I'm having this issue as well. As with @FullofQuarks I am also able to login from the shell, but the desktop app is still stuck on "Loading..."
I'm on Windows 10.

Can you guys all keybase log send?
IS everyone on Windows?
CC: @zanderz

My desktop client actually started working after I rebooted. I'll send logs if it occurs again.

I'm seeing this same issue, but on Android right now, on a rooted Nexus 4, running 5.1.1. Won't go past this screen. Not sure if there's a way to sent logs from this sort of page on Android?:

I was having the same issue as @CameronBanga above me on mobile
Device Model: Nexus 6
Android Version: 6.0.1
Rooted: Yes
CyanogenMod Version: 13.0-20161030-NIGHTLY-shamu.
Keybase Version ( I believe ): 1.0.21-20170425210214+9f2981d9b
When I launch the app it briefly shows the key splash screen, and then the loading screen. To where it sits forever until the phone screen times out and then when I relaunch it gives me a notification that it lost connectivity, or I did.
I still got notifications in my notification bar about when people messaged me on keybase suggesting it was running in the background.
I dug around to see if I could find a log file, however I didn't see any so I packaged the app back up hopefully I grabbed everything. And I reinstalled the keybase mobile app, from there it started right up without issue. I will note that when I first installed it, that it worked just fine as well for about a day, and then suddenly infinite loading screens.

I should note that on my install, I did get past this screen once. I was in the app, and it worked fine as well. I used it for about an hour, then can't remember what happened, a crash or something, and I got this screen and couldn't get past it.

@CameronBanga it would be great to see your log send... If you can get to the feedback window after a successful start of the app, please send feedback. Thanks for your help!
Cc: @chrisnojima on android being stuck in the loading screen

Getting the same issue as well on Windows.
Log ID: f31cb76be01b5d5c21327d1c
Client loads up but can't access anything.

I have the simmilar problem. After reinstallation, it works until next reboot. Then I have infinite loading.
Log ID: 8c5a2b88719fa49a69182a1c (Hope it helps)

For those of you on Windows, two users experiencing this disconnected
message had it solved with the fix contained in this special build, if you
would like to try:
https://s3.amazonaws.com/prerelease.keybase.io/windows/Keybase_1.0.21-20170428134902%2B4280d08.386.exe
On Mon, May 1, 2017 at 5:57 AM, Thewest123<EMAIL_ADDRESS>wrote:

I have the simmilar problem. After reinstallation, it works until next
reboot. Then I have infinite loading.
Log ID: 8c5a2b88719fa49a69182a1c (Hope it helps)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/keybase/client/issues/6687#issuecomment-298329560,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA0ovWjeH98zrjtKQJvBsHPpsaxu8vY0ks5r1dahgaJpZM4NFGAo
.

This fixed my issue - so far

I still have the problem, even with the special build. :/
Log ID, if it helps: 35188c831ad3f903299ebe1c

@Thewest123 Your logs suggest the Keybase service is not being started when you reboot. Could you take a look and see if:

TaskManager shows any lower-case keybase.exe running
you have a link called KeybaseStartup in %APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup
if your app comes back to normal if you launch that link
you have any AV programs that may be blocking our utilities
Thanks for the report.

@zanderz I just wanted to know that you've been very helpful.  More info from me though.  I am not running any 3rd party AV, and the fact that I can start it manually seems odd (not being blocked by anything).  I am running build 16188 of win10.

@CameronBanga you could hook up your phone to your computer and look at the android logs possibly (if you can't get to the log send page). Like download android studio (https://developer.android.com/studio/index.html) and look at the Android Monitor/logcat to see the logs

@zanderz Thank you, sir! Everything now works fine. :)

@Thewest123 Did something specific help, or did it just start working spontaneously? It may help a few users who are stuck still.

@chrisnojima Took a look over weekend, but couldn't recreate. I don't use Android day to day, so was on a secondary device a couple weeks back. I'll try again this week and if I can get logs, will post here.

@CameronBanga if you can use keybase chat on a desktop thats likely the best way to transmit them to me (vs here publicly)


fix potential deadlock in cluster transactions

Scope & Purpose
Fix a potential deadlock in cluster transaction code in transactions::Manager::returnManagedTrx().
This method acquired the write-lock on the transactions bucket, and then can call into abortManagedTrx while the lock is still being held.
abortManagedTrx directly calls statusChangeWithTimeout, which itself unconditionally calls updateTransaction, which will also unconditionally try to acquire the same bucket lock. This would be a deadlock.
We have never seen this in practice, and according to the code it looks like it can only happening when beginShutdown() or stop() are called on the TransactionManagerFeature. If this deadlock ever happened, it should be pretty rare.
Backport of the actual fix in https://github.com/arangodb/arangodb/pull/12955

[x] :hankey: Bugfix (requires CHANGELOG entry)
[ ] :pizza: New feature (requires CHANGELOG entry, feature documentation and release notes)
[ ] :fire: Performance improvement
[ ] :hammer: Refactoring/simplification
[x] :book: CHANGELOG entry made

Backports:

[x] No backports required

http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/12592/

http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/12595/

Tests blue.


Add --overwrite parameter

Follow up PR for https://github.com/ansible/ansible-creator/pull/294, that introduces --overwrite parameter.
Fixes: https://github.com/ansible/ansible-creator/issues/163

@shatakshiiii Can we open this PR up for review and merge this please?


TabItem with icon causes Internal Server Error

[x] I have searched the Issues to see if this bug has already been reported
[x] I have tested the latest version

Steps to reproduce

Create a Server Component containing
Test, this should render successfully
Add an icon, e.g. 'icon={MdHistory}' using import { MdHistory } from 'react-icons/md'

Current behavior
Rendering gives an Internal Server Error:
'Error: Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server". Or maybe you meant to call this function rather than return it.
<... title="test" icon={function MdHistory}>'
Expected behavior
Page should be rendered successfully

U have to use the "use client" directive in order to pass functions/components down the tree.
RSC can only accept React.ReactNode aka children as props, because JSX can be serializable.

A couple of further notes:

Placing  directly into the SSR page yields a correctly rendered icon, so its not a problem with the icon itself.

A workaround is to indeed wrap the components to explicitly make them client-side, e.g. adding an extra file as icons.tsx:

'use client'

import { MdHistory } from 'react-icons/md'

export { MdHistory }

This renders correctly.


dependency issue on installation

Hi Team,
I would love to use this package but have a hard time to install.
 As it's running on a Raspberry3 this does not seem to be possible by now.
So I thought giving it a try via Docker on a recent MacBook Pro like described here: https://nodered.org/docs/getting-started/docker#dockerfile-which-copies-in-local-resources
This installed NodeRED v3.1.3 but if I try to install I still get a package that needs a higher version…

2023-12-30T14:18:07.735Z Installieren : node-red-contrib-eufy-security 0.1.1
2023-12-30T14:18:07.758Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict<EMAIL_ADDRESS>2023-12-30T14:18:07.988Z [err] npm
2023-12-30T14:18:07.989Z [err]  WARN config production Use --omit=dev instead.
2023-12-30T14:18:17.059Z [err] npm ERR! code EBADENGINE
2023-12-30T14:18:17.061Z [err] npm ERR! engine Unsupported engine
2023-12-30T14:18:17.061Z [err] npm ERR! engine Not compatible with your version of node/npm<EMAIL_ADDRESS>2023-12-30T14:18:17.061Z [err] npm ERR!
2023-12-30T14:18:17.061Z [err] notsup Not compatible with your version of node/npm<EMAIL_ADDRESS>2023-12-30T14:18:17.061Z [err] npm ERR! notsup Required: {"node":">=18.0.0"}
2023-12-30T14:18:17.061Z [err] npm ERR! notsup Actual:   {"npm":"8.19.4","node":"v16.20.2"}

So what version of NodeRED does this package require in order to work? Or is it possible to adjust the dependencies to a more "convenient" version level to be more compatible with useable standard versions?
Thanks for your thoughts.

It doesn't require any version of NodeRED to function since it doesn't function at all. There is no way of entering the 2fa code or captcha code and there is no sign of any devs around so I guess this is another dead project.

It doesn't require any version of NodeRED to function since it doesn't function at all. There is no way of entering the 2fa code or captcha code and there is no sign of any devs around so I guess this is another dead project.

Thanks for the comment. I was able to get this to work - for the docker-version of node-red you can define what version of node and npm should be used:
https://github.com/node-red/node-red-docker/blob/master/README.md
so I used amd64/node:18-alpine and got it to work. Sadly it still seems to not work on RaspberryMatic but that might be another topic. So closing for now…


Admin: Fix remaining ruff and pylint error

Fix remaining ruff formatter error
Fix remaining pylint warnings (redefined-outer-name, redefined-outer-name)

The make lint is currently not executed in the CI - that's why we haven't seen these errors before.
Can you add this fix to this PR? https://github.com/getmoto/moto/pull/7513/files
That ensures the linter is actually executed, and we can catch these errors earlier.

@bblommers
I see :) Sure, I'll add my fix to your PR :)


allow Cmd+Enter to compile the code for macOS

I use macOS and it sometimes uses Cmd-X for Windows' (or Linux's) Ctrl-X, so this PR allows Cmd-Enter to compile the code as well as Ctrl-Enter.
I think it does not affect Windows nor Linux users.
BTW I'm afraid I have not checked this patch because it seems difficult for wandbox to work on macOS.

I checked it on my macOS machine and it is worked. Thank you for your contribution!

Cool! Thanks!


user needs to gain access to C:\windows\temp for program to function

should be as simple as navigating to it manually once. this should be in the instructions.

whoops it actually is there/


10_fifo_channel_hier: Issues in command "make build"

Hello,
When I tried to run the make build command in this directory it says, fifo1 is undefined. mc_fifo.h in the correct directory as well.
I have attached the snapshot, could you please look into it?
Best,
Charan

I think you need to upgrade to a newer version of Catapult, at least released in 2023.
Alternatively you can use the fully self-contained standalone kit here:
https://forums.accellera.org/files/file/126-matchlib-examples-kit-for-accellera-systemc-evolution-day-2020-presentation/

This worked too. Thanks
Charan


Maximum call stack size exceeded

Hi. I'm trying to convert rather big as3 project and now stuck on this error that eventually happens at the same spot. Is there any workaraound?
Exiting string...
Entering string...
_stream_writable.js:314
function onwrite(stream, er) {
                ^

RangeError: Maximum call stack size exceeded
    at onwrite (_stream_writable.js:314:17)
    at WritableState.onwrite (_stream_writable.js:89:5)
    at WriteStream.Socket._writeGeneric (net.js:684:5)
    at WriteStream.Socket._write (net.js:694:8)
    at doWrite (_stream_writable.js:292:12)
    at writeOrBuffer (_stream_writable.js:278:5)
    at WriteStream.Writable.write (_stream_writable.js:207:11)
    at WriteStream.Socket.write (net.js:618:40)
    at Console.log (console.js:36:16)
    at Function.Main.debug (C:\Users\raa\AppData\Roaming\npm\node_modules\as3js\
runtime.js:147:21)
    at Function.AS3Parser.nextWord (C:\Users\raa\AppData\Roaming\npm\node_module
s\as3js\runtime.js:1084:16)

Hi @raasumy, do you have regular expression literals in your project? Regex will definitely cause the parser to choke in such a fashion. Also note that the namespace keyword is not supported in this project which is another common issue people have had

yep, I have some regular expressions used an I just masked them with quote marks so errors on them are not being raised. Then there was one file with namespace declaration on it, removed that file from project. I've examined all the issues opened and closed, seems like nobody else had anything similar.
I also tried using as3js with separate folder that is only a part of my project and it seems to work fine until the last file is parsed and I get "cannot read property 'className' of undefined". As far as I understand it's because there is no document class file in chosen folder and partial compilation fails.
Please share if you have any thoughts how to diagnose this issue properly.

It sounds like you did your research! It even appears you tried the verbose flag, correct? The next step would be to narrow down which file is causing the crash. Here's something silly you could try- copy your source files one by one into the demo page and see what errors pop up:
http://as3js.org/demo/
Also be sure to remove all the imports of your classes in this demo to suppress errors, the parser should be able to handle it since without imports it's mostly only looking for the syntax to be correct

Verbose was also examined, correct.
The thing is that error raises during parsing Main.as, which is aparently the last file to be processed. If I try to convert this file through demo page - everything is ok.

Are you ok with sharing the code from your Main.as? This definitely sounds like a bug I haven't encountered yet, I might be able to get to the bottom of it more quickly

Unfortunately I can't disclose source contents. Currently came up to converting all the files one by one. Boring, silly but effective) I'll try to reproduce the issue on other sources I have that can be disclosed.

Alright, that's good to hear the workaround is effective. If you are able to reproduce the issue on purpose I can definitely push a quick fix. Though at the moment I'm not aware of any particular logic that would cause a stack overflow. It definitely appears to be revolving strings in some fashion

I have a similar issue. I was testing this on D.eval (http://o-minds.com/deval/) and was hit with the following error:
/usr/local/lib/node_modules/as3js/runtime.js:1058
if (c.match(characters)) {
^
RangeError: Maximum call stack size exceeded
at RegExp.exec (native)
at RegExp.[Symbol.match] (native)
at String.match (native)
at Function.AS3Parser.nextWord (/usr/local/lib/node_modules/as3js/runtime.js:1058:15)
at Function.AS3Parser.parseFunc (/usr/local/lib/node_modules/as3js/runtime.js:1338:31)
at Function.AS3Parser.parseFunc (/usr/local/lib/node_modules/as3js/runtime.js:1406:44)
at Function.AS3Parser.parseFunc (/usr/local/lib/node_modules/as3js/runtime.js:1406:44)
at Function.AS3Parser.parseFunc (/usr/local/lib/node_modules/as3js/runtime.js:1406:44)
at Function.AS3Parser.parseFunc (/usr/local/lib/node_modules/as3js/runtime.js:1406:44)
at Function.AS3Parser.parseFunc (/usr/local/lib/node_modules/as3js/runtime.js:1406:44)

@letitfly look at any Java Script reference and format you regexp accordingly. In my case it was enough to put it in quotes.

Anyway, the offending line seems to be a simple statement:
trueNext = falseNext = null;
Once that was changed to two separate statements, the program was able to go through.

I ran into another problem and I hope it's fine I posted here. The code I tried to convert to js uses flash system libraries. I passed the --ignore-flash and as3js completes, but obviously the resulting code is not runnable. So what are left for me to do?
One of the import is "import flash.utils.describeType;", this is inflection and I suppose it can be implemented in js. Is that the recommended path forward?

@letitfly Splitting a problematic line into shorter expressions will almost always to the trick, but I do wonder- were trueNext and falseNext getter/setters? I added special behavior for evaluating those types of statements to ensure better browser compatibility, so the bug could have been with the parser getting confused on the assignment.
As for your other problem, your assumption is correct that flash packages needs to be re-implemented in JavaScript (or if used with this library, could be re-implemented in AS3 alternatively)

Closing since this project is obsolete


Cannot read property 'main' of undefined Use

Hey!
My 'bower-install' instructions in my Gruntfile breaks grunt when is called and let this message:
Cannot read property 'main' of undefined Use

This is my grunt config for "bower-install":
'bower-install': {
    target: {
        src: ['app/index.html'],
        cwd: ' ',
        ignoredPath: ' ',
        exclude: [],
        fileTypes: {}
    }
}

Thank you

Same here I had this problem today. A quick bower install took care of it.

In some instances, it may be necessary to run bower cache clean http://bower.io/docs/api/#cache


work with redux 2.0?

Hey, thinking of trying this out for ng2 project. Will this work with latest redux 2.0?

Hey Mike,
It won't currently work, there will be a release in the next few days which will support it and with an api very similar to ng-redux and less bugs :)

Ok thanks :)
Maybe I'll just play around with 1.0.1 for the time being.

Hey Mike,
I just released v2.0.0-alpha which works with Redux 2.0.
Their will be breaking changes before the final release (provide and unsubscribing mostly) but you'll get a good idea of how this will works.
Let me know of things goes!
Thanks.

Thanks for the quick turnaround William!
Will let you know how it goes. :)


linaro-django-pagination gone from PyPI

The PyPI page for linaro-django-pagination (https://pypi.python.org/pypi/linaro-django-pagination/)  shows 404 at the moment. Judging by Google cache the page was available a week ago. What has happened?

                                                                                I'll check it out and upload again if needed                                                                                Enviat des del meu telèfon intel·ligent BlackBerry 10.                                                                                De: Vasily AlexeevEnviat: Monday, 28 September 2015 14:36Per a: zyga/django-paginationRespon a: zyga/django-paginationTema: [django-pagination] linaro-django-pagination gone from pypi (#31)The PyPI page for linaro-django-pagination (https://pypi.python.org/pypi/linaro-django-pagination/)  shows 404 at the moment. Judging by Google cache the page was available a week ago. What has happened?

—Reply to this email directly or view it on GitHub.

+1

:+1:

Still 404 now,

Fixed. I'm sorry for the extreme lag.

The latest release (2.1) seems not available on pypi

Hmmm, let's see, my master was at 2.0.3, not at 2.1

Ok, it's 2.1 in the release GitHub page


Pills should reflect second level filter selections

This was part of the v1 design before the Feb refactor, we should re-implement it. Figma is here

as here? this is not really done, only if we choose age it will be like this, otherwise

heruku https://yourpeer-shakil-filters-g4db2z.herokuapp.com/


LastGoodCheckDbTime "Applies to" may be misleading for 2017

The "Applies to" section for LastGoodCheckDbTime can be misleading or incorrect because it currently says "Starting with SQL Server 2016 (13.x) SP2". This gives the impression that it works on all versions of SQL Server 2017, including the RTM version.
This is not the case.  In my testing, this property does not return a result from 2017 RTM through 2017 CU8.
SQL Server 2017 with CU9 does return a result as expected.
The text should read something like "Starting with SQL Server 2016 (13.x) SP2, SQL Server 2017 (14.x) CU9, and Azure SQL Database."

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 09ca907e-99b6-3663-82bf-abe45f1ae76e
Version Independent ID: 1acba411-593f-6cd2-7c76-8e35dbd8ac13
Content: DATABASEPROPERTYEX (Transact-SQL) - SQL Server
Content Source: docs/t-sql/functions/databasepropertyex-transact-sql.md
Product: sql
Technology: t-sql
GitHub Login: @MikeRayMSFT
Microsoft Alias: mikeray

@tkwj -- Tom, thank you for your feedback.
@MikeRayMSFT -- Mike, please look into this issue #4318.

@tkwj - thanks for the feedback. Checking


[REGRESSION] Private NuGet repo: Unable to load the service index for source

Issue originally created by @Saibamen and transferred from https://github.com/dotnet/dotnet-docker/issues/2702

Describe the Bug

After updating SDK image mcr.microsoft.com/dotnet/framework/sdk:4.8 to latest version (--pull) I cannot restore NuGet packages from private repo.
Error:
Step 6/16 : RUN nuget restore My.Context.sln
 ---> Running in 2ea3558e0323
MSBuild auto-detection: using msbuild version '<IP_ADDRESS>03' from 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin'.
Restoring packages for C:\app\Libs\My.Externals\My.Externals.csproj...
Restoring packages for C:\app\Libs\My.Data.Entities\My.Data.Entities.csproj...
Unable to load the service index for source https://my_private.pkgs.visualstudio.com/_packaging/EigenePakete/nuget/v3/index.json.
  Key not valid for use in specified state.

Previous SDK image (before 03/09/2021) worked fine.
Steps to Reproduce

Create solution with .NET Framework 4.7.2 and .NET 5 projects (.NET 5 project is the main/startup one).
Dockerfile:
# escape=`

FROM mcr.microsoft.com/dotnet/framework/sdk:4.8 AS build
WORKDIR /app
COPY . .

# handle private repo credentials
ARG FEED_ACCESSTOKEN
RUN nuget sources update -name PrivateRepo -source https://my_private.pkgs.visualstudio.com/_packaging/EigenePakete/nuget/v3/index.json -username PATForPackages -password %FEED_ACCESSTOKEN%

# Restore
RUN nuget restore My.Context.sln

# should be Debug or Release
ARG CONFIGURATION
# Build & publish
ARG SolutionDir="C:\app\"
RUN msbuild /p:Configuration=%CONFIGURATION% /p:DeployOnBuild=true /p:PublishProfile=FolderProfile.pubxml Server\My.WebApi.v2\My.WebApi.v2.csproj

FROM mcr.microsoft.com/dotnet/aspnet:5.0 as runtime

WORKDIR /inetpub/wwwroot
ARG CONFIGURATION
COPY --from=build /app/Server/My.WebApi.v2/bin/Release/Publish/. ./

EXPOSE 80 443

ENTRYPOINT ["C:\\ServiceMonitor.exe", "w3svc"]

nuget.config:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <packageSources>
    <add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
    <add key="PrivateRepo" value="https://my_private.pkgs.visualstudio.com/_packaging/EigenePakete/nuget/v3/index.json" />
  </packageSources>
</configuration>

Build (remember to switch to Windows containers):
docker build --pull --build-arg FEED_ACCESSTOKEN=your_token_for_nuget_read --build-arg CONFIGURATION=Release -t mywebapiv2 -f .\Server\My.WebApi.v2\Dockerfile .

Other Information

Solution has both .NET 5 and .NET Framework 4.7.2 projects, so you need to switch to Windows containers.
Image mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019 also have this bug.
Building was tested on 3 different Windows machines - all of them has this same error.
Output of docker version
Client: Docker Engine - Community
 Cloud integration: 1.0.9
 Version:           20.10.5
 API version:       1.41
 Go version:        go1.13.15
 Git commit:        55c4c88
 Built:             Tue Mar  2 20:14:53 2021
 OS/Arch:           windows/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.5
  API version:      1.41 (minimum version 1.24)
  Go version:       go1.13.15
  Git commit:       363e9a8
  Built:            Tue Mar  2 20:26:56 2021
  OS/Arch:          windows/amd64
  Experimental:     false

Output of docker info
Client:
 Context:    default
 Debug Mode: false
 Plugins:
  app: Docker App (Docker Inc., v0.9.1-beta3)
  buildx: Build with BuildKit (Docker Inc., v0.5.1-docker)
  scan: Docker Scan (Docker Inc., v0.5.0)

Server:
 Containers: 1
  Running: 0
  Paused: 0
  Stopped: 1
 Images: 13
 Server Version: 20.10.5
 Storage Driver: windowsfilter
  Windows:
 Logging Driver: json-file
 Plugins:
  Volume: local
  Network: ics internal l2bridge l2tunnel nat null overlay private transparent
  Log: awslogs etwlogs fluentd gcplogs gelf json-file local logentries splunk syslog
 Swarm: inactive
 Default Isolation: hyperv
 Kernel Version: 10.0 19042 (19041.1.amd64fre.vb_release.191206-1406)
 Operating System: Windows 10 Pro Version 2009 (OS Build 19042.868)
 OSType: windows
 Architecture: x86_64
 CPUs: 8
 Total Memory: 31.83GiB
 Name: WINDOWS-L20SI7S
 ID: PWNZ:5WEB:EEOZ:WCVK:YW57:BDGI:LY3L:HKNL:P4C4:JKGE:XIIY:YISQ
 Docker Root Dir: C:\ProgramData\Docker
 Debug Mode: true
  File Descriptors: -1
  Goroutines: 26
  System Time: 2021-03-26T10:44:50.3170853+01:00
  EventsListeners: 1
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  <IP_ADDRESS>/8
 Live Restore Enabled: false
 Product License: Community Engine

@Saibamen - Can you verify that things work fine if you use the mcr.microsoft.com/dotnet/framework/sdk:4.8-20210209-windowsservercore-ltsc2019 tag?

mcr.microsoft.com/dotnet/framework/sdk:4.8-20210209-windowsservercore-ltsc2019 correctly downloads NuGet packages from official repo like microsoft.entityframeworkcore.inmemory, but I have this message:
[CredentialProvider]Using the ADAL UI  flow for uri https://my_private.pkgs.visualstudio.com/_packaging/EigenePakete/nuget/v3/index.json User sign-in required in a pop-up authentication window.
    [CredentialProvider]DeviceFlow: https://my_private.pkgs.visualstudio.com/_packaging/EigenePakete/nuget/v3/index.json
    [CredentialProvider]ATTENTION: User interaction required.

    **********************************************************************

    To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code XXXXXXX to authenticate.

    **********************************************************************

Please provide credentials for: https://my_private.pkgs.visualstudio.com/_packaging/EigenePakete/nuget/v3/index.json
UserName: Password:     [CredentialProvider]Device flow authentication failed. User was presented with device flow, but didn't react within 90 seconds.

This should not happen, because I'm updating password for my repo in this line:
RUN nuget sources update -name PrivateRepo -source https://my_private.pkgs.visualstudio.com/_packaging/EigenePakete/nuget/v3/index.json -username PATForPackages -password %FEED_ACCESSTOKEN%

@nkolev92 - Any thoughts on this?

Nothing stands and there are no bugs that we are aware of.
Attempting to isolate a repro for the configuration issue would be great.
I'd check that the name of the source in the repro is the same, and make sure that it's written in the correct nuget.config.

@Saibamen - Is this still an issue for you?  The fact that you encountered a different error when reverting back to the original image that was working earlier seems to suggest that something has changed in the configuration of your system to cause this.  I would suggest to examine what might have changed within your configuration between the time this was working and when it didn't, and to follow the suggestion above.

Source name and nuget.config is correct.
Dockerfile and nuget.config was not changed between "working" and "not working" time.
Building docker image is working when:

I add Personal Access Token as ClearTextPassword in nuget.config and delete RUN nuget sources update (...) from Dockerfile - for both sdk:4.8 and sdk:4.8-20210209-windowsservercore-ltsc2019 tags
I add Personal Access Token as ClearTextPassword, replacing /v3/index.json with /v2 in nuget.config (see https://docs.microsoft.com/en-us/azure/devops/artifacts/nuget/nuget-exe?view=azure-devops#add-a-feed-to-nuget-2) and delete RUN nuget sources update (...) from Dockerfile - also for both SDK images tags

Question: Where I can see list of published docker SDK images tags between 1st and 20 of March?

I will create new private NuGet repository and some dummy solution on Monday and I will send this on my GitHub repository.
How can I send you Personal Access Token for NuGet read-only scope?

Question:
Where I can see list of published docker SDK images tags between 1st and 20 of March?

There's only been one update during that timeframe, on March 9.  It changed from tag 4.8-20210209-windowsservercore-<version> to 4.8-20210309-windowsservercore-<version>.

How can I send you Personal Access Token for NuGet read-only scope?

You can send directly to me at<EMAIL_ADDRESS>

Repository: https://github.com/Saibamen/dotnet-framework-issue-749
I have already sent you PAT

This could be related to https://github.com/microsoft/dotnet-framework-docker/issues/704
It is recommended to use Credential Provider (thanks @mthalman):
FROM mcr.microsoft.com/dotnet/framework/sdk:4.8 AS build

# Change user to workaround https://github.com/microsoft/artifacts-credprovider/issues/201
USER ContainerAdministrator
# Install the cred provider
RUN Invoke-WebRequest https://raw.githubusercontent.com/microsoft/artifacts-credprovider/master/helpers/installcredprovider.ps1 -OutFile installcredprovider.ps1; \
    .\installcredprovider.ps1; \
    del installcredprovider.ps1
USER ContainerUser

WORKDIR /app
COPY . .

# Handle private repo credentials
ARG FEED_ACCESSTOKEN
ENV VSS_NUGET_EXTERNAL_FEED_ENDPOINTS="{\"endpointCredentials\": [{\"endpoint\":\"https://gandalan.pkgs.visualstudio.com/_packaging/private_test_repo/nuget/v3/index.json\", \"username\":\"PATForPackages\", \"password\":\"${FEED_ACCESSTOKEN}\"}]}"

# Restore
RUN nuget restore NuGetBug.sln

# Should be Debug or Release
ARG CONFIGURATION
# Build & publish
ARG SolutionDir="C:\app\"
RUN msbuild /p:Configuration=%CONFIGURATION% /p:DeployOnBuild=true /p:PublishProfile=FolderProfile.pubxml NuGetBug.WebApi\NuGetBug.WebApi.csproj

FROM mcr.microsoft.com/dotnet/aspnet:5.0 as runtime

WORKDIR /inetpub/wwwroot
ARG CONFIGURATION
COPY --from=build /app/NuGetBug.WebApi/bin/${CONFIGURATION}/Publish/. ./

EXPOSE 80 443

ENTRYPOINT ["C:\\ServiceMonitor.exe", "w3svc"]


crashing on: 'Pier 39 lot 12'

RepeatedLabelError:
ERROR: Unable to tag this string because more than one area of the string has the same label
ORIGINAL STRING:  Pier 39 lot 12
PARSED TOKENS:    [(u'Pier', 'OccupancyType'), (u'39', 'OccupancyIdentifier'), (u'lot', 'OccupancyType'), (u'12', 'OccupancyIdentifier')]
UNCERTAIN LABEL:  OccupancyType
When this error is raised, it's likely that either (1) the string is not a valid person/corporation name or (2) some tokens were labeled incorrectly

How do you think this should be tagged?
On Tue, Sep 6, 2016 at 11:48 PM Matthieu Tourne<EMAIL_ADDRESS>wrote:

RepeatedLabelError:
ERROR: Unable to tag this string because more than one area of the string
has the same label
ORIGINAL STRING: Pier 39 lot 12
PARSED TOKENS: [(u'Pier', 'OccupancyType'), (u'39',
'OccupancyIdentifier'), (u'lot', 'OccupancyType'), (u'12',
'OccupancyIdentifier')]
UNCERTAIN LABEL: OccupancyType
When this error is raised, it's likely that either (1) the string is not a
valid person/corporation name or (2) some tokens were labeled incorrectly
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/datamade/usaddress/issues/139, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAgxbfWWkLR_HLb3pytl1DxLLJE2Woi7ks5qnkIfgaJpZM4J2h9B
.

that I'm not sure, but it does raise an error that asks that you report it (if I remember correctly).

Hey @mtourne,
This should point to a Pier 39 parking lot, right? It's an edge case, so I'm not terribly certain, but my guess is that it should be classified like so:

String
Parsed type

Pier
LandmarkName

39
LandmarkName

lot
SubaddressType

12
SubaddressIdentifier

(You can find our general classification guidelines in our docs, and you can read the official US data standard for addresses here.)
We ask users to report errors so that we can improve our training data. My guess is that we don't have many (if any) examples of piers or parking lots to train the model on right now, so it's getting confused. If you're parsing a lot of addresses for piers/parking lots we'd be happy to incorporate them as training data – just let us know! Otherwise I'll close this.

Hi @mtourne,
It's been a week, so I'm going to assume this isn't a pressing need. If you wind up parsing a lot of pier addresses and the model continues to fail, feel free to open up a new issue and we can look into it.


[Content-Type] application/problem+json

With api platform, error such as not found or not authorized response has this following content-type: "application/problem+json; charset=utf-8"
assertResponse method fails because of that.

@lchrusciel I made a pull-request to allow both "application/json" and "application/json; charsset=utf-8" but it's not enough...


Appstudio update test-component-pac-axjz

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI/test-component-pac-axjz-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
20 seconds
clone-repository

✅ Succeeded
38 seconds
build-container

✅ Succeeded
13 seconds
deprecated-base-image-check

✅ Succeeded
17 seconds
inspect-image

✅ Succeeded
17 seconds
clair-scan

✅ Succeeded
1 minute
clamav-scan

✅ Succeeded
15 seconds
sbom-json-check

✅ Succeeded
12 seconds
label-check

✅ Succeeded
8 seconds
show-sbom

✅ Succeeded
6 seconds
show-summary

Pipelines as Code CI/test-component-pac-axjz-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
21 seconds
clone-repository

✅ Succeeded
37 seconds
build-container

✅ Succeeded
15 seconds
deprecated-base-image-check

✅ Succeeded
19 seconds
inspect-image

✅ Succeeded
13 seconds
clair-scan

✅ Succeeded
1 minute
clamav-scan

✅ Succeeded
13 seconds
sbom-json-check

✅ Succeeded
11 seconds
label-check

✅ Succeeded
6 seconds
show-summary

✅ Succeeded
6 seconds
show-sbom

Pipelines as Code CI/test-component-pac-axjz-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
21 seconds
clone-repository

✅ Succeeded
37 seconds
build-container

✅ Succeeded
19 seconds
inspect-image

✅ Succeeded
15 seconds
deprecated-base-image-check

✅ Succeeded
13 seconds
clair-scan

✅ Succeeded
1 minute
clamav-scan

✅ Succeeded
13 seconds
sbom-json-check

✅ Succeeded
11 seconds
label-check

✅ Succeeded
6 seconds
show-summary

✅ Succeeded
6 seconds
show-sbom


UNABLE TO DEPLOY TO NETLIFY

Describe the bug
An error occured while streaming this message.
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-969yan
Steps to reproduce
To deploy to netlify. I have tried uploading the Github repository directly it doesnt allow as well
Expected behavior
To deploy to netlify. I have tried uploading the Github repository directly it doesnt allow as well
Screen Recording / Screenshot

Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 130
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 115885761,
  "usedJSHeapSize": 111944665,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = samora254
Chat ID = 0bf25668fd68

Additional context
Error:
An error occured while streaming this message.

Hi @samora254,
We are aware of this issue and are tracking it here: #1022.


why is there base64 in the files output by npx create-guten-block?

why is there base64 in the files output of by npx create-guten-block?

Sourcemaps


lesson-13 filter not working

macbook pro, macOs 10.12.4, chrome 版本 58.0.3029.96 (64-bit), after clone and checkout to lesson-13, filter not working

It's the change in vue-events that causes the issue. Please see here. I'll find time to update the tutorial to v1.6 of Vuetable as well.


StatusCode check in api_grafeas_v1_beta1.go

Problem
Nested if statement that checks for StatusCode == 200 is always ignored:
if localVarHttpResponse.StatusCode < 300 {
	// If we succeed, return the data, otherwise pass on to decode error.
	err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type"));
	if err == nil {
		return localVarReturnValue, localVarHttpResponse, err
	}
}

if localVarHttpResponse.StatusCode >= 300 {
	newErr := GenericSwaggerError{
		body: localVarBody,
		error: localVarHttpResponse.Status,
	}
	//the issue is here
	if localVarHttpResponse.StatusCode == 200 {
		var v V1beta1BatchCreateNotesResponse
		err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type"));
			if err != nil {
				newErr.error = err.Error()
				return localVarReturnValue, localVarHttpResponse, newErr
			}
			newErr.model = v
			return localVarReturnValue, localVarHttpResponse, newErr
	}

	return localVarReturnValue, localVarHttpResponse, newErr
}

This code checks if the StatusCode value is more than 300, and, if it is true, it checks if the StatusCode is equal to 200, which means that this nested if statement will never be true.
I did not observe any issues happening because of this problem because if StatusCode == 200 the if statement above (if localVarHttpResponse.StatusCode < 300 ) will be executed.
This problem reoccurs for every function in api_grafeas_v1_beta1.go that expects a response.
Potential Solution
Move StatusCode == 200 if statement inside of if localVarHttpResponse.StatusCode < 300 {} or before it, e.g.:
if localVarHttpResponse.StatusCode < 300 {
	// If we succeed, return the data, otherwise pass on to decode error.
	err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type"));
	if localVarHttpResponse.StatusCode == 200 {
		if err != nil {
			newErr.error = err.Error()
			return localVarReturnValue, localVarHttpResponse, newErr
		}
		newErr.model = localVarReturnValue
		return localVarReturnValue, localVarHttpResponse, newErr
	}

	if err == nil {
		return localVarReturnValue, localVarHttpResponse, err
	}
}

if localVarHttpResponse.StatusCode >= 300 {
	newErr := GenericSwaggerError{
		body: localVarBody,
		error: localVarHttpResponse.Status,
	}

	return localVarReturnValue, localVarHttpResponse, newErr
}

Hi @lynnsh,
Thanks for finding and filing the issue! You're absolutely right that the status check for 200 is never reached in that if-statement. This code was auto-generated by Swagger, so we have 2 potential solutions here:

Fix locally inside the generated code. This would be a great approach, but if we decide to pursue longer-term fixes for Swagger in the Grafeas repo itself, as discussed in #379, then these changes would unfortunately get overwritten on the next client generation.

Fix this generation logic inside the Swagger codegen itself.

I personally would love to see the fix in the codegen, as it'd help many OSS projects, so if you decide to do 2. -- many thanks! :)


fix(compiler-sfc): allow export default substring

fix #7038

Questions:

(?:expr) is really necessary? It's just used to test here namedDefaultExportRE.test()
(?:as)? why as optional? Is that really a valid syntax without as?

I think there are only two types of named default export: export { foo as default } and plus from 'xxx'
default is a keyword of JavaScript, so it can't be like export { default }. It's an invalid syntax.

FYI I wrote a regexp: /(^|\n|;)\s*export\s*{\s*([\w_$]+)\s*as\s*default/s

For the case without as, maybe  can refer #5937

@btea Oh, thanks! I just remembered.

I just update the regexp, maybe you can try it.

It looks great, but the s flag doesn't seem to be needed.

I tried it but it fails in these cases
https://github.com/vuejs/core/blob/7663a79a295800da7c889fcd2e8e1e6d775263db/packages/compiler-sfc/__tests__/rewriteDefault.spec.ts#L18-L33

@btea Try /(^|\n|;)\s*export\s*{.*(\s*[\w_$]+\s+as\s+)?default/

@btea I think it's very hard to check it by regex, I think we could do it by AST.

Hi gays! This new regexp ((^|\n|;)\sexport\s{.(\s[\w_$]+\s+as\s+)?default) could give false positive on a line like this one:
export { foo as bar }; const baz = "default";
Probably we should close the braces?
(^|\n|;)\s*export\s*{.*(\s*[\w_$]+\s+as\s+)?default\s*}

@klyuevtech
Missing the case: export { a, a as default, c }
Matched the case but shouldn't export { somedefault }.

@sxzz This one seems works well:
/(^|\n|;)\sexport((\s{[\w\s_$,]([\w_$]+\s+as\s+)+)?|(\s{\s*)+)default((\s|,)+[\w_$\s]*)?}/

@klyuevtech
It doesn't seem to match the following
https://github.com/vuejs/core/blob/7663a79a295800da7c889fcd2e8e1e6d775263db/packages/compiler-sfc/__tests__/rewriteDefault.spec.ts#L112-L115

😮💨 I think it's too complex, even if we have a perfect regex.
We have the AST (PR #7068) already, so I think checking it through AST is better than a very complex regex

AST based approach handles default in comments and strings, I think works better in all cases. Closing in favour of #7068.


Input field not accepting responses in classical mechanics portion.

Steps to find the bug-

Go to the physics calculator.
Click on Classical mechanics.
Go to any page out of momentum, force, etc.
Scroll down a bit and try to enter the value of the second input field. It's not accepting responses especially on large screens like laptops.
Possible solution
If you check the second input field by going to dev tools. Then you won't see the second input field getting highlighted. Try to fix that.

@Gourab-18 u can work on this issue.

@Gourab-18 can u send the PR by today???

@Amit366 I have been trying to fix the input field issue for a day but I am unable to fix it. However I found 2 solutions.

Keep both the input fields in the same row.
Use normal input attribute instead of bootstrap one and add custom styling from our side.

I guess the first option will be better and it does not even make the UI look bad. So shall I go for the first option and send the PR now?

Can u assign this issue to me?


Increase length or Sound of Push Notification

Hello All,
Is there any way to increase the length of push notifications SOUND
I want to implement an alert push which lasts longer and let the user itself click to dismiss the push notification on the mobile App.
Is there any way to achieve this?

Ya I know this. Push is for different functionality.
Well, I've created a custom sound for this. And its somehow achieved the goal.


put note about React$Element change specifically in the changelog

I've already used ReactElement in Flow annotations all over my code...now that 0.22.0 changed that to React$Element a lot of my flow annotations broke.  This seems worth of specific mention in the changelog to me.

I think React$Element is intended to be private to the React declarations file, but Flow doesn't scope type declarations into the declarations file (feature request?). Other files should refer to the type as React.Element (assuming the module has been imported as React). The changelog probably should point this out.

React.Element is what we'd like people to use. Yeah, we should add this to the changelog. We should also add this to the documentation. Sorry about the confusion.

Gotcha, thanks!  I'm guessing Flow converts $ in names in declarations to .?

Sorry nevermind, I just saw the note about it being private to the definition file


KeyEventArgs.Handled no longer seems to work.

After upgrading from Avalonia version 11.0.4 to version 11.0.6, e.Handled = true in the KeyDownEvent of the NumericUpDown no longer seems to work.
Expected:

Press Key
e.Handled is set to true in the KeyDown event handler.
The key is not written.

Actual:

e.Handled is true but the char is still written.

Code:
void BlockNonNumericInput(object? sender, KeyEventArgs e)
    {
        if (e.KeySymbol == null)
        {
            return;
        }

        if(!decimal.TryParse(Volume.Text + e.KeySymbol, out _))
        {
            e.Handled = true;
        }
    }

Environment

OS: Mac
Avalonia-Version: 11.0.6

Thank you for your help.

I suggest to use the TextInputEvent instead.

[!NOTE]
You need to tunnel the event

public ContentPage()
{
    InitializeComponent();

    NumericUpDown.AddHandler(NumericUpDown.TextInputEvent , Num_OnTextInput, RoutingStrategies.Tunnel);
}

private void Num_OnTextInput(object? sender, TextInputEventArgs e)
{
    if (e.Text == "x")
    {
        e.Text = "5";
    }
}

Hei @timunie.
Thanks for the tip. I have now converted it to this and it works great.
I'm still leaving the bug open though, as the e.Handled thing still looks like a bug.

It's by design. If TextInput was handled, then KeyDown is not raised - something by design in XAML frameworks.
It was like this on windows, but not on mac. Now it's consistent.


User documentation

This model needs an introductory guide or user's guide.  It should be part of the released docker-hub image.  It should include instructions for:

running the model
documentation sources for more diverse questions
minor changes to the mechanism (rate constants)
major changes to the mechanism
accessing other mechanisms
changing the environmental conditions
what else?

I think we need a video on installing and using Docker.  Or perhaps a link to someone's video that is appropriate to our needs.
Also we need a video on needs of the model.  Such a video would need regular updating.
And perhaps a video on community standards, standards for code that is to be included, and development paradigms.

I think we need a video on installing and using Docker.  Or perhaps a link to someone's video that is appropriate to our needs.
Also we need a video on needs of the model.  Such a video would need regular updating.
And perhaps a video on community standards, standards for code that is to be included, and development paradigms.

@mattldawson @K20shores I have found helpful documentation in several places - could they be consolidated?
https://github.com/NCAR/music-box/blob/main/config_options.md
https://github.com/NCAR/musicbox_curriculum_exercises/blob/main/musicbox_student_help.md
The documentation currently in the doxygen_files in ./doc/ is very sparse.  Can we start a readthedocs site for this documentation - it is rather inconvenient to have to figure out how to create the doxygen documentation.

Closing in favor of #163


Home Page and Features Page update

C# 9 replaced with C# 10 .NET 6

Thank you @xen2. I need to check why C# 10 note is not showing up in the features page..


#175 Feature - explicit charset option

This PR resolves #175.

Done :-)

qq - will setting the env SESSION_CODE_PAGE with a possible option allow zti to use it as well?

Any SESSION_ environmental variable (including SESSION_CODE_PAGE) is picked up by tnz.ati/zti.

Nice :-)
@najohnsn do you want any further changes on this PR (I've removed the dotenv stuff and merged the lastet from main) ?
There's 1 workflow awaiting approval, but I guess you see that.

@paullilley, looks like there are some pycodestyle things to address

@najohnsn pycodestyle fixes done :-)


__NSDictionaryM safeSetObject:forKey error

hi，it can't run .
KSCrash: App is running in a debugger. The following crash types have been disabled:

KSCrashTypeMachException
KSCrashTypeNSException
2013-10-14 17:17:02.153 Simple-Example[5776:c07] -[__NSDictionaryM safeSetObject:forKey:]: unrecognized selector sent to instance 0xa26a930
2013-10-14 17:17:02.156 Simple-Example[5776:c07] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSDictionaryM safeSetObject:forKey:]: unrecognized selector sent to instance 0xa26a930'
*** First throw call stack:
(0x18b2012 0x13a7e7e 0x193d4bd 0x18a1bbc 0x18a194e 0x34883 0x35121 0x2b93c 0x4225 0x3ca05 0x295d 0x28a6 0x2e9157 0x2e9747 0x2ea94b 0x2fbcb5 0x2fcbeb 0x2ee698 0x2672df9 0x2672ad0 0x1827bf5 0x1827962 0x1858bb6 0x1857f44 0x1857e1b 0x2ea17a 0x2ebffc 0x280d 0x2735)
libc++abi.dylib: terminate called throwing an exception

Fixed by Xcode 5 ? :smile:


Vaffle still delete previous buffer after 0bc35d2 for #31

I think there are still bugs after this fix 0bc35d2
The same scenario, you can produce the bug follow the steps:

Assume we have 3 files,~/a/1.txt, ~/a/2.txt/, ~/b/3.txt`.
:Vaffle<cr>, and open ~/a/1.txt, use :ls, you will see ~/a/1.txt
:Vaffle<cr>, and open ~/a/2.txt, use :ls, you will see ~/a/1.txt, ~/a/2.txt
:Vaffle ~/b<cr>, and open ~/b/3.txt, use :ls, you will see ~/a/1.txt, ~/b/3.txt. And ~/a/2.txt disappeared in (removed from) the buffer list.

But, If I use :edit ~/b instead of :Vaffle ~/b to open the folder, Vaffle works well. I don't need to change anything.
I also try to fixed the code like following, seems solve the problem.
  if !isdirectory(path)
    " Open new directory buffer and overwrite it
    " (will be initialized by vaffle#event#on_bufenter)
    let dir = fnamemodify(path, ':h')
    execute printf('edit %s', fnameescape(dir))

    call vaffle#buffer#move_cursor_to_path(
          \ fnamemodify(path, ':p'))
    return
  else
    execute printf('edit %s', fnameescape(path))
  endif

Reference #31

@markwu I'm trying to fix the problem in the branch. Could you try it?
https://github.com/cocopon/vaffle.vim/tree/fix-unexpected-overwriting

I just test the branch, it seems fix the problem. Thank you.

Merged! Thank you for checking the fix.


Code block in readme

log.Println("Like this")

Hey, @philchia. I didn't quite get your point.
Can you point out the actual lines and issue?

Use ``` to quote your code block

Markdown accepts two code block style: space/tab and ```, they both works fine except the first one can not specify code language, like ```go.
Here is the document: https://daringfireball.net/projects/markdown/syntax#precode.
Thanks for the tip anyway, but I'm gonna leave the document the way it is.


Oceans spawning in certain conditions won't have isle biomes

If you create a biomegroup that only contain oceans, then that ocean won't spawn any isle biomes. This also happens with oceans generating in "missing space" caused by a biomegroup's rarity being lower than 100%
Here's a map showing segments of the ocean that generated through biomegroup.

Notice that there are areas of ocean without an isle biome. Those are parts of the ocean that spawned in a biomegroup. Areas with isle biomes are generated through land rarity.
Here's another map showing segments of the ocean that generated in missing space.

Parts of the ocean generated by land rarity will show isle biomes while parts of oceans generated in "missing space" will not.
The reason why I would use biomegroups for oceans in the first place is that it is more precise to control the size and frequency of oceans and is easier to use than using land rarity.

There must be a difference between the oceans spawned by the biome group and the oceans spawned because there is no biome group.
TerrainControl has its size variable inverted: higher size numbers give smaller biomes. If you try to spawn a bigger biome (low size number) inside a smaller biome (high size number), it simply won't spawn, without telling you why.
Make sure the biome group that contains the ocean biome has a size of 0: BiomeGroup(OceanGroup, 0, rarity, names). Alternatively, increase the BiomeSizeWhenIsle of the Deep Ocean biome to make it fit in smaller oceans.
If it still doesn't work, then there must be something else preventing the isle biomes from spawning, but without seeing your configs I wouldn't know why.

I was previously using ocean size 1. When I changed it to 0, the result remained the same. Certain parts of the ocean spawned without isle biomes. I also added in some of the values of my configs. I believe that will be enough to reproduce this bug. If it isn't enough i could show more values or my entire config.

@rutgerkok confirmed for latest version