Can't use StLink on OS X: libusb timeouts

Hi,
I got approximately one response for -a very long shot of runs-, so StLink CANT be used on OSX...
➜  stlink git:(master) ✗ ./st-info --descr
libusb_handle_events() timeout
[!] send_recv
^C

Even tried stable libusb or HEAD, no success.
According to wiki https://github.com/texane/stlink/wiki "After downgrading the firmware, flashing works ST-Link/V2 debugger with downgraded V2.14.3 firmware".
Tried that and it doesn't works, also 2.14 is really old...
Also "openocd" doesn't works too.
(And that's not a problem with my adapter, it works perfectly on windows using stlink or linux with openocd or stlink)
Any plans to take a look about this issue ? Since this make any development on OS X impossible unless playing with two laptops only for StLink...

I am using stlink on OSX 10.9.5. The board is a STM32F7 Discovery with the supplied firmware, and both flashing from st-flash and debugging with st-util works.
So stlink does run well on some combinations of OSX and firmware versions.

Well here it doesn't works at all.
Also as you can probably understand, sticking with an old firmware and using recent MCU isn't the best recommended way to help working with them.

I will test some other boards later today and also check firmware versions
My libusb setup from brew:
libusb: stable 1.0.19 (bottled), HEAD
Library for USB device access
http://libusb.info
/usr/local/Cellar/libusb/1.0.19 (11 files, 368K)
Poured from bottle
From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/libusb.rb
==> Options
--universal
Build a universal binary
--with-default-log-level-debug
Build with default runtime log level of debug (instead of none)
--without-runtime-logging
Build without runtime logging functionality
--HEAD
Install HEAD version
libusb-compat: stable 0.1.5 (bottled)
Library for USB device access
http://www.libusb.org/
/usr/local/Cellar/libusb-compat/0.1.5 (12 files, 132K) *
Poured from bottle
From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/libusb-compat.rb
==> Dependencies
Build: pkg-config ✘
Required: libusb ✔
==> Options
--universal
Build a universal binary

i only have "libusb: stable 1.0.19, HEAD // Built from source" here, also tried --HEAD but that doesn't changed anything.
My StLink is git-cloned and built handy (not using brew even if it seems to exist).
I've previously tried fw:

2.J14.S0 (from wiki dropbox link)
2.J15.S0 (same)
2.J16.S0 (same)
2.J17.S0 (same)
2.J21.S0 (same)
2.J24.S0 (from StLink windows utility, official)

No success at all. First plug in mac works, latests runs fails, openocd doesn't even get working on first launch.
➜  stlink git:(master) ✗ ./st-info --descr
F4 device (low power) - stm32f411re
➜  stlink git:(master) ✗ ./st-info --descr
libusb_handle_events() timeout
[!] send_recv
--stuck here, can only ^C--

I have only a stm32f4-discovery, I can try to see if a friend have another boards with on-board splittable StLink tonight.
I doesn't know StLink nor libusb code but if provided patchs/commits/whatever to see/display debugs things that can help i can do it.

For some more debug info try
st-util -v99

First run:
➜  stlink git:(master) ✗ ./st-util -v99
2015-08-18T10:49:09 DEBUG src/stlink-common.c: stlink current mode: dfu
2015-08-18T10:49:09 INFO src/stlink-usb.c: -- exit_dfu_mode
2015-08-18T10:49:09 DEBUG src/stlink-common.c: *** stlink_exit_dfu_mode ***
2015-08-18T10:49:09 DEBUG src/stlink-common.c: stlink current mode: mass
2015-08-18T10:49:09 DEBUG src/stlink-common.c: *** stlink_enter_swd_mode ***
2015-08-18T10:49:09 DEBUG src/stlink-common.c: *** looking up stlink version
2015-08-18T10:49:09 DEBUG src/stlink-common.c: st vid         = 0x0483 (expect 0x0483)
2015-08-18T10:49:09 DEBUG src/stlink-common.c: stlink pid     = 0x3748
2015-08-18T10:49:09 DEBUG src/stlink-common.c: stlink version = 0x2
2015-08-18T10:49:09 DEBUG src/stlink-common.c: jtag version   = 0x15
2015-08-18T10:49:09 DEBUG src/stlink-common.c: swim version   = 0x0
2015-08-18T10:49:09 DEBUG src/stlink-common.c:     notice: the firmware doesn't support a swim interface
2015-08-18T10:49:09 INFO src/stlink-common.c: Loading device parameters....
2015-08-18T10:49:09 DEBUG src/stlink-common.c: *** stlink_core_id ***
2015-08-18T10:49:09 DEBUG src/stlink-common.c: core_id = 0x2ba01477
2015-08-18T10:49:09 DEBUG src/stlink-common.c: *** stlink_read_debug32 10006431 is 0xe0042000
2015-08-18T10:49:09 DEBUG src/stlink-common.c: *** stlink_read_debug32 200c000 is 0x1fff7a20
2015-08-18T10:49:09 INFO src/stlink-common.c: Device connected is: F4 device (low power) - stm32f411re, id 0x10006431
2015-08-18T10:49:09 INFO src/stlink-common.c: SRAM size: 0x20000 bytes (128 KiB), Flash: 0x80000 bytes (512 KiB) in pages of 16384 bytes
2015-08-18T10:49:09 DEBUG src/stlink-common.c: *** stlink_reset ***
2015-08-18T10:49:09 INFO gdbserver/gdb-server.c: Chip ID is 00000431, Core ID is  2ba01477.
2015-08-18T10:49:09 DEBUG src/stlink-common.c: *** reading target voltage
2015-08-18T10:49:09 DEBUG src/stlink-common.c: target voltage = 2860mV
2015-08-18T10:49:09 INFO gdbserver/gdb-server.c: Target voltage is 2860 mV.
2015-08-18T10:49:09 INFO gdbserver/gdb-server.c: Listening at *:4242...
^C2015-08-18T10:49:17 DEBUG src/stlink-common.c: *** stlink_run ***
2015-08-18T10:49:17 DEBUG src/stlink-common.c: *** stlink_exit_debug_mode ***
2015-08-18T10:49:17 DEBUG src/stlink-common.c: *** stlink_write_debug32 a05f0000 to 0xe000edf0
2015-08-18T10:49:17 DEBUG src/stlink-common.c: *** stlink_close ***

Second run (not disconnected, just after ^C):
➜  stlink git:(master) ✗ ./st-util -v99
libusb_handle_events() timeout
[!] send_recv
2015-08-18T10:50:34 DEBUG src/stlink-common.c: stlink mode: unknown!
^C

Usb reported as:
            STM32 STLink:

              Product ID: 0x3748
              Vendor ID: 0x0483  (STMicroelectronics)
              Version: 1.00
              Serial Number: Iÿw?PgHW4?
              Speed: Up to 12 Mb/sec
              Manufacturer: STMicroelectronics
              Location ID: 0x14130000 / 11
              Current Available (mA): 1000
              Current Required (mA): 100
              Extra Operating Current (mA): 0

Each time it "crashes" it just stay as-is, no output, nothing, can just ^C and reconnect and retry

I've rebuilt libusb with --with-default-log-level-debug, here is the output of st-info --descr on first run and second run : https://gist.github.com/rhaamo/15d7cb2f7f4f7dc5c810

I cannot replicate your problems on my system, tried with STM32F4 Discovery straight out of the package, works, upgraded to latest STLink firmware works.
(I do find some other weirdness but thats for a different thread)

Tried a STM32L0538-DISCO (stock fw i think), and a StLink/v2 clone and same problem everytime, i got timeouts after second run...

What osx version ?

10.11 beta 4, i'm updating to beta 5 and will retry tonight.

I have the same issue with 10.11 release version. Basically st-link will not work with El Capitan which is a rather major issue as I can no longer do anything since upgrading.
mlu I'm guessing you're still on 10.10 or 10.9?

Yes I am still at 10.9.5

just wanted to throw in here and say I'm experiencing the exact same problem with my STLink v2 mini. OSX 10.11 (15A284). I'm using OpenOCD, custom hardware with an STM32F411 core. Works once and then I have to power cycle the STLink in order to program again.

Same here.
To add new info, my the STLink V2 have same behaviour on Ubuntu Linux 14.04 just after upgrade to El Capitan (on the same machine, mac mini) - so it may be something messed up on efi level.

Same problem, using OSX 10.11.1

As per libusb developers this is not a libusb issue https://github.com/libusb/libusb/issues/111

I have re-opened libusb issue 111.

As mentioned in https://github.com/libusb/libusb/issues/111, the work-around seems to be read the ST-Link version twice. Please try that. As per the report in the OpenOCD mailing list, that seems to sort out the problem.

As per report in libusb ticket, this is an Apple USB Stack bug and Apple Mac OS X A10.11.4 beta seems to sort out this issue.

Confirmed, fixed in OSX 10.11.4 beta.

Is it worth updating to the beta on my main machine for this fix? Wondering if there are other stability issues to keep in mind.

As mentioned by @Cheong2K i'm closing this for now. Reopen when there are still problems related to this issue.

Same problem on 10.11.5 (15F34).
uname -a
Darwin Nawals-MacBook-Air.local 15.5.0 Darwin Kernel Version 15.5.0: Tue Apr 19 18:36:36 PDT 2016; root:xnu-3248.50.21~8/RELEASE_X86_64 x86_64

st-util -v99
2016-07-04T11:06:46 DEBUG /tmp/stlink-20160608-18806-p6zk82/stlink-1.2.0/src/stlink-common.c: stlink current mode: debug (jtag or swd)
2016-07-04T11:06:46 DEBUG /tmp/stlink-20160608-18806-p6zk82/stlink-1.2.0/src/stlink-common.c: stlink current mode: debug (jtag or swd)
2016-07-04T11:06:46 DEBUG /tmp/stlink-20160608-18806-p6zk82/stlink-1.2.0/src/stlink-common.c: *** stlink_reset ***
2016-07-04T11:06:46 DEBUG /tmp/stlink-20160608-18806-p6zk82/stlink-1.2.0/src/stlink-common.c: *** looking up stlink version
2016-07-04T11:06:46 DEBUG /tmp/stlink-20160608-18806-p6zk82/stlink-1.2.0/src/stlink-common.c: st vid         = 0x0483 (expect 0x0483)
2016-07-04T11:06:46 DEBUG /tmp/stlink-20160608-18806-p6zk82/stlink-1.2.0/src/stlink-common.c: stlink pid     = 0x3748
2016-07-04T11:06:46 DEBUG /tmp/stlink-20160608-18806-p6zk82/stlink-1.2.0/src/stlink-common.c: stlink version = 0x2
2016-07-04T11:06:46 DEBUG /tmp/stlink-20160608-18806-p6zk82/stlink-1.2.0/src/stlink-common.c: jtag version   = 0x17
2016-07-04T11:06:46 DEBUG /tmp/stlink-20160608-18806-p6zk82/stlink-1.2.0/src/stlink-common.c: swim version   = 0x4
2016-07-04T11:06:46 INFO /tmp/stlink-20160608-18806-p6zk82/stlink-1.2.0/src/stlink-common.c: Loading device parameters....
2016-07-04T11:06:46 DEBUG /tmp/stlink-20160608-18806-p6zk82/stlink-1.2.0/src/stlink-common.c: *** stlink_core_id ***
2016-07-04T11:06:46 DEBUG /tmp/stlink-20160608-18806-p6zk82/stlink-1.2.0/src/stlink-common.c: core_id = 0x00000000
2016-07-04T11:06:46 DEBUG /tmp/stlink-20160608-18806-p6zk82/stlink-1.2.0/src/stlink-common.c: *** stlink_read_debug32 e0042000 is 0xe0042000
2016-07-04T11:06:46 WARN /tmp/stlink-20160608-18806-p6zk82/stlink-1.2.0/src/stlink-common.c: unknown chip id! 0xe0042000
2016-07-04T11:06:46 DEBUG /tmp/stlink-20160608-18806-p6zk82/stlink-1.2.0/src/stlink-common.c: *** stlink_close ***

@husnoo thank you for your feedback, please open a new issue for this. Thanks in advance!


No option to exit application

Once application is run it kind of runs as service and there is no option to exit. Even killing it does not work.
There should be option for user to exit application and make it stop working other than restarting Android device.

The pause or back button stops the decoder.
Is it not working?
Can you send me a screenshot?
Ahmet


Unstaking Tokens in EOS-Voter

In EOS-Voter, in the Wallet tab I clicked "Update Staked EOS".
I had already Staked all my tokens into CPU a week ago.
Then today I set 0 in the "Set EOS staked in CPU". I assume this is the way to regain control of those tokens and that it takes 3 days for those tokens to become available again (to Send for example).
What I noticed though that caught my attention was that in the "Staked to Others" it showed the unstaked balance of my tokens. Then within an hour that "Staked to Others" balance went to 0.
I then went to Bloks.io and saw that the Unstaken balance is appearing in "Refunding"
Is this all normal? Please help me out as I am new to EOS and never Unstaked before.
Is the Bloks.io "Refunding" balance, the amount that will be converted to LIQUID in 3 days?
Thanks in advance and kind regards.

Hrm, it must be a UI bug that's messing with the fields. The "refunding" balance on bloks is what you're looking for, and should be liquid in 3 days.
I just did a test and unstaked some EOS and this is what it should look like:

It shows the 5.9xx I'm unstaking (with the countdown to when it's done), and the "Staked to Others" field is actually EOS that I'm staking to other accounts.
If the UI is still showing incorrectly, I'd be curious to know which blockchain/account this is happening on, so I can take a look. If you don't want to share that info on github, feel free to email<EMAIL_ADDRESS>with the details and I can take a look.
Thanks!

Closing due to inactivity, feel free to reopen/respond if the problem persists.


Intersection decorator used within the lazy demo component breaks on safari

Hey there, the intersection decorator used within the lazy demo component does not seem to work properly on safari. I get the following error with the example of your docs
TypeError: window.requestIdleCallback is not a function. (In 'window.requestIdleCallback(this.load)', 'window.requestIdleCallback' is undefined)

This also happens on your demo page with the lazyload image component here. The IDE complains about TS2339: Property 'requestIdleCallback' does not exist on type 'Window & typeof globalThis'. Maybe this helps.
All the best

This should be fixed in the beta versions of the v2, as requestIdleCallback usages are conditioned by the function support.


Azure OpenAI setting problem

Hi I encountered an error when using Azure OpenAI.
I already set the api_key, base_url and model that I used in another project.
However this error occured :
Error code: 404 - {'error': {'code': '404', 'message': 'Resource not found'}}
ERROR - LLM(Large Languate Model) error, Please check your key or base_url, or network
I was wondering what else I should set? Thanks!

see readme carefully. Set model by azure_xxxx where xxxx is your deploy name, not openai model name.


Enforce ruff/Perflint rules (PERF)

I have not applied this one:
PERF203 `try`-`except` within a loop incurs performance overhead

I believe the rest of the changes result in more readable code, but I am not certain about this one. In the absence of measured performance gains, I have left it out. I am happy to apply the PERF203 rule as well if you want me too.

About the previous failure: my "fix" for PERF403 was completely wrong. Tests pass now.


Support for comparing the difference between two images

Feature request  / 功能建议
Objective: Introduce a feature in CogVLM that allows users to upload two images and receive a detailed comparison of their differences.
Functionality: The tool should analyze both images in terms of color, composition, subject matter, and other visual elements. It should then provide a comprehensive report highlighting similarities and differences.
User Input: Users should be able to upload two images directly or provide URLs to the images.
Output Format: A side-by-side comparison report, possibly including marked areas of difference, textual descriptions of dissimilarities, and a summary of key comparison points.
Usability: Easy-to-use interface and API.
Motivation / 动机
Enhanced User Experience: This feature would greatly benefit users needing to analyze visual changes, discrepancies, or progress over time between two images.
Accessibility: Such a feature would make advanced image analysis more accessible to a broader audience, reducing the reliance on specialized or technical software.
Innovative Edge: Incorporating this feature would position CogVLM as a more versatile and cutting-edge tool in the field of image processing and analysis.
Your contribution / 您的贡献
N/A

This is more difficult. In the open source model, the training set does not jointly process multiple images, so it is not possible to use the current model to match multiple images.

Do you have an intuition of how much notion of localization the model has for the image? I was wondering if merging 2 images into one on the horizontal side and referring to the "left" and "right" sides in the prompting could be a hacky way around this current limitation? I would be curious to explore this.

You are right. Splicing two pictures and then judging by a large model is possible with our existing model. Our cogagent model supports high-resolution pictures, so you can splice the two pictures and The model is required to analyze and guess this stitched picture, which will satisfy some basic tasks. Just like the picture I provided

This is more difficult. In the open source model, the training set does not jointly process multiple images, so it is not possible to use the current model to match multiple images.

Do you have an intuition of how much notion of localization the model has for the image? I was wondering if merging 2 images into one on the horizontal side and referring to the "left" and "right" sides in the prompting could be a hacky way around this current limitation? I would be curious to explore this.

This is indeed a great idea, but the experimental results are not very ideal. Especially for the comparison of product pages (maybe due to the fact of the relevant training set)

Oh, that's for sure because our open-source model lacks training on these datasets, and we're still trying to provide a feasible fine-tuning solution. Also, you can try our new API after our press conference tomorrow


auth err

hi thanks for the awesome tutorial... have a small issue though.
i followed everything:

pasted the groovy app
enabled oauth
did the Oauthorization via your handy online tool
ran the python script and get this:

python smartthings.py --type motion
{u'message': u'This request is not authorized by the specified access token', u'type': u'AccessDenied', u'error': True}
null

i then re-copy and pasted the client id/secret just to check, but same thing...
any ideas of how I could troubleshoot this?

nevermind, fixed it... the device url was hardcoded not account accounting for the new way of using different subdomains "https://graph-na02-useast1.api.smar...."  ... which is returned in the endpoint request.

Is there some code fix I should be implementing?
On Thu, Jan 26, 2017 at 4:21 AM, tim<EMAIL_ADDRESS>wrote:

nevermind, fixed it... the device url was hardcoded not account accounting
for the new way of using different subdomains "https://graph-na02-useast1.
api.smar...." ... which is returned in the endpoint request.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dpjanes/iotdb-smartthings/issues/15#issuecomment-275341975,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACNDx_SJed8o9CbTVNMui_YkQtgP07k_ks5rWGWmgaJpZM4LuWgs
.

i'll look into it and submit a patch.
On Thu, Jan 26, 2017 at 11:38 AM, David Janes<EMAIL_ADDRESS>wrote:

Is there some code fix I should be implementing?
On Thu, Jan 26, 2017 at 4:21 AM, tim<EMAIL_ADDRESS>wrote:

nevermind, fixed it... the device url was hardcoded not account
accounting
for the new way of using different subdomains "
https://graph-na02-useast1.
api.smar...." ... which is returned in the endpoint request.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<https://github.com/dpjanes/iotdb-smartthings/issues/15#
issuecomment-275341975>,
or mute the thread
<https://github.com/notifications/unsubscribe-
auth/ACNDx_SJed8o9CbTVNMui_YkQtgP07k_ks5rWGWmgaJpZM4LuWgs>
.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/dpjanes/iotdb-smartthings/issues/15#issuecomment-275490255,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAsvtF1R4iHHABYdO81UWFeGR3qpuPNsks5rWPYkgaJpZM4LuWgs
.


owl.exe does nothing

I got https://github.com/atextor/owl-cli/releases/download/snapshot/owl-x86_64-windows-snapshot.exe and it doesn't do anything:
$ owl -v
$ owl -h
$ owl diagram IEC61970-600-2_CGMES_3_0_0_RDFS_501Ed2CD_EQ.ttl
  # nothing written

The same with version 1.2.5.
https://github.com/atextor/owl-cli/releases/download/snapshot/owl-cli-snapshot.jar doesn't have this problem.

@atextor Sorry, wrong project! Can you move this to https://github.com/atextor/owl-cli, or I should recreate it there?


Create Specification for the project

What we need is

Specification for the CLI resigstry (Sample JSON including versions, binary locations etc.)
List of the required features and good haves

@wtrocki sample specification for the CLI registry
{
    "name": "",
    "description": "",
    "version": "",
    "environment": "",
    "registry": "",
    "homepage": "",
    "bin": {},
    "private": false,
    "dependencies": {

    },
    "maintainers": {

    },
    "license": ""
}

Feats:
- Use a CLI plugin as an extension in some CLI
- Link multiple CLI's together
- Registry Manager containing the list and metadata of CLI's
- Github repo/pages based remote index servers for plugins which will contain docs, metadata of the plugin
- Framework that will be able to read these remote index servers

Pretty much, but also logic for listing and downloading extensions. Logic for executing extensions in host CLI

okay, I will start with a readme.

@ankithans I have pushed to main branch example registry. If we add more CLIs - Kubectl, and OC (OpenShift) then we can have reliable sample app that we can base on.

https://mirror.openshift.com/pub/openshift-v4/clients/

Okay, so we need this type of registry manager. Is it taking releases from GitHub?

I cannot assign you both but we really need to work on this for proposal this week to send i. @namit-chandwani @ankithans

@wtrocki Now ATY what's left here?

@wtrocki Now ATY what's left here?

+1
And how should we divide the remaining work among ourselves?

@wtrocki
shall we use this for Kafka?
 {
    "name": "kaf",
    "description": "Modern CLI for Apache Kafka, written in Go.",
    "version": "v0.1.39",
    "homepage": "https://github.com/birdayz/kaf",
    "binaries": {
      "darwin-amd64": "https://github.com/birdayz/kaf/releases/download/v0.1.39/kaf_0.1.39_Darwin_x86_64.tar.gz",
      "linux-amd64": "https://github.com/birdayz/kaf/releases/download/v0.1.39/kaf_0.1.39_Linux_x86_64.tar.gz",
      "windows": "https://github.com/birdayz/kaf/releases/download/v0.1.39/kaf_0.1.39_Windows_x86_64.tar.gz"
    },
    "dependencies": {},
    "tags": [],
    "license": "Apache License"
  }

That will be good. Yes


Update nbviewer.js

Would it be possible to update to the latest version of nbviewer.js?
A bug that caused multiple MIME versions of the same graph to be displayed has just been fixed (end of this issue: https://github.com/kokes/nbviewer.js/issues/28) and it would be great to have this available.

Sorry for the delay. But there you go, finally! :tada:

Great, many thanks!


move docs into this repo

One of the problems that I've run into on larger repos is keeping docs up to date as code is changed. In combating this problem, I've found it very useful to put the documentation in the same repo as the code. This way, every code change can have a corresponding documentation change in the same commit or the same PR.
Right now, our documentation lives in https://github.com/jenius/axis-www. It makes sense to have this in a separate repo because the website with all it's stylesheets, templates, and logic for building the site via roots isn't directly related to axis. However, if we could just move the content of the site into this repo, I think we'd be good.
This does make it a bit harder to recompile the site when the docs change, because the content would be in a separate repo, but I think we could use git submodules (the axis project being a submodule of the doc site), to make pulling changes a bit easier. So recompiling would be like:
$ git submodule update
$ roots compile
$ ship [whatever...]

Thoughts?

Closing due to inactivity


[BEAM-596] Support waitUntilFinish, cancel in the DirectRunner

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[x] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[x] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[x] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

Jenkins failure is unrelated (in spark)

R: @peihe

@peihe This is ready to review again.

Coverage increased (+0.03%) to 69.72% when pulling 62b46cfee5ff99603d808c1116cc493f2472aa1c on tgroh:wait_until_finsish into d18db93440e8308fe79f2e26875178ad4d61e7cf on apache:master.

Coverage increased (+0.06%) to 69.339% when pulling 703e4ead98f45abfdc792e2a1c1c16fed8449ee6 on tgroh:wait_until_finsish into cd4e6e402c5841aef24b279309354422bcfa5e4c on apache:master.

Any updates?

No updates from my end. I'm happy to merge as-is or reassign reviewers.

R: @kennknowles

LGTM

Coverage increased (+0.05%) to 69.95% when pulling caacf297023d0d6e4a6bfe2f7ccd6edb73914d89 on tgroh:wait_until_finsish into 2d9bf2747527b20a15f48c8ca8f4cd8fc7791e55 on apache:master.


Disable vulcanize

This is curious, it's selecting very old versions of packages: https://travis-ci.org/dart-lang/dart-pad/builds/231511026#L201
We probably need to audit out deps and remove things which haven't been updated recently.

(old packages issue fixed here: https://github.com/dart-lang/dart-pad/pull/768)


❌ Error orrurred: Response code not 200. Response Status is 403

Hey there. I have run the bot but I got the following error:
❌ Error orrurred: Response code not 200. Response Status is 403. /reset
This is how I set my config.yml file:
telegram:
  bot_token: MY-BOT-TOKEN
  user_ids: [123456789, 987654321]
claude:
  api: # leave it blank if you don't want to use claude
bard:
  api: ZAjHY4Pn_SOMEVALUEwFEw., sidts-SOMEVALUE_LXGRmuSA

As the format says

__Secure-1PSID, __Secure-1PSIDTS

This is exactly how I did it but it does not work.
Thanks for your time

Please check whether the server where you deploy the robot can access the Google Bard web page normally

Yes it can


Suggestion: push a specific row only

Would it be of use if the library was able to push changes that happened only in specific rows?
I am encountering this, as I am using celery and there are multiple rows that are being updated and processed in parallel. Each updating the sheet, so for some time the sheet might have false information.
I believe enabling this will enhance the synchronization capabilities of the library.

@Titorat can you expand on this a bit? How would we define which rows meet "sync" criteria? Are you proposing a method that can be overridden on the subclass i.e. should_sync(row), or some other mechanism?

@steinbachr Not completely sure, but I think something like this could be done by just modifying the function "push_to_sheet" for example ( pushing data is my specific use case, I don't yet know how to do that with pulling data instead of pushing).
So for example it could accept a list of ids in addition to the "cls" argument, which it would  provide to the "get_sheet_queryset" to filter the objects by. This will not be a complete sync of course because the database could have some modifications that are not synced yet. But I think it could be useful in some use cases.


Sentinel-1 support

This was first raised over https://github.com/RemotePixel/remotepixel-tiler/issues/10
The initial problem is that rasterio itself was missing some features to support non-geferenced SAR dataset (with internal GCPS). I started a PR over https://github.com/mapbox/rasterio/pull/1749 to make it possible to read and tile SAR dataset.
Using this branch we can now tile sentinel1 data (with some hacks):
https://gist.github.com/vincentsarago/076e674bdd0713890200e119bf2c055c

done in #125 (part of version 1.3)


⚠ Bofrost.at has degraded performance

In 9d801b8, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2037 ms

Resolved: Bofrost.at performance has improved in 999e5c8 after 13 minutes.


Reset your own password through Azure CLI

Hello,
As part of our project, we would like to reset the password of the logged-in account in an Azure DevOps pipeline.
The logged-in account does not have azure ad user administration privileges and we would not want to grant it that permission.
Is there a way of resetting your own password using Azure CLI?
ex:
az login -u<EMAIL_ADDRESS>-p "VerySecurePassword567"
$objectId = az ad user show --id<EMAIL_ADDRESS>--query "objectId" --output tsv
az ad user update --id $objectId --password "AnotherSecurePassword234" --force-change-password-next-login false

@jiasli for awareness


mpv: --hwdec=nvdec dont work in unstable

Describe the bug
mpv with --hwdec=nvdec throws errors
[ffmpeg/video] h264: Cannot load libnvcuvid.so.1
[ffmpeg/video] h264: Failed loading nvcuvid.
[ffmpeg/video] h264: Failed setup for format cuda: hwaccel initialisation returned error.

Steps To Reproduce
Steps to reproduce the behavior:

Open h264 video with mpv from nixos-unstable (it is 7f5639fa3b68054ca0b062866dc62b22c3f11505 commit now)
Get errors

Expected behavior
No errors printed
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Problem exists in current master (4a6cd14f37b22c9d2f90e3774b8ea9601025ad6b), unstable (7f5639fa3b68054ca0b062866dc62b22c3f11505)
But no issue on commit c2f4e0d0d154545f11fb9656584c6895040e6214 (last commit pkgs/applications/video/mpv dir was touched)
i tested this via nix shell github:NixOS/nixpkgs/<commit>#mpv and then open video (direct link to video - https://0x0.st/s/jPdDkhUx1W-W5saPzei__Q/HzN-.mp4)
Notify maintainers
@AndersonTorres
@fpletz
@globin
@Ma27
@tadeokondrak

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.13-xanmod1, NixOS, 23.05 (Stoat), 23.05.20230226.7f5639f`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.13.2`
 - nixpkgs: `/nix/store/glny4n684v2j01d43l5cy4qixxjarpi6-mzwhfnrlcij1iqvx52pjb8r699xdgvyi-source`

Oh boy. I can't help with nvidia hardware things.

nix shell github:NixOS/nixpkgs/#mpv
That'd use ffmpeg built without the cudaSupport flag. Unless nvcuvid is one of the "impurely deployed" libraries (go into /run), neither ffmpeg nor MPV would know about it

@3JlOy-PYCCKUi (ffmpeg_5.override { withCuda = true; })

Weird that libnvcuvid.so comes with the driver (nvidia_x11), I didn't expect that.
I see we have a broken derivation nixpkgs#nvidia-video-sdk (which currently fails at fetchurl), and it probably should refer to the samples

@3JlOy-PYCCKUi can you verify if the problem is gone with https://nixpk.gs/pr-tracker.html?pr=217044 being merged? If it's not there must some libs we forgot to patchelf, and we should just migrate ffmpeg from addOpenGLRunpath to cudaPackages.autoAddOpenGLRunpathHook

May 31st, the problem appears to have been solved by https://github.com/NixOS/nixpkgs/pull/217044. Closing the issue, feel free to follow up
❯ # Mpv from a two weeks old nixos-unstable. Can reproduce the nvcuvid error
❯ readlink -f $(which mpv)
/nix/store/maqw3rlx5sq60hkflm40n6lg5j0k7w1m-mpv-with-scripts-0.35.1/bin/mpv
❯ mpv --hwdec=nvdec nix-du-xdot-2.mp4
Error parsing option cache-default (option not found)
/home/ss/.config/mpv/mpv.conf:3: setting option cache-default='4000000' failed.
 (+) Video --vid=1 (*) (h264 3828x2108 10.000fps)
[ffmpeg/video] h264: Cannot load libnvcuvid.so.1
[ffmpeg/video] h264: Failed loading nvcuvid.
[ffmpeg/video] h264: Failed setup for format cuda: hwaccel initialisation returned error.
VO: [gpu] 3828x2108 yuv420p
V: 00:00:00 / 00:00:41 (0%)

Exiting... (Quit)
❯ nix shell --expr '(import (builtins.getFlake github:NixOS/nixpkgs/master) { config = { cudaSupport = true; allowUnfree = true; }; }).mpv' --impure
❯ mpv --hwdec=nvdec nix-du-xdot-2.mp4
Error parsing option cache-default (option not found)
/home/ss/.config/mpv/mpv.conf:3: setting option cache-default='4000000' failed.
 (+) Video --vid=1 (*) (h264 3828x2108 10.000fps)
[ffmpeg/video] h264: Cannot load libnvcuvid.so.1
[ffmpeg/video] h264: Failed loading nvcuvid.
[ffmpeg/video] h264: Failed setup for format cuda: hwaccel initialisation returned error.
VO: [gpu] 3828x2108 yuv420p
V: 00:00:00 / 00:00:41 (0%)

Exiting... (Quit)


Feature request: throw error if snapshot dosent exist in CI

I believe this is a common use case, and CI detection should be straightforward using env vars

@mcollina can you publish this to npm?


YOLO batch export not working

My actions before raising this issue

[x] Read/searched the docs
[x] Searched past issues

I have created a Project, in this project I have added some videos, when I want to do Actions -> export dataset -> YOLO format -> save images the export does not export the dataset, only 2 files, obj.data and obj.names. When exporting a single task

Expected Behaviour

exporting all of the videos with annotations, preferably with the ability to only export finished annotations
Current Behaviour

exporting an empty folder with no annotations in it
Possible Solution

Fixing this behaviour in the dataset_manager
Steps to Reproduce (for bugs)

create a project with multiple tasks
press actions in project
export in yolo format and save images

Context

Can't export / use the annotations that are created
Your Environment

Git hash commit (git log -1): 4f6e81eab354d29c548cb368d22a9dd1d8423b8b
Docker version docker version (e.g. Docker 17.0.05): 20.10.17
Are you using Docker Swarm or Kubernetes? no
Operating System and version (e.g. Linux, Windows, MacOS): MacOS / Linux

@timmermansjoy , please let us know if you can contribute and fix it.

I won't be able to look at it for a couple of weeks, so probably not

Hi, @timmermansjoy, I looked at this issue and got the following results:

Cannot reproduced on current develop commit: bae7564
Successful reproduced on commit that you provided: 4f6e81e

So I suggest you update CVAT in your environment, re-create your project and please write here, is the problem still exists or not?

hi there. I did a docker-compose pull then started it again and now when I try to do a batch export I get the following error

@timmermansjoy Now I cannot reproduce this problem.
Here is steps that I try to do:

Create project
Create few tasks with videos for project
Annotate with different type of shapes and tracks.
Export project dataset in YOLO format.

In my case everything works fine.
Could you please provide more information so I can reproduce your problem:

Which types of shapes do you use?
Do you have attributes for your labels?
It would be great if you attach logs from cvat_server: docker logs cvat_server, docker logs cvat_worker_default

yea that is what I do. I tried it without the images, and that works. but with images I get that error. I only use rectangle shape with track. No I dont use attributes for the labels
CVAT_server
2022-10-11 07:28:16,935 DEBG 'runserver' stderr output:
[Tue Oct 11 07:28:16.935702 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]   File "/opt/venv/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
[Tue Oct 11 07:28:16.935724 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]     response = get_response(request)
[Tue Oct 11 07:28:16.935729 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]   File "/opt/venv/lib/python3.8/site-packages/django/core/handlers/base.py", line 181, in _get_response
[Tue Oct 11 07:28:16.935733 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]     response = wrapped_callback(request, *callback_args, **callback_kwargs)
[Tue Oct 11 07:28:16.935737 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]   File "/opt/venv/lib/python3.8/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
[Tue Oct 11 07:28:16.935740 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]     return view_func(*args, **kwargs)

2022-10-11 07:28:16,939 DEBG 'runserver' stderr output:
[Tue Oct 11 07:28:16.939134 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]   File "/opt/venv/lib/python3.8/site-packages/rest_framework/viewsets.py", line 125, in view
[Tue Oct 11 07:28:16.939154 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]     return self.dispatch(request, *args, **kwargs)
[Tue Oct 11 07:28:16.939158 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]   File "/opt/venv/lib/python3.8/site-packages/rest_framework/views.py", line 509, in dispatch

2022-10-11 07:28:16,941 DEBG 'runserver' stderr output:
[Tue Oct 11 07:28:16.940601 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]     response = self.handle_exception(exc)
[Tue Oct 11 07:28:16.940614 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]   File "/opt/venv/lib/python3.8/site-packages/rest_framework/views.py", line 469, in handle_exception
[Tue Oct 11 07:28:16.940618 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]     self.raise_uncaught_exception(exc)
[Tue Oct 11 07:28:16.940622 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]   File "/opt/venv/lib/python3.8/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
[Tue Oct 11 07:28:16.940626 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]     raise exc
[Tue Oct 11 07:28:16.940629 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]   File "/opt/venv/lib/python3.8/site-packages/rest_framework/views.py", line 506, in dispatch
[Tue Oct 11 07:28:16.940633 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]     response = handler(request, *args, **kwargs)
[Tue Oct 11 07:28:16.940637 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]   File "/home/django/cvat/apps/engine/views.py", line 164, in logs
[Tue Oct 11 07:28:16.940640 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]     clogger.job[jid].info(message)
[Tue Oct 11 07:28:16.940643 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]   File "/home/django/cvat/apps/engine/log.py", line 72, in __getitem__
[Tue Oct 11 07:28:16.940647 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]     self._storage[idx] = self._create_logger(idx)
[Tue Oct 11 07:28:16.940650 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]   File "/home/django/cvat/apps/engine/log.py", line 142, in _create_logger
[Tue Oct 11 07:28:16.940655 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]     return clogger.task[job.segment.task.id]
[Tue Oct 11 07:28:16.940658 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]   File "/home/django/cvat/apps/engine/log.py", line 72, in __getitem__
[Tue Oct 11 07:28:16.940662 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]     self._storage[idx] = self._create_logger(idx)
[Tue Oct 11 07:28:16.940665 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]   File "/home/django/cvat/apps/engine/log.py", line 134, in _create_logger
[Tue Oct 11 07:28:16.940668 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]     client_file = logging.FileHandler(filename=task.get_client_log_path())
[Tue Oct 11 07:28:16.940672 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]   File "/usr/lib/python3.8/logging/__init__.py", line 1147, in __init__
[Tue Oct 11 07:28:16.940675 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]     StreamHandler.__init__(self, self._open())
[Tue Oct 11 07:28:16.940679 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]   File "/usr/lib/python3.8/logging/__init__.py", line 1176, in _open
[Tue Oct 11 07:28:16.940682 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]     return open(self.baseFilename, self.mode, encoding=self.encoding)
[Tue Oct 11 07:28:16.940685 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682] FileNotFoundError: [Errno 2] No such file or directory: '/home/django/data/tasks/92/logs/client.log'
[Tue Oct 11 07:28:16.940895 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682] ERROR:django.request:Internal Server Error: /api/server/logs
[Tue Oct 11 07:28:16.940902 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682] Traceback (most recent call last):
[Tue Oct 11 07:28:16.940907 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]   File "/opt/venv/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
[Tue Oct 11 07:28:16.940914 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]     response = get_response(request)
[Tue Oct 11 07:28:16.940917 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]   File "/opt/venv/lib/python3.8/site-packages/django/core/handlers/base.py", line 181, in _get_response
[Tue Oct 11 07:28:16.940920 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]     response = wrapped_callback(request, *callback_args, **callback_kwargs)
[Tue Oct 11 07:28:16.940924 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]   File "/opt/venv/lib/python3.8/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
[Tue Oct 11 07:28:16.940927 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]     return view_func(*args, **kwargs)
[Tue Oct 11 07:28:16.940930 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]   File "/opt/venv/lib/python3.8/site-packages/rest_framework/viewsets.py", line 125, in view
[Tue Oct 11 07:28:16.940934 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]     return self.dispatch(request, *args, **kwargs)
[Tue Oct 11 07:28:16.940937 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]   File "/opt/venv/lib/python3.8/site-packages/rest_framework/views.py", line 509, in dispatch
[Tue Oct 11 07:28:16.940941 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]     response = self.handle_exception(exc)
[Tue Oct 11 07:28:16.940944 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]   File "/opt/venv/lib/python3.8/site-packages/rest_framework/views.py", line 469, in handle_exception
[Tue Oct 11 07:28:16.940947 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]     self.raise_uncaught_exception(exc)
[Tue Oct 11 07:28:16.940950 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]   File "/opt/venv/lib/python3.8/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
[Tue Oct 11 07:28:16.940954 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]     raise exc
[Tue Oct 11 07:28:16.940957 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]   File "/opt/venv/lib/python3.8/site-packages/rest_framework/views.py", line 506, in dispatch
[Tue Oct 11 07:28:16.940960 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]     response = handler(request, *args, **kwargs)
[Tue Oct 11 07:28:16.940964 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]   File "/home/django/cvat/apps/engine/views.py", line 164, in logs
[Tue Oct 11 07:28:16.940967 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]     clogger.job[jid].info(message)
[Tue Oct 11 07:28:16.940970 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]   File "/home/django/cvat/apps/engine/log.py", line 72, in __getitem__
[Tue Oct 11 07:28:16.940973 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]     self._storage[idx] = self._create_logger(idx)
[Tue Oct 11 07:28:16.940977 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]   File "/home/django/cvat/apps/engine/log.py", line 142, in _create_logger
[Tue Oct 11 07:28:16.940980 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]     return clogger.task[job.segment.task.id]
[Tue Oct 11 07:28:16.940983 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]   File "/home/django/cvat/apps/engine/log.py", line 72, in __getitem__
[Tue Oct 11 07:28:16.940986 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]     self._storage[idx] = self._create_logger(idx)
[Tue Oct 11 07:28:16.940991 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]   File "/home/django/cvat/apps/engine/log.py", line 134, in _create_logger
[Tue Oct 11 07:28:16.940994 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]     client_file = logging.FileHandler(filename=task.get_client_log_path())
[Tue Oct 11 07:28:16.940997 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]   File "/usr/lib/python3.8/logging/__init__.py", line 1147, in __init__
[Tue Oct 11 07:28:16.941002 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]     StreamHandler.__init__(self, self._open())
[Tue Oct 11 07:28:16.941005 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]   File "/usr/lib/python3.8/logging/__init__.py", line 1176, in _open
[Tue Oct 11 07:28:16.941008 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682]     return open(self.baseFilename, self.mode, encoding=self.encoding)
[Tue Oct 11 07:28:16.941011 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:51682] FileNotFoundError: [Errno 2] No such file or directory: '/home/django/data/tasks/92/logs/client.log'

2022-10-11 07:36:07,159 DEBG 'runserver' stderr output:
[Tue Oct 11 07:36:07.159016 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>09088] [remote <IP_ADDRESS>:55548] [2022-10-11 07:36:07,145] ERROR django.request: Internal Server Error: /api/projects/1/dataset

2022-10-11 07:36:07,160 DEBG 'runserver' stderr output:
[Tue Oct 11 07:36:07.159435 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>09088] [remote <IP_ADDRESS>:55548] ERROR:django.request:Internal Server Error: /api/projects/1/dataset

2022-10-11 08:12:29,668 DEBG 'runserver' stderr output:
[Tue Oct 11 08:12:29.668108 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:40422] [2022-10-11 08:12:29,667] ERROR django.request: Internal Server Error: /api/projects/1/dataset

2022-10-11 08:12:29,669 DEBG 'runserver' stderr output:
[Tue Oct 11 08:12:29.668643 2022] [wsgi:error] [pid 88:tid<PHONE_NUMBER>87648] [remote <IP_ADDRESS>:40422] ERROR:django.request:Internal Server Error: /api/projects/1/dataset

cvat_worker
Traceback (most recent call last):
  File "/opt/venv/lib/python3.8/site-packages/rq/worker.py", line 936, in perform_job
    rv = job.perform()
  File "/opt/venv/lib/python3.8/site-packages/rq/job.py", line 684, in perform
    self._result = self._execute()
  File "/opt/venv/lib/python3.8/site-packages/rq/job.py", line 690, in _execute
    return self.func(*self.args, **self.kwargs)
  File "/home/django/cvat/apps/dataset_manager/views.py", line 120, in export_project_as_dataset
    return export(dst_format, project_id=project_id, server_url=server_url, save_images=True)
  File "/home/django/cvat/apps/dataset_manager/views.py", line 81, in export
    export_fn(db_instance.id, temp_file, dst_format,
  File "/home/django/cvat/apps/dataset_manager/project.py", line 32, in export_project
    project.export(f, exporter, host=server_url, save_images=save_images)
  File "/home/django/cvat/apps/dataset_manager/project.py", line 130, in export
    exporter(dst_file, project_data, **options)
  File "/home/django/cvat/apps/dataset_manager/formats/registry.py", line 37, in __call__
    f_or_cls(*args, **kwargs)
  File "/home/django/cvat/apps/dataset_manager/formats/yolo.py", line 26, in _export
    dataset.export(temp_dir, 'yolo', save_images=save_images)
  File "/opt/venv/lib/python3.8/site-packages/datumaro/util/scope.py", line 158, in wrapped_func
    ret_val = func(*args, **kwargs)
  File "/opt/venv/lib/python3.8/site-packages/datumaro/components/dataset.py", line 1076, in export
    converter.convert(self, save_dir=save_dir, **converter_kwargs)
  File "/opt/venv/lib/python3.8/site-packages/datumaro/components/converter.py", line 132, in convert
    return converter.apply()
  File "/opt/venv/lib/python3.8/site-packages/datumaro/plugins/yolo_format/converter.py", line 110, in apply
    self._report_item_error(e, item_id=(item.id, item.subset))
AttributeError: 'YoloConverter' object has no attribute '_report_item_error'

2022-10-11 07:36:05,283 DEBG 'rqworker_default_0' stderr output:
DEBUG:rq.worker:Invoking exception handler <function rq_handler at 0x7fd2b3312790>

2022-10-11 07:36:05,412 DEBG 'rqworker_default_0' stderr output:
DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds.

2022-10-11 07:36:05,412 DEBG 'rqworker_default_0' stderr output:
DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds.

2022-10-11 07:36:05,412 DEBG 'rqworker_default_0' stderr output:
DEBUG:rq.worker:*** Listening on default...

2022-10-11 07:36:05,413 DEBG 'rqworker_default_0' stderr output:
DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds.

2022-10-11 07:39:26,606 DEBG 'rqworker_default_1' stderr output:
DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds.

2022-10-11 07:42:50,420 DEBG 'rqworker_default_0' stderr output:
DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds.

2022-10-11 07:46:11,620 DEBG 'rqworker_default_1' stderr output:
DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds.

2022-10-11 07:49:35,426 DEBG 'rqworker_default_0' stderr output:
DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds.

2022-10-11 07:49:35,427 DEBG 'rqworker_default_0' stderr output:
INFO:rq.worker:Cleaning registries for queue: default

2022-10-11 07:52:56,635 DEBG 'rqworker_default_1' stderr output:
DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds.

2022-10-11 07:56:20,435 DEBG 'rqworker_default_0' stderr output:
DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds.

2022-10-11 07:59:41,645 DEBG 'rqworker_default_1' stderr output:
DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds.

2022-10-11 08:03:05,443 DEBG 'rqworker_default_0' stderr output:
DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds.

2022-10-11 08:04:56,033 DEBG 'rqworker_default_1' stderr output:
INFO:rq.worker:default: cvat.apps.dataset_manager.views.export_project_as_dataset(1, 'YOLO 1.1', 'http://<IP_ADDRESS>:8085') (/api/project/1/annotations/YOLO 1.1)

2022-10-11 08:04:56,033 DEBG 'rqworker_default_1' stderr output:
DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds.

2022-10-11 08:04:56,081 DEBG 'rqworker_default_1' stderr output:
DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 90 seconds.

2022-10-11 08:05:26,076 DEBG 'rqworker_default_1' stderr output:
DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 90 seconds.

2022-10-11 08:05:56,076 DEBG 'rqworker_default_1' stderr output:
DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 90 seconds.

2022-10-11 08:06:26,077 DEBG 'rqworker_default_1' stderr output:
DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 90 seconds.

2022-10-11 08:06:56,077 DEBG 'rqworker_default_1' stderr output:
DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 90 seconds.

2022-10-11 08:07:26,078 DEBG 'rqworker_default_1' stderr output:
DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 90 seconds.

2022-10-11 08:07:56,079 DEBG 'rqworker_default_1' stderr output:
DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 90 seconds.

2022-10-11 08:08:26,079 DEBG 'rqworker_default_1' stderr output:
DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 90 seconds.

2022-10-11 08:08:56,080 DEBG 'rqworker_default_1' stderr output:
DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 90 seconds.

2022-10-11 08:09:26,081 DEBG 'rqworker_default_1' stderr output:
DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 90 seconds.

2022-10-11 08:09:50,507 DEBG 'rqworker_default_0' stderr output:
DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds.

2022-10-11 08:09:56,081 DEBG 'rqworker_default_1' stderr output:
DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 90 seconds.

2022-10-11 08:10:26,083 DEBG 'rqworker_default_1' stderr output:
DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 90 seconds.

2022-10-11 08:10:56,083 DEBG 'rqworker_default_1' stderr output:
DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 90 seconds.

2022-10-11 08:11:26,086 DEBG 'rqworker_default_1' stderr output:
DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 90 seconds.

2022-10-11 08:11:56,084 DEBG 'rqworker_default_1' stderr output:
DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 90 seconds.

2022-10-11 08:12:26,086 DEBG 'rqworker_default_1' stderr output:
DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 90 seconds.

2022-10-11 08:12:26,897 DEBG 'rqworker_default_1' stderr output:
WARNING:libav.libopenh264:Slice count will be set automatically

2022-10-11 08:12:26,912 DEBG 'rqworker_default_1' stderr output:
WARNING:libav.swscaler:deprecated pixel format used, make sure you did set range correctly

2022-10-11 08:12:26,938 DEBG 'rqworker_default_1' stderr output:
WARNING:libav.libopenh264:[OpenH264] this = 0x0x7b35310, Warning:[MT] CWelsSliceEncodingTask ExecuteTask(), WriteSliceBs not successful: coding_idx 0, um_iSliceIdx 7

2022-10-11 08:12:26,938 DEBG 'rqworker_default_1' stderr output:
ERROR:libav.libopenh264:[OpenH264] this = 0x0x7b35310, Error:WelsEncoderEncodeExt(), multi-slice (mode 1) encoding error!

2022-10-11 08:12:26,939 DEBG 'rqworker_default_1' stderr output:
ERROR:libav.libopenh264:[OpenH264] this = 0x0x7b35310, Error:CWelsH264SVCEncoder::EncodeFrame(), kiEncoderReturn 3

2022-10-11 08:12:26,939 DEBG 'rqworker_default_1' stderr output:
ERROR:libav.libopenh264:EncodeFrame failed

2022-10-11 08:12:27,716 DEBG 'rqworker_default_1' stderr output:
[2022-10-11 08:12:27,661] ERROR cvat.server.project_1: [cvat.apps.dataset_manager.views @ export]: exception occurred
Traceback (most recent call last):
  File "/opt/venv/lib/python3.8/site-packages/datumaro/plugins/yolo_format/converter.py", line 97, in apply
    self._save_image(item, osp.join(subset_dir, image_name))
  File "/opt/venv/lib/python3.8/site-packages/datumaro/components/converter.py", line 250, in _save_image
    item.media.save(path)
  File "/opt/venv/lib/python3.8/site-packages/datumaro/components/media.py", line 163, in save
    save_image(path, self.data)
  File "/opt/venv/lib/python3.8/site-packages/datumaro/components/media.py", line 104, in data
    data = self._data()
  File "/opt/venv/lib/python3.8/site-packages/datumaro/util/image.py", line 275, in __call__
    image = self._loader(self._path)
  File "/home/django/cvat/apps/dataset_manager/bindings.py", line 1246, in <lambda>
    loader = lambda _: frame_provider.get_frame(i,
  File "/home/django/cvat/apps/engine/frame_provider.py", line 177, in get_frame
    chunk_reader = loader.load(chunk_number)
  File "/home/django/cvat/apps/engine/frame_provider.py", line 83, in load
    self.reader_class([self.get_chunk_path(chunk_id, self.quality, self.db_data)[0]]))
  File "/home/django/cvat/apps/engine/cache.py", line 32, in get_buff_mime
    chunk, tag = self.prepare_chunk_buff(db_data, quality, chunk_number)
  File "/home/django/cvat/apps/engine/cache.py", line 119, in prepare_chunk_buff
    writer.save_as_chunk(images, buff)
  File "/home/django/cvat/apps/engine/media_extractors.py", line 692, in save_as_chunk
    self._encode_images(images, output_container, output_v_stream)
  File "/home/django/cvat/apps/engine/media_extractors.py", line 703, in _encode_images
    for packet in stream.encode(frame):
  File "av/stream.pyx", line 152, in av.stream.Stream.encode
  File "av/codec/context.pyx", line 476, in av.codec.context.CodecContext.encode
  File "av/codec/context.pyx", line 391, in av.codec.context.CodecContext._send_frame_and_recv
  File "av/error.pyx", line 336, in av.error.err_check
av.error.UnknownError: [Errno<PHONE_NUMBER>] Unknown error occurred; last error log: [libopenh264] EncodeFrame failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/django/cvat/apps/dataset_manager/views.py", line 81, in export
    export_fn(db_instance.id, temp_file, dst_format,
  File "/home/django/cvat/apps/dataset_manager/project.py", line 32, in export_project
    project.export(f, exporter, host=server_url, save_images=save_images)
  File "/home/django/cvat/apps/dataset_manager/project.py", line 130, in export
    exporter(dst_file, project_data, **options)
  File "/home/django/cvat/apps/dataset_manager/formats/registry.py", line 37, in __call__
    f_or_cls(*args, **kwargs)
  File "/home/django/cvat/apps/dataset_manager/formats/yolo.py", line 26, in _export
    dataset.export(temp_dir, 'yolo', save_images=save_images)
  File "/opt/venv/lib/python3.8/site-packages/datumaro/util/scope.py", line 158, in wrapped_func
    ret_val = func(*args, **kwargs)
  File "/opt/venv/lib/python3.8/site-packages/datumaro/components/dataset.py", line 1076, in export
    converter.convert(self, save_dir=save_dir, **converter_kwargs)
  File "/opt/venv/lib/python3.8/site-packages/datumaro/components/converter.py", line 132, in convert
    return converter.apply()
  File "/opt/venv/lib/python3.8/site-packages/datumaro/plugins/yolo_format/converter.py", line 110, in apply
    self._report_item_error(e, item_id=(item.id, item.subset))
AttributeError: 'YoloConverter' object has no attribute '_report_item_error'

2022-10-11 08:12:27,716 DEBG 'rqworker_default_1' stderr output:
ERROR:cvat.server.project_1:[cvat.apps.dataset_manager.views @ export]: exception occurred
Traceback (most recent call last):
  File "/opt/venv/lib/python3.8/site-packages/datumaro/plugins/yolo_format/converter.py", line 97, in apply
    self._save_image(item, osp.join(subset_dir, image_name))
  File "/opt/venv/lib/python3.8/site-packages/datumaro/components/converter.py", line 250, in _save_image
    item.media.save(path)
  File "/opt/venv/lib/python3.8/site-packages/datumaro/components/media.py", line 163, in save
    save_image(path, self.data)
  File "/opt/venv/lib/python3.8/site-packages/datumaro/components/media.py", line 104, in data
    data = self._data()
  File "/opt/venv/lib/python3.8/site-packages/datumaro/util/image.py", line 275, in __call__
    image = self._loader(self._path)
  File "/home/django/cvat/apps/dataset_manager/bindings.py", line 1246, in <lambda>
    loader = lambda _: frame_provider.get_frame(i,
  File "/home/django/cvat/apps/engine/frame_provider.py", line 177, in get_frame
    chunk_reader = loader.load(chunk_number)
  File "/home/django/cvat/apps/engine/frame_provider.py", line 83, in load
    self.reader_class([self.get_chunk_path(chunk_id, self.quality, self.db_data)[0]]))
  File "/home/django/cvat/apps/engine/cache.py", line 32, in get_buff_mime
    chunk, tag = self.prepare_chunk_buff(db_data, quality, chunk_number)
  File "/home/django/cvat/apps/engine/cache.py", line 119, in prepare_chunk_buff
    writer.save_as_chunk(images, buff)
  File "/home/django/cvat/apps/engine/media_extractors.py", line 692, in save_as_chunk
    self._encode_images(images, output_container, output_v_stream)
  File "/home/django/cvat/apps/engine/media_extractors.py", line 703, in _encode_images
    for packet in stream.encode(frame):
  File "av/stream.pyx", line 152, in av.stream.Stream.encode
  File "av/codec/context.pyx", line 476, in av.codec.context.CodecContext.encode
  File "av/codec/context.pyx", line 391, in av.codec.context.CodecContext._send_frame_and_recv
  File "av/error.pyx", line 336, in av.error.err_check
av.error.UnknownError: [Errno<PHONE_NUMBER>] Unknown error occurred; last error log: [libopenh264] EncodeFrame failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/django/cvat/apps/dataset_manager/views.py", line 81, in export
    export_fn(db_instance.id, temp_file, dst_format,
  File "/home/django/cvat/apps/dataset_manager/project.py", line 32, in export_project
    project.export(f, exporter, host=server_url, save_images=save_images)
  File "/home/django/cvat/apps/dataset_manager/project.py", line 130, in export
    exporter(dst_file, project_data, **options)
  File "/home/django/cvat/apps/dataset_manager/formats/registry.py", line 37, in __call__
    f_or_cls(*args, **kwargs)
  File "/home/django/cvat/apps/dataset_manager/formats/yolo.py", line 26, in _export
    dataset.export(temp_dir, 'yolo', save_images=save_images)
  File "/opt/venv/lib/python3.8/site-packages/datumaro/util/scope.py", line 158, in wrapped_func
    ret_val = func(*args, **kwargs)
  File "/opt/venv/lib/python3.8/site-packages/datumaro/components/dataset.py", line 1076, in export
    converter.convert(self, save_dir=save_dir, **converter_kwargs)
  File "/opt/venv/lib/python3.8/site-packages/datumaro/components/converter.py", line 132, in convert
    return converter.apply()
  File "/opt/venv/lib/python3.8/site-packages/datumaro/plugins/yolo_format/converter.py", line 110, in apply
    self._report_item_error(e, item_id=(item.id, item.subset))
AttributeError: 'YoloConverter' object has no attribute '_report_item_error'

2022-10-11 08:12:27,718 DEBG 'rqworker_default_1' stderr output:
DEBUG:rq.worker:Handling failed execution of job /api/project/1/annotations/YOLO 1.1

2022-10-11 08:12:27,723 DEBG 'rqworker_default_1' stderr output:
ERROR:rq.worker:Traceback (most recent call last):
  File "/opt/venv/lib/python3.8/site-packages/datumaro/plugins/yolo_format/converter.py", line 97, in apply
    self._save_image(item, osp.join(subset_dir, image_name))
  File "/opt/venv/lib/python3.8/site-packages/datumaro/components/converter.py", line 250, in _save_image
    item.media.save(path)
  File "/opt/venv/lib/python3.8/site-packages/datumaro/components/media.py", line 163, in save
    save_image(path, self.data)
  File "/opt/venv/lib/python3.8/site-packages/datumaro/components/media.py", line 104, in data
    data = self._data()
  File "/opt/venv/lib/python3.8/site-packages/datumaro/util/image.py", line 275, in __call__
    image = self._loader(self._path)
  File "/home/django/cvat/apps/dataset_manager/bindings.py", line 1246, in <lambda>
    loader = lambda _: frame_provider.get_frame(i,
  File "/home/django/cvat/apps/engine/frame_provider.py", line 177, in get_frame
    chunk_reader = loader.load(chunk_number)
  File "/home/django/cvat/apps/engine/frame_provider.py", line 83, in load
    self.reader_class([self.get_chunk_path(chunk_id, self.quality, self.db_data)[0]]))
  File "/home/django/cvat/apps/engine/cache.py", line 32, in get_buff_mime
    chunk, tag = self.prepare_chunk_buff(db_data, quality, chunk_number)
  File "/home/django/cvat/apps/engine/cache.py", line 119, in prepare_chunk_buff
    writer.save_as_chunk(images, buff)
  File "/home/django/cvat/apps/engine/media_extractors.py", line 692, in save_as_chunk
    self._encode_images(images, output_container, output_v_stream)
  File "/home/django/cvat/apps/engine/media_extractors.py", line 703, in _encode_images
    for packet in stream.encode(frame):
  File "av/stream.pyx", line 152, in av.stream.Stream.encode
  File "av/codec/context.pyx", line 476, in av.codec.context.CodecContext.encode
  File "av/codec/context.pyx", line 391, in av.codec.context.CodecContext._send_frame_and_recv
  File "av/error.pyx", line 336, in av.error.err_check
av.error.UnknownError: [Errno<PHONE_NUMBER>] Unknown error occurred; last error log: [libopenh264] EncodeFrame failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/venv/lib/python3.8/site-packages/rq/worker.py", line 936, in perform_job
    rv = job.perform()
  File "/opt/venv/lib/python3.8/site-packages/rq/job.py", line 684, in perform
    self._result = self._execute()
  File "/opt/venv/lib/python3.8/site-packages/rq/job.py", line 690, in _execute
    return self.func(*self.args, **self.kwargs)
  File "/home/django/cvat/apps/dataset_manager/views.py", line 120, in export_project_as_dataset
    return export(dst_format, project_id=project_id, server_url=server_url, save_images=True)
  File "/home/django/cvat/apps/dataset_manager/views.py", line 81, in export
    export_fn(db_instance.id, temp_file, dst_format,
  File "/home/django/cvat/apps/dataset_manager/project.py", line 32, in export_project
    project.export(f, exporter, host=server_url, save_images=save_images)
  File "/home/django/cvat/apps/dataset_manager/project.py", line 130, in export
    exporter(dst_file, project_data, **options)
  File "/home/django/cvat/apps/dataset_manager/formats/registry.py", line 37, in __call__
    f_or_cls(*args, **kwargs)
  File "/home/django/cvat/apps/dataset_manager/formats/yolo.py", line 26, in _export
    dataset.export(temp_dir, 'yolo', save_images=save_images)
  File "/opt/venv/lib/python3.8/site-packages/datumaro/util/scope.py", line 158, in wrapped_func
    ret_val = func(*args, **kwargs)
  File "/opt/venv/lib/python3.8/site-packages/datumaro/components/dataset.py", line 1076, in export
    converter.convert(self, save_dir=save_dir, **converter_kwargs)
  File "/opt/venv/lib/python3.8/site-packages/datumaro/components/converter.py", line 132, in convert
    return converter.apply()
  File "/opt/venv/lib/python3.8/site-packages/datumaro/plugins/yolo_format/converter.py", line 110, in apply
    self._report_item_error(e, item_id=(item.id, item.subset))
AttributeError: 'YoloConverter' object has no attribute '_report_item_error'
Traceback (most recent call last):
  File "/opt/venv/lib/python3.8/site-packages/datumaro/plugins/yolo_format/converter.py", line 97, in apply
    self._save_image(item, osp.join(subset_dir, image_name))
  File "/opt/venv/lib/python3.8/site-packages/datumaro/components/converter.py", line 250, in _save_image
    item.media.save(path)
  File "/opt/venv/lib/python3.8/site-packages/datumaro/components/media.py", line 163, in save
    save_image(path, self.data)
  File "/opt/venv/lib/python3.8/site-packages/datumaro/components/media.py", line 104, in data
    data = self._data()
  File "/opt/venv/lib/python3.8/site-packages/datumaro/util/image.py", line 275, in __call__
    image = self._loader(self._path)
  File "/home/django/cvat/apps/dataset_manager/bindings.py", line 1246, in <lambda>
    loader = lambda _: frame_provider.get_frame(i,
  File "/home/django/cvat/apps/engine/frame_provider.py", line 177, in get_frame
    chunk_reader = loader.load(chunk_number)
  File "/home/django/cvat/apps/engine/frame_provider.py", line 83, in load
    self.reader_class([self.get_chunk_path(chunk_id, self.quality, self.db_data)[0]]))
  File "/home/django/cvat/apps/engine/cache.py", line 32, in get_buff_mime
    chunk, tag = self.prepare_chunk_buff(db_data, quality, chunk_number)
  File "/home/django/cvat/apps/engine/cache.py", line 119, in prepare_chunk_buff
    writer.save_as_chunk(images, buff)
  File "/home/django/cvat/apps/engine/media_extractors.py", line 692, in save_as_chunk
    self._encode_images(images, output_container, output_v_stream)
  File "/home/django/cvat/apps/engine/media_extractors.py", line 703, in _encode_images
    for packet in stream.encode(frame):
  File "av/stream.pyx", line 152, in av.stream.Stream.encode
  File "av/codec/context.pyx", line 476, in av.codec.context.CodecContext.encode
  File "av/codec/context.pyx", line 391, in av.codec.context.CodecContext._send_frame_and_recv
  File "av/error.pyx", line 336, in av.error.err_check
av.error.UnknownError: [Errno<PHONE_NUMBER>] Unknown error occurred; last error log: [libopenh264] EncodeFrame failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/venv/lib/python3.8/site-packages/rq/worker.py", line 936, in perform_job
    rv = job.perform()
  File "/opt/venv/lib/python3.8/site-packages/rq/job.py", line 684, in perform
    self._result = self._execute()
  File "/opt/venv/lib/python3.8/site-packages/rq/job.py", line 690, in _execute
    return self.func(*self.args, **self.kwargs)
  File "/home/django/cvat/apps/dataset_manager/views.py", line 120, in export_project_as_dataset
    return export(dst_format, project_id=project_id, server_url=server_url, save_images=True)
  File "/home/django/cvat/apps/dataset_manager/views.py", line 81, in export
    export_fn(db_instance.id, temp_file, dst_format,
  File "/home/django/cvat/apps/dataset_manager/project.py", line 32, in export_project
    project.export(f, exporter, host=server_url, save_images=save_images)
  File "/home/django/cvat/apps/dataset_manager/project.py", line 130, in export
    exporter(dst_file, project_data, **options)
  File "/home/django/cvat/apps/dataset_manager/formats/registry.py", line 37, in __call__
    f_or_cls(*args, **kwargs)
  File "/home/django/cvat/apps/dataset_manager/formats/yolo.py", line 26, in _export
    dataset.export(temp_dir, 'yolo', save_images=save_images)
  File "/opt/venv/lib/python3.8/site-packages/datumaro/util/scope.py", line 158, in wrapped_func
    ret_val = func(*args, **kwargs)
  File "/opt/venv/lib/python3.8/site-packages/datumaro/components/dataset.py", line 1076, in export
    converter.convert(self, save_dir=save_dir, **converter_kwargs)
  File "/opt/venv/lib/python3.8/site-packages/datumaro/components/converter.py", line 132, in convert
    return converter.apply()
  File "/opt/venv/lib/python3.8/site-packages/datumaro/plugins/yolo_format/converter.py", line 110, in apply
    self._report_item_error(e, item_id=(item.id, item.subset))
AttributeError: 'YoloConverter' object has no attribute '_report_item_error'

2022-10-11 08:12:27,724 DEBG 'rqworker_default_1' stderr output:
DEBUG:rq.worker:Invoking exception handler <function rq_handler at 0x7f6b78a32a60>

2022-10-11 08:12:27,868 DEBG 'rqworker_default_1' stderr output:
DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds.

2022-10-11 08:12:27,868 DEBG 'rqworker_default_1' stderr output:
DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds.

2022-10-11 08:12:27,868 DEBG 'rqworker_default_1' stderr output:
INFO:rq.worker:Cleaning registries for queue: default

2022-10-11 08:12:27,869 DEBG 'rqworker_default_1' stderr output:
DEBUG:rq.worker:*** Listening on default...

2022-10-11 08:12:27,869 DEBG 'rqworker_default_1' stderr output:
DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds.

2022-10-11 08:16:35,567 DEBG 'rqworker_default_0' stderr output:
DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds.

2022-10-11 08:19:12,953 DEBG 'rqworker_default_1' stderr output:
DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds.

2022-10-11 08:23:20,585 DEBG 'rqworker_default_0' stderr output:
DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds.

2022-10-11 08:25:57,996 DEBG 'rqworker_default_1' stderr output:
DEBUG:rq.worker:Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds.

@timmermansjoy , I will close the issue. Please give us enough information to reproduce the issue on our side. Don't hesitate to reopen the issue.

This issue still exist. We can export but all annotation files are empty.

@ozcan-durak , please provide more information how to reproduce the issue. You can create a task on CVAT.ai and share its ID. Thus we can look at the issue and reply.

This issue still exist. We can export but all annotation files are empty.

From what i see, the Yolo 1.1 export only supports bounding box annotations. Perhaps you were using a different shpae and that would be the reason for the blank data.
On the same note, if anybody can tell me how to add yolo v7 format support to CVAT export, i would love to know =]

how I have resolved this issue was using voxel51's fiftyone. After I used the CVAT integration they imported everything except for 2 files that were apparently corrupt, as mentioned on issue #5036.
@ozcan-durak I would recommend using fifty one see if there are any import problems, if so, download the CVAT project as a backup and look at the video files of the ID's that can't be imported, reenconde them with ffmpeg and try if that helps?
also maybe a recommendation for CVAT is to automatically do a reëncode on a file if this one has problems or else just not import them, because there are warnings that some files did not get imported, but they did and that causes confusion

recently i git this repository and i faced the same issue, the files are always empty. Nevertheless, i made a script to get the polygons out of the CVAT format and export it to yolo. if anyone is interested, can get back to me

I am interested. Can you publish it? Thanks a lot for your help !

recently i git this repository and i faced the same issue, the files are always empty. Nevertheless, i made a script to get the polygons out of the CVAT format and export it to yolo. if anyone is interested, can get back to me

I am interested. Can you publish it? Thanks a lot for your help !

i'll publish it this weekend and keep you posted

recently i git this repository and i faced the same issue, the files are always empty. Nevertheless, i made a script to get the polygons out of the CVAT format and export it to yolo. if anyone is interested, can get

Have you published the script? I already checked your GitHub account, but I could not find it. Can you please share the link here?

@NishaVC I would recommend using voxel51 fiftyone cvat integrations. works much better imo


2024-10-15_01-35-19_master-next_python3-botocore

Automatically created.

Successfully created backport PR for kirkstone-next:

#9948

Successfully created backport PR for scarthgap-next:

#9949

Successfully created backport PR for styhead-next:

#9950


BFwf with many grads and laps + Hyperduals

This branch is a super-branch of 3d-2 and 3d. Sorry for messing it up.
This branch is ready for review and it implements a basic BFwf_chain with:

grad w.r.t X and parameter (with Zygote pb and Hyperdual)
laplacian w.r.t. X (with Hyperdual)
gradp laplacian (with Hyperdual + Zygote on gradp)

This should be enough to proceed after some performance fix. @cortner Please review this when you are free.
CC @DexuanZhou

See  ACEsuit/Polynomials4ML.jl#45

I removed the CI of J1.0 due to Julia version constrain by P4ML. I also make sure add the tests are added back to the tests set and everything works fine for now (at least from what I can tell).
TODO:

Remove DenseLayer implementation and use the one in P4ML
benchmarks
there are some import conflicts that I should look into.

Close and reference to #22


use getpass.getuser instead of os.getlogin

os.getlogin apparently doesn't work everywhere (can raise OSError, inappropriate ioctl for device)
and is failing on azure pipelines tests

We need to add a step to the azure pipeline that sets up Git credentials as the tests that are now failing are around creating temporary commits.


Added additional settings.

🎯 Aim
Added a new additional step setting when scaffolding a new project to specify if the node version manager configuration file should be created or not.
📷 Result

✅ What was done

[X] Added a new project additional step to create or not the node version manager configuration file.
[X] Added new VSCode setting createNodeVersionFileDefaultValue to define the default value of the new project additional step.
[X] Added new VSCode setting nodeVersionManagerFile to specify which configuration file to be created.

🔗 Related issue
Closes: #285

Awesome 🤩😍. I will review this ASAP

@GuidoZam I also forgot to mention that we should update the readme part with additional step in scaffolding form to now include this new option as well together with screenshots

Hi @Adam-it, I verified and fixed all your reviews.
The two bugs are resolved:

The first one I think was a different behavior produced by the custom name of the terminal. I've removed that customization and everything's seems to work fine.
About the second bug you were right, it was just a type mistake, updating the package.json type resolved the issue.

I've also updated the README file, have a look and tell me if this way is ok for you. There are some new images and text for the Node version manager support (section 12 of the README).
About the data/sp-dev-fx-samples.json file I didn't update that on purpose, I guess I've missed something while mergin' the branches.
Let me know if there's something else to update (hopefully not 🤞).