Bug inside ViewPager

Hey Hannes,
I created a sample project to show the bug. I'm using mosby with MVI inside a ViewPager (with stateAdapter), when you navigate to the mvi fragment, go back the view pager "destruction" offset and go forward again, the app crashes.
It also happens if you start an Activity, navigate to the mvi fragment (inside view pager), go back (Destroying the Activity and start a new activity), the crash also happens.
Thanks and nice job !
Mosby Version:3.0.4
Expected behavior: Show fragment with no problem
https://github.com/leonardo2204/mvibug

Thanks,
I will take a look tomorrow.
We actually use MviFragment and ViewPager a lot at work (in Production for
more than a year) and havent faced such an issue yet.
Leonardo Ferrari<EMAIL_ADDRESS>schrieb am Fr., 21. Juli 2017,
22:24:

Hey Hannes,
I created a sample project to show the bug. I'm using mosby with MVI
inside a ViewPager (with stateAdapter), when you navigate to the mvi
fragment, go back the view pager "destruction" offset and go forward again,
the app crashes.
It also happens if you start an Activity, navigate to the mvi fragment
(inside view pager), go back (Destroying the Activity and start a new
activity), the crash also happens.
Thanks and nice job !
Mosby Version:3.0.4
Expected behavior: Show fragment with no problem
https://github.com/leonardo2204/mvibug
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sockeqwe/mosby/issues/266, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAjnrgxbsKnd5HvQmrA7HqMZMhBdQYo7ks5sQQkagaJpZM4Of2rA
.

Thanks for the quick reply.
Just a heads up, the problem seems to occur with FragmentStatePagerAdapter, changing to FragmentPagerAdapter works fine.

Ah that might be the reason. Thanks for the information!
Leonardo Ferrari<EMAIL_ADDRESS>schrieb am Fr., 21. Juli 2017,
22:41:

Thanks for the quick reply.
Just a heads up, the problem seems to occur with FragmentStatePagerAdapter,
changing to FragmentPagerAdapter works fine.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/sockeqwe/mosby/issues/266#issuecomment-317107266, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAjnrlH_b3lJsaz4SHzYrb8KjrG02eb9ks5sQQzjgaJpZM4Of2rA
.

Sure, I'm trying to figure out here also, I learnt that the fragment and activity variables get destroyed, but the MviDelegate stays in memory. After going back and forth, it tries to get the activity or fragment, but the delegate constructor is not called (since it's kept in memory), and it crahses.

Without having looked at your code, i think I know what the problem is.
should be easy to reproduce and fix with your provided example.
Leonardo Ferrari<EMAIL_ADDRESS>schrieb am Fr., 21. Juli 2017,
23:07:

Sure, I'm trying to figure out here also, I learnt that the fragment and
activity variables get destroyed, but the MviDelegate stays in memory.
After going back and forth, it tries to get the activity or fragment, but
the delegate constructor is not called (since it's kept in memory), and it
crahses.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/sockeqwe/mosby/issues/266#issuecomment-317112964, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAjnrviccDXNlJOCeq3Gxd-60Dx6-VtFks5sQRMsgaJpZM4Of2rA
.

Cool, thanks !

Interesting, you do the following:
    List<Fragment> fragmentList =
        Arrays.asList(new EmptyFragment(), new EmptyFragment(), new MviFragment());

    public MyAdapter(FragmentManager fm) {
      super(fm);
    }

    @Override public Fragment getItem(int position) {
      return fragmentList.get(position);
    }

    @Override public int getCount() {
      return fragmentList.size();
    }
  }

So you keep all your fragments in the ´fragmentList`  and reuse the instance from the list.
I don't know if this is good practice (and I never did it like that, hence I never run into this issue).
from official google docs:
    /**
     * A simple pager adapter that represents 5 ScreenSlidePageFragment objects, in
     * sequence.
     */
    private class ScreenSlidePagerAdapter extends FragmentStatePagerAdapter {
        public ScreenSlidePagerAdapter(FragmentManager fm) {
            super(fm);
        }

        @Override
        public Fragment getItem(int position) {
            return new ScreenSlidePageFragment();
        }

        @Override
        public int getCount() {
            return NUM_PAGES;
        }

Source: https://developer.android.com/training/animation/screen-slide.html#viewpager
So I have no idea if this is a good idea to keep the fragment in memory like you did. Not sure if this is the intended way.
With an adapter like this (creates new fragment every time) I don't run into this bug:
class MyAdapter extends FragmentStatePagerAdapter {

    public MyAdapter(FragmentManager fm) {
      super(fm);
    }

    @Override public Fragment getItem(int position) {
            if (position == 2)
                return new MviFragment();

            return new EmptyFragment();
    }

    @Override public int getCount() {
      return fragmentList.size();
    }
  }

It also happens if you start an Activity, navigate to the mvi fragment (inside view pager), go back (Destroying the Activity and start a new activity), the crash also happens.

Not able to reproduce this add all (with your original ViewPager adapter that uses fragmentList).

I actually have a wizard screen with variables steps, and I was creating the "steps" screen (fragments) according to necessity, adding them to a List.
Bottom line, am I doing something wrong (I mean, which is the best way to reuse the fragments in a wizard like ViewPager) or maybe my sample did not work in your side ?
Again, thanks for helping !

I could fix this crash, but I'm not sure what the consequences are and if I should let them left to the developer.
For example: Presenter gets detachView(false) or (unbindIntents() in MVI) call so that the presenter is technically "destroyed" if you swipe away from the MviFragment in ViewPager. Then if you swipe back the MviFragment it is reused from your List of Fragments, so is the associated Presenter. However, the Presenter has technically been "destoryed" before by calling detachView(false) / unbindIntents(). So we might have to setup the presenter again by calling bindIntents() etc. That would be doable. But is your presenter still working as expected after "reusing it?" it really depends if the user stores some internal state in his presenter. Then it might not be working anymore as expected. Hence instantiating a new fresh Presenter instance would be better. But then what's the point of keeping a Fragment Reference in the list?
So a possible fix could be: Don't crash, but don't reuse the presenter (so create a new fresh Presenter instance).
What do you think?

I've given this some thought and I agree with your points. I guess it was a poor implementation on my side. I completely rewrote it and it now works as expected.
Thanks for your help on that matter and explanations :D


Support 3.4 runtime (and others)

We have users with python 3.4. Should we build and upload 3.4 runtime? and other python versions?

Is it the pickling / serialization that is sensitive to even minor version changes in Python ? I think adding 3.4 might be fine as it is probably in the top-3 of versions used (see https://hynek.me/articles/python3-2016 for example), but maintaining more versions does make testing etc. more expensive

I think it's easier for most of the users we care about to make them upgrade to 3.x then try and support an additional runtime. Runtime builds already take too long.

The other issue here is that we don't want to increase our test runtime by 33%

Agree on that testing is one huge concern here.
However, I still don't want to have nightmares of those 3.4 users struggling and suffering.
One potential solution I'm thinking, is that can we:
1, only test 2.6 and 3.6 for development -- this even reduces our current testing time
2, testing all sub-versions for releases
The hope here is that differences between subversion should be small and easy to fix.

I'm going to mark this closed given that we now 1. bail on setup.py if we have less than 3.4 and 2. have 3.4 runtimes deployed to the new runtime location


Could not run Elastic Search conatiner as non-root

Describe the bug
A clear and concise description of what the bug is.
As mentioned in the enhancement https://github.com/opendistro-for-elasticsearch/opendistro-build/pull/703, we tried creating ODFE pods running as non-root user using ODFE 1.13.2 docker image and helm chart. The pod creation fails with the following error:
xxxx]$ kubectl logs -f test-opendistro-es-client-6bbb7dd9fd-przsc elasticsearch
OpenDistro for Elasticsearch Security Demo Installer
** Warning: Do not use on production or public reachable systems **
Basedir: /usr/share/elasticsearch
Elasticsearch install type: rpm/deb on CentOS Linux release 7.9.2009 (Core)
Elasticsearch config dir: /usr/share/elasticsearch/config
Elasticsearch config file: /usr/share/elasticsearch/config/elasticsearch.yml
Elasticsearch bin dir: /usr/share/elasticsearch/bin
Elasticsearch plugins dir: /usr/share/elasticsearch/plugins
Elasticsearch lib dir: /usr/share/elasticsearch/lib
Detected Elasticsearch Version: x-content-7.10.2
Detected Open Distro Security Version: <IP_ADDRESS>
Success
Execute this script now on all your nodes and then start all nodes
tee: securityadmin_demo.sh: Permission denied
To Reproduce
Steps to reproduce the behavior:

Download ODFE helm 1.13.2
Run 'helm install test . -f values-nonroot.yaml'
Pod creation fails

Expected behavior
A clear and concise description of what you expected to happen.
ES container should be up and running as non root
Configuration (please complete the following information):

ODFE/Kibana version 1.13.2
Distribution: NA
Host Machine:NA

Relevant information
Please include any relevant log snippets or files here.
xxxx]$ kubectl logs -f test-opendistro-es-client-6bbb7dd9fd-przsc elasticsearch
OpenDistro for Elasticsearch Security Demo Installer
** Warning: Do not use on production or public reachable systems **
Basedir: /usr/share/elasticsearch
Elasticsearch install type: rpm/deb on CentOS Linux release 7.9.2009 (Core)
Elasticsearch config dir: /usr/share/elasticsearch/config
Elasticsearch config file: /usr/share/elasticsearch/config/elasticsearch.yml
Elasticsearch bin dir: /usr/share/elasticsearch/bin
Elasticsearch plugins dir: /usr/share/elasticsearch/plugins
Elasticsearch lib dir: /usr/share/elasticsearch/lib
Detected Elasticsearch Version: x-content-7.10.2
Detected Open Distro Security Version: <IP_ADDRESS>
Success
Execute this script now on all your nodes and then start all nodes
tee: securityadmin_demo.sh: Permission denied

@vijeswari
Hello, I am facing the same issue.
Do you find some solution for this issue?
/cc @oomichi

@vijeswari Hello, I am facing the same issue. Do you find some solution for this issue?
/cc @oomichi

I found a solution for this issue.
By specifying
  extraEnvs:
    - name: DISABLE_INSTALL_DEMO_CONFIG
      value: "true"

in values.yaml, the demo mode is disabled and it solves this issue on my side.

@oomichi
This solution did not work for us. We are relying on demo certificates for time being so disabling the demo config scripts has impact on the internal node communication on port 9300. Have you configured certificates post disabling demo config script?
Thank you


Catch-up subscription receives first event when lastCheckpoint is 0

When I set lastCheckpoint to a positive N, the callback receives events with numbers N+1, N+2, ...
But if lastCheckpoint is set to 0, it receives 0, 1, 2, ...
Is this intended? I'd expect this to happen only if lastCheckpoint is null.

You are right setting lastCheckpoint to 0 should only return events 1, 2, ...
Fixing this now. Should have a new package released later today.


CSE Machine: Add some control and stash animations

Description
This PR adds animations to the CSE Machine, which only play when the user clicks the next button.
Changes

[X] Added new CSEAnimation class that handles animation logic
[x] Added animations for specific CSE Machine actions:

Moving of literal from control to stash
Binary operation
Unary operation
Pop instruction
Addition of control items resulting from blocks, variable declarations and expression statements

Partially addresses #2701 #2591

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

-165 of 187 (11.76%)  changed or added relevant lines in 12 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.3%) to 36.878%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/commons/sideContent/SideContentEnvVisualizer.tsx
1
2
50.0%

src/features/envVisualizer/EnvVisualizerLayout.tsx
3
4
75.0%

src/features/envVisualizer/animationComponents/AnimationUtils.tsx
0
1
0.0%

src/features/envVisualizer/compactComponents/ArrayUnit.tsx
0
1
0.0%

src/features/envVisualizer/animationComponents/LiteralAnimation.tsx
0
5
0.0%

src/features/envVisualizer/animationComponents/PopAnimation.tsx
0
11
0.0%

src/features/envVisualizer/animationComponents/BlockAnimation.tsx
0
17
0.0%

src/features/envVisualizer/animationComponents/UnaryOperationAnimation.tsx
0
20
0.0%

src/features/envVisualizer/animationComponents/BinaryOperationAnimation.tsx
0
23
0.0%

src/features/envVisualizer/EnvVisualizerAnimation.tsx
16
41
39.02%

Totals

Change from base Build<PHONE_NUMBER>:
-0.3%

Covered Lines:
5743

Relevant Lines:
14643

💛  - Coveralls


Issues with Parallelism

I tried everything from asyncio, multiprocessing, threading. This library only works when its run the way in the docs.
The following snippet shows my attempt:
from tweeterpy import TweeterPy
import concurrent.futures

fp = open("acc_to_scrape.txt")
lines = fp.readlines()
fp.close()

thisTwitterAPI = TweeterPy()
thisTwitterAPI.login(OMIT)

def fetchFollowers(line):
    thisTwitterResponse = thisTwitterAPI.get_friends(line, follower=True)
    with open(f"./acc_followers/{line}.txt", "w") as fp:
        fp.write(thisTwitterResponse)

with concurrent.futures.ProcessPoolExecutor() as executor:
    executor.map(fetchFollowers, lines)

I keep getting: Unable to fetch data error.
Traceback:
Traceback (most recent call last):
  File "/home/OMIT/OMIT/.venv/lib/python3.10/site-packages/tweeterpy/request_util.py", line 32, in make_request
    return util.check_for_errors(response.json())
  File "/home/OMIT/OMIT/.venv/lib/python3.10/site-packages/tweeterpy/util.py", line 105, in check_for_errors
    raise Exception("Couldn't fetch data.")
Exception: Couldn't fetch data.
2024-02-08 02:08:37,180 [ERROR] :: Couldn't fetch data.

Hey, I will take a look at it this week, you can check the async branch in the meantime. Though I haven't updated it in a while, you can still take a look.
I will update you once it's fixed.

Hey @MunirG05
I just tested the code snipped you shared above and it seems to be working fine for me. I didn't get any errors. Any of the followings might a reason its throwing an error:

There might be some white spaces/new lines in the "acc_to_scrape.txt" file?
If you are scraping from multiple accounts, make sure you also use multiple user accounts (for logins). Because each account has rate limits and you are doing it concurrently so chances are, you are hitting rate limits in seconds.
Also make sure the "lines" variable holds the desired input.

If you are still unable to resolve it, just let me know. You can also share a screen recording on discord.
Let me know how it goes.

Hey @MunirG05
I just encountered the same error a while ago. It was not an issue with the Parallelism, but with the error handling. I checked the traceback in the logs and figured out I made an error in check_for_errors function in utils.py module.
This information might be useful in your case : It was showing me the error because it was unable to find the tweet as the tweet was deleted. While I was checking your code, I noticed that you're reading accounts/tweets from the .txt files and there maybe a chance that there is an unavailable account/tweet in the list. Hope it makes sense.
I have fixed it already and will be committing changes shortly.


indic-numerals

I am submitting

[x] a new package
[ ] an update for a package

Description: Explain what the package does and why it's useful.
This package converts arabic numerals to numerals of south asian languages such as Hindi.

I have read and followed the submission guidelines and, in particular, I

[x] selected a name that isn't the most obvious or canonical name for what the package does
[x] added a typst.toml file with all required keys
[x] added a README.md with documentation for my package
[x] have chosen a license and added a LICENSE file or linked one in my README.md
[x] tested my package locally on my system and it worked
[] excluded PDFs or README images, if any, but not the LICENSE

[x] ensured that my package is licensed such that users can use and distribute the contents of its template directory without restriction, after modifying them through normal use.

Closing this due to inactivity in combination with draft state. Free free to reopen if its ready.


M5Stack Core 2

Hi,
are you planning to support the touchscreen on the Core 2?
bert

Hi, @bert2002
I've been thinking a lot about it.
However, I haven't come to a conclusion yet.
I may update this library, or I may release a new GUI library.

I like either way ;)


npm ERR! missing script: ngx-translate-extract

then I try to run the script:
npm run ngx-translate-extract
I get this message:
npm ERR! missing script: ngx-translate-extract
I did the install steps:

npm install @biesbjerg/ngx-translate-extract --save-dev
Add a script to your project's package.json:
"scripts": {
"extract-i18n": "ngx-translate-extract --input ./src --output ./src/assets/i18n/strings.json --key-as-default-value --clean --sort --format namespaced-json"
}

I don't know whats wrong, other scripts like npm start or npm build, npm test all work fine.

Same problem, its the only script not working.
Error:
'ngx-translate-extract' is not recognized as an internal or external command,operable program or batch file.
"@biesbjerg/ngx-translate-extract": "^6.0.3",
"@angular/cli": "~9.0.7",

You are defining the script name as extract-i18n, so the correct way to run it would be npm run extract-i18n.

Yes thank you! my mistake.

HI, I just began to install this and I get the same error. I am calling the right command.

What is the line you added to in package.json?

@rattkin
I have tried:
"extract-translations": "ngx-translate-extract --input ./src --output ./src/assets/i18n/en.json --clean --sort --format namespaced-json --marker _"
"extract-translations": "ngx-translate-extract --input ./src --output ./src/assets/i18n/ --clean --sort --format namespaced-json --marker _"
"extract-translations": "npm run ngx-translate-extract --input ./src --output ./src/assets/i18n/en.json --clean --sort --format namespaced-json --marker _"
then on my command line I put==>  npm run extract-translations
I get the missing script error
When I run the command through my terminal:
npm run ngx-translate-extract --input ./src --output ./src/assets/i18n/en.json --key-as-default-value --clean --sort --format namespaced-json
I get the missing script error

the blue part is the name of the script. You should run: npm run extract-translations

@rattkin  yes that is what I did too

Could it be I need to install some dependencies?

I have the line in the picture I posted above in my package.json.
Then I run in terminal:
npm run extract-translations

I have the following:

and extracting the translation is not working for me. It tells me I have a missing script error.

@zavakare that does not look like contents of file package.json. please look into package.json file. You will find it in the root of the project.

I got it to work with a different @ngx-translate-extract version 4.2.0 however i get another error now

@zavakare that does not look like contents of file package.json. please look into package.json file. You will find it in the root of the project.

Yes it is not my package.json file. It is my version information.

This workaround fixed it for me:

Add to scripts in package.json:
"extract-i18n": "node<EMAIL_ADDRESS>--input ./src --output ./src/assets/i18n/en.json ./src/assets/i18n/de.json --format=namespaced-json --clean --sort",
Then execute npm run extract-i18n

I am receiving this error. Can someone help me? Ionic v7 and node 20.10 LTS/iron
My package.json has this script entry:
"extract-i18n": "node<EMAIL_ADDRESS>--input ./src --output ./src/assets/i18n/strings.json --format=namespaced-json --clean --sort"
And I am running:
npm run extract-i18n

node<EMAIL_ADDRESS>--input ./src --output ./src/assets/i18n/strings.json --format=namespaced-json --clean --sort

node:internal/modules/cjs/loader:1204
throw new ERR_REQUIRE_ESM(filename, true);
^
Error [ERR_REQUIRE_ESM]: require() of ES Module<EMAIL_ADDRESS>not supported.
Instead change the require of<EMAIL_ADDRESS>to a dynamic import() which is available in all CommonJS modules.
at Object. (/home/melhergui/www/smartrights.com/atila/smartright/node_modules/@biesbjerg/ngx-translate-extract/dist/parsers/pipe.parser.js:3:20) {
code: 'ERR_REQUIRE_ESM'
}
Node.js v20.10.0


Let the loadingBar have the same width as the viewerContainer

For years the loadingBar and sidebarContainer has had a slightly annoying and unfortunate dependency, since the loadingBar width follows the main toolbar width[1].
To prevent the loadingBar from obscuring part of the sidebarContainer, especially the buttons, the sidebarContainer is thus moved down when the loadingBar is visible. This has always annoyed me[2], since it means that the buttons in the sidebar may thus move vertically which seems bad from a UX perspective.
Now that CSS variables are available in all supported browsers[3] however, fixing the loadingBar/sidebarContainer overlap issues are finally easy. The solution is simply to let the sidebarContainer, when visible, control the loadingBar left position (right in RTL locales) in the same way that the viewerContainer is handled. Hence the sidebarContainer can now have a consistent vertical postition, without the loadingBar overlapping it.

[1] Obviously the right position (left in RTL locales) of the loadingBar is, potentially, reduced to account for a scrollbar.
[2] I've tried to fix this a few times, but it always seemed like more trouble than it's worth.
[3] https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties#Browser_compatibility

/botio-linux preview

Looks a bit cleaner indeed. Thanks!


replace corrective action summary

https://trello.com/c/7yOKSipX/278-5-replace-summary-of-action-on-corrective-action-with-type-of-action-taken
CHANGES:
This PR substitute free text "summary" field on corrective action for structured a list of predetermined actions. This list of actions is displayed as radio box.
This also has addressed the trading standard flow!
Deployment notes:
since the summary field has been removed for action and other_action. We will need to reindex all the investigation upon deploy.
$ cf7 run-task psd-pr-839 --command "export \$(./infrastructure/env/get-env-from-vcap.sh) && bin/rails runner  \"Investigation.__elasticsearch__.import(force: true)\""

Testing note
Check that all  previous corrective actions summaries have all been migrated successfully.
@nasirkhanbeis I will re-open the PR against a branch reflecting master. You will need to first create corrective action and then check later on that this is still displayed as the title after merging this branch in and then also verify that new and old corrective actions are searchable.

migration seems looking good, corrective actions are not searchable yet.
Steps to replicate

Add a corrective action ( e.g. import rejected at border)
Now to cases list page and search by keyword "import rejected at border"
returns 0 results, expected to return case against above corrective action added

Could we amend these fields

to align with the 'Under which legislation?' formatting?

think the naming convention in the table should be:
{truncated action}: {product name}
or if 'Other'
{free text}: {product name}


nvim cmp is trying to suggest things when I'm searching

I know this isn't exactly related to smart-open.nvim, as this problem can occur in any input,
but is there documentation somewhere for disabling cmp in everything except the main code buffers?

I'm no cmp expert by any means, but I found this issue: https://github.com/hrsh7th/nvim-cmp/issues/60
It says that any prompts that have a buftype of 'prompt' should be exempted from autocomplete popups.  This is handled by telescope, which does set the type to prompt as it should, so I think it might be something with your configuration somehow but I'm not sure.  Hopefully that points you in the right direction.


Publish to npm?

You list npm install but I cannot find an entry for it on npmjs?

Hi, npm install is about installing dependencies, not the module itself.

Ok, guess I can't use it then, best of luck though as it did the demos do look good.


Match code signing work locally but fails on CI runner (profile doesn't include signing certificate)

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
Code signing fails on the gitlab ci-runner, installed on a mac mini, but succeeds locally. I find this strange because I configured match, and they both use exactly the same cert & provisioning profile (UUID: b759f109-1928-41d8-acfe-09891b0274db).
CI pipeline build output that shows the exact error:
[17:53:57]: ▸ === BUILD TARGET trs OF PROJECT trs WITH CONFIGURATION Release ===
[17:53:57]: ▸ Check dependencies
[17:53:57]: ▸ Code Signing Error: Provisioning profile "nl.codeyellow.fastlane AppStore" doesn't include signing certificate "iPhone Distribution: Code Yellow BV (2U87FAMFLM)".
[17:53:57]: ▸ Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.2'

I should mention that I used this guide to migrate existing certificates & provisioning profile to match. This however decrypts fine on both environments.
Complete output when running fastlane, including the stack trace and command used

Local output
[japser@exogorth Work/trs-v2 .]% bundle exec fastlane ios beta > local-output
[17:55:23]: -------------------------------------------------
[17:55:23]: --- Step: Verifying required fastlane version ---
[17:55:23]: -------------------------------------------------
[17:55:23]: Your fastlane version 2.68.2 matches the minimum requirement of 2.28.3  ✅
[17:55:23]: ------------------------------
[17:55:23]: --- Step: default_platform ---
[17:55:23]: ------------------------------
[17:55:23]: Driving the lane 'ios beta' 🚀
[17:55:23]: -------------------
[17:55:23]: --- Step: match ---
[17:55:23]: -------------------
[17:55:23]: Successfully loaded '/Users/japser/Work/trs-v2/fastlane/Matchfile' 📄
+---------+----------------------------------------------+
|      Detected Values from './fastlane/Matchfile'       |
+---------+----------------------------------------------+
| git_url | git@gitlab.com:CodeYellowBV/certificates.git |
| type    | development                                  |
+---------+----------------------------------------------+
+-----------------------+----------------------------------------------+
|                       Summary for match 2.68.2                       |
+-----------------------+----------------------------------------------+
| type                  | appstore                                     |
| git_url               | git@gitlab.com:CodeYellowBV/certificates.git |
| git_branch            | master                                       |
| app_identifier        | nl.codeyellow.fastlane                       |
| username              |<EMAIL_ADDRESS>                        |
| keychain_name         | login.keychain                               |
| readonly              | false                                        |
| team_id               | 2U87FAMFLM                                   |
| verbose               | false                                        |
| force                 | false                                        |
| skip_confirmation     | false                                        |
| shallow_clone         | false                                        |
| clone_branch_directly | false                                        |
| force_for_new_devices | false                                        |
| skip_docs             | false                                        |
| platform              | ios                                          |
+-----------------------+----------------------------------------------+
[17:55:23]: Cloning remote git repo...
[17:55:23]: If cloning the repo takes too long, you can use the clone_branch_directly option in match.
[17:55:26]: 🔓  Successfully decrypted certificates repo
[17:55:26]: Verifying that the certificate and profile are still valid on the Dev Portal...
[17:55:28]: Installing certificate...
+-------------------+--------------------------------------------------+
|                        Installed Certificate                         |
+-------------------+--------------------------------------------------+
| User ID           | 2U87FAMFLM                                       |
| Common Name       | iPhone Distribution: Code Yellow BV (2U87FAMFLM) |
| Organisation Unit | 2U87FAMFLM                                       |
| Organisation      | Code Yellow BV                                   |
| Country           | US                                               |
| Start Datetime    | Feb 17 14:36:24 2017 GMT                         |
| End Datetime      | Feb 17 14:36:24 2018 GMT                         |
+-------------------+--------------------------------------------------+
[17:55:29]: Installing provisioning profile...
+---------------------+---------------------------------------------+---------------------------------------------+
|                                         Installed Provisioning Profile                                          |
+---------------------+---------------------------------------------+---------------------------------------------+
| Parameter           | Environment Variable                        | Value                                       |
+---------------------+---------------------------------------------+---------------------------------------------+
| App Identifier      |                                             | nl.codeyellow.fastlane                      |
| Type                |                                             | appstore                                    |
| Platform            |                                             | ios                                         |
| Profile UUID        | sigh_nl.codeyellow.fastlane_appstore        | b759f109-1928-41d8-acfe-09891b0274db        |
| Profile Name        | sigh_nl.codeyellow.fastlane_appstore_profi  | nl.codeyellow.fastlane AppStore             |
|                     | le-name                                     |                                             |
| Profile Path        | sigh_nl.codeyellow.fastlane_appstore_profi  | /Users/japser/Library/MobileDevice/Provisi  |
|                     | le-path                                     | oning                                       |
|                     |                                             | Profiles/b759f109-1928-41d8-acfe-09891b027  |
|                     |                                             | 4db.mobileprovision                         |
| Development Team ID | sigh_nl.codeyellow.fastlane_appstore_team-  | 2U87FAMFLM                                  |
|                     | id                                          |                                             |
+---------------------+---------------------------------------------+---------------------------------------------+
[17:55:29]: All required keys, certificates and provisioning profiles are installed 🙌
[17:55:29]: Setting Provisioning Profile type to 'app-store'
[17:55:29]: ------------------------------------
[17:55:29]: --- Step: increment_build_number ---
[17:55:29]: ------------------------------------
Current version of project trs is:
3
/Users/japser/Work/trs-v2
[17:55:30]: $ cd /Users/japser/Work/trs-v2/ios && agvtool next-version -all && cd -
[17:55:31]: ▸ Setting version of project trs to:
[17:55:31]: ▸ 4.
[17:55:31]: ▸ Also setting CFBundleVersion key (assuming it exists)
[17:55:31]: ▸ Updating CFBundleVersion in Info.plist(s)...
[17:55:31]: ▸ Updated CFBundleVersion in "trs.xcodeproj/../trs-tvOS/Info.plist" to 4
[17:55:31]: ▸ Updated CFBundleVersion in "trs.xcodeproj/../trs-tvOSTests/Info.plist" to 4
[17:55:31]: ▸ Updated CFBundleVersion in "trs.xcodeproj/../trs/Info.plist" to 4
[17:55:31]: ▸ Updated CFBundleVersion in "trs.xcodeproj/../trsTests/Info.plist" to 4
[17:55:31]: ▸ /Users/japser/Work/trs-v2
[17:55:31]: -----------------
[17:55:31]: --- Step: gym ---
[17:55:31]: -----------------
[17:55:32]: $ xcodebuild -list -project ./ios/trs.xcodeproj
[17:55:33]: $ xcodebuild -showBuildSettings -scheme trs -project ./ios/trs.xcodeproj
[17:55:35]: Detected provisioning profile mapping: {:"nl.codeyellow.fastlane"=>"nl.codeyellow.fastlane AppStore"}
+------------------------------------------------------------+-----------------------------------------------------------+
|                                                 Summary for gym 2.68.2                                                 |
+------------------------------------------------------------+-----------------------------------------------------------+
| scheme                                                     | trs                                                       |
| project                                                    | ./ios/trs.xcodeproj                                       |
| export_method                                              | app-store                                                 |
| export_options.provisioningProfiles.nl.codeyellow.fastlane | nl.codeyellow.fastlane AppStore                           |
| destination                                                | generic/platform=iOS                                      |
| output_name                                                | trs                                                       |
| build_path                                                 | /Users/japser/Library/Developer/Xcode/Archives/2017-12-07 |
| clean                                                      | false                                                     |
| output_directory                                           | .                                                         |
| silent                                                     | false                                                     |
| skip_package_ipa                                           | false                                                     |
| buildlog_path                                              | ~/Library/Logs/gym                                        |
| skip_profile_detection                                     | false                                                     |
| xcode_path                                                 | /Applications/Xcode.app                                   |
+------------------------------------------------------------+-----------------------------------------------------------+
[17:55:35]: $ set -o pipefail && xcodebuild -scheme trs -project ./ios/trs.xcodeproj -destination 'generic/platform=iOS' -archivePath /Users/japser/Library/Developer/Xcode/Archives/2017-12-07/trs\ 2017-12-07\ 17.55.35.xcarchive archive | tee /Users/japser/Library/Logs/gym/trs-trs.log | xcpretty
[17:55:36]: ▸ Building React/yoga [Release]
[17:55:36]: ▸ Check Dependencies
[17:55:36]: ▸ Copying /Users/japser/Work/trs-v2/node_modules/react-native/ReactCommon/yoga/yoga/YGEnums.h
[17:55:36]: ▸ Copying /Users/japser/Work/trs-v2/node_modules/react-native/ReactCommon/yoga/yoga/YGNodeList.h
[17:55:36]: ▸ Copying /Users/japser/Work/trs-v2/node_modules/react-native/ReactCommon/yoga/yoga/YGMacros.h
etc...

CI runner output
Running with gitlab-runner 10.2.0 (0a75cdd1)
  on fastlane-macmini (0cb12c5d)
Using Shell executor...
section_start:1512665597:prepare_script
Running on ackbar...
section_end:1512665597:prepare_script
section_start:1512665597:get_sources
Fetching changes...
Removing fastlane/report.xml
HEAD is now at 4b52973 Bump version number
From https://gitlab.com/CodeYellowBV/trs-v2
   4b52973..e2d3979  master     -> origin/master
Checking out e2d3979c as master...
Skipping Git submodules setup
section_end:1512665598:get_sources
section_start:1512665598:restore_cache
section_end:1512665598:restore_cache
section_start:1512665598:download_artifacts
section_end:1512665598:download_artifacts
section_start:1512665598:build_script
$ gem install bundler
Successfully installed bundler-1.16.0
Parsing documentation for bundler-1.16.0
Done installing documentation for bundler after 9 seconds
1 gem installed
$ bundle install
Fetching gem metadata from https://rubygems.org/........
Fetching CFPropertyList 2.3.6
Installing CFPropertyList 2.3.6
Using public_suffix 2.0.5
Using addressable 2.5.2
Using babosa 1.0.2
Using bundler 1.16.0
Using claide 1.0.2
Using colored 1.2
Using colored2 3.1.2
Using highline 1.7.10
Using commander-fastlane 4.4.5
Using declarative 0.0.10
Using declarative-option 0.1.0
Using unf_ext <IP_ADDRESS>
Using unf 0.1.4
Using domain_name 0.5.20170404
Using dotenv 2.2.1
Using excon 0.59.0
Using multipart-post 2.0.0
Using faraday 0.13.1
Using http-cookie 1.0.3
Using faraday-cookie_jar 0.0.6
Using faraday_middleware 0.12.2
Using fastimage 2.1.0
Using gh_inspector 1.0.3
Fetching jwt 2.1.0
Installing jwt 2.1.0
Using little-plugger 1.1.4
Using multi_json 1.12.2
Using logging 2.2.2
Using memoist 0.16.0
Using os 0.9.6
Using signet 0.8.1
Using googleauth 0.6.2
Using httpclient 2.8.3
Using mime-types-data 3.2016.0521
Using mime-types 3.1
Using uber 0.1.0
Using representable 3.0.4
Using retriable 3.1.1
Using google-api-client 0.13.6
Using json 2.1.0
Using mini_magick 4.5.1
Using multi_xml 0.6.0
Using plist 3.3.0
Using rubyzip 1.2.1
Using security 0.1.3
Using slack-notifier 1.5.1
Using terminal-notifier 1.8.0
Using unicode-display_width 1.3.0
Using terminal-table 1.8.0
Using tty-screen 0.6.3
Using word_wrap 1.0.0
Using nanaimo 0.2.3
Using xcodeproj 1.5.3
Using rouge 2.0.7
Using xcpretty 0.2.8
Using xcpretty-travis-formatter 1.0.0
Fetching fastlane 2.68.2
Installing fastlane 2.68.2
Bundle complete! 1 Gemfile dependency, 57 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
$ bundle exec fastlane beta
[17:53:40]: -------------------------------------------------
[17:53:40]: --- Step: Verifying required fastlane version ---
[17:53:40]: -------------------------------------------------
[17:53:40]: Your fastlane version 2.68.2 matches the minimum requirement of 2.28.3  ✅
[17:53:41]: ------------------------------
[17:53:41]: --- Step: default_platform ---
[17:53:41]: ------------------------------
[17:53:41]: Driving the lane 'ios beta' 🚀
[17:53:41]: -------------------
[17:53:41]: --- Step: match ---
[17:53:41]: -------------------
[17:53:41]: Successfully loaded '/Users/codeyellow/Downloads/builds/0cb12c5d/0/CodeYellowBV/trs-v2/fastlane/Matchfile' 📄
+---------+----------------------------------------------+
|      Detected Values from './fastlane/Matchfile'       |
+---------+----------------------------------------------+
| git_url | git@gitlab.com:CodeYellowBV/certificates.git |
| type    | development                                  |
+---------+----------------------------------------------+
+-----------------------+----------------------------------------------+
|                       Summary for match 2.68.2                       |
+-----------------------+----------------------------------------------+
| type                  | appstore                                     |
| git_url               | git@gitlab.com:CodeYellowBV/certificates.git |
| git_branch            | master                                       |
| app_identifier        | nl.codeyellow.fastlane                       |
| username              |<EMAIL_ADDRESS>                        |
| keychain_name         | login.keychain                               |
| readonly              | false                                        |
| team_id               | 2U87FAMFLM                                   |
| verbose               | false                                        |
| force                 | false                                        |
| skip_confirmation     | false                                        |
| shallow_clone         | false                                        |
| clone_branch_directly | false                                        |
| force_for_new_devices | false                                        |
| skip_docs             | false                                        |
| platform              | ios                                          |
+-----------------------+----------------------------------------------+
[17:53:41]: Cloning remote git repo...
[17:53:41]: If cloning the repo takes too long, you can use the clone_branch_directly option in match.
[17:53:43]: 🔓  Successfully decrypted certificates repo
[17:53:43]: Verifying that the certificate and profile are still valid on the Dev Portal...
[17:53:46]: Installing certificate...
+-------------------+--------------------------------------------------+
|                        Installed Certificate                         |
+-------------------+--------------------------------------------------+
| User ID           | 2U87FAMFLM                                       |
| Common Name       | iPhone Distribution: Code Yellow BV (2U87FAMFLM) |
| Organisation Unit | 2U87FAMFLM                                       |
| Organisation      | Code Yellow BV                                   |
| Country           | US                                               |
| Start Datetime    | Feb 17 14:36:24 2017 GMT                         |
| End Datetime      | Feb 17 14:36:24 2018 GMT                         |
+-------------------+--------------------------------------------------+
[17:53:48]: Installing provisioning profile...
+---------------------+---------------------------------------------------+-------------------------------------------------------------------------------------------------------------------+
|                                                                               Installed Provisioning Profile                                                                                |
+---------------------+---------------------------------------------------+-------------------------------------------------------------------------------------------------------------------+
| Parameter           | Environment Variable                              | Value                                                                                |
+---------------------+---------------------------------------------------+-------------------------------------------------------------------------------------------------------------------+
| App Identifier      |                                                   | nl.codeyellow.fastlane                                                                                |
| Type                |                                                   | appstore                                                                                |
| Platform            |                                                   | ios                                                                                |
| Profile UUID        | sigh_nl.codeyellow.fastlane_appstore              | b759f109-1928-41d8-acfe-09891b0274db                                                                              |
| Profile Name        | sigh_nl.codeyellow.fastlane_appstore_profile-name | nl.codeyellow.fastlane AppStore                                                                                |
| Profile Path        | sigh_nl.codeyellow.fastlane_appstore_profile-path | /Users/codeyellow/Library/MobileDevice/Provisioning Profiles/b759f109-1928-41d8-acfe-09891b0274db.mobileprovision |
| Development Team ID | sigh_nl.codeyellow.fastlane_appstore_team-id      | 2U87FAMFLM                                                                                |
+---------------------+---------------------------------------------------+-------------------------------------------------------------------------------------------------------------------+
[17:53:49]: All required keys, certificates and provisioning profiles are installed 🙌
[17:53:49]: Setting Provisioning Profile type to 'app-store'
[17:53:49]: ------------------------------------
[17:53:49]: --- Step: increment_build_number ---
[17:53:49]: ------------------------------------
Current version of project trs is:
2
/Users/codeyellow/Downloads/builds/0cb12c5d/0/CodeYellowBV/trs-v2
[17:53:49]: $ cd /Users/codeyellow/Downloads/builds/0cb12c5d/0/CodeYellowBV/trs-v2/ios && agvtool next-version -all && cd -
[17:53:50]: ▸ Setting version of project trs to:
[17:53:50]: ▸ 3.
[17:53:50]: ▸ Also setting CFBundleVersion key (assuming it exists)
[17:53:50]: ▸ Updating CFBundleVersion in Info.plist(s)...
[17:53:50]: ▸ Updated CFBundleVersion in "trs.xcodeproj/../trs-tvOS/Info.plist" to 3
[17:53:50]: ▸ Updated CFBundleVersion in "trs.xcodeproj/../trs-tvOSTests/Info.plist" to 3
[17:53:50]: ▸ Updated CFBundleVersion in "trs.xcodeproj/../trs/Info.plist" to 3
[17:53:50]: ▸ Updated CFBundleVersion in "trs.xcodeproj/../trsTests/Info.plist" to 3
[17:53:50]: ▸ /Users/codeyellow/Downloads/builds/0cb12c5d/0/CodeYellowBV/trs-v2
[17:53:50]: -----------------
[17:53:50]: --- Step: gym ---
[17:53:50]: -----------------
[17:53:50]: $ xcodebuild -list -project ./ios/trs.xcodeproj
[17:53:52]: $ xcodebuild -showBuildSettings -scheme trs -project ./ios/trs.xcodeproj
[17:53:55]: Detected provisioning profile mapping: {:"nl.codeyellow.fastlane"=>"nl.codeyellow.fastlane AppStore"}
+------------------------------------------------------------+---------------------------------------------------------------+
|                                                   Summary for gym 2.68.2                                                   |
+------------------------------------------------------------+---------------------------------------------------------------+
| scheme                                                     | trs                                                           |
| project                                                    | ./ios/trs.xcodeproj                                           |
| export_method                                              | app-store                                                     |
| export_options.provisioningProfiles.nl.codeyellow.fastlane | nl.codeyellow.fastlane AppStore                               |
| destination                                                | generic/platform=iOS                                          |
| output_name                                                | trs                                                           |
| build_path                                                 | /Users/codeyellow/Library/Developer/Xcode/Archives/2017-12-07 |
| clean                                                      | false                                                         |
| output_directory                                           | .                                                             |
| silent                                                     | false                                                         |
| skip_package_ipa                                           | false                                                         |
| buildlog_path                                              | ~/Library/Logs/gym                                            |
| skip_profile_detection                                     | false                                                         |
| xcode_path                                                 | /Applications/Xcode.app                                       |
+------------------------------------------------------------+---------------------------------------------------------------+
[17:53:55]: $ set -o pipefail && xcodebuild -scheme trs -project ./ios/trs.xcodeproj -destination 'generic/platform=iOS' -archivePath /Users/codeyellow/Library/Developer/Xcode/Archives/2017-12-07/trs\ 2017-12-07\ 17.53.55.xcarchive archive | tee /Users/codeyellow/Library/Logs/gym/trs-trs.log | xcpretty
[17:53:56]: ▸ Building trs/trs [Release]
[17:53:56]: ▸ Check Dependencies
[17:53:57]: ▸ ** ARCHIVE FAILED **
[17:53:57]: ▸ The following build commands failed:
[17:53:57]: ▸ Check dependencies
[17:53:57]: ▸ (1 failure)
▸ Building trs/trs [Release]
▸ Check Dependencies
** ARCHIVE FAILED **
The following build commands failed:
Check dependencies
(1 failure)
[17:53:57]: Exit status: 65
+---------------+-------------------------+
|            Build environment            |
+---------------+-------------------------+
| xcode_path    | /Applications/Xcode.app |
| gym_version   | 2.68.2                  |
| export_method | app-store               |
| sdk           | iPhoneOS11.2.sdk        |
+---------------+-------------------------+
[17:53:57]: ▸ === BUILD TARGET trs OF PROJECT trs WITH CONFIGURATION Release ===
[17:53:57]: ▸ Check dependencies
[17:53:57]: ▸ Code Signing Error: Provisioning profile "nl.codeyellow.fastlane AppStore" doesn't include signing certificate "iPhone Distribution: Code Yellow BV (2U87FAMFLM)".
[17:53:57]: ▸ Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.2'
[17:53:57]:
[17:53:57]: ⬆  Check out the few lines of raw xcodebuild output above for potential hints on how to solve this error
[17:53:57]: 📋  For the complete and more detailed error log, check the full log at:
[17:53:57]: 📋  /Users/codeyellow/Library/Logs/gym/trs-trs.log
[17:53:57]:
[17:53:57]: Looks like fastlane ran into a build/archive error with your project
[17:53:57]: It's hard to tell what's causing the error, so we wrote some guides on how
[17:53:57]: to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/
[17:53:57]: Before submitting an issue on GitHub, please follow the guide above and make
[17:53:57]: sure your project is set up correctly.
[17:53:57]: fastlane uses xcodebuild commands to generate your binary, you can see the
[17:53:57]: the full commands printed out in yellow in the above log.
[17:53:57]: Make sure to inspect the output above, as usually you'll find more error information there
[17:53:57]:
+------------------------------------+---------------------------------------------------------------+
|                                            Lane Context                                            |
+------------------------------------+---------------------------------------------------------------+
| DEFAULT_PLATFORM                   | ios                                                           |
| PLATFORM_NAME                      | ios                                                           |
| LANE_NAME                          | ios beta                                                      |
| SIGH_PROFILE_TYPE                  | app-store                                                     |
| MATCH_PROVISIONING_PROFILE_MAPPING | {"nl.codeyellow.fastlane"=>"nl.codeyellow.fastlane AppStore"} |
| BUILD_NUMBER                       | 3                                                             |
+------------------------------------+---------------------------------------------------------------+
[17:53:57]: Error building the application - see the log above
+------+-------------------------------------+-------------+
|                     fastlane summary                     |
+------+-------------------------------------+-------------+
| Step | Action                              | Time (in s) |
+------+-------------------------------------+-------------+
| 1    | Verifying required fastlane version | 0           |
| 2    | default_platform                    | 0           |
| 3    | match                               | 7           |
| 4    | increment_build_number              | 1           |
| 💥   | gym                                 | 6           |
+------+-------------------------------------+-------------+
[17:53:57]: fastlane finished with errors
[!] Error building the application - see the log above
section_end:1512665638:build_script
section_start:1512665638:after_script
section_end:1512665638:after_script
ERROR: Job failed: exit status 1

Environment

✅ fastlane environment (local) ✅
Stack

Key
Value

OS
10.12.6

Ruby
2.4.2

Bundler?
true

Git
git version 2.13.6 (Apple Git-96)

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.12.6 (16G29)

Ruby Lib Dir
/usr/local/Cellar/ruby/2.4.2_1/lib

OpenSSL Version
OpenSSL 1.0.2l  25 May 2017

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

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

Xcode Version
9.1

System Locale

Variable
Value

LANG
nl_NL.UTF-8
✅

LC_ALL
nl_NL.UTF-8
✅

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/fastlane/docs
# All available actions: https://docs.fastlane.tools/actions
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# If you want to automatically update fastlane if a new version is available:
# update_fastlane

# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "2.28.3"

default_platform :ios

platform :ios do
  before_all do
    # ENV["SLACK_URL"] = "https://hooks.slack.com/services/..."

  end

  desc "Runs all the tests"
  lane :test do
    scan
  end

  desc "Submit a new Beta Build to Apple TestFlight"
  desc "This will also make sure the profile is up to date"
  lane :beta do
    match(type: "appstore") # more information: https://codesigning.guide
    increment_build_number(xcodeproj: "./ios/trs.xcodeproj")
    gym(scheme: "trs", project: "./ios/trs.xcodeproj")
    pilot

    # sh "your_script.sh"
    # You can also use other beta testing services here (run `fastlane actions`)
  end

  desc "Deploy a new version to the App Store"
  lane :release do
    # match(type: "appstore")
    # snapshot
    gym # Build your app - more options available
    deliver(force: true)
    # frameit
  end

  # You can define as many lanes as you want

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

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

  error do |lane, exception|
    # slack(
    #   message: exception.message,
    #   success: false
    # )
  end
end

# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
# All available actions: https://docs.fastlane.tools/actions

# fastlane reports which actions are used
# No personal data is recorded. Learn more at https://github.com/fastlane/enhancer

`./fastlane/Appfile`
app_identifier "nl.codeyellow.fastlane" # The bundle identifier of your app
apple_id<EMAIL_ADDRESS># Your Apple email address

team_id "2U87FAMFLM" # 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/fastlane/docs/Appfile.md

fastlane gems

Gem
Version
Update-Status

fastlane
2.68.2
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.1.0

bundler
1.16.0

io-console
0.4.6

CFPropertyList
2.3.6

public_suffix
2.0.5

addressable
2.5.2

babosa
1.0.2

claide
1.0.2

colored
1.2

colored2
3.1.2

highline
1.7.10

commander-fastlane
4.4.5

declarative
0.0.10

declarative-option
0.1.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

dotenv
2.2.1

excon
0.59.0

multipart-post
2.0.0

faraday
0.13.1

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday_middleware
0.12.2

fastimage
2.1.0

gh_inspector
1.0.3

jwt
2.1.0

little-plugger
1.1.4

multi_json
1.12.2

logging
2.2.2

memoist
0.16.0

os
0.9.6

signet
0.8.1

googleauth
0.6.2

httpclient
2.8.3

mime-types-data
3.2016.0521

mime-types
3.1

uber
0.1.0

representable
3.0.4

retriable
3.1.1

google-api-client
0.13.6

json
2.1.0

mini_magick
4.5.1

multi_xml
0.6.0

plist
3.3.0

rubyzip
1.2.1

security
0.1.3

slack-notifier
1.5.1

terminal-notifier
1.8.0

unicode-display_width
1.3.0

terminal-table
1.8.0

tty-screen
0.6.3

word_wrap
1.0.0

nanaimo
0.2.3

xcodeproj
1.5.3

rouge
2.0.7

xcpretty
0.2.8

xcpretty-travis-formatter
1.0.0

generated on: 2017-12-07

✅ fastlane environment (on ci runner)✅
Stack

Key
Value

OS
10.13.1

Ruby
2.4.2

Bundler?
false

Git
git version 2.15.1

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.13.1 (17B1003)

Ruby Lib Dir
/usr/local/Cellar/ruby/2.4.2_1/lib

OpenSSL Version
OpenSSL 1.0.2l  25 May 2017

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

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

Xcode Version
9.2

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.68.2
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.1.0

slack-notifier
1.5.1

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.3

xcodeproj
1.5.3

rouge
2.0.7

xcpretty
0.2.8

terminal-notifier
1.8.0

unicode-display_width
1.3.0

terminal-table
1.8.0

plist
3.3.0

public_suffix
2.0.5

addressable
2.5.2

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.6.3

babosa
1.0.2

colored
1.2

highline
1.7.10

commander-fastlane
4.4.5

excon
0.59.0

faraday
0.13.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.0

gh_inspector
1.0.3

mini_magick
4.5.1

multi_json
1.12.2

multi_xml
0.6.0

rubyzip
1.2.1

security
0.1.3

xcpretty-travis-formatter
1.0.0

dotenv
2.2.1

bundler
1.16.0

faraday_middleware
0.12.2

uber
0.1.0

declarative
0.0.10

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.1

mime-types-data
3.2016.0521

mime-types
3.1

little-plugger
1.1.4

logging
2.2.2

memoist
0.16.0

os
0.9.6

signet
0.8.1

googleauth
0.6.2

httpclient
2.8.3

google-api-client
0.13.6

json
2.1.0

io-console
0.4.6

openssl
2.0.5

generated on: 2017-12-07

Yes I have, I used match and selected the provisioning profiles in xcode

I managed to figure out what the problem was:
The CI machine had 2 certificates in the keychain with the same name but with a different expiry time. (Probably from when I was playing around with cert & sigh). Even though I manually selected the certificate with the right expiry time, it still picked the wrong one on the CI machine.
To fix this I deleted the duplicate cert from the apple developer portal and deleted the duplicate from the CI machine keychain.
I was debugging the provisioning profiles, but the problem was with the certificates.


fixes uninstantiated default variable error

In re discussion in #35.
Side-note - staged this commit with --patch-mode - looking good!

This adds a single \n to the the end of the output? Should this be wrapped in if ($patch_mode) so it doesn't affect regular diff viewing?

Oops. Yes, absolutely.
![](https://link.nylas.com/open/6nkoquzisazyr35wxw6bjvji5/local-9d833cbc-
a9e3?r=cmVwbHkrMDAzYzM2MWU4M2YzMDhhZTc0ZDM4OTI0N2Y2M2M1NDRhMGUxOThmODJjMDMyYTE1OTJjZjAwMDAwMDAxMTM3OTY0ZTc5MmExNjljZTA5OTBmNjFkQHJlcGx5LmdpdGh1Yi5jb20=)


Update rule require-padding-newlines-before-export

Update rule require-padding-newlines-before-export to exclude if only statement in block
Fixes #1883

It seems there is couple failures?

All tests pass running npm test locally. The AppVeyor failure complained not being able to run rule disallowUnusedParams. Any ideas on that error? That's one rule I didn't touch.
My setup:
OS: Ubuntu 14.04
Node version: 0.12.7
NPM version: 2.11.3
Thanks!

Maybe git fetch/rebase to the latest

Tests and rebased myself, all good.
Thank you!


[HOTFIX][#7] Correct project_name in cookiecutter.json

Closes: #7

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Issue rendering thumbnails outside of iFrame containing the viewer

I am trying to reuse the already loaded pdfjsLib that is inside the iFrame to render some thumbnails in canvas's that exist on the parent page.
When I use a rasterized PDF everything is fine.
When I use a vector based PDF it has issues that can be seen below.
I have been tinkering with it for the past few days but I can't seem to figure out what is going on.
Can anyone point me in the right direction?
Attach (recommended) or Link to PDF file here:
https://juz.me/pdfjs-test/web/helloworld-vector.pdf
Configuration:

Web browser and its version: Chrome/Firefox
Operating system and its version: Windows 11
PDF.js version: 3.9.179
Is a browser extension: No

Steps to reproduce the problem:

Launch sample-vector.html: (https://juz.me/pdfjs-test/web/sample-vector.html)
Click Render Thumbnails
Look at the 3 canvas elements down the bottom.

What is the expected behavior? (add screenshot)
That the three thumbnails generate correctly.

What went wrong? (add screenshot)
The generated canvas's contain an empty box in chrome and a unicode character in firefox:

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):
Broken: https://juz.me/pdfjs-test/web/sample-vector.html
Working: https://juz.me/pdfjs-test/web/sample-raster.html
Here is a zip of a fresh test against the latest release:
pdfjs-test.zip

I am trying to reuse the already loaded pdfjsLib that is inside the iFrame to render some thumbnails in canvas's that exist on the parent page.

In that case you're still loading fonts (and other resources) into the iframe-document, which makes them inaccessible in the scope where the thumbnails are being rendered. Hence adding something like ownerDocument: globalThis.document, to the getDocument-call ought to work; please note https://github.com/mozilla/pdf.js/blob/a7d829155b54ad82f6575d970689a076168f4962/src/display/api.js#L200-L202

When I use a vector based PDF it has issues that can be seen below.

Note that this PDF document simply uses fonts, rather than images.

Yep that worked a treat! Thanks for the link and explanation @Snuffleupagus


Fix compatibility with Clang 15

In Clang 15 -funit-at-a-time gives the following error:
clang-15: error: optimization flag '-funit-at-a-time' is not supported [-Werror,-Wignored-optimization-argument]

This flag doesn't do anything in clang even before, so we can drop it without any problems.

Thank you!


Trying to fix endpoints routing

Still working on https://github.com/hackoregon/civic-devops/issues/185
This hasn't made the new content show up yet, but it is more explicit code and hasn't made anything worse.

Yeah, I'm just about out of ideas
Just want to make sure the repo and the S3 bucket's copy don't get out of sync again.


Cmake Error

Hi,
I am trying to build this package in my catkin workspace and I'm getting the following error:
CMake Error at opentera-webrtc-ros/CMakeLists.txt:9 (add_compile_definitions):   Unknown CMake command "add_compile_definitions".
I am using cmake version 3.10.2

This package will only work on Ubuntu 20.04 for now with ROS Noetic. It seems that add_compile_definitions was added in CMake 3.12.


Allow disabling the root folder

It would be best if it was possible to remove the / folder from view as I have no control over that.

In which cases do you want to be able to remove the / node?
When the folder is empty? Anytime? Something else?
Do you have an example of the expected behavior/render?

Ah yes, sure.  Here's a screenshot of what I'm talking about.

I am able to delete any folder from the graph and adjust their associations but I can't delete this folder. The notes in the root do not necessarily relate to each other.

It's very laggy when there is a root folder all the time, especially for me.
I'm looking for the same option to turn off / from the Graph view.
The rest is fantastic. Thank you very much for such a plugin; getting extra links without additional effort is beneficial.

Hello everyone.
Sorry for having let that issue rot for months. Still have some exams before finishing my studies. I will implement that feature as soon as possible.

Hi Ratibus, sorry to ask again do you still plan to continue the development of this plugin? It's fantastic and settings like this and colour customisability for example, would be amazing. Very nice plugin =)

Hi @pixeljammed and others!
Just working on the setting. It's normally done! I just have to publish it :) !

settings like this and colour customisability for example, would be amazing.

For the customization part, as said in #8, I don't find any way to customize nodes, as Obsidian seems not to offer ways to create new kind of nodes or edit the current ones.
If someone finds a way to change that, I'll be pleased to add some magic into the plugin ✨

The release as been published on the repo.
Feel free to download the build until the plugin is updated on Obsidian!
https://github.com/ratibus11/folders2graph/releases/tag/1.1.0
I'm closing the issue as the feature has been released.

After many attempts to add some automation to the release workflow, the plugin of officially available on Obsidian!
Enjoy!


Emit an error if Kani executable was not found

Description of changes:
Check if which cargo-kani returned an error, abort execution, and set the test result as "errored". This is what gets shown in VSCode:

Resolved issues:
Resolves #72
Related RFC:

Optional #ISSUE-NUMBER.
Call-outs:

A cleaner approach would be to check on load if Kani is installed, and if not put the extension in an error state and prevent running any harnesses.
Testing:

How is this change tested? Removed kani from path, launched extension, and ran one of the harnesses.

Is this a refactor change?

Checklist

[X] Each commit message has a non-empty body, explaining why the change was made
[X] Methods or procedures are documented
[X] Regression or unit tests are included, or existing tests cover the modified code
[X] My PR is restricted to a single feature or bugfix

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

Could I ask if you could add a screenshot of what the end result looks like visually? And also what underlying environment conditions allowed you to trigger the issue (i.e what was the cargo-kani path in your case). Any information on how it was tested would be helpful to me.
Thanks!

Could I ask if you could add a screenshot of what the end result looks like visually? And also what underlying environment conditions allowed you to trigger the issue (i.e what was the cargo-kani path in your case). Any information on how it was tested would be helpful to me.

I added a script to the PR description as well as how I tested it. In my case, I removed kani from the PATH environment variable, which causes which cargo-kani to exit with an error status.

Could I ask if you could add a screenshot of what the end result looks like visually? And also what underlying environment conditions allowed you to trigger the issue (i.e what was the cargo-kani path in your case). Any information on how it was tested would be helpful to me.

I added a script to the PR description as well as how I tested it. In my case, I removed kani from the PATH environment variable, which causes which cargo-kani to exit with an error status.

Thanks, that should be good enough to work. The final change looks great too.

I do think the cleaner solution can be added easily as well on top of these changes. It should be simple to implement as we already do exactly the same, with cargo here

I couldn't get this approach to work. My approach is in this branch. With those changes, an error is popped-up as the extension was loading:

but the extension still activated and running any harness leads causes the wheel to keep spinning forever.


Fixing image repo secret extraction for unloading worker pod

image repo secret wasd previously extracted from the volume that was mapped into the loading pod. Since the volume no longer exists, we must extract it from the imagePullSecret of the loading pod

/assign @ybettan

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 72.59%. Comparing base (fa23a9b) to head (35ce7d1).
Report is 144 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #930      +/-   ##
==========================================
- Coverage   79.09%   72.59%   -6.51%
==========================================
  Files          51       65      +14
  Lines        5109     5743     +634
==========================================
+ Hits         4041     4169     +128
- Misses        882     1395     +513
+ Partials      186      179       -7

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

/lgtm

/cherry-pick release-2.2


interrealm: Add option to run the bridge unidirectionally.

This is for the use case of playground.zulipdev.org.

@neiljp can you take a look at this?


Support for satisfies

Bug description
Currently, tsx doesn't recognize the satisfies typescript keyword.
Reproduction
Try to compile:
const test = {name: 'John'} satisfies {name: string}

Environment
System:
    OS: macOS 13.0.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 96.28 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.11.0 - /opt/homebrew/bin/node
    npm: 8.19.2 - /opt/homebrew/bin/npm
  npmPackages:
    tsx: 3.12.1 => 3.12.1

Can you contribute a fix?

[X] I’m interested in opening a pull request for this issue.

Works fine for me. You probably just need to update esbuild (npm update or re-install tsx).
Please provide a link to reproduction if it still doesn't work.

Adding this to my package.json: "esbuild": "0.15.16" fixes the issue. But I'd rather not do that 🤔
Any idea why tsx resolves to node_modules/.pnpm/esbuild@x ?

Another package in my monorepo is using<EMAIL_ADDRESS>that's probably linked as they use<EMAIL_ADDRESS>

I guess it has nothing to do with tsx then 😁
Thank you for your help!

To prevent pnpm from optimizing the shared dependencies, I think you can just install tsx to the specific project instead of the root.
Also, checkout pkgroll for a no-config alternative to tsup!


Create new rpcnet module, and move 'getconnectioncount' RPC to it

I'm all for this, I've been wanting to restructure the code to more closely match bitcoin and this is a small step in that direction. We can move more over to this file after it's merged.


fix: base amqp Flow on message handling completion

see https://github.com/Azure/azure-service-bus-go/issues/189 for details of the problem this fixes.
To fix the flow control, it is necessary to be aware of when a message is terminally handled by the consumer. We should not emit a Flow frame before the message has been disposed.
Implementation
debug logs
Lots of debug logs were added to the code. I would like to keep them in, although they should maybe be trimmed/reviewed
receiver's pendingMessages map[uint32]struct{}
The receivers was using a the receiver's messages channel to decide whether a Flow frame should be emitted.
however, the message had to be pulled from the channel to be passed to the downstream handler, causing the receiver to emit a flow frame right away.
this PR introduces a pendingMessages map to keep track of messages being handled.
the message DeliveryID is pushed is added to the map right before the message is pushed into the receiver's messages channel.
https://github.com/Azure/go-amqp/blob/f1f2edaf9f7af84b9128e1842fa9bef0ef8e0dbf/client.go#L875-L876
The map is written to concurrently, so I provide add and delete method on the receiver to always respect the locking sequence:
https://github.com/Azure/go-amqp/blob/f1f2edaf9f7af84b9128e1842fa9bef0ef8e0dbf/client.go#L1029-L1039
Message doneSignal
We need to remove it from the tracking map once the message is handled.
since the downstream handler can be asynchronous, we need the message itself to emit a signal.
I added a private doneSignal channel that gets closed in each disposition funcs.
https://github.com/Azure/go-amqp/blob/f1f2edaf9f7af84b9128e1842fa9bef0ef8e0dbf/types.go#L1765-L1766
https://github.com/Azure/go-amqp/blob/f1f2edaf9f7af84b9128e1842fa9bef0ef8e0dbf/types.go#L1781-L1787
https://github.com/Azure/go-amqp/blob/f1f2edaf9f7af84b9128e1842fa9bef0ef8e0dbf/types.go#L1800-L1806
We use this signal to pop the message off the map, and tell the link unpause if necessary, triggering the flow frame, and resuming message processing:
https://github.com/Azure/go-amqp/blob/f1f2edaf9f7af84b9128e1842fa9bef0ef8e0dbf/client.go#L1963-L1964
HandleMessage()
HandleMessage takes in a func handler. it follows the same pattern as the Receive implementation to drain the buffer if the link is closed. it ensure the message signal isn't nil, and start a tracking goroutine that awaits the doneSignal.
The same behavior could be achieved with the Receive signature, since we use a channel as a signal. However, the behavior would change for the users, and could cause the user's message processor to stall due to not terminating the message correctly.
The HandleMessage() signature also allows for middleware and to plug in functionality without impacting existing code, which is a nice added benefit.
Deprecate receiver Receive()
The receiver.Receive() func is marked as deprecated in favor of receiver.HandleMessage() func.
The intent is to keep the receiver.Receive() func behavior unchanged, while providing a safer API to control the flow of message accurately via the HandleMessage func.
Consideration
The current implementation of HandleMessage requires the user to call a disposition on the message.
if no disposition is called, the message will not signal to the receiver that it was handled, and it will stay in the receiver's tracking map.
As a result, the flow will stop once the n messages are leaked in the tracking map, where n == linkCredit This is reasonable in my opinion, provided that it is well documented, and discoverable.
I don't think we have a reliable way to always remove the message from the pending map if the user fails to do it.
We can make it actionable though :
suggestion:

expose message.Ignore() which would only triggers the doneSignal. This allows downstream code to release the message in a handler, in a defer statement, or on errors, in case something goes wrong before they get a chance to invoke a disposition.

local integration tests logs with no concurrency and no linkcredit = 1  (no prefetch) :
17:15:35.900990 RX: Transfer{Handle: 0, DeliveryID: 0, DeliveryTag: "C\xeaŜvo\bB\x86\x9bv^%\xe1\x91\xf7", MessageFormat: 0, Settled: false, More: false, ReceiverSettleMode: <nil>, State: <nil>, Resume: false, Aborted: false, Batchable: true, Payload [size]: 393}
17:15:35.901069 9cc5ea43-6f76-4208-869b-765e25e191f7 before push to receiver - deliveryCount : 0 - linkCredit: 1, len(messages): 0, len(inflight): 0
17:15:35.901089 9cc5ea43-6f76-4208-869b-765e25e191f7 after push to receiver - deliveryCount : 0 - linkCredit: 1, len(messages): 0, len(inflight): 0
17:15:35.901095 9cc5ea43-6f76-4208-869b-765e25e191f7 before exit - deliveryCount : 1 - linkCredit: 0, len(messages): 0
17:15:35.901102 PAUSE Link Mux pause: inflight: 0, credit: 0, deliveryCount: 1, messages: 0, pending: 1, maxCredit : 1, settleMode: second
17:15:35.901111 Receive() blocking 0
17:15:35.901406 Entering link yYFKKRUEZMN6iOiuNYfXc3J8sKt5RXfKzw9PPJmZ49Z7eCeMBlZOJg Receive()
[2021-02-10T17:15:35+11:00] handling message ID 2faa5ec1-5a48-4b1d-b3ad-01a05ed7f512 - DeliveryTag : 9cc5ea43-6f76-4208-869b-765e25e191f7
[2021-02-10T17:15:55+11:00] trying to complete ID: 2faa5ec1-5a48-4b1d-b3ad-01a05ed7f512 - Tag: 9cc5ea43-6f76-4208-869b-765e25e191f7 !
17:15:55.906006 RX: add %!s(uint32=0) to inflight
17:15:55.906056 TX: Disposition{Role: Receiver, First: 0, Last: <nil>, Settled: false, State: Accepted, Batchable: false}
17:15:56.217774 RX(Session): Disposition{Role: Sender, First: 0, Last: <nil>, Settled: true, State: Accepted, Batchable: false}
17:15:56.217813 RX: Disposition{Role: Sender, First: 0, Last: <nil>, Settled: true, State: Accepted, Batchable: false}
17:15:56.217827 PAUSE Link Mux pause: inflight: 0, credit: 0, deliveryCount: 1, messages: 0, pending: 1, maxCredit : 1, settleMode: second
17:15:56.217898 Receive() deleted pending 0
17:15:56.217922 Receive() unpause link on completion
17:15:56.217940 FLOW Link Mux half: source: conn-issue189tag1ckhg/Subscriptions/issue189, inflight: 0, credit: 0, deliveryCount: 1, messages: 0, pending: 0, maxCredit : 1, settleMode: second
    issue_test.go:143: successfully processed msg 1
17:15:56.217950 link.muxFlow(): len(l.messages):0 - linkCredit: 0 - deliveryCount: 1, inFlight: 0
17:15:56.218006 TX: Flow{NextIncomingID: <nil>, IncomingWindow: 0, NextOutgoingID: 0, OutgoingWindow: 0, Handle: 0, DeliveryCount: 1, LinkCredit: 1, Available: <nil>, Drain: false, Echo: false, Properties: map[]}
17:15:56.218039 TX(Session) - tx: Flow{NextIncomingID: 2, IncomingWindow: 100, NextOutgoingID: 0, OutgoingWindow: 100, Handle: 0, DeliveryCount: 1, LinkCredit: 1, Available: <nil>, Drain: false, Echo: false, Properties: map[]}
17:15:56.395722 RX(Session): Transfer{Handle: 0, DeliveryID: 1, DeliveryTag: "/\x12\x9c\xe3\x18\x88\x9bM\xad\xe8\xec0;Cv\xe1", MessageFormat: 0, Settled: false, More: false, ReceiverSettleMode: <nil>, State: <nil>, Resume: false, Aborted: false, Batchable: true, Payload [size]: 393}
17:15:56.395743 TX: adding handle to handlesByRemoteDeliveryID. linkCredit: 1
17:15:56.395755 RX: Transfer{Handle: 0, DeliveryID: 1, DeliveryTag: "/\x12\x9c\xe3\x18\x88\x9bM\xad\xe8\xec0;Cv\xe1", MessageFormat: 0, Settled: false, More: false, ReceiverSettleMode: <nil>, State: <nil>, Resume: false, Aborted: false, Batchable: true, Payload [size]: 393}
17:15:56.395786 e39c122f-8818-4d9b-ade8-ec303b4376e1 before push to receiver - deliveryCount : 1 - linkCredit: 1, len(messages): 0, len(inflight): 0
17:15:56.395800 e39c122f-8818-4d9b-ade8-ec303b4376e1 after push to receiver - deliveryCount : 1 - linkCredit: 1, len(messages): 0, len(inflight): 0
17:15:56.395806 e39c122f-8818-4d9b-ade8-ec303b4376e1 before exit - deliveryCount : 2 - linkCredit: 0, len(messages): 0
17:15:56.395811 PAUSE Link Mux pause: inflight: 0, credit: 0, deliveryCount: 2, messages: 0, pending: 1, maxCredit : 1, settleMode: second
17:15:56.395818 Receive() blocking 1
17:15:56.395938 Entering link yYFKKRUEZMN6iOiuNYfXc3J8sKt5RXfKzw9PPJmZ49Z7eCeMBlZOJg Receive()
[2021-02-10T17:15:56+11:00] handling message ID 5a0e3016-b68f-40e3-b95c-5f00748b67a4 - DeliveryTag : e39c122f-8818-4d9b-ade8-ec303b4376e1

For future reference,
Here are some links to the relevant .net client implementation for the same behavior :
this is the Receive from azure servicebus.
if the message is settled on delivery, then it calls the link.Dispose right away.
if it's mode second (wait for ack to settle a message) then this is not called :
https://github.com/Azure/azure-sdk-for-net/blob/f222afc71c4416af52693f6bfcb5c33edf1a29e8/sdk/servicebus/Azure.Messaging.ServiceBus/src/Amqp/AmqpReceiver.cs#L313-L316
in the Azure AMQP library, here is the implementation of the link.Dispose :
https://github.com/Azure/azure-amqp/blob/e5cc469ec333904d18f1ec7cbc950a4cf463b6f1/src/AmqpLink.cs#L928-L972
You can also see just below that OnSettled is where the link credit is incremented. The behavior is the same in go-amqp, but the link credit includes the unsettledMessages map length in the calculation instead.
which makes me thing, that unsettledMessages is a much better name :). naming is hard.


EAS build failed

Hi
I've success build react and unity with Expo in develop build from Xcode. I'm looking forward to release build it. I try to build with EAS local. To be frank, I just start native build with React. Please any your idea about below error code.
[RUN_FASTLANE] The following build commands failed: [RUN_FASTLANE] 	CompileC /Users/sewonist/Library/Developer/Xcode/DerivedData/ZeroClub-fpapnjqmkcspglddxdtsvimpdrez/Build/Intermediates.noindex/ArchiveIntermediates/ZeroClub/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/react-native-unity.build/Objects-normal/arm64/ReactNativeUnity.o<EMAIL_ADDRESS>normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'react-native-unity' from project 'Pods')

Now I try build with ios. At time, It is not possible load to UnityFramework. I can build with Debug. But I cannot build with Archive and EAS build.
[RUN_FASTLANE] › Compiling @azesmway/react-native-unity Pods/react-native-unity » ReactNativeUnity.m
[RUN_FASTLANE] ** ARCHIVE FAILED **
[RUN_FASTLANE]
[RUN_FASTLANE]
[RUN_FASTLANE] The following build commands failed:
[RUN_FASTLANE] 	CompileC /Users/sewonist/Library/Developer/Xcode/DerivedData/ZeroClub-djejmjuhyuwkwqfmkkqrmhluxene/Build/Intermediates.noindex/ArchiveIntermediates/ZeroClub/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/react-native-unity.build/Objects-normal/arm64/ReactNativeUnityView.o<EMAIL_ADDRESS>normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'react-native-unity' from project 'Pods')
[RUN_FASTLANE] (1 failure)
[RUN_FASTLANE] Exit status: 65
[RUN_FASTLANE]

❌  (node_modules/@azesmway/react-native-unity/ios/ReactNativeUnity.h:4:10)

  2 | #import <React/RCTEventEmitter.h>
  3 | #include <mach-o/ldsyms.h>
> 4 | #include <UnityFramework/UnityFramework.h>
    |          ^ 'UnityFramework/UnityFramework.h' file not found
  5 |
  6 | @protocol RNUnityAppController <UIApplicationDelegate, UnityFrameworkListener>
  7 |

Sure. I already set up Build Phases follow your guide.

Although, it didn't work when I build to Archive. (Just build to run is ok.)
I found solution it. I add UnityFramework to Build Phases of Pods. I don't know it's correct. But it is working for me.

I should more test it.

it should be like this

I set up like you firstly. In my case, there is build error too. So I change set up like below image.

I'm not sure but it is working for me. I will find more correct setting.

I set up like you firstly. In my case, there is build error too. So I change set up like below image.

I'm not sure but it is working for me. I will find more correct setting.

you should add files to "ZeroClub" not in Pods, usually that should work. i guess it's too late to reply but i was doing something similar and thought why not update this.


Explore Pie Chart complications

Pie Charts in MPAndroidChart come with their own complications namely crashes when adding an empty DataSet object and multiple Data Set support. These complications should be explored in more detail.

Issue: No multiple data set support
Solution: Draw multiple Pie Charts inside each other
Issue: Crash when adding empty Data/Data Set
Solution: Add only when Data Set populated, or disable automatic legend computation (might fix it)


Datepicker popup: Support Multiple Input Formats

I'm using a fancy MMMM dd yyyy format on my datepicker popup. I like the fancy, but I'd also like my users to be able to type in a date using the M!/d!/yyyy format which, to them, is the go-to date format. Would angular bootstrap add a way to make this a reality? Maybe a list of acceptable date format inputs?

I'm amenable to this feature for UX reasons, although it seems like it could also add to user confusion.

We could accept an array of input formats and then test that the date matches one of the formats?  This has not been a oft-requested feature, however, so it's not a huge priority.  @davious, if you want to take a stab at a PR, we'd welcome a well-thought/well-designed one.


Bug: html coverage reports will create in sub-folder

option 1: Using index.html which has the latest coverage report. if file not found display index.html & break.
option 2: delete previous coverages

fix created with commit #d536317


Added PUT and DELETE methods to HBaseTemplate for SHDP-493

I have submitted a patch but would prefer this be done as a pull.

Thanks for the PR, merged as commit 5f3cf1fbfff21dfddbdabf45cc1530fe38ad628d
Also backported to 2.2.x branch for upcoming 2.2.0.RC1 release


Get quay.io/repository/coreos/flannel-git working again

Dockerfile was deleted and it broke flannel-git.

It's working again now


Added hack for compatibility with other social networks

fixes VKCOM/vk-bridge#290

Approach is changed


[sdl2pp] Allowing disabling SDL2 Satallite library installation via add feature

Fixes #40167
Allow disabling the installation of SDL2-* dependencies while installing sdl2pp via the features system.

[x] Changes comply with the maintainer guide.
[ ] SHA512s are updated for each updated download.
[ ] The "supports" clause reflects platforms that may be fixed by this new version.
[ ] Any fixed CI baseline entries are removed from that file.
[ ] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

All feature are tested successfully in the following triplet:

x86-windows
x64-windows
x64-windows-static

Tested usage successfully by sdl2pp[*]:x64-windows:
The package sdl2pp provides CMake variables:

    find_package(SDL2PP REQUIRED)
    target_include_directories(main PRIVATE ${SDL2PP_INCLUDE_DIRS})
    target_link_libraries(main PRIVATE ${SDL2PP_LIBRARIES})

Seems reasonable thank you!


Mount a new WebDAV Server (Synology NAS)

I am trying to mount my Synology NAS DS212J to my Chromebook so the file structure shows up in the File Manager, similar to my Google Drive files.  I have enabled WebDAV on my NAS.  When I attempt to use the app for mounting my NAS, it returns"NOT_FOUND".  I am able to log into my NAS from my Chromebook and view the URL to insure it matches.  If the URL isn't found, is it possible that the format of the URL entered is incorrect?  I attempted to use several formats for the URL, including the following:
192.168.1.xxx (my local IP address)
192.168.1.xxx:5005 (my local IP address and WebDAV port)
My Synology QuickConnect name
My DDNS link
My WAN IP address
None of those formats worked.  What am I doing wrong or how do I get it to mount?

I had a similar issue with creating a WebDav connection with my Synology Server as well. I found that I needed to add the http:// in order to make it work. ie. http://xxx.xxx.xxx:5005
I haven't had any luck mounting with a SSL connection via https:// yet though. I will be reaching out for help on this in a separate thread.
Good luck

Thanks. Adding the prefix of http:// worked immediately, and I was able to mount my Synology NAS to my Chromebook and view from File Manager.


Python Files Hard to Read

Python Files Hard to Read

In the python files, the lines that include expalinations are really long and that makes it hard to read them.  These lines need
to be separated into several lines in each of the files in this Project.
For users who do not download SageMath or Jyputer Notebooks, the output of the python files is a little messy.  It would be much better if at each print() statement if we also printed out a string that tells the user what they are seeing.  That way the users do not have to hunt through the code to find all the print statements.

All the Python files currently in the project have been edited to improve their readability.

All the Python files have now been edited to include more descriptions of their output, so that users of this project who use SageCell have an easier time reading the output.


fix missing fonts and url

Description
(this was always annoying and I fixed it while investigating the devtool for this ticket: https://jira.corp.adobe.com/browse/NUI-825)
we were using a font that you had to have locally installed which was making it default to Times New Roman (which looked weird)
also the /process was missing from the url displayed in the UI
we still don't have the actual request (like with the presigned urls and such). we could add this if everyone agrees. my only concern is whether or not we should display the presigned urls in the UI since they contain sensitive information
old:

fix:

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

https://cq-dev.slack.com/archives/GAMJLHSBH/p1600127410134300?thread_ts=1600126534.132300&cid=GAMJLHSBH
another cool meahana feature, an extension of displaying the raw request that I brought up in slack today^^^
(having a feature to export the /process and /register requests to postman)


Update shared-resources.json

@amol-wadekar sorry this flew under my radar.
Can you add more information to this PR, why is it good to change these defaults will they work everywhere? that kinda thing


Issue building with Cocoapods

When I build using the latest cococapods, it doesn't build and I get the following error:
Pods-CastVideos was rejected as an implicit dependency for 'libPods-CastVideos.a' because its architectures 'i386' didn't contain all required architectures 'i386 x86_64'

updated build settings in to be inherited and matched library arch. Seems ok now.
Will document the fix and contribute it back if I get some time.


concurrent map iteration and map write from amqp/types.go

Hi,
I have an app that publishes hundreds of AMQP messages every few seconds. Within my app, messages are queued to a channel from multiple threads, and then a single service thread drains the channel to (amqpChannel).Publish().
I occasionally get this panic on Publish():
Apr 10 19:03:02 ip-172-20-78-106 forward[827]: fatal error: concurrent map iteration and map write
Apr 10 19:03:02 ip-172-20-78-106 forward[827]:
Apr 10 19:03:02 ip-172-20-78-106 forward[827]: goroutine 7 [running]:
Apr 10 19:03:02 ip-172-20-78-106 forward[827]: runtime.throw(0xea1123, 0x26)
Apr 10 19:03:02 ip-172-20-78-106 forward[827]: #011/usr/local/go/src/runtime/panic.go:774 +0x72 fp=0xc0003eb868 sp=0xc0003eb838 pc=0x42f292
Apr 10 19:03:02 ip-172-20-78-106 forward[827]: runtime.mapiternext(0xc0003eb9b0)
Apr 10 19:03:02 ip-172-20-78-106 forward[827]: #011/usr/local/go/src/runtime/map.go:858 +0x579 fp=0xc0003eb8f0 sp=0xc0003eb868 pc=0x40f459
Apr 10 19:03:02 ip-172-20-78-106 forward[827]: runtime.mapiterinit(0xd6a0e0, 0xc0019c83c0, 0xc0003eb9b0)
Apr 10 19:03:02 ip-172-20-78-106 forward[827]: #011/usr/local/go/src/runtime/map.go:848 +0x1c3 fp=0xc0003eb910 sp=0xc0003eb8f0 pc=0x40edf3
Apr 10 19:03:02 ip-172-20-78-106 forward[827]: github.com/streadway/amqp.validateField(0xd6a0e0, 0xc0019c83c0, 0xc0019b2a20, 0x0)
Apr 10 19:03:02 ip-172-20-78-106 forward[827]: #011/src/vendor/github.com/streadway/amqp/types.go:241 +0x3d0 fp=0xc0003eba20 sp=0xc0003eb910 pc=0x8c6dc0
Apr 10 19:03:02 ip-172-20-78-106 forward[827]: github.com/streadway/amqp.Table.Validate(...)
Apr 10 19:03:02 ip-172-20-78-106 forward[827]: #011/src/vendor/github.com/streadway/amqp/types.go:254
Apr 10 19:03:02 ip-172-20-78-106 forward[827]: github.com/streadway/amqp.(*Channel).Publish(0xc000124000, 0xc0019d9460, 0x1a, 0xc000481530, 0x10, 0x420000, 0xc0019c83c0, 0xe8d0d2, 0x14, 0x0, ...)
Apr 10 19:03:02 ip-172-20-78-106 forward[827]: #011/src/vendor/github.com/streadway/amqp/channel.go:1327 +0x49 fp=0xc0003eba98 sp=0xc0003eba20 pc=0x8b0db9
any thoughts? I can't see how I'm doing anything concurrently from my application (which uses a single service thread to read from a channel and publish to this amqp library).
Thanks!

ha! never mind, within my own app I of course found a place where there could be contention writing out the amqp headers table affixed to each msg.


Make clipboard persist after program closes (like xclipboard)

Using xclipboard, the CLIPBOARD selection is persisted even after the program that generated them is closed. I think that it would be nice if greenclip also did this (maybe as a config option?).
Note that the clipboard selection is saved by greenclip even when the program closes, it is just not possible to paste it again without manually restoring it with rofi/dmenu/etc., so this would just remove this somewhat annoying step.

Hello,
This feature is sadly not possible with greenclip due to its design. See https://github.com/erebe/greenclip/issues/123#issuecomment-1094612925 for more information


Fix search input overlapping site nav

Implements header filler class from docs search page. Removes broken docs-specific button site search input.
Fixes #26269

Thanks @notchairmk .
Page preview:
https://deploy-preview-26278--kubernetes-io-master-staging.netlify.app/search/
https://deploy-preview-26278--kubernetes-io-master-staging.netlify.app/search/?q=kubectl
/kind cleanup

Thanks @notchairmk .
Page preview:
https://deploy-preview-26278--kubernetes-io-master-staging.netlify.app/search/
https://deploy-preview-26278--kubernetes-io-master-staging.netlify.app/search/?q=kubectl
/kind cleanup

/lgtm

/lgtm

/area web-development

/area web-development


Enabled authenticated proxy configuration for embedded MongoDB tests

This enhancement enables the use and running of tests leveraging the embedded MongoDB test packages when an authenticated proxy is required.  This will also work with existing, non-authenticated proxy settings, as the logic for that option will run independent of the logic for authenticated proxies.
I also updated the Setup.md readme to include explicit instructions for how to configure both an authenticated and non-authenticated proxy.

I can make those modifications; however, please note, as Hygieia is currently written in master will not work with an authenticated proxy - this fix does resolve the issue, but I can make it pull out the username password from the default proxy variable strings.
Please do not close this PR, as I can commit an update directly to this PR.

I have pushed an update to this commit which utilizes the feedback that you provided, @jdamick .  Please review and let me know if you have any additional thoughts or concerns.  I also added a pom fix that was causing an issue to VersionOneFeatureCollector that @tabladrum / @amitmawkin saw the other day, and fixed a method declaration issue with the Core's Component's class (using a 'replace' instead of a 'put', which also performs a replace action).

@softwareklinic, can you confirm if the updated changes in this pull request will negatively/positively affect a *.pac proxy script, as you have noted as a concern in an earlier pull request?

pac files aren't used, this only for env variables.

I'll fix the exception case, the formatting issues and resubmit a commit again.
the removal of scope "test" is actually fixing a runtime issue with VersionOneFeatureCollector, stopping it from actually running.  If you build on your machine with that change, you will see that you will now get the expected "$query" error that i am ultimately fixing.  It is required for that fix.

I have just committed the requested changes.  @jdamick , Please review and let me know if anything further should be done regarding the embedded mongodb proxy authentication enhancement

I see what you mean - i'm swallowing the exception instead of handling it before it ever happens.  I'll recommit next week with the changes you have suggested.  Thanks again for the input!

I have submitted some changes to the committed embedded MongoDB test case which check for authenticated proxy user info content, based on feedback from @jdamick .  I have left one catch for malformed exceptions, which does not entirely swallow the exception, as it prints a log of important information, but i have removed the swallowing NPE.  instead, i replaced this with a double-IF block that uses the tokenizer's built-in boolean check to see if more tokens are available before actually setting them.  this should cover for the use case that the username is blank (assumes then that password is also blank), and if the username is filled but the password is blank.  both cases will skip then to the proxy-only (non-auth) section.
Let me know if you have any remaining issues and i would be happy to fix them.

thanks