text:
TypeError: replace() argument 1 must be str, not bytes

nuitka  --version
0.6.19.3
Commercial: None
Python: 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:37:50) [MSC v.1916 64 bit (AMD64)]
Flavor: Unknown
Executable: C:\Users\admin\AppData\Local\Programs\Python\Python38\python.exe
OS: Windows
Arch: x86_64
WindowsRelease: 10
Nuitka-Memory:INFO: Memory usage changed loading module 'main': 256.00 KB (262144 bytes)
Traceback (most recent call last):
File "C:\Users\admin\AppData\Local\Programs\Python\Python38\lib\site-packages\nuitka_main_.py", line 137, in
main()
File "C:\Users\admin\AppData\Local\Programs\Python\Python38\lib\site-packages\nuitka_main_.py", line 123, in main
MainControl.main()
File "C:\Users\admin\AppData\Local\Programs\Python\Python38\lib\site-packages\nuitka\MainControl.py", line 913, in main
main_module = _createNodeTree(filename=filename)
File "C:\Users\admin\AppData\Local\Programs\Python\Python38\lib\site-packages\nuitka\MainControl.py", line 115, in _createNodeTree
main_module = Building.buildMainModuleTree(
File "C:\Users\admin\AppData\Local\Programs\Python\Python38\lib\site-packages\nuitka\tree\Building.py", line 1118, in buildMainModuleTree
module.setEarlyModules(detectEarlyImports())
File "C:\Users\admin\AppData\Local\Programs\Python\Python38\lib\site-packages\nuitka\freezer\Standalone.py", line 589, in detectEarlyImports
early_modules = tuple(_detectEarlyImports())
File "C:\Users\admin\AppData\Local\Programs\Python\Python38\lib\site-packages\nuitka\freezer\Standalone.py", line 509, in _detectEarlyImports
result = _detectImports(command=import_code, user_provided=False, technical=True)
File "C:\Users\admin\AppData\Local\Programs\Python\Python38\lib\site-packages\nuitka\freezer\Standalone.py", line 286, in _detectImports
for line in stderr.replace(b"\r", b"").split(b"\n"):
TypeError: replace() argument 1 must be str, not bytes

Seems very much impossible to happen, since the flavor was not detected, can you confirm this is CPython?

I am also suspecting, the locale might influence this. I see no way, that the process execution is not supposed to give bytes, where of course it wouldn't matter, but maybe you have something in environment variables, that affects Python here, such that it will produce str from a pipe, where bytes are normally given, but it looks very impossible, indeed.

Thanks , I tried rebuilding the environment in conda and it's working fine now. There should be some environmental influence, but not sure where the problem is.

I would appreciate if you could provide more information on what Python this originally was.  From the installation path, I would have said it might be a downloaded CPython, can you confirm? And maybe, I assume you are in Asia, correct me if I am wrong, you got something in site or usersite to make life easier or something like that. But possibly also a .pth file in the site-packages could do funny things. All of which, Nuitka ought to protect itself against well already. If it's not a CPython, I would love to know it better.

Closing for lack of feedback.

repo: Nuitka/Nuitka


text:
Cannot import file/folder as object

About
Now, many python developers use typing and find circular import error.
So we avoid this by import file/folder as object.
However, CPython allow this way but Nuitka not allow now.
Problem

Nuitka 0.6.5
Python: 3.6.7 64-bit
Windows x86_64

I try to compile with fastAPI and find error.
Traceback (most recent call last):
  File "C:\Users\nicert\PycharmProjects\bc4py\fast.dist\fast.py", line 1, in <module>
  File "C:\Users\nicert\PycharmProjects\bc4py\fast.dist\fastapi\__init__.py", line 7, in <module fastapi>
  File "C:\Users\nicert\PycharmProjects\bc4py\fast.dist\fastapi\applications.py", line 3, in <module fastapi.applications>
  File "C:\Users\nicert\PycharmProjects\bc4py\fast.dist\fastapi\routing.py", line 8, in <module fastapi.routing>
  File "C:\Users\nicert\PycharmProjects\bc4py\fast.dist\fastapi\dependencies\utils.py", line 23, in <module fastapi.dependencies.utils>
  File "C:\Users\nicert\PycharmProjects\bc4py\fast.dist\fastapi\utils.py", line 5, in <module fastapi.utils>
ImportError: cannot import name 'routing'

FastAPI use this technique to avoid circular imports. problem
Simple example
import_bug
├── __init__.py
├── a.py
└── b.py

# a.py
from import_bug import b
from typing import Optional

class A:
    def __init__(self):
        self.b: Optional[b.B] = None

    def set(self, new):
        self.b = new

# b.py
from import_bug import a
from typing import Optional

class B:
    def __init__(self):
        self.a: Optional[a.A] = None

    def set(self, new):
        self.a = new

# bugger.py
from import_bug.a import A
from import_bug.b import B

if __name__ == '__main__':
    a = A()
    a.set(B())
    print(a, a.b)

compile by
python -m nuitka --mingw64 -j 2 --show-progress  --show-scons --recurse-all --standalone bugger.py
error
Traceback (most recent call last):
  File "C:\Users\nicert\PycharmProjects\nicert\bugger.dist\bugger.py", line 1, in <module>
  File "C:\Users\nicert\PycharmProjects\nicert\bugger.dist\import_bug\a.py", line 1, in <module import_bug.a>
  File "C:\Users\nicert\PycharmProjects\nicert\bugger.dist\import_bug\b.py", line 1, in <module import_bug.b>
ImportError: cannot import name 'a'

I edit fastapi to work. I find another related bug of uvicorn (dependency of fastapi).
Generated program process is blocked without any errors and is out of control, .
On this code, they try to import uvicorn.protocols.http.auto by importlib
Example
app.py
hello.py

# app.py
import importlib
import hello
import uvicorn

def check_import(module_str):
    print("try to import", module_str)
    try:
        module = importlib.import_module(module_str)
    except ImportError as exc:
        if exc.name != module_str:
            raise exc from None
        message = 'Could not import module "{module_str}".'
        raise Exception(message.format(module_str=module_str))
    print("finish import", module)
    return module

if __name__ == '__main__':
    check_import("hello")
    check_import("uvicorn.protocols.http.auto")
    print("OK")

# hello.py
def nice():
    return "2"

compile
python -m nuitka --mingw64 -j 2 --show-progress  --show-scons --recurse-all --standalone --windows-icon=favicon.ico \
--nofollow-import-to=cryptography \
--nofollow-import-to=numpy \
--nofollow-import-to=gevent \
--nofollow-import-to=matplotlib \
--nofollow-import-to=IPython \
--nofollow-import-to=Cython \
--nofollow-import-to=setuptools \
--nofollow-import-to=distutils \
--run \
app.py

result
try to import hello
finish import <module 'hello' from 'C:\\Users\\jkdfh\\PycharmProjects\\bc4py\\app.dist\\hello.py'>
try to import uvicorn.protocols.http.auto
Traceback (most recent call last):
  File "C:\Users\jkdfh\PycharmProjects\bc4py\app.dist\app.py", line 21, in <module>
  File "C:\Users\jkdfh\PycharmProjects\bc4py\app.dist\app.py", line 12, in check_import
ModuleNotFoundError: No module named 'uvicorn.protocols'

But, no trouble on normal usage of importlib like example, only on uvicorn.

The uvicorn.protocols import issue may be related to a dependency not detectable by a source code parser. In which case we would need to extend a Nuitka plugin by another "implicit import" related to this package.
Let me verify this. You could also try adding an additonal follow import to it.

@namuyan - I was able to reproduce your error ModuleNotFoundError: No module named 'uvicorn.protocols' using the uvicorn provided example server.
After a bunch of new entries in Nuitka's implicit imports plugin, the standalone compile & run of that server worked.
I will upload the respective changes. If you want to shorten the feedback loop you can replace that plugin in your nuitka installation with this one:
ImplicitImports.zip
It lives in nuitka/plugins/standard.

Thank you for quick response!
It looks work by --plugin-enable=implicit-imports.
I remember that there is such a way.
https://github.com/namuyan/fastapi
https://github.com/namuyan/uvicorn
I have solved another way, just fork and edit like these.

@JorjMcKie I simply forwarded develop to your branch, but I guess this change is not yet there, right?

I am having the same problem with FastAPI. It appears to be a run-time problem with the way the 'from {module} import {sub-module}' statement behaves. It does not appear to be a compile time problem. I am seeing that the 'routing.py' submodule is being compiled and linked by Nuitka, but the program still complains that it is not able to find it at run-time.
I am also using Uvicorn and I can say that the problem with Uvicorn and the problem with FastAPI are not the same. The Uvicorn issue seems to be solved merely by using 'include-module' directives. This is my compile command:
python -m nuitka --standalone --follow-imports --show-progress --show-scons --show-modules --jobs=15 --include-module=uvicorn.logging --include-module=uvicorn.protocols.http --include-module=uvicorn.loops --include-module=uvicorn.lifespan --include-module=uvicorn.protocols.websockets uvicorn_test.py

However, neither the 'include-module' nor the 'include-package' directives are helpful in solving the FastAPI run-time issue. This is my compile command with FastAPI:
python -m nuitka --standalone --follow-imports --show-progress --show-scons --show-modules --jobs=15 --plugin-enable=implicit-imports --include-package=pydantic --include-package=fastapi --include-module=uvicorn.logging --include-module=uvicorn.protocols.http --include-module=uvicorn.loops --include-module=uvicorn.lifespan --include-module=uvicorn.protocols.websockets fastapi_test.py

This compiles fine and includes the 'fastapi.routing' submodule as demonstrated by the Nuitka and Scons output"
Nuitka:INFO:Included compiled module 'fastapi.routing'.

scons: building `fastapi_test.build/module.fastapi.routing.o' because it doesn't exist
gcc -o fastapi_test.build/module.fastapi.routing.o -c -fvisibility=hidden -std=c11 -fwrapv -fpartial-inlining -ffile-prefix-map=fastapi_test.build/static_src=/home/jmcateer/.local/share/dephell/venvs/nuitka_fastapi-7F4f/main/lib/python3.7/site-packages/nuitka/build/static_src -fno-var-tracking -O3 -pipe -D_NUITKA_STANDALONE -D_NUITKA_SYSFLAG_BYTES_WARNING=0 -D_NUITKA_SYSFLAG_NO_SITE=0 -D_NUITKA_SYSFLAG_VERBOSE=0 -D_NUITKA_SYSFLAG_UTF8=0 -D_NUITKA_SYSFLAG_OPTIMIZE=0 -D__NUITKA_NO_ASSERT__ -D_NUITKA_FROZEN=165 -D_NUITKA_MODULE_COUNT=730 -D_NUITKA_EXE -I/usr/include/python3.7m -I/usr/PC -Ifastapi_test.build -I/home/jmcateer/.local/share/dephell/venvs/nuitka_fastapi-7F4f/main/lib/python3.7/site-packages/nuitka/build/include -I/home/jmcateer/.local/share/dephell/venvs/nuitka_fastapi-7F4f/main/lib/python3.7/site-packages/nuitka/build/static_src fastapi_test.build/module.fastapi.routing.c

The object file also appears in the linker input at '@sources.tmp':

fastapi_test.build/module.fastapi.routing.o

However, when the program is run, it fails immediately on startup with the following error:

ImportError: cannot import name 'routing' from 'fastapi' (/home/jmcateer/Documents/nuitka_fastapi/fastapi_test.dist/fastapi/init.py)

@namuyan seems to have worked around this issue by modifying FastAPI. However, this is not an uncommon import pattern and modifying the upstream FastAPI library is not really a good option for me.

Any specific ideas about why this fails and run-time and how we could fix in Nuitka, versus modifying the compiled code?

The test code being compiled is attached.
[fastapi_test.zip](https://github.com/Nuitka/Nuitka/files/3898794/fastapi_test.zip)

This has been solved through a duplicate, cyclic name imports have been working for a while now.

source: gharchive/issue

authors: JorjMcKie justin0mcateer kayhayen namuyan

license_type: permissive

license_source: github-api


text:
Add "platforms" to the list of "sensible" qt-plugins (temporary fix for #299)

For qt-plugins, "platforms" plugin is needed not only on Windows, but also on Linux sometimes. Hence, it should be a part of the "sensible" plugin list - at least until we can figure out when is it not necessary (see #299).

I do not think #299 is all that relevant for this change, I would have it either way, simply because it makes sense. The relevancy of the issue is more in explaining why it ever worked for me, despite the strace approach with which I tried eliminate opening unwanted system files.

source: gharchive/pull-request

authors: dark-penguin kayhayen


text:
Does not work on macOS Unity Editor

I have not been able to get this tool to work on macOS editor. Is this issue known? Whenever I click on the Scriptable Object option in the menu, the popup menu does not show.
Unity Editor 2021.3.21f1
macOS Sonoma 14.0

Hello, bumping this with a new discovery. We discovered that it does not work on Windows in Unity 2022.3, our specific version is 2022.3.21f
I am hoping that this will be seen because this is a really good tool.

Guys, somebody make a commit pls, it's section exists for you to support the tool existence and usability. The project is shared over two years for now, i see it's visited and downloaded almost every day, WTF!
@burakomer!!! you have a team to work with, say them they'll be fired if they don't fix these issue ARRRHGHGHG!!! (also they can  buy a mac too)

btw it work fine on 2022.3.17f the text issue can be misleading
macOS problems can be related to an issue from https://github.com/NullTale/LutLight2D/pull/1 with line sep

@NullTale well, I fixed it myself today. It is not an exact fix, since I used EditorWindow.ShowModal instead of ShowPopup to show the PickerWindow. I specified it to only work that way if the Unity Editor is in macOS.
Would you like me to do a pull request?

ofc I like!!! you'll be in contributors to

but it must be platform specifiс to not break something (if I understand correctly, it's already there and this sh#t will be fixed)

authors: NullTale burakomer

repo: NullTale/SoCreator

license: MIT


text:
Call initializer with this

Problem:
class MyComponent extends Component {
  @deepTracked foo = this.args.foo;
}

results in error:
component.js:85 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'args')
    at initializer (component.js:85)

That is because initializer() is being invoked without context. This PR fixes it.

Thank yooouuuuu! 🎉

authors: NullVoxPopuli gossi

repo: NullVoxPopuli/ember-deep-tracked


text:
Uncaught TypeError: Cannot read property 'title' of undefined

Can anyone tell why query isn't working for some well-known properties like background-color and width. The code below produces output as: Uncaught TypeError: Cannot read property 'title' of undefined.
const caniuse = require('caniuse-api');
console.log(caniuse.getSupport('background-color'));

I've a plugin that uses caniuse-api and would like to support these css properties too - https://github.com/agauniyal/vscode-caniuse/issues/1#issuecomment-279461832. Are there any plans to support them in future?

If you search for background-color on Can I Use website, on scrolling a bit down you'll see - CSS 2.1 properties (well-supported subset) section. These are the properties which are neither grouped with existing ones(should be imo) nor show any compatiblity information.

repo: Nyalab/caniuse-api

license: mit

license_source: bigquery


text:
Credits for licensing usage

Add somewhere where we give credit to this usage https://commons.wikimedia.org/wiki/File:Router.svg#
and others like it
The credits
Under the following conditions:
attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
e. g. some tiny button left of the zoom buttons
Related to #41

Now bundled with #41

repo: NybyDK/MPLS-Simulation


text:
Slowness on Mac client

The connection is fine on windows but very very slow( not even usable) on Mac client. I did a search on google and it seems that the setting of MTU to 1400 will solve the situation.
Could this be added to the script to solve this situation?

If you think that you need to change it, feel free to try in your setup. Read the OpenVPN manual if you need assistance on how to do it.
The default value is good for most cases, so this doesn't need to be set in the script for everyone.

authors: Nyr haidixiansheng

repo: Nyr/openvpn-install


text:
OAuth2 implicit grant is not secure

This is a PR for all versions of OAI.
The IETF OAuth2 working group considers the OAuth2 implicit grant NOT to be secure.
Time has changed. Implicit grant was secure enough, but in 2024 it isn't .
Please see https://datatracker.ietf.org/doc/html/draft-ietf-oauth-security-topics.html
Technology has changed. For example, the way browsers treat fragments when redirecting requests has changed, and with it, the implicit grant's underlying security model.

https://datatracker.ietf.org/doc/html/draft-ietf-oauth-security-topics.html#section-2.1.2
In order to avoid these issues, clients SHOULD NOT use the implicit grant (response type "token") or other response types issuing access tokens in the authorization response, unless access token injection in the authorization response is prevented and the aforementioned token leakage vectors are mitigated.Clients SHOULD instead use the response type "code" (aka authorization code grant type)

This PR adds a security note whenever OAI markdown mentions implicit grant in definitions and examples
BTW: I wished that OAI would rely more on OpenId Connect because OIDC is the authentication framework on top of OAuth2. Whenever an API use requires user consent OIDC authorization code flow should be used.

This PR is also in line with OWASP security guidelines https://owasp.org/www-project-web-security-testing-guide/latest/4-Web_Application_Security_Testing/05-Authorization_Testing/05-Testing_for_OAuth_Weaknesses

Hi @AxelNennker Thank you for the submission. However, we do not make changes to published versions of the specification.  We could consider adding this to our 3.0.4 and 3.1.1 patch releases.
However, I'm not really sure we want to get into the business of providing security guidance.  API Keys are not secure either, neither is basic authentication.  OAuth client credentials are not secure from a desktop or mobile application.
Developers should not be relying on the OpenAPI specification to tell them how to build a secure API.

Well, OAS is very influential and an important source for developers and not everybody is reading security consideration of IETF or OIDF standards, or OAuth 2.0 Security Best Current Practice that recommends authorization code flow over implicit grant type.
OIDC is 10 years old and OAuth2 older. Technology has changed, and that something is standardized does not mean that it is a good idea to use it, because now there are better security standards like e.g. PKCE to protect against Cross Site Request Forgery.
OAS is like stackoverflow - very influential. And developers often copy example code from stackoverflow and OAS because developers want to get things done. Developers then often miss that the stackoverflow example does not take security into account because the point of the example is showing how something can be programmed. Security is too often left as an exercise to the reader.
I think OAS has an even bigger opportunity to help developers than Stackoverflow because in Stackoverflow everybody can add their bad example but in OAS the documentation is vetted by API experts.
I am grateful that OAS added openid connect support and oauth2 support. How to secure an API is very important, and OpenId and OAuth2 are the most commonly deployed authentication and authorization schemes.
Please add guidance for developers how to choose grant types and not to use implicit mode in 2024.

Developers should not be relying on the OpenAPI specification to tell them how to build a secure API.

Maybe add a note to the security considerations document that the appearance of a technology in the specification does not mean that its use is in accordance with best practices, or something like that?  (hmm... I should have looked at this before approving the other PR 🙃 )

@AxelNennker what you want might be more suitable for the security section of the learn site as there are endless topics that the specification could address, but making it too large makes it harder to digest.

Speaking as a co-editor of the OAuth Security Best Current Practice RFC draft: Examples are important and it would be great if the OAS examples were secure by default. That said, I have no clue what the process here is or if the proposed change is appropriate.

BTW: I wished that OAI would rely more on OpenId Connect because OIDC is the authentication framework on top of OAuth2. Whenever an API use requires user consent OIDC authorization code flow should be used.

User consent without OpenID Connect is perfectly fine.

Developers should not be relying on the OpenAPI specification to tell them how to build a secure API.

Maybe add a note to the security considerations document that the appearance of a technology in the specification does not mean that its use is in accordance with best practices, or something like that? (hmm... I should have looked at this before approving the other PR 🙃 )

Exactly, well said @handrews.   Overall I agree with @darrelmiller , but the spec SHOULD include some normative language, etc..etc. This is one reason I made the MoonWalk proposal of deprecating (optional) security schemes that are not a good idea.

@miqui the deprecation could even occurs in OAS 3.2 or meaning deprecation not beeing a breaking change, it provides an indication for the future non support (even if i am not sure it is the right direction as OAS is not here to dictate a way but to describe a way of doing)
but may be deprecation is even not a good idea , but rather a good narative

After discussion in today's TDC call, I've filed issue #3603 to follow up on this in the versions and documents that we can change now.  Closing this in favor of that issue.

authors: AxelNennker LasneF danielfett darrelmiller handrews miqui shilpa-padgaonkar

repo: OAI/OpenAPI-Specification


text:
Error writing target ALTO XML file

Using the workspace actevedef_718448162.first-page.ocrd_fileformat_fail.zip I get the following error:
% ocrd-fileformat-transform -I OCR-D-OCR-TESS -O TMP.$RANDOM
17:05:35.001 INFO ocrd-fileformat-transform - page --> alto: input file OCR-D-OCR-TESS_00000024 (PHYS_0024)
Error writing target ALTO XML file
cvc-length-valid: Value 'oͤ' with length = '2' is not facet-valid with respect to length '1' for type '#AnonType_CONTENTGlyphType'.
cvc-attribute.3: The value 'oͤ' of attribute 'CONTENT' on element 'Glyph' is not valid with respect to its type, 'null'.
cvc-length-valid: Value 'uͤ' with length = '2' is not facet-valid with respect to length '1' for type '#AnonType_CONTENTGlyphType'.
cvc-attribute.3: The value 'uͤ' of attribute 'CONTENT' on element 'Glyph' is not valid with respect to its type, 'null'.
cvc-length-valid: Value 'uͤ' with length = '2' is not facet-valid with respect to length '1' for type '#AnonType_CONTENTGlyphType'.
cvc-attribute.3: The value 'uͤ' of attribute 'CONTENT' on element 'Glyph' is not valid with respect to its type, 'null'.

[ ... more messages like the above ...]

cvc-attribute.3: The value 'aͤ' of attribute 'CONTENT' on element 'Glyph' is not valid with respect to its type, 'null'.
17:05:38.950 INFO ocrd-fileformat-transform - Successfully executed: ocr-transform page alto OCR-D-OCR-TESS/OCR-D-OCR-TESS_00000024.xml TMP.25711/TMP.25711_00000024.xml --
17:05:39.621 INFO ocrd.workspace.save_mets - Saving mets '/home/mike/devel/ocrd-galley/actevedef_718448162.first-page/mets.xml'

The file TMP.25711/TMP.25711_00000024.xml does not exist, so that Successfully executed is misleading ;-)
OCR-D-OCR-TESS was created using ocrd_tesserocr, so maybe there is a problem there too.

This looks like a bug in https://github.com/PRImA-Research-Lab/prima-page-converter. Guessing here, but perhaps the glyphs in question are NFD-normalized, i.e. combine two codepoints, which is wrongly interpreted to be two characters.
But I'll try to reproduce and make sure it's not an issue with UB-Mannheim/ocr-fileformat.

This looks like a bug in https://github.com/PRImA-Research-Lab/prima-page-converter. Guessing here, but perhaps the glyphs in question are NFD-normalized, i.e. combine two codepoints, which is wrongly interpreted to be two characters.
But I'll try to reproduce and make sure it's not an issue with UB-Mannheim/ocr-fileformat.

'uͤ' is always two codepoints, even in NFC, because there is no single codepoint to represent it
In [7]: len(unicodedata.normalize('NFC', 'uͤ'))
Out[7]: 2

In [8]: len(unicodedata.normalize('NFD', 'uͤ'))
Out[8]: 2

'uͤ' is always two codepoints, even in NFC, because there is no single codepoint to represent it
In [7]: len(unicodedata.normalize('NFC', 'uͤ'))
Out[7]: 2

In [8]: len(unicodedata.normalize('NFD', 'uͤ'))
Out[8]: 2

The first problem seems to be that ocr-transform does not return a proper error code:
% ocr-transform page alto OCR-D-OCR-TESS/OCR-D-OCR-TESS_00000024.xml TMP.25711/TMP.25711_00000024.xml; echo $?
Error writing target ALTO XML file
cvc-length-valid: Value 'oͤ' with length = '2' is not facet-valid with respect to length '1' for type '#AnonType_CONTENTGlyphType'.
cvc-attribute.3: The value 'oͤ' of attribute 'CONTENT' on element 'Glyph' is not valid with respect to its type, 'null'.
[ ... etc ... ]
0

The should not be 0!

The first problem seems to be that ocr-transform does not return a proper error code:
% ocr-transform page alto OCR-D-OCR-TESS/OCR-D-OCR-TESS_00000024.xml TMP.25711/TMP.25711_00000024.xml; echo $?
Error writing target ALTO XML file
cvc-length-valid: Value 'oͤ' with length = '2' is not facet-valid with respect to length '1' for type '#AnonType_CONTENTGlyphType'.
cvc-attribute.3: The value 'oͤ' of attribute 'CONTENT' on element 'Glyph' is not valid with respect to its type, 'null'.
[ ... etc ... ]
0

The should not be 0!

The first problem seems to be that ocr-transform does not return a proper error code:

We just pass on the return code of calling the JPageConverter.jar which seems to be a false success here.

The first problem seems to be that ocr-transform does not return a proper error code:

We just pass on the return code of calling the JPageConverter.jar which seems to be a false success here.

https://github.com/PRImA-Research-Lab/prima-page-converter/blob/master/src/org/primaresearch/dla/page/converter/PageConverter.java looks like JPageConvert never exits with an exit code.

https://github.com/PRImA-Research-Lab/prima-page-converter/blob/master/src/org/primaresearch/dla/page/converter/PageConverter.java looks like JPageConvert never exits with an exit code.

https://github.com/PRImA-Research-Lab/prima-page-converter/blob/master/src/org/primaresearch/dla/page/converter/PageConverter.java looks like JPageConverter.jar never exits with an exit code.

Ah, dang, I thought that was fixed as part of https://github.com/PRImA-Research-Lab/prima-page-converter/issues/16 - can you open an issue for this upstream pls?

https://github.com/PRImA-Research-Lab/prima-page-converter/blob/master/src/org/primaresearch/dla/page/converter/PageConverter.java looks like JPageConverter.jar never exits with an exit code.

Ah, dang, I thought that was fixed as part of https://github.com/PRImA-Research-Lab/prima-page-converter/issues/16 - can you open an issue for this upstream pls?

I will probably just fix it, i.e. submit a minimal PR, as it looks easy enough

I will probably just fix it, i.e. submit a minimal PR, as it looks easy enough

even better, obviously 👍

even better, obviously 👍

The ALTO conversion is rather important, so I think we should somehow improve this situation?

As workaround until https://github.com/PRImA-Research-Lab/prima-core-libs/issues/10 is resolved and we can contribute to upstream, we could catch the string "Error writing target ALTO XML file" and exit with non-zero return value. Would that help?

The ALTO conversion is rather important, so I think we should somehow improve this situation?

As workaround until https://github.com/PRImA-Research-Lab/prima-core-libs/issues/10 is resolved and we can contribute to upstream, we could catch the string "Error writing target ALTO XML file" and exit with non-zero return value. Would that help?

Because we would still have the issue of the failing conversion, I don't think it's worth the effort of just working around the error handling, IMHO

Because we would still have the issue of the failing conversion, I don't think it's worth the effort of just working around the error handling, IMHO

JPageConverter 1.5.05 (just released) seems to fix the conversion, so I submitted a PR to ocr-fileformat (https://github.com/UB-Mannheim/ocr-fileformat/pull/131).

@kba There is one thing I see that ocrd-fileformat-transform could do to mitigate these problems: Check if the target file was created and handle a missing target file as an error.

Check if the target file was created and handle a missing target file as an error.

Sure, can do.

The underlying issue is:

ocrd_tesserocr represents `` as one Glyph:

                    <pc:Glyph id="l9_word0012_glyph0000">
                        <pc:Coords points="1635,2853 1655,2853 1655,2894 1635,2894"/>
                        <pc:TextEquiv index="0" conf="0.981777420043945">
                            <pc:Unicode>aͤ</pc:Unicode>
                        </pc:TextEquiv>
                    </pc:Glyph>

While ocrd_calamari represents it as two Glyphs:

                    <pc:Glyph id="l9_word0012_glyph0000">
                        <pc:Coords points="2511,3682 2517,3682 2517,3738 2511,3738"/>
                        <pc:TextEquiv index="1" conf="0.996030032634735">
                            <pc:Unicode>a</pc:Unicode>
                        </pc:TextEquiv>
                    </pc:Glyph>
                    <pc:Glyph id="l9_word0012_glyph0001">
                        <pc:Coords points="2517,3682 2529,3682 2529,3738 2517,3738"/>
                        <pc:TextEquiv index="1" conf="0.976686894893646">
                            <pc:Unicode>ͤ</pc:Unicode>
                        </pc:TextEquiv>
                    </pc:Glyph>

While ocrd_calamari represents it as two Glyphs:

Because I had a related problem yesterday: A simple pattern to iterate over graphemes rather than characters is:
from regex import findall
for grapheme in findall('\X', 'aͤa'):
     print(grapheme, len(grapheme))

>>> aͤ 2
>>> a 1

Yeah, it's not yet clear to me which one is correct, because of subtle differences between grapheme( cluster)s, glyphs etc.
But that is a side quest, for now I think this issue can be closed, because

error handling in ocrd_fileformat seems to have been correct from the start and the culprit is prima-page-converter
mitigation of prima-page-converter not exiting with an error code is now implemented by checking if the output file exists.

https://github.com/OCR-D/ocrd_tesserocr/issues/171

authors: kba mikegerber


text:
chore: update primevue to 3.53

As mentioned in #101, for using the FloatLabel Component, the PrimeVue version needs to be >= 3.48. This PR updates PrimeVue to the newest version.
The theme didn't need to be changed, as it only got deprecated as it won't be avaivable in versions >= 4.0. I don't think we will have to upgrade to v4 anytime soon.

When I previewed the build, I noticed that the select all checkbox icon for the multiselect wasn't visible anymore, because the allSelected prop in the headercheckboxicon slot of the BaseMultiSelect component was undefined. I am not sure what caused this, because this prop is still in the latest version of the PrimeVue v3 documentation. Do you know what could cause this difference between dev and production?

You could the actual Component file in node_modules to find out what props exist and what not.

When I previewed the build, I noticed that the select all checkbox icon for the multiselect wasn't visible anymore, because the allSelected prop in the headercheckboxicon slot of the BaseMultiSelect component was undefined. I am not sure what caused this, because this prop is still in the latest version of the PrimeVue v3 documentation. Do you know what could cause this difference between dev and production?

You could the actual Component file in node_modules to find out what props exist and what not.

I use a prob to check if all items are selected anyways to set the label, so I used this prop as a workaround for now.

authors: jfrer paulpestov

repo: OCR-D/quiver-frontend


text:
Issues flashing Jetson Orin nano devkit with TEGRA_SIGNING_ARGS set and fused keys

Hello
Describe the bug
I have the exact same setup as this issue: https://github.com/OE4T/meta-tegra/issues/1639
i already opened an issue and the outcome was to fuse the keys and re-test https://github.com/OE4T/meta-tegra/issues/1674.
I am using Jetson Orin Nano 8GB devkit, with this option: TEGRA_SIGNING_ARGS set to the following
TEGRA_SIGNING_ARGS = "-u pkc.key -v sbk.key"

The keys are fused.
The official script l4t_initrd_flash.sh from Jetson Linux works with my keys so I suppose the fusing happened without issues and the keys are correct.
This is the logs:
using sudo ./doflash.sh
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands

[   0.0100 ] Parsing partition layout
[   0.0105 ] tegraparser_v2 --pt secureflash.xml.tmp
[   0.0119 ] Parsing partition layout
[   0.0122 ] tegraparser_v2 --pt secureflash.xml.tmp
[   0.0134 ] mb1_t234_prod_aligned_sigheader_encrypt.bin.signed filename is from --mb1_bin
[   0.0134 ] psc_bl1_t234_prod_aligned_sigheader_encrypt.bin.signed filename is from --psc_bl1_bin
[   0.0134 ] Boot Rom communication
[   0.0137 ] tegrarcm_v2 --new_session --chip 0x23 0 --uid --download bct_br br_bct_BR.bct --download mb1 mb1_t234_prod_aligned_sigheader_encrypt.bin.signed --download psc_bl1 psc_bl1_t234_prod_aligned_sigheader_encrypt.bin.signed --download bct_mb1 mb1_bct_MB1_sigheader_encrypt.bct.signed
[   0.0141 ] BR_CID: 0x80012344705DF11F2400000013028100
[   0.0405 ] Sending bct_br
[   0.0800 ] Sending mb1
[   0.0807 ] ERROR: might be timeout in USB write.
Error: Return value 3
Command tegrarcm_v2 --new_session --chip 0x23 0 --uid --download bct_br br_bct_BR.bct --download mb1 mb1_t234_prod_aligned_sigheader_encrypt.bin.signed --download psc_bl1 psc_bl1_t234_prod_aligned_sigheader_encrypt.bin.signed --download bct_mb1 mb1_bct_MB1_sigheader_encrypt.bct.signed

using sudo ./initrd-flash
Starting at 2024-08-23T18:03:47+02:00
Machine:       jetson-orin-nano-devkit-nvme
Rootfs device: nvme0n1p1
Found Jetson device in recovery mode at USB 1-1
== Step 1: Signing binaries at 2024-08-23T18:03:47+02:00 ==
== Step 2: Boot Jetson via RCM at 2024-08-23T18:03:48+02:00 ==
Found Jetson device in recovery mode at USB 1-1
./initrd-flash: line 191: ./rcm-boot.sh: No such file or directory
ERR: RCM boot failed at 2024-08-23T18:03:48+02:00

To Reproduce
Steps to reproduce the behavior:

Build meta-tegra branch 'scarthgap' (latest commit) with MACHINE set to 'jetson-orin-nano-devkit-nvme'
Set TEGRA_SIGNING_ARGS with -u pkc.key -v sbk.key
Build with bitbake image
Deploy to hardware with method tegraflash using sudo ./doflash.sh (or using sudo ./initrd-flash)
See logs above

Additional context
I checked USB connection, using PKC + SBK keys, I do not have logs in UART
The keys are fused.
The official script l4t_initrd_flash.sh from Jetson Linux works with my keys so I suppose the fusing happened without issues and the keys are correct.
Let me know if there is any way to debug

Hi @wavesid
Did you try to build without TEGRA_SIGNING_ARGS and flash your device with this command line $ sudo ./doflash.sh -u PKC.pem -v SBK.key ?

Yes if I build an image without TEGRA_SIGNING_ARGS set, both commands works without issues:
sudo ./initrd-flash -u PKC.pem -v SBK.key and sudo ./doflash.sh -u PKC.pem -v SBK.key

@wavesid  thanks for your quick feedback. I need to investigate that.I tried the Orin AGX devkit and it does work perfectly. I mean signing at build time and post build. Both methods works fine.
@madisongh Could you please share your thoughts ?
@wavesid is able to flash his device when signing/encrypting images/binaries post build. with the following command
$ sudo ./doflash.sh -u PKC.pem -v SBK.key

However, the signing at build time doesn't work when using jetson-orin-nano-devkit-nvme.

If it works when directly flashing, but not when signing during the build, then my bet would be on some difference between the default FAB/BOARDSKU/etc. settings we have for the machine vs. the actual ones being reported during the flashing process.

@wavesid Any update about this issue ?
Were you able to check the variables mentioned by @madisongh ?

Could be the issue I mentioned in #1668

Hello,
[   0.0800 ] Sending mb1
[   0.0807 ] ERROR: might be timeout in USB write.
Error: Return value 3

I had the same issue because of USB autosuspend. Run the following command to disable usb autosuspend.
echo -1 >  /sys/module/usbcore/parameters/autosuspend
I'm not sure it will solve your issue, but I hope it helps :)

I will perform some more tests this week and keep you updated
Thanks

authors: ichergui madisongh tgagneret-embedded wavesid


text:
Feature/jaxi support

This pull request adds support for the Jetson AGX Xavier Industrial module. The configuration files are added for the Industrial variant, required binary files, and the generation of the badpage.bin file (in tegra-bootfiles.bb).
The generation of badpage.bin originates from the original flash.sh file from NVIDIA.
I tested this on a Jetson AGX Xavier module (devkit) and the Jetson AGX Xavier Industrial module (on devkit carrier).

Yeah, I added the binary first as well, but I think this is more neat, and it follows the approach of NVIDIA

Thank you for adding this @JoostBaars! We've been waiting on internal approval to create a PR, but unfortunately these things take time. This will help a lot of folks going forward.

@JoostBaars Could you please add Signed-off-by to your commit ?
Please refer to our CONTRIBUTING documentation

lgtm, ty for your help!

Thanks for reviewing everyone!

authors: JoostBaars gsally-sarcos ichergui plyons72


text:
如何使用指定數據集進行訓練

您好：
请问如何使用指定数据集进行训练，如指定coco其中两类别(如airplane、bicycle)进行训练
再使用测试集进行图片描述生成？
感谢您。

Check our README about how to finetune. We provide tutorials about how to process your own data.

repo: OFA-Sys/OFA


text:
vision and audio

Hi, thanks for your work, really nice one!
Excuse me, I want to fine-tune the visual and audio, what should I do it

@Ranking666 What specific task do you want to fine-tune? Can you describe it?

repo: OFA-Sys/ONE-PEACE


text:
[Bug] v3: Segmentation flipped

Describe the Bug
v2: https://viewer.imaging.datacommons.cancer.gov/viewer/1.3.6.1.4.1.32722.99.99.99748660999232950779348544769645328227

v3:
https://ohif-v3.web.app/viewer?StudyInstanceUIDs=1.3.6.1.4.1.32722.99.99.99748660999232950779348544769645328227

Steps to Reproduce
Click the links above.
The current behavior
Segmentation orientation appears to be incorrect (or at least inconsistent vs v2).
The expected behavior
v3 shows the same segmentation consistently with v2
OS
macOS
Node version
n/a
Browser
Chrome

As a side note - how do I know in v3 UI which of the SEG series I currently see in the viewport?

@fedorov, I tried to click the links above but was denied access.

@jbocce please confirm if you had denied access for the first link - that one should be public. The second one is expected to not be accessible.
You can download the study in question by installing s5cmd and running the command below passing in the manifest attached here:
s5cmd --no-sign-request --endpoint-url https://s3.amazonaws.com run ./manifest.csv
manifest.csv
For those interested, the study in question is located in Imaging Data Commons. The manifest file was created by running the following query in BigQuery, which maps the DICOM StudyInstanceUID that can be seen in the URL to the locations of the AWS bucket folders containing the series included in that study:
WITH
  series_folders AS (
  SELECT
    DISTINCT(CONCAT("s3://",SPLIT(aws_url,'/')[2],'/',SPLIT(aws_url,'/')[3])) AS series_folder
  FROM
    `bigquery-public-data.idc_current.dicom_all`
  WHERE
    StudyInstanceUID = "1.3.6.1.4.1.32722.99.99.99748660999232950779348544769645328227" )
SELECT
  CONCAT("cp ", series_folder,"/* .") as manifest_cp_command
FROM
  series_folders

Thank you so kindly @fedorov. It was the second link I was denied for and the first one I can access.
Thank you for all the information you provided which helped me reproduce the problem so that it can be triaged appropriately.
Thanks once again.

We encountered this error when converting TotalSegmentator NIFTI output to DICOM SEG files and displaying them in the OHIF viewer.

The converted DICOM SEG images were LAS oriented, while the source CT series were LPS oriented.
In v2, DICOM SEG displayed correctly for the combination (SEG -> LAS, CT -> LPS).
However, in v3, it did not display correctly for this case (SEG -> LAS, CT -> LPS).
We fixed this issue by changing the orientation of our DICOM SEG images to LPS, which is the same as the source CT images.
After the orientation change, the DICOM SEG displays correctly in v3 (and in v2).

Thanks for the debugging info. This is already fixed in Cornerstone3D and I need to create a PR for it here

authors: fedorov hajrudinco jbocce sedghi

repo: OHIF/Viewers


text:
fixing date format when sorting

What
When sorting for date at the home page, the second time was transforming the formatted date to invalid date.
Why
It was failing the sorting for date because of invalid date

It looks like that in order to use sort with map we need to Convert Map to an array using Array.from, sort array, convert back to Map. I decided to split the map from the sort and it is working properly now.

Sorting works only for the current page since it is sorted in client. We will need to sort with qido request.


text:
Update tests/dcerpc fixes2 rebased

Rebased version of https://github.com/OISF/suricata-verify/pull/728 to get CI running

Merged. Thanks!

authors: catenacyber jasonish

repo: OISF/suricata-verify


text:
md-tooltip

You should remove the md-tooltip tag in the template of the directive, it make the app so slowly.

Yes we know. This is a bug introduced by angular-material. md-menu does not work together with md-tooltip anymore. I created an issue on their GitHub page:
https://github.com/angular/material/issues/6662
Unfortunately they moved it into their backlog. We will fix the problem ASAP.
Thanks for creating the issue!

Thanks !!

@mbx2015 tooltips are now disabled by default. You can enable them with the flag show-tooltips

Appreciating your interaction, thanks.

repo: ONE-LOGIC/md-color-menu


text:
Operator randomuniform Needs review

use  ./test/unittests/test_operator_randomuniform to print the result

Duplicated with randomuniform branch

authors: LuisHsu iknowright

repo: ONNC/onnc-runtime


text:
Improve typography for links

Improves typography for links for browsers that support this feature.
See the results for all links including collapsible, accordion etc...
Closes #1306

 Improve typography rendering of links for modern browsers

 Improve typography rendering of links for modern browsers

repo: ONSdigital/design-system


text:
Fix layout of mutually exclusive when its wrapped in a question component

Will resolve #423

  When used within a question component, the mutually exclusive checkbox is not the correct width


text:
DIGEQ-57 add enable justification checkbox

What
Add a checkbox in enable justification of answers in the survey runner. A justification can only be provided if a warning message is shown. Therefore this field is disabled if the user selects 'error' as the 'validation failure type'. By default the checkbox is unchecked even if the user selects 'warning' as the 'validation failure type'.
How to test

Check out this branch
Add a new survey and add a questionnaire to that survey
On the questionnaire builder page add a text question and numeric question
In the validation rules, set the error type to 'warning'
Enable the justification checkbox
Set the error type to 'error'
7 Check that the justification checkbox is unchecked.

Who can review
Anyone apart from @warren-methods

Functionally this looks good; however I checked with the product team if they ever could consider an occasion when a survey author would create a validation rule that performs a "Soft" check and not want a justification; they couldn't think of one. I think we should amend this to always add a justification flag if a validation has a soft flag. I presume (rightly or wrongly) that a user can give a null justification (i.e. leave it blank?)

If that's the case then we don't need this at all. We can display the justification text box on the survey runner if the error type is warning.

We don't need this, we can just use the validation type field

authors: dhilton warren-methods

repo: ONSdigital/eq-author


text:
Create tab to submit SEFT surveys for testing

What? and Why?
https://trello.com/c/SayU5JBT/413-add-functionality-to-test-sdx-seft-consumer-service-using-sdx-console
There was no way before to test SEFT surveys.  This PR adds a tab to submit excel files, have them go through sdx-seft-consumer-service and end up in the FTP server.
Note: To test this, any excel file will do.  The consumer service doesn't care about the contents as long as it's a valid file.
Checklist

[ ] CHANGELOG.md updated? (if required)

Where would i get my hands on a SEFT excel file?

@insacuri are the SEFT uploads not visible in the FTP tab on the console?

@jonnyshaw89 I updated the comment at the top to mention that any excel file will work.
Also I hadn't thought about the FTP tab, I'll get that added

I just took a look and creating a tab will be tricky as SEFT surveys go into a folder based on their survey_id.  It can work in dev as we're hard coding the survey_id, but in preprod/prod, it wouldn't work.
We'll leave the feature for now as this was a low priority bit of work anyway, and can make a card for it if it ever becomes a pain point in the future

@insacuri can you squash?

repo: ONSdigital/sdx-console


text:
Fix fpgabist for PAC regressions

The Vista Creek (VC) merge left fpgabist broken when used with Darby Creek
regressions. The new VC bist code hard-wired the device ID of Rush Creek and
promoted device ID handling so that it had to match the board, even when a
full BDF was supplied.
The changes here:

Demote --device-id so it is just one of the components in the search for a board.
The default value is None. The new algorithm looks for all available FPGAs on the
host and then filters them using the supplied BDF and device ID. The test can run
as long as the filter matches a single FPGA.

Cherry pick a few changes from the DC branch.

Repair the non-trivial merge of the DC and the VC changes.

Fix nlb0 clock frequency discovery. It was reporting in correct performance.

Test state: http://sw-pert.altera.com/pert/pert.php?test_run_id=3698500
DMA doesn't compile yet due to Qsys, which accounts for a number of the failures.

Coverage remained the same at 78.744% when pulling de1d64b32f7f07cc007b15466c829651e68dd906 on mcadler/bist_vm into 2e966be8595dd2a274386f06e52eb0d3a406e1ef on master.

authors: coveralls michael-adler

repo: OPAE/opae-sdk


text:
Camel case of entity values

The values of the entity modbus term follow camel case style (also see https://w3c.github.io/wot-binding-templates/bindings/protocols/modbus/index.html#entity).
Please change
"modbus:entity": "holdingregister",
to
"modbus:entity": "HoldingRegister",

Fixed with https://github.com/OPCFoundation/UA-EdgeTranslator/commit/33dfc57d153f1b2c5f15ba129f53748671fad37d

authors: barnstee sebastiankb

repo: OPCFoundation/UA-EdgeTranslator


text:
DocsArchive-15.0.0.0Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target/pull/1026 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target.git

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

File
Status
Preview URL
Details

:x:Error

Details

[Error: RepositoryUnauthorizedWithSourceCommit] Git data access to 'https://github.com/opstest2/docs-archive-test-source' (branch: Release_Archive_main_2022-02-10-02-04-41) is not authorized.. It looks like this might be the first time user: v-alji submitted a pull request to this repo. Before user can run builds in a pull request, he/she can enable 'v-alji' GitHub account in Docs by visiting Docs Portal (https://ops.microsoft.com). After enabling his/her account (v-alji), close and then reopen this pull request to start another build.

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


text:
DocsArchive-15.0.0.0Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_beb6fe55-3db8-4d0b-b720-deb4d0aa7fc0/pull/1 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target_beb6fe55-3db8-4d0b-b720-deb4d0aa7fc0.git

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

File
Status
Preview URL
Details

:x:Error

Details

[Error: RepositoryUnauthorizedWithSourceCommit] Git data access to 'https://github.com/opstest2/docs-archive-test-source-1' (branch: Release_Archive_main_2022-02-10-09-41-18) is not authorized.. It looks like this might be the first time user: v-alji submitted a pull request to this repo. Before user can run builds in a pull request, he/she can enable 'v-alji' GitHub account in Docs by visiting Docs Portal (https://ops.microsoft.com). After enabling his/her account (v-alji), close and then reopen this pull request to start another build.

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


text:
DocsArchive-15.0.0.0Auto archive content

Auto archive content from https://github.com/opstest2/docs-archive-test-source.git

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

File
Status
Preview URL
Details

:x:Error

Details

[Error: RepositoryUnauthorizedWithSourceCommit] Git data access to 'https://github.com/opstest2/docs-archive-test-target' (branch: Release_Archive_main_2022-01-25-04-43-22) is not authorized.. It looks like this might be the first time user: v-alji submitted a pull request to this repo. Before user can run builds in a pull request, he/she can enable 'v-alji' GitHub account in Docs by visiting Docs Portal (https://ops.microsoft.com). After enabling his/her account (v-alji), close and then reopen this pull request to start another build.

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


text:
DocsArchive-15.0.0.0Auto archive content

Auto archive content from https://github.com/opstest2/docs-archive-test-source.git

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

File
Status
Preview URL
Details

:x:Error

Details

[Error: RepositoryUnauthorizedWithSourceCommit] Git data access to 'https://github.com/opstest2/docs-archive-test-target' (branch: Release_Archive_main_2022-03-14-02-04-02) is not authorized.. It looks like this might be the first time user: v-alji submitted a pull request to this repo. Before user can run builds in a pull request, he/she can enable 'v-alji' GitHub account in Docs by visiting Docs Portal (https://ops.microsoft.com). After enabling his/her account (v-alji), close and then reopen this pull request to start another build.

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


text:
Add setting for Forum Bot ID and Editing Forum ID in config.php

The implementation for the Request an Edit feature used a hard-coded number for the forum and the user to post the thread as. These should be put into config.php.

Done in fa8a3a595647142ef1eb2668976e2769af733b7e and c247cf916e6d46fa8d712057c7334835d2954a2d

repo: OPSnet/Gazelle

license: Unlicense


text:
Add warning about using partition as user-defined attribute in app forms

Modify this link to include the branch name, and possibly the page this PR modifies:
https://osc.github.io/ood-documentation-test/develop/how-tos/app-development/interactive/form.html
Add your description here
This is an attempt to fix #707
Maybe the explanation is not totally accurate, I was not sure about how much detail to put in the warning.
Even if there is a section that already mentions how to define partitions having the explicit warning might help some other users. Would it make sense to re-issue the warning in the that section too ?

Thanks!

authors: i-mtz johrstrom

repo: OSC/ood-documentation


text:
New Updated navbar for all pages

I have updated all navbars in other pages and also maintained a spacing as you have said earlier.
Also created a root to maintain all colors so that in future I can update white theme as well.

chapter
before

After

Hey @Git21221 , there are few conflicts in your commit through which we won;;t be able to merge , can u pls pull the repo properly and then make required changes:)

repo: OSCode-Community/OSCodeCommunitySite


text:
Minor typo in output

In the output during a mysql audit:
[1/1] Module: mysql. 7 rule(s).  4 rule(s) succeded. [VULNERABLE]

"Succeeded" is missing an e.
I'd fix it myself, but I figure you are rooting around in there already so it will be easier for you to fix it while resolving some other issues. If you don't get to it before release I will deal with it.

Fixed.

repo: OSSIndex/DevAudit


text:
Few missing steps in the manual install

Install grunt with:
npm install -g grunt
Install required packages on Ubuntu with:
apt-get install nodejs npm mongodb
Fix Ubuntu's node name change
sudo ln -s /usr/bin/nodejs /usr/bin/node

Even after all of that, I got it started, but when I tried to register a new user, it crashed.  Any ideas:
npm start

owasp-nodejs-goat@1.3.0 start /var/www/html
node server.js

Connected to the database: mongodb://localhost:27017/nodegoat
Express http server listening on port 4000
welcome: Unable to identify user...redirecting to login
/var/www/html/node_modules/mongodb/lib/utils.js:98
process.nextTick(function() { throw err; });
^
TypeError: Cannot read property 'seq' of null
at /var/www/html/app/data/user-dao.js:131:42
at handleCallback (/var/www/html/node_modules/mongodb/lib/utils.js:96:12)
at /var/www/html/node_modules/mongodb/lib/collection.js:2390:14
at handleCallback (/var/www/html/node_modules/mongodb/lib/utils.js:96:12)
at /var/www/html/node_modules/mongodb/lib/db.js:308:5
at commandCallback (/var/www/html/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:1161:9)
at Callbacks.emit (/var/www/html/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:119:3)
at null.messageHandler (/var/www/html/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:295:23)
at Socket. (/var/www/html/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:285:22)
at Socket.EventEmitter.emit (events.js:95:17)
npm ERR! weird error 8
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm ERR! not ok code 0

Before starting the server, did you populate DB with seed data by running this grunt task
grunt db-reset:development

I'm having the same issue on a Debian 8 machine.grunt db-reset:development is failing to create a counters collection.
Manually inserting a counters collection allows you to insert new users.

I edited db-reset.js to insert counters as follows:
var counter = {_id:"userId", seq:3};     countersCol = db.collection("counters").insertOne(counter, function(err, result) {         parseResponse(err, result, "counter.insert");     });
I don't understand the results at all.
Here's output from when this code does not insert counters properly:

Running "db-reset:development" (db-reset) task
Connected to the database: mongodb://localhost:27017/nodegoat
Users to insert:
{"_id":1,"userName":"admin","firstName":"Node Goat","lastName":"Admin","password":"Admin_123","isAdmin":true}
{"_id":2,"userName":"user1","firstName":"John","lastName":"Doe","benefitStartDate":"2030-01-10","password":"User1_123"}
{"_id":3,"userName":"user2","firstName":"Will","lastName":"Smith","benefitStartDate":"2025-11-30","password":"User2_123"}
users.insertMany
{"result":{"ok":1,"n":3},"ops":[{"_id":1,"userName":"admin","firstName":"Node Goat","lastName":"Admin","password":"Admin_123","isAdmin":true},{"_id":2,"userName":"user1","firstName":"John","lastName":"Doe","benefitStartDate":"2030-01-10","password":"User1_123"},{"_id":3,"userName":"user2","firstName":"Will","lastName":"Smith","benefitStartDate":"2025-11-30","password":"User2_123"}],"insertedCount":3,"insertedIds":[1,2,3]}
Allocations to insert:
{"userId":1,"stocks":28,"funds":2,"bonds":70}
{"userId":2,"stocks":9,"funds":33,"bonds":58}
{"userId":3,"stocks":21,"funds":26,"bonds":53}
counter.insert
{"ok":1,"n":1}
allocations.insertMany
{"result":{"ok":1,"n":3},"ops":[{"userId":1,"stocks":28,"funds":2,"bonds":70,"_id":"576857b47b2cb99f0bca9069"},{"userId":2,"stocks":9,"funds":33,"bonds":58,"_id":"576857b47b2cb99f0bca906a"},{"userId":3,"stocks":21,"funds":26,"bonds":53,"_id":"576857b47b2cb99f0bca906b"}],"insertedCount":3,"insertedIds":["576857b47b2cb99f0bca9069","576857b47b2cb99f0bca906a","576857b47b2cb99f0bca906b"]}

And here's output from when it ran properly after dropping the db and running the command once more:

Running "db-reset:development" (db-reset) task
Connected to the database: mongodb://localhost:27017/nodegoat
Users to insert:
{"_id":1,"userName":"admin","firstName":"Node Goat","lastName":"Admin","password":"Admin_123","isAdmin":true}
{"_id":2,"userName":"user1","firstName":"John","lastName":"Doe","benefitStartDate":"2030-01-10","password":"User1_123"}
{"_id":3,"userName":"user2","firstName":"Will","lastName":"Smith","benefitStartDate":"2025-11-30","password":"User2_123"}
users.insertMany
{"result":{"ok":1,"n":3},"ops":[{"_id":1,"userName":"admin","firstName":"Node Goat","lastName":"Admin","password":"Admin_123","isAdmin":true},{"_id":2,"userName":"user1","firstName":"John","lastName":"Doe","benefitStartDate":"2030-01-10","password":"User1_123"},{"_id":3,"userName":"user2","firstName":"Will","lastName":"Smith","benefitStartDate":"2025-11-30","password":"User2_123"}],"insertedCount":3,"insertedIds":[1,2,3]}
Allocations to insert:
{"userId":1,"stocks":28,"funds":2,"bonds":70}
{"userId":2,"stocks":9,"funds":33,"bonds":58}
{"userId":3,"stocks":21,"funds":26,"bonds":53}
counter.insert
{"ok":1,"n":1}
allocations.insertMany
{"result":{"ok":1,"n":3},"ops":[{"userId":1,"stocks":28,"funds":2,"bonds":70,"_id":"576857b47b2cb99f0bca9069"},{"userId":2,"stocks":9,"funds":33,"bonds":58,"_id":"576857b47b2cb99f0bca906a"},{"userId":3,"stocks":21,"funds":26,"bonds":53,"_id":"576857b47b2cb99f0bca906b"}],"insertedCount":3,"insertedIds":["576857b47b2cb99f0bca9069","576857b47b2cb99f0bca906a","576857b47b2cb99f0bca906b"]}

Note: @bencarothers  and I were working on getting the app to run together. We were running on a 32-bit debian jessie.
I tried to reproduce the issue on my Mac just now, running the same version of node and npm and could not - original script works with no changes. Seems to be architecture dependent.

@bencarothers @SJCaldwell Thanks for reporting the issue and helping in troubleshoot it. I will try it on a 32-bit debian jessie instance to know what is causing the counters not insert properly.

Is this one still waiting on you @ckarande ? Does something need to be tested here?

Looks like the script works. I am closing the issue. Please comment or reopen if any more details.

authors: SJCaldwell bencarothers binarymist ckarande meeas

repo: OWASP/NodeGoat


text:
Default Issue type

Hello,
Could you please remove the max_length of Jira issue type? Right now is set up to 9 without any reason :)
It would be awesome if you can implement adding custom Jira issue type.
Thanks!

investigating as part of Dojo Summit

authors: bartosznaumowicz-olx devGregA

repo: OWASP/django-DefectDojo


text:
Bug: Error running rails db:setup on a fresh install

Running rails db:setup returns an error.
🐞 Problem

I performed a fresh clone, bundle install, and subsequent rails db:setup and received the following error:

rails aborted!
FrozenError: can't modify frozen String: "railties_load_path="
/Users/joelbrewer/Repos/railsgoat/config/application.rb:4:in require' /Users/joelbrewer/Repos/railsgoat/config/application.rb:4:in <top (required)>'
/Users/joelbrewer/Repos/railsgoat/Rakefile:5:in require_relative' /Users/joelbrewer/Repos/railsgoat/Rakefile:5:in <top (required)>'
script/rails:7:in require' script/rails:7:in '

Steps to reproduce:

git clone
bundle install
rails db:setup

💡 Possible solutions

I have a feeling this could be a ruby/rails version issue (I noticed the Ruby version was recently upgraded).

What version of ruby are you using?

Using rbenv -- this was the only 2.7.0 version available.

I use rvm with .rvmrc: rvm use 2.7.0-preview1@ruby2.7-rails6.0 --create

Got it - I'll try using rvm 👍

Any update on.  This has been a nightmare to install on a fresh ubuntu instance and docker.

@treprime are you using RVM as noted above?

@cktricky  I managed to get it working.  Steps below

Install ruby and ruby-build
 sudo apt-get install ruby \
 ruby-build -y

Install mysql
  sudo apt-get install mysql-server \
  mysql-client \
  libmysqlclient-dev

Install rvm (ruby version manager)
  curl -sSL https://get.rvm.io | bash -s stable

source the directory
  source ~/.rvm/scripts/rvm

Install the bundler
  gem install bundler

install the required version of ruby for the project
  rvm install bundler:2.1.0.pre.1

Clone railsgoat
  git clone https://github.com/OWASP/railsgoat.git
  cd railsgoat

Install ruby 2.7 preview
  rvm install "ruby-2.7.0-preview1"

Install the bundles
  bundle install

Setup the database
  bundle exec rake db:setup

Start the server
  bundle exec rails server

Open a browser and navigate to http://localhost:3000

Thank you @tre-island. I think I need to try and build this on a fresh ubuntu install to see what we could improve on our end.

authors: cktricky jasnow joelbrewer treprime

repo: OWASP/railsgoat


text:
Add an interface for creating editig, assigning  and deleting, roles and permissions

Hi All
I'm a very beginner in PHP RBAC, and I'd like to see in the next release an interface (GUI) to add, edit, delete, roles and permissions, and also assigning roles to a user's table that I choose in config.php, and maybe display a hierarchy af roles and permissions, because  the demo does'nt work for other users just for root.
Thank you in advance
Best regards
Zak

Hi Zak,
Thanks for the feedback.
That actually is planned for the next release!

Notice: This message is digitally signed, its source and integrity are verifiable.
If you mail client does not support S/MIME verification, it will display a file (smime.p7s), which includes the X.509 certificate and the signature body.  Read more at Certified E-Mail with Comodo and Thunderbird http://abiusx.com/certified-e-mail-with-comodo-and-thunderbird/ in AbiusX.com

On Jul 26, 2015, at 2:37 AM, kamilmedia notifications@github.com wrote:
Hi All
I'm a very beginner in PHP RBAC, and I'd like to see in the next release an interface (GUI) to add, edit, delete, roles and permissions, and also assigning roles to a user's table that I choose in config.php, and maybe display a hierarchy af roles and permissions, because the demo does'nt work for other users just for root.
Thank you in advance
Best regards
Zak
—
Reply to this email directly or view it on GitHub https://github.com/OWASP/rbac/issues/72.

@abiusx Yes, a visualization to the tree is desired, the lefts and rights driving me crazy..:)

can you upload a simple Interface?

A simple interface for what?

On May 25, 2016, at 5:33 PM, derBoehm notifications@github.com wrote:
can you upload a simple Interface?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub https://github.com/OWASP/rbac/issues/72#issuecomment-221714510

create roles (add permissions to roles) with a HTML GUI.
http://www.sawmill.net/sawmilltmp/picts/docs/english/tech_manual/roles1.png

Oh that is the next step on our TODO list. Unfortunately I do not have the time at the moment, and other collaborators are not active.
The infrastructure is all there, it just needs addition of a CSS/JS Tree GUI library, plenty of which are available, and testing.

On May 25, 2016, at 6:38 PM, derBoehm notifications@github.com wrote:
create roles (add permissions to roles) with a HTML GUI.
http://www.sawmill.net/sawmilltmp/picts/docs/english/tech_manual/roles1.png x-msg://478/url
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub https://github.com/OWASP/rbac/issues/72#issuecomment-221728730

Can you send/Upload what you have? I don't need the JS/CSS part coz i do it on my own plus i can send it back if you like it you can have it. I think you know your Code better and I would save some time

Unfortunately I do not have any production ready code. The one that I used before, used a  to list all roles as a tree, and let you select those who you want to assign.

On May 25, 2016, at 7:47 PM, derBoehm notifications@github.com wrote:
Can you send/Upload what you have? I don't need the JS/CSS part coz i do it on my own plus i can send it back if you like it you can have it. I think you know your Code better and I would save some time
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub https://github.com/OWASP/rbac/issues/72#issuecomment-221740347

hmm well it's a start and i can see how this works.
would be nice if you can share it

This is the the latest I could fine. The code is more than 5 years old, take a peak first to see if its any good!

On May 25, 2016, at 8:05 PM, derBoehm notifications@github.com wrote:
hmm well it's a start and i can see how this works.
would be nice if you can share it
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub https://github.com/OWASP/rbac/issues/72#issuecomment-221743327

thank you but i cant find the code in your answer :)

https://github.com/abiusx/jframework/blob/master/_japp/view/default/rbac/addrole.php https://github.com/abiusx/jframework/blob/master/_japp/view/default/rbac/addrole.php

On May 25, 2016, at 8:16 PM, derBoehm notifications@github.com wrote:
thank you but i cant find the code in your answer :)
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub https://github.com/OWASP/rbac/issues/72#issuecomment-221744925

perfekt ty 👍

authors: abiusx derBoehm kamilmedia nextglory

repo: OWASP/rbac


text:
Fine-ite

Ensure that floats are finite or else encode as null. This means there's no way to distinguish null/NaN/Inf/-Inf in the response data. It's impossible for me to know if this affects the UI or research code using the API in a negative way though, but it could be a partial fix for #44

Looks ok. I do not know of anything that can be badly effected.

authors: BengtRydberg local-minimum

repo: Odin-SMR/odin-api


text:
Cannot run handleTeamsTaskModuleFetch in bot-task-module

I am testing the node sample. The comment on line 24 of teamsTaskModuleBot.js says that "When any of the options are selected, handleTeamsTaskModuleFetch is called", but the function does not seem to run when I select any option. None of the console logs I've added within the function are displayed.
This was tested using the bot framework emulator V4. Let me know if any other information is needed.

@akshay-gadkari - Thanks for reporting your issue. We will test this and update you soon.

When running in teams, I ran into a different issue. this.onMessage doesn't work, even though the bot runs and I can send messages to it in chat. It never gets to run handleTeamsTaskModuleFetch.

@akshay-gadkari - We are facing some issues while testing. We will update you soon.

Yes, this is still a problem when I use the debugger to test in Teams client. As a workaround, I've created a separate function to listen for turnContext.activity and respond based on the values there.
Is there any specific code that causes handleTeamsTaskModuleFetch to run? If I can check that, it might make debugging easier for me.

Hello @akshay-gadkari - These methods are specific to Teams client and can't be invoked/tested from bot emulator.
We will still check with engineering team and let you know the updates.

I'm not currently testing with the bot framework emulator, but the VS Code debugger which opens Teams in a browser. If I test with the debugger, will I have the problem as using the emulator?

@akshay-gadkari - We have tested this with VS Code debugger in Teams web browser. You will not get the same problem as emulator when you will test this with VS Code debugger which opens Teams in browser.

We are closing this issue for now, please feel free to reopen it, if required.

repo: OfficeDev/Microsoft-Teams-Samples


text:
[Outlook] (sample) Smart Alerts using soft block and hard block on-send options

Q
A

Bug fix?
no

New feature?
yes

New sample?
yes

Related issues?
N/A

What's in this Pull Request?
This sample uses Outlook Smart Alerts to verify that required color categories are applied to a new message or appointment before it's sent. Specific keywords detected in the subject or body of the item determine the required categories. If no categories or only some of the required categories are applied to the message or appointment, the add-in blocks the item from being sent and alerts the user to apply the missing categories. The user can apply categories to the item from the add-in task pane.

Yes, we don't use that large bold "pipe" (a ?>? in markdown) to indicate the second line of a procedure. Just manually format the indents. (I use 4 spaces)
From: Sam Ramon @.>
Sent: Monday, May 9, 2022 3:04 PM
To: OfficeDev/Office-Add-in-samples @.>
Cc: Linda Lu Cannon @.>; Mention @.>
Subject: Re: [OfficeDev/Office-Add-in-samples] [Outlook] (sample) Smart Alerts using soft block and hard block on-send options (PR #310)
@samantharamon commented on this pull request.

In Samples/outlook-check-item-categories/README.mdhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FOfficeDev%2FOffice-Add-in-samples%2Fpull%2F310%23discussion_r868515446&data=05|01|Linda.Cannon%40microsoft.com|81cea35e39ce40b973b008da3207d260|72f988bf86f141af91ab2d7cd011db47|0|0|637877306428395073|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=S%2FJ%2BQOXjl%2BPFBatXzVuRcXuHIEXwUJNPSTeu%2F4TXIfM%3D&reserved=0:

+## Run the sample

+Run this sample in Outlook on Windows. The add-in web files are served from this repository on GitHub.

+1. Download the manifest.xml file from this sample to a folder on your computer.

+1. Sideload the add-in manifest in Outlook on Windows by following the manual instructions in Sideload Outlook add-ins for testing.

+### Try it out

+Once the add-in is loaded, use the following steps to try out its functionality.

+1. Create a new message or appointment.

Office Add-ins Sample color categories are created. To verify this from the new message or appointment window, select File > Info > Properties > Categories.

Thanks, @lindalu-MSFThttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flindalu-MSFT&data=05|01|Linda.Cannon%40microsoft.com|81cea35e39ce40b973b008da3207d260|72f988bf86f141af91ab2d7cd011db47|0|0|637877306428395073|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=eKS%2BvGiVur5ynApY27HBDPWXrBA95ZuI5zuhrF9vt6k%3D&reserved=0. Just making sure I'm seeing the same thing you're getting. This is how it appears on my end. Do you still suggest removing the right carat character?
[image]https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F15154970%2F167505819-61fa2f38-555b-45e1-96a5-1865f34d456e.png&data=05|01|Linda.Cannon%40microsoft.com|81cea35e39ce40b973b008da3207d260|72f988bf86f141af91ab2d7cd011db47|0|0|637877306428445503|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=UIhyireUYOSsnMQxh6U3O44O%2BUmhYgwZUjdyCkyi1pg%3D&reserved=0

Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FOfficeDev%2FOffice-Add-in-samples%2Fpull%2F310%23discussion_r868515446&data=05|01|Linda.Cannon%40microsoft.com|81cea35e39ce40b973b008da3207d260|72f988bf86f141af91ab2d7cd011db47|0|0|637877306428445503|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=UNe2VL%2Bc8YV9i4P2%2Bt1cHay2%2BENfgKteZ1p%2FXwhH5Ys%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAHKC5M22F5JKSQ6ZLZPPIHLVJGDU7ANCNFSM5VPCSLHA&data=05|01|Linda.Cannon%40microsoft.com|81cea35e39ce40b973b008da3207d260|72f988bf86f141af91ab2d7cd011db47|0|0|637877306428445503|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=YGxlwhy%2FeuOIONLUATsX66jVT%2FB0CAqkjHRkIdvIo9Q%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.@.>>

@samantharamon Approved! Go ahead and merge!

@samantharamon Approved! Go ahead and merge!

Thanks for your help with this!

authors: lindalu-MSFT samantharamon

repo: OfficeDev/Office-Add-in-samples


text:
Custom Action

From @suz7777 on October 25, 2016 13:43
Which PnP repository to report the issue?

PnP PowerShell - https://github.com/OfficeDev/PnP-PowerShell

Category
[x ] Bug
[ ] Enhancement
Environment
[x ] Office 365 / SharePoint Online
[ ] SharePoint 2016
[ ] SharePoint 2013
Expected or Desired Behavior
In the NEW Modern Site Settings on a traditional sharepoint site...
This works when applying a custom action to the gear: (i removed leading carrot (<) and/or slash)
"          pnp:CustomAction Name="{fb19a277-e1b5-4b32-9820-084278ddad00}" Description="3M Site Request page" Group="SiteActions" Location="Microsoft.SharePoint.StandardMenu" Title="Create Sub site" Sequence="101" Rights="" Url="https://skydrive3m.sharepoint.com/sites/3MAdm/RAS/Lists/DWP SiteRequest/NewForm.aspx" RegistrationType="None">
pnp:CommandUIExtension />
pnp:CustomAction>
this does not work - but does work in a classic site look:
pnp:CustomAction Name="{559b16ea-0a4e-44f2-879d-358a5c385e39}" Group="SiteActions" Location="Microsoft.SharePoint.StandardMenu" Title="DWP Page Creation" Sequence="100" Rights="" Url="javascript:dwpPageCreation.init();" RegistrationType="None">
pnp:CommandUIExtension />
pnp:CustomAction>
"
Observed Behavior
both above custom actions work in the classic site look and feel - but the second does not work in the modern look.  we find that anytime we put javascript in the custom action it does not appear in the gear.
Steps to Reproduce
Create a PNP script with custom action and use the following
if ($applyCustomAction) {
write-host "custom action template - $caXml"
if ($clearCustomActions) {
Get-SPOCustomAction
Get-SPOCustomAction | foreach { Remove-SPOCustomAction $_.id }
}
Apply-SPOProvisioningTemplate -Path $caXml
Apply-SPOProvisioningTemplate -Path $caXml2
write-host "Successfully applied custom action template - $caXml and $caXml2 " BLUE
}
Copied from original issue: OfficeDev/PnP-Sites-Core#826

Thank you for reporting this. We are aware of the issue, it's unfortunately the modern sites that cause this, or rather, does not support this. It's not as such an issue with the engine itself. We are currently working on updated guidance and are working on changes in the provision engine to detect a modern site. If provisioning to a modern site we will have to limit the functionality of the engine to a subset of the features.

From @suz7777 on October 25, 2016 17:51
are you aware of any other limitations with the modern sites and provisioning? is there an FAQ we can review?

From @VesaJuvonen on October 25, 2016 18:54
There's two things in this discussion. A Modern site and then modern UX with libraries, lists and site contents. Modern experiences on the classic site on lists/libraries do not support any level of JavaScript injection. There's work being done in the engineering around this, but we do not have exact timelines, which we can share. Following is a great blog post around these limitations from dev.office.com/blogs - https://dev.office.com/blogs/update-on-modern-document-libraries-and-extensiblity.
Modern site is however something that's still officially in the queue to be released. That will have similar limitations with first released version, until similar scenarios as with JS embedding can be achieved using SharePoint Framework (railed experiences). Modern sites have also NoScript setting enabled by default, without possibility to disable that, so following limitations are then valid - https://support.office.com/en-us/article/Turn-scripting-capabilities-on-or-off-1f2c515f-5d7e-448a-9fd7-835da935584f.
Like we mentioned publicly also in Ignite, modern sites will land soon for first release tenants. It's also important to notice that classic site with modern libraries/lists is completely different thing than fully native modern sites. When modern sites are enabled, we are absolutely looking for community input around the released capabilities.
From PnP side, we will release more details when the modern sites move to First Release. We can't unfortunately share any non-public information at this point.

repo: OfficeDev/PnP-PowerShell


text:
Load property ContentTypesEnabled before calling method on it

Currently, the methods called separately throws exception:
Field or property ContentTypesEnabled is not initialized.

Hello Erwin,
Thank you for the valuable suggestion.
I will add the check to see IsPropertyAvailable, before loading it.
Thank you.

Implemented the new changes here: https://github.com/OfficeDev/PnP/pull/411
Closing this pull request

repo: OfficeDev/PnP


text:
Fix syntax error

A space is needed between the # symbol and the header text, or the text will not be marked as header.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

authors: msftclas tsekityam


text:
Admin Guide

At this time the admins/approvers cannot see all app requests. After some testing the admin can only see a request they put in themselves. How are admins added for this app?

Are the users in the (Teams) Admin group the same users we would have for the SharePoint site?

@cesmaili so the Admins would/should be able to see all the entries in the SharePoint list, this is where they would go to view the entire list.

Hi @cesmaili , the SharePoint site is required to be shared by admins as Owners. Please refer #6 of Step 5

authors: abbodh alexc-MSFT cesmaili


text:
Can't figure out JS runtime of addin, docs not clear

Hello,
I would like to figure out the JS runtime which Excel uses to run the addin we're developing, but the docs on how exactly to do this are very sparse. Namely, it says that it should be available in the "Personality menu" under "Security info", but there is no such info available for us (picture below).

The docs do say that "The runtime isn't included on the dialog in older versions of Office" but I wouldn't say that our Office version (picture below) is that old?

As such, I wanted to ask what I could do to figure out the JS runtime?
Kind regards,
Filip

Windows specs
Edition	Windows 10 Enterprise
Version	21H2
Installed on	08/02/2022
OS build	19044.1706
Experience	Windows Feature Experience Pack 120.2212.4170.0

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

ID: fc051b98-1aaa-20ad-b740-6ac4d377529e
Version Independent ID: fc051b98-1aaa-20ad-b740-6ac4d377529e
Content: Debug Office Add-ins - Office Add-ins
Content Source: docs/testing/debug-add-ins-overview.md
Product: non-product-specific
Technology: add-ins
GitHub Login: @o365devx
Microsoft Alias: o365devx

Hi @jkscx,
Thanks for reaching out. @Rick-Kirkham, could you please help provide clarity here?

@jkscx Thanks for your interest in Office Add-ins.
The main way of determining what runtime is being used is by consulting the table in the article, Browsers used by Office Add-ins. See the sentence immediately above the Tip that you quoted. The Tip is only meant to point out an alternate, easier way that is sometimes available. When it is not, you have to use the table.
Since you are on Windows 10 version greater than 1903 and you have an M365 version that is between 16.0.11629 and 16.0.13530.20424, the 3rd row from the bottom of the table applies to you. So, your computer uses Microsoft Edge with original WebView (EdgeHTML).
Your version of M365 is 1906, which is 3 years old. That does count as "older" in the context of discussing the Personality menu. The reason we are vague and say "older" is because there are some complexities in determining where the Personality menu is supported; it is not simply a matter of being supported by all builds after a certain specified build number. It isn't worth documenting these complexities because if people find that the Security Info isn't there, they can just fall back to using the table.
I'll close this issue for now, but you can still add comments to it and we will see them.

@Rick-Kirkham Thank you very much for the quick and detailed reply.
Sorry if I phrased my question badly, I know about the table which you mentioned and came to the same conclusion as you, but wanted to know if there is a way to get the runtime info at runtime (pun not intended). The reason being that I want to use the WebView2 runtime and followed the guide in footer 4 of the article which you linked on how to enable it, but not sure if I got it to work. That's why getting the runtime info would be useful.
Also thanks for informing me about the Excel version being that old (thought that it was max 1-2y old), have requested our company's IT support to allow me to update to something newer to mitigate this issue. But just for completeness sake, is there a way to the runtime info at runtime for older versions (if not by GUI, then maybe via code in the add-in)?

The only way that I know of to determine the runtime at runtime the technique described in Determine at runtime if the add-in is running in Internet Explorer. This links to another article that tells you what strings to look for.

Will check out, thank you for the help :)

authors: AlexJerabek Rick-Kirkham jkscx

repo: OfficeDev/office-js-docs-pr


text:
update

update text hp-gui start in wayland session

Для чего нужно делать .desktop файл исполняемым?

Ни один desktop файл в каталогах ~/.config/autostart/ и ~/.local/share/applications/ не имеет права на исполнение, ибо это не нужно.
$ ls -l .config/autostart/
итого 4
-rw-r--r-- 1 katze_942 katze_942 196 фев  6 01:12 io.github.alainm23.planify.desktop

$ ls -l .local/share/applications/
итого 24
-rw-r--r-- 1 katze_942 katze_942  64 фев  6 01:44 defaults.list
-rw-r--r-- 1 katze_942 katze_942 154 фев  6 17:58 _media_Meow_Home_Downloads_dbeaver_.desktop
-rw-r--r-- 1 katze_942 katze_942   0 фев 18 12:14 mimeapps.list
-rw-r--r-- 1 katze_942 katze_942 267 фев 24 15:44 mimeinfo.cache
-rw-r--r-- 1 katze_942 katze_942 433 фев 24 20:00 org.gnome.Shell.Extensions.GSConnect.desktop
-rw-r--r-- 1 katze_942 katze_942 350 фев 24 20:00 org.gnome.Shell.Extensions.GSConnect.Preferences.desktop
-rw-r--r-- 1 katze_942 katze_942 248 фев 15 21:07 vk-messenger.desktop

Согласен. Закрываю PR

repo: OlegShchavelev/ALTRegularGnomeWiki


text:
Set up Conan and Googletest in the repo

Set up Conan for package management;
Get Googletest with Conan;
Set up your first Googletest unit test and make sure it works.

Eventually I made the decision to not use Conan and use MSYS2 instead. This way I will not be enforcing the dependency on Conan, and in the future, all users of the library are going to be able to compile it using just CMake + whatever dependency management mechanism they favor.

NOTES:

an MSYS2 MinGW64 environment was set up for Albion;
GTest has been successfully retrieved via MSYS2's pacman and integrated into the project;
A couple of simple GTest tests have been tested, they seem to work well, signifying that the integration with GTest is successful.

repo: Oleksii-Kshenskyi/albion


text:
constant addresses autocomplete ts

makes constant addresses autocomplete

closing since this requires bigger changes than expected and should be tacked from a different angle

repo: OlympusDAO/olympus-frontend


text:
tectonic faults and liquid

Sometimes you come into a tectonic fault, and you always get tons of liquid. It can be acid, lava, or water.
It's really too much: generation is very laggy (I saw up to 12 seconds on my computer, playing alone), with the usual disagreements, like "already dead" mobs killing you, drowning out of the water, extremes rollbacks, aso.
In this case, mining in a fault is a suicide (I lost today 5 diamonds, 25 mese crystals, 400 coals and 250 iron...)
Much more, I saw once a "roof" of water, not flowing anymore, a bit above my head.
My proposal: remove at least 90% of all liquid sources generated in the faults. In that case we should already see sometimes some (** insert the name of your favorite liquid here**), but it would become playable, and drastically shorten the lag.

We need to remove liquids(water/acid/lava) in fissures

Hi @Cyberpangolin, can you retry with the new server config and tell me if you still ahve this problem ?
Thank you in advance

I won't have time today, but tomorrow ;)

it's always open here ? :p

Closed, the server doesn't "ram" anymore for this kind of things.
If you see any slow down of your minetest, it's your computer/client side now ;)

authors: Cyberpangolin Ombridride farfadet46

license: unlicense


text:
no response

When rebuilding index, RPC is not responding, or very slow. The load of the server is not very high

wait some time is ok

the log ：
ubuntu@ip-172-31-35-234:/data/usdt/data/bin$ ./omnicore-cli -rpcconnect=127.0.0.1  -rpcuser=root -rpcpassword=123456 -rpcport=28332 getblockcount
511155
ubuntu@ip-172-31-35-234:/data/usdt/data/bin$ ./omnicore-cli -rpcconnect=127.0.0.1  -rpcuser=root -rpcpassword=123456 -rpcport=28332 getblockcount
511222
ubuntu@ip-172-31-35-234:/data/usdt/data/bin$ ./omnicore-cli -rpcconnect=127.0.0.1  -rpcuser=root -rpcpassword=123456 -rpcport=28332 getblockcount
511231
ubuntu@ip-172-31-35-234:/data/usdt/data/bin$ ./omnicore-cli -rpcconnect=127.0.0.1  -rpcuser=root -rpcpassword=123456 -rpcport=28332 getblockcount
^C
ubuntu@ip-172-31-35-234:/data/usdt/data/bin$ ./omnicore-cli -rpcconnect=127.0.0.1  -rpcuser=root -rpcpassword=123456 -rpcport=28332 getblockcount
error: couldn't connect to server
ubuntu@ip-172-31-35-234:/data/usdt/data/bin$ ./omnicore-cli -rpcconnect=127.0.0.1  -rpcuser=root -rpcpassword=123456 -rpcport=28332 getblockcount

How to optimize the response for half an hour

During reindex, there is heavy load on the node, which should be gone after the reindex is done.

repo: OmniLayer/omnicore


text:
Fix FindImplementationService not finding all implementations of the partial class

Currently, when you use "Find Implementations" on a partial class, it appears to randomly select one of the definitions instead of returning all of them (like VS does). Looks like this was unintentionally broken in order to handle partialMethod case (guess there is makes sense to take symbol.Locations.First() instead of symbol.Locations).
Should be easy to merge with @filipw fix for separate bug fix in the same service.

can you add a test illustrating what this is fixing?

Will push test in later today

Sorry for the delay. I added test for finding all implementations of the partial class and one test for partial methods (to make sure this functionality is kept intact).

I merged https://github.com/OmniSharp/omnisharp-roslyn/pull/1302, could you please resolve the conflicts - thanks! Otherwise, looks good to me

@filipw done!

@rchande @filipw @david-driscoll Thanks a lot for the tip, I would actually regress partial method without it. I enhanced the test and changed handler code, looks like it works correctly now.

looks good, indeed this is the behavior we want 👍

thanks!

authors: SirIntruder filipw

repo: OmniSharp/omnisharp-roslyn


text:
Make launchSettings.json search performant.

Stopped globbing for the launchSettings.json and instead we search for it at the root and in the Properties folder.

Fixes omnisharp/omnisharp-vscode#3664
@danroth27 is this awful? I don't think people move this file around all that much so wanted to take the approach that impacted O# the least.

looks reasonable to me. this should be shipped asap I think given the amount of issue we got 😀

Agree, I pinged @danroth27 offline to get the thumbs up from him to be sure I'm not making a big mistake here 😆

Sounds fine to me, but I think this is really @KathleenDollard's area.

Closing this in favor of https://github.com/OmniSharp/omnisharp-vscode/pull/3681

repo: OmniSharp/omnisharp-vscode


text:
[Snyk] Security upgrade golang from 1.12 to 1.23.1

Snyk has created this PR to fix 4 vulnerabilities in the dockerfile dependencies of this project.
Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Snyk changed the following file(s):

awstesting/sandbox/Dockerfile.test.go1.12

We recommend upgrading to golang:1.23.1, as this image has only 79 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Vulnerabilities that will be fixed with an upgrade:

Issue
Score

CVE-2023-44487 SNYK-DEBIAN10-NGHTTP2-5953390
  561

Link Following SNYK-DEBIAN10-GIT-1083853
  436

Link Following SNYK-DEBIAN10-GIT-1083853
  436

Improper Validation of Integrity Check Value SNYK-DEBIAN10-OPENSSH-6130526
  394

CVE-2023-26604 SNYK-DEBIAN10-SYSTEMD-3339153
  375

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

🎉 Snyk hasn't found any issues so far.
✅ code/snyk check is completed. No issues were found. (View Details)

repo: Omrisnyk/aws-sdk-go


text:
docker-compose up on build-service and oba fails

see error produced by docker-compose:

ERROR: Service 'oba' failed to build: COPY failed: stat /var/lib/docker/overlay2/b16bedda9d8f530d93774142e7422c261d0b33735d45a865072005c910576a9f/merged/app/onebusaway-transit-data-federation-builder/target/onebusaway-transit-data-federation-builder-2.0.0-SNAPSHOT-withAllDependencies.jar: no such file or directory

Same issue here
@barbeau could you maybe look into this?

It looks like we're on version 2.0.1-SNAPSHOT now in the oba-app-modules project (https://github.com/OneBusAway/onebusaway-application-modules/blob/master/pom.xml#L10), so if you change the copy command to that instead of 2.0.0-SNAPSHOT, hopefully it should find the file 🤞. If that works, could you open a PR?
When 2.0.1 is released, we should really switch to checking that tag out instead of the master branch.

👍 it worked!!!
I will open a PR shortly.

Fixed via https://github.com/OneBusAway/onebusaway-docker/pull/18

authors: barbeau cohenoshri dudebrains01

repo: OneBusAway/onebusaway-docker


text:
Reflections

Added SSR (screen space reflections) to have some reflections, they are not mirror like reflections and so they are not perfect, there are some values we can tweak
Added skybox reflections

You have to change the code style of the layouts of the blinn still but I aprove it

authors: raulgonzalezupc yalania

repo: OnionGalaxy/LittleOrionEngine