Unexpected error fetching Iec data

System Health details
System Information

version
core-2024.7.4

installation_type
Home Assistant Container

dev
false

hassio
false

docker
true

user
root

virtualenv
false

python_version
3.12.4

os_name
Linux

os_version
6.1.0-26-amd64

arch
x86_64

timezone
Asia/Jerusalem

config_dir
/config

Home Assistant Community Store

GitHub API
ok

GitHub Content
ok

GitHub Web
ok

GitHub API Calls Remaining
4767

Installed Version
1.34.0

Stage
running

Available Repositories
1455

Downloaded Repositories
31

Home Assistant Cloud

logged_in
false

can_reach_cert_server
ok

can_reach_cloud_auth
ok

can_reach_cloud
ok

Dashboards

dashboards
9

resources
17

views
11

mode
storage

Recorder

oldest_recorder_run
October 15, 2024 at 5:58 AM

current_recorder_run
October 25, 2024 at 8:40 PM

estimated_db_size
425.27 MiB

database_engine
sqlite

database_version
3.45.3

Checklist

[X] I have enabled debug logging for my installation.
[X] I have filled out the issue template to the best of my ability.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[X] This issue is not a duplicate issue of any previous issues..

Describe the issue
Error of Failed to setup.
Error log:
This error originated from a custom integration.

Logger: custom_components.iec.coordinator
Source: helpers/update_coordinator.py:312
integration: Israel Electric Corporation (IEC) (documentation, issues)
First occurred: 8:40:56 PM (32 occurrences)
Last logged: 9:24:24 PM

Unexpected error fetching Iec data
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 312, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/iec/coordinator.py", line 547, in _async_update_data
    if not future_consumption[device.device_number].future_consumption:
           ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
KeyError: '23418759'

Reproduction steps
No idea, it used to work and now it stopped.
Debug logs
2024-10-25 20:40:45.175 INFO (MainThread) [homeassistant.setup] Setting up iec
2024-10-25 20:40:45.175 INFO (MainThread) [homeassistant.setup] Setup of domain iec took 0.00 seconds
2024-10-25 20:40:45.176 DEBUG (MainThread) [custom_components.iec.coordinator] Loading API token from config entry
2024-10-25 20:40:45.177 DEBUG (MainThread) [iec_api.iec_client] jwt.py token expired, refreshing token
2024-10-25 20:40:45.177 DEBUG (MainThread) [iec_api.commons] HTTP POST: https://iec-ext.okta.com/oauth2/default/v1/token

Diagnostics dump
No response

It looks like your device number is wrong.
Did they change somehow your meter or so?

Hi Guy,
Yes, they've changed it to a smart meter a few days ago.
Maybe try to do a fresh re-install?

Tried to re-install, did not help.
Any ideas?

@Voklaif
A) Verify that everything works ok in iec.co.il
B) I'm adding additional fallback in the code. Try it with the next version

@GuyKh
A) In the IEC website, the last meter read is 0 (because it's new), so maybe it was not refreshed yet. I will wait for it to show a number different than zero and will check back with the integration.
B) Same issue with version 0.0.37.

Oh...

It looks like your device number is wrong. Did they change somehow your meter or so?

I suspected that...
Could you paste the logs (in debug mode) of the response from 'devices' call?
Either way, wait for a few weeks till you see more data from IEC and retry


Moved HeadsetAdjustment into HoloToolkit.Unity namespace

Added class to HoloToolkit.Unity namespace and organized methods.
Enable scene object reference in editor.

@vbandi, any chance you could look this over?

Thanks for the enhancements!


Allow additional (non-chef) nodes to be specified.

The README and commit messages are pretty explanatory, if you have any questions let me know.

FWIW node['munin']['server_list'] already does this

This is very useful! Would be great to get this in the main fork.
Note that, contrary to the comment above, this does not do the same thing as `node['munin']['server_list'] — that option is for munin-client and specifies what servers are allowed to connect.
This pull request allows you to tell a munin-server to fetch information from other nodes besides those existing in your chef recipe. For example, I have one server I use as a munin server for all my other servers/clusters, rather than setting up a munin server for each separate app; for that server I have to give it a list of nodes.
It's probably clear from the Readme, but here's how nodes are specified:
"nodes": [
      {"fqdn": "myapp-name", "ipaddress": "<IP_ADDRESS>"},
      {"fqdn": "anotherapp-name", "ipaddress": "<IP_ADDRESS>"},
]


Include another Node prop into transaction event

Guidelines
Include another node prop into Transaction event
Feature description (Mandatory)
I have setup my Neo4j using Neo4j Streams plugin to send the event when created/updated/deleted the node to kafka topic
streams.source.topic.nodes.neo4j.pmn-transaction-goal=Goal{*}

As (:Goal)-[:HAS_RELATIONSHIP]->(:AnotherNode), i want to get :AnotherNode.id prop and include into the transaction event when updating Goal node information. How should I change the configuration above to make it works?
Considered alternatives
How this feature can improve the project?
Currently, the workaround I'm using is to add :AnotherNode.id as a prop in Goal node. But it's not ideal as it always requires to add the foreignID into the node. That's redundant and hard to maintain.

@Tin-Nguyen you can't do that the streams producer is meant to publish transaction events, if  (:AnotherNode) is not included into the transaction you can't get it.
You can try to implement you own business logic by combining APOC triggers and streams.produce procedure:
https://neo4j.com/docs/labs/apoc/current/background-operations/triggers/


Nemo embeddings for issue #16095

This PR is adding support for NVIDIA NeMo embeddings issue #16095.

@baskaryan Could you please review the code changes?

@baskaryan

I resolved the merge conflict. I had to move the embeddings to langchain_community.
I added the documentation at docs/docs/integrations/text_embedding/nemo.ipnb
Could you please review these? Thanks.

@baskaryan  Thank you. I did not fully understand but now I do. I made the appropriate changes. could you please check.

@baskaryan Can you please advise on how to fix these failing CI/CD checks? Thanks.


Add bump-my-version config file

Resolves #58
Adds the .bumpversion.toml config file, and instructions on how to use bump-my-version in a new README.dev.md file.

@OleMussmann Friendly reminder to have a quick look at this PR 🙂

This is a great quality-of-life improvement. Looks good so far, I will still need to test it later. Maybe we can try to add the changelog to the files being changed as well? I'm not sure how flexible bump-by-version is. I'll try to do some research on this.
https://callowayproject.github.io/bump-my-version/howtos/multiple-replacements/


Dockerhub release image missing

Describe the bug
Dockerhub misses latest releases. There are 2.15.1, 2.15.2 and 2.15.3 releases on the github, but only 2.15.0 image in the dockerhub.
To Reproduce
Steps to reproduce the behavior:

Go to https://github.com/temporalio/ui/releases and note latest releases with version tags
Go to https://hub.docker.com/r/temporalio/ui/tags and note, that some releases are missing

Expected behavior
Dockerhub should have the same image tags as github releases.

Releases are built from: https://github.com/temporalio/ui-server which has different versions.


[doc,site] Site/dashboard

[Only consider the final 5 commits, this PR will be rebased once #17323 is merged, which makes up all but the last 5 commits here.]
REVIEW BUT DO NOT MERGE
We want to coordinate the merge of new website changes, so that suitable precautions can be taken for a safe deployment.

This PR consists of a top-level block dashboard and block-level HWIP mini-dashboards, both developed by @GregAC out-of-tree. These dashboards pull information from the reports.opentitan.org data, and present the information in a more targeted, concise and relevant way.
The latest staging.opentitan.org site contains both the all-blocks dashboard [1] and the block-level dashboards (e.g. [2]) as of this PR.

Merge Notes.
The final 2 commits represent changes on top of #17400 and #17402 to add links to the top-level dashboard page, which is otherwise inaccessible from the links currently available. When rebasing this PR after those two have been merged, the final two commits should reduce to 1-line changes.

rebased

The .js abd .css files need copyright headers IMO.

Fixed lints, added copyright headers

@HU90m Thanks for the review!
I've swapped to the nice utils functions, plus fixed the block-dashboards not showing (A bug which I inadvertently introduced here).

Also the 'partners' tab in the header hasn't been swapped for the 'dashboards' tab seen in https://staging.opentitan.org, so there is no easy way to access the dashboard.

See this section in the PR message. Did that get lost in a rebase maybe? It's kind of an annoying way to publish a PR I know.

I also wanted to flag that the badges and dashboards (on the staging site) aren't particularly mobile friendly:

It's good to flag this, thanks. Do we merge as-is with a follow up issue, or fix in this PR? Thoughts @GregAC @mundaym ?

It's good to flag this, thanks. Do we merge as-is with a follow up issue, or fix in this PR? Thoughts @GregAC @mundaym ?

I'd vote merge as is, whilst it doesn't look great it's still readable, especially the top-level dashboard just looks a bit dodgy as it overflows the side of the site and needs a horizontal scroll but ultimately it's all awkward and squashed.
Hopefully as it's CSS grid I can put something together that fixes the mobile view reasonably easily.

I just noted that the preprocessor tags obviously won't render in GitHub, which someone who browses the repo sees:

That's not critical but also not ideal. Could we embed the preprocessor tag in a comment (e.g., <!-- {{#block-dashboard keymgr}} -->) so that the stub is not visible? I think ideally we would generate the block-level dashboards on a server with some caching and deliver them as rendered SVGs, which can be embedded like any image. But that's more of a longer-term goal IMO.
@GregAC @hcallahan-lowrisc WDYT?

That's not critical but also not ideal. Could we embed the preprocessor tag in a comment (e.g., <!-- {{#block-dashboard keymgr}} -->) so that the stub is not visible? I think ideally we would generate the block-level dashboards on a server with some caching and deliver them as rendered SVGs, which can be embedded like any image. But that's more of a longer-term goal IMO.
@GregAC @hcallahan-lowrisc WDYT?

I quite like the idea of embedding the tags within a HTML-style comment.

That's not critical but also not ideal. Could we embed the preprocessor tag in a comment (e.g., <!-- {{#block-dashboard keymgr}} -->) so that the stub is not visible? I think ideally we would generate the block-level dashboards on a server with some caching and deliver them as rendered SVGs, which can be embedded like any image. But that's more of a longer-term goal IMO.
@GregAC @hcallahan-lowrisc WDYT?

I quite like the idea of embedding the tags within a HTML-style comment.

Works for me


[Request] Implement saving playback state for non-library items

We should try to implement saving of playback state for non-library items.
For example, save by infohashid and file name.

This is implemented with latest versions.


Polished border and added drop show to markdown editor

Issue #124
Polished editor border and added box shadow
Changes

Polished editor border and box shadow

Removed the border radius attribute and reduced the width.
Added a drop show effect to the markdown editor

changed appearance of the markdown editor.

Closing as stale. Feel free to open back up if you come back to it.

Will this be opened again ?

@PseudoNerd this is a duplicate of #148 at this point, correct?

Yes, that is true.
There is no point in reopening this, to be honest.


Add instance method to call make_retire_request

We need to be able to call retirement as a request from Automate, and that requires exposing the retirement method on the engine, which in turn requires having an instance method to expose. Turtles on turtles on turtles.
Related to
https://github.com/ManageIQ/manageiq-automation_engine/pull/314

@miq-bot add_label bug
@miq-bot assign @tinaafitz
@miq-bot add_reviewer @mkanoor
@miq-bot add_reviewer @gmcculloug

Okay sorry everyone, closing cause Madhu wants this to work like https://github.com/ManageIQ/manageiq-automation_engine/blame/34ca401a667233c49f4952c78cf4a43883837ac6/lib/miq_automation_engine/engine/miq_ae_method_service/miq_ae_service_methods.rb#L115


Remove Pock from the Menu Bar

It should be an option to be able to remove or hide Pock from the Menu Bar at the top.
As one of Pock's main features is aesthetic (intentional or not), it's surprising to see that it does not include an option to remove the icon at the top of your Mac's screen, in the Menu Bar, as there is in many other similar applications. Despite Pock being a TouchBar addon, consideration should also be taken for other elements, including the TouchBar.
Thank you for taking the time to read this, and I hope that you'll be able to implement this feature in the near future!
Ashley

Seond this. For reference, apps like Scroll Reverser have a button to hide it from the menu bar, and when you open the app again, for example from spotlight search, it re-appears and can be then hid again. As most users probably don't need to access the pock settings often after initial configuration, it can be quite annoying to have the icon there permanently.


Allow FwdLaplArray as input to wrapped functions

This also fixes dtype conversion and adds a test for that. Exceptions will now also start with the original source code line.

Thank you :) The complex support is largely inspired by discussion with @dalin27 and @dpfau
Before merging: For the complex number support a custom rule for the slogdet is still missing. Also, I will increase the version number after and push to pypi.

Thank you :) A discussion with @dalin27 largely inspired the complex support.
Before merging: For the complex number support, a custom rule for the slogdet is still missing. Also, I will increase the version number afterward and push it to Pypi.


compiler error in mac os

using constexpr gives link error for macOs

Windows test PASSed.

Linux test PASSed.

Windows test FAILed.

Linux test PASSed.

Windows test PASSed.

Linux test PASSed.


Updates fail with newest version of Quicksilver (Lion)

I have downloaded the newest version of Quicksilver a few times now (ß63) but I keep getting errors when I try and install updates. This morning I tried it again-- Downloaded ß63 of Quicksilver, installed it, clicked "Check for Updates" under the Guide menu, and got a "download successful" dialog box. It says:
Download Successful
A new version of Quicksilver has been downloaded. This version must be relaunched after it is installed.
(cancel update) (install and relaunch)
I select "install and relaunch" and then get this error:
Installation Failed
It was not possible to decompress downloaded file.
(download manually) (cancel update)
I click on "download manually" and it takes me to the website where I can download ß63... again. Which I just did, and was trying to update.
Is this a problem with just me or are others finding this as well?
I'm running OSX 10.7.2 on a 2011 MacBookPro.

Unfortunately there was a bug in 61 and 62 that broke automatic updates.
There is a warning message on the downloads page:
http://qsapp.com/download.php
I hope this helps!
Is Quicksilver giving you an "Installation Failed" message?
Previous versions (namely 61 and 62) of Quicksilver had a serious bug
that broke automatic updating. Please download the latest version manually.
You should not see this problem again, and we are sorry for any
inconvenience.
On 14 December 2011 18:44, goaligrltildeath <
<EMAIL_ADDRESS>
wrote:

I have downloaded the newest version of Quicksilver a few times now (63)
but I keep getting errors when I try and install updates. This morning I
tried it again-- Downloaded 63 of Quicksilver, installed it, clicked
"Check for Updates" under the Guide menu, and got a "download successful"
dialog box. It says:
Download Successful
A new version of Quicksilver has been downloaded. This version must be
relaunched after it is installed.
(cancel update) (install and relaunch)
I select "install and relaunch" and then get this error:
Installation Failed
It was not possible to decompress downloaded file.
(download manually) (cancel update)
I click on "download manually" and it takes me to the website where I can
download 63... again. Which I just did, and was trying to update.
Is this a problem with just me or are others finding this as well?
I'm running OSX 10.7.2 on a 2011 MacBookPro.

Reply to this email directly or view it on GitHub:
https://github.com/quicksilver/Quicksilver/issues/618

Yes, I realize there was a bug with previous versions (you mentioned 61 and 62) however I have installed B63 which is supposed to not have that bug. I have downloaded it multiple times from the website, have done clean installs of it, and yet I still have this error.

ß63 is the latest version of Quicksilver, so clicking 'update' should tell you that you have the latest version. What number is displayed within the preferences?
Thanks

Weird... It says B61 (3900).  How is it that I download and clean install B63 and I have B61 installed? I will try to uninstall this one again and reinstall.

You need to make sure you are replacing the Quicksilver.app file in
/Applications, once you've done that, everything should be fine :)
On 14 December 2011 21:48, goaligrltildeath <
<EMAIL_ADDRESS>
wrote:

Weird... It says B61 (3900).  How is it that I download and clean install
B63 and I have B61 installed? I will try to uninstall this one again and
reinstall.

Reply to this email directly or view it on GitHub:
https://github.com/quicksilver/Quicksilver/issues/618#issuecomment-3151047

Alright, so I completely wiped anything quicksilver-related from my computer and then did a clean install of B63 and now everything seems to be working. Not sure why it kept reverting to B61 with my previous attempts, but it seems to be working now. Thank you guys.


Add support for pagination

At support for pagination so large record sets can be worked with.  We have many zones with well over a 1000 records let a lone more than 1000 zones.

Any progress on this? External-DNS for Kubernetes doesn't work very well when zones are too big.

I don't think infoblox pays any attention to this repo.  6 months ago was their last code commit.
However external-dns does have a flag to pull in more than 1000 records to "help" with this issue.  --infoblox-max-results=10000  I see no issues with zones with less than 2000 records and my external-dns setup.  We have a zone with over 30,000 host records and external-dns fell over trying to deal with that response so there are limitations.

We are also running into issues using the infoblox client in a zone that has >1000 records.

I'm attempting to add paging to the external-dns project until I can get it added here. The issue is I can't use generics until golang 1.18 #182


Error with TypeAdapter

This is my HiveHelper class
class HiveHelper {

  open() async {
    Directory appDocDir = await getApplicationDocumentsDirectory();
    String dbFilePath = [appDocDir.path, 'majesty_database'].join('/');
    Hive.init(dbFilePath);

    // Box For UserDetail
    var box = await Hive.openBox(Boxes.userDetail); // This is where code breaks
    box.registerAdapter(UserDetailAdapter(), 0);
  }

  close() {
    Hive.close();
  }
}

class Boxes {
  static final String userDetail = 'user_detail';
}

And in main.dart
void main() async {
  HiveHelper _hiveHelper = HiveHelper();
  await _hiveHelper.open();

  runApp(MajestyApp());
}

This code runs successfully on the first couple times. After maybe third or fourth time it breaks at the box opening in the open method in HiveHelper class and gives me the following error
E/flutter (20679): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: HiveError: Cannot read, unknown typeId: 32. Did you forget to register an adapter?
E/flutter (20679): #0      BinaryReaderImpl.read (package:hive/src/binary/binary_reader_impl.dart:243:9)
E/flutter (20679): #1      Frame.decodeValue (package:hive/src/binary/frame.dart:89:22)
E/flutter (20679): #2      Frame.decode (package:hive/src/binary/frame.dart:78:19)
E/flutter (20679): #3      FrameIoHelper.framesFromFile (package:hive/src/io/frame_io_helper.dart:77:25)
E/flutter (20679): <asynchronous suspension>
E/flutter (20679): #4      StorageBackendVm.initialize (package:hive/src/backend/storage_backend_vm.dart:85:25)
E/flutter (20679): <asynchronous suspension>
E/flutter (20679): #5      BoxBase.initialize (package:hive/src/box/box_base.dart:87:20)
E/flutter (20679): #6      HiveImpl.openBoxInternal (package:hive/src/hive_impl.dart:92:15)
E/flutter (20679): <asynchronous suspension>
E/flutter (20679): #7      HiveImpl.openBox (package:hive/src/hive_impl.dart:72:23)
E/flutter (20679): <asynchronous suspension>
E/flutter (20679): #8      HiveHelper.open (package:ninja_app/src/service/local_database/hive_helper.dart:24:26)
E/flutter (20679): <asynchronous suspension>
E/flutter (20679): #9      main (package:ninja_app/main.dart:43:21)
E/flutter (20679): #10     _AsyncAwaitCompleter.start (dart:async-patch/async_patch.dart:43:6)
E/flutter (20679): #11     main (package:ninja_app/main.dart:27:10)
E/flutter (20679): #12     _runMainZoned.<anonymous closure>.<anonymous closure> (dart:ui/hooks.dart:229:25)
E/flutter (20679): #13     _rootRun (dart:async/zone.dart:1124:13)
E/flutter (20679): #14     _CustomZone.run (dart:async/zone.dart:1021:19)
E/flutter (20679): #15     _runZoned (dart:async/zone.dart:1516:10)
E/flutter (20679): #16     runZoned (dart:async/zone.dart:1500:12)
E/flutter (20679): #17     _runMainZoned.<anonymous closure> (dart:ui/hooks.dart:221:5)
E/flutter (20679): #18     _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:305:19)
E/flutter (20679): #19     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)

It will also be great if you have simple flutter todo app example.
Version

Platform: Android
Flutter version: v1.9.1+hotfix.2
Hive version: 1.0.0

Sorry there is an error in the documentation. You need to use Hive.registerAdapter() before you open the box.

I believe that Hive.registerAdapter() will register this Adapter for all the boxes. I want this adapter registered only to UserDetailBox, that is why I used box.registerAdapter() or is this functionality removed?

This only workes for lazy boxes and the documentation fails to mention that.
I will deprecate and remove box.registerAdapter() in the coming versions.
There is nothing wrong with registering an adapter for all boxes. Or do you need to store the same object in multiple boxes with different adapters?

Atm my use case is very simple(just a local cache of current user detail), so I don't need multiple adapters. I'll use the Hive.registerAdapter() method then. I believe there won't be any performance degradation by registering globally?
Also thank you for creating this awesome library, much appreciated.

I believe there won't be any performance degradation by registering globally?

Not at all. They are handled the same way.

Sorry there is an error in the documentation. You need to use Hive.registerAdapter() before you open the box.

this solved issue for me. thanks!

Bu sadece tembel kutular için çalışır ve belgeler bundan bahsetmez.
box.registerAdapter()Önümüzdeki sürümlerde kullanımdan kaldırılacak ve kaldırılacaktır .
Tüm kutular için bir adaptörün kaydedilmesinde yanlış bir şey yoktur. Veya aynı nesneyi farklı adaptörlere sahip birden fazla kutuda mı saklamanız gerekiyor?

this worked for me. Thank you.

belgelerde bir hata v

this worked for me. Thank you.

How can I save the same object on multiple boxes? Im getting this error: The same instance of an HiveObject cannot be stored in two different boxes.

How can I save the same object on multiple boxes?

Hi man! Also, I faced with this issue, and I could found anything about it. And at the end of the day, I asked it on stackoverflow.  If you solved it please just put an answer
https://stackoverflow.com/questions/68055740/hiveerror-the-same-instance-of-an-hiveobject-cannot-be-stored-in-two-different


Copy table & column doesn't preserve default column values

OS: Linux Mint 20
Dbeaver: 21.0.2
DB: PostgreSQL 12
After table copy (for example Ctrl+C and Ctrl+V in table list) new table doesn't have column default values.
Original table:
CREATE TABLE public.testtable (
	id serial NOT NULL,
	testchar varchar NULL DEFAULT 'aaaaa'::character varying,
	CONSTRAINT testtable_pkey PRIMARY KEY (id)
);

After Ctrl+C and Ctrl+V the table has no default values and DDL looks like:
CREATE TABLE public.testtable_1 (
	id serial NOT NULL,
	testchar varchar NULL,
	CONSTRAINT testtable_pkey_1 PRIMARY KEY (id)
);

thanks for the report

Fixed in DBeaver 21.0.4

verified


PEP 561 compatibility

Hello.
Thank you for your library. It saves us much time for RPC-API implementation. Unfortunately, It is not compatible with PEP 561, so we cannot use its type hints for type checking with mypy.
I can make a PR to fix this if you don't mind.

Hi! I'm glad to hear you've found this library useful.

I can make a PR to fix this if you don't mind.

Yes, that would be great.

Thanks for PR. Your changes in https://pypi.org/project/aiohttp-rpc/1.0.0b1/

Very well. I close the issue then.


vsce package warns about performance issue

This extension consists of 1688 files, out of which 1332 are JavaScript files. For performance reasons, you should bundle your extension: https://aka.ms/vscode-bundle-extension . You should also exclude unnecessary files by adding them to your .vscodeignore: https://aka.ms/vscode-vscodeignore

fixed in #23


Come up with new name & logo

@av80r have contacted a designer and am getting a quote from her for our new logo

@av80r we have a new name. Logo is in the works. going to move this to the next milestone


Group member's name appears in the "Assign to me" section

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number:
Reproducible in staging?: needs reproduction
Reproducible in production?: needs reproduction
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @jamesdeanexpensify
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1708034273291579
Action Performed:

Create a group chat with 2 more members
Have lots chats in the group
Tap + Assign task
Enter title
In the confirm task page tap Assignee
Observe the invite page

Expected Result:
Only creator's details should appear in "assign to me" section
Actual Result:
Group member's name appears
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[x] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

View all open jobs on GitHub

@jamesdeanexpensify have you seen this again? I can't reproduce on my end, using group chats with lotsa previous messages.

Oh nice! I don't see it anymore. That's great. Should we close this out for now?

yup, let's close until we see it again!


Implement JDBC Store for monitoring EVENTS

All actions performed within ff4j can be stored in a EventRepository (event are already published asynchronously). https://github.com/clun/ff4j/blob/master/ff4j-core/src/main/java/org/ff4j/audit/repository/EventRepository.java
The implement must be provided for EventRepository for database (JDBC) in the same way as PropertyStore.

Implementation done and tested. Ready for next release


Adding EOM-CC code.

Description
EOM-CCSD code for excited states.
Todos

[x] Add multi-state EOM-CCSD code.
[x] Add test case.

Status

[x] Ready to go

I've merged the new code from the "CI Update" PR, so this is ready to go as soon as I get a review.


Fixed unsafe clone() of Response causing json() hang.

It's unfortunately not safe to clone a stream unless each of the clones are processed in parallel. However, currently, the original response is not even being exposed to consumers until the cloned stream is fully processed. Thus, we can end up with a hang when handling large JSON responses, particularly on NodeJS when using node-fetch. See:
https://github.com/node-fetch/node-fetch/issues/139
https://github.com/node-fetch/node-fetch/issues/665
This change does have the side-effect that consumers will be unable to rewind the stream and inspect the body in the event that JSON parsing fails. If it succeeds, then we're provided with the parsed body, so it's a non-issue in that case.
This PR is breaking for the reason outlined above. However, the breaking change does not affect regular usage. It will however affect users who happened to be doing fancy things with response body stream e.g. if JSON parsing failed.
Unfortunately, without this change, this library is unusable on Node.js, or at least, will fail in very confusing ways (i.e. request promise that never resolves) once a sufficiently large JSON response is encountered. The responses need not be enormous either, 16KiB I believe.

Thanks! But next release will have other templates (written on ejs templates for more flexibility)
No worry, I'll add it to the release :)


[cf-core] Salt multisig

Describe the bug
Need to add chain id context into the multisig generated from the create2 function

Duplicate, closing


Doc Feedback:This doc configurations are outdated.

include toml configurations.
Location : https://apim.docs.wso2.com/en/latest/install-and-setup/setup/setting-up-proxy-server-and-the-load-balancer/adding-a-custom-proxy-path/

This is duplicated in https://github.com/wso2/docs-apim/issues/1621. Hence closing this issue.


Supporting Thanos codec to parse Thanos specific query parameters

[ ] I added CHANGELOG entry for this change.
[ ] Change is not relevant to the end user.

Changes

Verification

Close this one since I already opened another pr upstream.


Cesium color Change between 1.51 and 1.52

Hey Cesium Team,
Does anyone know why the background shade on the globe has changed between these two versions? I am using openstreetmaps as my imagery provider.
here is a picture of the content. cesium 1.52 on the left and 1.51 on the right

I can provide more code if needed.

Hello @AtofStryker!  Yes, we added HDR support in 1.52 which is probably why the map looks like it's colored differently.
You should be able to get the old behavior by adding the line viewer.scene.highDynamicRange = false;
I'm going to close this issue, but if that doesn't work for you, let me know!

@hpinkos Thanks! Ill give it a try and will let you know if I have issues.

This definitely looks like a bug, @hpinkos.  All billboards shouln't suddenly be the same color.

@AtofStryker were you explicitly asking about the background share or the billboards in the foreground as well?  I might have misread it and @hpinkos might have been right to close this.

@mramato the question only pertains to the color hue. I changed the color of the billboards. No worries! @hpinkos was right to close the issue

Thanks (and sorry for the confusion on my part)


invalid byte sequence in UTF-8 when using update_info_plist

New Issue Checklist

[x] Updated fastlane to the latest version - yes, 1.08 as of nov 14 2016
[x] I have read the [Contribution Guidelines] - yes(https://github.com/fastlane/fastlane/blob/master/CONTRIBUTING.md)

Issue Description
i thought id try the fastlane advice of adding gemfile to speed things up ect. i followed the instructions and now the update_info_plist action is now throwing an error. the lane used here is called 'warmup'.
I am using rbenv version 0.4.0 and ruby 2.2.2, but i also tried 2.0.0 thinking version could be issue but it was not.
i saw someone else had a similar issue: https://github.com/fastlane/fastlane/issues/6810
Complete output when running fastlane, including the stack trace and command used

You can use: --capture_output as the last commandline argument to get that collected for you

Captured Output
Command Used: warmup
Output/Log

+------+-------------------------------------+-------------+
|                     fastlane summary                     |
+------+-------------------------------------+-------------+
| Step | Action                              | Time (in s) |
+------+-------------------------------------+-------------+
| 1    | opt_out_usage                       | 0           |
| 2    | Verifying required fastlane version | 0           |
| 3    | default_platform                    | 0           |
| 4    | prompt                              | 0           |
| 5    | Switch to config_project lane       | 0           |
| 💥    | update_info_plist                   | 0           |
+------+-------------------------------------+-------------+

Looking for related GitHub issues on fastlane/fastlane...

➡  upload_symbols_to_crashlytics invalid byte sequence
   https://github.com/fastlane/fastlane/issues/4027 [closed] 27 💬
   2 weeks ago

➡  invalid byte sequence in US-ASCII
   https://github.com/fastlane/fastlane/issues/2253 [closed] 2 💬
   22 Sep 2016

➡  invalid byte sequence in US-ASCII
   https://github.com/fastlane/fastlane/issues/2389 [closed] 2 💬
   22 Sep 2016

and 13 more at: https://github.com/fastlane/fastlane/search?q=invalid%20byte%20sequence%20in%20UTF-8&type=Issues&utf8=✓

Environment
Please run fastlane env and copy the output below. This will help us help you :+1:
If you used --capture_output option please remove this block - as it is already included there.
✅ fastlane environment ✅
Stack

Key
Value

OS
10.12

Ruby
2.0.0

Bundler?
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.1

Git
git version 2.9.3 (Apple Git-75)

Installation Source
/Users/scc/.rbenv/versions/2.0.0-dev/bin/fastlane

Host
Mac OS X 10.12 (16A323)

Ruby Lib Dir
/Users/scc/.rbenv/versions/2.0.0-dev/lib

OpenSSL Version
OpenSSL 1.0.2h  3 May 2016

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane files:
`./Fastfile`
# written by Peter and Keven

require "spaceship"
opt_out_usage
fastlane_version "1.52.0"
default_platform :ios

before_all do
  get_flavs
  # ensure_git_status_clean
end

#----- LANES -----#

lane :test do _test_all end

lane :allsnap do |options| snap(flavorID:-1) end
lane :acro_snap do |options| snap(flavorID:17) end
lane :pbc_snap do |options| snap(flavorID:18) end

lane :bump do _bump end

#----- PRIVATE LANES -----#

private_lane :build_app do |options|

  flavor_id = options[:flavor_id]
  app_identifier = options[:app_identifier]

  output_dir = options[:output_dir]
  export_method = options[:export_method]

  warmup(flavor_id: flavor_id)

  cert # Get certificates

  #(development: true)
  udid = sigh(
    app_identifier: app_identifier,
    output_path: "/tmp",
    development: false#!options[:release]
    )

  ENV["PROJECT_UDID"] = udid

  #cocoapods TODO: enable

  gym(
    scheme: "Health StoryLines",
    output_directory: output_dir ? output_dir : "/tmp",
    output_name: "#{app_identifier}.ipa",
    sdk: "iphoneos",
    clean: true,
    use_legacy_build_api: true,
        export_method: !options[:release] ? 'development' : 'app-store', #"app-store", development
        include_symbols: true,
        include_bitcode: false,
        silent: true,
        configuration: !options[:release] ? 'Debug' : 'Release'
        )
end

lane :warmup do |options|

  puts "#{options}\n"
  opts = options[:options]

  get_flavs

  flavor_id = options[:flavor_id] ? options[:flavor_id] : select_flavor(flavor_id)
  flavor_data = $flavor_data ? $flavor_data :  get_flav(flavor_id.to_i)

  puts flavor_id
  puts flavor_data

  config_project(flavor: flavor_id,
   flavorData:flavor_data)
end

  lane :config_project do |options|

    puts "#{options}\n"

    if flavor_data = options[:flavorData] then
      puts "flavorData: #{flavor_data}\n"

      app_identifier = flavor_data["identifier"]
      server_url = flavor_data["serverurl"]

      ENV["APP_IDENTIFIER"] = app_identifier

      #update bundle id, display name
      update_info_plist(
        app_identifier: flavor_data["identifier"],
        display_name: flavor_data["shortname"],
        plist_path: 'Files/Resources/Supporting Files/Health StoryLines-Info.plist',
        xcodeproj: 'Health StoryLines.xcodeproj',
        )

      #update ServerURL
      set_info_plist_value(
        key: 'ServerURL',
        value: server_url,
        path: 'Files/Resources/Supporting Files/Health StoryLines-Info.plist',
        )

      # update_app_identifier(app_identifier: app_identifier, plist_path: 'Files/Resources/Supporting Files/Health StoryLines-Info.plist')

        # xcodeproj: "#{options[:project_name]}.xcodeproj",
        # plist_path: "#{options[:project_name]}/Info.plist",

        update_app_identifier(
          xcodeproj: 'Health StoryLines.xcodeproj',
          plist_path: 'Files/Resources/Supporting Files/Health StoryLines-Info.plist',
          app_identifier: app_identifier
        # options[:app_identifier]
        )

      #checking correct vals set
      puts get_info_plist_value(path: 'Files/Resources/Supporting Files/Health StoryLines-Info.plist', key: 'CFBundleIdentifier')
      puts get_info_plist_value(path: 'Files/Resources/Supporting Files/Health StoryLines-Info.plist', key: 'ServerURL')

      #TODO: copy plist into flavor folder?
      # FileUtils.cp("../", dest_folder)
    else
      puts "!!!!! ERROR NO FLAVOR DATA !!!!!!"
    end
  end

  private_lane :appetize do |options|
    appetize(
      api_token: 'tok_fg7vef0jmj7x7u2gzbadzp6kd8',
      url: 'https://example.com/your/zipped/app.zip',
      private_key: 'yourprivatekey'
      )
  end

  #################################################################
  ######################### PUBLIC LANES ##########################
  #################################################################

 #------------------------- Itunes Connect -------------------------#
# https://github.com/fastlane/fastlane/blob/master/spaceship/docs/iTunesConnect.md
desc "iTunes Connect Lane"
lane :itc do |options|
    # Spaceship.login
    # list all apps
    # puts all_apps = Spaceship.app.all
    # return

    # Apple Dev -----
    # Spaceship.app.all.collect do |app|
     # puts app.name
     # puts app.details
    # end

#app.all_processing_builds

#Select build fpr review

   # Spaceship::Tunes.login

   #  Spaceship::Tunes::Application.all.collect do |app|
   #   if !app.edit_version.nil? && app.name != 'CMT Neighbours'
   #    puts app.name
   #    version = app.edit_version
   #    puts version
   #    builds = version.candidate_builds
   #    puts builds
   #  end
   #  end

# version.select_build(builds.first)
# version.save!

# submission = app.create_submission

# # Set app submission information
# submission.content_rights_contains_third_party_content = false
# submission.content_rights_has_rights = true
# submission.add_id_info_uses_idfa = false

# # Finalize app submission
# submission.complete!

    # Itunes Connect -----
    Spaceship::Tunes.login
    Spaceship::Tunes::Application.all.collect do |app|
     puts app.name
     # puts app.details
     puts app.edit_version.version
   end

   return
   Spaceship::Tunes.login
   Spaceship::Tunes::Application.all.collect do |app|
    puts app.name
      ########### SET VERSION NUMBER  #################################
      if v = app.live_version
      v = app.live_version # || app.edit_version
      # Access information - apple_id, name, bundle_id
      puts v.app_status
      puts v.version
    end
    if(app.edit_version)
      v = app.edit_version
      puts 'Current Edit Version Exists'
      puts app.edit_version.version
        v.version = 2.0 # || app.edit_version

        changelog = "- Improved daily check-ins to help you track your health with ease
        - Improved user interface"

        v.release_notes.languages.each do |lang|
          v.release_notes[lang] = changelog
            #Update Version
            v.save!
          end
        else
          begin
           app.create_version!(2.0)
           puts 'New Version Created!'
           v = app.edit_version
            # Access information - apple_id, name, bundle_id
            # puts v.name
            puts v.app_status
            puts v.version
          rescue => ex
            puts "!!!!!!!!!!!!!!!!!!!!error!!!!!!!!!!!!!!!!!!!!!!!"
            puts ex
          end
        end
      end
      ##################################################################
#       v = app.edit_version # || app.edit_version
#       v.release_notes = "- Improved daily check-ins to help you track your health with ease
# - Improved user interface"

#       #Update Version
#       v.save!
    # end

    # Create a new app----------------
    # app = Spaceship.app.create!(bundle_id: "com.krausefx.app_name", name: "fastlane App") version, sku, primary_language ("English")

    # Update app details----------------
    # details = app.details
    # details.name['en-US'] = "App Name"
    # details.privacy_url['en-US'] = "https://fastlane.tools"
    # details.save!

    # Register a new device----------------
    # Spaceship.device.create!(name: "Private iPhone 6", udid: "5814abb3...")
    # all_devices = Spaceship.device.all

    # Submission----------------
    #     submission = app.create_submission

    # # Set app submission information
    # submission.content_rights_contains_third_party_content = false
    # submission.content_rights_has_rights = true
    # submission.add_id_info_uses_idfa = false

    # # Finalize app submission
    # submission.complete!
  end

  #------------------------- TEST -------------------------#

  def _test_all
    scan(
      workspace: "Health Storylines.xcworkspace",
      scheme: "Regression",
      device: "iPhone 6",
      destination: "platform=iOS Simulator,name=iPhone 6,OS=9.2",
      clean: true,
      slack_url: "https://hooks.slack.com/services/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",
      slack_channel: "#bitrise"
    )
  end

     # scan(
    #   workspace: "Health Storylines.xcworkspace",
    #   scheme: "Regression",
    #   device: "iPhone 6",
    #   destination: "platform=iOS Simulator,name=iPhone 6,OS=9.2",
    #   clean: true,
    #   slack_url: "https://hooks.slack.com/services/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",
    #   slack_channel: "#bitrise"
    #   )

  #------------------------- SNAP -------------------------#

  lane :liver_snap do |options|
    version = get_version_number(xcodeproj: 'Health StoryLines.xcodeproj')
    build_number = get_build_number(xcodeproj: 'Health StoryLines.xcodeproj')

    flavor_id = select_flavor(options[:flavor_id])

    #Distributing all flavors
    if flavor_id == -1 then

      app_identifiers = Array.new
      get_flavs

      puts "...Sending all flavors"
      # puts flavors_hash
      $flavors_hash.each_with_index do | (key, value), index |
        begin

          release(flavor_id: index)
          app_identifiers.push("#{key["identifier"]}")
        rescue => ex
          puts "!!!!!!!!!!!!!!!!!!!!error!!!!!!!!!!!!!!!!!!!!!!!" #TODO: email error
          puts ex
        end
      end

    # Distributing one flavor
  else
    app_identifier = $flavor_data["identifier"]
    warmup(flavor_id: flavor_id)
    snap(flavorID: flavor_id.to_i)

      # # cert
      # app_identifier = flavor_data["identifier"]
      # display_name = flavor_data["shortname"]
      # puts "-------------------------"
      # puts flavor_data
      # puts app_identifier
      # puts display_name
      # puts "-------------------------"

      # build_app(app_identifier: $flavor_data["identifier"],
      #   flavor_id: flavor_id,
      #   output_dir: "./builds/release/#{version}-#{build_number}/",
      #   release: true,
      #   export_method: "app-store"
      #   )

      # deliver(force: true,
      #   app_identifier: "#{app_identifier}",
      #   automatic_release: false,
      #   skip_screenshots: false,
      #   skip_metadata: true)
    # frameit
  end
end

desc "Do the snapshots"
lane :snap do |options|
    #check if flavor ID is -1 (snap all flavors)
    if options[:flavorID] && flavor_id = options[:flavorID].to_i then
      if flavor_id == -1 then
        get_flavs
        puts "...Snapshoting all flavors"
        # puts flavors_hash
        $flavors_hash.each_with_index do | (key, value), index |
          snap(flavorID: index)
        end
        return
      end
    end

    #check if flavor ID is set and prompt user
    unless options[:flavorID]
      select_flavor
      #flavor_id = select_flavor(options[:flavor_id])
      puts "-1 <SELECT ALL FLAVOURS>"
      flavor_id = prompt(text: "Which flavour?: ")
    end

      #todo: check not -999
      flavor_data = get_flav(flavor_id.to_i)
      # flavor_data = check_flavor(flavor_id.to_i)
      puts flavor_data
      warmup(flavor_id: flavor_id)
      snapshot(
        number_of_retries: 1,
        output_directory: "./screenshots/" + flavor_data["identifier"]
        )
    end

  #------------------------- UTIL LANES ------------------------#

  def _bump
    increment_build_number
    commit_version_bump(force: true, xcodeproj: 'Health StoryLines.xcodeproj')
    add_git_tag
    push_to_git_remote

  end

  lane :build do |options|
    version = get_version_number(xcodeproj: 'Health StoryLines.xcodeproj')
    build_number = get_build_number(xcodeproj: 'Health StoryLines.xcodeproj')

    flavor_id = select_flavor(options[:flavor_id])

    #Distributing all flavors
    if flavor_id == -1 then

      app_identifiers = Array.new
      get_flavs

      puts "...Sending all flavors"
      # puts flavors_hash
      $flavors_hash.each_with_index do | (key, value), index |
        begin

          build(flavor_id: index)
          app_identifiers.push("#{key["identifier"]}")
        rescue => ex
          puts "!!!!!!!!!!!!!!!!!!!!error!!!!!!!!!!!!!!!!!!!!!!!" #TODO: email error
          puts ex
        end
      end

    # Distributing one flavor
  else
    app_identifier = $flavor_data["identifier"]
    warmup(flavor_id: flavor_id)

    screenshots_path = "./screenshots/#{version}-#{build_number}/" + app_identifier

    build_app(
      app_identifier: $flavor_data["identifier"],
      flavor_id: flavor_id,
      output_dir: "./builds/release/#{version}-#{build_number}/",
      release: true,
      export_method: "app-store"
      )
  end
end

  #------------------------- BETA LANES ------------------------#

  desc "Submit a new Beta Build,"
  desc ""
  desc "Arguments:"
  desc "- flavor_id : the flavor ID of the app"
  desc "- notify_slack : if set to false slack won't be notified (for testing)"
  desc "- rls_build : if set to true the release build configuration is used instead of debug"
  desc "- notes : custom notes, otherwise notes are compiled from git commits"
  desc "- bump : if set the build number will be incremented, a tag will be made on git, and pushed to remote"

  lane :beta do |options|

    version = get_version_number(xcodeproj: 'Health StoryLines.xcodeproj')
    build_number = get_build_number(xcodeproj: 'Health StoryLines.xcodeproj')
    # puts version
    # puts build_number
    # flavor_id = options[:flavor_id]

    notes = options[:notes]

    # Get and fitder notes from git commits since the last tag to only post Tracker issues
    unless options[:notes]
      tracker_notes = changelog_from_git_commits.split("\n").select do |elem|
        elem['[#']
      end
      notes = tracker_notes.count > 0 ? tracker_notes.join("\n") : 'No notes provided.'
    end
    puts notes

    #TODO: add build number in notes
    #TODO: scan
    #TODO passing single flavor ID wont send to slack or increment build #
    notify_slack = options[:notify_slack]
    # notify_slack = options[:notify_slack] ? options[:notify_slack] : true
    flavor_id = select_flavor(options[:flavor_id])

# TODO: fix for single apps
# increment_build_number

    #Distributing all flavors
    if(flavor_id.to_i == -1) then

      # if !options[:bump].nil?
      #   increment_build_number
      # end

      app_identifiers = Array.new
      get_flavs

      $flavors_hash.each_with_index do | (key, value), index |
        begin
          beta( flavor_id:index,
            notes:notes,
            notify_slack:false,
            rls_build:options[:rls_build],
            bump:options[:bump])
          app_identifiers.push("#{key["identifier"]}")
        rescue => ex
          puts "!!!!!!!!!!!!!!!!!!!!error!!!!!!!!!!!!!!!!!!!!!!!" #TODO: email error
          puts ex
        end
      end

      if !options[:bump].nil?
        # commit_version_bump(force: true)
        # add_git_tag
        # push_to_git_remote
      end

      notify_slack = !app_identifiers.empty?

# TODO: fix for single apps
    # commit_version_bump(force: true)
    #     add_git_tag
    #     push_to_git_remote

    #Distributing one flavor
  else

      #enable for TF releases
      if(options[:rls_build])
        ENV["APP_IDENTIFIER"] = $flavor_data["identifier"]
        app_identifiers = [ENV["APP_IDENTIFIER"]]
        build_app(app_identifier: $flavor_data["identifier"],
          flavor_id: flavor_id,
          output_dir: "./builds/beta/dev/#{version}-#{build_number}/",
          release: true,
          )
        publish_testflight
      else

        build_app(app_identifier: $flavor_data["identifier"],
          flavor_id: flavor_id,
          output_dir: "./builds/beta/dist/#{version}-#{build_number}/",
          release: options[:rls_build])
        publish_crashlytics(notes: notes)
      end
    end
    # if s.kind_of?(Array) then

    # end

    if(notify_slack)
      ENV["SLACK_URL"] ||= "https://hooks.slack.com/services/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"
      slack(
        message: notes,
        channel: "#ios-hs-beta",
        default_payloads:[],
          payload: {            # Optional, lets you specify any number of your own Slack attachments.
            'Build Version' => version.to_s,
            'Build Number' => build_number.to_s,
            'Flavors' => app_identifiers.join("\n")  },
            )
    end
  end

  private_lane :publish_crashlytics do |options|
   crashlytics(
    ipa_path: lane_context[SharedValues::IPA_OUTPUT_PATH],
    notes: options[:notes],
      groups: ['hs-dev-team'], # hs-dev-team or devs
      api_token: "afd958b5b041a2b91b47b034b8de6d1f5158d6af",
      build_secret: "f6c421fc1fcd70ad626ed630ca749a35bf0e5f15da7b17130b31c23fc0979b68",
      notifications: true
      )
 end

 private_lane :publish_testflight do |options|
  app_identifier = ENV["APP_IDENTIFIER"]
    # output = sh("pilot builds -i #{lane_context[SharedValues::IPA_OUTPUT_PATH]}")

    pilot(
      app_identifier: app_identifier,
      ipa: lane_context[SharedValues::IPA_OUTPUT_PATH],
      #"./builds/beta/#{app_identifier}.ipa",
      skip_submission: true,
      )
  end

  #------------------------- APP STORE -------------------------#

  desc "Deploy a new version to the App Store"
  desc ""
  desc "Arguments:"
  desc "- flavor_id : the flavor ID of the app"
  lane :release do |options|
    # match(type: "appstore")
    # snapshot
    version = get_version_number(xcodeproj: 'Health StoryLines.xcodeproj')
    build_number = get_build_number(xcodeproj: 'Health StoryLines.xcodeproj')

    flavor_id = select_flavor(options[:flavor_id])

    #Distributing all flavors
    if flavor_id == -1 then

      app_identifiers = Array.new
      get_flavs

      puts "...Sending all flavors"
      # puts flavors_hash
      $flavors_hash.each_with_index do | (key, value), index |
        begin

          release(flavor_id: index)
          app_identifiers.push("#{key["identifier"]}")
        rescue => ex
          puts "!!!!!!!!!!!!!!!!!!!!error!!!!!!!!!!!!!!!!!!!!!!!" #TODO: email error
          puts ex
        end
      end

    # Distributing one flavor
  else
    app_identifier = $flavor_data["identifier"]
    warmup(flavor_id: flavor_id)

    screenshots_path = "./screenshots/#{version}-#{build_number}/" + app_identifier
    # snapshot(
    #   output_directory: screenshots_path
    #   )

    # # cert
    # app_identifier = flavor_data["identifier"]
    # display_name = flavor_data["shortname"]
    # puts "-------------------------"
    # puts flavor_data
    # puts app_identifier
    # puts display_name
    # puts "-------------------------"

    build_app(
      app_identifier: $flavor_data["identifier"],
      flavor_id: flavor_id,
      output_dir: "./builds/release/#{version}-#{build_number}/",
      release: true,
      export_method: "app-store"
      )

    notes = "{app_identifier} - #{version} - #{build_number}"
    puts notes
    # publish_crashlytics(notes: notes)

    deliver(
      force: true,
      app_identifier: "#{app_identifier}",
      screenshots_path: screenshots_path,
      automatic_release: false,
      skip_screenshots: true,
      skip_metadata: true
      )
    # frameit
  end

    ##TODO : set_changelog(app_identifier: "com.krausefx.app", version: "1.0", changelog: "All Languages")

  end

  #################################################################
  ######################### SUCCESS/ERROR #########################
  #################################################################

  after_all do |lane| # This block is called, only if the executed lane was successful

    # slack(
    #   message: "Successfully deployed new App Update."
    # )

  # # Remove all build artifacts, but keep mobileprovisioning profiles since they are stored in GIT
  # clean_build_artifacts(
  #   exclude_pattern: ".*\.mobileprovision"
  # )

  # # Reset all changes to the git checkout
  # reset_git_repo(
  #   force: true
  # )
end

error do |lane, exception|
    # if lane != "test"
    #   ENV["SLACK_URL"] ||= "https://hooks.slack.com/services/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"
    #   slack(
    #     message: "Error: #{exception.message}",
    #     success: false,
    #     channel: "#ios-automation-errors",
    #     default_payloads: [:lane, :git_branch]
    #     )
    # end

  # # Remove all build artifacts, but keep mobileprovisioning profiles since they are stored in GIT
  # clean_build_artifacts(
  #   exclude_pattern: ".*\.mobileprovision"
  # )

  # # Reset all changes to the git checkout
  # reset_git_repo(
  #   force: true
  # )
end

#################################################################
 ######################### PRIVATE METHODS #######################
 #################################################################

 def get_flavs
  puts 'Parsing flavors JSON...'
  flavors_file = File.read('../assets/flavors.json') or raise 'Flavors JSON not found'
  flavors_hash = JSON.parse(flavors_file) or raise 'Flavors JSON invalid'
    #TODO: if verbose puts flavors_hash
    $flavors_hash = flavors_hash
    # @flavors_hash
  end

  def list_flavs
    $flavors_hash.each_with_index do | (key, value), index |
      puts "#{index} #{key["identifier"]}"
    end
  end

  #Select a flavor
  def select_flavor(flavorID)
    get_flavs

    if flavorID && flavor_id = flavorID.to_i then
      # puts 'selected flavor'
    else
      list_flavs
      puts "-1 <SELECT ALL FLAVOURS>"
      flavor_id = prompt(text: "Which flavour?: ")
    end

    if flavor_id.to_i == -1
      puts ".....SELECTED ALL FLAVORS"
    else
      flavor_data = get_flav(flavor_id.to_i)
      puts flavor_data
      puts ".....Selected #{flavor_data["identifier"]}"
      $flavor_data = flavor_data
      ENV["FLAVOR_ID"] = flavor_id.to_s
    end

    return flavor_id.to_i
  end

  def get_flav(flavorID)
    $flavors_hash.count >= flavorID or raise 'Invalid flavor selected'
    $flavors_hash[flavorID]
  end

`./Appfile`
#app_identifier "com.selfcarecatalysts.ps" # The bundle identifier of your app

app_identifier ENV["APP_IDENTIFIER"]

apple_id<EMAIL_ADDRESS># Your Apple email address

team_id "373M279DX4"  # Developer Portal Team ID

# you can even provide different app identifiers, Apple IDs and team names per lane:
# More information: https://github.com/fastlane/fastlane/blob/master/docs/Appfile.md

fastlane gems

Gem
Version
Update-Status

credentials_manager
0.16.2
✅ Up-To-Date

fastlane_core
0.55.0
✅ Up-To-Date

spaceship
0.37.0
✅ Up-To-Date

deliver
1.15.0
✅ Up-To-Date

snapshot
1.16.3
✅ Up-To-Date

frameit
3.0.0
✅ Up-To-Date

pem
1.4.0
✅ Up-To-Date

cert
1.4.4
✅ Up-To-Date

sigh
1.11.2
✅ Up-To-Date

produce
1.3.0
✅ Up-To-Date

gym
1.12.0
✅ Up-To-Date

pilot
1.12.0
✅ Up-To-Date

scan
0.14.1
✅ Up-To-Date

supply
0.7.1
✅ Up-To-Date

match
0.11.0
✅ Up-To-Date

screengrab
0.5.5
✅ Up-To-Date

fastlane
1.108.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

highline
1.7.8

commander
4.4.0

terminal-table
1.4.5

json
1.8.3

multipart-post
2.0.0

faraday
0.10.0

faraday_middleware
0.10.1

dotenv
2.1.1

net-sftp
2.1.2

plist
3.2.0

security
0.1.3

krausefx-shenzhen
0.14.11

slack-notifier
1.5.1

rouge
1.11.1

xcpretty
0.2.4

terminal-notifier
1.7.1

word_wrap
1.0.0

multi_json
1.12.1

colored
1.2

babosa
1.0.2

excon
0.54.0

rubyzip
1.1.7

gh_inspector
1.0.2

credentials_manager
0.16.2

fastlane_core
0.55.0

bundler
1.13.6

multi_xml
0.5.5

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20161021

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
1.6.8

mini_magick
4.5.1

xcpretty-travis-formatter
0.0.4

CFPropertyList
2.3.3

claide
1.0.1

xcodeproj
1.4.1

generated on: 2016-11-14

i dont think it is related to codesigning. codesigning and a lane that allowed a full deploy to itc was already implemeneted by my coworker.

@kpogz Interesting, thanks for reaching out. Could you post your Info.plist for reference?
Btw I edited your original issue description since you included the fastlane env output multiple times and that made it kinda hard to follow.

thanks for the edit! Ill post the plist - although i am having some issue viewing it - it seems it got converted to a bplist . On other plists in xcode (such as test targets), i have option to 'open as-> source code' but the main plist is all hex now. shows the xml tags in finder preview but just hex when i open in sublime :s
i did the xcode quick view, but it doesnt allow copy paste??
would screenshots be ok?

oh - give me a moment while i try to get it using plutil

CFBundleDevelopmentRegion
en
CFBundleDisplayName
Health Storylines
CFBundleExecutable
${EXECUTABLE_NAME}
CFBundleGetInfoString

CFBundleIcons

CFBundleIcons~ipad

CFBundleIdentifier
com.healthstorylines.carcinoidnets
CFBundleInfoDictionaryVersion
6.0
CFBundleName
${PRODUCT_NAME}
CFBundlePackageType
APPL
CFBundleShortVersionString
7.12
CFBundleSignature
????
CFBundleURLTypes

CFBundleURLName
com.mixpanel.healthstorylines
CFBundleURLSchemes

hsmpdeeplink

CFBundleVersion
56
Fabric

APIKey
afd958b5b041a2b91b47b034b8de6d1f5158d6af
Kits

KitInfo

KitName
Crashlytics

LSApplicationCategoryType

LSRequiresIPhoneOS

NSAppTransportSecurity

NSExceptionDomains

acaai.org

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

add.org

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

allergyasthmanetwork.org

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

amazonaws.com

NSIncludesSubdomains

NSThirdPartyExceptionMinimumTLSVersion
TLSv1.0
NSThirdPartyExceptionRequiresForwardSecrecy

amazonaws.com.cn

NSIncludesSubdomains

NSThirdPartyExceptionMinimumTLSVersion
TLSv1.0
NSThirdPartyExceptionRequiresForwardSecrecy

bodymedia.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

dailymile.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

fatsecret.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

fitbit.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

fitbug.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

flurry.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

garmin.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

getqardio.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

google-analytics.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

googleapis.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

gstatic.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

healthstorylines.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

help4hep.org

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

hfsa.org

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

ihealthlabs.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

ipsencares.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

jawbone.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

jsdelivr.net

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

lfconnect.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

localhost

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

misfitwearables.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

mixpanel.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

movable.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

moves-app.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

mxpnl.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

mytelcare.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

pubnub.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

pureroom.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

runkeeper.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

selfcarecatalysts.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

somatulinedepot.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

strava.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

validic.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

vitadock.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

withings.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

NSPhotoLibraryUsageDescription
This app can use photo you select from your library to set as display pitures
ServerURL
carcinoidnets.healthstorylines.com
UIAppFonts

streamline.ttf
hsicons.ttf
ionicons.ttf
Roboto-Medium.ttf
Roboto-Bold.ttf
Lato-Semibold.ttf
Roboto-Regular.ttf
Lato-Bold.ttf
Lato-Light.ttf
Lato-Medium.ttf
Lato-Regular.ttf
Lato-Thin.ttf

UILaunchStoryboardName
Launch
UIMainStoryboardFile
Main
UIRequiredDeviceCapabilities

armv7
gamekit

UIRequiresFullScreen

UISupportedInterfaceOrientations

UIInterfaceOrientationPortrait

UISupportedInterfaceOrientations~ipad

UIInterfaceOrientationPortrait
UIInterfaceOrientationPortraitUpsideDown

UIViewControllerBasedStatusBarAppearance

aps-environment
production

CFBundleDevelopmentRegion
en
CFBundleDisplayName
Health Storylines
CFBundleExecutable
${EXECUTABLE_NAME}
CFBundleGetInfoString

CFBundleIcons

CFBundleIcons~ipad

CFBundleIdentifier
com.healthstorylines.carcinoidnets
CFBundleInfoDictionaryVersion
6.0
CFBundleName
${PRODUCT_NAME}
CFBundlePackageType
APPL
CFBundleShortVersionString
7.12
CFBundleSignature
????
CFBundleURLTypes

CFBundleURLName
com.mixpanel.healthstorylines
CFBundleURLSchemes

hsmpdeeplink

CFBundleVersion
56
Fabric

APIKey
afd958b5b041a2b91b47b034b8de6d1f5158d6af
Kits

KitInfo

KitName
Crashlytics

LSApplicationCategoryType

LSRequiresIPhoneOS

NSAppTransportSecurity

NSExceptionDomains

acaai.org

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

add.org

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

allergyasthmanetwork.org

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

amazonaws.com

NSIncludesSubdomains

NSThirdPartyExceptionMinimumTLSVersion
TLSv1.0
NSThirdPartyExceptionRequiresForwardSecrecy

amazonaws.com.cn

NSIncludesSubdomains

NSThirdPartyExceptionMinimumTLSVersion
TLSv1.0
NSThirdPartyExceptionRequiresForwardSecrecy

bodymedia.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

dailymile.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

fatsecret.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

fitbit.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

fitbug.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

flurry.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

garmin.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

getqardio.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

google-analytics.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

googleapis.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

gstatic.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

healthstorylines.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

help4hep.org

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

hfsa.org

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

ihealthlabs.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

ipsencares.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

jawbone.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

jsdelivr.net

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

lfconnect.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

localhost

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

misfitwearables.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

mixpanel.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

movable.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

moves-app.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

mxpnl.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

mytelcare.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

pubnub.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

pureroom.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

runkeeper.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

selfcarecatalysts.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

somatulinedepot.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

strava.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

validic.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

vitadock.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

withings.com

NSIncludesSubdomains

NSTemporaryExceptionAllowsInsecureHTTPLoads

NSPhotoLibraryUsageDescription
This app can use photo you select from your library to set as display pitures
ServerURL
carcinoidnets.healthstorylines.com
UIAppFonts

streamline.ttf
hsicons.ttf
ionicons.ttf
Roboto-Medium.ttf
Roboto-Bold.ttf
Lato-Semibold.ttf
Roboto-Regular.ttf
Lato-Bold.ttf
Lato-Light.ttf
Lato-Medium.ttf
Lato-Regular.ttf
Lato-Thin.ttf

UILaunchStoryboardName
Launch
UIMainStoryboardFile
Main
UIRequiredDeviceCapabilities

armv7
gamekit

UIRequiresFullScreen

UISupportedInterfaceOrientations

UIInterfaceOrientationPortrait

UISupportedInterfaceOrientations~ipad

UIInterfaceOrientationPortrait
UIInterfaceOrientationPortraitUpsideDown

UIViewControllerBasedStatusBarAppearance

aps-environment
production

That might be your issue (it being a binary plist would mean that it could contain sequences that are undefined in UTF-8, which is exactly what the exception states), I'd suggest converting it back to xml. A quick google search turned up that plutil -convert xml1 Info.plist should work.

indeed that might be part of it. i was able to use plutil to provide the xml above. after rerunning however, i face a new issue but seems to be related to update_info_plist:
/Users/scc/.rbenv/versions/2.0.0-dev/lib/ruby/gems/2.0.0/gems/xcodeproj-1.4.1/lib/xcodeproj/plist.rb:23:in read_from_path': cannot load such file -- nanaimo (LoadError)
from /Users/scc/.rbenv/versions/2.0.0-dev/lib/ruby/gems/2.0.0/gems/fastlane-1.108.0/lib/fastlane/actions/update_info_plist.rb:37:in run'        	from /Users/scc/.rbenv/versions/2.0.0-dev/lib/ruby/gems/2.0.0/gems/fastlane-1.108.0/lib/fastlane/runner.rb:202:in block (2 levels) in execute_action'
from /Users/scc/.rbenv/versions/2.0.0-dev/lib/ruby/gems/2.0.0/gems/fastlane-1.108.0/lib/fastlane/actions/actions_helper.rb:35:in execute_action' ...
i will keep looking into this but let me know if you see something obvious!

Seems like you're missing the nanaimo gem, try installing it manually using gem install nanaimo.
Anyway, I also see you're using ruby version 2.0.0, which we don't really support. We are slowly rolling out a new installation method which has everything you need to run fastlane in a self-contained bundle. If you want, you could try installing the fastlane bundle from this link - that should also fix the issue you posted above. After downloading, just run the install script from a terminal or by right-clicking and selecting "Open", then follow the instructions.

i was experimenting with ruby 2.0.0 today but i actually use 2.2.2. i also just install 2.3.0-dev to see if it would make a difference but no luck yet. i installed nanaimo gem... i think its an intermittent thing not really the real issue.
thanks for sticking with me!
what i found was that by running plutil, i can revover the plist file into xml and it becomes readable as xml in sublime. BUT as soon as i run fastlane, it changes my plist file into hex, as seen in this issue: https://github.com/fastlane/fastlane/issues/6810
ill work on trying out your zip now!

but my version in the ios project folder did not change

What do you mean?

BUT as soon as i run fastlane, it changes my plist file into hex, as seen in this issue: #6810

Oooh, so that's a different issue. I will close this one for now since it's a duplicate of this other, underlying issue. We can track the progress there. If you are still interested in setting up the fastlane bundle, feel free to continue posting to this issue.


Normalization

What is the best way to match the observed (already normalized) with the synthetic spectrum?

find the median of the max points
linear fit

Normalization has be made similar to iraf continuum task. Need to check if it is suffiecient enough to match synthetic.

Nice job :+1:
We could make a GUI (another tab) for normalizing a spectrum. Maybe by placing continuum points and make a spline through the points for normalization. I've seen this somewhere before made in Python.

Yeap! Interactive normalization works better. There are very good tasks in iraf and idl. I hope there are efficient ones in pyhton.

For completeness, the example is here: http://python4esac.github.io/plotting/specnorm.html
All the code is there, we can just take it, pack it into MOOGme, and give a nice reference to them inside the code :palm_tree:


Version constraints in dotnet pack

Closes #795
A bit of a hacky solution to force a [lowerBound, upperBound) version constraint in the nupkgs for ProjectReference.

/azp run full build

Found a less hacky way to do the exact same thing: https://github.com/NuGet/Home/issues/5556#issuecomment-585482714

/azp run full build

/azp run full build


[Feature request] Add a wait command

In some case you would like to add an arbitrary wait (not dependent on a UI element becoming visible/not visible). Just wait for a defined time. Something like :

- wait:
     duration: 30000

Though I understand that sometimes it might be tempting to just add a wait command, we are discouraging users from doing so as it is a sure way to introduce flakiness in tests. For that reason, we are going to intentionally avoid adding this command for as long as we can.
In those rare cases where this command is unavoidable, consider either using either solution from #176 or doing something like this:
- extendedWaitUntil:
       notVisible: .*     # Regular expression that matches any view
       timeout: 30000

@dmitry-zaitsev The notVisible: .* step always fails for me after the timeout. 🤔

It still fails for me as well

Though I understand that sometimes it might be tempting to just add a wait command, we are discouraging users from doing so as it is a sure way to introduce flakiness in tests. For that reason, we are going to intentionally avoid adding this command for as long as we can.
In those rare cases where this command is unavoidable, consider either using either solution from #176 or doing something like this:
- extendedWaitUntil:
       notVisible: .*     # Regular expression that matches any view
       timeout: 30000

@dmitry-zaitsev  The code you posted does not work. The flow would fail. One way to make this workaround work would be to accept optional selector on extendedWaitUntil. Then we could do something like this:
- extendedWaitUntil:
       notVisible: .*     # Regular expression that matches any view
       timeout: 30000
       optional: true


Enable MQTT encryption on Wifi

If CA, CERT and KEY are empty -> Unsecure MQTT
If CA is filled but CERT and KEY are empty -> Encrypted MQTT
If CA, CERT and KEY are filled -> Encrypted MQTT with client vaildation

I had to include a function printErrors() to WifiDevice class to debug SSL errors. A call to _wifiClientSecure->lastError is needed to get the exact SSL error when the client cannot connect (i.e. invalid certificates). I have also added a call to print current heap usage to that printErrors function to identify low heap errors.

Hi,
thanks for your welcome contribution, I'll approve your pull request.


Proposal to reduce the ranging mode duration

An email was sent to the power,inference WGs for this, still adding as an issue for better tracking.
During the last LLM taskforce meeting the long runtime of the LLMs was raised as a concern and this is double in the case of power runs. I'm just giving one of our systems as an example for gpt-j model where we would like to submit some open variants.

Runtime for the offline scenario: ~13 hours (at 450W GPU). If we run 4 models, it is more than 2 days for just the offline scenario on a single system, and with a complete ranging mode run, this means an additional 2 days at least. This will be way worse for those doing closed models and we are not even talking about GPT3 model here.

In order to find the optimal duration of the ranging mode I collected the below data from the 3.0 inference results and we can see that with just a 2-minute ranging mode run, the worst-case power delta compared to a full duration is ~10%. Compared to inference 3.0 round, in the current master branch, we are already multiplying the current measured during ranging mode by 10% and so this means that even if we reduce the ranging mode duration by 2 minutes, there won't be any change in the results and it can benefit all the power submitters. Of course, we can multiply the current measured during the ranging mode by 1.25 or make the ranging mode go to 5 minutes to be extra safe but if we are forced to do a full ranging mode run, we won't be able to do any power submission for LLMs.
AI: There is no code change needed to reduce the ranging mode duration - but submitters must be allowed to use different user_conf files for the ranging and testing mode runs. We already have the code in power-dev which checks for the avg_power delta between the ranging and testing modes and so this change should be completely safe.
Power Data from inference 3.0
In the below graph, X-axis shows the avg_power for the specified durations and the y-axis shows the delta of the avg_power for the given duration compared to the average power during the entire duration.

This can be done in a much cleaner way inside loadgen so that it becomes transparent to the users if loadgen can identify the ranging and testing mode runs. Since this is not currently possible, we tried this mechanism and it worked well.


[BUG] Cannot Create Document Monitors on 2.18

What is the bug?
When trying to create a per document monitor with the extraction query editor and using the default query with match_all, the following error is raised [alerting_exception] Can't get text on a START_OBJECT at 1:280
How can one reproduce the bug?
Steps to reproduce the behavior:

Go to 'Alerting'
Click on 'Monitors'
Click 'Create monitor'
Select 'Per document monitor'
Use the 'Extraction query editor'
Keep the default query and click 'Create'

What is the expected behavior?
The monitor should create without error
What is your host/environment?

OS: kubernetes 1.28 w/ opensearch images
Version 2.18
Plugins: Security, Dashboards

[Catch All Triage - 1, 2, 3, 4, 5]


SPECIFICATION.md is not redistributable

The file SPECIFICATION.md, present in both the GitHub repository and the published crates, has a proprietary license that does not allow redistribution. In particular, see:
https://github.com/Majored/rs-async-zip/blob/v0.0.17/SPECIFICATION.md#14-permitted-use
which says, among other things, “Any reproduction or distribution of this document in whole or in part without prior written permission from PKWARE is strictly prohibited.”
I believe this file should be removed from the GitHub repository and a new release should be issued which does not contain SPECIFICATION.md in the crate.

Thanks for bringing this to my attention. Must've somehow missed that statement when reading through. Bit of a shame given I've only included to better format with markdown and reference within comments using direct links to sections.
It's been removed from the main branch. 👍

Thank you for the quick follow-up!

Are you planning a new release with 2d841d600c6d509cb4ecc611001ec339876ca6c9, by any chance?


No Loadbalancer is created for 5.1.0

Help
The operator appears not to work for 5.1.0 and no loadbalancer is created

The emqx-replicant and ingress loadbalancer are not created any longer. This is now unusable with the current version

Hi, @fabltd Sorry the EMQX Operator 2.1 doesn't compatible EMQX 5.1, it just can install EMQX 5.0.
In EMQX 5.1, the EMQX development team introduced some break changes, so EMQX Operator 2.1 cannot support it perfectly. We are currently developing EMQX Operator 2.2.

Some simple modifications to the EMXQ custom resources may allow you to deploy EMQX 5.1 through EMQX Operator 2.1:

add env[].name: EMQX_API_KEY__BOOTSTRAP_FILE and env[].value: '"/opt/emqx/data/bootstrap_user"' for .spec.coreTemplate.spec, please note the single and double quotes of the value of environment variables.
Manually add the ports you want to listen to in listenersServiceTemplate, just like k8s service resources.

Hi sorry where do I add the example. Can you show me a code snippet as to where to install?

Sure, the example like this:
apiVersion: apps.emqx.io/v2alpha1
kind: EMQX
metadata:
    name: emqx
# Core
spec:
    image: emqx/emqx:5.1.0
    coreTemplate:
      metadata:
        name: emqx-core
        labels:
          apps.emqx.io/instance: emqx
          apps.emqx.io/db-role: core
        annotations:
      spec:
        env:
        - name: EMQX_API_KEY__BOOTSTRAP_FILE
          value: '"/opt/emqx/data/bootstrap_user"'
        podSecurityContext:
              runAsUser: 1000
              runAsGroup: 1000
              fsGroup: 1000
              fsGroupChangePolicy: Always
              supplementalGroups:
                - 1000
        volumeClaimTemplates:
            #storageClassName: standard-rwo
            resources:
              requests:
                storage: 1Gi
            accessModes:
              - ReadWriteOnce
        replicas: 3
# BootStrap Config
    bootstrapConfig: |
        dashboard {
          default_username: "admin"
          default_password: "public"
        }
# Dashboard
    dashboardServiceTemplate:
      metadata:
        name: emqx-dashboard
      spec:
        type: NodePort
        selector:
          apps.emqx.io/db-role: core
        ports:
          - name: "dashboard-listeners-http-bind"
            protocol: TCP
            port: 18083
            targetPort: 18083
            nodePort: 30008
# Listeners
    listenersServiceTemplate:
      metadata:
        name: emqx-listeners
      spec:
        type: LoadBalancer
        sessionAffinity: ClientIP
        ports:
        - name: tcp-default
          port: 1883
          protocol: TCP
          targetPort: 1883
        - name: ssl-default
          port: 8883
          protocol: TCP
          targetPort: 8883
        - name: ws-default
          port: 8083
          protocol: TCP
          targetPort: 8083
        - name: wss-default
          port: 8084
          protocol: TCP
          targetPort: 8084

Thanks
I did try the ports in the listener and still no LB was created. Also it's not starting any replicants?
What's ETA on new operator ?

I did try the ports in the listener and still no LB was created. Also it's not starting any replicants?

Could you please check the EMQX custom resource status ? the replicant node will be create after core nodes ready, and if we don't set the env for EMQX_API_KEY__BOOTSTRAP_FILE, the core nodes never will be ready.

What's ETA on new operator ?

We plan to release EMQX Operator 2.2 in July. Due to certain reasons, we will start supporting from EMQX 5.1.1 and EMQX 5.1.0 will not be supported.

This works replicant and loadbalancer are created. Thank you

You're welcome, I will close this issue. Please look forward to EMQX Operator 2.2.


Checkbox input onChange handler

Clicking on the checkbox input element throws the error:
Uncaught TypeError: Cannot read property 'parents' of undefined [aui.js:273 (anonymous function)]

v0.6.0 should fix this checkbox issue.


Harden jupyter-remote-desktop-proxy against reconnects

Whenever we disrupt ingress-nginx that routes traffic, for example during monthly upgrades of the helm chart or similar, we disrupt users working against a remote desktop UI (QGIS etc). When that happens, they won't get re-connected and have to refresh their browser manually.
I'd like us to fix this known issue before we get reports about it from support that prompts investigations and additional work that we could have avoided.
The key thing here is to get functionality from https://github.com/jupyterhub/jupyter-remote-desktop-proxy/pull/81 to land in a release.

I unfortunately don't have time in the next few weeks to continue that PR. From talking to the folks who use QGIS right now, this also isn't that critical and should not block a 2.0 release of that project. The most critical issue for them is finding ways back to the control panel and what not, which is provided by PRs that have already been merged but not deployed yet.

The initial connection attempt often fails currently, and whenever we merge PRs bumping ingress-nginx like in #2067 recently, users need to figure out they should reconnect manually by refreshing.

I could also pick this up - I think its a priority to get done before we are asked via support about it.


Cant compile 1.1.5

menu/menu/android/src/main/java/com/reactnativemenu/MenuViewManager.kt:155:32 Type mismatch: inferred type is Int? but Float was expected

Hi,
I have the same error.
For which version of React Native are you building?

Hi,
I have the same error.
For which version of React Native are you building?

0.75.4

Same error. RN 0.75.4

Task :react-native-menu_menu:compileDebugKotlin
e: file:///Users/mac/Dev/dev2/MyApp/node_modules/@react-native-menu/menu/android/src/main/java/com/reactnativemenu/MenuViewManager.kt:155:32 Type mismatch: inferred type is Int? but Float was expected
e: file:///Users/mac/Dev/dev2/MyApp/node_modules/@react-native-menu/menu/android/src/main/java/com/reactnativemenu/MenuViewManager.kt:155:32 No value passed for parameter 'p2'

Task :react-native-menu_menu:compileDebugKotlin FAILED

Same issue here, using React Native 0.74.5 on the project.
You can either solve it with two work arounds:
Putting a resolutions on your package.json so the react-native-menu version will stick to the 1.1.4, like this:
"resolutions": {
  "@react-native-menu/menu": "1.1.4"
},

or even go to the file that is generating the error (MenuViewManager.kt) and override the function to utilize the code from the previous version, so it will stay like this:
fun setBorderColor(view: ReactViewGroup, index: Int, color: Int?) {
  val rgbComponent = if (color == null) YogaConstants.UNDEFINED else (color and 0x00FFFFFF).toFloat()
  val alphaComponent = if (color == null) YogaConstants.UNDEFINED else (color ushr 24).toFloat()
  view.setBorderColor(SPACING_TYPES[index], rgbComponent, alphaComponent)
}

Same here, downgrading to 1.1.4 works for me.
0.74.5 with new arch enabled

This issue originated from my previous PR https://github.com/react-native-menu/menu/pull/941, which aimed to update the codebase for React Native 0.76 compatibility. I've now created another PR (#948) to restore backward compatibility with earlier versions. This should help.

I tried updating from version 0.75.4 to 0.76.0, and it's giving an error. Does anyone know if it's working with the new RN update to 0.76.0?

I tried updating from version 0.75.4 to 0.76.0, and it's giving an error. Does anyone know if it's working with the new RN update to 0.76.0?

It should work. Make sure you're using version 1.1.5, which includes the necessary signature changes for ReactViewGroup introduced in React Native 0.76.

should be fixed in 1.1.6

No problem. I've upgraded RN version to 0.76.
Now no errors.
Thank you.

Same issue here, using React Native 0.74.5 on the project.
You can either solve it with two work arounds: Putting a resolutions on your package.json so the react-native-menu version will stick to the 1.1.4, like this:
"resolutions": {
  "@react-native-menu/menu": "1.1.4"
},

or even go to the file that is generating the error (MenuViewManager.kt) and override the function to utilize the code from the previous version, so it will stay like this:
fun setBorderColor(view: ReactViewGroup, index: Int, color: Int?) {
  val rgbComponent = if (color == null) YogaConstants.UNDEFINED else (color and 0x00FFFFFF).toFloat()
  val alphaComponent = if (color == null) YogaConstants.UNDEFINED else (color ushr 24).toFloat()
  view.setBorderColor(SPACING_TYPES[index], rgbComponent, alphaComponent)
}

thanks, this work for me


[Admin APIs] Pagination not working for listGroups API action

How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
18.19.0
Amplify CLI Version
12.10.3
What operating system are you using?
Mac
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No
Describe the bug
listGroups API action present in Admin Actions API is not giving correct results when number of groups present in Cognito user pool is more than 25. In first call, only 25 groups are returned.
Expected behavior
25 groups should be returned along with value of NextToken to be used for subsequent calls.
Reproduction steps
Install admin actions API, create more than 25 groups in Cognito user pool and invoke listGroups API.
Project Identifier
No response
Log output

# Put your logs below this line

Additional information
No response
Before submitting, please confirm:

[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

The fix for this was released in version 12.12.0


Showing discard change prompt on save

Steps to reproduce

Edit a service of webservice type
Change the image
Keep the focus on the edited field.
Click Save

Result
A prompt telling user to discard changes pops up.
https://github.com/seal-io/walrus/assets/5697937/d6941863-60e2-43af-a253-eb2f7f070874
Environment

Walrus version: main

Verify result: Failed
In UI version dev-9cbb6ba
The prompt still pops up on save

Issue 2:
Edit a service, change nothing and click cancel. The prompt also shows up.

Happens again in main

Verified in UI dev-ed9e02d

Still happens by the following steps:

Add a resource definition with kubernetes-redis and static-redis templates
Create a resource from the definition

Another way to reproduce:

Create a service using static-postgresql template.

Verified in main.


Update README.md

Added installation instructions.

Thanks for the pull request, I added instructions in my latest commit.


A3C dont have acceleration effect？

I run the A3C(as it in the mxnet sample after fix bug https://github.com/dmlc/mxnet/pull/5473 ) with same parameters. However in aws with 1cpu 32 cores,,I run it with 1cores-1worker,  4cores-4worker, 16cores-16worker, I didn't see any improment, anyone has campare the results under different situation? any advice

@piiswrong

operators are already multi threaded and using all 32 cores

the improvement can be revealed  in gpu mode, because the multi-env is build in gpu, i think. you can have a try

This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks!