Marked Get/Set-CsOnlineNumberPortOutOrderPin as internal use

https://github.com/MicrosoftDocs/office-docs-powershell/issues/5689
Based on this:
https://docs.microsoft.com/en-us/powershell/module/skype/get-csonlinenumberportinorder
https://docs.microsoft.com/en-us/powershell/module/skype/new-csonlinenumberportinorder

Docs Build status updates of commit 251639d:
:clock10: Full build: the average full build time is 17 min(s) 57 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 251639d:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

skype/skype-ps/skype/Get-CsOnlineNumberPortOutOrderPin.md
:white_check_mark:Succeeded
View (skype-ps)

skype/skype-ps/skype/Set-CsOnlineNumberPortOutOrderPin.md
:white_check_mark:Succeeded
View (skype-ps)

[Error-GetDocumentsFromDHSFailed] Getting documents from document hosting service failed with locale: en-us, depot name: MSDN.exchange-ps, branch name: pr-en-us-5691. Error: A task was canceled.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 1c8900b:
:clock10: Pending: waiting for processors (85 builds ahead of you)
:warning: Docs Build is busy, currently there are 85 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit ab6d1e4:
:clock10: Pending: waiting for processors (12 builds ahead of you)
:warning: Docs Build is busy, currently there are 12 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit ab6d1e4:
:clock10: Full build: the average full build time is 18 min(s) 1 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit ab6d1e4:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/Get-CsOnlineNumberPortOutOrderPin.md
:white_check_mark:Succeeded
View (skype-ps)

skype/skype-ps/skype/Set-CsOnlineNumberPortOutOrderPin.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 18b1890:
:clock10: Pending: waiting for processors (12 builds ahead of you)
:warning: Docs Build is busy, currently there are 12 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 18b1890:
:clock10: Full build: the average full build time is 18 min(s) 3 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 18b1890:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/Get-CsOnlineNumberPortOutOrderPin.md
:white_check_mark:Succeeded
View (skype-ps)

skype/skype-ps/skype/Set-CsOnlineNumberPortOutOrderPin.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


curl: (23) Failure writing output to destination

Hi, I was trying to install server binary but it doesn't work.
I'm on Fedora 35.
code I ran:
sudo curl -L https://github.com/rust-analyzer/rust-analyzer/releases/latest/download/rust-analyzer-x86_64-unknown-linux-gnu.gz | gunzip -c - > ~/.local/bin/rust-analyzer

There's no need to use sudo curl here. In any case, what do you mean by "doesn't work"? Do you have a ~/.local/bin directory? Does curl -LO https://github.com/rust-analyzer/rust-analyzer/releases/latest/download/rust-analyzer-x86_64-unknown-linux-gnu.gz work?

works, but the guide says nothing about '~/.local/bin' existance. I think if on provides obscure-lookingcurs commands they should "just work"

The command in the manual is a starting point. You need to update it for your architecture, and to make sure that the destination directory is in PATH, but mentioning that the destination directory has to exist would be a good idea.

agree on the last one. also I'd suggest simply using more common directory (which probably exists already) e.g. usr/local/bin (not ~)

/usr/local/bin is worse because the user might not be able to write there (you don't need sudo rights to write Rust). I use ~/.cargo/bin myself.

I thought the whole point of  usr/local/bin is that user writes to it but well... yes, ~/.cargo/bin seems good


Module World not Found

I created a venv with python 3.8 and installed PySide2.
When I tried to run the tracker with python HoodTracker.py I get the following error message:
$ python HoodTracker.py
Traceback (most recent call last):
  File "HoodTracker.py", line 12, in <module>
    from World import World
ModuleNotFoundError: No module named 'World'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "HoodTracker.py", line 17, in <module>
    from World import World
ModuleNotFoundError: No module named 'World'

Can you check if HoodTracker/OoT-Randomizer/World.py exists? The official OoT-Randomizer code is included in this project as a git submodule.
If you don't have it, you need to get it, I think that "git submodule update --init --recursive" will do this. And I need to mention that in the readme.
If you do have it, I've screwed up the import-path-changing code here https://github.com/hoodedpaladin/HoodTracker/blob/master/HoodTracker.py#L14

Yes. That was the problem. Thank you.


Python Kernel dies when using ibm_db.connect

Issue Type: Bug
My python kernel dies when I run ibm_db.connect() or ibm_db_dbi.connect() in VS Code Jupyter notebook cells. Here is the console output:
Error 08:48:19: Disposing session as kernel process died ExitCode: undefined, Reason: /usr/local/lib/python3.9/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.
  warn(
/usr/local/lib/python3.9/site-packages/traitlets/traitlets.py:2157: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'b13bc39e-6f5f-4a5e-b875-93a86653eb31' instead of 'b"b13bc39e-6f5f-4a5e-b875-93a86653eb31"'.
  warn(

Info 08:48:19: Dispose Kernel process
Error 08:48:19: Raw kernel process exited code: undefined

I cannot reproduce the issue outside of the VS Code Jupyter renderer; the same function runs fine as a python script in VS Code and in a local Jupyterlab environment. In all cases, I'm using the same python environment and packages.
MacOS 12.2.1
Python 3.9.10
python3 -m pip install ipykernel jupyterlab pandas ibm-db

Extension version: 2022.2.1924087327
VS Code version: Code 1.65.2 (c722ca6c7eed3d7987c0d5c3df5c45f6b15e77d1, 2022-03-10T14:33:49.188Z)
OS version: Darwin x64 21.3.0
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz (16 x 2400)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
32.00GB (3.73GB free)

Process Argv
--crash-reporter-id 91bde56a-ddbf-4e4b-9ab2-5db38b83b07e

Screen Reader
no

VM
0%

Extensions (11)

Extension
Author (truncated)
Version

gather
ms-
2022.3.0

python
ms-
2022.2.1924087327

vscode-pylance
ms-
2022.3.1

jupyter
ms-
2022.2.1030672458

jupyter-renderers
ms-
1.0.6

remote-containers
ms-
0.224.2

remote-ssh
ms-
0.76.1

remote-ssh-edit
ms-
0.76.1

autodocstring
njp
0.6.1

vscode-data-preview
Ran
2.3.0

vscodeintellicode
Vis
1.2.17

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vstes627:30244334
pythonvspyl392:30443607
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vsclayoutctrt:30451275
dsvsc008:30440022
pythonvsnew555:30450902
vscscmwlcmt:30438805
vscgsvidc:30447482
cppdebugcf:30451567
pynewfile477cf:30450039

I'm also having these issues with VScode and running Jupyter notebooks - it happens with several cells, at different points in the notebook, so for me, it's not linked to running a specific function.
The error message is exactly the same as above.
Package              Version
-------------------- ------------
aiobotocore          2.1.2
aiohttp              3.8.1
aioitertools         0.10.0
aiosignal            1.2.0
argon2-cffi          21.3.0
argon2-cffi-bindings 21.2.0
asttokens            2.0.5
async-timeout        4.0.2
attrs                21.4.0
backcall             0.2.0
bleach               4.1.0
botocore             1.23.24
branca               0.4.2
certifi              2021.10.8
cffi                 1.15.0
charset-normalizer   2.0.12
cycler               0.11.0
debugpy              1.5.1
decorator            5.1.1
defusedxml           0.7.1
descartes            1.1.0
entrypoints          0.4
executing            0.8.3
folium               0.12.1.post1
fonttools            4.30.0
frozenlist           1.3.0
fsspec               2022.2.0
idna                 3.3
ipykernel            6.9.1
ipython              8.1.1
ipython-genutils     0.2.0
ipywidgets           7.6.5
jedi                 0.18.1
Jinja2               3.0.3
jmespath             0.10.0
jsonschema           4.4.0
jupyter              1.0.0
jupyter-client       7.1.2
jupyter-console      6.4.3
jupyter-core         4.9.2
jupyterlab-pygments  0.1.2
jupyterlab-widgets   1.0.2
kiwisolver           1.3.2
MarkupSafe           2.1.0
matplotlib           3.5.1
matplotlib-inline    0.1.3
mistune              0.8.4
mizani               0.7.3
multidict            6.0.2
nbclient             0.5.13
nbconvert            6.4.2
nbformat             5.2.0
nest-asyncio         1.5.4
notebook             6.4.8
numpy                1.22.3
packaging            21.3
palettable           3.3.0
pandas               1.4.1
pandocfilters        1.5.0
parso                0.8.3
pathlib              1.0.1
patsy                0.5.2
pexpect              4.8.0
pickleshare          0.7.5
Pillow               9.0.1
pip                  22.0.3
plotnine             0.8.0
prometheus-client    0.13.1
prompt-toolkit       3.0.28
ptyprocess           0.7.0
pure-eval            0.2.2
pycparser            2.21
Pygments             2.11.2
pyparsing            3.0.7
pyrsistent           0.18.1
python-dateutil      2.8.2
pytz                 2021.3
pyzmq                22.3.0
qtconsole            5.2.2
QtPy                 2.0.1
requests             2.27.1
s3fs                 2022.2.0
scipy                1.8.0
Send2Trash           1.8.0
setuptools           60.9.3
six                  1.16.0
stack-data           0.2.0
statsmodels          0.13.2
terminado            0.13.3
testpath             0.6.0
tornado              6.1
traitlets            5.1.1
typing_extensions    4.1.1
urllib3              1.26.8
wcwidth              0.2.5
webencodings         0.5.1
wheel                0.37.1
widgetsnbextension   3.5.2
wrapt                1.14.0
yarl                 1.7.2

@parodayco @MeganBeckett
Please could you provide the output from the Jupyter output panel

@DonJayamanne I pasted that in my initial post, the error message is from the Jupyter output panel

@parodayco Please could you past all of the output, i'd like to see the initial logs with information about the interpreter and paths, and the like.

I'm experiencing the same issue when I run dataframe.to_parquet().
error message:
Error 10:32:49: Disposing session as kernel process died ExitCode: undefined, Reason: /home/kfchou/anaconda3/envs/obs-resp/lib/python3.8/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.
  warn(
/home/kfchou/anaconda3/envs/obs-resp/lib/python3.8/site-packages/traitlets/traitlets.py:2157: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '684fb716-4f0e-4ca1-b66c-fea21b2dfa18' instead of 'b"684fb716-4f0e-4ca1-b66c-fea21b2dfa18"'.
  warn(

Info 10:32:49: Dispose Kernel process

I'm running Ubuntu (WSL) in windows.
Python 3.8.10
VS code info:
Version: 1.65.0 (user setup)
Commit: b5205cc8eb4fbaa726835538cd82372cc0222d43
Date: 2022-03-02T11:12:08.962Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.19042

All above code consolidated and run in a test.py works fine in VS Code. It only fails when run in a test.ipynb

How are you running test.py in vscode? in a terminal or debugging

It runs successfully in the terminal but shows this when I debug
source /Users/philipparodayco/.venv/test/bin/activate
philipparodayco@Philips-MacBook-Pro Projects % source /Users/philipparodayco/.venv/test/bin/activate
(test) philipparodayco@Philips-MacBook-Pro Projects %  /usr/bin/env /Users/philipparodayco/.venv/test/bin/python /Users/philipparodayco/.vsco
de/extensions/ms-python.python-2022.2.1924087327/pythonFiles/lib/python/debugpy/launcher 50806 -- /Users/philipparodayco/Projects/WF360/test.
py
Python(11584,0x10f539600) malloc: *** error for object 0x7ffb55467670: pointer being freed was not allocated
Python(11584,0x10f539600) malloc: *** set a breakpoint in malloc_error_break to debug
(test) philipparodayco@Philips-MacBook-Pro Projects %

It runs successfully in the terminal but shows this when debugging

Thanks for that information, however lets not introduce too many other variables for now.
@parodayco Does Jupyter work when you install a previous version like 2021.11.xxx
Please could you try installing that version and letting me know if it works for you.

@DonJayamanne I tried multiple versions of the Jupyter extension back to 2021.09.11xxx but the kernel process dies with variations of the same error message. For example
Warn 2022-03-17 08:45:25: Kernel 17757 as possibly died, StdErr from Kernel Process /Users/philipparodayco/.venv/vscode/lib/python3.9/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.
and
{"jsonrpc": "2.0", "method": "kernel_died", "params": {"exit_code": -6, "reason": ""}}
Error 2022-03-17 08:45:38: Kernel died [s [Error]: Kernel died (code: -6).   warn(,
/Users/philipparodayco/.venv/vscode/lib/python3.9/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.

@DonJayamanne I saw you renamed this ticket and I'd like to be clear that ibm_db.connect does not call the traitlets module. That is an ipykernel dependency which is required by the VSCode Jupyter extension. The kernel failure does not occur when I run ibm_db.connect elsewhere.

Hi I'm experiencing the exact same issue, wonder if there's any workaround for now

Please could you provide the following information:

Version of extension
Version of Python
Output from the Jupyter output panel
The code that causes the failure.

w you renamed this ticket and I'd like to be clear that ibm_db.connect does not call the traitlets module

The traitlets module issue is not an error, its just a warning displayed by Jupyter, even Jupyter uses IPyKernel and you'd see this exact same error in jupyter as well (if you enable the logging).
Renamed to include ibm_db.connect as you have conrirmed that the kernel crashes when it hits that block of code, and not anything else.

The traitlets module issue is not an error, its just a warning displayed by Jupyter, even Jupyter uses IPyKernel and you'd see this exact same error in jupyter as well (if you enable the logging).

That's the thing, Don. When I enable the Log Console in Jupyterlab and set the proper levels, it shows no warning message about traitlets and no errors running ibm_db.connect. The kernel does not crash and I am able to execute queries.

@parodayco
Please could you try this in our latest Jupyter extesnion and let me know how this goes.

python3 -m pip install ipykernel jupyterlab pandas ibm-db
python3 -m venv test && . test/bin/activate && python3 -m pip install ipykernel ibm-db

Looking at the information you provided, when you run Jupyter outside vs code i think you are using python3 to run jupyter.
However in vscode you are using the environment test.
Please try the following:

Start Jupyte outside VS Code and print the following in vscode & let me know what you get:	import sys
	print(sys.executable)
	import ibm_db
	print(ibm_db.__file__)

Run the same code in VS Code and let me know what you get:	import sys
	print(sys.executable)
	import ibm_db
	print(ibm_db.__file__)

@DonJayamanne I followed your instructions except I created two virtual environments.

python3 -m venv .venv/lab && . .venv/lab/bin/activate && python3 -m pip install ipykernel jupyterlab pandas ibm-db
python3 -m venv .venv/test && . .venv/test/bin/activate && python3 -m pip install ipykernel ibm-db

Here are the outputs you requested:

Jupyterlab (lab env)

print(sys.executable)
/Users/philipparodayco/.venv/lab/bin/python3
print(ibm_db.__file__)
/Users/philipparodayco/.venv/lab/lib/python3.9/site-packages/ibm_db.cpython-39-darwin.so

VS Code (test env)

print(sys.executable)
/Users/philipparodayco/.venv/test/bin/python
print(ibm_db.__file__)
/Users/philipparodayco/.venv/test/lib/python3.9/site-packages/ibm_db.cpython-39-darwin.so

Both environments are running python 3.9.12
The ibm_db connection works in Jupyterlab but dies in VS Code using the current Jupyter extension. Here is the full output.
Error 12:28:10: Disposing session as kernel process died ExitCode: undefined, Reason: /Users/philipparodayco/.venv/test/lib/python3.9/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.
  warn(
/Users/philipparodayco/.venv/test/lib/python3.9/site-packages/traitlets/traitlets.py:2157: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use '1c7d2f68-fe32-4ac5-af93-5cf3e0ca4d65' instead of 'b"1c7d2f68-fe32-4ac5-af93-5cf3e0ca4d65"'.
  warn(

Info 12:28:10: Dispose Kernel process
Error 12:28:10: Raw kernel process exited code: undefined
Warn 12:28:10: Error in waiting for cell to complete [Error: Canceled future for execute_request message before replies were done
	at t.KernelShellFutureHandler.dispose (/Users/philipparodayco/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000901801/out/extension.js:2:1204175)
	at /Users/philipparodayco/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000901801/out/extension.js:2:1223227
	at Map.forEach (<anonymous>)
	at v._clearKernelState (/Users/philipparodayco/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000901801/out/extension.js:2:1223212)
	at v.dispose (/Users/philipparodayco/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000901801/out/extension.js:2:1216694)
	at /Users/philipparodayco/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000901801/out/extension.js:2:533674
	at t.swallowExceptions (/Users/philipparodayco/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000901801/out/extension.js:2:913059)
	at dispose (/Users/philipparodayco/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000901801/out/extension.js:2:533652)
	at t.RawSession.dispose (/Users/philipparodayco/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000901801/out/extension.js:2:537330)
	at runMicrotasks (<anonymous>)
	at processTicksAndRejections (node:internal/process/task_queues:96:5)]
Warn 12:28:10: Cell completed with errors [Error: Canceled future for execute_request message before replies were done
	at t.KernelShellFutureHandler.dispose (/Users/philipparodayco/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000901801/out/extension.js:2:1204175)
	at /Users/philipparodayco/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000901801/out/extension.js:2:1223227
	at Map.forEach (<anonymous>)
	at v._clearKernelState (/Users/philipparodayco/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000901801/out/extension.js:2:1223212)
	at v.dispose (/Users/philipparodayco/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000901801/out/extension.js:2:1216694)
	at /Users/philipparodayco/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000901801/out/extension.js:2:533674
	at t.swallowExceptions (/Users/philipparodayco/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000901801/out/extension.js:2:913059)
	at dispose (/Users/philipparodayco/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000901801/out/extension.js:2:533652)
	at t.RawSession.dispose (/Users/philipparodayco/.vscode/extensions/ms-toolsai.jupyter-2022.3.1000901801/out/extension.js:2:537330)
	at runMicrotasks (<anonymous>)
	at processTicksAndRejections (node:internal/process/task_queues:96:5)]
Info 12:28:10: Cancel all remaining cells true || Error || undefined
Info 12:28:10: Cancel pending cells
Info 12:28:10: Cell 6 executed with state Error

@DonJayamanne no worries, I'm happy to help solve this. The sys.path was basically the same:
['/Users/philipparodayco/Projects/WF360',
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS> '',
 '/Users/philipparodayco/.venv/lab/lib/python3.9/site-packages']

['/Users/philipparodayco/Projects/WF360',
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS> '',
 '/Users/philipparodayco/.venv/test/lib/python3.9/site-packages',
 '/Users/philipparodayco/Library/Python/3.9/lib/python/site-packages']

p.s. I have no python packages installed in my Library.
You were correct about how I ran Jupyterlab. I added the env variable you requested and restarted lab. The ibm-db connection still worked fine and I validated !echo $PYTHONNOUSERSITE printed True in the notebook and didn't crash the kernel.
For VS Code, I enabled the logging you requested and attached the full output with the kernel crash.
vscode_test_output.txt

@parodayco

'/Users/philipparodayco/Library/Python/3.9/lib/python/site-packages']

Looking at the paths, there seems to be a slight difference in the paths. Please could you let me know which one (Jupyter or VS Code) outputs the value '/Users/philipparodayco/Library/Python/3.9/lib/python/site-packages'] in sys.path.
Also, please could you try printing the paths again from Jupyter with the env variable PYTHONNOUSERSITE set.
Please could you update to the latest pre-release version of the Jupyter extension & send the logs once again.

Possible some environment variables or the like are different and causing this block of code to fail.

Also, please could you print the env variables from Jupyter as well as VS Code so I could compare them (optionally you could compare them your self if you believe there's sensitive information in any of the env variables).
print(os.environ)

@DonJayamanne that Library path was empty, an artifact of installing poetry. I uninstalled poetry and removed the entire Library/Python folder. It no longer shows up in sys.path on VSCode, so it's now identical to Jupyterlab.
I installed the latest pre-release Jupyter extension v2022.4.1000912146 but the kernel still crashes on ibm_db.connect(). vscode_test_output.txt
Here is os.environ for test in VSCode: test_os_environ.txt
Here is os.environ for lab in Jupyterlab: lab_os_environ.txt
You'll see 'PYTHONNOUSERSITE': 'True' in both environments.

@parodayco looking at the logs you seem to be using two separate venvs, one named lab for Jupyter lab & one named test for VS code, please could you use the same one for both and re-send both sets of logs (vscode logs & environ from both).

@parodayco as suspected its the env variables and based on the docs here https://github.com/ibmdb/python-ibmdb#installation
you need to setup the env variable DYLD_LIBRARY_PATH to get things working. This isn't available when running VS Code, hence things fall over.
In your case it works for Jupyter lab as this is setup somewhere in one of your shell login scripts.
Applications launched from VS Code do not source login shells (tha'ts basically how applications are launched on macs), thus these env variables are not available to these apps.
Please create a  file named .env your workspace folder and add the following value (reload VS Code) and it should work:
DYLD_LIBRARY_PATH'=/usr/local/Cellar/gcc/11.2.0_3/lib/gcc/11:/Applications/dsdriver/lib:

Please let me know how that goes.

thanks for the feedback

@DonJayamanne
debug 09:57:30.211: VSCodeNotebookController::handleExecution, Class name = j (started execution)
debug 09:57:30.212: Execute Cell 0 /home/jae/Dropbox/USC/Fall2022/KG/CronKGQA/cronkgqa_testing.ipynb
debug 09:57:30.212: start the kernel, options.disableUI=false
debug 09:57:30.212: Start Jupyter Session in kernel.ts with disableUI = false
debug 09:57:31.528: KernelProcess Exit Exit - undefined /home/jae/anaconda3/envs/cronkgqa/lib/python3.8/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.
  warn(
/home/jae/anaconda3/envs/cronkgqa/lib/python3.8/site-packages/traitlets/traitlets.py:2157: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'c34807f0-d2e4-47bf-a25a-4bc3305b62a7' instead of 'b"c34807f0-d2e4-47bf-a25a-4bc3305b62a7"'.
  warn(

error 09:57:31.529: Disposing session as kernel process died ExitCode: undefined, Reason: /home/jae/anaconda3/envs/cronkgqa/lib/python3.8/site-packages/traitlets/traitlets.py:2202: FutureWarning: Supporting extra quotes around strings is deprecated in traitlets 5.0. You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5.
  warn(
/home/jae/anaconda3/envs/cronkgqa/lib/python3.8/site-packages/traitlets/traitlets.py:2157: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'c34807f0-d2e4-47bf-a25a-4bc3305b62a7' instead of 'b"c34807f0-d2e4-47bf-a25a-4bc3305b62a7"'.
  warn(

info 09:57:31.529: Dispose Kernel process 38954.
error 09:57:31.529: Raw kernel process exited code: undefined
debug 09:57:31.529: shutdownSession b74819e2-d956-4e1a-83ca-e0d1b648e48f, .cronkgqa./home/jae/anaconda3/envs/cronkgqa/bin/python3.8./home/jae/anaconda3/envs/cronkgqa/bin/python3.8.-m#ipykernel_launcher - start
debug 09:57:31.529: Session can be shutdown .cronkgqa./home/jae/anaconda3/envs/cronkgqa/bin/python3.8./home/jae/anaconda3/envs/cronkgqa/bin/python3.8.-m#ipykernel_launcher
debug 09:57:31.530: Disposed Kernel process 38954.
error 09:57:31.530: Error in waiting for cell to complete [Error: Canceled future for execute_request message before replies were done
	at t.KernelShellFutureHandler.dispose (/home/jae/.vscode/extensions/ms-toolsai.jupyter-2022.9.1002511105/out/extension.node.js:2:32353)
	at /home/jae/.vscode/extensions/ms-toolsai.jupyter-2022.9.1002511105/out/extension.node.js:2:51405
	at Map.forEach (<anonymous>)
	at y._clearKernelState (/home/jae/.vscode/extensions/ms-toolsai.jupyter-2022.9.1002511105/out/extension.node.js:2:51390)
	at y.dispose (/home/jae/.vscode/extensions/ms-toolsai.jupyter-2022.9.1002511105/out/extension.node.js:2:44872)
	at /home/jae/.vscode/extensions/ms-toolsai.jupyter-2022.9.1002511105/out/extension.node.js:2:2201048
	at t.swallowExceptions (/home/jae/.vscode/extensions/ms-toolsai.jupyter-2022.9.1002511105/out/extension.node.js:7:130819)
	at p.dispose (/home/jae/.vscode/extensions/ms-toolsai.jupyter-2022.9.1002511105/out/extension.node.js:2:2201026)
	at t.RawSession.dispose (/home/jae/.vscode/extensions/ms-toolsai.jupyter-2022.9.1002511105/out/extension.node.js:2:2206134)
	at process.processTicksAndRejections (node:internal/process/task_queues:96:5)]
warn 09:57:31.530: Cell completed with errors {
  message: 'Canceled future for execute_request message before replies were done'
}
info 09:57:31.531: Cancel all remaining cells true || Error || undefined
debug 09:57:31.531: Cancel pending cells
debug 09:57:31.532: Cell 0 executed with state Error
debug 09:57:31.533: VSCodeNotebookController::handleExecution, Class name = j, completed in 1322ms, has a falsy return value
debug 09:57:31.533: shutdownSession b74819e2-d956-4e1a-83ca-e0d1b648e48f, .cronkgqa./home/jae/anaconda3/envs/cronkgqa/bin/python3.8./home/jae/anaconda3/envs/cronkgqa/bin/python3.8.-m#ipykernel_launcher - shutdown complete

Is the issue in the log above related to this? Thank you!

no idea, please try the solution described above

I cannot get ibm_db to work in vs code on macOS. My notebook runs fine in jupyter lab, but attempting to connect to a database crashes the kernel in vs code. I think the reason is that environment variable DYLD_LIBRARY_PATH isn't defined in vs code. I have attempted to fix that with a .env file, launch.json, and using python-dotenv. Nothing seems to get that environment variable set properly. The solution above doesn't provide enough details on what should be in the .env file, where it should be located, how to ensure vs code loads it, and how to ensure the DYLD_LIBRARY_PATH is set before attempting to connect to a database. Can someone help?

Heres the necessary info https://github.com/microsoft/vscode-jupyter/wiki/Kernel-crashes-when-using-ibm-db

.env loading doesn't work with python 3.10.8 which is what is currently shipping with anaconda.

Actually what I found is that Apple SIP is stripping all DYLD_* environment variables out of the .env file. ibm_db works in a .py file run in VS Code, but the same python code in a jupyter notebook crashes the kernel because DYLD_LIBRARY_PATH is not defined, no matter what I try to do. This migh have something to do with entitlements and needing:
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; direction: ltr;">

<key>com.apple.security.cs.disable-library-validation</key>
--
<true/>
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
<true/>

</div>

The issue might be that VS Code is not sending DYLD_LIBRARY_PATH to the jupyter notebook subprocess when it starts its kernel.


14.0 pos order line discount don't propagate the discount to the invoice

Hi everyone,
First of all, a great thanks fro your work here.
I found a problem when the user want to get an invoice from an order using the pos order line absolute discount.
AFAICS, you didn't developped the process to pass teh data to the invoice. Is it normal, do you have another module or something else ?
Regards

you need to customize to pass value from sale order line to invoice ....


[Android] Crash Fatal Exception: java.lang.AbstractMethodError: abstract method "void android.media.Spatializer$OnSpatializerStateChangedListener.onSpatializerAvailableChanged(android.media.Spatializer, boolean)"

Describe the Bug
Getting consistent crashes on production on Android since updating to 3.0.0
Steps To Reproduce
Only happens on Samsung devices with Android 12 and 98% of the times the app is on the background.
Code To Reproduce
Fatal Exception: java.lang.AbstractMethodError: abstract method "void android.media.Spatializer$OnSpatializerStateChangedListener.onSpatializerAvailableChanged(android.media.Spatializer, boolean)"
       at android.media.Spatializer$SpatializerInfoDispatcherStub.lambda$dispatchSpatializerAvailableChanged$1$Spatializer$SpatializerInfoDispatcherStub(Spatializer.java:529)
       at android.media.Spatializer$SpatializerInfoDispatcherStub$$ExternalSyntheticLambda0.run(Spatializer.java:6)
       at android.os.Handler.handleCallback(Handler.java:938)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at android.os.Looper.loopOnce(Looper.java:226)
       at android.os.Looper.loop(Looper.java:313)
       at android.os.HandlerThread.run(HandlerThread.java:67)

Replicable on Example App?
I haven't been able to replicate it yet.
Environment Info:
It only happens on real devices on production at the moment
react-native-track-player 3.2.0-d23c3fb990aaf9d6783881fabe21e059b62b0782
How I can Help
Here to help however I can.

Are specific android devices experiencing these crashes?

You might want to look at the following exoplayer issue: https://github.com/google/ExoPlayer/issues/10684
(If it helps you to distill the issue, please let us know what you found)

Are specific android devices experiencing these crashes?

These are the main ones:
13%
Galaxy Z Fold3 5G
12%
Galaxy Z Flip3 5G
10%
Galaxy Z Flip3 5G
It seems I need to update the compileSDKVersion to at least 32, I'll try it out and let you know.

@RamProg for 3.2.0 you need at least 33. Closing for now, let me know if its still an issue.


Add client authentication support for rustls

Description of changes:

This PR adds support of client authentication to s2n-quic-rustls
Call-outs:

Testing:
I can write an example for it, but I'm not sure how it's tested automatically yet.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Note that it is already possible to do client authentication in s2n-quic using rustls. Here's an example of how it's done: https://github.com/aws/s2n-quic/tree/main/examples/rustls-mtls. It involves implementing a TLS provider in order to enable client auth in rustls. Is there some reason why that example doesn't work for you/why you need to add this feature to the s2n-quic-rustls crate?

Actually, we should probably enable client auth in rustls without having to impl the TLS provider. The rustls client auth example we have is a bit heavy handed.

Of course anyone can use their own Provider to implement mTLS, but why not to make it into the s2n-quic-rustls, so that it can be as easy as using s2n-quic-tls?

We're wanting to update the rustls dependency first (see #2143) and then we can get this change in

I'll continue this PR after #2143 merged, and I want to resolve #1957 in this PR too.

The rustls-mtls example was updated to demonstrate the stuffes introduced in this PR.
Some off-topic thoughts: IntoCertificate and IntoPrivateKey make it easier to deal with certificates and keys. However, their behavior depends on the filename extension and performs sync filesystem I/O. Probably it'd be better to expose some low-level API that accepts CertificateDer and PrivateKeyDer instead.

I'll continue this PR after https://github.com/aws/s2n-quic/pull/2143 merged, and I want to resolve https://github.com/aws/s2n-quic/issues/1957 in this PR too.

Regarding #1957, correct me if I'm wrong, but it seems not only an issue for rustls, but also applies to s2n-tls. Some change to Connection needs to be made before it can be implemented, which is out of my ability and interest currently.

Its been a while, are you still interested in this?

Its been a while, are you still interested in this?

No, we switched to custom provider for other reasons.


inverted menu no top-left border radius

Here that little bastard:
https://gyazo.com/36b02b7578bdfd24ea96cb5457ab76d9
https://gyazo.com/fcac1cd9d9d41eb21872a3b61f5abcb1
To fix:
before - ui.vertical.menu>.active.item:first-child{border-radius:0 .28571429rem 0 0}
after - ui.vertical.menu>.active.item:first-child{border-radius:.28571429rem .28571429rem 0 0}

I'm not seeing this issue in the docs. Are you using the latest version?

Closing until there's a test case.


Attach Detach refactoring

Incorporating changes from Ubiquity Refactoring (ibm/ubiquity#31)

I am closing this since it is a duplicate of #13


Enhancement | Improve tests for --layers

Describe the Feature
Once a second test layer is created (https://github.com/binbashar/le-tf-infra-aws/issues/466) implement the tests for making use of the --layers option with the created layers.
I.e. , use the option for init, apply and destroy all the test layers.
Expected Behavior
The --layers option is tested for real.
Use Case
n/a
Describe Ideal Solution
n/a
Alternatives Considered
n/a
Additional Context
n/a

We'll follow-up based on this latets @Franr PR https://github.com/binbashar/leverage/pull/245 creating new tasks based on the coveralls.io data


Codecov is not posting checks to PRs anymore

I don't know what's going on with that. It posts the coverage report to the PR, and posts status updates on the master branch, but doesn't post the PR check.

Just as any FYI, it appears as if this can be solved by setting the fetch depth of the checkout action to 2. It appears to have fixed the problem in one of my other projects, at least.


Highway/synchronizer: pass in RNG, avoid unnecessary requests, deduplicate.

This addresses a few minor issues from https://github.com/casper-network/casper-node/pull/2062:

The RNG is passed into the Highway protocol implementation instead of using thread_rng, to be in line with other modules.
Requests for missing units start at n + 1, not n, if our latest unit is n.
Deduplication of find_in_swimlane and find_ancestor_unit, which were equivalent.

Closes https://github.com/casper-network/casper-node/issues/2061

@afck Can you make sure to run nctl network locally and try joining with a couple of nodes?

Can you make sure to run nctl network locally and try joining with a couple of nodes?


Direct dial helpline numbers feature.

Added direct dial helpline numbers feature. #2549
Any user can call the helpline numbers with a single click on the screen and seek all kinds of covid-19 related help. Clicking on any of the given topics will redirect the user to the phone dialer (smartphone) and prompt a call notification (Desktop).
No issues.
Checklist

[x] Compiles and passes lint tests
[x] Properly formatted
[x] Tested on desktop
[x] Tested on phone

Screenshots

This feature isn’t approved and isn’t required.


CenterAlign test failure

After checking out e7f4566dd4771ca790872b9ddc67165623103386, the FormatterTest.CenterAlign test fails on Apple Clang 7.0.0:
3: cppformat/test/format-test.cc:723: Failure
3: Value of: format("{0:^6}", -42.0)
3:   Actual: " ---  "
3: Expected: " -42  "
3: cppformat/test/format-test.cc:724: Failure
3: Value of: format("{0:^5}", -42.0l)
3:   Actual: " --- "
3: Expected: " -42 "
3: [  FAILED  ] FormatterTest.CenterAlign (0 ms)

I tracked down the bug to this std::uninitialized_copy: if I replace it with a regular std::copy the test passes.
My guess is that the compiler takes some liberties because both the source and destination use the same base pointer and the memory is assumed to be uninitialized. This could cause future problems with  std::uninitialized_* functions, depending on compiler optimizations.
I think the copy and fill functions should be simple enough to just implement directly in cppformat, without the overhead of parsing either <algorithm> or <memory>, or the potential problems with the std::uninitialized_* functions.

The problem is that the source and destination may overlap while std::uninitialized_copy may reasonably assume that they don't. Fixed in https://github.com/cppformat/cppformat/commit/98c1f76f24997aa60950096ea5e098891569d1d5. Thanks for reporting and tracking this down!

And AFAICS this is the only case where overlap is possible.


flake in ruby thread pool test

failure seen in log on (https://grpc-testing.appspot.com/job/gRPC_pull_requests_linux/1234/testReport/junit/(root)/aggregate_tests/run_tests_ruby_linux_dbg/):
Failures:

  1) GRPC::Pool#schedule it throws an error if all of the workers have tasks to do
     Failure/Error: expect { p.schedule(&job) }.to raise_error
       expected Exception but nothing was raised

fixed by https://github.com/grpc/grpc/pull/9018


First Indexing throws error

Vsbridge Product Indexer indexer process unknown error: {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Rejecting mapping update to [my_store_5] as the final mapping would have more than 1 type: [product, category]"}],"type":"illegal_argument_exception","reason":"Rejecting mapping update to [my_store_5] as the final mapping would have more than 1 type: [product, category]"},"status":400}

Elastic6+ support is in the making -
Expected in November. Please try out Roastic 5.6 instead

Thank you for the information!


Bug reported: individual nanotubes in MWNT have different lengths

Hi Andrew,
When I generated MWNT, the individual tubes don't have the same length Lz, so they aren't periodic in the z-direction. Please take a look at the photo attached. Can you please tell me what may be the problem here?
Thanks,
Tom

Hi Tom,
It looks like you're trying to generate a MWNT using incommensurate chiralities. If you want all the walls to be periodic along Lz, the chiralities need to be commensurate, meaning all armchair or zigzag. There might be special cases for different chirality walls which also satisfy periodicity, but I don't know off the top of my head.
Let me know if you're still running into bugs and I can dig into it further. This project has been on the backburner for awhile but I hope to start development again soon.
Cheers,
Andrew

Hi Andrew,
Thanks so much for your help! My bad, I should have paid more attention to the chirality property!
Best,
Tom


elm-package can't find git

Hi, I'm on windows 10 and I have git installed but if I try and run elm-package.exe I get the following error:
The REPL relies on git to download libraries and manage versions.
    It appears that you do not have git installed though!
    Get it from <http://git-scm.com/downloads> to continue.

What environment variable is elm-package using to find git? The git executable is in C:\Program Files (x86)\Git\bin and I have the PATH and the GIT environment variables including that folder.

elm-package should just be trying to run "git" in the current context. So you can call the git command in the same directory that you call elm-package?

I can call the git command in the same directory.

I'm not sure what the issue is then. I wonder if there is something specific to Windows 10? Or since the tool is written in Haskell, perhaps the support for calling commands on Windows 10 is not in some library there yet? I don't really have any special insight here unfortunately.

Having the same issue. I tried running elm command as an admin, but that didn't help.

I found a work-around that works for me. Add this value to your Path variable: C:\Program Files\Git\bin\.
That once done close and reopen any cmd prompts you have open. Then test the new value in Path by just running git at a new cmd prompt. If you see the git instructions you should be all set.
At that point just run elm package command again.

Latest version of elm-package does not require git anymore.

Hello, Evan. I really appreciate your work.
Here is what I get when I run elm-package --version:

As you can see, I am using the latest version(by the time you've written the comment) - 0.17. That one came with the windows installer. Shall I try building 0.17.1 from source?!
With regards,
Kostadin

By latest I meant 0.17.1. Don't bother building from source. It's hard and error prone. It'll be out pretty soon.


improve logging of autoscaling feature

Submitting an autoscaling job that requires more resources that are available will infinitely loop, presumably waiting for a mesos slave to join the mesos cluster than are currently available.
The only way to know this is happening for certain is to enable DEBUG log level -- recommend "promoting" this and other common problems caught in logs from DEBUG to INFO.  For example:
ip-172-31-16-158.us-west-2.compute.internal 2017-08-10 01:18:11,469 Dummy-14 DEBUG toil.batchSystems.mesos.batchSystem: Although there are queued jobs, none of them could be run with offer value: "57af94cd-ce27-4529-9c1b-5b6433076176-O154" extended to the framework.

On the other hand, there are lots of messages currently logged as level INFO which don't seem that useful unless debugging -- recommend "demoting" them to DEBUG.  For example:
INFO toil.leader: Issued job 'up' 7d7e194e-4511-4330-b848-9b93298cd531 with job batch system ID: 23 and cores: 1, disk: 2.0 G, and memory: 1000.0 M
ip-172-31-24-156.us-west-2.compute.internal 2017-08-10 21:55:19,848 MainThread INFO toil.leader: Job ended successfully: 'down' 442a32f8-71e8-4802-a0d2-859fdd65875d
ip-172-31-24-156.us-west-2.compute.internal 2017-08-10 21:55:19,857 MainThread INFO toil.leader: Job ended successfully: 'down' bbb97b97-29a0-4fc8-9bd4-b174c5ff0874
ip-172-31-24-156.us-west-2.compute.internal 2017-08-10 21:55:19,865 MainThread INFO toil.leader: Issued job 'up' 13807242-9d7c-40fb-a015-10433ece7a5f with job batch system ID: 24 and cores: 1, disk: 2.0 G, and memory: 1000.0 M
ip-172-31-24-156.us-west-2.compute.internal 2017-08-10 21:55:21,838 MainThread INFO toil.leader: Job ended successfully: 'up' 7d7e194e-4511-4330-b848-9b93298cd531
ip-172-31-24-156.us-west-2.compute.internal 2017-08-10 21:55:21,848 MainThread INFO toil.leader: Issued job 'down' 3eccd715-e11b-41e7-919f-a4953f4518bf with job batch system ID: 25 and cores: 1, disk: 2.0 G, and memory: 1000.0 M
ip-172-31-24-156.us-west-2.compute.internal 2017-08-10 21:55:21,848 MainThread INFO toil.leader: Job ended successfully: 'up' 13807242-9d7c-40fb-a015-10433ece7a5f

ip-172-31-16-158.us-west-2.compute.internal 2017-08-10 01:18:11,468 Dummy-14 DEBUG toil.batchSystems.mesos.batchSystem: Got offer 57af94cd-ce27-4529-9c1b-5b6433076176-O154 for a non-preemptable slave with 2743.00 MiB memory, 1.00 core(s) and 1981.00 MiB of disk.

ip-172-31-16-158.us-west-2.compute.internal 2017-08-10 01:18:11,469 Dummy-14 DEBUG toil.batchSystems.mesos.batchSystem: Offer 57af94cd-ce27-4529-9c1b-5b6433076176-O154 not suitable to run the tasks with requirements {'cores': 1, 'preemptable': False, 'disk':<PHONE_NUMBER>, 'memory':<PHONE_NUMBER>}. Mesos offered<PHONE_NUMBER>.0 memory, 1.0 cores and<PHONE_NUMBER>.0 of disk on a non-preemptable slave.

Maybe even a higher level of debug such as WARNING?

I believe these issues have been addressed, both in resetting log levels and the infinite loop.  If this is still an issue though, please reopen.


Force to use webview when testing

Is your feature request related to a problem? Please describe.
We are running a TWA on an Android device that has no Chrome installed and we used fallbackType: webview to make sure it fallback to using the Android webview. We would like to run automated tests but with most of the platforms (like sauce labs or browser stack) you are not allowed to uninstall apps (like Chrome) before running tests. This is required for us because want to make sure we can test the app when using the webview. Currently, we have no option to build the apk which is forced to use the webview instead of Chrome (even if Chrome is installed).
Describe the solution you'd like
A CLI option that allows us to force the use of webview
Describe alternatives you've considered

Uninstall Chrome before running tests, but not allowed by the automated testing platforms (e.g. Sauce labs)
Package the app with Capacitor which will always use the webview. But we want to keep using bubblewrap and the power of TWA :)

Technically it's not 100% accurate since in prod there is no Chrome installed so it will be using webview

Does it mean in production it will always use WebView?

Technically it's not 100% accurate since in prod there is no Chrome installed so it will be using webview

Does it mean in production it will always use WebView?

Yes

Got it - I'd be interested in learning more about the use-case. I'd be happy to discuss via DM or video call, if that helps. My initial thought is that it'd be more practice to build an Android App that launches something like the WebView Fallback Activity, but suspect there may be other blockers I'm not aware of.


Improve quota

This PR fixes #10308 and fixes #10323.

cc @xavijam @saleiva

Good job man! I don't know if we should add . at the end of those messages appearing in the screenshots.

Hey @CartoDB/dataservices, which are the routing analyses? These ones?
routing-sequential
routing-to-layer-all-to-all
routing-to-single-point

Which of them need quota checker?

AFAIK all of them

Great, thanks @ethervoid. Which is the best staging server to test these UI changes and where the routing analyses are available?

Use ded04 :)

@xavijam @javierarce @CartoDB/frontend for a future reference, we implemented the quota check for routing analyses in this PR but the thing is, the UI is not ready for these kind of analyses.


use J as a binary instead of loading the module ( 120 + MBs )

Addresses issue #21. Slower than before (1), but avoids loading over 120 MB into memory.
I looked for a way to "unload" a module, so we could include it only at "extract" time then unload it when finished with it but everything that I was able to find didn't free up the memory.

I benchmarked around 120 ms before, 775 ms now on an i5-3570K 3.4 GHz, 3.8 turbo.

@dbashford this change doesn't play nicely with npm v3 flattening dependencies is loaded as a dependency in another project

Yeah, so instead of J being at
projectRoot/node_modules/textract/node_modules/J
It is at
projectRoot/node_modules/J/?

 There is no node_modules folder inside textract but there is a projectRoot/node_modules/.bin/j which is symlinked to the j.njs file


how merge N(N>=2) models from block weights

first time to use, the functions are too powerful and complex, and I was a bit at a loss. I hope the author can post MBW workflows，thx very much！

MBW is supported by the nodepack, but is not very accessible as of right now to be honest. It is still a work in progress. The way it works currently is using the "Blocks Hyper" node, which returns a MECHA_HYPER. This is the type the nodes use for communicating block weights for merge method parameters.
You have to manually type in the block weights one by one in a comma-separated list currently. This is what it looks like for weighted sum:

For example, you would type 19 numbers in the blocks input, like this:
0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5

You can use the blocks node as input to any parameter of any merge method.
I know it's not super convenient but currently this is the way it works.


Observe someone using Codespaces to complete the main OpenSAFELY Getting Started guide

This is a similar task to #3, but looking at the Getting Started guide only.
Tasks

Recruit a researcher to participate
Provide the researcher with directions on what we want them to do to complete the Getting Started Guide
Decide how we should observe or get feedback

An entirely "offline" session with the researcher giving feedback afterwards?
A session with someone from the REX team sitting in and observing?
A session where the researcher records themselves, maybe in Meet or similar, talking out loud while they work?
Something else?

Complete the session
Evaluate what went well, and any problems that arose; are these problems issues that are fixable, or limitations of Codespaces?

Did they need much, if any, Linux knowledge to do their work? Codespaces run in a Linux virtual machine. Ideally, we don't want researchers to have to understand much, if anything, of how Linux works to develop their code.

Prerequisites
If the researcher hasn't used Codespaces before with OpenSAFELY, this might require:

either some of the Codespaces documentation reviewing, refining or tidying up first (#6)
or a short 15-20 minute session with someone from the REX team to run through how Codespaces works with the researcher

If this is for an existing project that was started before we added the devcontainer configuration to the research-template, the researcher may also need to add this configuration to their project.

Before contacting users we should time how long it takes to complete the Getting Started Guide in Codespaces ourselves. If it's very quick, we may want to roll this task into #3.

We've completed a session with Catherine that gave us a lot of useful feedback, both on Codespaces itself, and on improving the Getting Started with a view to making it primarily for Codespaces.


Feature/models

Needs a test to check what will happen if you get an unknown property and then try to set it. Might need to throw an exception in __get in order to prevent people from making arbitrary properties.


error handling: no error is returned in case of error

it seems very often nothing happens / is returned from the error callback:
    const account_name = 'user'
    const pos = 0
    const offset = 10

    eos.getActions({
      account_name, pos, offset
    }, (err, res) => {
      if (err) return cb(err)  // expected to be called

      return cb(null, res)
    })

Assumption: a promise / the promises used internally missing a catch handler, that is passing the error to the callback based API. This appears in the global node process log:
(node:28736) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
api error => { message: 'Invalid cast from type \'object_type\' to string',
  file: 'variant.cpp',
  line_number: 565,
  method: 'get_string' } http://<IP_ADDRESS>:8888/v1/history/get_actions {"account_name":{"account_name":"user","pos":0,"offset":10}}
{ Error: {"code":500,"message":"Internal Service Error","error":{"code":7,"name":"bad_cast_exception","what":"Bad Cast","details":[{"message":"Invalid cast from type 'object_type' to string","file":"variant.cpp","line_number":565,"method":"get_string"}]}}
    at /Users/robert/bitfinex/bfx-coin-eos-js/node_modules/eosjs-api/lib/apigen.js:115:23
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:160:7) status: 500, statusText: 'Internal Server Error' }

Why do we need this?
Given we want to provide the error in a request / response context we can't rely on the global "uncaughtPromiseException" handler.

published<EMAIL_ADDRESS>

I need to see your example.  It is working in this case:
> eos.transfer('noacct', 'acct', '1 SYS', 'memo', (err, res)=> console.error('ERROR', err))
undefined
> api error => { message: 'action\'s code account \'eosio.token\' does not exist',
  file: 'controller.cpp',
  line_number: 1420,
  ...

ERROR {"code":500,"message":"Internal Service Error","error":{"code":3040000,"name":"transaction_exception","what":"transaction exception","details":[{"message":"action's code account 'eosio.token' does not exist","file":"controller.cpp","line_number":1420,"method":"validate_referenced_accounts"}]}}

Also works for a read-only api:
> eos.getActions('eosio', 'a', 0, (err, res)=> {console.error('ERROR', err); console.log('RES', res)})
undefined
> api error => { message: 'Couldn\'t parse int64_t',
  ...
ERROR { Error: {"code":500,"message":"Internal Service Error","error":{"code":4,"name":"parse_error_exception","what":"Parse Error","details":[{"message":"Couldn't parse int64_t","file":"string.cpp","line_number":100,"method":"to_int64"}]}}
    at /home/jcalfee/eosjs/eosjs/node_modules/eosjs-api/lib/apigen.js:115:23
    at <anonymous>
    at process._tickDomainCallback (internal/process/next_tick.js:228:7) status: 500, statusText: 'Internal Server Error' }
RES undefined

@jcalfee hey james.
I get this internal error message:
{"code":500,"message":"Internal Service Error","error":{"code":3050003,"name":"eosio_assert_message_exception","what":"eosio_assert_message assertion failure","details":[{"message":"assertion failure with message: Create() can only be called once","file":"wasm_interface.cpp","line_number":930,"method":"eosio_assert"},{"message":"","file":"apply_context.cpp","line_number":60,"method":"exec_one"}]}} (node:12004) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): TypeError: Cannot read property 'data' of undefined
I have this assert statement in my contract function
   eosio_assert(itr_meta->created != 1, "Create() can only be called once");
and in my javascript I call:
  eos.transaction({
  actions: [
    {
      account: data.cid,
      name: 'create',
      authorization: [{
        actor: data.cid,
        permission: 'active'
      }],
      data: {
        username : data.username,
      }
      }
    ]
  })  .then(rules => {res.status(200).send({message: "Repo rules were set successfully", rules})})
  .catch(err => {
    console.log(err.response.data);
    res.status(400).send(err: err.response.data);
  });

You can only create an asset once.  After that you need to call issue to issue some or all of the asset you just created to another account.  Finally, that last account can call transfer..


Calling chat with function as tool gives an empty response

I defined a test function as:
def alfalfa(a, b):
    if a % 2 == 0 and b % 2 == 0:
        return a + b
    elif (a % 2 != 0) and (b % 2 != 0):
        return a * b
    else:
        return 72340

I initialize it as a tool using:
alftool = {
      'type': 'function',
      'function': {
        'name': 'alfalfa',
        'description': 'Returns the alfalfa of two numbers',
        'parameters': {
          'type': 'object',
          'properties': {
            'a': {
              'type': 'integer',
              'description': 'First number to alfalfa',
            },
            'b': {
                'type': 'integer',
                'description': 'Second number to alfalfa',
            }
          },
          'required': ['a', 'b'],
        },
      },
    }

Finally, using oclient = ollama.Client(host="localhost"), I call:
response = oclient.chat(
    model='llama3.2:3b-instruct-q8_0',
    messages=[{'role': 'user', 'content':
        'Please alfalfa 2 and 4'}],
    tools=[alfalfa]
)

print(response['message'])
print(response.message.content)

The latter prints nothing, while the former prints role='assistant' content='' images=None tool_calls=[ToolCall(function=Function(name='alfalfa', arguments={'a': '2', 'b': '4'}))]. When I omit the tools=..., I get a response as normal:
Alfalfa doesn't actually mean "to add" or perform mathematical operations. Alfalfa is a type of leguminous herb that is commonly used as hay for livestock.

If you meant to ask me to calculate the result of 2 + 4, I'd be happy to help!

Here's the answer:

2 + 4 = 6

I had similar results with other functions tested. This is on the latest version (v0.4.1).

Its the expected behaviour. In [ToolCall(function=Function(name='alfalfa', arguments={'a': '2', 'b': '4'}))], the tool is being called with the correct parameters.
As for the json definition, I can get the output:
alftool = {
      'type': 'function',
      'function': {
        'name': 'alfalfa',
        'description': 'Returns the alfalfa of two numbers',
        'parameters': {
          'type': 'object',
          'properties': {
            'a': {
              'type': 'integer',
              'description': 'First number to alfalfa',
            },
            'b': {
                'type': 'integer',
                'description': 'Second number to alfalfa',
            }
          },
          'required': ['a', 'b'],
        },
      },
    }

response = ollama.chat(
    model='llama3.1:8b-instruct-q4_0',
    messages=[{'role': 'user', 'content':
        'Please alfalfa 2 and 4'}],
    tools=[alftool]
)

print(response['message'])

Output:
role='assistant' content='' images=None tool_calls=[ToolCall(function=Function(name='alfalfa', arguments={'a': 2, 'b': 4}))]

Just to clarify, the expected behavior of asking the model a question is to receive no answer? I can see this behaviour being useful for cases such as asking the model to turn on/off a setting in an app, but does the current state of the api allow for the model to use tools to inform its response to the user?

@mjm9189 Hey! So the initial call to the LLM just generates a toolcall - which is what you need to use to execute your function with the provided params. You can pass the output of the tool back to the LLM and generate a response for the user. There's an example in the JS repo for this - will add one for python soon too! https://github.com/ollama/ollama-js/blob/main/examples/tools/tools.ts
Hope this helps!

Amazing, thank you for the help! I'd only looked through the Python one so far, but I'm glad it's being updated soon. Thanks again!

@mjm9189 Just updated! https://github.com/ollama/ollama-python/blob/main/examples/tools.py

I was unable to get both a function call and an output on the same model inference (I used llama 3.1:8b). I mean, for a ReAct agent for example, you can ask first to do the THOUGHT process and choose the tools that help you achieve the plan (or the initial steps of it). Then You will feedback the model with the tool output as you did and let the model decide between giving a final answer or replaning (or moving to next step) and call to another set of tools until the agent completed the task.
Is incompatible function calling + generation on the same step? meaning thinking a bit then deciding what tools to use? It has demonstrated to be more performant...
Thanks in advance!


reusing the same session causes issues when the mongodb instance goes down

Even if working with a mongodb replicaset (i.e. redundancy), the use of the same session appears to retry failed connections. Eventually, if all replicas are restarted (even while maintaining quorum), connections will fail
Leads to errors such as:
[negroni] 2017-06-22T20:35:24Z | 500 |
Needs further investigation

Closed by 959b757db5a699466ceed2edb8fe39ee1c4a4aa3


replace & with && in dev script

This will result in the styles dev process never starting - as the tsp process will block until explicitly canceled. && waits until the previous command has exited, while & will start them both in parallel.


@mzikherman => Hide contact information for non-active partners on mobile

This removes contact information for non-active partners on microgravity. Same work as https://github.com/artsy/force/pull/1458, this is just on mobile.

@yuki24 the Danger thing was fixed in a subsequent commit, if you pull/rebase master here it should pass.

This looks great to me! Just minor #nitpicky comments.
I'll leave it to @starsirius on the actual gallery_one logic/layout stuff (I'm not too familiar with it), but this looks 👌 to me.

I've moved the constants mobile/models/partner.coffee but yeah I don't really have strong opinions either. But at least now they are in one place and we no longer have to worry about updating duplicate constants (although we still have duplicates across desktop/mobile, but I consider them to be separate apps in one repo, so it may be ok).

Looks great to me! 🎉
If you want to try moving the route handler to antigravity, that's cool but also totally not needed. Either way, merge at will @yuki24 !

I updated the commit and will merge this PR once the build is green.


Jonmv/pre provisioned lbs cleanup

@freva don't merge yet.

Ah, thanks, that's right. Should remove that, too.


How to config "about" page?

My about page jump to 404 now. :(
And thanks for create such a lovely theme. 💯

You can create the about page with
hexo new page about

Next, create some content in source/about/index.md. See the documentation for more info.
If you would like to change the layout of the about page, you will have to edit theme/cactus-dark/layout/page.ejs.


@OrderColumn does not produce column in ElementCollectionTable

When creating a ElementCollection reference in an Entity, and then specifying an OrderColumn attribute, the resulting table (in Generate SQL) does not render a table with a column to store the order column.

Duplicate Issue Ref : https://github.com/jeddict/jeddict/issues/128


Error trying to Using UNB Unfollow Not Followback

How to recreate:
1.Launch ./install.sh
Choose Option:  ➥UNB-> Unfollow Not Followback
Error Produced:
⋈ Error: Cannot find module './tools/UNB.js'
Require stack:

/home/$USER/Git/automation/instagram-automation1/index.js

Working
Is on
On Fri, Sep 3, 2021, 4:17 AM Cole Leavitt @.***> wrote:

How to recreate:
1.Launch ./install.sh
Choose Option: ➥UNB-> Unfollow Not Followback
Error Produced:
⋈ Error: Cannot find module './tools/UNB.js'
Require stack:

/home/$USER/Git/automation/instagram-automation1/index.js

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ShuBhamg0sain/instagram-automation/issues/1#issuecomment-912111242,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APH4D4257DGLGTMRSOHRYI3T775HDANCNFSM5DKEG2ZQ
.


Added Radas Blessing to Prayer items

Closes #7296
Added Radas Blessing 1-3 with 1+ pray bonus
Added Radas Blessing 4 with 2+ pray bonus

I will just close this PR to not confuse other people, as its still unusable because of line changes


OCPBUGS-22182:Fix nodestatus missing issue

What type of PR is this?
/kind bug
What this PR does / why we need it:
This fixes missing nodestatus issues when we have a crashed pod, we always check both finalizerExists and nodeStatusExists.
Which issue(s) this PR fixes:
Fixes #OCPBUGS-22182
Does this PR have test?
N/A
Special notes for your reviewer:
Does this PR introduce a user-facing change?
NONE
Fixes missing nodestatus issues on some nodes when we have a crashed pod.

I am not sure quite sure how to verify this bug.  @Vincent056 Any idea? Thanks.
Tested with 4.14.0-0.nightly-2023-10-23-223425 + code in the PR.
Repeated testing several times with https://github.com/kubernetes-sigs/security-profiles-operator/pull/1928, the issue not reproduced.

I am not sure quite sure how to verify this bug. @Vincent056 Any idea? Thanks. Tested with 4.14.0-0.nightly-2023-10-23-223425 + code in the PR. Repeated testing several times with #1928, the issue not reproduced.

you can try to manually remove a nodestatus object

Codecov Report

Merging #1928 (ce51785) into main (edb34ac) will not change coverage.
The diff coverage is 0.00%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1928   +/-   ##
=======================================
  Coverage   49.25%   49.25%
=======================================
  Files          72       72
  Lines        7037     7037
=======================================
  Hits         3466     3466
  Misses       3437     3437
  Partials      134      134

/retest

/unhold
Verification passed with below steps:
1. deploy SPO
2. Patch the enableLogEnricher to true:
$ kubectl -n security-profiles-operator patch spod spod --type=merge -p '{"spec":{"enableLogEnricher":true}}'
3. Monitor securityprofilenodestatuses, delete one securityprofilenodestatuses in installed status manually
4. check the final status:
$ oc get sp
NAME                 STATUS      AGE
log-enricher-trace   Installed   90s

@Vincent056 may I ask you to rebase please?


Maintainers wanted

We're not actively using this plugin anymore (as you might be able to see from the pulse), so we're looking for some new maintainers who could give this project the love it needs.

I just spent 3 days struggling to integrate Rollup into Karma @klaascuvelier, and @brianmhunt's PR fixed my issues.
I would be willing to take over to fix things up so no one else has to suffer the same frustration.

Any updates on this @klaascuvelier?
I just spent 3 frustrating days integrating Rollup into Karma, and I'd be willing to carry the torch for a while to prevent similar frustration for others.

No updates, nobody volunteered until you just did.
I can transfer you the ownership right away if you want.

Let's do it, I'll do what I can!

Let's do it @klaascuvelier!
My handle is jlmakes on both NPM and GitHub.

I'm afk right now, will follow up asap

I sent you a request for the ownership on Github and added you as owner on npm.
Thanks for taking this up @jlmakes, as we didn't use the library ourselves anymore, we could not invest time in the maintenance and development

I think the Rollup bundler is the best solution for browser libraries until ES6 imports are natively supported across devices/browsers... and being able to test the same bundles you're distributing is essential.
I use both Rollup and Karma on an important personal/open source project, so I will do my best. Thanks for passing the torch @klaascuvelier!


Upgrade golang.org/x/tools

I was having issues running fzgen on golang.org/x/text:
calvin@mbp text % fzgen ./...
2023/03/17 16:11:50 internal error: package "sort" without types was imported from "golang.org/x/text/internal/tag"

Bumping golang.org/x/tools to latest, then rebuilding fzgen, fixed this issue:
calvin@mbp text % ../fzgen/cmd/fzgen/fzgen ./...
fzgen: created cases/autofuzz_test.go
fzgen: created cmd/gotext/autofuzz_test.go
fzgen: skipping golang.org/x/text/cmd/gotext/examples/extract_http/pkg: unsupported parameters: Generize takes net/http.ResponseWriter
fzgen: created collate/autofuzz_test.go
fzgen: created collate/build/autofuzz_test.go
fzgen: created collate/tools/colcmp/autofuzz_test.go
fzgen: created currency/autofuzz_test.go
fzgen: created encoding/autofuzz_test.go
fzgen: created encoding/charmap/autofuzz_test.go
fzgen: created encoding/htmlindex/autofuzz_test.go
fzgen: created encoding/ianaindex/autofuzz_test.go
fzgen: created encoding/internal/autofuzz_test.go
fzgen: skipping golang.org/x/text/encoding/internal/enctest: unsupported parameters: Benchmark takes golang.org/x/text/encoding.Encoding
fzgen: created encoding/unicode/autofuzz_test.go
fzgen: created encoding/unicode/utf32/autofuzz_test.go
fzgen: created feature/plural/autofuzz_test.go
fzgen: created internal/autofuzz_test.go
fzgen: created internal/catmsg/autofuzz_test.go
fzgen: created internal/cldrtree/autofuzz_test.go
fzgen: created internal/colltab/autofuzz_test.go
fzgen: created internal/export/idna/autofuzz_test.go
fzgen: created internal/format/autofuzz_test.go
fzgen: created internal/gen/autofuzz_test.go
fzgen: skipping golang.org/x/text/internal/gen/bitfield: unsupported parameters: Gen takes interface{}
fzgen: created internal/language/autofuzz_test.go
fzgen: created internal/language/compact/autofuzz_test.go
fzgen: created internal/number/autofuzz_test.go
fzgen: created internal/stringset/autofuzz_test.go
fzgen: created internal/tag/autofuzz_test.go
fzgen: created internal/testtext/autofuzz_test.go
fzgen: created internal/triegen/autofuzz_test.go
fzgen: created internal/ucd/autofuzz_test.go
fzgen: created language/autofuzz_test.go
fzgen: created language/display/autofuzz_test.go
fzgen: created message/autofuzz_test.go
fzgen: created message/catalog/autofuzz_test.go
fzgen: created message/pipeline/autofuzz_test.go
fzgen: created number/autofuzz_test.go
fzgen: created runes/autofuzz_test.go
fzgen: created search/autofuzz_test.go
fzgen: created secure/bidirule/autofuzz_test.go
fzgen: created secure/precis/autofuzz_test.go
fzgen: created transform/autofuzz_test.go
fzgen: created unicode/bidi/autofuzz_test.go
fzgen: created unicode/cldr/autofuzz_test.go
fzgen: created unicode/norm/autofuzz_test.go
fzgen: created unicode/rangetable/autofuzz_test.go
fzgen: created unicode/runenames/autofuzz_test.go
fzgen: created width/autofuzz_test.go
fzgen: created 46 files

FYI, an old issue mentions a similar error in Tailscale: https://github.com/thepudds/fzgen/issues/3

Hi @clfs, thanks so much for the PR!
Sorry, this has been on my list to do.
Thanks again, and please let me know if you have any further feedback.


optional number getter fix

case .string is missed for optional number getter. I just put the same code from non-optional number getter, except that if NSDecimalNumber fails to parse string - it returns nil

I've bumped with this today. It would be nice if case .string was added to optional number. Any idea when will this be merged?

@pkcs12 You forgot to update the unit tests. This is why Travis is broken.

Closing for inactivity.


Migrating to POSIX (sys/poll.h ~> poll.h)

Relying on POSIX <poll.h> instead of glibc-specific <sys/poll.h>.

Replaced by:

https://github.com/umurmur/umurmur/pull/134


Could not find member 'debug' on object of type 'AuctionResponse'. Path 'debug', line 1, position 9

Had an auction search working the other day but doesn't seem to work now.
My code:
var searchParameters = new PlayerSearchParameters {
   Page = 1,
   Level = Level.Silver,
   League = League.BarclaysPremierLeague,
   Nation = Nation.Scotland,
   Position = Position.LeftWingBack,
   Team = Team.Watford,
   MaxBid = maxBid,
   MaxBuy = 750
};

var searchResponse = await client.SearchAsync(searchParameters);
AuctionInfo auctionInfo = searchResponse.AuctionInfo[0];
await client.PlaceBidAsync(auctionInfo, auctionInfo.BuyNowPrice);

No JSON result and this error.
{"Could not find member 'debug' on object of type 'AuctionResponse'. Path 'debug', line 1, position 9."}

   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
   at UltimateTeam.Toolkit.Requests.FutRequestBase.<Deserialize>d__22`1.MoveNext()

The post:
POST /ut/game/fifa16/transfermarket?start=0&num=13&leag=13&lev=silver&nat=42&team=1795&maxb=750&macr=7999999&pos=LWB&type=player HTTP/1.1
The JSON:
JSON
code=500
debug=
reason=
string=
So seems path isnt working now?

InternalServerError. You send to many requests.

How many is too many?
I was using a new account, could it be that im not allowed on the transfer market yet with this account?

Same issue as #164. I was using a newly created account and had not played the required amount of matches to unlock access to transfer market, therefore the error was occurring.


Update error message regex

This PR updates the error message regex to reflect changes in Miking. In particular after https://github.com/miking-lang/miking/pull/687 is merged.

Looks good! Do you mind pinging me when https://github.com/miking-lang/miking/pull/687 is merged?

Looks good! Do you mind pinging me when miking-lang/miking#687 is merged?

Sure!

The time has come. I made some tweaks to the regex in case you missed that.

I saw the changes, and I saw that they were good =)


[MLS Spec change]  Be consistent about version labeling (#543)

Description of the changes
Usage of the MLS version as label is made consistent across the spec.
Link to the exact changes
https://github.com/mlswg/mls-protocol/pull/543

The only change done in the mls-protocol PR is ...
struct {
    uint16 length = Length;
-    opaque label<7..255> = "mls10 " + Label;
+    opaque label<7..255> = "MLS 1.0 " + Label;
    opaque context<0..2^32-1> = Context;
} KDFLabel;

I can find one instance of "mls10" in the OpenMLS code and would just change it to "MLS 1.0".
From my understanding, KDFLabel::serialized_label could already write out b"MLS 1.0 ". But it seems this is already taken care of elsewhere.
Is there anything more to be done here that I might miss?


Dynamically set path for checkXauth

While doing this install I needed to SSH as root and as such the hardcoded path in checkXauth.sh failed
ls /home/pi/.Xauthority > /dev/null

if [ "$?" == "0" ]; then
sudo cp /home/pi/.Xauthority /root/

I'd suggest doing something like
ls $HOME/.Xauthority > /dev/null

if [ "$?" == "0" ]; then
sudo cp $HOME/pi/.Xauthority /root/`

instead so as many users may not do this as the default "pi" account.
Additionally, as I did this as root the "cp" was redundant so you may want to add a check for whether the user is root and if so, skip the "cp".

Actually, it would be even smarter to verify f $HOME/.Xauthority even exists and if not, throw an error.

changes have been made.  I appreciate it @mauvehed
I noticed two things.  If a user simply ssh'ed into the box as root it appears nothing further is required concerning.Xauthority permissions
If a user ssh'ed into the box as pi, and tried sudo python BriarIDS.py they would experience .Xauthority permission issues due to trying to run an X session as root without the .Xauthority file created
try out the recent update and see how that cooperates for you

@musicmancorley Will try and check it out this weekend, busy today/tomorrow. I see you commented a bunch out, but I'm not sure the really covers all use cases. I don't use "pi" as my non-root user. I created my own, which I was initially using until I encountered problems and then started SSHing as root. So if you simply check for xauthority in root and assume the current user is "pi" that seems like it might still fail.
Either the script and it's checks need to be more dynamic, or the documentation for install needs to be more specific. I will say, I felt like a lot of the documentation was lacking or not straight forward. But let me follow up with that after a fresh reinstall and test. I'm kind of a documentation fiend.

good deal.  It works for me SSH'ing as root, creates the .Xauthority file even though it may say one does not exist, and loads the GUI as expected.  I would ideally like to devote more time to documentation and I do appreciate your honest feedback.  I'll do what I can to make things easier and more understandable.  If you find specific areas of the installation that could be more clear in the documentation let me know and I'll see if I can address them.  The WIKI could definitely use a tune up as well as the installation page in general.

made some more updates :)

closing this as the current solution will provide a GUI as intended, regardless of warnings or redundancy.  I will continue to explore additional options to differentiate between sudo and root user, but for the time being the code contained within this script should cooperate for everyone using sudo or root.  I encourage anyone who wishes to improve this code or other sections to fork the repo!  thx


doc/tutorial/kubernetes: investigate issues when running CUE_UPDATE=1 go test ./...

Using Go 1.16 and running:
CUE_UPDATE=1 go test ./...

All doc/tutorial/kubernetes/quick/cue.mod/gen/**/*.cue files are removed
We don't get a test failure when it looks/feels like we should
We still don't get a test failure when running go test ./... subsequently, despite the fact that there is a massive diff

One issue identified by this analysis was a missing go mod init step in the tutorial. That was fixed in https://github.com/cuelang/cue/commit/b51368ea86ee2e130402d546d4c668d61a9862b8. The issues regarding CUE_UPDATE=1 go test ./... are wider and intrinsically linked to the current tutorial setup. Fixing that setup in a sustainable way (that will also form the basis for other tutorials) is captured in https://github.com/cuelang/cue/issues/824, but is not a short-term priority. Hence closing this issue, as there is no longer an immediate pre-v0.3.0 problems to solve with respect to the K8s tutorial.

This issue has been migrated to https://github.com/cue-lang/cue/issues/815.
For more details about CUE's migration to a new home, please see https://github.com/cue-lang/cue/issues/1078.


Issue 5466

docs: Updated faq.md to reflect correct default behavior for Drift.
Description
How was this change tested?
Does this change impact docs?

[X] Yes, PR includes docs updates
[X] Yes, issue opened: issue# 5466

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.02%) to 82.53%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
4951

Relevant Lines:
5999

💛  - Coveralls


Merge .dex and .cex under .geterg command

Motivation
Now that I've coded a working version and thinking about it some more i think the command structure should be this:
.geterg: stay the same
.geterg dex: list spectrum and future DEX
.geterg cex: list all centralized exchanges
that means i can streamline and remove the need to maintain separate .dex and .cex commands.
Acceptance criteria

faq.py: merge the .dex and .cex commands under .geterg
For .geterg add modifier for "dex" and "cex"
Delete the call functions from the file
Update faq_help() function to reflect this change
Remove call functions in sigmabot.py file

https://github.com/Eeysirhc/sigmabot/commit/1215ce1b9959373534064f02773c58d7f5529f7e


Update blake2b_simd to 1.0.0

Hi @msrd0,
Thanks for your pull request. I merged the PR and published version 1.0.0 to crates.io that includes this update.


Reformat SPIR-V assembly and fix validation errors

These changes reformat the SPIR-V assembly in spirv_new using spirv-dis, and fix validation errors reported on these SPIR-V modules by the current version of spirv-val.
Signed-off-by: Stuart Brady<EMAIL_ADDRESS>

I will verify this change by local run. Please do not merge until finish.


Implemented filtering for the Armor List

One problem, however: the text on the filter dialog appears white - for whatever reason, the app style doesn't seem to get applied to it

I worked on it more today and the spinners are completely functional.
Furthermore, you can now sort by slot count.

The popup menu is messed up. I can barely make any changes or read it.
Probably don't need to call it Filter Armor, Filter would be sufficient.

Yo, I think I fixed the problems with the dialog.

Awesome, I'll look at this tonight. I gotta head out to family stuff.

everything looks good


Class 'Permissions' not found

After a simple update from 26.2 to 29.3, I have the error :
laravel.ERROR: Class 'Permissions' not found {"userId":1,"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Class 'Permissions' not found at /var/www/wiki.mgmt.yeraz.fr/app/Entities/Page.php:35)

My Configuration
BookStack : 29.3
PHP : 7.2.6
Hosting : NGINX

Did you check file permissions?

Yes. All files are owned by the NGINX user, I have double check. It's not the only class, it can't find "Str".

I have deleted the vendor folder... and rerun composer same issue.

Hi @jq-yeraz, Did you get this fixed? I see that the instance is now live on 29.3.
If not, Can you confirm if there's any errors when you run composer install or confirm the output of running git status.

Will close this off. If it remains to be an issue feel free to open a new issue, detailing what actions cause this error to appear in addition to responding to the questions in my previous comment.

Hi,
I also have this error after an upgrade from V0.27.5 to V0.29.3 (Ubuntu 18.04.3 / PHP 7.2.24 / Laravel 6.18.3 / Apache)

Files permission is OK
composer install return no error (maybe a warning about abandoned package)
Package operations: 51 installs, 0 updates, 0 removals
  - Installing maximebf/debugbar (v1.16.1): Downloading (100%)
  - Installing barryvdh/laravel-debugbar (v3.2.9): Downloading (100%)
...
  - Installing wnx/laravel-stats (v2.0.2): Downloading (100%)
maximebf/debugbar suggests installing kriswallsmith/assetic (The best way to manage assets)
barryvdh/reflection-docblock suggests installing dflydev/markdown (~1.0)
barryvdh/reflection-docblock suggests installing erusev/parsedown (~1.0)
sebastian/global-state suggests installing ext-uopz (*)
phpunit/php-code-coverage suggests installing ext-xdebug (^2.7.2)
phpunit/phpunit suggests installing ext-soap (*)
phpunit/phpunit suggests installing ext-xdebug (*)
phpunit/phpunit suggests installing phpunit/php-invoker (^2.0.0)
Package jakub-onderka/php-console-color is abandoned, you should avoid using it. Use php-parallel-lint/php-console-color instead.
Package jakub-onderka/php-console-highlighter is abandoned, you should avoid using it. Use php-parallel-lint/php-console-highlighter instead.
Generating optimized autoload files
...
Package manifest generated successfully.
> @php artisan cache:clear
Application cache cleared!
> @php artisan view:clear
Compiled views cleared!

git status return the following
Sur la branche release
Votre branche est à jour avec 'origin/release'.

Fichiers non suivis:
  (utilisez "git add <fichier>..." pour inclure dans ce qui sera validé)
        .env.bak
        composer.phar

aucune modification ajoutée à la validation mais des fichiers non suivis sont présents (utilisez "git add" pour les suivre)

Hi all, I also get the same error  does anyone fixed it,
[Mon Feb 15 04:01:35.089378 2021] [:error] [pid 25130] [client <IP_ADDRESS>:26498] PHP Fatal error:  Uncaught Symfony\\Component\\Debug\\Exception\\FatalThrowableError: Call to undefined function BookStack\\Translation\\theme_path() in /var/www/bookstack/app/Translation/FileLoader.php:23\nStack trace:\n#0 /var/www/bookstack/vendor/laravel/framework/src/Illuminate/Translation/Translator.php(324): BookStack\\Translation\\FileLoader->load('en', 'errors', '*')\n#1 /var/www/bookstack/vendor/laravel/framework/src/Illuminate/Translation/Translator.php(240): Illuminate\\Translation\\Translator->load('*', 'errors', 'en')\n#2 /var/www/bookstack/vendor/laravel/framework/src/Illuminate/Translation/Translator.php(125): Illuminate\\Translation\\Translator->getLine('*', 'errors', 'en', 'error_occurred', Array)\n#3 /var/www/bookstack/vendor/laravel/framework/src/Illuminate/Translation/Translator.php(101): Illuminate\\Translation\\Translator->get('errors.error_oc...', Array, 'en')\n#4 /var/www/bookstack/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(884): Illuminate\\Translation\\Translator->trans('errors.error_oc...', Array, NULL in /var/www/bookstack/app/Translation/FileLoader.php on line 23

@BirenGrooveHere Please see #2196 and follow the comment chain there to see if that helps


Request: Bulk Update packages or multiselect

Hi
It would be great if we could have an option to upgrade/update all packages or could multiselect to upgrade/update packages. It would really save a lot of effort and reduce friction.

mass-upgrading installed packages is not encouraged.
The upgrade functionality in opkg is meant for upgrading individual packages (e.g. due to security fixes), but the intention is not to encourage for upgrading lots of installed packages.


Support Namespaces

Feature description
We currently auto-generate TypeScript interfaces from openapi specs. The result of this looks something like this:
Input
export namespace BulkDownloadParts {
	export interface PathParameters {
		service_id: number
	}

	export interface RequestBody {
		/**
		 * Define For which kind of entity you want to download parts.
		 * Will fall back to OrderLine if not set explicitly
		 *
		 */
		lineType?: 'OrderLine' | 'QuoteLine' | 'RequestForQuoteLine'
		partIds: number[]
	}

	export interface Response {
		jwt: string
		url: string
	}
}

Output
1. Via namespace
Would probably ease implementation, but is deprecated (we only use namespaces to group types, not really for actual runtime code)
// Generated by ts-to-zod
import { z } from 'zod'

export namespace BulkDownloadParts {
	export const pathParametersSchema = z.object({
		service_id: z.number(),
	})

	export const requestBodySchema = z.object({
		lineType: z
			.union([
				z.literal('OrderLine'),
				z.literal('QuoteLine'),
				z.literal('RequestForQuoteLine'),
			])
			.optional(),
		partIds: z.array(z.number()),
	})

	export const responseSchema = z.object({
		jwt: z.string(),
		url: z.string(),
	})
}

2. Via Prefixing
// Generated by ts-to-zod
import { z } from 'zod'

export const bulkDownloadPartsPathParametersSchema = z.object({
	service_id: z.number(),
})

export const bulkDownloadPartsRequestBodySchema = z.object({
	lineType: z
		.union([
			z.literal('OrderLine'),
			z.literal('QuoteLine'),
			z.literal('RequestForQuoteLine'),
		])
		.optional(),
	partIds: z.array(z.number()),
})

export const bulkDownloadPartsResponseSchema = z.object({
	jwt: z.string(),
	url: z.string(),
})

3. Via objects
export const BulkDownloadParts = {
	pathParametersSchema: z.object({
		service_id: z.number(),
	}),
	requestBodySchema: z.object({
		lineType: z
			.union([
				z.literal('OrderLine'),
				z.literal('QuoteLine'),
				z.literal('RequestForQuoteLine'),
			])
			.optional(),
		partIds: z.array(z.number()),
	}),
	responseSchema: z.object({
		jwt: z.string(),
		url: z.string(),
	})
}

Personally, I’d prefer the prefixing approach as it doesn’t use the quasi-deprecated namespace feature and as the object-based approach is proabably nearly impossible to tree-shake and thus would drastically increase bundle sizes for big APIs. The one in question defines 1584 interfaces with most of them being a lot more complex than this example, so it would make a noticeable difference...

Hi @FlorianWendelborn, thanks to pointing this, indeed I’m not using namespace at all and I totally forgot about them ^^
Indeed prefixing seams to be the simplest for this, let’s do this!

The output with my PR #44
// Generated by ts-to-zod
import { z } from "zod";

export const bulkDownloadPartsPathParametersSchema = z.object({
  service_id: z.number(),
});

export const bulkDownloadPartsRequestBodySchema = z.object({
  lineType: z
    .union([
      z.literal("OrderLine"),
      z.literal("QuoteLine"),
      z.literal("RequestForQuoteLine"),
    ])
    .optional(),
  partIds: z.array(z.number()),
});

export const bulkDownloadPartsResponseSchema = z.object({
  jwt: z.string(),
  url: z.string(),
});

Included in v1.5.0

Thanks @fabien0102

namespace is not to be deprecated https://github.com/microsoft/TypeScript/issues/30994 😢

Hi @Amorites,
I didn’t get your last comment; this library is supported namespaces, don’t worry; you can see how this is processed inside the unit tests -> https://github.com/fabien0102/ts-to-zod/pull/44/files

Thank you @fabien0102
I saw there is some content in this issue like:

1. Via namespace
Would probably ease implementation, but is deprecated (we only use namespaces to group types, not really for actual runtime code)

Personally, I’d prefer the prefixing approach as it doesn’t use the quasi-deprecated namespace feature

Just a reminder that namespace is not going to deprecate.
And I have created an issue https://github.com/fabien0102/ts-to-zod/issues/102 about the current implementation.


Back out "Optimize cross joins with single build batch"

Summary:
https://github.com/facebookincubator/velox/pull/10695 has correctness error. Prestissimo tests are failing with
[ERROR]   TestPrestoNativeGeneralQueriesJSON>AbstractTestNativeGeneralQueries.testCorrelatedExistsSubqueries:1647->AbstractTestQueryFramework.assertQuery:174 For query:
 SELECT EXISTS(SELECT 1 FROM (VALUES 1, 1, 1, 2, 2, 3, 4) i(a) WHERE i.a < o.a AND i.a < 4) FROM (VALUES 0, 3, 3, 5) o(a)
 actual column types:
 [boolean]
expected column types:
[boolean]

not equal
Expected rows (3 of 3 missing rows shown, 4 rows in total):
    [false]
    [true]
    [true]

We know the velox main branch is not performant for NLJ, but better revert this performance fix which breaks correctness also.
Differential Revision: D61074364

Thanks


[Scope] Honeygain.Honeygain - No applicable update found

This issue is similar to https://github.com/microsoft/winget-pkgs/issues/47655 but opposite
Current Manifest

Click for Log

2022-02-23 12:07:34.822 [CORE] WinGet, version [1.3.431-preview], activity [{099F795D-EF32-4CA6-83AB-2699C4E40916}]
2022-02-23 12:07:34.823 [CORE] OS: Windows.Desktop v10.0.22000.493
2022-02-23 12:07:34.823 [CORE] Command line Args: "C:\Users\User\AppData\Local\Microsoft\WindowsApps\winget.exe" upgrade -m .\h\Honeygain\Honeygain\<IP_ADDRESS>\
2022-02-23 12:07:34.823 [CORE] Package: Microsoft.DesktopAppInstaller v1.18.431.0
2022-02-23 12:07:34.823 [CORE] IsCOMCall:0; Caller: winget-cli
2022-02-23 12:07:34.827 [CLI ] WinGet invoked with arguments: 'upgrade' '-m' '.\h\Honeygain\Honeygain\<IP_ADDRESS>\'
2022-02-23 12:07:34.827 [CLI ] Found subcommand: upgrade
2022-02-23 12:07:34.827 [CLI ] Leaf command to execute: root:upgrade
2022-02-23 12:07:34.828 [CLI ] Executing command: upgrade
2022-02-23 12:07:34.829 [REPO] GetCurrentSourceRefs: Source named 'microsoft.builtin.desktop.frameworks' from origin Default is hidden and is dropped.
2022-02-23 12:07:34.829 [REPO] Default source requested, multiple sources available, adding all to source references.
2022-02-23 12:07:34.829 [REPO] Adding to source references msstore
2022-02-23 12:07:34.829 [REPO] Adding to source references winget
2022-02-23 12:07:34.829 [REPO] Multiple sources available, creating aggregated source.
2022-02-23 12:07:34.829 [REPO] Adding to aggregated source: msstore
2022-02-23 12:07:34.829 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2022-02-23 12:07:35.020 [REPO] Response status: 200
2022-02-23 12:07:35.020 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2022-02-23 12:07:35.089 [REPO] Response status: 200
2022-02-23 12:07:35.089 [REPO] Adding to aggregated source: winget
2022-02-23 12:07:35.099 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2022-02-23 12:07:35.099 [CORE] Found matching extension.
2022-02-23 12:07:35.117 [REPO] Opening SQLite Index for ImmutableRead at 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2022.223.1113.482_neutral__8wekyb3d8bbwe\Public\index.db'
2022-02-23 12:07:35.117 [SQL ] Opening SQLite connection: 'file:/C:/Program Files/WindowsApps/Microsoft.Winget.Source_2022.223.1113.482_neutral__8wekyb3d8bbwe/Public/index.db?immutable=1' [1, 40]
2022-02-23 12:07:35.117 [REPO] Opened SQLite Index with version [1.3], last write [2022-02-23 11:13:15.000]
2022-02-23 12:07:35.294 [REPO] Creating PredefinedInstalledSource with filter [None]
2022-02-23 12:07:35.294 [REPO] Creating new SQLite Index [4294967295.4294967295] at ':memory:'
2022-02-23 12:07:35.294 [SQL ] Opening SQLite connection: ':memory:' [6, 0]
2022-02-23 12:07:35.346 [REPO] Examining ARP entries for Machine | X64
2022-02-23 12:07:35.351 [REPO] Examining ARP entries for Machine | X86
2022-02-23 12:07:35.353 [REPO] Examining ARP entries for User | X64
2022-02-23 12:07:35.442 [CLI ] Manifest fields: Name [Honeygain], Version [<IP_ADDRESS>]
2022-02-23 12:07:35.448 [REPO] Opening SQLite Index for ReadWrite at 'C:\Users\User\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\StoreEdgeFD\installed.db'
2022-02-23 12:07:35.449 [SQL ] Opening SQLite connection: 'C:\Users\User\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\StoreEdgeFD\installed.db' [2, 0]
2022-02-23 12:07:35.449 [REPO] Opened SQLite Index with version [1.3], last write [2022-01-12 17:04:12.000]
2022-02-23 12:07:35.499 [REPO] Opening SQLite Index for ReadWrite at 'C:\Users\User\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db'
2022-02-23 12:07:35.499 [SQL ] Opening SQLite connection: 'C:\Users\User\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db' [2, 0]
2022-02-23 12:07:35.500 [REPO] Opened SQLite Index with version [1.3], last write [2022-02-23 12:03:51.000]
2022-02-23 12:07:35.567 [CLI ] Found one app. App id: Honeygain.Honeygain App name: Honeygain
2022-02-23 12:07:35.567 [CLI ] Starting installer selection.
2022-02-23 12:07:35.568 [CLI ] Installer [X86,exe,User,] not applicable: Installer scope does not match currently installed scope: User != Machine
2022-02-23 12:07:35.575 [CLI ] Terminating context: 0x8a150010 at D:\a\_work\1\s\external\pkg\src\AppInstallerCLICore\Workflows\InstallFlow.cpp:74

Click for Pictures

It requires no administrator to install and it installs to the User folder

It does however write to the HKEY_LOCAL_MACHINE Uninstall path which is the opposite of what Gridcoin does

Steps to replicate

Install Windows Package Manager 1.3.432-preview
Add the AppsAndFeaturesEntries field or change the InstallerType to burn

AppsAndFeaturesEntries:
- Publisher: Honeygain
  DisplayName: Honeygain
  InstallerType: msi

winget install Honeygain.Honeygain
change the DisplayVersion of Honeygain to a lower number
winget upgrade -m .\manifests\h\Honeygain\Honeygain\<PacakgeVersion>

This doesn't appear to have fixed yet....

Originally posted by Nishith-Savla in https://github.com/microsoft/winget-cli/issues/1191#issuecomment-1048621652

@Official-Esco is there a better label to use than Issue-Feature? Should we create a different template?

I think this should be Issue-Bug instead of Issue-Feature
You could for example add another label like Metadata, or something that describes it as something we can fix or if its a bigger issue
I think we need labels that describes the issue like the .zip/.exe labels

Isn't Honeygain already deleted from the repo? https://github.com/microsoft/winget-pkgs/pull/60711