TypeError: only integer scalar arrays can be converted to a scalar index

I get this error from stitch *
stitching frame1.jpg frame10.jpg frame11.jpg frame12.jpg frame13.jpg frame14.jpg frame15.jpg frame16.jpg frame17.jpg frame18.jpg frame19.jpg frame2.jpg frame20.jpg frame21.jpg frame22.jpg frame23.jpg frame24.jpg frame25.jpg frame26.jpg frame27.jpg frame28.jpg frame29.jpg frame3.jpg frame30.jpg frame31.jpg frame32.jpg frame33.jpg frame34.jpg frame35.jpg frame36.jpg frame37.jpg frame38.jpg frame39.jpg frame4.jpg frame40.jpg frame41.jpg frame42.jpg frame43.jpg frame44.jpg frame45.jpg frame46.jpg frame47.jpg frame48.jpg frame49.jpg frame5.jpg frame50.jpg frame6.jpg frame7.jpg frame8.jpg frame9.jpg into result.jpg
on Windows 10 with Python Python 3.8.7 and cv2. version'4.5.1'.

OK, but I can't help you If you don't share the images. have you tried with less Images?

and what is stitching before frame1? a folder? Maybe this is the problem

Thanks. Lukas
I also tried it on those boat images
stitch *
stitching boat1.jpg boat2.jpg boat3.jpg boat4.jpg boat5.jpg boat6.jpg into
result.jpg
which I got from
https://github.com/opencv/opencv_extra/tree/4.x/testdata/stitching
and it failed in the same way.
I am doing stitch * from a folder which contains those images.
Regards
Chris Jones
Sydney
Australia
chrisjones.id.au
On Sat, 10 Dec 2022 at 21:58, Lukas Weber @.***> wrote:

OK, but I can't help you If you don't share the images. have you tried
with less Images?
—
Reply to this email directly, view it on GitHub
https://github.com/lukasalexanderweber/stitching/issues/40#issuecomment-1345238402,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADZBOBAB2TKLZNESJE5OCM3WMRO6RANCNFSM6AAAAAAS2BTCKU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Can you please share the whole error trace?

Sorry, Lukas, I should have sent this before:-
stitch *
stitching boat1.jpg boat2.jpg boat3.jpg boat4.jpg boat5.jpg boat6.jpg into
result.jpg
Traceback (most recent call last):
File
"c:\users\christopher\appdata\local\programs\python\python38\lib\runpy.py",
line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File
"c:\users\christopher\appdata\local\programs\python\python38\lib\runpy.py",
line 87, in run_code
exec(code, run_globals)
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\Scripts\stitch.exe_main.py",
line 7, in
File
"c:\users\christopher\appdata\local\programs\python\python38\lib\site-packages\stitching\cli\stitch.py",
line 278, in main
panorama = stitcher.stitch(img_names)
File
"c:\users\christopher\appdata\local\programs\python\python38\lib\site-packages\stitching\stitcher.py",
line 92, in stitch
imgs, features, matches = self.subset(imgs, features, matches)
File
"c:\users\christopher\appdata\local\programs\python\python38\lib\site-packages\stitching\stitcher.py",
line 133, in subset
names, sizes, imgs, features, matches = self.subsetter.subset(
File
"c:\users\christopher\appdata\local\programs\python\python38\lib\site-packages\stitching\subsetter.py",
line 30, in subset
img_names = Subsetter.subset_list(img_names, indices)
File
"c:\users\christopher\appdata\local\programs\python\python38\lib\site-packages\stitching\subsetter.py",
line 59, in subset_list
return [list_to_subset[i] for i in indices]
File
"c:\users\christopher\appdata\local\programs\python\python38\lib\site-packages\stitching\subsetter.py",
line 59, in
return [list_to_subset[i] for i in indices]
TypeError: only integer scalar arrays can be converted to a scalar index
Chris
On Sun, 11 Dec 2022 at 00:58, Lukas Weber @.***> wrote:

Can you please share the whole error trace?
—
Reply to this email directly, view it on GitHub
https://github.com/lukasalexanderweber/stitching/issues/40#issuecomment-1345270537,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADZBOBCDXQQN7VZ5EUMCAQ3WMSEBLANCNFSM6AAAAAAS2BTCKU
.
You are receiving this because you authored the thread.Message ID:
@.***>

You should be able to log the matches graph with
stitch * --matches_graph_dot_file matches.txt
Could you please share the content?

stitch * --matches_graph_dot_file matches.txt
stitching boat1.jpg boat2.jpg boat3.jpg boat4.jpg boat5.jpg boat6.jpg into
result.jpg
Traceback (most recent call last):
File
"c:\users\christopher\appdata\local\programs\python\python38\lib\runpy.py",
line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File
"c:\users\christopher\appdata\local\programs\python\python38\lib\runpy.py",
line 87, in run_code
exec(code, run_globals)
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\Scripts\stitch.exe_main.py",
line 7, in
File
"c:\users\christopher\appdata\local\programs\python\python38\lib\site-packages\stitching\cli\stitch.py",
line 278, in main
panorama = stitcher.stitch(img_names)
File
"c:\users\christopher\appdata\local\programs\python\python38\lib\site-packages\stitching\stitcher.py",
line 92, in stitch
imgs, features, matches = self.subset(imgs, features, matches)
File
"c:\users\christopher\appdata\local\programs\python\python38\lib\site-packages\stitching\stitcher.py",
line 133, in subset
names, sizes, imgs, features, matches = self.subsetter.subset(
File
"c:\users\christopher\appdata\local\programs\python\python38\lib\site-packages\stitching\subsetter.py",
line 30, in subset
img_names = Subsetter.subset_list(img_names, indices)
File
"c:\users\christopher\appdata\local\programs\python\python38\lib\site-packages\stitching\subsetter.py",
line 59, in subset_list
return [list_to_subset[i] for i in indices]
File
"c:\users\christopher\appdata\local\programs\python\python38\lib\site-packages\stitching\subsetter.py",
line 59, in
return [list_to_subset[i] for i in indices]
TypeError: only integer scalar arrays can be converted to a scalar index
matches.txt:-
graph matches_graph{
"boat1.jpg" -- "boat2.jpg"[label="Nm=110, Ni=85, C=2.07317"];
"boat1.jpg" -- "boat3.jpg"[label="Nm=57, Ni=41, C=1.63347"];
"boat3.jpg" -- "boat4.jpg"[label="Nm=86, Ni=54, C=1.59763"];
"boat4.jpg" -- "boat5.jpg"[label="Nm=105, Ni=71, C=1.79747"];
"boat5.jpg" -- "boat6.jpg"[label="Nm=156, Ni=118, C=2.15328"];
}
On Sun, 11 Dec 2022 at 10:05, Lukas Weber @.***> wrote:

You should be able to log the matches graph with
stitch * --matches_graph_dot_file matches.txt
Could you please share the content?
—
Reply to this email directly, view it on GitHub
https://github.com/lukasalexanderweber/stitching/issues/40#issuecomment-1345404213,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADZBOBBTFXL4VVJW56QZE3TWMUECZANCNFSM6AAAAAAS2BTCKU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Could you clone the repository and run python -m unittest and show me whats happening? I use the boat Images there and the Tests work fine on my maschine

Not sure that I'm doing this right. After cloning, I had downloaded
stitching-main.zip which I extracted to  stitching-main. Copied this to my
Python38 folder to make sure I was using the right Python (also have Python
3.4.2 installed).
In a DOS window I then got:-
C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\tests>python
-m unittest
EEEEEE
ERROR: test_composition (unittest.loader.ModuleImportFailure)
Traceback (most recent call last):
File "C:\Python34\lib\unittest\case.py", line 58, in testPartExecutor
yield
File "C:\Python34\lib\unittest\case.py", line 577, in run
testMethod()
File "C:\Python34\lib\unittest\loader.py", line 32, in testFailure
raise exception
ImportError: Failed to import test module: test_composition
Traceback (most recent call last):
File "C:\Python34\lib\unittest\loader.py", line 312, in _find_tests
module = self._get_module_from_name(name)
File "C:\Python34\lib\unittest\loader.py", line 290, in
_get_module_from_name
import(name)
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\tests\test_composition.py",
line 7, in
from .context import Stitcher
SystemError: Parent module '' not loaded, cannot perform relative import
======================================================================
ERROR: test_matcher (unittest.loader.ModuleImportFailure)
Traceback (most recent call last):
File "C:\Python34\lib\unittest\case.py", line 58, in testPartExecutor
yield
File "C:\Python34\lib\unittest\case.py", line 577, in run
testMethod()
File "C:\Python34\lib\unittest\loader.py", line 32, in testFailure
raise exception
ImportError: Failed to import test module: test_matcher
Traceback (most recent call last):
File "C:\Python34\lib\unittest\loader.py", line 312, in _find_tests
module = self._get_module_from_name(name)
File "C:\Python34\lib\unittest\loader.py", line 290, in
_get_module_from_name
import(name)
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\tests\test_matcher.py",
line 5, in
from .context import FeatureMatcher
SystemError: Parent module '' not loaded, cannot perform relative import
======================================================================
ERROR: test_megapix_scaler (unittest.loader.ModuleImportFailure)
Traceback (most recent call last):
File "C:\Python34\lib\unittest\case.py", line 58, in testPartExecutor
yield
File "C:\Python34\lib\unittest\case.py", line 577, in run
testMethod()
File "C:\Python34\lib\unittest\loader.py", line 32, in testFailure
raise exception
ImportError: Failed to import test module: test_megapix_scaler
Traceback (most recent call last):
File "C:\Python34\lib\unittest\loader.py", line 312, in _find_tests
module = self._get_module_from_name(name)
File "C:\Python34\lib\unittest\loader.py", line 290, in
_get_module_from_name
import(name)
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\tests\test_megapix_scaler.py",
line 20
scale = scaler.get_scale_by_resolution(1_200_000)
^
SyntaxError: invalid syntax
======================================================================
ERROR: test_performance (unittest.loader.ModuleImportFailure)
Traceback (most recent call last):
File "C:\Python34\lib\unittest\case.py", line 58, in testPartExecutor
yield
File "C:\Python34\lib\unittest\case.py", line 577, in run
testMethod()
File "C:\Python34\lib\unittest\loader.py", line 32, in testFailure
raise exception
ImportError: Failed to import test module: test_performance
Traceback (most recent call last):
File "C:\Python34\lib\unittest\loader.py", line 312, in _find_tests
module = self._get_module_from_name(name)
File "C:\Python34\lib\unittest\loader.py", line 290, in
_get_module_from_name
import(name)
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\tests\test_performance.py",
line 41
print(f"Peak was {peak_memory / 10**6} MB")
^
SyntaxError: invalid syntax
======================================================================
ERROR: test_registration (unittest.loader.ModuleImportFailure)
Traceback (most recent call last):
File "C:\Python34\lib\unittest\case.py", line 58, in testPartExecutor
yield
File "C:\Python34\lib\unittest\case.py", line 577, in run
testMethod()
File "C:\Python34\lib\unittest\loader.py", line 32, in testFailure
raise exception
ImportError: Failed to import test module: test_registration
Traceback (most recent call last):
File "C:\Python34\lib\unittest\loader.py", line 312, in _find_tests
module = self._get_module_from_name(name)
File "C:\Python34\lib\unittest\loader.py", line 290, in
_get_module_from_name
import(name)
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\tests\test_registration.py",
line 7, in
from .context import FeatureDetector, FeatureMatcher, Subsetter
SystemError: Parent module '' not loaded, cannot perform relative import
======================================================================
ERROR: test_stitcher (unittest.loader.ModuleImportFailure)
Traceback (most recent call last):
File "C:\Python34\lib\unittest\case.py", line 58, in testPartExecutor
yield
File "C:\Python34\lib\unittest\case.py", line 577, in run
testMethod()
File "C:\Python34\lib\unittest\loader.py", line 32, in testFailure
raise exception
ImportError: Failed to import test module: test_stitcher
Traceback (most recent call last):
File "C:\Python34\lib\unittest\loader.py", line 312, in _find_tests
module = self._get_module_from_name(name)
File "C:\Python34\lib\unittest\loader.py", line 290, in
_get_module_from_name
import(name)
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\tests\test_stitcher.py",
line 7, in
from .context import AffineStitcher, Stitcher
SystemError: Parent module '' not loaded, cannot perform relative import

Ran 6 tests in 0.004s
FAILED (errors=6)
On Sun, 11 Dec 2022 at 18:45, Lukas Weber @.***> wrote:

Could you clone the repository and run python -m unittest and show me
whats happening? I use the boat Images there and the Tests work fine on my
maschine
—
Reply to this email directly, view it on GitHub
https://github.com/lukasalexanderweber/stitching/issues/40#issuecomment-1345481701,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADZBOBAZNXVF3V7YYOYAXPLWMWBBRANCNFSM6AAAAAAS2BTCKU
.
You are receiving this because you authored the thread.Message ID:
@.***>

You need to do it from within stitching-main
C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main>python
-m unittest

C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main>python
-m unittest
EEEEEE
ERROR: tests.test_composition (unittest.loader.ModuleImportFailure)
Traceback (most recent call last):
File "C:\Python34\lib\unittest\case.py", line 58, in testPartExecutor
yield
File "C:\Python34\lib\unittest\case.py", line 577, in run
testMethod()
File "C:\Python34\lib\unittest\loader.py", line 32, in testFailure
raise exception
ImportError: Failed to import test module: tests.test_composition
Traceback (most recent call last):
File "C:\Python34\lib\unittest\loader.py", line 312, in _find_tests
module = self._get_module_from_name(name)
File "C:\Python34\lib\unittest\loader.py", line 290, in
get_module_from_name
import(name)
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\tests\test_composition.py",
line 7, in
from .context import Stitcher
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\tests\context.py",
line 6, in
from stitching import AffineStitcher, Stitcher  # noqa: F401, E402
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching_init.py",
line 1, in
from .stitcher import AffineStitcher, Stitcher  # noqa: F401
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\stitcher.py",
line 4, in
from .camera_adjuster import CameraAdjuster
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\camera_adjuster.py",
line 9, in
class CameraAdjuster:
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\camera_adjuster.py",
line 13, in CameraAdjuster
CAMERA_ADJUSTER_CHOICES["ray"] = cv.detail_BundleAdjusterRay
AttributeError: 'module' object has no attribute 'detail_BundleAdjusterRay'
======================================================================
ERROR: tests.test_matcher (unittest.loader.ModuleImportFailure)
Traceback (most recent call last):
File "C:\Python34\lib\unittest\case.py", line 58, in testPartExecutor
yield
File "C:\Python34\lib\unittest\case.py", line 577, in run
testMethod()
File "C:\Python34\lib\unittest\loader.py", line 32, in testFailure
raise exception
ImportError: Failed to import test module: tests.test_matcher
Traceback (most recent call last):
File "C:\Python34\lib\unittest\loader.py", line 312, in _find_tests
module = self._get_module_from_name(name)
File "C:\Python34\lib\unittest\loader.py", line 290, in
get_module_from_name
import(name)
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\tests\test_matcher.py",
line 5, in
from .context import FeatureMatcher
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\tests\context.py",
line 6, in
from stitching import AffineStitcher, Stitcher  # noqa: F401, E402
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching_init.py",
line 1, in
from .stitcher import AffineStitcher, Stitcher  # noqa: F401
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\stitcher.py",
line 4, in
from .camera_adjuster import CameraAdjuster
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\camera_adjuster.py",
line 9, in
class CameraAdjuster:
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\camera_adjuster.py",
line 13, in CameraAdjuster
CAMERA_ADJUSTER_CHOICES["ray"] = cv.detail_BundleAdjusterRay
AttributeError: 'module' object has no attribute 'detail_BundleAdjusterRay'
======================================================================
ERROR: tests.test_megapix_scaler (unittest.loader.ModuleImportFailure)
Traceback (most recent call last):
File "C:\Python34\lib\unittest\case.py", line 58, in testPartExecutor
yield
File "C:\Python34\lib\unittest\case.py", line 577, in run
testMethod()
File "C:\Python34\lib\unittest\loader.py", line 32, in testFailure
raise exception
ImportError: Failed to import test module: tests.test_megapix_scaler
Traceback (most recent call last):
File "C:\Python34\lib\unittest\loader.py", line 312, in _find_tests
module = self._get_module_from_name(name)
File "C:\Python34\lib\unittest\loader.py", line 290, in
_get_module_from_name
import(name)
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\tests\test_megapix_scaler.py",
line 20
scale = scaler.get_scale_by_resolution(1_200_000)
^
SyntaxError: invalid syntax
======================================================================
ERROR: tests.test_performance (unittest.loader.ModuleImportFailure)
Traceback (most recent call last):
File "C:\Python34\lib\unittest\case.py", line 58, in testPartExecutor
yield
File "C:\Python34\lib\unittest\case.py", line 577, in run
testMethod()
File "C:\Python34\lib\unittest\loader.py", line 32, in testFailure
raise exception
ImportError: Failed to import test module: tests.test_performance
Traceback (most recent call last):
File "C:\Python34\lib\unittest\loader.py", line 312, in _find_tests
module = self._get_module_from_name(name)
File "C:\Python34\lib\unittest\loader.py", line 290, in
_get_module_from_name
import(name)
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\tests\test_performance.py",
line 41
print(f"Peak was {peak_memory / 10**6} MB")
^
SyntaxError: invalid syntax
======================================================================
ERROR: tests.test_registration (unittest.loader.ModuleImportFailure)
Traceback (most recent call last):
File "C:\Python34\lib\unittest\case.py", line 58, in testPartExecutor
yield
File "C:\Python34\lib\unittest\case.py", line 577, in run
testMethod()
File "C:\Python34\lib\unittest\loader.py", line 32, in testFailure
raise exception
ImportError: Failed to import test module: tests.test_registration
Traceback (most recent call last):
File "C:\Python34\lib\unittest\loader.py", line 312, in _find_tests
module = self._get_module_from_name(name)
File "C:\Python34\lib\unittest\loader.py", line 290, in
get_module_from_name
import(name)
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\tests\test_registration.py",
line 7, in
from .context import FeatureDetector, FeatureMatcher, Subsetter
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\tests\context.py",
line 6, in
from stitching import AffineStitcher, Stitcher  # noqa: F401, E402
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching_init.py",
line 1, in
from .stitcher import AffineStitcher, Stitcher  # noqa: F401
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\stitcher.py",
line 4, in
from .camera_adjuster import CameraAdjuster
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\camera_adjuster.py",
line 9, in
class CameraAdjuster:
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\camera_adjuster.py",
line 13, in CameraAdjuster
CAMERA_ADJUSTER_CHOICES["ray"] = cv.detail_BundleAdjusterRay
AttributeError: 'module' object has no attribute 'detail_BundleAdjusterRay'
======================================================================
ERROR: tests.test_stitcher (unittest.loader.ModuleImportFailure)
Traceback (most recent call last):
File "C:\Python34\lib\unittest\case.py", line 58, in testPartExecutor
yield
File "C:\Python34\lib\unittest\case.py", line 577, in run
testMethod()
File "C:\Python34\lib\unittest\loader.py", line 32, in testFailure
raise exception
ImportError: Failed to import test module: tests.test_stitcher
Traceback (most recent call last):
File "C:\Python34\lib\unittest\loader.py", line 312, in _find_tests
module = self._get_module_from_name(name)
File "C:\Python34\lib\unittest\loader.py", line 290, in
get_module_from_name
import(name)
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\tests\test_stitcher.py",
line 7, in
from .context import AffineStitcher, Stitcher
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\tests\context.py",
line 6, in
from stitching import AffineStitcher, Stitcher  # noqa: F401, E402
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching_init.py",
line 1, in
from .stitcher import AffineStitcher, Stitcher  # noqa: F401
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\stitcher.py",
line 4, in
from .camera_adjuster import CameraAdjuster
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\camera_adjuster.py",
line 9, in
class CameraAdjuster:
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\camera_adjuster.py",
line 13, in CameraAdjuster
CAMERA_ADJUSTER_CHOICES["ray"] = cv.detail_BundleAdjusterRay
AttributeError: 'module' object has no attribute 'detail_BundleAdjusterRay'

Ran 6 tests in 0.003s
FAILED (errors=6)
On Mon, 12 Dec 2022 at 16:34, Lukas Weber @.***> wrote:

You need to do it from within stitching-main
C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main>python
-m unittest
—
Reply to this email directly, view it on GitHub
https://github.com/lukasalexanderweber/stitching/issues/40#issuecomment-1345914093,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADZBOBAHNVOPXXGTMSZH5MLWM22NJANCNFSM6AAAAAAS2BTCKU
.
You are receiving this because you authored the thread.Message ID:
@.***>

You can see that the code is run based on your Python3.4 installation:
File "C:\Python34\lib\unittest\case.py", line 58, in testPartExecutor
I think that may be the cause.

You can also tell me your version of opencv. Type python to open the console and then import cv2 and then cv2.__version__. Mybe you have an older version where e.g. cv.detail_BundleAdjusterRay  does not exist

Python 3.8.7 (tags/v3.8.7:6503f05, Dec 21 2020, 17:59:51) [MSC v.1928 64
bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

import cv2
cv2.version
'4.5.1'

On Mon, 12 Dec 2022 at 18:50, Lukas Weber @.***> wrote:

You can also tell me your version of opencv. Type python to open the
console and then import cv2 and then cv2.version. Mybe you have an
older version where e.g. cv.detail_BundleAdjusterRay does not exist
—
Reply to this email directly, view it on GitHub
https://github.com/lukasalexanderweber/stitching/issues/40#issuecomment-1346030760,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADZBOBCJ54CXTYM6OUQ6RSLWM3KKXANCNFSM6AAAAAAS2BTCKU
.
You are receiving this because you authored the thread.Message ID:
@.***>

import numpy
numpy.version
'1.19.5'

On Mon, 12 Dec 2022 at 20:08, Lukas Weber @.***> wrote:

please also share the numpy version, I think it may be a numpy problem
import numpy and then numpy.version
—
Reply to this email directly, view it on GitHub
https://github.com/lukasalexanderweber/stitching/issues/40#issuecomment-1346129252,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADZBOBBIOMSK5AW7ODA4DZLWM3TQ3ANCNFSM6AAAAAAS2BTCKU
.
You are receiving this because you authored the thread.Message ID:
@.***>

try upgrade numpy using pip install numpy --upgrade

Did that, now
Python 3.8.7 (tags/v3.8.7:6503f05, Dec 21 2020, 17:59:51) [MSC v.1928 64
bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

import numpy
numpy.version
'1.23.5'

But still getting that error:-
Python 3.8.7 (tags/v3.8.7:6503f05, Dec 21 2020, 17:59:51) [MSC v.1928 64
bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

import numpy
numpy.version
'1.23.5'
^Z

C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main>"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\python.exe"
-m unittest
SURF not available
SIFT not available
EE.......s..EEssEE
ERROR: test_exposure_compensation
(tests.test_composition.TestImageComposition)
Traceback (most recent call last):
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\tests\test_composition.py",
line 23, in test_exposure_compensation
result = stitcher.stitch(["s1_bright.jpg", "s2.jpg"])
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\stitcher.py",
line 92, in stitch
imgs, features, matches = self.subset(imgs, features, matches)
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\stitcher.py",
line 133, in subset
names, sizes, imgs, features, matches = self.subsetter.subset(
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\subsetter.py",
line 30, in subset
img_names = Subsetter.subset_list(img_names, indices)
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\subsetter.py",
line 59, in subset_list
return [list_to_subset[i] for i in indices]
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\subsetter.py",
line 59, in
return [list_to_subset[i] for i in indices]
TypeError: only integer scalar arrays can be converted to a scalar index
======================================================================
ERROR: test_timelapse (tests.test_composition.TestImageComposition)
Traceback (most recent call last):
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\tests\test_composition.py",
line 34, in test_timelapse
_ = stitcher.stitch(["s1.jpg", "s2.jpg"])
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\stitcher.py",
line 92, in stitch
imgs, features, matches = self.subset(imgs, features, matches)
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\stitcher.py",
line 133, in subset
names, sizes, imgs, features, matches = self.subsetter.subset(
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\subsetter.py",
line 30, in subset
img_names = Subsetter.subset_list(img_names, indices)
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\subsetter.py",
line 59, in subset_list
return [list_to_subset[i] for i in indices]
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\subsetter.py",
line 59, in
return [list_to_subset[i] for i in indices]
TypeError: only integer scalar arrays can be converted to a scalar index
======================================================================
ERROR: test_subsetting (tests.test_registration.TestImageRegistration)
Traceback (most recent call last):
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\tests\test_registration.py",
line 68, in test_subsetting
indices_to_delete = subsetter.get_indices_to_delete(len(img_names),
indices)
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\subsetter.py",
line 77, in get_indices_to_delete
return list(set(range(int(nr_elements))) - set(indices_to_keep))
TypeError: unhashable type: 'numpy.ndarray'
======================================================================
ERROR: test_stitcher_aquaduct (tests.test_stitcher.TestStitcher)
Traceback (most recent call last):
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\tests\test_stitcher.py",
line 18, in test_stitcher_aquaduct
result = stitcher.stitch(["s1.jpg", "s2.jpg"])
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\stitcher.py",
line 92, in stitch
imgs, features, matches = self.subset(imgs, features, matches)
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\stitcher.py",
line 133, in subset
names, sizes, imgs, features, matches = self.subsetter.subset(
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\subsetter.py",
line 30, in subset
img_names = Subsetter.subset_list(img_names, indices)
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\subsetter.py",
line 59, in subset_list
return [list_to_subset[i] for i in indices]
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\subsetter.py",
line 59, in
return [list_to_subset[i] for i in indices]
TypeError: only integer scalar arrays can be converted to a scalar index
======================================================================
ERROR: test_stitcher_boat_aquaduct_subset (tests.test_stitcher.TestStitcher)
Traceback (most recent call last):
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\tests\test_stitcher.py",
line 89, in test_stitcher_boat_aquaduct_subset
result = stitcher.stitch(
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\stitcher.py",
line 92, in stitch
imgs, features, matches = self.subset(imgs, features, matches)
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\stitcher.py",
line 133, in subset
names, sizes, imgs, features, matches = self.subsetter.subset(
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\subsetter.py",
line 30, in subset
img_names = Subsetter.subset_list(img_names, indices)
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\subsetter.py",
line 59, in subset_list
return [list_to_subset[i] for i in indices]
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\subsetter.py",
line 59, in
return [list_to_subset[i] for i in indices]
TypeError: only integer scalar arrays can be converted to a scalar index
======================================================================
ERROR: test_stitcher_budapest (tests.test_stitcher.TestStitcher)
Traceback (most recent call last):
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\tests\test_stitcher.py",
line 115, in test_stitcher_budapest
result = stitcher.stitch(
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\stitcher.py",
line 92, in stitch
imgs, features, matches = self.subset(imgs, features, matches)
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\stitcher.py",
line 133, in subset
names, sizes, imgs, features, matches = self.subsetter.subset(
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\subsetter.py",
line 30, in subset
img_names = Subsetter.subset_list(img_names, indices)
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\subsetter.py",
line 59, in subset_list
return [list_to_subset[i] for i in indices]
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\subsetter.py",
line 59, in
return [list_to_subset[i] for i in indices]
TypeError: only integer scalar arrays can be converted to a scalar index

Ran 18 tests in 3.705s
FAILED (errors=6, skipped=3)
On Mon, 12 Dec 2022 at 20:13, Lukas Weber @.***> wrote:

try upgrade numpy using pip install numpy --upgrade
—
Reply to this email directly, view it on GitHub
https://github.com/lukasalexanderweber/stitching/issues/40#issuecomment-1346136360,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADZBOBDJRBADA3ZHT3BQH4TWM3UCVANCNFSM6AAAAAAS2BTCKU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Dear Lukas,
You have shown great patience in investigating this problem.
I had hoped to use your stitcher to align video from a 3D camera for
stabilisation. I have now found that I can do this with
the align_image_stack tool from Hugin, so will go with this and not await
solution of this problem.
My project is described at chrisjones.id.au/stereoGIF. I was using your
excellent largestinteriorrectangle library to crop the images obtained from
PTGui.
Many thanks,
Chris
On Mon, 12 Dec 2022 at 22:25, Christopher Jones <
@.***> wrote:

Did that, now
Python 3.8.7 (tags/v3.8.7:6503f05, Dec 21 2020, 17:59:51) [MSC v.1928 64
bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

import numpy
numpy.version
'1.23.5'

But still getting that error:-
Python 3.8.7 (tags/v3.8.7:6503f05, Dec 21 2020, 17:59:51) [MSC v.1928 64
bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

import numpy
numpy.version
'1.23.5'
^Z

C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main>"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\python.exe"
-m unittest
SURF not available
SIFT not available
EE.......s..EEssEE
ERROR: test_exposure_compensation
(tests.test_composition.TestImageComposition)
Traceback (most recent call last):
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\tests\test_composition.py",
line 23, in test_exposure_compensation
result = stitcher.stitch(["s1_bright.jpg", "s2.jpg"])
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\stitcher.py",
line 92, in stitch
imgs, features, matches = self.subset(imgs, features, matches)
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\stitcher.py",
line 133, in subset
names, sizes, imgs, features, matches = self.subsetter.subset(
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\subsetter.py",
line 30, in subset
img_names = Subsetter.subset_list(img_names, indices)
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\subsetter.py",
line 59, in subset_list
return [list_to_subset[i] for i in indices]
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\subsetter.py",
line 59, in
return [list_to_subset[i] for i in indices]
TypeError: only integer scalar arrays can be converted to a scalar index
======================================================================
ERROR: test_timelapse (tests.test_composition.TestImageComposition)
Traceback (most recent call last):
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\tests\test_composition.py",
line 34, in test_timelapse
_ = stitcher.stitch(["s1.jpg", "s2.jpg"])
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\stitcher.py",
line 92, in stitch
imgs, features, matches = self.subset(imgs, features, matches)
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\stitcher.py",
line 133, in subset
names, sizes, imgs, features, matches = self.subsetter.subset(
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\subsetter.py",
line 30, in subset
img_names = Subsetter.subset_list(img_names, indices)
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\subsetter.py",
line 59, in subset_list
return [list_to_subset[i] for i in indices]
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\subsetter.py",
line 59, in
return [list_to_subset[i] for i in indices]
TypeError: only integer scalar arrays can be converted to a scalar index
======================================================================
ERROR: test_subsetting (tests.test_registration.TestImageRegistration)
Traceback (most recent call last):
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\tests\test_registration.py",
line 68, in test_subsetting
indices_to_delete = subsetter.get_indices_to_delete(len(img_names),
indices)
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\subsetter.py",
line 77, in get_indices_to_delete
return list(set(range(int(nr_elements))) - set(indices_to_keep))
TypeError: unhashable type: 'numpy.ndarray'
======================================================================
ERROR: test_stitcher_aquaduct (tests.test_stitcher.TestStitcher)
Traceback (most recent call last):
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\tests\test_stitcher.py",
line 18, in test_stitcher_aquaduct
result = stitcher.stitch(["s1.jpg", "s2.jpg"])
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\stitcher.py",
line 92, in stitch
imgs, features, matches = self.subset(imgs, features, matches)
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\stitcher.py",
line 133, in subset
names, sizes, imgs, features, matches = self.subsetter.subset(
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\subsetter.py",
line 30, in subset
img_names = Subsetter.subset_list(img_names, indices)
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\subsetter.py",
line 59, in subset_list
return [list_to_subset[i] for i in indices]
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\subsetter.py",
line 59, in
return [list_to_subset[i] for i in indices]
TypeError: only integer scalar arrays can be converted to a scalar index
======================================================================
ERROR: test_stitcher_boat_aquaduct_subset
(tests.test_stitcher.TestStitcher)
Traceback (most recent call last):
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\tests\test_stitcher.py",
line 89, in test_stitcher_boat_aquaduct_subset
result = stitcher.stitch(
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\stitcher.py",
line 92, in stitch
imgs, features, matches = self.subset(imgs, features, matches)
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\stitcher.py",
line 133, in subset
names, sizes, imgs, features, matches = self.subsetter.subset(
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\subsetter.py",
line 30, in subset
img_names = Subsetter.subset_list(img_names, indices)
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\subsetter.py",
line 59, in subset_list
return [list_to_subset[i] for i in indices]
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\subsetter.py",
line 59, in
return [list_to_subset[i] for i in indices]
TypeError: only integer scalar arrays can be converted to a scalar index
======================================================================
ERROR: test_stitcher_budapest (tests.test_stitcher.TestStitcher)
Traceback (most recent call last):
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\tests\test_stitcher.py",
line 115, in test_stitcher_budapest
result = stitcher.stitch(
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\stitcher.py",
line 92, in stitch
imgs, features, matches = self.subset(imgs, features, matches)
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\stitcher.py",
line 133, in subset
names, sizes, imgs, features, matches = self.subsetter.subset(
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\subsetter.py",
line 30, in subset
img_names = Subsetter.subset_list(img_names, indices)
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\subsetter.py",
line 59, in subset_list
return [list_to_subset[i] for i in indices]
File
"C:\Users\Christopher\AppData\Local\Programs\Python\Python38\stitching-main\stitching\subsetter.py",
line 59, in
return [list_to_subset[i] for i in indices]
TypeError: only integer scalar arrays can be converted to a scalar index

Ran 18 tests in 3.705s
FAILED (errors=6, skipped=3)
On Mon, 12 Dec 2022 at 20:13, Lukas Weber @.***>
wrote:

try upgrade numpy using pip install numpy --upgrade
—
Reply to this email directly, view it on GitHub
https://github.com/lukasalexanderweber/stitching/issues/40#issuecomment-1346136360,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADZBOBDJRBADA3ZHT3BQH4TWM3UCVANCNFSM6AAAAAAS2BTCKU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Nice work, thanks for sharing the project! I'll leave this issue open, maybe someone with the same problem stumbles upon a sollution.

I met the same problem. Maybe that is because cv.detail.leaveBiggestComponent returns a list like "[[1], [2], [3]]" rather than "[1, 2, 3]". Flatten this indices may solve this problem.
I simply add the line
indices = list(np.array(indices).flatten())
in line 51, function get_indices_to_keep, subsetter.py, after getting indeices through cv.detail.leaveBiggestComponent.

@shortjonescipher @SSRMori or anybody who stumbles upon this issue: please share your images and system informations! I opened an issue in OpenCV and we need more Info.


docs: import detailed architecture graphic from gardener/documentation

source: https://github.com/gardener/documentation/blob/master/images/GardenerArchitecture.png
Signed-off-by: Christian Berendt<EMAIL_ADDRESS>

Thank you @berendt for your contribution. Before I can start building your PR, a member of the organization must set the required label(s) {'reviewed/ok-to-test'}. Once started, you can check the build status in the PR checks section below.


[SEDONA-303] Port all Sedona Spark functions to Sedona Flink -- Step 4

Did you read the Contributor Guide?

Yes, I have read Contributor Rules and Contributor Development Guide

Is this PR related to a JIRA ticket?

Yes, the URL of the associated JIRA ticket is https://issues.apache.org/jira/browse/SEDONA-303. The PR name follows the format [SEDONA-XXX] my subject.

What changes were proposed in this PR?

Port missing ST_functions including
{ST_PrecisionReduce and ST_MinimumBoundingCircle}to sedona-flink.
Change the default value of the second param of ST_MinimumBoundingCircle from 8 to 48 and its tests. See https://postgis.net/docs/ST_MinimumBoundingCircle.html for reference.
Change the name of ST_PrecisionReduce to ST_ReducePrecision, and its tests and docs, see https://postgis.net/docs/ST_ReducePrecision.html for reference.

How was this patch tested?

Integration unit tests in sedona-flink.
Integration unit tests in sedona-sql, sedona-flink, and python.

Did this PR include necessary documentation updates?

Yes, I have updated the documentation update.

@yyy1000 Please fix the failed Python tests

@yyy1000 Please fix the failed Python tests

Fixed it. :)

I updated the doc. :)


Not possible to add tags to agenda items

…/agenda
Describe the bug
It is currently not possible to add tags to agenda items. The selected tag is not inserted. Nothing happens.
OpenSlides-Version
4.0.0-beta-20220429-b1f2574

Please test this on version 4.0.0-beta-20220510-c5b9559

Successfully tested.

Successfully meaning the error does not appear anymore or you recreated the error successfully? In the former case, you can close this issue.

I mean: The bug is fixed. :) I can tag agenda items successfully. Closing the issue now.


it's too slow.

This script it's too slow to crack files.

you are right

Please check https://github.com/mnismt/CompressedCrack/issues/8#issuecomment-14788156784


Index querying

The get_ncfiles, get_variables and get_nc_variable functions do not take configuration as an argument. If there are identically named experiments in multiple configurations they will all be returned.
This might not be what is desired and I don't think is the intent of these functions.
Happy to be told I am wrong.

Yes that matches my understanding (in fact I'd intended to post the same issue). The SQL queries in those functions do not involve the configuration. Not sure what the best way to fix it is - for backwards compatibility maybe we could have config as an optional arg that can be used if there is an experiment name clash?


New version: GiulioSorrentino.Diario.Avalonia version <IP_ADDRESS>

Checklist for Pull Requests

[ ] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-11-16 16:23:41.153 [FAIL] Installer failed security check. Url: https://github.com/GiulianoSpaghetti/Diario.Avalonia/releases/download/0.5.1/Diario-<IP_ADDRESS>-amd64.msi Result: 0x80004005
MSI (s) (DC:24) [16:23:14:185]: PROPERTY CHANGE: Adding OutOfDiskSpace property. Its value is '0'.
MSI (s) (DC:24) [16:23:14:185]: PROPERTY CHANGE: Adding OutOfNoRbDiskSpace property. Its value is '0'.
MSI (s) (DC:24) [16:23:14:185]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceAvailable property. Its value is '0'.
MSI (s) (DC:24) [16:23:14:185]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRequired property. Its value is '0'.
MSI (s) (DC:24) [16:23:14:185]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRemaining property. Its value is '0'.
MSI (s) (DC:24) [16:23:15:310]: Executing op: ComponentRegister(ComponentId={A988446B-86C2-5354-AB69-78D3281895F8},KeyPath=2285\SOFTWARE\Microsoft\Windows\Windows Error Reporting\RuntimeExceptionHelperModules\C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.11\mscordaccore.dll,State=3,,Disk=1,SharedDllRefCount=0,BinaryType=1)
MSI (s) (DC:24) [16:23:16:544]: Executing op: RegOpenKey(Root=-2147483646,Key=SOFTWARE\Microsoft\Windows\Windows Error Reporting\RuntimeExceptionHelperModules,,BinaryType=1,,)
Property(S): ErrorDialog = ErrorDlg
Property(S): OutOfDiskSpace = 0
Property(S): OutOfNoRbDiskSpace = 0
Property(S): PrimaryVolumeSpaceAvailable = 0
Property(S): PrimaryVolumeSpaceRequired = 0
Property(S): PrimaryVolumeSpaceRemaining = 0
MSI (s) (DC:3C) [16:23:17:013]: PROPERTY CHANGE: Adding OutOfDiskSpace property. Its value is '0'.
MSI (s) (DC:3C) [16:23:17:013]: PROPERTY CHANGE: Adding OutOfNoRbDiskSpace property. Its value is '0'.
MSI (s) (DC:3C) [16:23:17:013]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceAvailable property. Its value is '0'.
MSI (s) (DC:3C) [16:23:17:013]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRequired property. Its value is '0'.
MSI (s) (DC:3C) [16:23:17:013]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRemaining property. Its value is '0'.
MSI (s) (DC:CC) [16:23:17:560]: PROPERTY CHANGE: Adding OutOfDiskSpace property. Its value is '0'.
MSI (s) (DC:CC) [16:23:17:560]: PROPERTY CHANGE: Adding OutOfNoRbDiskSpace property. Its value is '0'.
MSI (s) (DC:CC) [16:23:17:560]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceAvailable property. Its value is '0'.
MSI (s) (DC:CC) [16:23:17:560]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRequired property. Its value is '0'.
MSI (s) (DC:CC) [16:23:17:560]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRemaining property. Its value is '0'.
MSI (s) (DC:2C) [16:23:18:497]: PROPERTY CHANGE: Adding OutOfDiskSpace property. Its value is '0'.
MSI (s) (DC:2C) [16:23:18:497]: PROPERTY CHANGE: Adding OutOfNoRbDiskSpace property. Its value is '0'.
MSI (s) (DC:2C) [16:23:18:497]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceAvailable property. Its value is '0'.
MSI (s) (DC:2C) [16:23:18:497]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRequired property. Its value is '0'.
MSI (s) (DC:2C) [16:23:18:497]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRemaining property. Its value is '0'.

Automated error analysis suggests -1978335187 may mean Installer failed security check. Another script should retry this every 18 hours.
Automated error analysis suggests 80004005 may mean Resource missing
(Automated response - build 897.)

@wingetbot run

@wingetbot run


Icon Child element is required

Omitting the Icon Child Element will result in an error not loading the Add-in. Therefor the Icon element is a required element (i.e the Icon node with the three required Image child elements):
<Icon>
<bt:Image size="16" resid="Icon.16x16"/>
<bt:Image size="32" resid="Icon.32x32"/>
<bt:Image size="80" resid="Icon.80x80"/>
</Icon>

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

ID: 540ad65e-a396-ce57-34fa-00e490028f0d
Version Independent ID: d7807a56-e4d6-aa64-0dd8-3af677b9849d
Content: Group element in the manifest file - Office Add-ins
Content Source: docs/reference/manifest/group.md
Product: non-product-specific
Technology: add-ins
GitHub Login: @o365devx
Microsoft Alias: o365devx

@aafvstam thanks for the feedback! Do I understand correctly that you're referring to Icon element that's specified within a Button control or Menu control?  If so, it seems like the documentation already specifies that this element is required -- i.e., the value of the Required column is Yes for the Icon element in the child elements tables for the Button control and Menu control, here in the docs:

https://docs.microsoft.com/en-us/office/dev/add-ins/reference/manifest/control#button-control
https://docs.microsoft.com/en-us/office/dev/add-ins/reference/manifest/control#menu-dropdown-button-controls

For example, here's the Child elements table for the Button control, where the Icon element is specified as required:

Please let me know if the docs (as currently written) address your concern. If you think more information is needed in the docs, can you please clarify more precisely what you're hoping to see (and where) in the docs regarding the Icon element? Thanks!

The information is missing on the Group object, not the Button. That object currently only mentions two required items, Label and Control from the top of my head. Leaving out the Icon on Group makes it crash.
If you want to see how you can check the video from this morning on https://twitch.tv/maartenvanstam
Hope it helps,
Maarten
Sent using a smalle device, so ignore the typos 😎

From: Kim Brandl - MSFT<EMAIL_ADDRESS>Sent: Monday, December 2, 2019 8:41:18 PM
To: OfficeDev/office-js-docs-pr<EMAIL_ADDRESS>Cc: Maarten van Stam<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [OfficeDev/office-js-docs-pr] Icon Child element is required (#1462)
@aafvstamhttps://github.com/aafvstam thanks for the feedback! Do I understand correctly that you're referring to Iconhttps://docs.microsoft.com/office/dev/add-ins/reference/manifest/icon element that's specified within a Button control or Menu control? If so, it seems like the documentation already specifies that this element is required -- i.e., the value of the Required column is Yes for the Icon element in the child elements tables for the Button control and Menu control, here in the docs:

https://docs.microsoft.com/en-us/office/dev/add-ins/reference/manifest/control#button-control
https://docs.microsoft.com/en-us/office/dev/add-ins/reference/manifest/control#menu-dropdown-button-controls

For example, here's the Child elements table for the Button control, where the Icon element is specified as required:
[image]https://user-images.githubusercontent.com/3019529/69988987-8ccdda00-14f7-11ea-8c4c-d33f8535e0eb.png
Please let me know if the docs (as currently written) address your concern. If you think more information is needed in the docs, can you please clarify more precisely what you're hoping to see (and where) in the docs regarding the Icon element? Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/OfficeDev/office-js-docs-pr/issues/1462?email_source=notifications&email_token=ABIPKUUDWUPNA5I2IMO4KUDQWVQF5A5CNFSM4JTQ7XH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFUU6KY#issuecomment-560549675, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABIPKUVTZB4RW7KETTRC4IDQWVQF5ANCNFSM4JTQ7XHQ.

@aafvstam thanks for the clarification; I now understand the problem (and have confirmed via the manifest schema that the Icon element is indeed a required child element of the Group element). I'll submit a PR later today to update the docs accordingly. Thanks for bringing this to our attention!

@aafvstam thanks again for the feedback! I've submitted a PR to add this info to the docs (#1467).
This issue will automatically be closed when that PR gets merged, and the update will subsequently appear in the live docs with the next batch of doc updates that's published.


python312Packages.debugpy: 1.8.9 -> 1.8.11

https://github.com/microsoft/debugpy/releases/tag/v1.8.11

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@kira-bruneau Hi
  /nix/store/qjqc60gzd0hpzb0qhhvblys3i748i1hg-nixos-system-a7-25.05.20241227.e752b73.drv
building '/nix/store/d3vg6ya9b50dnh3mj5phk2jz1759lh1n-source.drv'...
error: hash mismatch in fixed-output derivation '/nix/store/d3vg6ya9b50dnh3mj5phk2jz1759lh1n-source.drv':
         specified: sha256-jq/0Z6Oo/9gjJlziYJIjIC5i9YMayUdPYSGTjnDL8yU=
            got:    sha256-C/cLUMQNmiLn3z93LOg++3WeDUihMR9O3XKouL4uPqw=
note: keeping build directory '/tmp/nix-build-source.drv-1/build'
error: 1 dependencies of derivation '/nix/store/ly0z5qr8lr35fzhf3vjybirkbsz0d8ab-python3.12-debugpy-1.8.11.drv' failed to build


Results-Page

We need to rework the results page (it is called Reports at the moment and just dumps the json files).
Dependency: #21
Table-like view with three layers: measurement-type (ping, http-download, ...), task, and result. The following picture shows what we have in mind:

The task-line could show one or two aggregations over all results, the result line should show the interesting values for each result.
Most things should be hidden at first, for example only five tasks per measurement-type. You can get more tasks by clicking "...". If you click on a task you get the five latest results, by clicking "..." you get the next five and so on.

[ ] Spacing of Measurement-Name
[ ] Spacing between measurements
[ ] Last measurement can't be opened or closed
[ ] IDs for different tasks from same measurement (see #268)


Add more search option

Add a search option for infraspecies and rank.

We probably don't want a search option for rank, and if we do it will be a dropdown menu. There are only three options - null, "subsp.", and "var." - so a searchbar wouldn't be useful here. If I recall correctly, the rank is simply additional information about infraspecies.


Browse datasets by topic - Adding a descriptive text

In order to give the user a bit more guidance, of what he can do, on the dataset page, a descriptive text should be added below the title.

I agree with this proposition.


Pipenv environment is not activated when opening a new GitBash terminal

Environment data

VS Code version: 1.45.1
Extension version (available under the Extensions sidebar): 2020.5.80290
OS and version: Windows 10, build 18363
Python version (& distribution if applicable, e.g. Anaconda): 3.7.7, python.org
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): pipenv
Value of the python.languageServer setting: Microsoft

Expected behaviour
When opening a new git bash terminal, the pipenv environment is properly activated.
Actual behaviour
jakub@LAPTOP-6R3A0N4R MINGW64 /d/Fiverr_28 (master)
$ source C:/Users/jakub/.virtualenvs/Fiverr_28-MrJNCoYT/Scripts/activate
(Fiverr_28)

which does not activate the environment properly in GitBash
Steps to reproduce:

Set the default integrated terminal to GitBash
Create new Pipenv environment
Set the project interpreter to the adequate venv
Open a new integrated terminal

What I suggest
Pipenv provides a really useful layer of abstraction and one of it's features is the pipenv shell command, which is not being used in this case. Using this command instead of directly running the activation script would resolve this issue.
The issue #2559 would also be resolved by using pipenv shell instead of directly activating the venv.

It would also fix a broken pipenv activation if you move your project.

We've confirmed this issue, thanks. Although the activation works fine for me, it's better to use pipenv shell when we already detect it's a pipenv environment.
That being said, what if there're multiple pipenv environments in .virtualenvs directory. Will pipenv shell automatically handle which one to activate for the workspace folder?

Yes. pipenv does handle this. This is the whole purpose of pipenv, to make the experience more transparent. That being said, I am not sure what your doubt here is. Perhaps I got the meaning of your comment wrong?

@JakubBlaha The problem I see with this is that, technically, there can multiple pipenv environments a workspace folder can select. For instance,
Workspace folder /d/Fiverr_28 (say w1) can select any pipenv environment within that directory C:/Users/jakub/.virtualenvs.
Say C:/Users/jakub/.virtualenvs/Fiverr_28-MrJNCoYT/Scripts/python.exe is python1
Say C:/Users/jakub/.virtualenvs/<some other environment>/Scripts/python.exe is python2
Suppose for w1, user selects python2 as an interpreter. But if we send pipenv shell command when a new terminal is created, python1 will be activated instead.
So the logic will not be as straightforward as simply sending pipenv shell as activation command.
Although I think in most cases, users only use one pipenv environment per workspace, but we can never know.

@karrtikr As from my understanding, pipenv is intended to be used with a single virtual environment and does not support creating multiple environments for a single workspace. Pipenv would refuse to create multiple environments for a single project. If a user needs to have multiple environments assigned to a single workspace, then it isn't smart to use pipenv at all, venv should be rather used.

I understand. I was talking about what a user is technically allowed to do. He could use pipenv environment created for some other workspace as interpreter for this one.

I understand now. I guess there should be an option of whether to use the current method of environment activation, which may be faster or the more reliable option, the pipenv shell command.

Perhaps https://github.com/microsoft/vscode-python/issues/8870 could also help as a workaround. Please upvote, helps bump the priority.

Should be fixed along with https://github.com/microsoft/vscode-python/issues/12020, but let's keep this open until then.

@JakubBlaha Actually we have had some issues with using pipenv shell, https://github.com/microsoft/vscode-python/issues/4404. Which is related to pipenv shell command being slow. So we cannot bring it back as is.
Perhaps we can use pipenv run for scenarios in https://github.com/microsoft/vscode-python/issues/4404 instead, and use pipenv shell in other cases. Still need further investigation.


Scope in Unix

In Boxer, all scope works by "look for named sub-box in current box; if not found keep trying higher through box hierarchy".
File and command scope in Unix is much more complex, program-specific, and frequently involves multiple-dir lookups e.g. $PYTHONPATH.
However, an increasing number of programs do follow a similar "look for closest parent containing X" model.
This "issue" is a dumping ground for random examples of various behaviors...

git uses Boxer-like style to find .git dir (or worktree pointer to one).

This determines the boundary of a Git project, so that you can invoke whole-project git operations from any sub-directory (unless you cross into a sub-dir which itself contains a .git).  git rev-parse --show-toplevel and git rev-parse --show-cdup expose that lookup.
This in turn affects lookup of git foo aliases (defined in local .git/config, then global ~/.gitconfig), ...
.. and of git-foo executables!

There is some differences wrt to working dir — git-foo executables run in cwd, whereas aliases beginning with ! automatically execute in top-level dir (with GIT_PREFIX env var reporting relative path of original cwd).

https://github.com/casey/just is an interesting case in point, because unlike previous examples which had a config file — demarcating a project root — anyway,
Just's primary value is looking up commands in a upward-looked-up justfile:

just can be invoked from any subdirectory, not just the directory that contains the justfile.

Well it has lots of other value-add, like variable computation & substitution (IMHO it reinvents way too much of a shell), portability to Windows, loading .env and more.
It presents itself as "simplear & cleaner Makefile that doesn't try to be a build system", not as "better exec".
However, I have to wonder why it was created in the first place, as opposed to just writing shell scripts — and whether the project-scoped lookup was a major raison d'etre...
(I'm pretending here that centralizing many small snippets in a single file is not in itself something that people value in all the above examples.  Of course it is.  But that aspect could be amenable to better tooling around many-small-files, e.g. bat scripts/* and well, dirwm!)

Unix needs a CLI for merely doing this kind of upward lookup
Not dirwm specific.  A missing primitive!
E.g. up foo would find the first that exists of ./foo, ../foo, ../../foo etc.
up .git, up .svn, up package.json, up .env, up Makefile, even up README.md...

should support a more complex sub-path e.g. source $(up bin/activate) for a containing virtualenv.

[ ] Should it print the found name itself or the dir relative to which it exists?

When you want the file itself, having to do jq ... "$(up package.json)/package.json" would be kinda silly.
When you want the dir, cd "$(dirname "$(up package.json)")" is also silly, but at least not repetitive?  What about peeling multiple dirname layers of something like up bin/activate?
[ ] Worth a flag (up --containing foo?), or a separate command e.g. up vs updir (naming is hard)?

[ ] Need to sort out relative vs. absolute, including "logical cwd" vs "physical cwd" concerns...

Should learn from python path/to/script.py which resolves symlinks before prepending path/to to sys.path — this is crucial so that you can symlink to a script stored elsewhere and it'll will still find associated modules and data files.
Worth having flags e.g. --dereference / --no-dereference in any case.

Do we need a variant uprun that finds the named thing [requiring +x bit] and directly runs it (with rest of args passed through — Bernstein chaining)?  Not sure of general value — but for dirwm yes.

At what cwd should it run?

:bulb: .env files materialize transient shell state
Increasingly many people and tools use .env files as source for environment variables.
I myself don't (perhaps as fish's cross-process set --universal covers many needs?), I kinda saw the point but wasn't sure how to express it...
Well now it hit me: Unix env vars have entirely separate scoping rules:

They follow process tree inheritance.
They are almost immutable after process starts.

and .env files tie both of these aspects to the familiar file system — reducing mental load, and improving mutability!  (it's a tradeoff of course — makes it harder to set different values in concurrently open shells...)


Can you pass JWT access token from app to the web view?

Hello, is it possible to pass JWT access token to the webview headers and immediately login user without navigating to login page in the web? If so, how should I present web view ?

As said in the other issue, you can use the property headers of the URLRequest class

How can I retrieve that JWT token in the React/Angular or any other web framework? Would this JWT token received from Flutter will be stored in cockies or in local storage?

That depends on the logic of your website.
If you save it in the cookies, you will find it in the cookies using the Cookie Manager class.
Otherwise you can get it using the local storage with JavaScript or using the webStorage property of InAppWebViewController.

Thanks! So If I understood correctly, the inappwebview passes a JWT token to both cookies and local storage? And I can access that passed JWT token with Cookie Manager  inside if my react js web app?

No, the plugin offers API to access both.
If the token is inside a cookie or in the local storage, that is up to you.
Like any other web app.
If you want to save the token somewhere in the user phone storage, you can use for example shared_preferences plugin or whatever you want.
The app logic depends on you.


DB migrations

Liquid base

http://www.liquibase.org/documentation/yaml_format.html
https://github.com/spring-projects/spring-boot/blob/v1.3.5.RELEASE/spring-boot-samples/spring-boot-sample-liquibase/src/main/resources/db/changelog/db.changelog-master.yaml

Moved to Flyway after SpringIO16 conference https://flywaydb.org/getstarted/firststeps/maven


Use @Generated annotation on generated code

It would be nice to stop people from editing generated files, and to show where they came from.
--> https://docs.oracle.com/javase/7/docs/api/javax/annotation/Generated.html

Any chance we can see this in the generated TokenManager?
@Generated("JavaCC")
public class SqlParserTokenManager implements SqlParserConstants {
}

This would stop JaCoCo to analyze the long generated methods and issue warnings.

Feel free to send a PR! On Jan 2, 2023 11:38 AM, Luca Garulli @.***> wrote:
Any chance we can see this in the generated TokenManager?
@Generated("JavaCC")
public class SqlParserTokenManager implements SqlParserConstants {
}
This would stop JaCoCo to analyze the long generated methods and issue warnings.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>


Add some helper text to explain what product names should be

T-Shirts in a Man category should have the name "T-Shirts" not "Men's T-Shirts"

I tried to do it, but an helpertext seems only to be allowed in a TextField and not in Field

@barto74 hmmm... I'll have a look. What was the copy you used exactly? (So I don't have to invent something ;)

Enter a name, like 'T-Shirt' or 'Socks'. Don't reuse the category name here.


dragging column separator to decrease column size formatting issue

Consistently reproducible with two adjacent numeric columns. There is a breakpoint at which the value gets text-overflow: ellipsis and the values overflow into each other. Seems to be an issue everywhere but is more apparent with frozen columns.

fixed by #278


Disk Manipulator Empty ItemStack Issue

Issue description:
Empty Air Itemstacks show up in the system, which is generally harmless but can cause issues like java.lang.IllegalArgumentException: Stack can not be invalid.
Version (Make sure you are on the latest version before reporting):

Minecraft: 1.11.2
Forge: <IP_ADDRESS>2
Refined Storage:  1.4.3

If a (crash)log is relevant for this issue, link it here:
https://gist.github.com/Dykam/c37e0f780fe9bfe3262959476f5c5b0c

I removed some irrelevant parts of your issue description, since the crash you were getting for this particular issue had nothing to do with empty itemstacks in the system.


⚠ Quirk Club Argentina (API endpoint) has degraded performance

In c39be12, Quirk Club Argentina (API endpoint) (https://us-central1-quirkclub-dev.cloudfunctions.net/api/check/api) experienced degraded performance:

HTTP code: 200
Response time: 6518 ms

Resolved: Quirk Club Argentina (API endpoint) performance has improved in 81d9305.


[FLINK-12564][network] Remove getBufferProvider method from ResultPartitionWriter

What is the purpose of the change
ResultPartitionWriter#getBufferProvider seems not very general for all the writer implementations. So this method could be merged with ResultPartitionWriter#addBufferConsumer to refactor as ResultPartitionWriter#requestBufferBuilder which returns a BufferBuilder for writing data and the corresponding BufferConsumer is added into sub partition.
Brief change log

Remove getBufferProvider from ResultPartitionWriter
Introduce requestBufferBuilder and broadcastEvents for ResultPartitionWriter
Refactor the process in RecordWriter

Verifying this change
covered by existing tests
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@flinkbot attention @azagrebin

@zentol Thanks for reviews and I pushed a fixup commit for removing getBufferProvider from ResultPartition.


Require consent in order to generate refresh token on every signin

Generate a refresh token for every Google sign-in, by forcing a user to re-consent to access rules each time they sign in. This is required because without a valid refresh token, the Google dart libraries throw an assertion error (https://github.com/google/googleapis.dart/issues/487).
Fixes #754.
Pre-launch Checklist

[x] I read the Contribute page and followed the process outlined there for submitting PRs.
[x] This update contains only one single feature or bug fix and nothing else. (If you are submitting multiple fixes, please make multiple PRs.)
[x] I read and followed the Dart Style Guide and formatted the code with dart format.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///), and made sure that the documentation follows the same style as other Serverpod documentation. I checked spelling and grammar.
[x] I added new tests to check the change I am making.
[x] All existing and new tests are passing.
[x] Any breaking changes are documented below.

We're looking into this.


Stopping producer and cleaning on closed server connection

When a connection is getting disconnected with 1006, there's no immediate way to clean and stop the producer work.
For example:
What is the best way to avoid waiting for 1200 seconds in the below code? (and clean resources as fast as possible)
async def producer_test(client_ws):
    while True:
        yield {"test":"test"}
        await asyncio.sleep(1200) # or waiting for any other resource
    # clean resources

async def handler(client_ws):
    async for dict_msg in producer_test(client_ws):
        if dict_msg:
            await client_ws.send(dict_msg)

Needless to say that instead of sleep, it could have been an event base "await", which can wait for hours/days, and the resources will still be in use.

This question is unrelated to websockets. It's about asyncio.
You need to wait on two things in parallel and return when one of them completes:

producer_test(client_ws)
client_ws.wait_closed()

This is typically achieved with:
task1 = asyncio.create_task(producer_test(client_ws))
task2 = asyncio.create_task(client_ws.wait_closed())
await asyncio.wait([task1, task2], return_when=asyncio.FIRST_COMPLETED)
# check if task1.done(), if task2.done(), and take appropriate action

Thank you, client_ws.wait_closed() is what I was looking for.


AWS multi-node cluster.yaml.example subnet clarifications

Currently the sample AWS YAML has:
# CIDR for Kubernetes VPC
# vpcCIDR: "<IP_ADDRESS>/16"

# CIDR for Kubernetes subnet
# instanceCIDR: "<IP_ADDRESS>/24"

# CIDR for all service IP addresses
# serviceCIDR: "<IP_ADDRESS>/24"

But <IP_ADDRESS>/24 is outside <IP_ADDRESS>/16, so you couldn't deploy it into a <IP_ADDRESS>/16 VPC. I'm not massively familiar with Kubernetes so wanted to confirm that the Service (and Pod) subnets should be in that /16 range and that simply updating the sample YAML wouldn't affect anything else before submitting a pull request.
EDIT:
I think I now see this doesn't matter, since the CF template doesn't actually create the subnets in the VPC. I'll leave this open just to sanity check, but think it can probably be closed as invalid

@alexjs the podCIDR and serviceCIDR options refer to virtual networks which are created and managed by Kubernetes. In the case of kube-aws, the virtual network provider is flannel.
Check out the Kubernetes networking doc.

I'd really like to reopen this issue. This this a glaring documentation problem. Many people have spent hours trying to debug this perceived issue only to stumble upon this lack luster revelation.
I'd suggest adding the word "VIRTUAL" or "OVERLAY" or "INTERNAL" to each of those three comments in the YAML file.


nothing_but use inline name-space's and namespace aliasing to best the change resilience

sub project

Do we use Google Test?
Do we package dbj  test fwk as a separate product ?
Do we package dbj++ into set of separate products or set of stand alone headers ?

DLL export very good article !

Buffers

One UML for all buffers
Lambda matrix engines .... are they also buffers?

dbj++syslog()

Use this as core
Use free version of Kiwi Syslog Server

start from here


Upgrade only?

Are technical upgrades supported only as part of an upgrade, or is it ok to a technical upgrade of a production database, after testing etc? This always used to be ok pre-RTC, but I was under the impression that was no longer the case.

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

ID: 221f01d5-21a5-b244-e419-f83ed74f84eb
Version Independent ID: 3327eb70-9edb-cd5b-e935-ccb5c3008d7f
Content: Converting a Database - Technical Upgrade - Dynamics NAV
Content Source: dynamics-nav/Converting-a-Database.md
Service: unspecified
GitHub Login: @jswymer
Microsoft Alias: jswymer

Hello David,
I spoke with the dev team about this. Although the primary use is for "upgrade" scenarios, we have not blocked the possibility to run the technical upgrade in the scenario that you describe. You just have to  remember to synchronize your tenants after performing a technical upgrade. Also, take care not to change the application version or the tenant data version will be out of synch with the application version forcing you to perform a data upgrade for each tenant. I hope this answers your question, otherwise let us know.
Thanks


SBT dependsOn AutoPlugin

When I do sbt compile it doesn't print Hello:
// build.sbt
enablePlugins(Hello)

// project/Hello.scala
import sbt._
import sbt.Keys._

object Hello extends AutoPlugin {

  object autoImport extends AnyRef {
    lazy val hello = taskKey[Unit]("Says hello")
  }
  import autoImport._

  override val projectSettings = Seq(
    hello := {
      streams.value.log.info("Hello")
    },
    compile in Compile := (compile in Compile).dependsOn(hello).value
  )

See the related question on StackOverflow:
http://stackoverflow.com/questions/41283129/sbt-dependson-autoplugin
Cheers

Hi @joan38, please note the "How can I get help" topic on the website: http://www.scala-sbt.org/community.html#how-can-I-get-help
The problem is that you're defining compile in Compile which then gets over-written by JvmPlugin. To do what you want you need to make your AutoPlugin require the JvmPlugin:
object Hello extends AutoPlugin {
  override def requires = plugins.JvmPlugin

  // etc
}

Can you link to the Stack Overlfow question?
I personally spend more time in the sbt/sbt gitter room than on the Stack Overflow sbt questions.


Passing data between states?

I've learned about behavior trees through an article Chris Simpson (Creator of Project Zomboid) wrote. This article mentioned tasks should be able to pass data to one another to make tasks more reusable. Ex. Instead of an Open Door task, you can make an Open(object) task, where object can be replaced with anything that is openable. Is a feature like this supported by this plugin?

I found a way to pass data through closures and mutexes as mentioned in #29. However, there are still limitations, which that PR seeks to address.


Allow single events to be retrieved

Currently the EventStore allows to retrieve and commit multiple events via get() and commit().
In order to be able to fetch single events from the store a method (for example getOne()) should be added that returns an instance of EventAndRawEvent.
Background:
Being able to fetch single events potentially has many use cases. And it's a precondition to stabilize the event worker that currently always handles all events in a single process (see #160 & #161)

Shouldn't that rather be handled by specifying a proper filter for get, instead of adding a special method? It sounds too much like an edge case, because normally the outside shouldn't care about single events, just about a (partial) stream that it acts upon. Also, the implementation of getOne() in #166 looks hackish tbqh :/

@albe thanks for your feedback. The difference with get is that it fetches a batch of (currently 100) events at a time. IMO it's a very common requirement for an Event Store to be able to return a specific event.
But I coould change the signature to:
public function getOne(string $eventIdentifier)

do you think that's better?

@albe ping ;)

I still think that it should be possible to retrieve just one event by its id. But maybe this could be achieved with a reworked EventStream implementation that would load events lazily and support s.th. like:
$eventStream = $eventStore->load(StreamName::all());
$eventEnvelope = $eventStream->getSingleEventByIdentifier($eventId);

This would also allow for some improved pagination and deferred deserialization (#241) support.
Also we could remove the minimumSequenceNumber argument from EventStore::load() in favor of s.th. like:
$eventStream = $eventStore->load($streamName)->withMinimalSequenceNumber(xyz);

I never came across an actual usecase for this so far.
I still think that this feature might be useful (e.g. in order to provide a REST API for events) but there's currently no (personal) itch for that.
Feel free to comment/repoen if you disagree!


Reader->get method falls into an endless loop

Hi,
My English is not very good, but I will try my best to make it clear to you.
My excel file (just 500 rows) has something wrong, the sheet has no EOF. When using $reader->get(), PHP will be exhaust memory.
Thank you.
I don't know how to fix it, now just do like this:

Excel::load($filename, function($reader) {
    foreach ($reader->getWorksheetIterator() as $key => $sheet) {
        $eof = 0;
        foreach ($sheet->getRowIterator() as $row) {
            // if 5 rows is blank, break the iterator,
            // or will be fall into an endless loop.
            if ($eof >= 5) {
                break;
            }
            $cells = [];
            foreach ($row->getCellIterator() as $cell) {
                $cells[] = trim($cell->getValue());
            }
            $content = implode('', $cells);
            if (empty($content)) {
                ++$eof;
                continue;
            }
            // do something...
        }
    }
});

What does EOF stand for?
Below is what I was using a while back, hope it helps.
Excel::load('/imports/' . $file->getClientOriginalName(), function ($reader) {
	$excel = $reader->get(array('first_name', 'last_name', 'e_mail_address'));
	foreach ($excel as $row) {
		var_dump($row);
	}
}

@NmExHunTeRz
Sorry, my fault. EOF stands for "End Of File".
It is no effect for me, but thank you very much.  : )
My excel file less than 1000 rows, when using $reader->get() to parse file,  I traced to Maatwebsite\Excel\Parsers::parseFile, and found that iterator did not stop working when all contents has been got, it kept reading row by row and return null until the memory was exhausted.
.

No worries.
If you're still having issues then I recommend you try out: http://csv.thephpleague.com/examples/
I'm using it as it's a lot quicker and gets the job done, hope it helps.
I'm not sure if I'm allowed to link an alternative csv reader, if not then please let me know and I will edit this comment.

Yeah, now I'm using csv instead of xlsx, and it works properly.
Thank you mark for your time.


NGINX 1.22

Hi guys all right? I would like to know if there is any prediction for me to be able to install the sec app with nginx 1.22?
Thank you for understanding

It should work now on Debian 10(buster) and 11 (bullseye) and on Ubuntu 18(bionic) 20(focal) and 22 (jammy).
If you need another target, please let us know or you can compile yourself per the instructions provided.
In the next days, se'll publish a file with all flavors - the file will update automatically.

Does it work with 1.22? I tried already and it says it doesn't work.
Even compile didn't work I guess.
On Wed, Dec 14, 2022, 00:54 bilbogh @.***> wrote:

It should work now on Debian 10(buster) and 11 (bullseye) and on Ubuntu
18(bionic) 20(focal) and 22 (jammy).
If you need another target, please let us know or you can compile yourself
per the instructions provided.
In the next days, se'll publish a file with all flavors - the file will
update automatically.
—
Reply to this email directly, view it on GitHub
https://github.com/openappsec/openappsec/issues/4#issuecomment-1349573021,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJVOL7HU6R7HNG4HMZQNELWNDEOPANCNFSM6AAAAAAS5ML75Y
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I did the tests and it didn't work so much in debian 10 and 11, do I intend to launch it for versions these days?

I did the tests and it didn't work so much in debian 10 and 11, do I intend to launch it for versions these days?

It should work now on Debian 10(buster) and 11 (bullseye) and on Ubuntu 18(bionic) 20(focal) and 22 (jammy). If you need another target, please let us know or you can compile yourself per the instructions provided. In the next days, se'll publish a file with all flavors - the file will update automatically.

Also list of supported/pre-compiled versions is now available here.

Wonderful I am, grateful for the update, from what I saw here the sec app on debian 10 does not have support for Nginx 1.22.1
buster:
nginx:
1.18.0-1-buster
1.18.0-2-buster
1.19.0-1-buster
1.19.10-1-buster
1.19.1-1-buster
1.19.2-1-buster
1.19.3-1-buster
1.19.4-1-buster
1.19.5-1-buster
1.19.6-1-buster
1.19.7-1-buster
1.19.8-1-buster
1.19.9-1-buster
1.20.0-1-buster
1.20.1-1-buster
1.20.2-1-buster
1.21.0-1-buster
1.21.1-1-buster
1.21.2-1-buster
1.21.3-1-buster
1.21.4-1-buster
1.21.5-1-buster
1.21.6-1-buster
1.22.0-1-buster
1.23.0-1-buster
1.23.1-1-buster

Also list of supported/pre-compiled versions is now available here.

Correct. It has support for Buster/NGINX 1.22.0, but not 1.22.1.  We can try to add it, but did you look into compiling it yourself?

I'll try it again since Wordops recently added support for debian 11
Link: https://github.com/WordOps/WordOps

Correct. It has support for Buster/NGINX 1.22.0, but not 1.22.1. We can try to add it, but did you look into compiling it yourself?

Erro:
NGINX version found: 1.22.1-1ppa-stable
Downloading open-appsec NGINX attachment... stored in '/tmp/open-appsec'
Unsupported NGINX version, for supported platforms, OS and NGINX versions please see docs.openappsec.io
Downloading open-appsec agent... stored in '/tmp/open-appsec'

Correct. It has support for Buster/NGINX 1.22.0, but not 1.22.1. We can try to add it, but did you look into compiling it yourself?

We are not able to install 1.22.1, regardless of open-appsec. Please explain how you did it.

Well, I use the Wordops microservices stack that comes with a highly customized Nginx, for the security and performance part, I use it to install my Wordopress sites, I'm integrating it with CrowdSec that recognizes the Nginx version perfectly, follow the github link below from Wordops.
Link: https://github.com/WordOps/WordOps

We are not able to install 1.22.1, regardless of open-appsec. Please explain how you did it.

Hi @Ethical-Cronos
The Wordops service you use is not using an official nginx release but as stated in their README - "Custom Nginx build : Nginx 1.22.1 - TLS v1.3 Cloudflare HTTP/2 HPACK & Brotli support"
To install openappsec on this server please follow the instructions in : https://github.com/openappsec/openappsec and https://github.com/openappsec/attachment
Note that you must install several dependencies first (you can use this command `apt-get update -y && apt-get install -y libgmock-dev libboost-all-dev jq cmake g++ vim git make libssl-dev libpcre2-dev libxml2-dev libcurl4-openssl-dev g++ libgtest-dev wget libpcre3 libpcre3-dev libxslt-dev libgd-dev libgeoip-dev)


protected class variables ?

Do you think some class variables like "private headers[]" or "private statusCode" actually marked as private, will be changed as protected ?
I will try to extend you Response classe to add some helpers, so a direct acces to the variables could make the dev more smooth.
What are your opinion on this subject ?
PS : After looking at guzzle and diactoros implementation, the first lib stick to private variables, the second is a mix with private+protected.

There is an entire discussion about marking the classes in this project as final, see #31. If that goes through, extending Response will not be possible at all. Maybe get in on that discussion?

Thanks i will read this discussion.


UnityAR asmdef check: update #elif to include 2019_1

This change includes Unity 2019.1 in the asmdef file check.
Fixes #6854

/azp run


multitenant inbound message relay

@victormartinez-work @mat-work
I see the base branch for this is multitenancy and not agency-multitenant, so this PR can't be merged. If you can create a new branch from agency-multitenant I can create the PR against there.
This adds the inbound message relay for subwallets. I've manually tested it, but not all tests are passing yet (working on that now).
Be sure to use the multitenancy startup parameters in ACA-Py:
--multitenant --multitenant-admin --jwt-secret very_secret_secret

Hi @TimoGlastra here you go https://github.com/rd-dlab/aries-cloudagent-python/tree/agency-multitenant

See other PR


Fix Azure Storage Blob service calling

Fix ::Azure::Blob::BlobService.new calling
file exists typo

LGTM


Don't fail entire run if Rapsearch fails

I've been thinking in general it might be useful when rapsearch fails for a chunk to emit those reads as matching a special fake species with name "failed alignment", and if those are present, the webapp can surface that on the sample details page and also at the top of the report page.   Better than just failing the whole sample and not even seeing the gsnap results.

Good idea, and we should make very certain that those fake taxons are not present in any background so they rise to the top of the page :P)  because it's usually bugs we should fix and rerun the chunk.   Alternatively we can have some "percent reads lost due to operational errors" warning.


Switch to markup annotations in JSON-LD syntax

Despite our generated HTML documents using the microdata syntax are fully conform with the structured data testing tool by Google, its interpretation is not granted because "dynamically added microdata annotations" (coupled into the DOM) are not guaranteed to be interpreted by search engines and web mapping applications / libraries and UIs. A switch to markup geographic items in HTML documents using the JSON-LD syntax might increase interoperability of the concept of web mapping documents. Furthermore, this syntax seems the only way forward in light of web map development with Leafletjs goes into the direction of favouring "canvas" (or black box) based over SVG/XML based rendering technologies.
Essentially, web mapping documents are HTML Documents which try to reflect the web mapping practices behind and thus allow us to archive and monitor changes in them over time. Thus, advanced geographic web maps (web mapping documents) are fundamental for using geographic web maps as research data (e.g. archiving, or programmatic analysis). Technically machine readable descriptions of current web mapping practices ("what people do with or state with maps") can of course be included in documents through extending the Hypertext Markup Language about ontologies of the geographic and social domain. It is just that our tools for production of geographic web maps should make it as easy as possible for creators of maps to see, conceive and author their geographic web maps as web mapping documents.
Published this way web mapping documents would enable the development of web map archives and interfaces which value the interpretation of each rendering of a map as a very specific and immutable collection of statements about the world made by people (see Gryl 2014, Reflexive map work).
As pointed out by research on critical cartograhy (J.B. Harley, 1992 ), maps can be understood as a complex visual text composed of domain specific statements about the world.
Furthermore, publishing and exposing geographic data contained in web maps makes maps accessible as data of the web (see Web of data). This would allow us to e.g. search for maps by concent used in them or find maps on the web through simply specifying geo coordinates or a bounding box.

A "jsonld.js" build is 189.8 KByte, it may be worth a look but seems to be massively oversized to realize a basic integration. Leaflet.annotate using Microdata Syntax has less than 900 lines of code (including a domain specific schema.org dictionary).


Citations and document removal

Hello!
It would be really helpful to reference the documents the application uses to respond to questions. From my research I didn't find anything related to this in langchain4j only in langchain.
Also, something else that I find helpful is the ability to remove documents which are no longer needed.
Best wishes!

Duplicate, please track it here: https://github.com/langchain4j/langchain4j/issues/660


Uncaught TypeError: Cannot read property 'diffFolder' of undefined

[Enter steps to reproduce below:]

...
...

Atom Version: 1.0.0
System: Mac OS X 10.10.3
Thrown From: remote-sync package, v3.1.2
Stack Trace
Uncaught TypeError: Cannot read property 'diffFolder' of undefined
At /Users/marcoslh/.atom/packages/remote-sync/index.coffee:64

TypeError: Cannot read property 'diffFolder' of undefined
  at handleEvent (/Users/marcoslh/.atom/packages/remote-sync/index.coffee:64:29)
  at atom-workspace.disposables.add.atom.commands.add.remote-sync:diff-folder (/Users/marcoslh/.atom/packages/remote-sync/index.coffee:80:40)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/command-registry.js:241:29)
  at CommandRegistry.handleCommandEvent (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61)
  at CommandRegistry.module.exports.CommandRegistry.dispatch (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/command-registry.js:156:19)
  at [object Object].jQuery.fn.trigger (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/space-pen-extensions.js:64:23)
  at EventEmitter.<anonymous> (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:75:67)
  at emitTwo (events.js:87:13)
  at EventEmitter.emit (events.js:169:7)
  at EventEmitter.ipc.sendSync (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/atom.asar/renderer/api/lib/ipc.js:21:31)
  at BrowserWindow.RemoteMemberFunction [as emit] (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/atom.asar/renderer/api/lib/remote.js:110:29)
  at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/context-menu-manager.js:170:31)
  at HTMLDocument.<anonymous> (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:150:33)
  at HTMLDocument.handler (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/space-pen-extensions.js:112:34)
  at HTMLDocument.jQuery.event.dispatch (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/node_modules/space-pen/vendor/jquery.js:4681:9)
  at HTMLDocument.elemData.handle (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/node_modules/space-pen/vendor/jquery.js:4359:46)

Commands
     -8:53 core:copy (atom-text-editor.editor.vim-mode.is-focused.visual-mode)
 11x -8:51.5.0 blur (atom-text-editor.editor.vim-mode.is-focused.visual-mode)

Config
{
  "core": {
    "themes": [
      "isotope-ui",
      "base16-tomorrow-dark-theme"
    ]
  },
  "remote-sync": {}
}

Installed Packages
# User
atom-django, v0.3.0
color-picker, v2.0.7
django-templates, v0.5.0
editorconfig, v1.0.1
emmet, v2.3.11
ex-mode, v0.5.1
git-log, v0.4.1
git-tab-status, v1.9.2
isotope-ui, v2.4.2
linter, v1.1.0
linter-flake8, v1.4.2
linter-jscs, v1.12.0
linter-jshint, v0.1.7
linter-python-pep8, v0.2.0
node-debugger, v1.1.0
pigments, v0.8.1
remote-sync, v3.1.2
vim-mode, v0.54.0

# Dev
No dev packages

It sees that you try to diff a folder which is not belong to the project?


WFLY-7745 mod_cluster extension uses deprecated transformer API

Jira
https://issues.jboss.org/browse/WFLY-7745

Retest this please


Found an Easter Egg

I found an easter egg ;)

You're only allowed to claim one easter egg 🙃

@EbhomenyeEmmanuel Thank you so much for the contribution!
As a way of saying thank you, we would also love to invite you to join the Appwrite organization on GitHub. Please share your GitHub username with us on Discord.
You can accept the invite by visiting https://github.com/orgs/appwrite/invitation. By joining our team, you will officially be an Appwrite maintainer on GitHub.
You can change your membership visibility settings, so your new Appwrite team membership badge will show up on your personal GitHub profile.
Please feel free to look for more PRs you might be interested in helping with on our long list of Hacktoberfest friendly issues and help make Appwrite better :)

Thanks but my invite link isn't working,


[proposal] propose new instructions in kubefile

Describe what this PR does / why we need it
related to [Proposal] A more k8s-based/rootfs-transparent instructions in Kubefile
Does this pull request fix one issue?

Describe how you did it
Describe how to verify it
Special notes for reviews
For CNI/CSI/APP, I still fail to think throgh the dynamic render for remote fetching(https) files at runtime (this is easy to accomplish at local).
This is note a ultimate version, propose this to have a discussion with you guys. @sealerio/sealer-maintainers @sealerio/sealer-reviewers

@justadogistaken ,
Very excited to see our newly refactored kubefile instruction, i have some questions about the LANGCH instruction and offline delivery.

Different applications start in different ways, such as: helm package, yaml file application. Do we need to distinguish them by adding several parameters?
Could we support building applications with variable parameters? such as the image name in yaml which can be specified at run stage, build once and run it according to different parameters.
Some applications are started by the operator, after that the related pods are started. if cluster image is delivered to the offline environment, the images of those pods need to be saved in clusterimage in advance.

@kakaZhou719
Thanks for your suggestions.

I agree with you, we will support options/flags to support various app installation.
For this problem, how do we handle this at present? I guess it dues to env rending?(I' not so sure), and of course I can allow users to input some args at the LAUNCH.
I'm confused with this problem. In this way, it won't affect image saving. What you mean is COPY imageList manifest? We won't remove the original instructions, and I can also provide a instruction to support that. And is this related to LAUNCH, I still feel confused. Maybe you can share more detailed information.

./docs/design/kubefile_alpha.md:7: MD009 Trailing spaces
./docs/design/kubefile_alpha.md:8: MD009 Trailing spaces
./docs/design/kubefile_alpha.md:9: MD009 Trailing spaces
./docs/design/kubefile_alpha.md:110: MD012 Multiple consecutive blank lines
./docs/design/kubefile_alpha.md:50: MD031 Fenced code blocks should be surrounded by blank lines
./docs/design/kubefile_alpha.md:56: MD031 Fenced code blocks should be surrounded by blank lines
./docs/design/kubefile_alpha.md:88: MD038 Spaces inside code span elements

/test apply

LGTM