[BUG] - Submitting multiple builds can fill queue causing frontend to be stop working

Describe the bug
I'll describe this issue as I've seen it through the Nebari jlab conda-store UI, but I believe the issue is likely the backend.
Open an existing env in the UI, go to edit, make a minor change, click Create. Normally upon clicking Create, you'd be redirected back to the "non-edit" UI screen, but now clicking the button doesn't appear to do anything.
Now attempt to go to the /conda-store/admin page - it will not load anything, just spin.
Now shutdown your server, and log back in. Going to the conda-store UI and attempting to log in will have no effect, you just get the spinning logo in the browser tab. The rest of nebari remains operational, but there is no way to get conda-store out of this state immediately.

This happened to me last night and when I came back this morning it had worked itself into an operational state again. I went through the above process this morning on one nebari deployment and the same thing happened. Then I went through the above process on a different nebari deployment and the same thing happened.
I will also note that I tried to Delete environments and saw similar behavior but I'm not sure if that was because it was already in a broken state or if that also is causing something similar to happen.
Expected behavior
I expect to be able to Edit and Save environments.
How to Reproduce the problem?
Reproducer explained above.
Output
No response
Versions and dependencies used.
No response
Anything else?
No response

Update: it worked itself back into unstuck state after about an hour or so - Now I can log into conda-store and use the UI to VIEW envs

@kcpevey I cannot repro on 64552a28e649d7305ec971332cfb739286769ec9, tag: 2023.9.2.
Also, I'm confused by this:

Open an existing env in the UI, go to edit, make a minor change, click Create. Normally upon clicking Create, you'd be redirected back to the "non-edit" UI screen, but now clicking the button doesn't appear to do anything.

Which URL are you accessing? There's no Create button. I've tried editing envs via the new UI (front page) and via http://localhost:5000/conda-store/admin. Cannot repro either way.

This was an incompatibility between the conda-store packages releases. I think we had the new conda-store release 2023.9.2 and older conda-store jlab release. At any rate, we've upgraded to the suggested versions here https://github.com/nebari-dev/nebari/issues/1948 and this is now resolved.

Reopening since we've seen this again after updating to the recommended versions https://github.com/nebari-dev/nebari/issues/1948#issuecomment-1735711425

@nkaretnikov @kcpevey and I were able to reproduce this error. When the same (or multiple users) submit multiple builds at roughly the same time, the conda-store QueuePool limit (5 build) is reached. We can tell that this is the case by inspecting the logs on the backend:

conda-store-server logs
search=voila&exact=true&distinct_on=version&page=1&order=desc&sort_by=version HTTP/1.1" 500 Internal Server Error
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/anyio/streams/memory.py", line 98, in receive
    return self.receive_nowait()
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/anyio/streams/memory.py", line 93, in receive_nowait
    raise WouldBlock
anyio.WouldBlock

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/starlette/middleware/base.py", line 78, in call_next
    message = await recv_stream.receive()
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/anyio/streams/memory.py", line 118, in receive
    raise EndOfStream
anyio.EndOfStream

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 408, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in __call__
    return await self.app(scope, receive, send)
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/fastapi/applications.py", line 292, in __call__
    await super().__call__(scope, receive, send)
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/starlette/applications.py", line 122, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/starlette/middleware/errors.py", line 184, in __call__
    raise exc
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/starlette/middleware/errors.py", line 162, in __call__
    await self.app(scope, receive, _send)
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/starlette/middleware/base.py", line 108, in __call__
    response = await self.dispatch_func(request, call_next)
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/conda_store_server/server/app.py", line 235, in conda_store_middleware
    response = await call_next(request)
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/starlette/middleware/base.py", line 84, in call_next
    raise app_exc
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/starlette/middleware/base.py", line 70, in coro
    await self.app(scope, receive_or_disconnect, send_no_error)
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/starlette/middleware/sessions.py", line 86, in __call__
    await self.app(scope, receive, send_wrapper)
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/starlette/middleware/cors.py", line 83, in __call__
    await self.app(scope, receive, send)
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
    raise exc
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
    await self.app(scope, receive, sender)
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in __call__
    raise e
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in __call__
    await self.app(scope, receive, send)
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/starlette/routing.py", line 718, in __call__
    await route.handle(scope, receive, send)
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/starlette/routing.py", line 276, in handle
    await self.app(scope, receive, send)
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/starlette/routing.py", line 66, in app
    response = await func(request)
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/fastapi/routing.py", line 273, in app
    raw_response = await run_endpoint_function(
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/fastapi/routing.py", line 190, in run_endpoint_function
    return await dependant.call(**values)
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/conda_store_server/server/views/api.py", line 819, in api_list_packages
    return paginated_api_response(
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/conda_store_server/server/views/api.py", line 98, in paginated_api_response
    count = query.count()
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/sqlalchemy/orm/query.py", line 3176, in count
    return self._from_self(col).enable_eagerloads(False).scalar()
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/sqlalchemy/orm/query.py", line 2893, in scalar
    ret = self.one()
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/sqlalchemy/orm/query.py", line 2870, in one
    return self._iter().one()
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/sqlalchemy/orm/query.py", line 2916, in _iter
    result = self.session.execute(
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 1713, in execute
    conn = self._connection_for_bind(bind)
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 1552, in _connection_for_bind
    return self._transaction._connection_for_bind(
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 747, in _connection_for_bind
    conn = bind.connect()
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3315, in connect
    return self._connection_cls(self, close_with_result=close_with_result)
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 96, in __init__
    else engine.raw_connection()
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3394, in raw_connection
    return self._wrap_pool_connect(self.pool.connect, _connection)
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3361, in _wrap_pool_connect
    return fn()
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 327, in connect
    return _ConnectionFairy._checkout(self)
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 894, in _checkout
    fairy = _ConnectionRecord.checkout(pool)
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 493, in checkout
    rec = pool._do_get()
  File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 134, in _do_get
    raise exc.TimeoutError(
sqlalchemy.exc.TimeoutError: QueuePool limit of size 5 overflow 10 reached, connection timed out, timeout 30.00 (Background on this error at: https://sqlalche.me/e/14/3o7r)

When this happens, the front end becomes gets completely blocked and no user interaction is permitted. Once the builds in the queue are processed, the front end becomes usable again.

This issue has to do with SQLAlchemy, Sessions, and FastAPI (threads/async/await). I have spent a long time trying to figure issues around this... I don't understand it

We talked about this today and @nkaretnikov will be writing an integration test to hopefully reproduce this issue. I think that this issue will only surface when using non-sqlite databases as a backend.

Summary of the call:

Write this as an integration test, by calling the API. This will be tested with postgres/docker on CI (see integration-test-conda-store-server).
Use this issue to repro
Look into the number of DB connections we're making. Clicking a button 4 times shouldn't lock up Postgres.
Some things to look at:

Code where QueuePool is used (try a different pool (NullPool)?, pool might need to be bigger)
Code where get_db is defined (could be something like an issue with sharing database session between threads)
How db session object is used
FastAPI and ThreadPoolExecutor
etc.

We should perhaps be using something like flower to monitor the celery tasks Flower — Flower 2.0.0 documentation https://flower.readthedocs.io/
Also we are using Redis as some sort of broker right @costrouc?
If so the worker might be polling the database for new tasks causing the IO to raise (a lot) and  slowing down/freezing the web app.
It might be more efficient using a proper broker like RabbitMQ - that way the queues will reside in memory and will stop polling the database.
In such case even if the broker gets clobbered it should not bring the whole app down.

From today's meeting:

We can make a short-term fix to unblock release by changing QueuePool to NullPool
Long term, we need to look into the core issue here - @costrouc will open a new issue about this with historical context

Started working on this.

Adding a tad more context

We can make a short-term fix to unblock release by changing QueuePool to NullPool

For this item to be completed and merged (potentially) the change is needed + adding the relevant tests

If this is needed ASAP, I suggest we change to NullPool, test manually on Eskild's Nebari deployment, where this repros, and release without tests.
After a day, I haven't been able to repro with conda-store locally. Not only just by trying to hit endpoints with curl or clicking on buttons, but also modifying the code where DB sessions are used.
There are still things I want to try tomorrow, but I wanted to give a quick status update since people said it blocks the release and repros during ordinary UX.

Should be fixed by https://github.com/conda-incubator/conda-store/pull/622. Added a test, which used to fail and now passes.


Link is broken for SDDC video

this one: https://mva.microsoft.com/training-courses/whats-new-in-windows-server-2016-16457?l=YcsJR6sXC_1006218965

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

ID: 0b1c8c0c-6f18-b4fb-07e8-e02487d77dc6
Version Independent ID: 74dcd07f-e53a-34fb-2b55-f1b1501324bb
Content: Windows Server Software-Defined Datacenter
Content Source: WindowsServerDocs/sddc.md
Product: windows-server
Technology: sddc
GitHub Login: @coreyp-at-msft
Microsoft Alias: coreyp

Thanks for the feedback. This article has been retired and redirected.
#please-close


Pipeline launch fails with error "In single-user mode, ListExperiment cannot filter by namespace"

Describe the bug
Reported by @blublinsky
Trying to launch a pipeline from mlx - it brings kubeflow pipelines screen, but execution does not happen.
Steps to reproduce
curl -X POST  \
    --header 'Content-Type: application/json' \
    --header 'Accept: application/json' \
    -d '{}' \
'http://{$MLX_API_SERVER}/apis/v1alpha1/pipelines/fdda3ca4-39c1-4ed0-8781-f54d202a4ec6/run?run_name=A%20demo%20of%20recursive%20conditional%20pipeline%20-%20flip%20coin'

Reported Error

"error: In single-user mode, ListExperiment cannot filter by namespace"

"Error while trying to run pipeline fdda3ca4-39c1-4ed0-8781-f54d202a4ec6:
{\"error\":\"Invalid input error: In single-user mode, ListExperiment cannot filter by namespace.\",\"code\":3,
\"message\":\"Invalid input error: In single-user mode, ListExperiment cannot filter by namespace.\",\"details\":
[{\"@type\":\"type.googleapis.com/api.Error\",\"error_message\":
\"In single-user mode, ListExperiment cannot filter by namespace.\",
\"error_details\":\"Invalid input error: In single-user mode, ListExperiment cannot filter by namespace.\"}]}\n
KFP URL: 172....:8888 (400)"

Environment

MLX single-user on OpenShift

Investigating this issue we found:

this is the MLX API code triggering the error: https://github.com/machine-learning-exchange/mlx/blob/380911c797d6f7869fef4fd8a725[…]api/server/swagger_server/gateways/kubeflow_pipeline_service.py
calling kfp.Client _create_experiment: https://github.com/kubeflow/pipelines/blob/158d15f92b1ac86fc2ea4eaf48f9b50b5ce4c9ab/sdk/python/kfp/_client.py#L393-L396
which checks for get_user_namespace: https://github.com/kubeflow/pipelines/blob/158d15f92b1ac86fc2ea4eaf48f9b50b5ce4c9ab/sdk/python/kfp/_client.py#L372-L378
from _context_setting['namespace'], initialized here: https://github.com/kubeflow/pipelines/blob/158d15f92b1ac86fc2ea4eaf48f9b50b5ce4c9ab/sdk/python/kfp/_client.py#L291-L298
which is loaded from file ~/.config/kfp/context.json: https://github.com/kubeflow/pipelines/blob/158d15f92b1ac86fc2ea4eaf48f9b50b5ce4c9ab/sdk/python/kfp/_client.py#L130

Solution: create context.json file in multi-user deployments only #149


Constant crash on android 6.0.1

Checklist

[X] I read the troubleshooting guide before raising this issue
[X] I made sure that the issue I am raising doesn't already exist

Current bug behaviour
After the update to audioplayers 5.2.1, there is constant crash of IlllegalStateException on Android 6.0.1 devices.
Expected behaviour
The player should play the audio from assets.
Steps to reproduce

Execute flutter run on the code sample
...
...

Code sample
Future play(String fileName, {bool loop = false}) async {
if (_audioPlayer.state == PlayerState.disposed) {
_audioPlayer = AudioPlayer();
}
await _audioPlayer.release();
_audioPlayer.play(AssetSource('sounds/$fileName'), volume: _volume);
if (loop) {
_audioPlayer.setReleaseMode(ReleaseMode.loop);
}
}
Affected platforms
Android
Platform details
Platform: Android 6.0.1
AudioPlayers Version
5.2.1
Build mode
release
Audio Files/URLs/Sources
No response
Screenshots
No response
Logs
Fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError: PlatformException(AndroidAudioError, null, java.lang.IllegalStateException
at android.media.MediaPlayer.prepareAsync(Native Method)
at n9.i.d()
at n9.o.N()
at m9.m.J()
at m9.m.n()
at m9.m$b.b()
at m9.m$b.invoke()
at m9.m$d.invokeSuspend()
at kotlin.coroutines.jvm.internal.a.resumeWith()
at d9.d1.run()
at kotlinx.coroutines.internal.n.run()
at kotlinx.coroutines.scheduling.k.run()
at kotlinx.coroutines.scheduling.a.M()
at kotlinx.coroutines.scheduling.a$c.d()
at kotlinx.coroutines.scheduling.a$c.n()
at kotlinx.coroutines.scheduling.a$c.run()
, null)
at StandardMethodCodec.decodeEnvelope(message_codecs.dart:652)
at MethodChannel._invokeMethod(platform_channel.dart:310)
at AudioPlayer.stop(audioplayer.dart:226)
at AudioPlayer.release(audioplayer.dart:242)
at AudioPlayer.dispose(audioplayer.dart:405)
at AudioManager._disposeMusic(audio_manager.dart:112)
at AudioManager.dispose(audio_manager.dart:99)
Related issues / more information
No response
Working on PR
no way

Try to set the release mode before playing.
Also use await before setReleaseMode and play.
See also #1526

Try to set the release mode before playing. Also use await before setReleaseMode and play.
See also #1526

Ok, I'll try with await, but I don't think that would be cause since this only happens on Android 6.0.1

@ehtiqamar did you find a solution? I am also struggling with this for Android 6 devices in specific

@ehtiqamar did you find a solution? I am also struggling with this for Android 6 devices in specific

nope, I tried the above solution but it is still crashing


trajectory: add math import

not sure why we haven't done this till now

not sure why we haven't done this till now

I thought that this was due to some other math library that would be required for deployment on non-pc hardware.
It probably did not surface because the interpolation tests are currently not run.


Not possible to Change birthdate on personal information (Maybe limitation for 18 years)

Which area(s) of Podkrepi.bg are affected?
Desktop layout
Describe the Bug
https://github.com/podkrepi-bg/frontend/assets/16596102/7c3db0db-4a88-4a12-b928-dbfcf710bb6a
Add error message not possible to set age under 18 years old
To Reproduce

Create user with google login.
Login https://podkrepi.bg/en/profile/personal-information#
Click Edit Birthday
Choose date 24/12/2010
Click button Send

Expected Behavior
Show error message when try to add age under 18 years old
or save Birthday if older than 18 years old.
Which browser are you using? (if relevant)
Floorp Brave Vivaldi

You cannot edit personal information only if you are logged in with Google.
I will close the issue as a duplicate of https://github.com/podkrepi-bg/frontend/issues/1216.
You can see more details in the discussion in the ticket.

Please open again the bug report.
You can set Birthday if your birthday is more than 18 years from today. (Example 19.01.1985 is legit working date in this window.)
Problem is missing message to user to understand that if he want to set Birthday need to be more that 18 years old.


Icon doesn't change after pull request

Hi i want to ask the problem about the icon didn't update in the app after merging pull request. Image name is 0xa843343b1658dea67e83cbd11da0b73728a1b185.png . (TixguruToken TIX)
Old icon is:

New icon is:

Thanks !

We have local cache for a week on your phone. It will be new for the new people, or wait for a week on your side.


feat: add getSortedUsers(), getUserCount() and getUserByEmail() APIs

Signed-off-by: Yixiang Zhao<EMAIL_ADDRESS>

Codecov Report

Merging #16 (ece74c9) into master (e638b15) will not change coverage.
The diff coverage is 0.00%.

@@          Coverage Diff           @@
##           master     #16   +/-   ##
======================================
  Coverage    0.00%   0.00%
======================================
  Files          15      15
  Lines         226     242   +16
  Branches       14      14
======================================
- Misses        226     242   +16

Impacted Files
Coverage Δ

...org/casbin/casdoor/service/CasdoorUserService.java
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


Enhance README

The README is missing a lot of things like the installation instructions, how to use, etc. Need many enhancements.

Tried to create a enhanced readme file should i make a pull request on the master.

Go ahead @balwanishivam


Incorrect link to core actions

What is the issue?

The Dagger core action reference page has an incorrect link to the core actions page.

Incorrect link shown: https://docs.dagger.io/core-concepts/1221-action
Should be: https://docs.dagger.io/1221/action

The Dagger actions page has an incorrect link to the plan structure page.

Incorrect link shown: https://docs.dagger.io/1221/action/1202-plan
Should be: https://docs.dagger.io/1202/plan

Hi @ivorscott :)! Thank you very much to report this issue.
Would you be keen to fix it by opening a PR ? Otherwise I'll do it, not a problem. Let me know
Have a great day


refactor: main entry point initial implementation (I)

This PR lays the groundwork for moving SceneController to Environment and having an scene-independent entry point for tests.

Add new Main MonoBehaviour that will take SceneController entry point responsibilities
Added Main to SceneController prefab, replacing SceneController.
SceneController is now a POCO
Added some lazy wiring to keep the SendMessage pipeline in working state

Some comments on naming:

What is Main?
Is SceneController a POCO or a Prefab?
A Controller is generally the opposite of a POCO; only has code, no data... can we change the name of SceneController?

@eordano @sandrade-dcl I'm going to remove SceneController and split it in a few interfaceable classes. Will not do this in this series of PRs because it would involve a massive change in the codebase. Let's do this in baby steps.
@sandrade-dcl For the SceneController.i removal check the part 3 of this series, it does exactly that.

@eordano about SceneController prefab/poco: we actually have a POCO and a prefab with that name. I will try to at least rename the prefab so we don't have this confusion anymore. The SceneController POCO its not supposed to hold any data btw (It will be wiped anyways as I stated in the last comment tho).


Benchmarking changes to the wire protocol

When making changes of the wire protocol, we should take into account the effect on CPU usage, memory usage and network bandwidth. For this we need some tooling for doing (nearly) reproducible benchmarks.
Roughly, my thoughts are

record data passed to the Reporter
replay previously recorded data (with the same order and timing!)
record the uncompressed on-wire messages (protobuf blobs)
a benchmark Go tool that does compression and decompression of the protobuf messages (Go because we want to measure the Go implementations of the compressors)
a python tool to generate diagrams / tables from the results of the Go tool

The recorded data can be replayed multiple times, e.g. with and without a protocol implementation change, to allow comparisons of the change's effects.

When establishing and creating the OTel Profiling protocol, @petethepig invested noticeable time and effort in benchmarks - see https://github.com/petethepig/opentelemetry-collector/pull/1. He also documented changes and potential options with https://docs.google.com/spreadsheets/d/1Q-6MlegV8xLYdz5WD5iPxQU2tsfodX1-CDV1WeGzyQ0/edit?gid=1732807979#gid=1732807979.
It might be worth considering building on this existing work.

A simpler approach that @christos68k and I have been testing with previously is to build two profiling agents with two protocols that you want to compare, then running them at the same time on the same machine while applying some heavy workload and recording the sum of all message sizes. Sampling won't interrupt exactly the same traces in both agents, but if you run it for an hour or so it should statistically give you a pretty good estimate. From previous experience of looking at differential flamegraphs of two agents running on the same machine, I'd expect the error to be in the realm of 0.5 - 1% with that approach. It's arguably more difficult to reproduce for other reviewers than with @petethepig's approach or the one that you are describing in this issue here.

#120 is a PoC for the ideas outlines in the issue description.


[Bug/Broken] Bilibili naming scheme changed, incomplete downloads of channel videos.

Checklist

[x] I'm reporting a broken site support issue
[x] I've verified that I'm running yt-dlp version 2021.04.03
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[x] I've read bugs section in FAQ

Verbose log

yt-dlp --verbose https://space.bilibili.com/3985676/
[debug] User config file: C:\Users\\yt-dlp.conf
[debug] User config: ['--output', './ytdlp/%(uploader)s (%(uploader_id)s)/[%(upload_date)s] %(title)s %(fps)s[%(resolution)s] (%(id)s).%(ext)s', '--output', 'subtitle:./ytdlp/_/%(uploader)s (%(uploader_id)s)/[%(upload_date)s] %(title)s %(fps)s[%(resolution)s] (%(id)s).%(ext)s', '--output', 'thumbnail:./ytdlp/_/%(uploader)s (%(uploader_id)s)/[%(upload_date)s] %(title)s %(fps)s[%(resolution)s] (%(id)s).%(ext)s', '--output', 'description:./ytdlp/_/%(uploader)s (%(uploader_id)s)/[%(upload_date)s] %(title)s %(fps)s[%(resolution)s] (%(id)s).%(ext)s', '--output', 'infojson:./ytdlp/_/%(uploader)s (%(uploader_id)s)/[%(upload_date)s] %(title)s %(fps)s[%(resolution)s] (%(id)s).%(ext)s', '--output', 'annotation:./ytdlp/_/%(uploader)s (%(uploader_id)s)/[%(upload_date)s] %(title)s %(fps)s[%(resolution)s] (%(id)s).%(ext)s', '--format-sort', 'res,fps,size,br', '--format', 'bestvideo+bestaudio/best', '--write-description', '--write-info-json', '--write-annotations', '--write-all-thumbnails', '--all-subs', '--ignore-errors', '--retries', '20', '--fragment-retries', '20', '--no-continue', '--no-overwrites']
[debug] Home config file: yt-dlp.conf
[debug] Home config: ['--output', './ytdlp/%(uploader)s (%(uploader_id)s)/[%(upload_date)s] %(title)s %(fps)s[%(resolution)s] (%(id)s).%(ext)s', '--output', 'subtitle:./ytdlp/_/%(uploader)s (%(uploader_id)s)/[%(upload_date)s] %(title)s %(fps)s[%(resolution)s] (%(id)s).%(ext)s', '--output', 'thumbnail:./ytdlp/_/%(uploader)s (%(uploader_id)s)/[%(upload_date)s] %(title)s %(fps)s[%(resolution)s] (%(id)s).%(ext)s', '--output', 'description:./ytdlp/_/%(uploader)s (%(uploader_id)s)/[%(upload_date)s] %(title)s %(fps)s[%(resolution)s] (%(id)s).%(ext)s', '--output', 'infojson:./ytdlp/_/%(uploader)s (%(uploader_id)s)/[%(upload_date)s] %(title)s %(fps)s[%(resolution)s] (%(id)s).%(ext)s', '--output', 'annotation:./ytdlp/_/%(uploader)s (%(uploader_id)s)/[%(upload_date)s] %(title)s %(fps)s[%(resolution)s] (%(id)s).%(ext)s', '--format-sort', 'res,fps,size,br', '--format', 'bestvideo+bestaudio/best', '--write-description', '--write-info-json', '--write-annotations', '--write-all-thumbnails', '--all-subs', '--ignore-errors', '--retries', '20', '--fragment-retries', '20', '--no-continue', '--no-overwrites']
[debug] Command-line config: ['--verbose', 'https://space.bilibili.com/3985676/']
[debug] Loading archive file None
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] yt-dlp version 2021.04.03 (exe)
[debug] Python version 3.8.8 (CPython 64bit) - Windows-10-10.0.19041-SP0
[debug] exe versions: ffmpeg git-2020-06-04-7f81785, ffprobe git-2020-06-04-7f81785
[debug] Proxy map: {}
[BilibiliChannel] None: Downloading webpage
[download] Downloading playlist: 3985676
[info] Playlist metadata is already present
WARNING: There's no playlist description to write.
[BilibiliChannel] playlist 3985676: Collected 25 videos; downloading 25 of them
[download] Downloading video 1 of 25
[BiliBili] 1H64y1S77L: Grabbing original ID via API
[BiliBili] 757468406: Downloading webpage
[BiliBili] 757468406: Extracting videos in anthology
[BiliBili] Downloading just video 757468406 because of --no-playlist
[BiliBili] 757468406: Downloading video info page
[debug] Sort order given by user: res,fps,size,br
[debug] Formats sorted by: hasvid, ie_pref, lang, res, fps, filesize, fs_approx, tbr, vbr, abr, quality, vcodec:vp9.2(10), acodec, asr, proto, vext, aext, hasaud, source, id
[BiliBili] 757468406: Downloading danmaku comments
[BiliBili] 757468406: Downloading tags
[info] Downloading format(s) 0
[info] Video description is already present
WARNING: There are no annotations to write.
[info] Video metadata is already present
[BiliBili] BV1H64y1S77L: Thumbnail is already present
[download] ytdlp\        扶桑大红花丶         (3985676)\[20210402] 可能是嗓子里长了个罗德岛吧 NA[NA] (BV1H64y1S77L).flv has already been downloaded
WARNING: Cannot move file "ytdlp\        扶桑大红花丶         (3985676)\[20210402] 可能是嗓子里长了个罗德岛吧 NA[NA] (BV1H64y1S77L).jpg" out of temporary directory since "ytdlp\_\        扶桑大红花丶         (3985676)\[20210402] 可能是嗓子里长了个罗德岛吧 NA[NA] (BV1H64y1S77L).jpg" already exists.
[download] Downloading video 2 of 25
[BiliBili] 1Jy4y1t7gZ: Grabbing original ID via API
[BiliBili] 802299819: Downloading webpage
[BiliBili] 802299819: Extracting videos in anthology
[BiliBili] Downloading just video 802299819 because of --no-playlist
[BiliBili] 802299819: Downloading video info page
[debug] Sort order given by user: res,fps,size,br
[debug] Formats sorted by: hasvid, ie_pref, lang, res, fps, filesize, fs_approx, tbr, vbr, abr, quality, vcodec:vp9.2(10), acodec, asr, proto, vext, aext, hasaud, source, id
[BiliBili] 802299819: Downloading danmaku comments
[BiliBili] 802299819: Downloading tags
[info] Downloading format(s) 0
[info] Video description is already present
WARNING: There are no annotations to write.
[info] Video metadata is already present
[BiliBili] BV1Jy4y1t7gZ: Thumbnail is already present
[download] ytdlp\        扶桑大红花丶         (3985676)\[20210326] 史尔特尔手机提示音~ NA[NA] (BV1Jy4y1t7gZ).flv has already been downloaded
WARNING: Cannot move file "ytdlp\        扶桑大红花丶         (3985676)\[20210326] 史尔特尔手机提示音~ NA[NA] (BV1Jy4y1t7gZ).jpg" out of temporary directory since "ytdlp\_\        扶桑大红花丶         (3985676)\[20210326] 史尔特尔手机提示音~ NA[NA] (BV1Jy4y1t7gZ).jpg" already exists.
[download] Downloading video 3 of 25
[BiliBili] 1ov411h7uV: Grabbing original ID via API
[BiliBili] 247101048: Downloading webpage
[BiliBili] 247101048: Extracting videos in anthology
[BiliBili] Downloading just video 247101048 because of --no-playlist
[BiliBili] 247101048: Downloading video info page
[debug] Sort order given by user: res,fps,size,br
[debug] Formats sorted by: hasvid, ie_pref, lang, res, fps, filesize, fs_approx, tbr, vbr, abr, quality, vcodec:vp9.2(10), acodec, asr, proto, vext, aext, hasaud, source, id
[BiliBili] 247101048: Downloading danmaku comments
[BiliBili] 247101048: Downloading tags
[info] Downloading format(s) 0
[info] Video description is already present
WARNING: There are no annotations to write.
[info] Video metadata is already present
[BiliBili] BV1ov411h7uV: Thumbnail is already present
[download] ytdlp\        扶桑大红花丶         (3985676)\[20210312] 试着给灰烬整了个日语配音 NA[NA] (BV1ov411h7uV).flv has already been downloaded
WARNING: Cannot move file "ytdlp\        扶桑大红花丶         (3985676)\[20210312] 试着给灰烬整了个日语配音 NA[NA] (BV1ov411h7uV).jpg" out of temporary directory since "ytdlp\_\        扶桑大红花丶         (3985676)\[20210312] 试着给灰烬整了个日语配音 NA[NA] (BV1ov411h7uV).jpg" already exists.
[download] Downloading video 4 of 25
[BiliBili] 14V411v77n: Grabbing original ID via API
[BiliBili] 416954733: Downloading webpage
[BiliBili] 416954733: Extracting videos in anthology
[BiliBili] Downloading just video 416954733 because of --no-playlist
[BiliBili] 416954733: Downloading video info page
[debug] Sort order given by user: res,fps,size,br
[debug] Formats sorted by: hasvid, ie_pref, lang, res, fps, filesize, fs_approx, tbr, vbr, abr, quality, vcodec:vp9.2(10), acodec, asr, proto, vext, aext, hasaud, source, id
[BiliBili] 416954733: Downloading danmaku comments
[BiliBili] 416954733: Downloading tags
[info] Downloading format(s) 0
[info] Video description is already present
WARNING: There are no annotations to write.
[info] Video metadata is already present
[BiliBili] BV14V411v77n: Thumbnail is already present
[download] ytdlp\        扶桑大红花丶         (3985676)\[20210227] 拉普兰德手机提示音~ NA[NA] (BV14V411v77n).flv has already been downloaded
WARNING: Cannot move file "ytdlp\        扶桑大红花丶         (3985676)\[20210227] 拉普兰德手机提示音~ NA[NA] (BV14V411v77n).jpg" out of temporary directory since "ytdlp\_\        扶桑大红花丶         (3985676)\[20210227] 拉普兰德手机提示音~ NA[NA] (BV14V411v77n).jpg" already exists.

Description

1stly https://space.bilibili.com/3985676/ user has more than 25 videos (109 intotal) but yt-dlp only sees and downloads the first 25 and stops.
2ndly is the strange naming format. The excessive number of spaces in front and after the user's name.

The naming issue has been fixed. Next time, please open 2 seperate issues when reporting multiple problems
@animelover1984 I remember you asking for an example of "more than 1 page" anthologies to implement pagination


Update service coverage phrasing and whitepaper to v1.0.3

Closes #618 with links to the v1.0.3 whitepaper. This also updates the phrase coverage service to service coverage to match what is used in the whitepaper.
@wkande - note this PR will require the v1.0.3 whitepaper pdf to be added to the docs.
@ErichDylus perhaps you could also take a look?

Thanks for the tag Derek, I certainly agree with all of these changes. One quick correction in line 94/95 of dao-pool.md: "Generate shares (tokens) in the DAO through revenue sharing from service coverage fees" is a bit misleading since excess service coverage fee revenue is converted to API3 tokens and burned, and is independent of the DAO pool staking yield mechanism. I think probably best to remove this line entirely? as the subsequent lines seem to cover the concepts

@ErichDylus I removed the redundant line you suggested.

@dcroote I will merge this and follow-up on a "daily updates" PR to include v1.0.3 of the white paper.

Thanks @ErichDylus and @wkande


Fail when run the pipeline because cannot install requiment.txt

Hello guy, I am running the pipeline in the first time following guide in https://github.com/iusztinpaul/energy-forecasting#run. When I click button RUN in the Airflow, the pipeline fail in first task: run_feature_pipeline. I located the log and it say:
[2023-10-07, 03:57:40 UTC] {process_utils.py:190} INFO - [notice] A new release of pip is available: 23.2 -> 23.2.1
[2023-10-07, 03:57:40 UTC] {process_utils.py:190} INFO - [notice] To update, run: /tmp/venvhe33wlw9/bin/python -m pip install --upgrade pip
[2023-10-07, 03:57:40 UTC] {taskinstance.py:1943} ERROR - Task failed with exception
Traceback (most recent call last):
  File "/home/airflow/.local/lib/python3.8/site-packages/airflow/decorators/base.py", line 221, in execute
    return_value = super().execute(context)
  File "/home/airflow/.local/lib/python3.8/site-packages/airflow/operators/python.py", line 395, in execute
    return super().execute(context=serializable_context)
  File "/home/airflow/.local/lib/python3.8/site-packages/airflow/operators/python.py", line 192, in execute
    return_value = self.execute_callable()
  File "/home/airflow/.local/lib/python3.8/site-packages/airflow/operators/python.py", line 594, in execute_callable
    prepare_virtualenv(
  File "/home/airflow/.local/lib/python3.8/site-packages/airflow/utils/python_virtualenv.py", line 99, in prepare_virtualenv
    execute_in_subprocess(pip_cmd)
  File "/home/airflow/.local/lib/python3.8/site-packages/airflow/utils/process_utils.py", line 171, in execute_in_subprocess
    execute_in_subprocess_with_kwargs(cmd, cwd=cwd)
  File "/home/airflow/.local/lib/python3.8/site-packages/airflow/utils/process_utils.py", line 194, in execute_in_subprocess_with_kwargs
    raise subprocess.CalledProcessError(exit_code, cmd)
subprocess.CalledProcessError: Command '['/tmp/venvhe33wlw9/bin/pip', 'install', '-r', '/tmp/venvhe33wlw9/requirements.txt']' returned non-zero exit status 1.
[2023-10-07, 03:57:40 UTC] {taskinstance.py:1400} INFO - Marking task as FAILED. dag_id=ml_pipeline, task_id=run_feature_pipeline, execution_date=20231007T034621, start_date=20231007T035737, end_date=20231007T035740
[2023-10-07, 03:57:40 UTC] {standard_task_runner.py:104} ERROR - Failed to execute job 82 for task run_feature_pipeline (Command '['/tmp/venvhe33wlw9/bin/pip', 'install', '-r', '/tmp/venvhe33wlw9/requirements.txt']' returned non-zero exit status 1.; 69)
[2023-10-07, 03:57:40 UTC] {local_task_job_runner.py:228} INFO - Task exited with return code 1
[2023-10-07, 03:57:40 UTC] {taskinstance.py:2784} INFO - 0 downstream tasks scheduled from follow-on schedule check

As follow this bug, I think the problem come from venv create by Airflow. Have anyone met this issue and how can I fix it?

Hello @sonnh-uit, have you set up the credentials for the private PiPy repository and ran the following commands?
# Set the experimental installer of Poetry to False. For us, it crashed when it was on True.
poetry config experimental.new-installer false
# Build & deploy the pipelines modules.
sh deploy/ml-pipeline.sh

Hello @sonnh-uit, have you set up the credentials for the private PiPy repository and ran the following commands?
# Set the experimental installer of Poetry to False. For us, it crashed when it was on True.
poetry config experimental.new-installer false
# Build & deploy the pipelines modules.
sh deploy/ml-pipeline.sh

Thanks for your support. I forgot these command when move project to the venv. I do that and it was better.


Update desktop-matrix-visual.md

Whether or not you keep the bullets, the suggestion is for images to follow the corresponding descriptive text.

@eric-urban : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@eric-urban ,
Thank you!  Your edits have been made and should go live tomorrow.


1.9.2 incompatibilities.

Fixed a couple incompatibiltites with 1.9.2 aka SystemTimer and made sure the specs still run for both ree-1.8.7 and ruby-1.9.2-p0.
Also, I adjusted the LOAD_PATH for bin/resque-pool to make it work in 1.9.2-p0.

+1
Am in the process of upgrading our apps from ree up to 1.9, and this gem is a blocker. What are the odds these changes will get incorporated in the forseeable future?


add ATMO-low logg model grid from Petrus+22?

Hey Tomas! It would be useful to have access to the low-surface gravity ATMO grid computed for Petrus+22 to fit some of the companion's I'm working on right now. The paper is here (https://ui.adsabs.harvard.edu/abs/2022arXiv220706622P/abstract) and I believe the files are hosted here: https://noctis.erc-atmo.eu/fsdownload/pVzNaZXaK/petrus2022

Hi William, thanks for the suggestion!
I have included the JWST (0.2 to 30 um at R = 3000) version of the grid, which can be added as add_model('petrus2023'). It seems that the paper is not yet accepted I think, hence I used 2023 in the name.
I noticed an issue with the filenames of the co0.7_p0.6 folder (C/O=0.7, [Fe/H]=+0.6). You can still use the grid, but just be careful if your use spectra from that regime. I have informed Simon so will upload a new grid once it has been fixed.
Hereby a test with ReadModel (the blackbody spectrum was to check that I had understood the flux units of the grid correctly):

There is the get_points method of ReadModel to check the required parameters and their available range.
I also tried adding the high-resolution grid (0.2-2.5 um at R=10000) but there seems an issue with how some of the files were written (some data are missing) in one of the folders. This grid could also be added once the issue has been fixed.
You can pull the update from the main branch.
I hope that helps and let me know in case you have any questions or run into an issue 😊!

Thanks so much! just did a test and it works great! a bonus that i got a better fit to my data with this grid too :~)


[ANDROID] MaxWidthHeight in portrait rotates to landscape

using PhotoSize=PhotoSize.Medium works as expected.
Using PhotoSize = PhotoSize.MaxWidthHeight, MaxWidthHeight = 2048, Rotates the image, regardless of using
RotateImage = false,

Please fill out a full bug report and submit again.

Hi James
If I download your sample app - run it in VS Android emulator - images are rotated, is that intended?


Transpilation Required When Using Nuxt?

Hi everyone!
Apologies in advance if this is not the correct place to post this, but I don't really know where else to write this.
I'm currently working on a Nuxt-based project and I'm using this to build a search component.
For performance reasons, I want to take advantage of Nuxt's SSR capabilities to get a few search results up front and then let the client handle any future searches.
I've gotten this to work, but it wasn't necessarily smooth. I followed Algolia's documentation on setting SSR in Nuxt (here) which ended up being relatively straightforward. The problem was, though, whenever I tried to get results pre-rendered from the server I ended up getting an error saying that XMLHttpRequest is not defined.
After a little digging I found out that that was because Nuxt/Webpack was getting the module from instant-meilisearch.umd.js which does indeed use XMLHttpRequest.  I ended up solving this by going into my nuxt.config.js file and adding this package to the build.transpile property, as such:
 build: {

    // InstantSearch code uses ES modules, yet it needs to be executed in Node.js.
    // That’s why we need to let Nuxt know that those files should be transpiled during the build.
    // More info here: https://www.algolia.com/doc/guides/building-search-ui/going-further/server-side-rendering/vue/#with-nuxt
    transpile: ["vue-instantsearch", "instantsearch.js/es", "@meilisearch/instant-meilisearch"]
}

The first two properties are there as per Algolia's documentation, but I must admit that the last one was from trial and error. Which finally leads me to my question: is this what I should actually be doing to get this module to work for me? Or should I be doing something else?
Any input on this would be much appreciated 😊
Thanks!

Hello @Tocas97
I'm very sorry for the delay I was on sick leave. I'll come back to you asap with an answer.

Hi @bidoubiwa!
Hope you're doing better now 😊
Thanks for checking this out and getting back to me

After a little digging I found out that that was because Nuxt/Webpack was getting the module from instant-meilisearch.umd.js which does indeed use XMLHttpRequest.

First thing is that the instant-meilisearch package should provide by default the path to its un-builded source code. Which is not the case today as I naively put the umd build as the default built:
package.json
  "main": "./dist/instant-meilisearch.umd.js",

If I change this to the following
  "main": "./dist/src",

It provides a non-builted source code that can then be compiled by your environment however you require it. For example, in your case, node-oriented.
Now, the reason why I provided umd by default at the time, is that umd works on almost all js environments. Thus node and browser.
The fact that you receive XMLHttpRequest is not defined is very weird as inside the umd it specifically compares the environments to know if it should use XMLHttpRequest or node-fetch. So indeed XMLHttpRequest exists inside the umd file, but it should never come to this line if the script is ran in a Node.JS environment.
Nonetheless, I think it should be fixed by changing the default build I provide.
Thanks a lot for this issue, it will help greatly when I'll be working on changing this behavior.

Hey @Tocas97, if you have time could you try again to see if the problem has been solved?

I'm closing this issue, if it is not resolved yet feel free to re-open :)


[Automnal Invasions] Boss Rarity

During select Automnal Invasions bosses exclusively spawn in the uncommon rarity tier.

Start a random Automnal Invasion
Examine the rarity of the boss pokemons
If they are all uncommon, if not try another invasion (not every invasion is effected)
See error

For a random assortment of boss rarities to spawn for juicy loots.

Deathnight7976
Orion, likely all.
I'm not 100% positive this is a bug but i feel like something isnt right seeing as some invasions have all rarity bosses and others dont of the same raid theme.
This seems to effect multiple different raids at different locations ill attempt to list any i come across and edit the ticket with the town names as I see them. Also unsure if its the towns themselves or the select location of the raid as there seems to be 2 locations per town.

Arvandor (near the ponyta spawner)

That happened in the last Atlas invasion too, in Agni this time, i think spawned 2 epic and few rare, but all the poke left was uncommon, and i only saw 1 special texture pokemon catchable spawned. In the Viral invasions i normally saw 2-3 spawned, and more ultimate-legendary bosses. Its kinda weird.

In this particular instance on Orion not a single boss pokemon other than uncommon was seen, normal rare pokemons did spawn however such as a rainbow skarmory and a shiny nidoking.

Thats weird, in the Atlas one only a valencian poliwhirl but nothing more, and most of the boss uncommon, and nothing really really god apart. Maybe was just a bad luck.

We can just let this ticket go for now, Until next Seasonal event where we have Seasonal raids and if the issue arises during that time we will forward the issue first thing it happens, If it happens then! Closing!


Remove safe address tracking for GA

Closes #1642.

This PR removes the safe address from GA tracking by replacing any address with SAFE_ADDRESS placeholder.

Travis automatic deployment:
https://pr1683--safereact.review.gnosisdev.com/volta/app

Travis automatic deployment:
https://pr1683--safereact.review.gnosisdev.com/volta/app

Travis automatic deployment:
https://pr1683--safereact.review.gnosisdev.com/volta/app

Travis automatic deployment:
https://pr1683--safereact.review.gnosisdev.com/volta/app

Travis automatic deployment:
https://pr1683--safereact.review.gnosisdev.com/volta/app

Travis automatic deployment:
https://pr1683--safereact.review.gnosisdev.com/volta/app

@tschubotz Talked with Nico and I'll need access to Google analytics to check this one. Can you give me access?

@francovenica just added you to all web projects on https://analytics.google.com

It seems that the Travis system is having issues and it is not creating an env for rinkeby. I tried in volta, but I've checked in the network tab and it seems GA is not working there (or is not being called, I don't know if it is even configured for volta)
So to test this Nico and I checked in his local env with him configurating the env for Rinkeby and having the GA also configured for Rinkeby
He visited several  pages that have the .../safes/SAFE_ADDRESS/ structure and instead of login the actual address in GA, it would log /safes/SAFE_ADDRESS/balances for example
This is a snapshot of GA of today. Nico visited several pages and we checked that those are registered as safes/SAFE_ADDRESS instead of the real actual address.
Note that there still some addresses in GA, those eventually will disappear as the fix is implemented in low test env and prod

Travis automatic deployment:
https://pr1683--safereact.review.gnosisdev.com/volta/app

Travis automatic deployment:
https://pr1683--safereact.review.gnosisdev.com/rinkeby/app

Travis automatic deployment:
https://pr1683--safereact.review.gnosisdev.com/volta/app

Travis automatic deployment:
https://pr1683--safereact.review.gnosisdev.com/rinkeby/app

Travis automatic deployment:
https://pr1683--safereact.review.gnosisdev.com/volta/app

Travis automatic deployment:
https://pr1683--safereact.review.gnosisdev.com/volta/app

Travis automatic deployment:
https://pr1683--safereact.review.gnosisdev.com/rinkeby/app

Travis automatic deployment:
https://pr1683--safereact.review.gnosisdev.com/volta/app

Travis automatic deployment:
https://pr1683--safereact.review.gnosisdev.com/rinkeby/app

Travis automatic deployment:
https://pr1683--safereact.review.gnosisdev.com/volta/app


How to use the bracket shooting added in 1.6?

Hi!  I'm really interested in the bracketed shooting that was recently added (not the Z1-specific burst bracketing, but the new autoBracket stuff).   iOS/Swift
I'm not sure how to use it. I can set options on my theta repository before calling the builder (photoCaptureBuilder / also looking at shotCountSpecifiedIntervalCaptureBuilder), but the builder is creating its own options and (presumably) blowing away my bracket settings.
Can I use one of the existing builder objects and somehow get the bracket settings in, or do I need to implement my own Capture subclass?  (or more likely something obvious I'm missing)
For example, this (hacked adapted from the demo app) takes three photos, but the bracketing information is not honored, and I get three photos back with the same exposure.
Thanks!
func bracket(_ callback: @escaping (_ url: [String]?) -> Void) async throws {
    try await initialize()
    let options = ThetaRepository.Options()

    let thing1: ThetaRepository.BracketSetting = ThetaRepository.BracketSetting(
        aperture: .aperture24,
        colorTemperature: nil,
        exposureCompensation: .zero,
        exposureProgram: .manual,
        iso: .iso400,
        shutterSpeed: .shutterSpeedOneOver50,
        whiteBalance: .auto_)
    let thing2: ThetaRepository.BracketSetting = ThetaRepository.BracketSetting(
        aperture: .aperture24,
        colorTemperature: nil,
        exposureCompensation: .zero,
        exposureProgram: .manual,
        iso: .iso400,
        shutterSpeed: .shutterSpeedOneOver400,
        whiteBalance: .auto_)
    let thing3: ThetaRepository.BracketSetting = ThetaRepository.BracketSetting(
        aperture: .aperture24,
        colorTemperature: nil,
        exposureCompensation: .zero,
        exposureProgram: .manual,
        iso: .iso400,
        shutterSpeed: .shutterSpeedOneOver1600,
        whiteBalance: .auto_)

    let settingArray: [ThetaRepository.BracketSetting] = [thing1, thing2, thing3]
    let wtfbbq = NSMutableArray(array: settingArray)
    let settingList = ThetaRepository.BracketSettingList(list: wtfbbq)
    options.autoBracket = settingList
    options.shootingMethod = .bracket

    try await thetaRepository?.setOptions(options: options)

    let shotCountSpecifiedIntervalCapture: ShotCountSpecifiedIntervalCapture = try await withCheckedThrowingContinuation { continuation in
        thetaRepository!
            // .getPhotoCaptureBuilder()
            .getShotCountSpecifiedIntervalCaptureBuilder(shotCount: 3)
            .build { capture, error in
                if let photoCapture = capture {
                    continuation.resume(returning: photoCapture)
                }
                if let thetaError = error {
                    continuation.resume(throwing: thetaError)
                }
            }
    }
    class Callback: ShotCountSpecifiedIntervalCaptureStartCaptureCallback {
        let callback: (_ url: [String]?, _ error: Error?) -> Void

        init(_ callback: @escaping (_ url: [String]?, _ error: Error?) -> Void) {
            self.callback = callback
        }

        func onCaptureCompleted(fileUrls: [String]?) {
            print("COMPLETED urls \(fileUrls)")
            callback(fileUrls, nil)
        }

        func onCaptureFailed(exception: ThetaRepository.ThetaRepositoryException) {
            callback(nil, exception.asError())
        }

        func onStopFailed(exception: ThetaRepository.ThetaRepositoryException) {
            print("ON STOP FAILED")
        }

        func onProgress(completion oop: Float) {
            print("PROGRESS \(oop)")
        }
    }

    let photoUrl: [String]? = try await withCheckedThrowingContinuation { continuation in
        shotCountSpecifiedIntervalCapture.startCapture(
            callback: Callback { fileUrls, error in
                if let thetaError = error {
                    print("ERRORING")
                    continuation.resume(throwing: thetaError)
                } else {
                    print("RESUMING with file urls")
                    continuation.resume(returning: fileUrls)
                }
            }
        )
    }

    // eventually exfiltrate the photos.
    // callback(photoUrl)
}

@markd2  To use auto bracket shooting, its own builder class and capture sub class are needed.
We are implementing MultiBracketCaptureclass and MultiBracketCapture.Builder class so that they will be included in the next release.

Thanks!  Appreciate the fast response!


Update to 2.6.0

Playdate SDK got updated to 2.6.0: https://sdk.play.date/changelog/#_2_6_0
Looks like there wasn't much changed with the C API, according to the changelog.

Thanks, I'll have a look soon


Homebridge cannot find my deebot vaccum 920,

I already follow the instruction on how to configure connection with my account. But homebridge cannot find my deebot 920 vaccum eventhough i already set all the connection string. Any help?

@axiangz
The Deebot Ozmo 920 usually works fine with the plugin.
What does the log output?

It just could not find my device. I live in Indonesia, so which country should i choose? There is no option for Indonesia. But i did try change to Singapore in ecovacs app and in the configuration, still could not find my deebot 920[cid:9775DA88-BAFB-4EE5-869D-2DC319D1DDE8-L0-001]
Sent from my iPhone
On 24 Dec 2020, at 23.44, Sascha<EMAIL_ADDRESS>wrote:

@axiangzhttps://github.com/axiangz
The Deebot Ozmo 920 usually works fine with the plugin.
What does the log output?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/nicoduj/homebridge-deebotEcovacs/issues/46#issuecomment-750925066, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKDTGCK4WYHWE4AWO6SSX3TSWNVX3ANCNFSM4VILCQ5A.

@axiangz
You can try if it works if you set the country manually in the configuration:
"countryCode": "ID"

I did try change the countrycode but still no devicw found
[cid:E9E1DA50-196C-426C-904A-E965A983F92A-L0-001][cid:9F52CD49-264B-4C68-8C21-14EBEBE63470-L0-001]
Sent from my iPhone
On 25 Dec 2020, at 00.30, Sascha<EMAIL_ADDRESS>wrote:

@axiangzhttps://github.com/axiangz
You can try if it works if you set the country manually in the configuration:
"countryCode": "ID"
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/nicoduj/homebridge-deebotEcovacs/issues/46#issuecomment-750932230, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKDTGCPX6BCBQTFBUXWGVHTSWN3EVANCNFSM4VILCQ5A.

@axiangz
Have you already restarted homebridge after changing the country code?
What country or region are you using for your account in the mobile app?

Yes i did restart the homebridge. In the mobile app i choose Indonesia as my region
[cid:83A16939-143E-4A40-A621-9CFF9CA6CA1B-L0-001]
Sent from my iPhone
On 25 Dec 2020, at 16.11, Sascha<EMAIL_ADDRESS>wrote:

@axiangzhttps://github.com/axiangz
Have you already restarted homebridge after changing the country code?
What country or region are you using for your account in the mobile app?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/nicoduj/homebridge-deebotEcovacs/issues/46#issuecomment-751215959, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKDTGCOCVLTGNUYHX5PQKELSWRJMTANCNFSM4VILCQ5A.

@axiangz
Can you please check if the following messages appear in the log after restarting Homebridge:
[25.12.2020, xx:xx:xx] [DeebotEcovacs] INFO - connected
[25.12.2020, xx:xx:xx] [DeebotEcovacs] INFO - getDeebots : [ ..., "class": "vi829v", ... ]

If these messages appear, please check if there is a "class" element in the output and post the value of the "class" element (should be something like "vi829v").

Is this correct?
[cid:DF67AF0E-6D86-446A-BF90-8316FD30F683-L0-001]
[cid:692C6273-2367-4D84-B7A5-33C24E823F26-L0-001]
Sent from my iPhone
On 25 Dec 2020, at 18.16, Sascha<EMAIL_ADDRESS>wrote:

@axiangzhttps://github.com/axiangz
Can you please check if the following messages appear in the log after restarting Homebridge:
[25.12.2020, xx:xx:xx] [DeebotEcovacs] INFO - connected
[25.12.2020, xx:xx:xx] [DeebotEcovacs] INFO - getDeebots : [ ..., "class": "vi829v", ... ]
If these messages appear, please check if there is a "class" element in the output and post the value of the "class" element (should be something like "vi829v").
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/nicoduj/homebridge-deebotEcovacs/issues/46#issuecomment-751234561, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKDTGCN2R2EUOZ6KP6SIBBLSWRYABANCNFSM4VILCQ5A.

Is this correct?
[cid:DF67AF0E-6D86-446A-BF90-8316FD30F683-L0-001] [cid:692C6273-2367-4D84-B7A5-33C24E823F26-L0-001]

No, I need the value of the "class" element from the "getDeebots" message:
[25.12.2020, xx:xx:xx] [DeebotEcovacs] INFO - getDeebots : [ ..., "class": "vi829v", ... ]

I dont see any get Deebots message. Because it doesnt find my deebot. This is what only show on the termimal
[cid:64C181C3-D69C-49ED-B45C-D711D068B02A-L0-001][cid:692C6273-2367-4D84-B7A5-33C24E823F26-L0-001]
[cid:DF67AF0E-6D86-446A-BF90-8316FD30F683-L0-001]
Sent from my iPhone
On 25 Dec 2020, at 21.31, Sascha<EMAIL_ADDRESS>wrote:

Is this correct?
[cid:DF67AF0E-6D86-446A-BF90-8316FD30F683-L0-001] [cid:692C6273-2367-4D84-B7A5-33C24E823F26-L0-001]
No, I need the value of the "class" element from the "getDeebots" message:
[25.12.2020, xx:xx:xx] [DeebotEcovacs] INFO - getDeebots : [ ..., "class": "vi829v", ... ]
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/nicoduj/homebridge-deebotEcovacs/issues/46#issuecomment-751257200, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKDTGCODEDUJ372KX7QOKR3SWSO3TANCNFSM4VILCQ5A.

@axiangz
Do you get some or maybe all of the following messages?
[25.12.2020, xx:xx:xx] [DeebotEcovacs] Initializing DeebotEcovacs platform...
[25.12.2020, xx:xx:xx] [DeebotEcovacs] INFO - API :AS/ID

[25.12.2020, xx:xx:xx] [DeebotEcovacs] DidFinishLaunching

[25.12.2020, xx:xx:xx] [DeebotEcovacs] INFO - connected

Here what i get after restarting homebridge, after “DidFinishLaunching” msg than comes out deebot cannot find any device message
Sent from my iPhone
[cid:CEDB23BB-7153-45A8-BC96-FACFFF3BC7B8-L0-001][cid:F6245591-D9A5-4C2B-9779-387E3040146D-L0-001]
On 25 Dec 2020, at 22.07, Sascha<EMAIL_ADDRESS>wrote:
[cid:0044C5F7-8234-4124-957D-2FCC66D5A12E-L0-001]

@axiangzhttps://github.com/axiangz
Do you get some or maybe all of the following messages?
[25.12.2020, xx:xx:xx] [DeebotEcovacs] Initializing DeebotEcovacs platform...
[25.12.2020, xx:xx:xx] [DeebotEcovacs] INFO - API :AS/ID
[25.12.2020, xx:xx:xx] [DeebotEcovacs] DidFinishLaunching
[25.12.2020, xx:xx:xx] [DeebotEcovacs] INFO - connected
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/nicoduj/homebridge-deebotEcovacs/issues/46#issuecomment-751260877, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKDTGCOQQJ2WPBBDRC2B2LLSWSTDVANCNFSM4VILCQ5A.
[cid:692C6273-2367-4D84-B7A5-33C24E823F26-L0-001]

Here what i get after restarting homebridge, after “DidFinishLaunching” msg than comes out deebot cannot find any device message
…
Sent from my iPhone [cid:CEDB23BB-7153-45A8-BC96-FACFFF3BC7B8-L0-001][cid:F6245591-D9A5-4C2B-9779-387E3040146D-L0-001] On 25 Dec 2020, at 22.07, Sascha<EMAIL_ADDRESS>wrote: [cid:0044C5F7-8234-4124-957D-2FCC66D5A12E-L0-001]  @axiangzhttps://github.com/axiangz Do you get some or maybe all of the following messages? [25.12.2020, xx:xx:xx] [DeebotEcovacs] Initializing DeebotEcovacs platform... [25.12.2020, xx:xx:xx] [DeebotEcovacs] INFO - API :AS/ID [25.12.2020, xx:xx:xx] [DeebotEcovacs] DidFinishLaunching [25.12.2020, xx:xx:xx] [DeebotEcovacs] INFO - connected — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub<#46 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKDTGCOQQJ2WPBBDRC2B2LLSWSTDVANCNFSM4VILCQ5A. [cid:692C6273-2367-4D84-B7A5-33C24E823F26-L0-001]

@axiangz
sorry, I cannot see any output in your post

@axiangz
Please post the log output and also please use the GitHub Website for posting your replies.
It's not easy to help you if you only post snippets of the log output ;)

[cid:CEDB23BB-7153-45A8-BC96-FACFFF3BC7B8-L0-001]
[cid:F6245591-D9A5-4C2B-9779-387E3040146D-L0-001]
[cid:0044C5F7-8234-4124-957D-2FCC66D5A12E-L0-001]
[cid:692C6273-2367-4D84-B7A5-33C24E823F26-L0-001]
Sent from my iPhone
On 25 Dec 2020, at 23.14, Sascha<EMAIL_ADDRESS>wrote:

Here what i get after restarting homebridge, after “DidFinishLaunching” msg than comes out deebot cannot find any device message
…
Sent from my iPhone [cid:CEDB23BB-7153-45A8-BC96-FACFFF3BC7B8-L0-001][cid:F6245591-D9A5-4C2B-9779-387E3040146D-L0-001] On 25 Dec 2020, at 22.07, Sascha notifications<EMAIL_ADDRESS>wrote: [cid:0044C5F7-8234-4124-957D-2FCC66D5A12E-L0-001]  @axiangzhttps://github.com/axiangzhttps://github.com/axiangz Do you get some or maybe all of the following messages? [25.12.2020, xx:xx:xx] [DeebotEcovacs] Initializing DeebotEcovacs platform... [25.12.2020, xx:xx:xx] [DeebotEcovacs] INFO - API :AS/ID [25.12.2020, xx:xx:xx] [DeebotEcovacs] DidFinishLaunching [25.12.2020, xx:xx:xx] [DeebotEcovacs] INFO - connected — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub<#46 (comment)https://github.com/nicoduj/homebridge-deebotEcovacs/issues/46#issuecomment-751260877>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKDTGCOQQJ2WPBBDRC2B2LLSWSTDVANCNFSM4VILCQ5A. [cid:692C6273-2367-4D84-B7A5-33C24E823F26-L0-001]
@axiangzhttps://github.com/axiangz
sorry, I cannot see any output in your post
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/nicoduj/homebridge-deebotEcovacs/issues/46#issuecomment-751267610, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKDTGCLAQ2KW6KWJ3JGIK3TSWS25VANCNFSM4VILCQ5A.

Here what i get after restarting my homebridge
First this log appear

Second this log

Third this log

Then the rest is this log

@axiangz
There may be a problem with your Internet connection:
getaddrinfo EAI_AGAIN portal-as.ecouser.net

This are 2 quotes from Google search results:
"EAI_AGAIN is a DNS lookup timed out error, means it is a network connectivity error or proxy related error"
"EAI_AGAIN means the DNS server replied that it cannot currently fulfill the request"
I'm also able to reach this address (portal-as.ecouser.net)

What should i do? This is what i get now

@axiangz
It seems that you are successfully logged in, but no bots were found in your account.
Are you sure your account and device are set up correctly?

Yes i can use my deebot 920 using the ecovacs app on my device and using alexa device too. I just dont know why it could not discover my device using homebridge. Any suggestion what else to do?

@axiangz
Please enable Debug Mode in Homebridge Settings ("Startup Options" => "Homebridge Debug Mode") and post the log output after restarting Homebridge.

Here is the log output after changing homebridge debug mode

@axiangz
ok, please check the nickname in your configuration ("Name of the deebot to publish") and the name (nickname) of the device in your Ecovacs account.
There are 3 options how your device can be detected:
1.) You leave the field "Name of the deebot to publish" blank
2.) The nickname in the configuration of the plugin has to be equal to the nickname in your Ecovacs account (which is currently blank)
3.) You can also use the "name" ("E05612...") of that device in the configuration of the plugin
I recommend the first option, since you have only one device.

So how to write in the config file? I already match the name in config same as nickname in ecovacs app

@axiangz

So how to write in the config file? I already match the name in config same as nickname in ecovacs app

Have you already set a nickname in the Ecovacs App?
When the screenshot was taken, no nickname was set yet  ("nick": null)...
In the config file of Homebridge countryCode and deebotNames should look like this:
"countryCode": "ID",
"deebotNames": [
                "Deebot Ozmo 920"
            ],

But you have to make sure that you're using the exact same nickname in Ecovacs app.

So you mean, if i use nickname as "Deebotic" on my ecovac app, then the config i have to match the deebotname as "Deebotic" too? If thats the case i already input the same nickname on ecovac app as deebotname on configuration

This is on my ecovac app

This is what i write in the config

So you mean, if i use nickname as "Deebotic" on my ecovac app, then the config i have to match the deebotname as "Deebotic" too? If thats the case i already input the same nickname on ecovac app as deebotname on configuration

@axiangz
Yes. If it's still not working please send me screenshot of the log output again.

Still cannot find the device, here is the log

@axiangz
Now I see what the problem is: "Deebotic" is the preset name in the Ecovacs App.
You still have to set that name manually.
You can use "Deebotic" but you have to type it in manuallly (and save it).

No luck i type manually, and i also try change the name and the nickname with other name also no luck

No luck i type manually, and i also try change the name and the nickname with other name also no luck

@axiangz
The value of the nick attribute is still null (empty).
You can also try one of the other 2 options:

There are 3 options how your device can be detected:

1.) You leave the field "Name of the deebot to publish" blank

2.) The nickname in the configuration of the plugin has to be equal to the nickname in your Ecovacs account (which is currently blank)

3.) You can also use the "name" ("E05612...") of that device in the configuration of the plugin

@axiangz
I recommend to choose option 3:
"countryCode": "ID",
"deebotNames": [
                "E05612789B09HD2V0354"
            ],

Thank you, it find my deebot. I just leave the nickname blank then it find it 🙏🏼

Hi, sorry, was not available those days. thank you @mrbungle64 for dealing with the issue !


Debugger Step over out of sync

Issue Type: Bug
Debugger Step over , Step in, Step out  very often out of sync with the source code lines in the souce code file  react-dom.development.js as an example.
Please look at this:
const term = {data: {	products: products.map(product => ({ ...product, addedToCart: false }))	}, updateData: data => setContextData({ ...contextData, data: data })}
debugger
const [contextData, setContextData] = useState(term);
from https://github.com/RishikeshVedpathak/react-context-example
How can I solve this - Greetings from Germany J. Schatral
VS Code version: Code 1.45.1 (5763d909d5f12fe19f215cbfdd29a91c0fa9208a, 2020-05-14T08:27:35.169Z)
OS version: Windows_NT x64 10.0.17763

System Info

Item
Value

CPUs
Intel(R) Xeon(R) CPU E5-2630 v2 @ 2.60GHz (4 x 2610)

GPU Status
2d_canvas: unavailable_softwareflash_3d: disabled_softwareflash_stage3d: disabled_softwareflash_stage3d_baseline: disabled_softwaregpu_compositing: disabled_softwaremultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: disabled_offrasterization: disabled_softwareskia_renderer: disabled_off_okvideo_decode: disabled_softwareviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: unavailable_softwarewebgl2: unavailable_software

Load (avg)
undefined

Memory (System)
14.27GB (4.12GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (7)

Extension
Author (truncated)
Version

vscode-sqlite
ale
0.8.2

vscode-eslint
dba
2.1.5

emulate
Die
1.4.0

vscode-babel-coloring
dza
0.0.4

debugger-for-chrome
msj
4.12.8

vscode-react-native
msj
0.16.0

sass-indented
rob
1.5.1

I'm not sure I completely understand your issue. Could you add simple reproduction steps, for example:
 1. I do one thing
 2. I do another thing
 3. I expect to see A, but actually B happens

Okay - I do it for you step by step:
0. I download the repo from github

New Window under VC
Open Folder react-context-example-master after zip extraction
Open a Terminal Window and start "yarn install" - pease use yarn!
Type "yarn start" - localhost:3000 Chrome Window will be startet...
Type "F5" select Chrome, modify launch.json to localhost:3000
Start Debug again - okay - you should have a running Website
Set a breakpoint in /src/Home/index.js at line 9 and add a product to cart "ADD to cart" button
app stopps in Home/index.js line 9. Click F11 to step into... Click F11 4,5 or 10 times - you will see that the debugger stands in file "react-dom.development.js" not on the correct line
Please look the screenshot:

Please give me an answer if you have the same result - I hobe it helps - Greeting from Germany
Mfg. J. Schatral

Thanks for the details!
This appears to be a duplicate of https://github.com/microsoft/vscode-js-debug/issues/487#issuecomment-636098158 and should be fixed if you install the latest react-scripts version.


Updates SAML attribute definitions to be used by dictionary

Part of (preparations for) [ticket 106955902] (https://www.pivotaltracker.com/story/show/106955902)
Done:

Add known URNs
Missing URNs are set to null.
Add logic to allow null URNs
Move logic to responsible classes

@rjkip, @DRvanR; see PR description/comment, thoughts?

Before merging these issues have to be resolved with SURF.
Missing urn
I'd say add the ability that an attribute can be defined based on either a urn:mace, a urn:oid, or both (in that case the value should by null rather than '').
Duplicated URNs for different attributes
My suggestion would be to add them all as different attribute definitions. There are two ways to do this:

add each attribute with a null value for the duplicated urn, possibly with one attribute actually having that urn (preference based)
add each attribute with the same duplicated urn, and expand the lookup logic to check if there are multiple attribute definitions with the same urn (based on which the attribute definition is searched), and if so return the preferred value (additional argument), logging that multiple definitions have been found.
add each attribute with the same duplicated urn, and expand the lookup logic to check if there are multiple attribute definitions with the same urn (based on which the attribute definition is searched), and if so trigger an error (Exception).

The 3rd option has my preference, the 1st option is the simplest but also just ignores the problem at hand. I would recommend against the 2nd option due to the amount of work involved vs result.
Do you have any ideas how the current implementation handles these cases?

Currently, attribute definitions are added as follows: a JSON-file is loaded, decoded and handed over to a definition denormalizer. There, aliases that don't have a definition are resolved and get the definition of the original attribute name. This results in a config array with each possible URN as a key and constraints/descriptions/comments as array values or a string reference to another URN that should contain said array values.
Attributes, when parsed, get normalized via an attribute normalizer. There, references are followed as well (not sure why).
Missing URN
A missing urn will not be treated: it is not present.
Duplicated URNs for different attributes
Duplications (aliases) get their own definition in the config array from the attribute name that has a definition upon application boot.
Our implementation differs, since we are returning names and their aliases.

As discussed, the missing urns will be resolved in the proposed way, the duplicate urns are actually not duplicated urns and therefore do not require any action

@rjkip :fork_and_knife:

:sun_with_face: :ship:

cheers, :+1:


Trigger a CustomEvent on config load

This would be useful for theme authors
https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent

The idea behind this is to communicate that the API call is done and the data is available for usage. This is, window.readthedocs object is ready.
This object will have the same data structure than the API response. This is on purpose to avoid maintaining multiple data structures. Authors will pin the version they are compatible with by using the meta tag: #61


Out Of memory & attempt to get argmin of an empty sequence

I am calling replicate model https://replicate.com/vaibhavs10/incredibly-fast-whisper using API. I am using it to get the transcript and diarization.
Initially I have used batch_size = 64 , The 1 Hour 13 minutes video worked fine.
I have tried another video that is 1 hour and 24 minutes. I got the Out of memory error. The exact error is as follows:
"Not enough memory available to process your request. Try reducing the size or number of any file inputs or outputs"
After this error I have tried to change the batch_size to 4,16,24 and 32 but I got the following error:
"attempt to get argmin of an empty sequence"
will you please guide me to fix these two problems? I want to use Replicate in production so need to figure out these before implementing in the production environment.
I have tried two more videos that are 1 hour and 46 minutes and other is 2 hours and 7 minutes. I got the following error:
"unsupported operand type(s) for -: 'NoneType' and 'float'"
The following line is copied from the replicate log:
Whisper did not predict an ending timestamp, which can happen if audio is cut off in the middle of a word. Also make sure WhisperTimeStampLogitsProcessor was used during generation.

I'm getting this too!

facing the same issue

Same here

Same :/

Guys, I noticed that not the latest version of the model was deployed on replicate, that's why not all features were supported and most of the bugs existed.
So I found the code for replicate deployed model and merged in the latest fixes from this repo. I also added support for num_speakers, min_speakers, and max_speakers for diarization on replicate.
Deployed Public Model on Replicate: https://replicate.com/nicknaskida/incredibly-fast-whisper
Github Repo with fixes and latest features: https://github.com/NickNaskida/insanely-fast-whisper
Enjoy, hope it will be useful 🤗


Expose partition table csv->bin and bin->csv parsers as subcommand

This tool is quite handy in that it does the partition table juggling for you. However, it only does it as part of its internal process. What do you think about exposing that stuff explicitly as a sub-command so that we may use in in place of the esp-idf way?

I think it would make sense to include this! I'm not sure when I will be able to get to it, though.


Environment Variables

Environment Variables come in two/three flavours:

exported variables, these become part of the environ and are thus forwarded to executables.
local variables, these are set only in the shell's environment, and are thus not forwarded to executables.
transient variables (not an official term) is a variation of local, only provided to the executable of the command it's set in.

The standard covers it here:
https://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_05
I think the transient variables are just a variation of local, because the variable assignments are processed as the cmd_prefix they get executed in the same environment as the executable is.
This might be the section of the standard that covers the behavior of transient variables:

Variables with the export attribute, along with those explicitly exported for the duration of the command, shall be passed to the utility environment variables

export creates an exported variable.
set creates a local variable
key=val creates a local variable
key=val my_executable creates a transient variable
unset removes both local and exported variables

Relevant pages:
export
set
unset

The command execution environment describes what is passed to the command's environment. It differs for commands that are not builtins or functions.
https://www.gnu.org/software/bash/manual/bash.html#Command-Execution-Environment
The behavior of transient variables is described in https://www.gnu.org/software/bash/manual/bash.html#Environment
In essence, variables exported to commands are only variables with the exported attribute, if a transient variable is present, it is only exported (for the duration of that command) when the command is NOT a builtin or function.

I think the easiest way to implement it is if the shell environment containing exported variables and local variables are one and the same. If not, that makes lookup for expansion (and any other variable lookup) much more complex than it needs to be. There simply needs to be metadata on the environment storing the attributes (i.e. export), when a command is executed it simply requests all environment variables that have the export attribute.

Yea I agree
The Environment interface should probably have an export method, which acts just like the built-in by the same name
create the variable if it doesn't exist, then mark it as exported. Otherwise just mark it as exported

In any case the very thin wrapper on top of the environ we have inside of the path-resolution branch is not enough

If we do this why still use environ, and not just store everything in the unordered_map directly? AFAIK environ is a unix extension and not in the c-standard. To me it would make more sense to just handle envrionment varaibles on our own.

If we do this why still use environ, and not just store everything in the unordered_map directly? AFAIK environ is a unix extension and not in the c-standard. To me it would make more sense to just handle environment variables on our own.

I've already said my reason in a PM but I'll repeat them here:
memory management
If we manage our own variables, we need to allocate for every variable instead of just calling getenv to get the pointer to managed memory.

But if we go down that route, then I just want to interject, I already wrote this on the shell_environment branch, granted it's a little overkill because it also caches


Poor diagnostics when UseErrorHandler points to a non-existing URL (IIS/IIS Express)

My project has the usual app.UseErrorHandler("/Home/Error"); call in it, but I forgot that I deleted the /Home/Error action from my app. I'm using IIS Express locally, and IIS on Azure Web Sites.
When I run locally, I get the following IIS error:
HTTP Error 403.14 - Forbidden

The Web server is configured to not list the contents of this directory.

And on Azure it behaves as if my web app never started, showing a "how to upload your site to Azure" default help page.
It would be nice if there was some way to detect this incorrect configuration of my app and show a more meaningful and actionable error. It took me, @muratg, and @anurse quite a while to figure out what was going on.

Is that beta6?

May have even been beta5... I can try with newer bits.

We tried this with beta7 and it looks like you now just get a 404 response for the original request, which his a bit misleading as it's the error page that cannot be found not the originally request resource. Ideally in this situation you would get a 500 because the server is misconfigured.

@Tratcher Let's chat about what we can do here.

We should also try this with the HttpPlatform handler since that's our IIS story going forward.


CUBLAS ERROR while running example

When running the first example, prediction to distogram, I get the following error.
Is this error reproducible for you guys?
It looks like its crashing in the trunk part for the attention qkv remapping.
torch 1.8.0
cuda 10.2
python 3.6.9
Traceback (most recent call last):
  File "test.py", line 25, in <module>
    msa_mask = msa_mask
  File "/home/ychnh/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/home/ychnh/af/alphafold2_pytorch/alphafold2.py", line 840, in forward
    msa_mask = msa_mask
  File "/home/ychnh/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/home/ychnh/af/alphafold2_pytorch/alphafold2.py", line 511, in forward
    x = attn(x, shape = seq_shape, mask = mask) + x
  File "/home/ychnh/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/home/ychnh/af/alphafold2_pytorch/alphafold2.py", line 45, in forward
    return self.fn(x, *args, **kwargs)
  File "/home/ychnh/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/home/ychnh/af/alphafold2_pytorch/alphafold2.py", line 107, in forward
    return attn(x, *args, shape = shape, mask = mask, **kwargs)
  File "/home/ychnh/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/home/ychnh/af/alphafold2_pytorch/alphafold2.py", line 411, in forward
    w_out = self.attn_width(w_x, mask = w_mask)
  File "/home/ychnh/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/home/ychnh/af/alphafold2_pytorch/alphafold2.py", line 235, in forward
    q, k, v = (self.to_q(x), *self.to_kv(context).chunk(2, dim = -1))
  File "/home/ychnh/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/home/ychnh/.local/lib/python3.6/site-packages/torch/nn/modules/linear.py", line 94, in forward
    return F.linear(input, self.weight, self.bias)
  File "/home/ychnh/.local/lib/python3.6/site-packages/torch/nn/functional.py", line 1753, in linear
    return torch._C._nn.linear(input, weight, bias)

RuntimeError: CUDA error: CUBLAS_STATUS_INTERNAL_ERROR when calling `cublasCreate(handle)`

It is running fine on the cpu.

@ychuhp it runs for me, i'm using python 3.7.3, torch version 1.7.1

Ok. I changed the torch version to 1.7.1 and it is working on the gpu.
What should be done with this information? I am new to github and I am not too sure of the procedures.

@ychuhp i've already registered it, will take care of this tomorrow - i haven't tried upgrading to torch 1.8 yet

@ychuhp of course, if you can figure it out, always welcome a PR :)

Ok. It is a non-issue.
My version of Cuda 10.2 is not compatible with torch 1.8.0
I will close this.

Oh I see! Got it

@ychuhp I'm actually running into the same issue trying to upgrade to torch 1.8, did you ever fix this? lol

I thought 1.8 was not with compatible with 10.2 (based on what I saw on the Install Pytorch menu at https://pytorch.org a couple of days ago)
I am having the same issue with 1.8
It is working fine with 1.7.1 and 1.9
Maybe there is an issue with the pytorch library.


”Topolog” is listed in the drop-down menu

Description:
"Topolog" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Topolog" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Topolog, TULCEA".


Ability to add multiple tags/labels

This "issue"/feature request relates to the web UI - but is likely relevant to the CLI editor too. I'll use 'tags' to refer to what you seem to call "labels" in the readme. But perhaps I misunderstand what you mean by labels?

TL:DR I can't see how to add multiple tags to a note? My suspicion is that others may be looking for this.

What I'm looking for is somewhat already provided by existing features - which are cool and useful as is. However they're not quite what I'm looking for. I.e.:

note cross linking - having to cross link every note that is relevant to any/every other note is a friction, so I'm not doing it much at all. Being able to just add multiple tags to each new note (somewhere/somehow) feels quicker, easier and a more "intuitive" way to automagically group relevant notes together. E.g. Firefox bookmark style tagging.

title - is the title intended to be a space separated list of tags? My default (and my desire) is to be able to give a plain english title, one that is descriptive, but not explicit about full content.

search - is useful as is, but the results are too noisy for what I'm looking for.

Labels

TL:DR I can't see how to add multiple tags to a note?

note cross linking - having to cross link every note that is relevant to any/every other note is a friction, so I'm not doing it much at all. Being able to just add multiple tags to each new note (somewhere/somehow) feels quicker, easier and a more "intuitive" way to automagically group relevant notes together. E.g. Firefox bookmark style tagging.

As discussed in the README, notesium supports the concept of labels, but there is no special label syntax. Instead, a label is just a regular note, and only considered a label if its title is one-word.
There is no limit to the amount of a links a note can have - so, if you want have multiple labels, you would just link to those label notes. Where you specify those links is up to you.
You could add the label links at the top of the body, for example
# never split the difference

[books](625bdd26.md) [negotiation](64392126.md)

...

And or they could be inline, for example:
# richard feynman

richard phillips feynman was an american theoretical [physicist](642146c7.md), known for his work in ...

There is no need to manually cross link every note due to backlink support, meaning you wouldn't need to manually link to each book from the book note. Having just one link is sufficient to create the linkage, no matter the direction.
You can see linkages in multiple ways:

The note side-panel displays LinkTrees (screenshot - right sidepanel Incoming Links).
By using the label and notes-list side-panels in conjunction. By clicking a label it will auto-filter the notes-list.
Note list dialog with prefixed labels, and manually filtering for the label you want (screenshot).
Graph view (either global or note-specific)

Just for completeness, auto-formatted links can be easily inserted while editing a note by typing [[ - which will bring up the LinkInsertion dialog.
Does that address the question/comment, or did I misunderstand?
Titles

title - is the title intended to be a space separated list of tags? My default (and my desire) is to be able to give a plain english title, one that is descriptive, but not explicit about full content.

Titles should be plain text and descriptive, not a list of tags. Ideally they should be in markdown H1 format, for example:
# never split the difference

Search

search - is useful as is, but the results are too noisy for what I'm looking for.

Could you clarify what mean, and how you think it could be "less noisy" or what you would expect?

label is just a regular note, and only considered a label if its title is one-word.

You could add the label links at the top of the body, for example [...]

or they could be inline

Ah ok, what I'm asking for is already possible - just via a mechanism that I missed/didn't get!?  With that context, using 'labels' makes way more sense than 'tags'!
Looking at the bits I've quoted, I'm 99% sure I get it. To be 100%, let me summarise my understanding:
A label is "created" by:

a note with a single word title, with links to/from it; or
a single word link to another note, anywhere within a note

There is no need to manually cross link every note due to backlink support, meaning you wouldn't need to manually link to each book from the book note. Having just one link is sufficient to create the linkage, no matter the direction.

Ok,  I'll have a bit of a play to ensure that I understand correctly.
Although I don't really get what you mean by "book"? Sounds like there is something else I missed...

Just for completeness, auto-formatted links can be easily inserted while editing a note by typing [[ - which will bring up the LinkInsertion dialog.

Ah ok, I missed that. Again, I'll have more of a play and see how I go.
Only one last label related thing:
How do you create new labels if other relevant/related notes don't yet exist?
IIUC a single new label could be created by giving it a single word title. But what about creating multiple new labels for a single note?
IIUC you'd need to create multiple new notes, one for each label. Then link them to/from the original note - I guess from the original note would be better?!
If I'm right, IMO it'd be nice to have a quicker/easier way to create new tags. It probably applies less when you already have lots of notes. But when you're starting and only have a few notes, I imagine that may feel a bit clunky.
Only a wishlist item though...

search - is useful as is, but the results are too noisy for what I'm looking for.

Could you clarify what mean, and how you think it could be "less noisy" or what you would expect?

Search is fine for actually searching.
I just missed/misunderstood lots of the above and was noting that search was way too noisy to achieve what I wanted.
Turns out that I just didn't get that what I was after already existed. I just didn't get how it worked. I.e. a knowledge gap - mostly because I'm a shocker for not reading docs properly...

TBH it feels a little I've wasted your time (and mine too). I do appreciate your explanation, although next time please feel free to just tell me to RTFM first! :) A link to the relevant doc paragraph might be useful though. ;) I'll come back if I still don't get it.

I was going to repurpose this issue (hence the subject retitle) - to a related new feature request. But decided it's cleaner to just close this and start a fresh issue - #45


In ConvertFrom-Json, the max depth for deserialization is 1024, however, we should investigate if the current implementation can handle object of greater depth.

Steps to reproduce
# Create nested JSON data with max depth of 1025
$maxDepth = 1025
$val = ""
$end="null"

1..$maxDepth | % {
    $val += '{"' + $_+'":'
    $end += '}'
}
$val + $end  | ConvertFrom-Json

Expected behavior
PowerShell is able to deserialize objects with depth greater of 1024.
Actual behavior
ConvertFrom-Json : Conversion from JSON failed with error: The reader's MaxDepth of 1024 has been exceeded. Path '<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>
.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.11
<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>
<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>
<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.255.256.257.258.259.260.261.262.263.264.265.266.267.268.269.270.271.272.273.274.275.276.277.278.279.280.281.282.283.284.285.286.287.288.289.290.291.292.293.29
4.295.296.297.298.299.300.301.302.303.304.305.306.307.308.309.310.311.312.313.314.315.316.317.318.319.320.321.322.323.324.325.326.327.328.329.330.331.332.333.334.335.336.337.338.339.340.341.342.343.344.345.346.347.348.349.350.351.352.35
3.354.355.356.357.358.359.360.361.362.363.364.365.366.367.368.369.370.371.372.373.374.375.376.377.378.379.380.381.382.383.384.385.386.387.388.389.390.391.392.393.394.395.396.397.398.399.400.401.402.403.404.405.406.407.408.409.410.411.41
2.413.414.415.416.417.418.419.420.421.422.423.424.425.426.427.428.429.430.431.432.433.434.435.436.437.438.439.440.441.442.443.444.445.446.447.448.449.450.451.452.453.454.455.456.457.458.459.460.461.462.463.464.465.466.467.468.469.470.47
1.472.473.474.475.476.477.478.479.480.481.482.483.484.485.486.487.488.489.490.491.492.493.494.495.496.497.498.499.500.501.502.503.504.505.506.507.508.509.510.511.512.513.514.515.516.517.518.519.520.521.522.523.524.525.526.527.528.529.53
0.531.532.533.534.535.536.537.538.539.540.541.542.543.544.545.546.547.548.549.550.551.552.553.554.555.556.557.558.559.560.561.562.563.564.565.566.567.568.569.570.571.572.573.574.575.576.577.578.579.580.581.582.583.584.585.586.587.588.58
9.590.591.592.593.594.595.596.597.598.599.600.601.602.603.604.605.606.607.608.609.610.611.612.613.614.615.616.617.618.619.620.621.622.623.624.625.626.627.628.629.630.631.632.633.634.635.636.637.638.639.640.641.642.643.644.645.646.647.64
8.649.650.651.652.653.654.655.656.657.658.659.660.661.662.663.664.665.666.667.668.669.670.671.672.673.674.675.676.677.678.679.680.681.682.683.684.685.686.687.688.689.690.691.692.693.694.695.696.697.698.699.700.701.702.703.704.705.706.70
7.708.709.710.711.712.713.714.715.716.717.718.719.720.721.722.723.724.725.726.727.728.729.730.731.732.733.734.735.736.737.738.739.740.741.742.743.744.745.746.747.748.749.750.751.752.753.754.755.756.757.758.759.760.761.762.763.764.765.76
6.767.768.769.770.771.772.773.774.775.776.777.778.779.780.781.782.783.784.785.786.787.788.789.790.791.792.793.794.795.796.797.798.799.800.801.802.803.804.805.806.807.808.809.810.811.812.813.814.815.816.817.818.819.820.821.822.823.824.82
5.826.827.828.829.830.831.832.833.834.835.836.837.838.839.840.841.842.843.844.845.846.847.848.849.850.851.852.853.854.855.856.857.858.859.860.861.862.863.864.865.866.867.868.869.870.871.872.873.874.875.876.877.878.879.880.881.882.883.88
4.885.886.887.888.889.890.891.892.893.894.895.896.897.898.899.900.901.902.903.904.905.906.907.908.909.910.911.912.913.914.915.916.917.918.919.920.921.922.923.924.925.926.927.928.929.930.931.932.933.934.935.936.937.938.939.940.941.942.94
3.944.945.946.947.948.949.950.951.952.953.954.955.956.957.958.959.960.961.962.963.964.965.966.967.968.969.970.971.972.973.974.975.976.977.978.979.980.981.982.983.984.985.986.987.988.989.990.991.992.993.994.995.996.997.998.999.1000.1001.
1002.1003.1004.1005.1006.1007.1008.1009.1010.1011.1012.1013.1014.1015.1016.1017.1018.1019.1020.1021.1022.1023.1024', line 1, position 7086.
At line:1 char:16
+ $val + $end  | ConvertFrom-Json
+                ~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [ConvertFrom-Json], ArgumentException
    + FullyQualifiedErrorId : System.ArgumentException,Microsoft.PowerShell.Commands.ConvertFromJsonCommand

Environment data

> $PSVersionTable

Name                           Value
----                           -----
WSManStackVersion              3.0
SerializationVersion           <IP_ADDRESS>
PSRemotingProtocolVersion      2.3
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
GitCommitId                    v6.0.0-alpha.13-139-g152de408523eef294ab8592dd7740dd86c93313f
CLRVersion
PSVersion                      6.0.0-alpha
PSEdition                      Core
BuildVersion                   <IP_ADDRESS>

@markcowl Could you please look current status the Issue?

@iSazonov Considering this depth is manually set in JsonObject.cs:
new JsonSerializerSettings
{
    TypeNameHandling = TypeNameHandling.None,
    MetadataPropertyHandling = MetadataPropertyHandling.Ignore,
    MaxDepth = 1024
}

I think it would be very easy for the current implementation to handle objects of greater depth (by simply removing that setting, it is set to no maximum depth by default). However, I might be missing something here.

@louistio Thanks! I think you found a right place. Do you want to offer a PR?
I don't know that new value should be - 2048? /cc @markekraus @Francisco-Gamino @SteveL-MSFT

Would it be insensible to have it at the largest possible value, and retain the default max depth setting according to the parameter of the cmdlet, which is by default only 2 (as I recall)?

Good point @vexx32

It seems ok to me to not set the default (which is null) as long as we add a parameter so the user can specify a maxdepth.
cc @TravisEz13

@louistio Do you want to start contribute in the repo? :-) Fixing the Issue is best for start.