[Bug]: LlamaParse - Inconsistent number of documents being produced after parsing with gpt-4o enabled

Bug Description
LlamaParse returns incorrect (and inconsistent) number of pages when trying to parse a PDF with gpt-4o mode on.
There are 11 pages in this sample.pdf. When I run
api_key = xx
openai_api_key = yy
file =  _path_to_file_

parser = LlamaParse(
    api_key=api_key,
    result_type="markdown",
    gpt4o_mode=True,
    gpt4o_api_key=openai_api_key,
    do_not_cache=True,
    invalidate_cache=True,
    split_by_page=True
)

docs = await parser.aload_data(file)

After running this snippet a number of times, the number of documents that is returned ranges between 12-15, unfortunately not 11.
It is equally surprising that the number of documents returned, which is meant to represent each page to my understanding, is not consistent between runs.
versions:
llama-parse = "^0.4.5"
llama-index-core = "^0.10.52.post2"
Version
0.10.52.post2"
Steps to Reproduce
See above description
Relevant Logs/Tracbacks
Started parsing the file under job_id ea188470-7b34-43e3-9354-23c53d729997 - 15 documents returned

Started parsing the file under job_id 14978390-52aa-473d-b104-dc0b68e7340c - 14 documents returned

Started parsing the file under job_id 153dbc8d-7000-4083-9354-da34c583f980 - 13 documents returned

@dychen1 can you open this on llama-parse instead?
https://github.com/run-llama/llama_parse


x/text: "gotext extract" command crash if no messages

What version of Go are you using (go version)?
go1.9.2
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
windows/amd64
What did you do?
Run gotext extract command on a project directory without any messages to extract and no golang.org/x/text/message import.
What did you expect to see?
A blank or error response.
What did you see instead?
A runtime error :
>gotext extract
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x866423]

goroutine 1 [running]:
golang.org/x/text/message/pipeline.(*extracter).seedEndpoints(0xc0421c6000)
        C:/GO-projects/src/golang.org/x/text/message/pipeline/extract.go:100 +0x63
golang.org/x/text/message/pipeline.Extract(0xc0420dc750, 0x1, 0x1, 0x0)
        C:/GO-projects/src/golang.org/x/text/message/pipeline/extract.go:45 +0x5c
main.runExtract(0xd6c4c0, 0xc0420dc750, 0xc042046390, 0x0, 0x0, 0x0, 0x0)
        C:/GO-projects/src/golang.org/x/text/cmd/gotext/extract.go:29 +0x63
main.main()
        C:/GO-projects/src/golang.org/x/text/cmd/gotext/main.go:150 +0x34e

Looks like this started with https://github.com/golang/text/commit/2cb43934f0eece38629746959acc633cba083fe4 "message/pipeline: use ssa and callgraph":
Specifically on this line where there is no check whether Program.Package's returned PackageInfo is nil.

I've also hit this as I'm testing the library. IMO the executable should say that there is no translation strings to extract.
However I'd say that the extract command doesn't work per se.
func (me *LoginFormData) Validate(r *http.Request) error {
	T := context.GetDataFromContext(r.Context()).Trans

	 _= T.Sprint("The email address you entered is not valid")) //TRANS:

	return nil
}

Will also fail with above error.. And I think this will be a common usecase

FWIW I've started to dig deeper into this issue and this is what I found.
I get this error when using vendored dependencies with e.g. dep. The reasons seems to be that the x.iprog.Package("golang.org/x/text/message") in ...
pkg := x.prog.Package(x.iprog.Package("golang.org/x/text/message").Pkg)

... is nil because the x.iprog *ssa.Program will only find the vendored dependency (e.g. github.com/myorg/myproject/vendor/golang.org/x/text/message) but not golang.org/x/text/message.

We are having the same issue with vendored dependencies:
gotext: extract failed: pipeline: golang.org/x/text/message is not imported

Is it there a workaround?

Having the same issue when using a vendor folder. When the vendor folder is removed, it works. I just revendor afterwards for the moment.

@fgm Hello, how to add import _ "golang.org/x/text/message at the top-level import? Can you share some code snippet?

@dragon9783 this little line is the code snippet: just add it at the top-level package of your library/command (the main package if it's a command)/

I still have the same issue, and import _ "golang.org/x/text/message at the top-level import doesn't seem to solve it.

I have solved the issue by running rm -rf vendor/golang.org/x/text command from the root of the project. Of course for things to work, I also needed to have gotext installed. This can be done by running go get golang.org/x/text/cmd/gotext.

I believe the issue could be solved if binaries of text/message are installed in the GOPATH/bin as well


COMP: Restore generation of static runtime library on MSVC

ce2efb1b9eeb439465ab0355a2445091fc2f2e52 broke runtime library setting
due to implicitly using NEW value for CMake policy CMP0091.
This caused dynamic runtime library even if /MT was present in
CMAKE_CXX_FLAGS_RELEASE and friends in CMake cache.
Closes #2571.
We should also merge this into the release. In the longer term, we should switch to specifying run-time library type for MSVC via a variable separate from CMAKE_C/CXX_FLAGS_*. We should probably do it before 5.3 release, as CMP0091 was introduced all the way back in CMake 3.15 and our minimum CMake version is now 3.16.3.

@LiuPeiqi-CNHN and @MrTzschr, does this fix the problem for you?

@LiuPeiqi-CNHN and @MrTzschr, does this fix the problem for you?

It does fix SimonRit/RTK#419, see https://my.cdash.org/build/2029242 vs https://my.cdash.org/build/2029203, thanks a lot!

PythonMedianImageFilterTest (Failed) seems unrelated to this change.
Modules/Filtering/Smoothing/wrapping/test/MedianImageFilterTest.py", line 56
NameError: name 'dtype' is not defined


Kotlin - cannot run a single test

Hi Bazel Intelij Plugin team,
For Java tests, if I click the debug button next to a test method, it will only run that single test method in the entire test class (if I click Edit Configuration it has the bazel flag "--test_filter=<test class name>#<test method name>").
However, for Kotlin tests, when I click debug button next to a test method it will run the entire test suite. If I click Edit Configuration, it shows that "--test_filter=<test class name>". If I manually change configurations to "--test_filter=#<test method name>" (<test method name> would be the kotlin test method name with all space removed), it will only run that single test method as expected. I think this is caused because of plugin not popping up correct Run Configuration for kotlin tests?

Hi @nkoroste , the test method name is in the format of "fun `verify the following test case`()". I noticed that the run configuration is actually --test_filter="my.package.path.<class name>.verify the following test case".
I'm using Intellij 2020.2.4 and Bazel plugin 2<IP_ADDRESS>

See https://discuss.kotlinlang.org/t/kapt-cannot-get-function-with-backtick-name-as-annotated-element/11547/2
I looked a bit deeper into this and it looks like the problem is with the TestAnnotationProcessor - the problem is that KAPT does not seem to collect annotations on methods with spaces in. If you annotate the whole class as follows it will work.
@RunWith(JUnit4::class)
Not sure if this is a bug in KAPT or a limitation in Java AP.

I'm also getting this issue as well in JUnit5 for non-backticked methods.
It seems like when I try to run a single test it returns
--test_filter="my.package.path.<class name>.<method name>"
instead of the expected
--test_filter="my.package.path.<class name>#<method name>"

Do you have any plans to support this ?

@dylanShark We are closing this issue now as it is fixed. Can you please try with latest bazel plugin.


Caret render position not always updated

VSCode Version: Code 1.12.1 (f6868fce3eeb16663840eb82123369dec6077a9b, 2017-05-04T21:18:32.269Z)
OS Version: Darwin x64 16.5.0
Extensions: none

Steps to Reproduce:
Move caret around (clicking to new position seems to increase how often this will happen, though it'll occur when using the arrow keys too).
When caret does not move to the clicked position, use an arrow key and observe that the caret position is rendered relative to where last clicked (even though it did not visually move there).
E.g. occasionally the caret will (after some delay) jump one character left or right of where I click (after manually hitting an arrow key).

This is especially pronounced when switching between editor tabs (with some sections of code folded) - the cursor jumps down to the bottom of the page once you switch back to the first tab.

@soncodi
Please open a separate issue, you might be hitting a different issue around switching editors. Also, please include the vs code version you are on and your OS.
This might be caused by my removal of the dodgy code we had in place in case Chrome drops our animation frame request in a11c6da8f736c61d85107bcf791e86eacbe52e8f. @jrieken since we noticed this on your machine when we first introduced the setTimeout workaround, can you reproduce?

Just for completeness, here's the settings.json file I'm using (just incase user applied colour scheme overrides/cursor blink setting have any bearing on this): https://gist.github.com/aidantwoods/3c70ec7a6ff5047da09696809c5732fb

New issue created in #26251 @alexandrudima

@aidantwoods  Can you still reliably reproduce this ? Does this reproduce when running code --disable-gpu ?

I can no longer reproduce.

VSCode Version: Code 1.16.1 (27492b6bf3acb0775d82d2f87b25a93490673c6d, 2017-09-14T16:24:39.530Z)
OS Version: Darwin x64 16.7.0
Extensions: none


Unable to change particular cleaning history map in HA card

Hi, I added Cleaning History Card to my HA dashboard based on your example from https://github.com/Tasshack/dreame-vacuum/blob/9653866e43a07746ba415a0a56cd7536578d8319/docs/map.md#cleaning-history-card.
It looks fine except for I cannot change particular history map. I am able too see all history maps in pop-up list, but it doesnt matter which one I click - card shows only last current map.

If I display it via /api/camera_history_map_proxy/{entity_id}?token={access_token}&index={history_index}&cruising={is_cruising_history}&info={info_text} it works fine so I assume that problem is inside custom button card code.

Thanks for any help.
Adam.

Beautiful. Work like a charm.
Thank you very much I appreciate it.
Btw. excellent work on this integration. Keep goin' :)
Adam.


Not redirected to correct Screen ( Name & Picture )

https://github.com/user-attachments/assets/9b9d07ab-8c8d-4982-a731-1aaf7c427772

https://github.com/user-attachments/assets/4809cb31-8dfa-420a-95d8-e16ab19defa0

Completed


[Material Top Tabs] The tab bar UI doesn't update when navigate to a tab of the navigator from an external screen

This issue is a duplicate of an issue opened on React Navigation repo, but a contributor suggests me to also post an issue on this repo as react-native-pager-view is a dependency of @react-navigation/material-top-tabs and the issue seems related to react-native-pager-view.
Thanks for your help 🙂
Environment

Platform

[X] Android
[X] iOS
[ ] Web
[ ] Windows
[ ] MacOS

Packages

[ ] @react-navigation/bottom-tabs
[ ] @react-navigation/drawer
[X] @react-navigation/material-top-tabs
[ ] @react-navigation/stack
[ ] @react-navigation/native-stack
[X] react-native-tab-view

✅ I've removed the packages that I don't use

package
version

@react-navigation/native
6.1.18

@react-navigation/bottom-tabs
6.6.1

@react-navigation/material-top-tabs
6.6.14

@react-navigation/native-stack
6.11.0

react-native-safe-area-context
4.10.9

react-native-screens
3.34.0

react-native-tab-view
3.5.2

react-native-pager-view
6.4.0

react-native
0.75.2

node
20.10.0

npm
10.8.1

Description

Current behavior
Context
My application has a bottom bar, managed by @react-navigation/bottom-tabs, which manages two screens:

A Home screen, which includes text and a button
A Video screen, which is a @react-navigation/material-top-tabs that also manages two screens (text only):

In the first position, Shorts
In the second position, Replays

Problem
✅ If I navigate to Replays by tapping on Videos in the bottom tab and then on Replays in the material top tabs, everything works correctly.
🔴 If I navigate to Replays by clicking on the "Go to replays" Home screen button (and whose onPress is navigate(‘Videos’, {screen: ‘Replays’})), it navigates to the replays screen, but the TabBarIndicator isn't in the right position (it stays below Shorts instead of below Replays) and the bold title is Shorts and not Replays. What's more, the bug is random and occurs 1 time out of 2.
Yet, if i tap on Shorts, I navigate to the Shorts screen: I think that the state of the navigation is correctly managed, and that the problem is related to the animation of the material top tab, but maybe I'm wrong 😅.
A video is linked below to help you to better visualise my problem.
I've also realised that if, when I launch my app, I first go to the Videos tab, go back to Home and click on my button, I don't get a bug. The bug only occurs when I click on the Home button without having first clicked on the Videos tab.
What I've tried
I generated a reproducible minimal example, by creating a new React Native app.
The code for my minimal example is available on a Snack linked below.
The bug occurs on iOS on the Snack, but it occurs with both iOS and Android when I use my own simulators. With Snack, I have something weird with Android (touching the "Go to Replays" button goes to Shorts Screens sometimes 😅)
https://github.com/user-attachments/assets/25d40d92-71e9-4d69-a9f1-5ce699becfc0
Expected behavior
When I tap the "Go to Replays" button of the Home Page, the tab bar indicator is under the "Replays" title, and this title is bold.
Reproducible Demo

https://snack.expo.dev/@victorpe/bug-top-tab?platform=ios

@vicprz could you check and confirm, if it is the same issue https://github.com/react-navigation/react-navigation/issues/10932 ?

Thank you for the explanation 🙏

Hi! Do you have any news on this issue?

Hi @draggie @troZee 🙂 Do you have any news on this issue?

i will be looking into that

Thanks 🥳

After running command npx expo run:ios  the problem was fixed for me. I don't have any technical explanation since I'm a total beginner for react native and mobile dev but hope this helps. It takes a build for ios then simulator refreshes itself.
https://github.com/user-attachments/assets/0123409a-77a7-4429-b9a9-b76d606e2cc5

@EmirEsen thanks for your help! I think you didn't follow the good steps to reproduce my problem 😉

At launch, your app should display a screen which didn't have a Material Top Tabs Navigator.
On this screen, you should display a button, which navigate on a screen nested inside a Material Top Tabs Navigator. The screen to which you navigate should not be the first screen of the Material Top Tabs Navigator.
1 times out of 2, if you hit the button of step 1 just after relaunched the app, the TabBarIndicator will not be in the right position.

If you need, there are more details for reproduction in my original issue!


Tutorials on detection inference

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Created a new PR to address these issues https://github.com/awslabs/autogluon/pull/2365. Closing this one.


Not able to connect Dobot

After following the command when I connect I am getting error , " Dobot is disconnected and check if USB cable and power adapter are plugged in"
I request you to help to solve the above erroe

Hi @VijayAnand-Kandaswamy,
please connect Dobot Magician to computer via USB, power it up and then execute lsusb command in terminal. You should see a device named Silicon Labs CP210x UART Bridge.  Which operating system are you using btw?

Thank you for your reply
When i gave lsusb , I didn't get Silicon Labs CP210x UART Bridge
I am using Ubuntu 22.0.4 LTS .
Please see the screenshot for more info..

I followed all the step and I connected the DOBOT with USB and power on, but still its not working , Please let me know what is the mistake ...

I think instead of Silicon Labs CP210x UART Bridge. I am getting  Qinheng Electronics USB single Serial ....as the port connected for DOBOT. Please check the screenshot ....

Hi @VijayAnand-Kandaswamy,
I thoroughly investigated your issue and came across the following forums on the internet:

[SOLVED] Connection between Dobot Magician and Linux - July 2017
Dobot and Robot Operating System - June 2018

Both of them mention the QinHeng Electronics chip. Maybe these chips were mounted in older Dobot models?
I've added a patch (https://github.com/jkaniuka/magician_ros2/commit/3b903ef0bf2db9dc2e1dcf16001dab02e8d36e0c) that should allow you to launch the control system. Let me know if this resolves your problem :wink:

hi @jkaniuka , I'm an associate of @VijayAnand-Kandaswamy
When we tried to communicate with the dobot using cutecom, dobot went into the homing position.
But while using your fix, nothing happened ,same error persists.

hi @jkaniuka , I'm an associate of @VijayAnand-Kandaswamy
Thanks for the solution, now the serial communication is happening but we couldn't install the pyKDL module

Hi @hemachandiran14,
I will verify it tomorrow, but as for now I think that you can ignore installing PyKDL from requirements.txt and just install it using sudo apt install python3-pykdl :wink:

Hi @hemachandiran14 ,
I fixed it in https://github.com/jkaniuka/magician_ros2/commit/761776968aef4bf6c8fd596b3871da49adc87c82. Thanks for reporting this issue :+1:

hi @jkaniuka ,thanks for the response we have installed pyKDL and yet we facing an another problem

Hi @hemachandiran14,
after adding yourself to dialout group please reboot your computer :wink:

I have successfully added to dialout group and have also rebooted. I keep getting the same error "DOBOT magician is not connected"

Just changed the ttyUSB0 to ttyACM0 . worked out finally..!! thanks for all your support


feat: rework schema-form to use new GioJsonSchema Ui component

Issue
https://gravitee.atlassian.net/browse/APIM-2212
Description

Additional context

Gravitee.io Automatic Deployment
🚀 A prerelease version of this package has been published on Gravitee's private artifactory, you can:

use it directly by updating your project with version: 1.4.0-APIM-2364-json-schema-SNAPSHOT
download it from Artifactory here

:tada: This PR is included in version 1.4.0 :tada:
The release is available on:

1.4.0
GitHub release

Your semantic-release bot :package::rocket:


ERROR: NotFoundError - File under path not being found.

I am trying to train a whole model based on the COCO dataset using this scripts provided but reducing the number of classes to only 6.
I run the download_and_preprocess_coco.sh script which downloads the dataset and calls the create_coco_tf_record.py script which creates the TFRecords from the dataset previously downloaded. After that steps (successfully achieved) I try to run the retrain_detection_model.sh as it is described in the tutorial, but modifying the labels .pdtxt file in order to take into account only 6 clases and modifying the pipeline.config file in order to achieve the same (with a v2 net and training the whole model option).
The first error that came out was:
RuntimeError: Did not find any input files matching the glob pattern [u'/tensorflow/models/research/tmp/mscoco/coco_train.record-00001-of-00010']
When I do have a file under: /tensorflow/models/research/tmp/mscoco/ which contains files of the following format:
coco_testdev.record-00000-of-00100
coco_train.record-00024-of-00100
coco_val.record-00001-of-00010

Being the first set of 5 numbers after the record part numbers that go from 00000 to 00099.
So I do have those files that the error reports I do not have, and I have the PATH specified in the pipeline.config file.
I managed to move on a bit by skipping the use of the glob library in the dataset_builder.py script under the route research/object_detection/builders/. It is not working as it should, so by just removing the use of it the script runs a bit ahead, but it still throws and error:
NotFoundError (see above for traceback): /tensorflow/models/research/tmp/mscoco/coco_train.record-00001-of-00010; No such file or directory
         [[node IteratorGetNext (defined at object_detection/model_main.py:105)  = IteratorGetNext[output_shapes=[[128], [128,300,300,3], [128,2], [128,3], [128,100], [128,100,4], [128,100,2], [128,100,2], [128,100], [128,100], [128,100], [128]],
 output_types=[DT_INT32, DT_FLOAT, DT_INT32, DT_INT32, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_INT32, DT_BOOL, DT_FLOAT, DT_INT32], _device="/job:localhost/replica:0/task:0/device:CPU:0"](IteratorV2)]]

I have not figured out how to move on from here.
I paste my pipeline.config file:
model {
  ssd {
    num_classes: 2
    image_resizer {
      fixed_shape_resizer {
        height: 300
        width: 300
      }
    }
    feature_extractor {
      type: "ssd_mobilenet_v2"
      depth_multiplier: 1.0
      min_depth: 16
      conv_hyperparams {
        regularizer {
          l2_regularizer {
            weight: 3.99999989895e-05
          }
        }
        initializer {
          random_normal_initializer {
            mean: 0.0
            stddev: 0.00999999977648
          }
        }
        activation: RELU_6
        batch_norm {
          decay: 0.97000002861
          center: true
          scale: true
          epsilon: 0.0010000000475
        }
      }
      override_base_feature_extractor_hyperparams: true
    }
    box_coder {
      faster_rcnn_box_coder {
        y_scale: 10.0
        x_scale: 10.0
        height_scale: 5.0
        width_scale: 5.0
      }
    }
    matcher {
      argmax_matcher {
        matched_threshold: 0.5
        unmatched_threshold: 0.5
        ignore_thresholds: false
        negatives_lower_than_unmatched: true
        force_match_for_each_row: true
        use_matmul_gather: true
      }
    }
    similarity_calculator {
      iou_similarity {
      }
    }
    box_predictor {
      convolutional_box_predictor {
        conv_hyperparams {
          regularizer {
            l2_regularizer {
              weight: 3.99999989895e-05
            }
          }
          initializer {
            random_normal_initializer {
              mean: 0.0
              stddev: 0.00999999977648
            }
          }
          activation: RELU_6
          batch_norm {
            decay: 0.97000002861
            center: true
            scale: true
            epsilon: 0.0010000000475
          }
        }
        min_depth: 0
        max_depth: 0
        num_layers_before_predictor: 0
        use_dropout: false
        dropout_keep_probability: 0.800000011921
        kernel_size: 1
        box_code_size: 4
        apply_sigmoid_to_scores: false
        class_prediction_bias_init: -4.59999990463
      }
    }
    anchor_generator {
      ssd_anchor_generator {
        num_layers: 6
        min_scale: 0.20000000298
        max_scale: 0.949999988079
        aspect_ratios: 1.0
        aspect_ratios: 2.0
        aspect_ratios: 0.5
        aspect_ratios: 3.0
        aspect_ratios: 0.333299994469
      }
    }
    post_processing {
      batch_non_max_suppression {
        score_threshold: 0.300000011921
        iou_threshold: 0.600000023842
        max_detections_per_class: 100
        max_total_detections: 100
      }
      score_converter: SIGMOID
    }
    normalize_loss_by_num_matches: true
    loss {
      localization_loss {
        weighted_smooth_l1 {
        }
      }
      classification_loss {
        weighted_sigmoid_focal {
          gamma: 2.0
          alpha: 0.75
        }
      }
      classification_weight: 1.0
      localization_weight: 1.0
    }
    encode_background_as_zeros: true
    normalize_loc_loss_by_codesize: true
    inplace_batchnorm_update: true
    freeze_batchnorm: false
  }
}
train_config {
  batch_size: 128
  data_augmentation_options {
    random_horizontal_flip {
    }
  }
  data_augmentation_options {
    ssd_random_crop {
    }
  }
  sync_replicas: true
  optimizer {
    momentum_optimizer {
      learning_rate {
        cosine_decay_learning_rate {
          learning_rate_base: 0.20000000298
          total_steps: 50000
          warmup_learning_rate: 0.0599999986589
          warmup_steps: 2000
        }
      }
      momentum_optimizer_value: 0.899999976158
    }
    use_moving_average: false
  }
  fine_tune_checkpoint: "/tensorflow/models/research/learn_human_car/ckpt/model.ckpt"
  from_detection_checkpoint: true
  load_all_detection_checkpoint_vars: true
  num_steps: 50000
  startup_delay_steps: 0.0
  replicas_to_aggregate: 8
  max_number_of_boxes: 100
  unpad_groundtruth_tensors: false
}
train_input_reader {
  label_map_path: "/tensorflow/models/research/object_detection/data/mscoco_label_map.pbtxt"
  tf_record_input_reader {
    input_path: "/tensorflow/models/research/tmp/mscoco/coco_train.record-00001-of-00010"
  }
}
eval_config {
  num_examples: 8000
  metrics_set: "coco_detection_metrics"
  use_moving_averages: false
}
eval_input_reader {
  label_map_path: "/tensorflow/models/research/object_detection/data/mscoco_label_map.pbtxt"
  shuffle: false
  num_readers: 1
  tf_record_input_reader {
    input_path: "/tensorflow/models/research/tmp/mscoco/coco_val.record-?????-of-00010"
  }
}
graph_rewriter {
  quantization {
    delay: 48000
    weight_bits: 8
    activation_bits: 8
  }
}

@tomruarol
This issue is more suitable for TensorFlow Models repo. Please post it on models repo from here. Thanks!

@ravikyram
Okay, I posted it where you suggested.
Link to the issue: https://github.com/tensorflow/models/issues/7504

I am closing this issue here and we can track this issue in tensorflow/models#7504.  It will help us to follow easily.Thanks!


Adapt to new NegativeLogLikelihood convention.

This changes the examples that use the NegativeLogLikelihood<> class to use labels from 0 to numClasses - 1, instead of 1 to numClasses.
This is a planned change for mlpack 4.0.0, and should be merged in sync with https://github.com/mlpack/mlpack/pull/2534.
(The build will probably fail until mlpack 4.0.0 is merged.)

Okay, once this passes the Travis checks I'll go ahead and merge now that mlpack/mlpack#2534 is merged. :+1:

Okay, once this passes the Travis checks I'll go ahead and merge now that mlpack/mlpack#2534 is merged. :+1:


TranslatorVersion is missing from Library ELM JSON

After generating ELM JSON and ELM XML using CQL-ELM-Translator, Looks like translatorVersion is missing from ELM JSON, but is present in ELM XML.
Example translatorVerison="2.11.0" is available in elm-xml
<annotation translatorVersion="2.11.0" translatorOptions="EnableAnnotations,EnableLocators,EnableResultTypes,EnableDetailedErrors,DisableListDemotion,DisableListPromotion" xsi:type="a:CqlToElmInfo"/>
It is expected that ELM JSON should also contain information related to translated version.
Please advice
MADiE team received an HelpDesk ticket regarding the same BONNIEMAT-1563

Hi @RohitKandimalla!
Have you validated that the the ELM was generated with the EnabledAnnotations flag enabled?

I will verify that and get back to you, Is the EnabledAnnotations specific to ELMJson ?

@JPercival Yes, I verified and ELM is generated using EnabledAnnotations=true

@RohitKandimalla can you please post a snippet of the JSON that does not have the translator version? I'm wondering if this is related to the other JSON ELM serialization issue?

Hi Bryn,
Sorry for the late reply, I was not receiving the notifications.
but Idk how to post a snippet if it is not there,
so here is the comparison b/w XML and JSON of the ELM, Looks like "Annotations" object itself is missing from JSON.
I am also attaching the json
ELM_With_no_version_invormation.txt

This is a snippet provided by user, I am trying to use translator version 2.9.0, but I can't seem to reproduce it.
{
"library" : {
"annotation" : [ {
"translatorVersion" : "2.9.0", ...

I tested this translation locally and was able to get the "translatorVersion" : "3.3.0-SNAPSHOT", added to the JSON. I tried it from the ChlamydiaScreening_Common.cql with the added option "-format JSON" added. The value was provided in the JSON.
Could you guys try it again with the latest version of the translator ?

Tested it on master and it is now rendering the translatorVersion to Json and Xml. Thus it is closed now.


excuse me how do i get mac address in ios > 11

how do i get mac address in ios > 11,help me ,please

You don't. It's a device identifier that Apple doesn't let you access for privacy reasons
https://stackoverflow.com/a/18911557/9910298

You don't. It's a device identifier that Apple doesn't let you access for privacy reasons
https://stackoverflow.com/a/18911557/9910298

thank you ^ ^


example file where read_excel fails but other R packages succeed

tf <- tempfile()

download.file ( "http://www.huduser.org/portal/datasets/usps/ZIP_CBSA_032015.xls" , tf , mode = 'wb' )

gdata_try <- gdata::read.xls( tf , 1 )
# works - fast

xlsx_try <- xlsx::read.xlsx( tf , 1 , endRow = 10 )
# works - slowly

readxl_try <- readxl::read_excel( tf , 1 )
# Error: Unknown format .

that file appears to have been deleted. Any other reproducible examples?

here you go- it looks like the issue is in the extension?
tf <- tempfile()

download.file ( "http://www.huduser.org/portal/datasets/usps/ZIP_CBSA_032015.xlsx" , tf , mode = 'wb' )

readxl_try <- readxl::read_excel( tf , 1 )
# Error: Unknown format .

# how to fix the problem.
file.rename( tf , paste0( tf , ".xlsx" ) )

# works now..  is this behavior desired?
# the error message could at least clarify that the extension *must* be xls or xlsx
# or the function won't even attempt to import it?
readxl_try <- readxl::read_excel( paste0( tf , ".xlsx" ) , 1 )

Hmm. readxl::read_excel("~/Desktop/ZIP_CBSA_032015.xlsx") worked perfectly fine for me.

Yeah, it's because you're not giving it an extension, so this is a duplicate of #85

definitely a duplicate.  thanks!


Proposal: Add Autocomplete component

A generic autocomplete component would be helpful.  Downshift can help us a lot here as it takes care of the accessibility pieces nicely.

Ticket created: CHROM-197


TEVA-1414 Improve database backup and restore scripts

https://dfedigital.atlassian.net/browse/TEVA-1414
Changes in this PR:

Split out actions into more granular scripts
Added workflow to restore an existing backup from S3 to staging or dev
Use custom DFE actions to install CF CLI and Postgres client

Next steps:

[ ] Merge https://github.com/DFE-Digital/github-actions/pull/14 to create custom GH Actions
[ ] Terraform apply S3 IAM permissions to list buckets and download files

Review app deployed to https://teaching-vacancies-review-pr-2729.london.cloudapps.digital

Review app deployed to https://teaching-vacancies-review-pr-2729.london.cloudapps.digital


sets: elfuente-1080p-as: Add different resolution as categories

$TITLE

Tested in vlc12 and main beta


Expressing uncertainty?

Thoughts about how to express uncertainty?  To again use NOAA GEFS as an example, uncertainty is expressed through an ensemble identifier, which in effect acts as an additional dimension, similar to the way forecasting introduces a second time dimension.  Other forecasts may express uncertainty as a mean - variance, other parameterizations, or not express uncertainty at all.  In each case, these would be helpful things to capture in the metadata.  In addition to ensemble id, NOAA also makes available an "ave" series with the average values across the model ensemble.
Along the lines of #2, some forecasters may also serialize this information into individual assets, e.g. as 'band' or additional dimensions in n-d array formats like ncdf.  But all the same it would be nice to have available in metadata.

Sounds reasonable, but do you have a specific proposal in mind? For separate assets we can certainly specify a new role to use, but I'm not sure yet how to specify the other variant(s).

Thanks.  Within https://ecoforecast.org, we use the terms "family" (e.g. normal, lognormal, or 'sample' in the case of an ensemble) and "parameter" to specify which parameter of the distribution (or ensemble number) the particular asset refers to.  So one proposal could be introducing optional terms forecast:family and forecast:parameter, though without a longer description it is not immediately obvious what those refer to.
A more narrow proposal would focus only on ensemble forecasts, e.g. introduce the term forecast:ensemble_id or such, indicating which ensemble member the asset referred to.
Just putting these out there as tentative suggestions, more input is probably needed before settling on the best mechanism.

@cboettig @m-mohr It would be helpful to know what use cases are envisaged for identifying, for example, individual forecast ensemble members.
In my experience of operational practice, individual ensemble members are usually only identified for further processing to produce more useful assets for an end-user. Of course, an expert, or even an AI/ML, may then identify a specific member as 'best' for a certain user.
An end user would probably find a mean, median, quartile, or even percentile figures for the total ensemble more useful.
HTH

Thanks @chris-little .  I agree that end users will often be interested in the summary statistics you mention, and supporting those would be great! As you've also noted, I think there's a growing audience of users & tools that will want to consume ensemble-based forecasts (e.g. this is supported in various user-friendly ML toolkits, like darts).
At the same time, I envision that a STAC metadata standard would be able to describe forecast uncertainty as it is currently represented in the existing assets already produced (not being from the meteorology world, GEFS product is my go-to reference case), which of course are already representing it in ensemble terms.  So it would nice to be able to have a metadata format that is rich enough to support both terms.
One key application of having ensemble based assets properly described in metadata is in supporting downstream tools for probabilistic scoring.  Given a STAC-catalogue of different forecast methods that might try to predict the same thing, what could be more natural than wanting to compare skill scores?  I think the meteorology community is ahead of most others there, but it would be great to see more ML applications go beyond RMSE or quartiles to support strictly proper scores. (I think @aaronspring has some nice examples in climpred).   As you know, having ensemble (or parametric distributions) is necessary here.
For our use cases in ecology,  forecast uncertainty is sometimes better described in terms of parametric distributions (exponential, Poisson, etc). Obviously asymmetric and heavy-tailed distributions are not well represented by the more generic summary statistics.

What I'm doing right now in my implementation (and that's probably not ideal as discussed in #8), but gdalinfo gives me bands for GRIB2 files and for each of the bands I can add statistics to them via the raster extension: https://github.com/stac-extensions/raster#statistics-object

It would be great to revisit @cboettig's proposal for adding support for expressing uncertainty.  There is definite use case because there are many ensemble-based forecasts that can potentially be described using this STAC extension.  We are doing a lot work in the ecological forecasting space with ensemble forecasts.  We are using two options: 1) family and parameter columns or 2) ensemble_id.  The first is for parametric uncertainty where the uncertainty is represented using parameters of a distribution (mu and sigma for normal, rate and shape for gamma, etc.).  The second is for ensemble forecasts (like the NOAA Global Ensemble Forecasting System) but an ensemble forecast can also be represented using the first (family = sample, parameter = sample id number).


🌐 Update Chinese translation for docs/tutorial/schema-extra-example.md

also add translation for new technical detail

It seems this translation was updated at some point, could you please check if there are still changes needed? If so, please create a new PR. For now, I'll close this one. Thank you! ☕


Add better errors for empty-spec.

Closes https://github.com/GoogleCloudPlatform/kubernetes/issues/9012

LGTM, but what about other API types?  This only covers pods, services and replication controllers.  Also, it would be good if we could factor this out generically rather than have so many duplicate pieces of essentially the same code.

cc thockin FYI, as he opened #9343

I discussed this with @thockin today. IIUC, I think it's actually pretty involved as defaults have already been applied in validation. It circled back to the "we shouldn't be converting in clients" discussion.

I think it is more than just not converting in clients. Validation
necessarily happens after defaulting, and we no easy way to tell if spec
was provided or not after we convert from JSON.
We could receive spec as a pointer (in versioned) and not set defaults if
it is nil. Sort of tedious and bound to hit nil-derefs. Worse, I can
plausibly imagine objects with no required spec fields at create time,
meaning a non-provided spec is OK.
Maybe I just wrong, and this is the best error we can do for now.
On Jun 5, 2015 5:53 PM, "Mike Danese"<EMAIL_ADDRESS>wrote:

I discussed this with @thockin https://github.com/thockin today. IIUC,
I think it's actually pretty involved as defaults have already been applied
in validation. It circled back to the "we shouldn't be converting in
clients" discussion.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/9343#issuecomment-109492474
.

Are we still wanting to merge this?  Review seems inconclusive?

@mikedanese @thockin @brendandburns ^^^

I will test this in a live cluster and see if I get a better error message, if not I'll fix this PR.

yeah, I think this is dead.  We might do better at errors, somehow, but I don't think this is the right way.


http2 directive migration

reducing noise in logs
N.B. to reduce the noise for existing hosts you'll have to edit every single host with http2 enabled and simply press save.

See #4075 this is already attempted, though is still WIP which is why I haven't looked at it too deeply

@jc21 sorry i've missed the PR you've mentioned as I've simply tried to fix the issues for myself. Meanwhile I've just checked all the comments left by @vladwing and proud to say that my PR already covered everything mentioned there.

@jc21 you decide which one to accept, but this looks ready to me

Looks good to me

So this warning is fixed in the upcoming version?


FER template description updated

Purpose of this pull request
This pull request is to add the missing description for the FER templates.
Select the type of change

[ ] Minor Changes - Typos, formatting, slight revisions
[x] Update Content - Revisions, updating sections
[ ] New Content - New features, sections, pages, tutorials
[ ] Site and Tools - .clabot, version updates, maintenance, dependencies, new packages for the site (Docusaurus, Gatsby, React, etc.)

Ticket (if applicable)
Update the FER templates with missing info

@JV0812, does this PR need a do-not-merge label?


have the help command show better information like --options

should be able to have a much better help now with the new Cmdr descriptions support

also allow help for just one command and on throttled networks do something sensible (maybe termbin)


Minimal cordova-ios version is a bit too high

I tryed to install
WARN: Install the FCM plugin: 'ionic cordova plugin add cordova-plugin-fcm-with-dependecy-updated'
But on ionic cordova plugin list
cordova-plugin-android-permissions 1.0.2 "Permissions"
cordova-plugin-device 2.0.3 "Device"
cordova-plugin-document-viewer 0.9.13 "SitewaertsDocumentViewer"
cordova-plugin-fcm-with-dependecy-updated 6.4.2 "Cordova FCM Push Plugin"
cordova-plugin-file 6.0.2 "File"
cordova-plugin-file-transfer 1.7.1 "File Transfer"
cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 5.0.0 "cordova-plugin-ionic-webview"
cordova-plugin-splashscreen 5.0.3 "Splashscreen"
cordova-plugin-statusbar 2.4.3 "StatusBar"
cordova-plugin-whitelist 1.3.4 "Whitelist"
cordova-plugin-x-socialsharing 5.6.4 "SocialSharing"
cordova-sqlite-storage 5.0.0 "Cordova sqlite storage plugin - cordova-sqlite-storage plugin version"
es6-promise-plugin 4.2.2 "Promise"
And when i Tryed to install again:
Plugin doesn't support this project's cordova-ios version. cordova-ios: 5.1.0, failed version requirement: >=5.1.1
Is in there.
cordova-ios 5.1.0
Originally posted by @Nogatz in https://github.com/andrehtissot/cordova-plugin-fcm-with-dependecy-updated/issues/92#issuecomment-640572447

Fixed on v6.4.3 (and v7.0.0-beta.2)

I Tryed both but still cant do it work.
Do you have a repository that I can test?
Or I have cocoapods sudo error or Firebase.h file not found.

Just to complement.
And the instalation with cocoapods its a nightmare.
First the sudo problem, later paths problems.
Danm Apple changing the wheels with the car in the road.

I recommend you to try to clone and run https://github.com/andrehtissot/cordova-plugin-fcm-with-dependecy-updated-app-example which, although being pure cordova, it should install with cocoapods easily.

Issue closed due to inactivity.


Support file expiration

We need a way to replace the file content expiration ( scheduler ). We can just add a filed "expiration" to the pathmap table. Once the entry is requested, we check it and remove it if expired ( lazily ).

@ligangty Ok, let's update it then. We don't need to keep the old method. I just push a PR to migrator real quick.


[Feature]: Do not delete last watched episode of a TV series

Describe the feature you'd like added
Would it be possible to add an option to not delete the last watched episode in a TV series?
If you set media cleaner to remove them on Season/Series end, they stay on the disc drive, but if you want to save some space and set the deletion threshold to Episode, if the cleaner removes them it messes up the Next Up queue, removing the series from it.
Additional context
No response

There is actually a long-standing bug in jellyfin/jellyfin#1022
Anyway, I'll look if there is a good way to make that "hack", but no promises.


add InterpretTemplate() to get field names for template records

This allows inspecting templates at the time they arrive. Depending on the included fields, a decision how to handle data records could be done once for a template.

Cool.


Escape for html stopped woking since 5.0.0

Hi! We've been using this js package for while now in order to translate our CI logs and save them as easy to read html logs.
Now, we've always preformatted the text to html ourselves because there are a few caveats we needed to take care of. So we changed the escape_for_html property to true.
However, since v5.0.0, that property is ignored, so if for example you would run:
var ansi = new AnsiUp;
ansi.escape_for_html = false;
ansi.ansi_to_html('hello
')

The result would be:
"hello
"

For now, we are going to regress and use v4.0.4.
Thanks in advance!

Hi @quaark
We had to do this for: https://nvd.nist.gov/vuln/detail/CVE-2021-3377
My recommendation for you is to lock it to v4.0.4 on your end.


Fix parse error of attributes in empty nodes

In empty nodes with no space between the last attribute's end quote and the backslash, the last attribute ends up containing the last quote. E.g. in <node id="n1"/> we get that root["node"][0].attributes["id"] == "n1\"".
I added a simple fix to better handle the baskslashes of empty nodes as well as a test. As seen in 1557971a4e083a9b3b0058e7c621d95ec957a4df, the test fails, while in the following commit 99f85b26c90f40e9d110a762c3ef2d3e63d7ba35, the test now pass.

Thanks for the help. Will add testing in the CI


HDDS-5256. Fix fall back of config in SCM HA Cluster

What changes were proposed in this pull request?
If config is appended with serviceId and nodeId use that, else fall back to config appended without service id and node id. If that is also not defined, fall back to a default value.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-5256
How was this patch tested?
Added UT.

Thank You @bshashikant for the review.


Fix the monitor (or test)

Right now the monitor test is timing out:
  socket.monitor
    ◦ should be able to monitor the socket:

Which makes our tests fail. Would love help @minrk.

I'll try to figure out what's up. I have a vague recollection that this may have been one of the things I fixed here after forking, and I may have un-fixed it when I pulled again from upstream trying to fix the Windows builds.


Rename /developers -> /contributors

To match our [Wechaty Contributor Program(https://wechaty.js.org/docs/contributor-program/) (WCP)
TBD

Done.
All /developers/ link should be renamed to /contributors/


api.idaapi.FlowChart infinite loop

I want to get all basicblocks of all functions, so I use the api.idaapi.FlowChart(func_t) in my code. I find that sometimes it never ends when the binary is a bit large, so I debug it.
I find that when it encounter a basic block including the instruction "jmp func_name", it will continue exploring the function func_name and the situation is also appeared in a single function thunk located at ".plt" section. How can I stop exploring further when it encouter the instruction "jmp func_name" or is there any other ways to get all basicblocks of all functions?

hey @talangcc thanks for reporting this issue.
to make sure i understand the issue, is the problem that:
when computing the control flow graph, the algorithm traverses nodes and does not stop when reaching another function via tail jmp/thunk?
can you provide references to any binaries that show this behavior? this will make it easier to develop a fix.

Sorry, I made a mistake in the title, it should be api.idaapi.FlowChart.
The situation happened when it call a function use jmp instruction like this(0x53c04c):
0x53c04c jmp sub_53a630
and sub_53a630 is a function. When I use the api.idaapi.FlowChart in this function, it will exploring the function sub_56a630, and it seems never end.

gvim.zip

I have a question,is that how can you get func_t by python-idb?? Did you use the function idaapi.get_func(),but when i use it, it has an error ,showed that the api.idaapi.get_func() is wrong.'idaapi' object has no attribute 'get_func'


⚠ ku-s has degraded performance

In 6eede82, ku-s ($KU_API_STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 18989 ms

Resolved: ku-s performance has improved in f5bc8bb after 49 minutes.


Interactive install from command line for Stretch

Current example does auto cancel of install without asking the user if they would like to install needed dependencies.
Also:
curl https://github.com/resin-io/resin-wifi-connect/raw/master/scripts/raspbian-install.sh -sSfL -o raspbian-install.sh && bash ./raspbian-install.sh
would work as well

@treedust thanks for the PR! That deifnitely makes sense. I will check it out and merge it early next week when I get back to some of the WiFi Connect issues.

@treedust I created a new PR - #192, since it is not possible yet to merge contributed PRs with our VersionBot. I checked available options and this one looks best: bash <(curl -L https://github.com/resin-io/resin-wifi-connect/raw/master/scripts/raspbian-install.sh). Thanks again for the contribution! Closing this PR in favor of the new one now.


Unable to refresh token with Spotify and Amazon Music music services

The main authentication with Spotify music service works well but when the token expires, SoCo is not able to refresh it.
With the code in PR #763 is was working as expected but since the merge of PR #883 the refresh doesn't work anymore.
In PR #763, we had this:
                auth_token = exc.detail.find(
                    ".//xmlns:authToken", {"xmlns": self.namespace}
                ).text
                private_key = exc.detail.find(
                    ".//xmlns:privateKey", {"xmlns": self.namespace}
                ).text

In PR #883 we have this:
                auth_token = exc.detail.findtext(".//authToken")
                private_key = exc.detail.findtext(".//privateKey")

If I cherry-pick the code from PR #763 I'm able to get a refresh token with SoCo 0.26.2.

I'd suggest to try the namespace-specific search first, and use the current findtext() method as a backup if the results are empty. Should cover all cases we've seen so far.


Fix JSON file download failure fallback

Follow-up to https://github.com/Homebrew/brew/pull/14491
We want to actually use the old JSON file if we're falling back. Currently, we "fall back" by returning nothing which causes CaskLoader to assume that the API is not a viable option and skipping to loading from taps if they're available. Instead, we want to warn and then use the old version.
I think this will help with the weird cask loading errors we've been seeing. My best theory at the moment is that they happen when the API download fails and then it accidentally falls back to the taps.

I think this will close https://github.com/Homebrew/brew/issues/14483

Review period skipped due to critical label.

This makes sense to me. I've actually been wondering if we could fall back to the cached JSON more often like when the command doesn't require the latest and greatest formulae/cask list. I assume that any commands that wouldn't work correctly with an out-of-date list can't be used with HOMEBREW_INSTALL_FROM_API anyway (like live check for example).

I think this needs tweaked a little as if the second JSON parse fails it won't be caught properly. I'll push t the PR.

I've actually been wondering if we could fall back to the cached JSON more often like when the command doesn't require the latest and greatest formulae/cask list.

Yeh, I think we could avoid checking e.g. more than once a minute for the newest things?


The BMW Connected Drive portal returned an error: UNKNOWN_ERROR (received status code 410 and expected 200).

Describe the issue
Since today, I got an error "The BMW Connected Drive portal returned an error: UNKNOWN_ERROR (received status code 410 and expected 200).". The problem seems to be located in account.update_vehicle_states().
I have a small python script to test my integration... All worked until around noon... Then it started generating errors.
Below you can find the script I am using for testing and the (debug) log. I also included the urllib debug information...
CODE:
    print('\n********* AUTHENTICATION ************************************')
    account =<EMAIL_ADDRESS>'xxxxxxxxxxxx', get_region_from_name('rest_of_world'))

    print('\n********* UPDATE CAR STATUS *********************************')
    account.update_vehicle_states()

    print('Found {} vehicles: {}'.format(
        len(account.vehicles),
        ','.join([v.name for v in account.vehicles])))

    for vehicle in account.vehicles:
        print('VIN: {}'.format(vehicle.vin))
        print('Mileage: {}'.format(vehicle.state.vehicle_status.mileage))
        print('Vehicle properties:')
        print(json.dumps(vehicle.attributes, indent=4))
        print('Vehicle status:')
        print(json.dumps(vehicle.state.vehicle_status.attributes, indent=4))

DEBUG:
********* AUTHENTICATION ************************************
DEBUG:bimmer_connected.account:Getting vehicle list
DEBUG:bimmer_connected.account:Authenticating against GCDM with MyBMW flow.
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): customer.bmwgroup.com:443
DEBUG:urllib3.connectionpool:https://customer.bmwgroup.com:443 "POST /gcdm/oauth/authenticate HTTP/1.1" 200 432
DEBUG:bimmer_connected.account:got authorization challenge -xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*
DEBUG:urllib3.connectionpool:https://customer.bmwgroup.com:443 "POST /gcdm/oauth/authenticate HTTP/1.1" 302 0
DEBUG:bimmer_connected.account:got login code xxxxxxxxxxxxxxxxxxxxxxxx
DEBUG:bimmer_connected.account:getting new oauth token
DEBUG:urllib3.connectionpool:https://customer.bmwgroup.com:443 "POST /gcdm/oauth/token HTTP/1.1" 200 1991
DEBUG:bimmer_connected.account:got new token xxxxxxxxxxxxxxxxxxxxxxxx with expiration date 2021-11-09 21:53:55.089716
DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one.
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): b2vapi.bmwgroup.com:443
DEBUG:urllib3.connectionpool:https://b2vapi.bmwgroup.com:443 "GET /webapi/v1/user/vehicles HTTP/1.1" 200 None

********* UPDATE CAR STATUS *********************************
DEBUG:bimmer_connected.state:requesting new data from connected drive
DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one.
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): b2vapi.bmwgroup.com:443
DEBUG:urllib3.connectionpool:https://b2vapi.bmwgroup.com:443 "GET /webapi/v1/user/vehicles/WBAJF11030CD97578/status?deviceTime=2021-11-09T20%3A53%3A57&dlat=0.0&dlon=0.0 HTTP/1.1" 410 None
DEBUG:bimmer_connected.account:The BMW Connected Drive portal returned an error: UNKNOWN_ERROR (received status code 410 and expected 200).
DEBUG:bimmer_connected.account:<.........>
DEBUG:bimmer_connected.state:Service STATUS failed
DEBUG:bimmer_connected.state:{'STATUS': {}, 'LAST_TRIP': {}, 'ALL_TRIPS': {}, 'CHARGING_PROFILE': {}, 'DESTINATIONS': {}, 'RANGEMAP': {}, 'EFFICIENCY': {}, 'NAVIGATION': {}}
DEBUG:bimmer_connected.state:received new data from connected drive

Expected behavior
Normally the account.update_vehicle_states() should return the information as indicated in the code below. However the vehicle_status is empty with the following error description: DEBUG:bimmer_connected.vehicle_status:No data available for attribute <function VehicleStatus.mileage at 0x7f3d22c305e0>!
        print('VIN: {}'.format(vehicle.vin))
        print('Mileage: {}'.format(vehicle.state.vehicle_status.mileage))
        print('Vehicle properties:')
        print(json.dumps(vehicle.attributes, indent=4))
        print('Vehicle status:')
        print(json.dumps(vehicle.state.vehicle_status.attributes, indent=4))

Which Home Assistant version are you using?
(used outside HA)
What was the last working version of Home Assistant Core?
No response
What is your region?
Rest of world
ConnectedDrive website

[X] I can still successfully login to the BMW ConnectedDrive website and the car status is available there.
[X] I have ConnectedDrive enabled for my vehicle.

Number of cars

[ ] I have 2 or more cars linked to the ConnectedDrive account.
[ ] I have a Mini vehicle linked to my account.

Output of bimmer_connected fingerprint
No response
Anything in the logs that might be useful for us?
See above.

Additional information
No response

+1, you aren't the only one. I was trying to understand what is happening as well, likely BMW changed something on their side.
I'm using HA to get the sensors, in HA many entities started reporting "unknown" state today as you mentioned, I tried to remove and re-add the integration, but many entities kept reporting "unknown" and others just weren't added again at all.

Heloo
same problem, BMW server respond:
########################################
HTTP Status 410 - Gone
type Status report
messageGone
descriptionThe requested resource is no longer available, and no forwarding address is known.
Payara Micro #badassfish
########################################
The server behind this proxy is probably down.   I'll wait 1 week, then I'll look for where to get the data.
The URL for obtaining the SOC battery still works, it also contains the coordinates.
BASE_URLL = 'b2vapi.bmwgroup.com'
url = 'https://' + BASE_URLL + '/api/vehicle/navigation/v1/' + vin
respond:
{'auxPowerEcoPro': 1.0, 'auxPowerEcoProPlus': 1.0, 'auxPowerRegular': 1.0, 'latitude': 48.141177, 'longitude': 15.796112, 'pendingUpdate': False, 'soc': 100.0, 'socmax': 38.76, 'vehicleTracking': True}
Havrla

I also got general vehicle information back, but it is not complete.
Eg. we don't get the vehicle status anymore (vehicle_status) and this includes eg the mileage.
F

wonder if related but when using the official My BMW App, my last refreshed status is yesterday at 5.30PM (UK)

My app (android) shows last updated 10/11/2021 14:47 (that'a 10 November)
so that's not an issue for me.
On Wed, 10 Nov 2021 at 15:17, lolouk44 @.***> wrote:

wonder if related but when using the official My BMW App, my last
refreshed status is yesterday at 5.30PM (UK)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/bimmerconnected/bimmer_connected/issues/325#issuecomment-965372601,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKHZQZAPGPMDSXIO6U5BK4LULKEHFANCNFSM5HWGFBCQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Same for me, my app gives the status update of today.
@lolouk44 : probably there were no changes in the status since yesterday... If the status has not changed, I think the date is not updated...

Heloo same problem, BMW server respond: ######################################## HTTP Status 410 - Gone type Status report messageGone descriptionThe requested resource is no longer available, and no forwarding address is known. Payara Micro #badassfish ########################################
The server behind this proxy is probably down. I'll wait 1 week, then I'll look for where to get the data. The URL for obtaining the SOC battery still works, it also contains the coordinates. BASE_URLL = 'b2vapi.bmwgroup.com' url = 'https://' + BASE_URLL + '/api/vehicle/navigation/v1/' + vin respond: {'auxPowerEcoPro': 1.0, 'auxPowerEcoProPlus': 1.0, 'auxPowerRegular': 1.0, 'latitude': 48.141177, 'longitude': 15.796112, 'pendingUpdate': False, 'soc': 100.0, 'socmax': 38.76, 'vehicleTracking': True}
Havrla

O’hey - I can see you get answer for the ‘socmax’ value on your query 😳 That’s the MOST important value that we can get for an EV, and should ABSOLUTELY be a own entity in HA. Socmax is the exact number for ‘’currently useable battery capacity’’ and is a direct indication for how much energy stored at 100% as well as monitoring of eventual loss in battery capacity over time. Would be VERY nice to have this as an entity in HA…

Please jump over to https://github.com/bimmerconnected/bimmer_connected/discussions/327 to help us with some data contributions on what the My BMW API will return for your vehicle, so we can start migrating.
@obhammer I understand that this is quite important for EVs, however this is part of a legacy-legacy API. I hope socMax is also available in the My BMW API so we have everything in one place. Nevertheless our focus is first on getting the errors out of the picture ;)

I'm having the same issue.  No Vehicle Status output.

Note that https://github.com/TA2k/ioBroker.bmw doesn't have a open login issue. Can anyone confirm that it still works?

Please jump over to #327 to help us with some data contributions on what the My BMW API will return for your vehicle, so we can start migrating.

@rikroe afaiu this issue is about token auth during login and not related to the actual API calls. Are you aware of a different login mechanism as part of My BMW?

iobroker is using the v2 API from the current MyBMW. I think rkroe already adopted this.

Regarding login, iobroker uses auth code exchange:
        client_id: "31c357a0-7a1d-4590-aa99-33b97244d048",
        response_type: "code",
        scope: "openid profile email offline_access smacc vehicle_data perseus dlm svds cesim vsapi remote_services fupo authenticate_user",
        redirect_uri: "com.bmw.connected://oauth",
        state: "cEG9eLAIi6Nv-aaCAniziE_B6FPoobva3qr5gukilYw",
        nonce: "login_nonce",
        username: this.config.username,
        password: this.config.password,
        grant_type: "authorization_code",

while I've sofar (and imho bimmer) used direct login:
	"username":      []string{v.user},
	"password":      []string{v.password},
	"client_id":     []string{"31c357a0-7a1d-4590-aa99-33b97244d048"},
	"redirect_uri":  []string{"com.bmw.connected://oauth"},
	"response_type": []string{"token"},
	"scope":         []string{"authenticate_user vehicle_data remote_services"},
	"nonce":         []string{"login_nonce"},

both against the same endpoint (https://customer.bmwgroup.com/gcdm/oauth/authenticate).
I don't think this difference has anything todo with v2 api changes?

Yes, we have adopted the My BMW login flow already.
It is the actual vehicle status we got from the "old" Connected Drive API that is now broken.
Our problem is now that the new My BMW API returns a different data structure at different endpoints.
That's why we are asking for fingerprints to get an overwiew what features are available. Then we have to adopt our code because basically every attribute was hard codes into the library.

Ahh, sorry for the confusion. Then I got side-tracked and my error is a different topic.

When you mentioned LOGIN
I was surprised that BMW provided the car data to third parties. Watch:
Video mobille app:  https://cloud.itnaklic.cz/itnaklic/index.php/s/5GRwteGft2KmGmo
An application for ordering mobile car charging while you are in the office. The charger operator open/closes the car and charges it.
I'm sorry if I'm behind and you've already registered this news about getting car data. I don't know exactly how it works in the background.
Havrla

He all, I had reported the status issue as a separate error.
What I wanted to point out is, that the finger print function still returns the (sorry, for me) relevant status information in: vehicles_v2_0.txt
So, the information seems to be still accessible, but maybe not via the currently used mechanism ...

@rsteininger I don't think anyone is disputing this. The issue is the API structure has changed. So yes you as a human can spot the data being present, but the current code needs to be updated to pick up the data from the right place, hence the request to provide data in https://github.com/bimmerconnected/bimmer_connected/discussions/327 to help identify what is returned for each car type and where it is in the "stream" ;)

@lolouk44 cool! didn't know! will upload my fingerprint info as well! THANKS

I was surprised that BMW provided the car data to third parties.

Yes, BMW does provide this Car Data API, however there is a price tag on it.

question to the development team: I understand that you want to try and "restore" the previous functionally of the vehicle status.
However, for me, I could actually live with with the output from  "vehicles_v2_0".
One comment, one question:

Is there anything against it to use the fingerprint function "instead" of the state function for my regular calls? In Node Red, it is rather simple for me to extract the relevant information for my car!
if the repeat call of the fingerprint function might cause ... resource (?) issues, would it still be possible to add a new function that simply outputs the "raw" information from the BMW API (e.g. CLI call with bimmerconnected raw   )? Or is that in essence the fingerprint function?

Thanks!

A quick update: Thanks for all your contributions, I was able to start working on it. But please be patient for a while, I'll keep you posted (also with beta versions to try it out).
@rsteininger the "cli" output was an idea however we didn't get to realise it yet. It's still planned!

This is probably the reason for API changes - new version and features for the ‘’My BMW’’ app…

I can confirm that the BMW api returns a 410 for all "interesting" values. For me, that effects EVCC (0.65), IO-Broker (with 2.0.0 BMW Adapter) but not the APP - App is working after update.

Good news! I just created beta releases for both the python library (bimmer_connected==0.8.0b2) and our custom component (20211113.1) that should enable My BMW APIs.
⚠ It is still beta and all tests fail, but you should get some data back into Home Assistant.
Please check the release notes of both carefully and let us know if anything doesn't work. When it is smoothed out a little bit we will create a PR to get it included in HA proper.

I've tried this with a 2020 i3. Vehicle is found, but then:
Traceback (most recent call last):
  File "/Users/andig/htdocs/bimmer_connected/bimmer_connected/cli.py", line 272, in <module>
    main()
  File "/Users/andig/htdocs/bimmer_connected/bimmer_connected/cli.py", line 268, in main
    args.func(args)
  File "/Users/andig/htdocs/bimmer_connected/bimmer_connected/cli.py", line 104, in get_status
    print('Mileage: {}'.format(vehicle.state.vehicle_status.mileage))
AttributeError: 'NoneType' object has no attribute 'vehicle_status'

Thank you.
I get the following issue when I try to get the vehicle status:
Found 1 vehicles: i3s 120
VIN: xxx
Traceback (most recent call last):
  File "/home/pi/.local/bin/bimmerconnected", line 10, in <module>
    sys.exit(main())
  File "/home/pi/.local/lib/python3.7/site-packages/bimmer_connected/cli.py", line 268, in main
    args.func(args)
  File "/home/pi/.local/lib/python3.7/site-packages/bimmer_connected/cli.py", line 104, in get_status
    print('Mileage: {}'.format(vehicle.state.vehicle_status.mileage))
AttributeError: 'NoneType' object has no attribute 'vehicle_status'

Same errors for me... vehicle: 518d

Thanks for the report! The cli issue should be fixed with  bimmer_connected==0.8.0b3/custom component 20211114.1.

i don't think its fixed:
Traceback (most recent call last):
  File "/Users/andig/htdocs/bimmer_connected/bimmer_connected/cli.py", line 281, in <module>
    main()
  File "/Users/andig/htdocs/bimmer_connected/bimmer_connected/cli.py", line 277, in main
    args.func(args)
  File "/Users/andig/htdocs/bimmer_connected/bimmer_connected/cli.py", line 115, in get_status
    print('Mileage: {}'.format(vehicle.state.vehicle_status.mileage))
AttributeError: 'NoneType' object has no attribute 'vehicle_status'

at
commit a4db0f6837cc7696578596e3643e55c5a6090d39 (HEAD -> mybmw, tag: 0.8.0b3, origin/mybmw)
Author: rikroe<EMAIL_ADDRESS>Date:   Sun Nov 14 13:32:38 2021 +0100

    Fix cli output and add JSON-only flag

i don't think its fixed:

Dang, I looking to hard  on --json output and missed it... New version 0.8.0b4 and new custom component are out!

Working now. I'd like to port this to https://github.com/evcc-io/evcc but don't really understand which api call actually does the heavy lifting? Is it /eadrax-vcs/v1/vehicles?apptimezone=60.0&appDateTime=1636900326.277933&tireGuardMode=ENABLED?

Ah, I see. It is https://cocoapi.bmwgroup.com/eadrax-vcs/v1/vehicles?apptimezone=60.0&appDateTime=1636901442.283914&tireGuardMode=ENABLED. The cli output is confusing as it prints this as object {} while of course- in the absence of a vin- this must be a slice [].

heloo
version:  Successfully installed bimmer-connected-<IP_ADDRESS>b4
BMW I3   charging  44%, cable connected
BMW I3 Rex  full  100%, cable connected
CLI fingerprint
charging-sessions_0.txt
charging-sessions_1.txt
charging-statistics_0.txt
charging-statistics_1.txt
vehicles_v2_bmw_0.txt
vehicles_v2_mini_0.txt
CLI status error
Found 2 vehicles: i3,i3 (+ REX)
VIN: WBY1Z21020V607314
Mileage: (69080, 'km')
Vehicle data:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/bimmer_connected/cli.py", line 281, in
main()
File "/usr/local/lib/python3.6/site-packages/bimmer_connected/cli.py", line 277, in main
args.func(args)
File "/usr/local/lib/python3.6/site-packages/bimmer_connected/cli.py", line 117, in get_status
print(to_json(vehicle, indent=4))
File "/usr/local/lib/python3.6/site-packages/bimmer_connected/utils.py", line 37, in to_json
return json.dumps(obj, default=serialize, *args, **kwargs)
File "/usr/lib64/python3.6/json/init.py", line 238, in dumps
**kw).encode(obj)
File "/usr/lib64/python3.6/json/encoder.py", line 201, in encode
chunks = list(chunks)
File "/usr/lib64/python3.6/json/encoder.py", line 438, in _iterencode
yield from _iterencode(o, _current_indent_level)
File "/usr/lib64/python3.6/json/encoder.py", line 430, in _iterencode
yield from _iterencode_dict(o, _current_indent_level)
File "/usr/lib64/python3.6/json/encoder.py", line 404, in _iterencode_dict
yield from chunks
File "/usr/lib64/python3.6/json/encoder.py", line 437, in _iterencode
o = _default(o)
File "/usr/local/lib/python3.6/site-packages/bimmer_connected/utils.py", line 36, in serialize
return getattr(obj, 'to_json',  getattr(obj, 'dict') if hasattr(obj, 'dict') else str(obj))
File "/usr/local/lib/python3.6/site-packages/bimmer_connected/utils.py", line 46, in to_json
return serialize_for_json(self)
File "/usr/local/lib/python3.6/site-packages/bimmer_connected/utils.py", line 21, in serialize_for_json
**{a: getattr(obj, a) for a in get_class_property_names(obj) if a not in excluded + ["to_json"]}
File "/usr/local/lib/python3.6/site-packages/bimmer_connected/utils.py", line 21, in
**{a: getattr(obj, a) for a in get_class_property_names(obj) if a not in excluded + ["to_json"]}
File "/usr/local/lib/python3.6/site-packages/bimmer_connected/vehicle_status.py", line 300, in are_all_cbs_ok
for cbs in self.condition_based_services:
File "/usr/local/lib/python3.6/site-packages/bimmer_connected/vehicle_status.py", line 100, in _func_wrapper
raise ex
File "/usr/local/lib/python3.6/site-packages/bimmer_connected/vehicle_status.py", line 95, in _func_wrapper
return func(self, *args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/bimmer_connected/vehicle_status.py", line 295, in condition_based_services
return [ConditionBasedServiceReport(s) for s in self.properties['serviceRequired']]
File "/usr/local/lib/python3.6/site-packages/bimmer_connected/vehicle_status.py", line 295, in
return [ConditionBasedServiceReport(s) for s in self.properties['serviceRequired']]
File "/usr/local/lib/python3.6/site-packages/bimmer_connected/vehicle_status.py", line 440, in init
self.due_date = VehicleStatus._parse_datetime(cbs_data.get('dateTime'))
File "/usr/local/lib/python3.6/site-packages/bimmer_connected/vehicle_status.py", line 336, in _parse_datetime
raise ValueError("unable to parse '{}' using {}.".format(date_str, date_formats))
ValueError: unable to parse '2023-10-01T00:00:00.000Z' using ['%Y-%m-%dT%H:%M:%S.%f%z', '%Y-%m-%dT%H:%M:%S%z'].
[root@CL-ITNK-BMW ~]#

rikroe:  Hi, please send me your contact, I'll give you access to BMW for faster testing<EMAIL_ADDRESS>

Thanks for the report, it should be fixed with bimmer_connected==0.8.0b5/custom component 20211114.3.
It was an issue with date parsing in Python 3.6 that I didn't check (and currently all our test still break so no testing against multiple python versions yet).

b05 with BMW i3  DC charger 50kW
charging-sessions_0.txt
charging-sessions_1.txt
charging-statistics_0.txt
charging-statistics_1.txt
vehicles_v2_bmw_0.txt
vehicles_v2_mini_0.txt

Hi @rikroe! First of all a big thanks!
Just an suggestion... I am using this library to integrate with Domoticz (not HA).
I want to get regularly updates, but perhaps it is not useful to start the complete authentication phase as long as the token is valid. And I see that this can only be done by using the function _get_vehicles(). Seen the underscore it is normally an internal function however I would suggest to make a public one so that it can be called directly.
Thanks,
Filip

I saw a bug in the list of Windows... In your code you define
WINDOWS = ['windowDriverFront', 'windowPassengerFront', 'windowDriverRear', 'windowPassengerRear', 'rearWindow', 'sunroof']...
While in my fingerprint (I uploaded it earlier also), I got "moonroof" instead of "sunroof".
See extract of the fingerprint below.
Why not reading the list of doors & windows from the API instead of coding them?
If you prefer I am creating another bug report instead of continuing on this one, let me know...
      "doorsAndWindows": {
        "doors": {
          "driverFront": "CLOSED",
          "driverRear": "CLOSED",
          "passengerFront": "CLOSED",
          "passengerRear": "CLOSED"
        },
        "hood": "CLOSED",
        "moonroof": "CLOSED",
        "trunk": "CLOSED",
        "windows": {
          "driverFront": "CLOSED",
          "driverRear": "CLOSED",
          "passengerFront": "CLOSED",
          "passengerRear": "CLOSED"
        }
      },

Thanks for that! The WINDOWS is removed already as I do not need it anymore.
But moonroof is a very good catch, thank you!

The image command is broken:
DEBUG:urllib3.connectionpool:https://cocoapi.bmwgroup.com:443 "GET /eadrax-vcs/v1/vehicles?apptimezone=60.0&appDateTime=1636986839.295627&tireGuardMode=ENABLED HTTP/1.1" 200 2
Traceback (most recent call last):
  File "/Users/andig/htdocs/bimmer_connected/bimmer_connected/cli.py", line 285, in <module>
    main()
  File "/Users/andig/htdocs/bimmer_connected/bimmer_connected/cli.py", line 281, in main
    args.func(args)
  File "/Users/andig/htdocs/bimmer_connected/bimmer_connected/cli.py", line 197, in image
    image_data = vehicle.get_vehicle_image(400, 400, VehicleViewDirection.FRONT)
TypeError: get_vehicle_image() takes 2 positional arguments but 4 were given

Authorization stopped working for me today. I tried it on several versions of the library ('<IP_ADDRESS>b7', '<IP_ADDRESS>b8'). Is it related to this issue or is it a different problem?
CODE:
print('\n********* AUTHENTICATION ************************************')
account = ConnectedDriveAccount(username=LOGIN, password=PASSWORD, region=get_region_from_name('rest_of_world'))

DEBUG:
print('\n********* AUTHENTICATION ************************************')
********* AUTHENTICATION ************************************
DEBUG:Getting vehicle list
DEBUG:Authenticating against GCDM with MyBMW flow.
DEBUG:Starting new HTTPS connection (1): customer.bmwgroup.com:443
DEBUG:https://customer.bmwgroup.com:443 "POST /gcdm/oauth/authenticate HTTP/1.1" 200 432
DEBUG:got authorization challenge xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
DEBUG:https://customer.bmwgroup.com:443 "POST /gcdm/oauth/authenticate HTTP/1.1" 400 304
ERROR:Authentication failed (invalid_request): The request is missing a required parameter, includes an unsupported parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed
Traceback (most recent call last):
  File "C:\Anaconda3\envs\testenv\lib\site-packages\bimmer_connected\account.py", line 174, in _get_oauth_token
    raise ex
  File "C:\Anaconda3\envs\testenv\lib\site-packages\bimmer_connected\account.py", line 128, in _get_oauth_token
    response.raise_for_status()
  File "C:\Anaconda3\envs\testenv\lib\site-packages\requests\models.py", line 941, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://customer.bmwgroup.com/gcdm/oauth/authenticate
python-BaseException

Should work again with <IP_ADDRESS>b9!

<IP_ADDRESS>b9 fixes the login error, but does not find my vehicle:
DEBUG:bimmer_connected.account:Getting vehicle list
DEBUG:bimmer_connected.account:getting new oauth token
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): customer.bmwgroup.com:443
DEBUG:urllib3.connectionpool:https://customer.bmwgroup.com:443 "POST /gcdm/oauth/authenticate HTTP/1.1" 302 0
DEBUG:bimmer_connected.account:got new token g80RJOaMeU6NqkZGbCvcV9Gj91s with expiration date 2021-11-17 23:11:00.325289
DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one.
DEBUG:bimmer_connected.account:Request to: https://cocoapi.bmwgroup.com/eadrax-vcs/v1/vehicles
DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one.
DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one.
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): cocoapi.bmwgroup.com:443
DEBUG:urllib3.connectionpool:https://cocoapi.bmwgroup.com:443 "GET /eadrax-vcs/v1/vehicles?apptimezone=60.0&appDateTime=1637179861.331386&tireGuardMode=ENABLED HTTP/1.1" 200 7065
DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one.
DEBUG:bimmer_connected.account:Request to: https://cocoapi.bmwgroup.com/eadrax-vcs/v1/vehicles
DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one.
DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one.
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): cocoapi.bmwgroup.com:443
DEBUG:urllib3.connectionpool:https://cocoapi.bmwgroup.com:443 "GET /eadrax-vcs/v1/vehicles?apptimezone=60.0&appDateTime=1637179864.016556&tireGuardMode=ENABLED HTTP/1.1" 200 2
DEBUG:bimmer_connected.account:Getting vehicle list
DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one.
DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one.
DEBUG:bimmer_connected.account:Request to: https://cocoapi.bmwgroup.com/eadrax-vcs/v1/vehicles
DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one.
DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one.
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): cocoapi.bmwgroup.com:443
DEBUG:urllib3.connectionpool:https://cocoapi.bmwgroup.com:443 "GET /eadrax-vcs/v1/vehicles?apptimezone=60.0&appDateTime=1637179865.208548&tireGuardMode=ENABLED HTTP/1.1" 200 7065
DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one.
DEBUG:bimmer_connected.account:Request to: https://cocoapi.bmwgroup.com/eadrax-vcs/v1/vehicles
DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one.
DEBUG:bimmer_connected.account:Old token is still valid. Not getting a new one.
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): cocoapi.bmwgroup.com:443
DEBUG:urllib3.connectionpool:https://cocoapi.bmwgroup.com:443 "GET /eadrax-vcs/v1/vehicles?apptimezone=60.0&appDateTime=1637179866.86309&tireGuardMode=ENABLED HTTP/1.1" 200 2
Found 0 vehicles:

MyBMW-App and EVCC is still working.

Hi, I suppose there is a problem with the def get_vehicle(self, vin: str) -> ConnectedDriveVehicle:.
See the small test script and result below.
If I get my car by using the get_vehicle, I got a None back (not found). However when I loop over all the found vehicles, it prints the VIN of my car. Same after an update_vehicle_states(). My car is no longer in the list then because get_vehicle gives also None....
Am I doing sth wrong? Or is there a problem with the lookup?
    print('\n********* AUTHENTICATION ************************************')
    account = ConnectedDriveAccount('xxx, 'xxx', get_region_from_name('rest_of_world'))
    print('Found {} vehicles: {}'.format(
        len(account.vehicles),
        ','.join([v.name for v in account.vehicles])))

    print('\n********* TRY TO FIND MY CARE BASED ON VIN ******************')
    v = account.get_vehicle('XXX')
    if v:
        print('Mileage: {}'.format(v.status.mileage[0]))
    else:
        print('VIN XXX not found!')

    print('\n********* UPDATE CAR STATUS *********************************')
    for vehicle in account.vehicles:
        print('VIN: {}'.format(vehicle.vin))
        print('Brand: {}'.format(vehicle.brand))
        print('Mileage: {}'.format(vehicle.status.mileage))

Gives the following result:
********* AUTHENTICATION ************************************
Found 1 vehicles: 518d

********* TRY TO FIND MY CARE BASED ON VIN ******************
Mileage: 21515

********* UPDATE CAR STATUS *********************************
VIN: XXX
Brand: bmw
Mileage: (21515, 'km')

********* ENTERING LOOP FOR STATUS UPDATES ******************
VIN XXX not found!

@FilipDem you are right, I just saw it myself while implementing the BMW app login flow. It should be fixed with 0.8.0b10.

It is working again - thanks for fixing problems so quick 👍

Just updated and everything is working as usual.
Thanks to @rikroe and all other contributors. Great work.
It was obviously a tricky one ;-)

@rikroe - don’t know if you are aware of this, but the sensor.xxx.charging.time.remaining seem to be miscalculated. This log is taken from a charging session that lasted approx 1 hour, came out like this:


if condition

I am testing the rule type.
If there is a matching rule, I want to change the color of the alarm. What can I do?
--example--
if monitor.status == up
   slack_msg_color: green
else if monitor.status == down
   slack_msg_color: red

We also recommend asking questions on the Gitter channel
https://gitter.im/Yelp/elastalert

Yelp/elastalert is no longer maintained. Please use jertel elastalert. Questions to the discussion below
https://github.com/jertel/elastalert/discussions


added module css for frequently used components to remove conflicts

issue #205
i have used module css to remove the css conflicts on most used pages

@Yashgabani845 kindly merge this PR first , if it is okay , because it will create merge conflicts as you merge any other PR before it

@Sawan-Kushwah share latest view working video of most off the pages

@Yashgabani845 everything working fine as before !!
https://github.com/user-attachments/assets/5f18bbcb-f8e4-432b-a573-c243aea8df7e


Fix display of button and popover in image wizard custom packages step

Description
This PR fixes the display of the Custom packages step while creating or updating an image.
Fixes # (issue)
Type of change
What is it?

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Documentation update
[ ] Tests update

Checklist:

[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] I run npm run lint:js:fix to check that my code is properly formatted

Codecov Report
Base: 30.62% // Head: 30.61% // Decreases project coverage by -0.01% :warning:

Coverage data is based on head (7b9d702) compared to base (0d295f2).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #594      +/-   ##
==========================================
- Coverage   30.62%   30.61%   -0.02%
==========================================
  Files         125      125
  Lines        2723     2724       +1
  Branches      846      847       +1
==========================================
  Hits          834      834
- Misses       1727     1728       +1
  Partials      162      162

Impacted Files
Coverage Δ

src/Routes/ImageManager/steps/customPackage.js
0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Passing parameters to Pachyderm pipelines example

Lots of users ask about this.  What is the best way to pass in parameters?  Should I have a repo just for parameters?  How do I distribute parameters throughout the pipeline?

I think a Repo for parameters makes the most sense. In my mind parameters are just a different kind of data that pipelines might want to consume so putting it in its own repo makes a lot of sense. Putting it in the same repo as other data would be kind of weird because you might wind up with a pod that only sees parameters which doesn't sound particularly useful.

I'm going to close this for now.  I think that it's low priority and can already be deduced in many places.


REJECTED_ROBOTS_META_NOINDEX

Trying to crawl http://mon.gov.pl/ site, I get the messages:
MC (crawler): 2015-06-01 18:05:09 INFO -              CRAWLER_STARTED
MC (crawler): 2015-06-01 18:05:09 INFO - MC (crawler): Crawling references...
MC (crawler): 2015-06-01 18:05:10 INFO -             DOCUMENT_FETCHED: http://mon.gov.pl/
MC (crawler): 2015-06-01 18:05:10 INFO -          CREATED_ROBOTS_META: http://mon.gov.pl/
MC (crawler): 2015-06-01 18:05:10 INFO - REJECTED_ROBOTS_META_NOINDEX: http://mon.gov.pl/
MC (crawler): 2015-06-01 18:05:10 INFO -              REJECTED_IMPORT: http://mon.gov.pl/

Is there a way of having the site crawled?

Have you tried <robotsTxt ignore="true" />     <robotsMeta ignore="true" /> ?

I am assuming @OkkeKlein solution did it for you.  If not please create a new issue.


Build a human like agent in mujoco via skin or mesh

Hi, I'm new in mujoco community, it is so cool!
And I'm trying to use MuJoCo to build a human like body for simulation, just like this paper does in Isaac Gym:

https://xbpeng.github.io/projects/ASE/index.html
I noticed that they use a humanoid body modeled in xml format, and then add a wonderful visualization, but it still simulates in simple humanoid in essential which corresponds to skin mechanism in mujoco. So, I am trying to do the same thing in mujoco.
Basically, I am trying to use the simple humanoid xml files as same as paper above and additional 3D skins with textures to do it.
I have tried to utilize your example in https://github.com/deepmind/dm_control/blob/main/dm_control/suite/dog.xml, but details of it are omitted.
Here are the questions which I am faced with:

I only have .obj mesh files, and I don't know how to transform it into .skn format automatically. I think it's hard to describe all vertexes manually and I don't really understand how to bind the skins (suppose that I have them) with humanoid bones.
Should I do it via skins? If you find I am in a wrong direction, please tell me the better solution!

I am working with Python bindings of mujoco-2.3.0 and Ubuntu 20.04.
Here is the humanoid xml file: https://github.com/nv-tlabs/ASE/blob/main/ase/data/assets/mjcf/amp_humanoid.xml
It is appreciated if you can give any advice.

Yes, you should use skins.
Check out #128 for details.

Yes, you should use skins.
Check out #128 for details.
@yuvaltassa
Thank you for replying!
Before I open this issue, I have checkout that.
What I still do not understand is how to determine the  bind_postion, vertex_index and vertex_weight. I write a python script to show the data in your dog_skin.skn file, but I can't find the law in these data, and I don't know how to determine thousands positions and weights. Are there any tools or methodology to solve this problem? Please give me some advice, thanks.
The data in your dog_skin.skn file is just like that:

which I don't know how to generate.

here is an example, it's the script that generates the vertex weights for the dog. (under "make skin")


7.15 update

version bump included

(I'm now using it for ItemSearchPlugin so if you agree with me adopting your plugin, I'll gladly do so since it'll be part of my patch routine update from now on)

Do you want me to fork it or transfer ownership?
Update it on D17? I'm interested yes


added embeddings/gen example

Looks like the example won't run on Windows due to ImportError: DLL load failed while importing onnx_cpp2py_export: A dynamic link library (DLL) initialization routine failed.. You'll need to poke around in unstructured to see what version of onnx they are using and whether or not it can be downgraded/pinned to fix the issue. This issue is likely the cause.

@tibor-mach is this one done? any progress on it? what are the blockers?

@tibor-mach is this one done? any progress on it? what are the blockers?

The new example needs parameterized as it takes > 1hr to run on Windows.


new verstion can not build

✓ 163 modules transformed.
x Build failed in 6.10s
error during build:
[vite]: Rollup failed to resolve import "lowlight" from "E:/Project/Openui/src/lib/components/common/RichTextInput.svelte".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
build.rollupOptions.external
at viteWarn (file:///E:/Project/Openui/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:65589:17)
at onRollupWarning (file:///E:/Project/Openui/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:65621:5)
at onwarn (file:///E:/Project/Openui/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:65284:7)
at file:///E:/Project/Openui/node_modules/rollup/dist/es/shared/node-entry.js:19475:13
at Object.logger [as onLog] (file:///E:/Project/Openui/node_modules/rollup/dist/es/shared/node-entry.js:21201:9)
at ModuleLoader.handleInvalidResolvedId (file:///E:/Project/Openui/node_modules/rollup/dist/es/shared/node-entry.js:20090:26)
at file:///E:/Project/Openui/node_modules/rollup/dist/es/shared/node-entry.js:20048:26
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Check for duplicates first.


High Level Example connecting to Power BI Premium

Greetings,
I am a novice C# programmer so please excuse my ignorance here... I am trying to get started using the TomWrapper in my project. I pulled it in as a reference and have it available but I can't see anywhere how to make my basic connection to my model up in Power BI Premium. I have gone through the code snippet examples and they make sense but I am not seeing where to make the basic connection.
For example with Analysis Services without the TomWrapper:
string workspaceConnection = "powerbi://api.powerbi.com/v1.0/myorg/[myworkspace]";
string connectString = $"DataSource={workspaceConnection};";
Server server = new Server();
server.Connect(connectString);
// enumerate through datasets in workspace to display thier names
foreach (Microsoft.AnalysisServices.Tabular.Database database in server.Databases)
{
Console.WriteLine("Database Found: " + database.Name);
Microsoft.AnalysisServices.Tabular.Model m = database.Model;
}
The above works, what is the equivalent for TomWrapper?
thank you!

It's as simple as passing the connection string and the ID of the database (in PBI this is a GUID) to the TabularModelHandler constructor:
var workspaceConnection = "powerbi://api.powerbi.com/v1.0/myorg/[myworkspace]";
var databaseId = "xxxxxx-xxxx-xxxx-xxxxxx";
var handler = new TabularModelHandler(workspaceConnection, databaseId);
var model = handler.Model;

The model variable in this example is now a reference to the same type of Model class that you can access through Tabular Editor's scripting.

Thank you so much. I have a program that uses the REST APIs in Power BI to automate deployment for CI/CD and the missing piece of the puzzle was getting translations loaded after datasets are deployed. Your code library and hint above helped me complete it. I love the Tabular Editor.


LESSONS REVIEW TICKET

Mani Taleban
Grades Table
Vocab

Not my favorite vocab as code and definitions are not connected.   Looking at your blog seems like many things are out of date, I expect this to be managed and used through the year.  Incomplete on scores...


netfx support ?

It seems targeting netfx (net472/net48 or netstandard2.0) would be doable without change.
That would no exclude previous framworks from working

netstandard2.0 is the current targeted framework:
https://github.com/d-edge/Diffract/blob/be296cd35d79d76f15c71d5aa445a7392c11e94b/src/Diffract/Diffract.fsproj#L4
@thinkbeforecoding Can we close this issue?

Yes, perfect 👍


updated model associations methods to reflect sequelize v6 model

This updates associations methods signature to reflect sequelize v6 updates and how model is defined. Currently only for compliance with less-strict typings.

[x] Build OK
[x] Tests OK

It doesn't change how to use the methods... It's just remnants of V5 model definition and how mode was initialized. Your model itself is not passed to base model anymore.
User extends Model<User> -> User extends Model

It doesn't change how to use the methods... It's just remnants of V5 model definition and how mode was initialized. Your model itself is not passed to base model anymore.
User extends Model<User> -> User extends Model


buildx and simplified jenkins

This is an udpated version for our CI pipeline. Still need some cleanup in docs and removing build.shfiles , but since it already builds all artifacts (and more)  than the old one, putting a PR.
Changes

buildx for building this has several advantages:

We can get rid of the build.shscripts that did the Qemu injection for corss compiling, as this is done behind the scenes
it is much easier to add support for other arhcitectures later
can compile natively instead of Qemu, this isn't hard coded in Jenkinsfile, but depends on the setup of docker on the build machine. Already tested for arm64 via Pi 4 and a Amazon Graviton 2 instance

getting rid of the "outer" docker, as it didn't do anything. The idea was, to provide a repeatable  "custom" build environment from scratch, however as all our builds are via docker anyway, not much customisation required, so we can remove one layer.
also building vss-testclient as container image
parallel building of amd64 and arm64

Build is running, check here: https://kuksaval.northeurope.cloudapp.azure.com/job/kuksaval-boschresearch/job/feature%252Fbuildx-and-simplified-jenkins/
(for security reasons PR is build with old Jenkinsfile, that is not working, after merge, new one will be used)


CoreText: missing support for text alignment

The CoreText implementation seems to be missing support for text alignment specified via a CTTextAlignment setting in CTParagraphStyle. For example, setting the alignment to kCTCenterTextAlignment will still draw a multi-line text left-aligned.
Following is an example drawing method that shows this behavior.
- (void)drawRect:(CGRect)dirtyRect
{
	NSString *text = @"Multi\nline\nstring";
	UIFont *font = [UIFont systemFontOfSize:20];
	UIColor *color = [UIColor blueColor];

	CGContextRef context = UIGraphicsGetCurrentContext();
	CGContextTranslateCTM(context, 0.0f, self.bounds.size.height);
	CGContextScaleCTM(context, 1.0f, -1.0f);

	CGMutablePathRef path = CGPathCreateMutable();
	CGPathAddRect(path, NULL, self.bounds);

	CTTextAlignment alignment = kCTCenterTextAlignment;
	CTParagraphStyleSetting setting;
	setting.spec = kCTParagraphStyleSpecifierAlignment;
	setting.valueSize = sizeof(CTTextAlignment);
	setting.value = &alignment;
	CTParagraphStyleRef paragraphStyle = CTParagraphStyleCreate(&setting, 1);

	CTFontRef myCFFont = CTFontCreateWithName((__bridge CFStringRef)[font fontName], [font pointSize], NULL);
	NSDictionary *attributesDict = [NSDictionary dictionaryWithObjectsAndKeys:
									(__bridge id)myCFFont, (id)kCTFontAttributeName,
									color.CGColor, (id)kCTForegroundColorAttributeName,
									(id)paragraphStyle, (id)kCTParagraphStyleAttributeName, nil];

	CFAttributedStringRef attrString = CFAttributedStringCreate(kCFAllocatorDefault, (__bridge CFStringRef)text, (__bridge CFDictionaryRef)attributesDict);

	CTFramesetterRef framesetter = CTFramesetterCreateWithAttributedString(attrString);
	CFRelease(attrString);

	CTFrameRef frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, 0), path, NULL);
	CTFrameDraw(frame, context);
}

https://github.com/Microsoft/WinObjC/blob/d9578b016df6cfc3822ff409904b69544a2a6ec6/Frameworks/CoreText/CTFramesetter.mm#L28
This does not look at layout paragraph styling (line height, etc) specified in the paragraph style.  It may be trivial to support only the three alignments (getting to the natural alignment given our current code would also be challenging).  Our plan with CoreText is to migrate to using DWrite for layout, although paragraph layout is not part of DWrite.


New Component - ImportError: No module named click (IDFGH-4438)

Hello!
Mac OS + VSCode (ESP-IDF plugin)
I want to create a new component and write in the command line "idf.py -C components create-component wifi".
But I am getting ImportError: No module named click.

Try to create a terminal using Open ESP-IDF Terminal command, which loads the extension settings into the terminal. If you just open a terminal, our extension settings are not included in the environment variables.

poe@MBP-Oleg SOI-WiFi-General % printenv PATH
/Users/poe/esp/esp-idf/tools:/Library/Frameworks/Python.framework/Versions/3.9/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/poe/esp/esp-idf/tools:/Library/Frameworks/Python.framework/Versions/3.9/bin
poe@MBP-Oleg SOI-WiFi-General % printenv IDF_PATH
/Users/poe/esp/esp-idf
poe@MBP-Oleg SOI-WiFi-General % idf.py -C components create-component wifi
Traceback (most recent call last):
  File "/Users/poe/esp/esp-idf/tools/idf.py", line 45, in <module>
    from idf_py_actions.tools import (executable_exists, idf_version, merge_action_lists, realpath)  # noqa: E402
  File "/Users/poe/esp/esp-idf/tools/idf_py_actions/tools.py", line 1, in <module>
    import click
ImportError: No module named click
poe@MBP-Oleg SOI-WiFi-General %

Paths to esp-idf are set globally.

the thing is, you are calling idf.py without specifying python interpreter. When you installed ESP-IDF and executed $IDF_PATH/install.sh a virtual environment python is created where all ESP-IDF dependencies are created. Are you using this python as your global python interpreter ? Based on your PATH, I assume you are using system level python which doesn't have the required python packages.
Ways to fix
A) Run $IDF_PATH/export.sh (assuming you already did $IDF_PATH/install.sh to install ESP-IDF tools and virtual environment)  on your terminal then run your idf.py command. (You can check changes in env variables)
B) Configure the extension using ESP-IDF: Configure ESP-IDF extension and launch a terminal with ESP-IDF: Open ESP-IDF Terminal (this basically run export.sh before you are able to type any terminal command)

I installed both esp-idf-v4.3 and esp-idf-v3.3.5 on Ubuntu 20.04, esp-idf-v4.3 used well, I can ran "idf.py menuconfig", while, since I want to use esp-adf, so I need to use esp-idf-v3.3.5, I have ran "./install.sh" and ". ./export.sh" under esp-idf-v3.3.5, but, when I ran "idf.py menuconfig", it was prompted:"ImportError: No module named click", I found in the prompt(https://ibb.co/Ht4MQDT), it searched tolls in v4.3 directory, how can I change it to v3.3.5?

you just run ./install.sh and run . . /export.sh ,its worked for me and make sure the which idf.py and printenv IDF_PATH these two commands should be give output, and check python should be have.

and i am trying to do Automation with Jenkins, how we doing like compiling the code manually, so do u have any idea how to do this, because i am getting error idf.py not found in the jenkins console output