xcode_install fails if the desired Xcode version is not in the cached list

One must manually run xcversion update before the action can work with a newly released version of Xcode. Would be good if it did that out of the box.

https://github.com/fastlane/fastlane/issues/15680#issuecomment-555617350

Sorry, here it is:
✅ fastlane environment ✅
Stack

Key
Value

OS
10.14.6

Ruby
2.5.3

Bundler?
false

Git
git version 2.21.0 (Apple Git-122.2)

Installation Source
~/.rbenv/versions/2.5.3/bin/fastlane

Host
Mac OS X 10.14.6 (18G1012)

Ruby Lib Dir
~/.rbenv/versions/2.5.3/lib

OpenSSL Version
OpenSSL 1.0.2p  14 Aug 2018

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

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

Xcode Version
11.2.1

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.137.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.2.0

slack-notifier
2.3.2

atomos
0.1.3

CFPropertyList
3.0.1

claide
1.0.3

colored2
3.1.2

nanaimo
0.2.6

xcodeproj
1.13.0

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

addressable
2.7.0

multipart-post
2.0.0

word_wrap
1.0.0

public_suffix
2.0.5

tty-screen
0.7.0

tty-cursor
0.7.0

tty-spinner
0.9.1

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

excon
0.68.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday
0.17.0

faraday_middleware
0.13.1

fastimage
2.1.7

gh_inspector
1.1.3

mini_magick
4.9.5

multi_xml
0.6.0

rubyzip
1.3.0

security
0.1.3

xcpretty-travis-formatter
1.0.0

dotenv
2.7.5

naturally
2.2.0

simctl
1.6.6

jwt
2.1.0

uber
0.1.0

declarative
0.0.10

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.2

mime-types-data
3.2019.1009

mime-types
3.3

multi_json
1.14.1

signet
0.12.0

memoist
0.16.1

os
1.0.1

googleauth
0.6.7

httpclient
2.8.3

google-api-client
0.23.9

google-cloud-env
1.3.0

google-cloud-core
1.4.1

digest-crc
0.4.1

google-cloud-storage
1.16.0

emoji_regex
1.0.1

unicode-display_width
1.6.0

terminal-table
1.8.0

plist
3.5.0

babosa
1.0.3

json
2.2.0

bundler
2.0.2

openssl
2.1.2

date
1.0.0

fileutils
1.0.2

mini_portile2
2.4.0

nokogiri
1.10.5

ipaddr
1.2.0

psych
3.0.2

generated on: 2019-11-26

This is the first error case:
XcodeInstall::Informative: [!] [!] [!] Failed to download Xcode 11.2.1.

Another thing - we're running it on Jenkins, and I see it gets installed into the workspace: /Users/jenkins/build/workspace/<project-dir>/Xcode.app, and not in the Applications folder, giving the following error:
%sudo: no tty present and no askpass program specified
/Applications/Xcode-11.2.1.app: No such file or directory

Also it probably asks for the keychain password to complete installation. And since jenkins runs the shell in non-interactive mode, that might be an issue?


feat: add canny edge detection

Coverage increased (+0.6%) to 94.344% when pulling 09fb23518c9e9e13099d08392ee38b68ef2fea95 on canny into f174991452dd3b8ff0cb517957f6b253f3378d1b on master.


create lesson on testing concepts

As stated in the lesson, I reworked this carpentries lesson: https://carpentries-incubator.github.io/python-testing/
The biggest changes are to the CI section, and i generally made it shorter and made the text more relevant to arcadians.
I ran through everything and confirmed that it worked. It is a lot of overhead, but I wasn't sure how else to accomplish what we're trying to do without that, esp if the goal is to empower people to do this stuff themselves.

This looks great! Couple of minor comments:

I imagine many tests folks will write here will use test files - consider adding a short section about fixtures with an example, maybe also utilizing setUp and tearDown.
Similarly, a very common use case will be repeating a test for different parameters, so it could be useful to show a progression from the current test_{zero,double,long,...} to usage of @parametrize, to help people avoid long series of almost-identical tests.

This looks great! Couple of minor comments:
* I imagine many tests folks will write here will use test files - consider adding a short section about fixtures with an example, maybe also utilizing setUp and tearDown.

* Similarly, a very common use case will be repeating a test for different parameters, so it could be useful to show a progression from the current `test_{zero,double,long,...}` to usage of `@parametrize`, to help people avoid long series of almost-identical tests.

Are these things you would have time to suggest before tuesday? no worries if not, but neither of these are things I've done before, so without context im not totally sure how to teach these. If you dont have time to write lesson material, even linking to a strong example would be enough to point me in the correct direction for what to add in/write about!

Are these things you would have time to suggest before tuesday? no worries if not, but neither of these are things I've done before, so without context im not totally sure how to teach these. If you dont have time to write lesson material, even linking to a strong example would be enough to point me in the correct direction for what to add in/write about!

Sure, added a blurb for parameters, can add fixtures next week.


[AzureTools][Aspire] The change in state of the containers in the dashboard is inconsistent after deleting the container in Podman Desktop or Docker Desktop

Clean machine: Win11 x64 23H2 ENU
VS Version: VS 17.12.0 Preview 3.0 [35326.43.main]
Aspire Version: 9.0.0-preview.4.24475.6
Apply NuGet Feeds
Podman Desktop: 1.12.0
Podman CLI: 5.2.3
Docker Desktop: 4.34.2
REPRO STEPS:

Create an Aspire starter project with "Use Redis for caching (requires Docker)" checked.
F5/execute dotnet run in the AppHost project path and open the dashboard.
Delete the running container in Podman Desktop or Docker Desktop.
Check whether the change in state of the containers in the dashboard is consistent.

Expect:
The change in state of the containers in the dashboard is consistent.
Actual:
The change in state of the containers in the dashboard is inconsistent.

Delete the running container in Podman Desktop: The state of the container in the Dashboard changes to "Unknown".

Delete the running container in Docker Desktop: The state of the container in the Dashboard changes to "Exited".

Delete the running container from CTW window: The state of the container in the Dashboard also changes to "Unknown".


French translations

Sorry, the update of rich_text_editor.js should not be there but in the other pull request only.

Your French translations are highly welcome!
I just don't know why, but trying to pull your request with GitHub's recommended
curl -L https://github.com/dankito/RichTextEditor/pull/4.patch | git am -3
gave me an empty patch.
So I merged the file now manually.
Please check develop (or master) branch if it meets your expectations (and may close this pull request then).


Fix periodic job formatting in docs_release.jinja2

Our last change added the docs-release job as a key/value map, causing a
yaml syntax issue when Prow tried to parse jobs.yaml. This commit reformats
the docs-release job in docs_release.jinja2 to be an array element instead.
Signed-off-by: Amine Hilaly<EMAIL_ADDRESS>By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Is there a jinja2 linter that could be added as a prehook for pr's here?

+1 to linter advice, looks like there are some out there.

@acornett21 Good call! We could also just leverage yq to check the generate yaml directly.

yq seems like a valid option if all we care about is is it yaml.

Let's consider using something like djLint, and maybe a preflight / test for these PRs in future.
I checked out PR and other than some old double-line warnings these look fine with djlint except some crufty double blank line warnings in prow/jobs/jobs.yaml unrelated to this PR. If you want to make it clean clean, we can remove those.

We can leave off the pre-existing double-line thing for now.
/lgtm

Btw I think we could also get away with yq - all djLint is doing here is checking yaml, as far as we're concerned. Let's just put something in here so we can catch the basic stuff.


Motion, transitions

To revisit once templates are created.

https://semantic-ui.com/modules/transition.html

Will be incorporated into individual components.


Command causes undesired ui changes

^extra line

^without line
Editing a project in project view or a task in task view causes a line to appear.

A correction of my previous comment, it is not just edit command, alternating commands cause the line to appear and disappear

Sorry but I don't see the difference.

To replicate, make sure the time spent tab isn't fully filled and run a random command like edit 1 n/lol


No way to fix the result(random_state or random_seed)

Searching the documentation and API shows no way to fix the result
example:
study = optuna.create_study(); study.optimize(opt,random_state=123)

Thank you for your question.
I think that the QA entry "How can I obtain reproducible optimization results?" will help you.

Thank you very much for your kind support!
All resoleved!!

Sorry , The problem is not solved yet.
Please have a look at my code...
import optuna
from sklearn.metrics import mean_squared_error

def opt(trial):
    n_estimators = trial.suggest_int('n_estimators', 0, 250)
    xgboost_tuna = xgb.XGBRegressor(
        random_state=1234,
        n_estimators = n_estimators,
    )
    xgboost_tuna.fit(train_df_x,train_df_y)
    tuna_pred_train = xgboost_tuna.predict(train_df_x)
    return mean_squared_error(train_df_y,tuna_pred_train)

study = optuna.create_study(sampler=optuna.samplers.TPESampler(seed=10))
study.optimize(opt)

print(study.best_params)

I cannot reproduce your problem because the above code failed with the error NameError("name 'train_df_x' is not defined",).
So, I'm not sure, but if you used sklearn.model_selection.train_test_split to split your data, specifying a random seed to the function may resolve your problem.
(cf. How to set the global random_state in Scikit Learn)

Sorry , This is full code.
# 諸々読み込み
from sklearn.metrics import mean_squared_error
from sklearn import model_selection
from sklearn import datasets
import pandas as pd
import xgboost as xgb
import optuna

# ハイパーパラメータ探索用関数
def opt(trial):
    n_estimators = trial.suggest_int('n_estimators', 0, 250)
    max_depth = trial.suggest_int('max_depth', 1, 5)
    min_child_weight = trial.suggest_int('min_child_weight', 1, 15)
    subsample = trial.suggest_int('subsample', 1, 10)*0.1
    colsample_bytree = trial.suggest_int('colsample_bytree', 1,10)*0.1
    importance_type = trial.suggest_categorical('importance_type', ['weight', 'gain', 'cover'])
    tree_method = trial.suggest_categorical('tree_method', ['auto','exact','approx','hist'])
    grow_policy = trial.suggest_categorical('grow_policy', ['depthwise','lossguide'])
    xgboost_tuna = xgb.XGBRegressor(
        random_state=1234,
        n_estimators = n_estimators,
        max_depth = max_depth,
        min_child_weight = min_child_weight,
        subsample = subsample,
        colsample_bytree = colsample_bytree,
        importance_type = importance_type,
        tree_method = tree_method,
        grow_policy = grow_policy,
    )
    xgboost_tuna.fit(train_df_x,train_df_y)
    tuna_pred_train = xgboost_tuna.predict(train_df_x)
    return mean_squared_error(train_df_y,tuna_pred_train)

# データ読み込み
boston = datasets.load_boston()
boston_df = pd.DataFrame(boston.data)
boston_df['target'] = boston.target

# 訓練データとテストデータに分割
train_df, test_df = model_selection.train_test_split(boston_df, test_size=0.2,random_state=0)
train_df_y = train_df[['target']]
train_df_x = train_df.copy().drop('target', axis=1)
test_df_y = test_df[['target']]
test_df_x = test_df.copy().drop('target', axis=1)

# 最適化
study = optuna.create_study(sampler=optuna.samplers.TPESampler(seed=10))
study.optimize(opt, n_trials=100,n_jobs=-1)

# 結果出力
print(study.best_params)

Probably, This part is the cause...
subsample = trial.suggest_int('subsample', 1, 10)*0.1
colsample_bytree = trial.suggest_int('colsample_bytree', 1,10)*0.1

&
subsample = subsample,
colsample_bytree = colsample_bytree

Maybe, caused by 'n_jobs=-1'??

Maybe, caused by n_jobs=-1??

Yes, I think so.
If n_jobs=-1 is specified and your machine has multiple CPU cores, the optimization is executed in parallel.
The following sentence is quoted from How can I obtain reproducible optimization results?:

First, when optimizing a study in distributed or parallel mode, there is inherent non-determinism.
Thus it is very difficult to reproduce the same results in such condition. We recommend executing optimization of a study sequentially if you would like to reproduce the result.

Thank you very much for your kind support!
All resoleved!!


Add support for Python 3.10

Add support and a test run for Python 3.10. I've also started a changelog. We can change the format etc. later, but I thought it good to keep a log as we change/add stuff.

Codecov Report

Merging #43 (d15cdf4) into main (3cca91c) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #43      +/-   ##
==========================================
- Coverage   99.54%   99.53%   -0.02%
==========================================
  Files           8        8
  Lines         221      215       -6
==========================================
- Hits          220      214       -6
  Misses          1        1

Impacted Files
Coverage Δ

...rs/test_volume_filters/test_structure_detection.py
95.45% <0.00%> (-0.38%)
:arrow_down:

tests/tests/test_integration/test_train.py
100.00% <0.00%> (ø)

tests/tests/test_integration/test_detection.py
100.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


use gcompat to run ghr

The latest release of ghr is dynamically linked against libc, but alpine linux has a minimal libc which prevents ghr from running. The fix is to use gcompat as a compatibility layer so that glibc apis can be used.

This will fix https://github.com/facebook/flipper/issues/4182

Closing this PR since its been fixed in a different fork. As an FYI, I made the fix in Roang-zero1's repo: https://github.com/Roang-zero1/github-upload-release-artifacts-action/commit/f52c981f01716ddeb481a9aae2af18f699792c62 so you should just be able to pull in those changes.


sometimes crashes on scrape

scraping descriptionTraceback (most recent call last):
  File "/Users/stoebelj/.virtualenvs/codewars/bin/kata-scrape", line 4, in <module>
    kata_scrape.main()
  File "/Users/stoebelj/.virtualenvs/codewars/lib/python3.6/site-packages/kata_scrape/main.py", line 66, in main
    fetch(args)
  File "/Users/stoebelj/.virtualenvs/codewars/lib/python3.6/site-packages/kata_scrape/main.py", line 60, in fetch
    c.make_kata()
  File "/Users/stoebelj/.virtualenvs/codewars/lib/python3.6/site-packages/kata_scrape/client.py", line 73, in make_kata
    self._scrape_description()
  File "/Users/stoebelj/.virtualenvs/codewars/lib/python3.6/site-packages/kata_scrape/client.py", line 103, in _scrape_description
    descrip = soup.select('#description')[0]
IndexError: list index out of range

first guess: the dom isn't fully ready when selenium goes to pull the data.

fixed!


Demo

What does the pull request do?

What is the current behavior?

What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Avaloniaui.net with user documentation

Breaking changes

Fixed issues

What the heck is this?? If you're practicing for a PR then please do it privately first.


Grid2dRepresentation ignores LocalCrs

What are the steps to reproduce this issue?
std::string filepath = "test.epc";
auto pck = common::EpcDocument(filepath, common::EpcDocument::OVERWRITE);
auto hdfProxy = pck.createHdfProxy("", "Hdf Proxy", pck.getStorageDirectory(), pck.getName() + ".h5");

auto local3dCrs = pck.createLocalDepth3dCrs("", "Default local CRS", 1000.0, 2000.0, 3000.0, .0, gpq::eml20__LengthUom__m, 23031, gpq::eml20__LengthUom__m, "Unknown", false);
auto horizon1 = pck.createHorizon("35d7b57e-e5ff-4062-95af-ba2d7c4ce347", "Horizon1");
auto horizon1Interp1 = pck.createHorizonInterpretation(horizon1, "ac12dc12-4951-459b-b585-90f48aa88a5a", "Horizon1 Interp1");

auto h1i1g2dRep = pck.createGrid2dRepresentation(horizon1Interp1, local3dCrs, "1b8f7b73-6e04-4b28-ac6f-ef6256c49258", "Horizon1 Interp1 Grid2dRep");
double zValues[8] = { 300, 300, 350, 350, 300, 300, 350, 350 };
h1i1g2dRep->setGeometryAsArray2dOfExplicitZ(zValues, 4, 2, hdfProxy, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 100.0, 0.0, 1.0, 0.0, 200.0);

auto x = h1i1g2dRep->getXOriginInGlobalCrs();
auto y = h1i1g2dRep->getYOriginInGlobalCrs();
std::cout << x << " " << y << "\n";

What does happen?
It looks like x is local 0.0 and y is local 0.0
Should have added (1000 2000) to xy
What were you expecting to happen?
…
Any logs, error output, etc?
(If it’s long, please paste to https://ghostbin.com/ and insert the link here.)
Any other comments?
…
What versions of fesapi are you using?
0.15 up to #112

btw: the zvalues appear to lack the 3000 shift as well

Thanks for the bug report and for the piece of code perfectly illustrating the problem.
It looks like an important bug. I will add unit test on that!

I just ran into this problem today.  Thanks a lot for fixing it before I found it! ;>)


Incident Statistics Module

Module to collect statistics on the incident being investigated.  A better understanding of the incident history (ex. TP/FP rates) may be useful in decision making.
Sample return:
{
    "AnalyticsRuleName": "<RuleName>",
    "AnalyticsRuleId": "<guid>",
    "AvgIncidentsPerDay": 1,
    "AvgIncidentsPerWeek": 7,
    "ClosedBenignPositiveRate": 0.0,
    "ClosedFalsePositiveRate": 0.2,
    "ClosedTruePositiveRate": 0.7,
    "ClosedUndeterminedRate": 0.1,
    "IncidentCount": 20,
    "IncidentsOpen": 10,
    "IncidentsClosed": 10
}

Starting point for the KQL
SecurityIncident
| where TimeGenerated > ago(90d)
| where Title =~ "<CurrentTitle>"
| summarize arg_max(TimeGenerated, *) by IncidentNumber
| summarize IncidentCount=count(), TruePositiveCount=countif(Classification =~ "TruePositive"), FalsePositiveCount=countif(Classification =~ "FalsePositive"), BenignCount=countif(Classification =~ "BenignPositive"), UndeterminedCount=countif(Classification =~ "Undetermined"), OpenCount=countif(Status !~ "Closed"), ClosedCount=countif(Status =~ "Closed") by Title
| extend TruePositiveRate = TruePositiveCount / ClosedCount


[MM-49006] Handle Plugin related events

Summary
Plugin WS events that don't need to do any logic, but need to be handled. :-)
Ticket Link
https://mattermost.atlassian.net/browse/MM-49006
Checklist

[ ] Added or updated unit tests (required for all new features)
[ ] Has UI changes
[ ] Includes text changes and localization file updates
[ ] Have tested against the 5 core themes to ensure consistency between them.

Device Information
This PR was tested on:
Screenshots

Release Note

Handle Plugin related events

CI is failing because missing definitions.

CI is failing because missing definitions.

humm, didn't expect that, I'll check it out.

@larkox Fixed, sorry about that!

Are we merging this @larkox ? 👼

I think I misunderstood, I'll check what's in the webapp and add the same events here. 👍

I'm going to skip the QA Review since there is nothing to test.


FIX README.md to correct link for the Arrays / Josephus Problem

Pull Request Test Coverage Report for Build 315

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 91.539%

Totals

Change from base Build 314:
0.0%

Covered Lines:
2748

Relevant Lines:
3002

💛  - Coveralls

@getconor  Thanks PR


L2 norm implementation fails with NotImplementedError

The l2 norm numba implementation with dpnp calls fails since numba-dpex does not currently support dpnp.sum calls with non-default axis. See failing code snippet below.
@dpjit
def l2_norm(a, d):
    sq = np.square(a)
    sum = sq.sum(axis=1)
    d[:] = np.sqrt(sum)

How to reproduce:

Follow instructions to setup dpbench.
Run l2_norm - python -c "import dpbench; dpbench.run_benchmark("l2_norm")"

Duplicate of #784


execute-mypy-multi: make parameters named, run mypy in parallel

Wow, the mypy's result in this PR looks good - 2m 38s. This is, of course, only a single result, but it looks optimistic.
In other pull requests here 1-thread mypy worked for 5-10 minutes.


Add Travelers TV serie

Checklist for submitting a pull request to Movies For Hackers:

[x] I have carefully read and comply with the Contributing Guidelines of this repo.
[x] I have searched the PRs of this repo and believe that this is not a duplicate.

Title: Travelers

Link: http://www.imdb.com/title/tt5651844/

Genre: Sci-Fi

Rating: 8.0/10

Description: Hundreds of years from now, surviving humans discover how to send consciousness back through time, into people of the 21st century, while attempting to save humanity from a terrible future.

Merged in favour of community endorsement.


require, scripts, module not found

Best to explain with an example:
$ cat foo.js
module.exports = "bar";
$ sjs
Skookum JS 0.4.0 running on osx x64
[Engine: Duktape v1.5.0 (83d5577)]
[Build: Debug on 2017-01-02T18:01:47Z]
[Clang <IP_ADDRESS>30031 on Darwin-15.6.0]
sjs> require("./foo")
= "bar"
sjs>
$ cat bar.js
console.log(require("./foo"));
$ sjs bar.js
Error: Module not found
    at [anon] (.../sjs/src/modules.c:222) internal
    at [anon] () native strict preventsyield
    at require () native strict preventsyield
    at main (.../bar.js:1) preventsyield

Hum, does sjs ./bar.js work?  At any rate, I plan on updating the Duktape engine to v2 soon, I'll also take care of this before the release.  Thanks for the report!

@saghul clobbered and rebuilt sjs, this specific error went away but a related one showed up:
$ cat foo.js
module.exports = "bar";
$ cat bar.js
console.log(require("./foo"));
$ sjs bar.js
bar
$ sjs -e 'require("./foo.js")'
Error: Module not found
...

It seems like the module resolution process from the REPL differs from the module resolution process for a script invocation and the process for the eval mode.

Looks like this got fixed somewhere along the line, I can no longer reproduce it.


New SAP Concur Provisioning?

Hello, is there a new version of SAP Concur Provisioning available so that way we can keep our users in sync with Azure?

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

ID: 4e98995c-09f1-2c1d-fd55-27f978e8262c
Version Independent ID: 40a8b6e7-dae3-172a-5373-896372b30174
Content: Tutorial: Configure Concur for automatic user provisioning with Microsoft Entra ID - Microsoft Entra ID
Content Source: docs/identity/saas-apps/concur-provisioning-tutorial.md
Service: entra-id
Sub-service: saas-apps
GitHub Login: @jeevansd
Microsoft Alias: jeedes

@JordanMastel
Thanks for your feedback! We will investigate and update as appropriate.

@JordanMastel
Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can take a look at it accordingly.

Thanks, it would be nice if there was a new option.
Jordan Mastel
System Administrator II| Information Technology Services
Grand Canyon Education
3300 W. Camelback Rd. | Phoenix, AZ | 85017
602-639-7700 Office |<PHONE_NUMBER> Direct
<EMAIL_ADDRESS>| gce.comhttps://www.gce.com/
From: AjayBathini-MSFT @.>
Sent: Saturday, March 30, 2024 9:16 AM
To: MicrosoftDocs/entra-docs @.>
Cc: Jordan Mastel (GCE) @.>; Mention @.>
Subject: Re: [MicrosoftDocs/entra-docs] New SAP Concur Provisioning? (Issue #564)
@JordanMastelhttps://urldefense.com/v3/__https:/github.com/JordanMastel__;!!CSKv4JNZfdoHTMmavA!keBeDi86jrWPQDUuI3d6Z01fnqlU47f3-3ATEiPYb0qaZbaAb8f54ucLTi73SelQmT_-BG7K9Kfv40NUrkFXHr9YZQ$
Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can take a look at it accordingly.
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/MicrosoftDocs/entra-docs/issues/564*issuecomment-2028203511__;Iw!!CSKv4JNZfdoHTMmavA!keBeDi86jrWPQDUuI3d6Z01fnqlU47f3-3ATEiPYb0qaZbaAb8f54ucLTi73SelQmT_-BG7K9Kfv40NUrkGcwhCJPQ$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AXDOLGHS3DWPBWUI5FOENGTY23QMBAVCNFSM6AAAAABFJ4X4P2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRYGIYDGNJRGE__;!!CSKv4JNZfdoHTMmavA!keBeDi86jrWPQDUuI3d6Z01fnqlU47f3-3ATEiPYb0qaZbaAb8f54ucLTi73SelQmT_-BG7K9Kfv40NUrkEubWq1cQ$.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

@twimmers, Can you please check and add your comments on this request as applicable.

@jeevansd @twimmers @v-hgampala We are migrating all GitHub issues to ADO as we switch our feedback mechanism to UUF. Please either address the issue, or close and track it in ADO no later than June 10, 2024. Thank you.

we are working on the issue, will reflect the changes into the main article soon.
#please-close


florence-2 no internet. no working?

florence-2 needs internet connection to work even though the model is 100% downloaded?. can you fix it so that it works offline too
`run_captioning
concept sentence bh3a
captions ('bh3a', 'bh3a', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '')
device=cuda
Traceback (most recent call last):
File "/home/tobias/AI/fluxgym/env/lib/python3.10/site-packages/urllib3/connection.py", line 196, in _new_conn
sock = connection.create_connection(
File "/home/tobias/AI/fluxgym/env/lib/python3.10/site-packages/urllib3/util/connection.py", line 60, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/home/tobias/miniconda3/lib/python3.10/socket.py", line 955, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/tobias/AI/fluxgym/env/lib/python3.10/site-packages/urllib3/connectionpool.py", line 789, in urlopen
response = self._make_request(
File "/home/tobias/AI/fluxgym/env/lib/python3.10/site-packages/urllib3/connectionpool.py", line 490, in _make_request
raise new_e
File "/home/tobias/AI/fluxgym/env/lib/python3.10/site-packages/urllib3/connectionpool.py", line 466, in _make_request
self._validate_conn(conn)
File "/home/tobias/AI/fluxgym/env/lib/python3.10/site-packages/urllib3/connectionpool.py", line 1095, in _validate_conn
conn.connect()
File "/home/tobias/AI/fluxgym/env/lib/python3.10/site-packages/urllib3/connection.py", line 615, in connect
self.sock = sock = self._new_conn()
File "/home/tobias/AI/fluxgym/env/lib/python3.10/site-packages/urllib3/connection.py", line 203, in _new_conn
raise NameResolutionError(self.host, self, e) from e
urllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPSConnection object at 0x7c7e00bd3010>: Failed to resolve 'huggingface.co' ([Errno -2] Name or service not known)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/tobias/AI/fluxgym/env/lib/python3.10/site-packages/requests/adapters.py", line 667, in send
resp = conn.urlopen(
File "/home/tobias/AI/fluxgym/env/lib/python3.10/site-packages/urllib3/connectionpool.py", line 843, in urlopen
retries = retries.increment(
File "/home/tobias/AI/fluxgym/env/lib/python3.10/site-packages/urllib3/util/retry.py", line 519, in increment
raise MaxRetryError(_pool, url, reason) from reason  # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /multimodalart/Florence-2-large-no-flash-attn/resolve/main/model.safetensors (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7c7e00bd3010>: Failed to resolve 'huggingface.co' ([Errno -2] Name or service not known)"))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/tobias/AI/fluxgym/env/lib/python3.10/site-packages/gradio/queueing.py", line 536, in process_events
response = await route_utils.call_process_api(
File "/home/tobias/AI/fluxgym/env/lib/python3.10/site-packages/gradio/route_utils.py", line 321, in call_process_api
output = await app.get_blocks().process_api(
File "/home/tobias/AI/fluxgym/env/lib/python3.10/site-packages/gradio/blocks.py", line 1935, in process_api
result = await self.call_function(
File "/home/tobias/AI/fluxgym/env/lib/python3.10/site-packages/gradio/blocks.py", line 1532, in call_function
prediction = await utils.async_iteration(iterator)
File "/home/tobias/AI/fluxgym/env/lib/python3.10/site-packages/gradio/utils.py", line 671, in async_iteration
return await iterator.anext()
File "/home/tobias/AI/fluxgym/env/lib/python3.10/site-packages/gradio/utils.py", line 664, in anext
return await anyio.to_thread.run_sync(
File "/home/tobias/AI/fluxgym/env/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
File "/home/tobias/AI/fluxgym/env/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2177, in run_sync_in_worker_thread
return await future
File "/home/tobias/AI/fluxgym/env/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 859, in run
result = context.run(func, *args)
File "/home/tobias/AI/fluxgym/env/lib/python3.10/site-packages/gradio/utils.py", line 647, in run_sync_iterator_async
return next(iterator)
File "/home/tobias/AI/fluxgym/env/lib/python3.10/site-packages/gradio/utils.py", line 809, in gen_wrapper
response = next(iterator)
File "/home/tobias/AI/fluxgym/app.py", line 118, in run_captioning
model = AutoModelForCausalLM.from_pretrained(
File "/home/tobias/AI/fluxgym/env/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 559, in from_pretrained
return model_class.from_pretrained(
File "/home/tobias/AI/fluxgym/env/lib/python3.10/site-packages/transformers/modeling_utils.py", line 3594, in from_pretrained
if not has_file(pretrained_model_name_or_path, safe_weights_name, **has_file_kwargs):
File "/home/tobias/AI/fluxgym/env/lib/python3.10/site-packages/transformers/utils/hub.py", line 655, in has_file
response = get_session().head(
File "/home/tobias/AI/fluxgym/env/lib/python3.10/site-packages/requests/sessions.py", line 624, in head
return self.request("HEAD", url, **kwargs)
File "/home/tobias/AI/fluxgym/env/lib/python3.10/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "/home/tobias/AI/fluxgym/env/lib/python3.10/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "/home/tobias/AI/fluxgym/env/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 66, in send
return super().send(request, *args, **kwargs)
File "/home/tobias/AI/fluxgym/env/lib/python3.10/site-packages/requests/adapters.py", line 700, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: (MaxRetryError('HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /multimodalart/Florence-2-large-no-flash-attn/resolve/main/model.safetensors (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7c7e00bd3010>: Failed to resolve 'huggingface.co' ([Errno -2] Name or service not known)"))'), '(Request ID: af4d896c-0211-410d-a82e-2691bf94a3a2)')
`

Try setting the following environment variable.
HF_HUB_OFFLINE=1

I downloaded the model manually and pasted it into the cache directory, then connected to high-speed internet and waited for it to complete.
Cache directory: Local: C:\Users%USERNAME%.cache\huggingface\hub\models--multimodalart--Florence-2-large-no-flash-attn\blobs Or in Pinokio, in the fluxgym folder and cache folder.

I downloaded the model manually
Where can I download the model manually?

This line never ends:
pytorch_model.bin:   0%|                                                                                | 0.00/1.54G [00:00<?, ?B/s]
Linux-like is a very bad system, since everything is tied to the Internet.

Progress?
pytorch_model.bin:   4%|██▎                                                       | 62.9M/1.54G [01:19<15:15, 1.62MB/s]
Downloaded to 4% and froze. What's wrong with this file or this CODE and how to fix it? Where can I download this file MANUALLY?
Everything else is downloaded somehow.


Every print starts with an exclamation point

I have:

[X] searched open and closed issues for duplicates

Bug description
Every time I go to print any text or image, it starts off with an exclamation point. This only happens when I call the set() function. When I don't use the set function, it prints as normal. Any helpful hints about where this is being caused in the code?
Steps to reproduce
from escpos.printer import Usb
p = Usb(0x0416, 0x5011, 0, 0x81, 0x01)
p.set()
p.block_text('Test')
Device info

Printer: TEROW T5890K

python-escpos version: 2.2.0
python version: 3.5.3
operating system: Linux

You could try one of the pre-release versions by installing with --pre flag set for pip. (Unfortunately there is not a newer release version as the API is not stable)
Instead of block_text you could use the function for text or try out sending directly with _raw. This way you can try to rule out any side effects (of maybe misunderstood commands).
Since you wrote that it happens only after calling set, you could check the commands that are sent in this function. Could be the case that your printer does not handle something not as expected.
If you find any unsupported commands, feel free to extend your issue here.

Thank you! This is really helpful to start debugging. I appreciate it!


GraalVM native image build failed in Spring when using Hibernate Types

Hi Team
Thanks for your work on HibernateTypes. When we are trying to build a native image for Spring Boot, the build succeeds but while running, it fails with the following error:
`
Native reflection configuration for org.hibernate.annotations.common.reflection.java.JavaXAnnotatedElement.getJavaType() is missing.
Action:
Native configuration for a method accessed reflectively is likely missing
`
Following are the type hints added
@NativeHint(types = { 				@TypeHint(types = { 						org.springframework.jdbc.datasource.SimpleDriverDataSource.class, 						com.vladmihalcea.hibernate.type.basic.PostgreSQLEnumType.class,                         com.vladmihalcea.hibernate.type.json.JsonBinaryType.class 				})
Spring Boot version - 2.5.4
Spring Native version - 0.10.3-SNAPSHOT

I've spent some time trying to track this down as I faced the same issue with JSON types. So far, I think the culprit is this reflection call to get javaType. I don't know hibernate-types good enough and not sure why it needs to be a reflection call here, but doing ((JavaXMember) xProperty).getJavaType(), after all, we just checked type that it's JavaXMember, allowed me to move past Hibernate issues.
@vladmihalcea I can make a PR of this sounds like a proper fix.

Sure thing. Please sned the PR.

Fixed.


The result of val dataset!

When I eval in the val dataset, I got the result.
Evaluation official: car AP(Average<EMAIL_ADDRESS>0.70, 0.70:
bbox AP:84.92, 83.72, 83.56
bev  AP:83.67, 81.57, 75.99
3d   AP:79.95, 71.92, 71.52
aos  AP:84.66, 83.21, 82.79
car AP(Average<EMAIL_ADDRESS>0.50, 0.50:
bbox AP:84.92, 83.72, 83.56
bev  AP:85.79, 84.89, 84.54
3d   AP:85.48, 84.65, 84.30
aos  AP:84.66, 83.21, 82.79
Evaluation coco: car coco AP@0.50:0.05:0.95:
bbox AP:65.71, 63.42, 62.74
bev  AP:65.17, 62.46, 61.28
3d   AP:56.02, 52.30, 51.71
aos  AP:65.48, 63.04, 62.18
It is lower than the result of paper. Can you give me some advice?

@Vegeta2020  @shxzhao  I also got a lower AP results when using the model from this repository:
Evaluation official_AP_11: car AP(Average<EMAIL_ADDRESS>0.70, 0.70:
bbox AP:90.61, 89.47, 89.02
bev  AP:89.94, 88.11, 87.44
3d   AP:88.44, 79.07, 78.27
aos  AP:90.51, 89.10, 88.46
car AP(Average<EMAIL_ADDRESS>0.50, 0.50:
bbox AP:90.61, 89.47, 89.02
bev  AP:90.67, 89.73, 89.38
3d   AP:90.66, 89.67, 89.28
aos  AP:90.51, 89.10, 88.46

Evaluation official_AP_40: car AP(Average<EMAIL_ADDRESS>0.70, 0.70:
bbox AP:96.27, 93.00, 90.56
bev  AP:93.25, 89.64, 87.23
3d   AP:89.73, 83.08, 80.57
aos  AP:96.12, 92.55, 89.97
car AP(Average<EMAIL_ADDRESS>0.50, 0.50:
bbox AP:96.27, 93.00, 90.56
bev  AP:96.45, 95.39, 93.02
3d   AP:96.37, 95.22, 92.89
aos  AP:96.12, 92.55, 89.97

Did you use your own training model or the pre training model the repository provided?

Same as you, and I found that as the training progresses, the accuracy will get lower and lower from epoch 1 to epoch 60.

I forget to set the eval result per epoch, but my result of eval dataset is so low, can you provide your set of train.py or provide the train model to me. My email is<EMAIL_ADDRESS>

I didn't change the code of train.py, and my final result is same as yours.  The only thing I modified is #14. Maybe the bad result is caused by this modification, or the author of the paper missed something. Could you give us some suggestions? @Vegeta2020

@shxzhao  I used the pre-trained student model the repository provided.

@WWW2323 I find the results from epoch1 to epoch60 get lower and lower too, sometimes it also will crash during epoch 50 - 60 because of "out of cuda memory ", I am wondering if the model tend to predict more proposals and get lower mAP.
Can you give me some advice?
@Vegeta2020

This is my evaluation result using the provided model, it seems the same as in README.
If it's lower than that, I guess it's caused by data or dependencies preparation.

Maybe you need set batch size = 1 @pigtigger ,  i set the batch size = 1.
Good job! did you change any code of the repository？such as  #14, and what's your GPU type? Thanks!!!

Maybe you need set batch size = 1 @pigtigger ,  i set the batch size = 1.
@FangGet Good job! did you change any code of the repository？such as  #14, and what's your GPU type? Thanks!

nop, I keep everything the same as the original, the model copy issue may be caused by python version, try using python 3.6.
Btw, my GPU type is RTX 2080TI

I got the same results as yours when evaluate the provided model,  but when I use it  the  as initial weights for student and teacher model and start training, the performance drops a lot  @FangGet

I also obtained the same results as stated in the README!

@WWW2323 Thanks .
do you get a good results after training ? could you tell me the model you use for initialize student and teacher?  I also modified #14 ,  but not sure if it is the reason for bad performance

I have no idea, i can't even get good results before training @pigtigger

@gqding I guess you should use the pre-trained model from CIA-SSD as the initial model, if SE-SSD pre-trained model is used, try to decrease the learning rate. But it's normal for performance drop as soft-target supervisor may disappear if the difference between teacher and student is ignorable, just my opinion.

I also get the same val set results as shown in README.md, but i run into another problem. When i use the model to inference test set and submit to kitti server, the results is  as follows:

I don't know if I need to modify any configuration during testing,  because the result of SE-SSD on test set is this:

If you get results similar to SE-SSD on test set, please @me, thanks!! Or    @Vegeta2020 can give some advice?

Do you use the pre-train model or the model you trained?@WWW2323

I use the pre-trained model provided in README to inference val set and test set. The result on the val set is more like the result in the SE-SSD paper,  but the result on the test set is more like the result of the CIA-SSD. Now I don't know if  the provided-model is the final model of SE-SSD or it is just used for SE-SSD initialization.

It should be the final model of SE-SSD.

I get the same results as yours @WWW2323
the final model's performance is similar to CIA-SSD, so I think it is not the final model and use it to initialize SE-SSD, but the training results is even lower.

Do you mean your result on the test set  is the same as mine?

yes
------------------ Original ------------------
From: WWW2323 @.>
Date: Wed,Aug 18,2021 0:24 PM
To: Vegeta2020/SE-SSD @.>
Cc: lihe ding @.>, Mention @.>
Subject: Re: [Vegeta2020/SE-SSD] The result of val dataset! (#32)
Do you mean your result on the test set  is the same as mine?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Hi, guys. The provided model is the SE-SSD model trained on the train split and not on the trainval split, and the results given in README are based on the evaluation on the val split. (I'm afraid I cannot provide the trained model on the trainval and help you produce prediction files for submission to KITTI evaluation server, as it will violate the submission policy and lead to account banning.)
To get decent results, you must use a pre-trained model to initialize both student & teacher model. In our previous experiments, we often get decent results with a pre-trained model training from scratch, but there are only a few cases that we cannot, we guess it' related to the initialization.

Hi, everybody, do you reproduce the results? I trained a CIA-SSD model and use it for the initialization of SE-SSD. Although there is no drop as using provided model in README for initialization, there is no increase.  So sad

@WWW2323 do you mean that you use your own model trained from CIA-SSD for initialization to train SE-SSD and get almost the same results as your initialization model ?  I use CIA-SSD pretrained model in  CIA-SSD README and get a huge drop. could you send your trained CIA-SSD to me ? I want to have a try .Thanks, my email is<EMAIL_ADDRESS>

Hi, everybody, do you reproduce the results? I trained a CIA-SSD model and use it for the initialization of SE-SSD. Although there is no drop as using provided model in README for initialization, there is no increase. So sad

@WWW2323 , did you use the pretrained model provided by author in CIA-SSD rep, and train using SE-SSD.

No, you need train a CIA-SSD model yourself with CIA-SSD rep. The head of CIA-SSD in CIA-SSD rep is different from the head of CIA-SSD in SE-SSD.


fixed token address

Please review the following token assets:
📑 Description

Token Name: ...
Project Website: https://...
Explorer URI: https://...

✅ Checks

[x] I created a new folder with the token address, all in lowercase
[x] I added the token's logo as a 32x32 PNG file, named logo-32.png
[x] I added the token's logo as a 128x128 PNG file, named logo-128.png
[x] I added the token's logo as a SVG file, named logo.svg
[x] My SVG logo is a proper SVG and not some base64 stuff
[x] My documentation/website clearly display the token address somewhere

NB: token address fixed. LP token address -> true token address


help wanted: wls <IP_ADDRESS> admin server connection timeout.

built and started container based on samples/12213-domain docker file and can't connect to admin console. Is the protocol tcp6 on the listener problematic and if so, how can I force it to listen on tcp port?
container-address=<IP_ADDRESS>
host-address=<IP_ADDRESS>
connecting to host-address:7001/console times out.
tcp6       0      0 :::7001                 :::*                    LISTEN

Issue resolved. My host machine cloud host didn't allow inbound connection to port 7001. tcp6 protocol label isn't relevant for permitting ipV4 connections.


iOS tensorflow audio recognition example (documentation)

Please provide an example, documentation for tensorflow audio recognition on iOS as you provide on Android (example).

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce
Mobile device

Have I written custom code - NO
OS Platform and Distribution - iOS
TensorFlow installed from - https://www.tensorflow.org
TensorFlow version - r1.8
Bazel version - N/A
CUDA/cuDNN version - N/A
GPU model and memory - N/A
Exact command to reproduce - N/A
Mobile device - iOS

@petewarden Can you take a look at this?

Nagging Assignee @petewarden: It has been 29 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignees @petewarden, @tofulawrence: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

We're actively working on porting the Android samples to iOS. Stay tuned!

Nagging Assignee @jdduke: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Targeting a release before the end of the year.

Nagging Assignee @jdduke: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @jdduke: It has been 29 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @jdduke: It has been 44 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

The iOS audio sample can be found @ https://github.com/tensorflow/examples/tree/master/lite/examples/speech_commands/ios. Feedback is welcome.


RCTConvert.h yoga/Yoga.h file not found

I am logging this as a bug as it seems like a bunch of people have logged it as an issue on Stackoverflow ... but seems to be a bug http://stackoverflow.com/questions/41505616/yoga-yoga-h-header-file-not-found-after-react-native-integration-in-the-existing
Upgraded to latest react-native 0.4.0
Build project for iOS on Xcode and you get the error message: /Users/adamginsburg/Documents/development/buzzy9/node_modules/react-native/React/Base/RCTConvert.h:13:9: 'yoga/Yoga.h' file not found

React Native version: 0.4.0
Platform: iOS
Operating System: The build issue happen on XCode 8

Is this the reason? https://github.com/facebook/react-native/releases/tag/v0.40.0

I'm getting similar error messages. In my case:

'React/RCTConvert.h' file not found in RCTResizeMode.h
'React/RCTLog.h' file not found in RCTNetworkTask.m

I had like 5-6 more but  those went away after I deleted my node_modules folders and ran npm install. These 2 remained, though, and my app won't build.
What are we missing?

I am using react native in an already existing iOS app. Everything is working fine with 0.39.0.
When I tried updating to 0.40.0, I get this error message when compiling, and I get this warning when running pod install:
[!] [Xcodeproj] Generated duplicate UUIDs

Seems like the xcode project needs to be fixed in some way. Not really sure what could have broken this. @mmmulani Could you have a look?

This looks like it has something to do with Cocoapods integration, @julienfouilhe @emilsjolander can you confirm if this is coming from cocoapods or not?

I am using CocoaPods yes, but I don't know if it is responsible for the error or not. XCode is giving the error when trying to build the app.

I think this is the same issue we had in https://github.com/facebook/react-native/pull/9544, and occurs whenever use_frameworks is enabled - essentially a framework can't include its own internal headers using angle brackets.
Because FB needed to use angle brackets for its internal builds of CSSS Layout @alloy proposed a compromise which was removed in https://github.com/facebook/react-native/commit/7c91f894ba611d3e850c18008fab253cc652dad0 . Since the move to using angle brackets everywhere, the use of RN as a framework now looks pretty much beyond repair.
AFAIK it's still possible even in a swift project to disable use_frameworks and import RN via a bridging header. It should also be possible to find+replace imports in post_install, but that's really only a brittle hack if RN has dropped support for frameworks.

I'm using swift project and not using use_frameworks! would be painful, wouldn't it? Some of my dependencies are written in Swift.

cc @javache can you reapply for fix for the include header to yoga now?

hey everyone, I tried to repro this issue by creating a tiny project and following the Obj-C guide here: https://facebook.github.io/react-native/docs/integration-with-existing-apps.html
but I was not able to run into the Yoga build problem.
does anyone have a smaller repro case they could post?

I'll see if I can post a repro case tomorrow, I did reproduce the issue earlier - in the meantime have you tried enabling use_frameworks, even in Objective-C? I haven't yet been able to get that working as a minimal build in a new app at all without modifying RN (just importing a couple of essential react headers in Appdelegate.m).

Hi @mmmulani I also created a simple swift project, with all the files already in the repo, so all you have to do is launch the xcworkspace in xcode and try to build: https://github.com/julienfouilhe/test-yoga-file-not-found

@javache and I found a workaround to this problem and we'd like someone from the community to champion it and support it going forward.
we created a yoga.podspec at node_modules/react-native/ReactCommon/yoga with contents:
Pod::Spec.new do |s|
  s.name                = "yoga"
  s.source_files = '**/*.{c,h}'
  s.header_dir   = 'yoga'
  s.platform            = :ios, "8.0"
  s.author = ''
  s.license = 'a'
  s.homepage = 'a'
  s.source = { :path => '.' }
  s.summary = 'a'
  s.version = '0.1'
end

and then include it from the main Podfile with pod 'yoga', :path => './node_modules/react-native/ReactCommon/yoga'
you would have to make another one for jschelpers and possibly any other subspec we have that uses a different header search path.
but this seems like a bug in CocoaPods, it should let use create the React dependency and link all its subspecs statically but create the whole React dependency as a dylib. cc @alloy for any ideas here

@mmmulani
It looks like it doesn't work in my case
I still have have an error

RCTConvert.h:13:9: fatal error: 'yoga/Yoga.h' file not found
#import <yoga/Yoga.h>

But I had to change pod 'yoga', :path => './node_modules/react-native/ReactCommon/yoga' to pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
"react": "15.4.2",
"react-native": "0.40.0",

I had the same issue today.
When I searched in to the ../node-modules/react-native/ReactCommon/yoga directory, there was no podspec file, so I've manually created one and the install worked. But I really don't like the fact I need to alter some files in node-modules as this directory is not being tracked by my git repository

Having the same issue, any progress on this?

This solution probably won't work for everyone but when I commented out use_frameworks! in my pod file, the yoga/Yoga.h file not found error went away.

I'm making a private pod. The podspec file of version 0.40.0 fails CocoaPods lint command. It shows the 'yoga/Yoga.h' file not found error from the compiler.
It's a sad story that I came accross a similar error in version 0.36.0 when I tried to integrate React Native into my existing app with CocoaPods. Now, the issue appears again.
NOTE: Commenting out use_frameworks! works. However, after pod install, thousands lines of warnings show on the console: [!] [Xcodeproj] Generated duplicate UUIDs:, even on a brand new Xcode project.
Did you seriously lint your podspec before a new release.

Is there a solution where I don't have to comment out use_frameworks!? I'd really rather not, since I'm using React Native in an existing Swift project.

@Gagege I'm not sure I can call it a solution, but I'd say it's palliative at the very least: I've downgraded to 0.39.2; Then you'll probably need the same fixes that I had to do for CSSLayout, since you also need use_frameworks!: https://github.com/facebook/react-native/issues/11272#issuecomment-268984452

does this post install script repair the yoga problem? (by changing CSSLayout to Yoga)

After a bit of hacking around, this is now working for me in RN 0.40:
# Uncomment this line to define a global platform for your project
platform :ios, '8.0'
# Uncomment this line if you're using Swift
use_frameworks!

target 'FrameworkDemo' do
    pod 'React', :subspecs => ['Core'], :path => './node_modules/react-native'
end

pre_install do |installer|
    `rm -rf node_modules/react-native/React/CSSLayout`
end

post_install do |installer|
    patch_subspecs(installer)
end

def patch_subspecs(installer)
    # patch source and header files
    `find node_modules/react-native/React node_modules/react-native/ReactCommon \\( -name *.h -o -name *.m -o -name *.mm \\) -print0 | xargs -0 sed -i '' -E 's:<(yoga|jschelpers|cxxreact)/(.*)>:"\\2":g'`

    # exclude duplicate symbols
    # https://github.com/facebook/react-native/issues/11502
    installer.pods_project.targets.each do |target|
        next unless target.name == 'React'

        source_files = target.source_build_phase.files
        uniqs = source_files.uniq { |f| f.file_ref.path }
        (source_files - uniqs).each { |dup| source_files.delete(dup) }
    end
end

Credit to @notjosh  at https://github.com/facebook/react-native/issues/11272#issuecomment-268984452 for the original.

@javache @mmmulani Just getting back on RN work from a hiatus. I fixed a podspec in the yoga repo yesterday, thinking it was somehow related to this, but am now thinking that it is not: https://github.com/facebook/yoga/pull/352
In this other comment @javache mentions “we've split the react-native podspec into multiple podspecs”, is that available somewhere?
Basically, what is the latest that I should be looking at and work from?

I'm not using cocoapods and have the same issue. @adamgins, did you find a fix?
Related stack overflow question: http://stackoverflow.com/questions/31860715/rct-linking-manager-file-not-found

@JulianKingman no, I downgraded to 0.39.2 and have been on vacation for the last week... so need to get back to this now.

@javache @mmmulani Got a PR for this up #12089

@alloy thanks heaps... I have not tried this yet. Also wondering if anyone had seen any improvements with 0.4.0 https://github.com/facebook/react-native/releases/tag/v0.41.0-rc.0 ?

Has there been any progress on this?

@rh389 thanks workaround works. Looking forward to the real fix :)

@GrahO23 it seems the workaround worked for me as long as I only use the 'Core' subspec, but when I import React in my Swift code, I encounter a compile issue with the C++ lib that's used: 'cstdint' file not found in JSBundleType.h Did you get that as well?

@quentinfasquel Yes sorry was a bit premature ;) , hadn't actually included the react view simply built with the pods in the xcode workscpace.
Getting the 'cstdint' file missing as well. Will let you know if I find a workaround

@adamgins No change with 0.41.0-rc.1

@GrahO23 thanks for trying... ughhh.. was hoping for the magical 0.41

I got the yoga error to go away by adding it to my header search paths

So for our project - we added:
"${PODS_ROOT}/../node_modules/react-native/ReactCommon" to the header search path (recursive).
If that helps.

Well, it's closed but I still am not sure how to get things to compile.

It's closed but I still am not sure how to make it work.
I do have a Podfile like this
  pod 'React', :path => './node_modules/react-native', :subspecs => [     'Core',     'RCTWebSocket',   ]
..and did an npm install which upgraded my version of React to 0.41.2
I still get a cstdint file not found
Thanks

The commit exists on master branch only at present. You'd better point your dependency to a branch or release which contains the fix.
A quick fix is to change your package.json.
{
    ...,
    "dependencies": {
        "react-native": "facebook/react-native#master",
        ...,
    },
    ...
}

Hey all,
After changing package.json to  "react-native": "facebook/react-native#master" I got
[!] Unable to find a specification for 'Yoga (= 1000.0.0.React)' depended upon by 'React/Core'
when running pod install.
Thanks.

Be sure to add the Yoga pod to your Podfile as shown here https://github.com/facebook/react-native/pull/12089#issuecomment-277553904

@alloy is that method preferable to the header file way I did it?

When using the new podspecs that are in master only right now, yeah. They do roughly the same thing, except it's all managed by CocoaPods which means in the future you wouldn't need to remember to remove/update those build settings.

@alloy how do i test this out? change package.json to "react-native": "alloy/react-native#podspec" ?

Guys I am using swift 3.0 and my podfile look likes this:
`# Uncomment the next line to define a global platform for your project
platform :ios, '9.0'
target 'ReactNativeAnalysis' do
Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
Pods
pod 'Alamofire'
pod 'SwiftyJSON'
Pods for ReactNativeAnalysis
pod 'React', :path => './node_modules/react-native', :subspecs => [
'Core',
'RCTImage',
'RCTNetwork',
'RCTText',
'RCTWebSocket',
'yoga',
]
target 'ReactNativeAnalysisTests' do
inherit! :search_paths
# Pods for testing
end
target 'ReactNativeAnalysisUITests' do
inherit! :search_paths
# Pods for testing
end
end
pre_install do |installer|
# Yoga exists in two places in the RN source tree. Delete the obsolete one to avoid redefinitions
rm -rf node_modules/react-native/React/CSSLayout
end
post_install do |installer|
patch_subspecs(installer)
end
def patch_subspecs(installer)
# patch source and header files
find node_modules/react-native/React node_modules/react-native/ReactCommon \\( -name *.h -o -name *.m -o -name *.mm \\) -print0 | xargs -0 sed -i '' -E 's:<(yoga|jschelpers|cxxreact)/(.*)>:"\\2":g'
# exclude duplicate symbols
# https://github.com/facebook/react-native/issues/11502
installer.pods_project.targets.each do |target|
    next unless target.name == 'React'

    source_files = target.source_build_phase.files
    uniqs = source_files.uniq { |f| f.file_ref.path }
    (source_files - uniqs).each { |dup| source_files.delete(dup) }
end

end`
I cant able to run this project because 'yoga/Yoga.h' is not found
tried all the above fixes, its not working
and my package.json looks like below:
{   "name": "ReactNativeAnalysis",   "version": "1.0",   "private": true,   "scripts": {     "start": "node node_modules/react-native/local-cli/cli.js start",     "bundle": "react-native bundle --platform ios --entry-file index.ios.js --bundle-output bundle/main.ios.jsbundle --assets-dest bundle/ --dev false",     "postinstall": "find ./node_modules/react-native \\( -name *.h -o -name *.m \\) -print0 | xargs -0 sed -i '' -e 's:<CSSLayout/\\(.*\\)>:\"\\1\":g'"   },   "dependencies": {     "react": "15.4.2",     "react-native": "0.41.0",     "react-native-tableview": "^1.7.0"   },   "devDependencies": {     "babel-jest": "18.0.0",     "babel-preset-react-native": "1.9.1",     "jest": "18.1.0",     "react-test-renderer": "15.4.2"   },   "jest": {     "preset": "react-native"   } }
Guys can someone help me with the correct steps to solve this error.???

@kmuralidharan91 You don't need all the above fixes anymore, remove your patch function in your Podfile, remove the postinstall script in your package.json, just put the master branch of react-native in your dependencies and it should work.

@julienfouilhe Worked like a charm. Thanks much brother 🥇

@alloy What release will this commit be available into? Can we expect it to be part of 0.42.0?

linking https://github.com/facebook/react-native/issues/12294

Good news: v0.42.0-rc.3 is out!

@julienfouilhe - I replicated the Podfile as well as package.json dependency.  Running pod install produces:
Analyzing dependencies
Fetching podspec for React from ./node_modules/react-native
Fetching podspec for Yoga from ./node_modules/react-native/ReactCommon/yoga
[!] No podspec found for Yoga in ./node_modules/react-native/ReactCommon/yoga
Any idea?

Did you run npm install before that? Is your node_modules located in the same directory than your Podfile (if not, you must change ./node_modules to whatever/the/path/is/node_modules?

@yuriyvl Did you run npm install before that? Is your node_modules located in the same directory than your Podfile? If not, you must change ./node_modules to whatever/the/path/is/node_modules.

@julienfouilhe Yup. Discovered right after I posted it :). Thank you very much.

After resolving the RCTConvert.h yoga/Yoga.h file not found, I'm now seeing the following now:
/Users/petar/dev/demo_app/node_modules/react-native/React/Executors/RCTJSCErrorHandling.mm:12:9: 'jschelpers/JavaScriptCore.h' file not found

Anyone come across this?
I'm on react-native version 0.42.0-rc.3 with Xcode 8.2.1.

That's funny, it's basically the same error. Are you using Pod? What's your Podfile like?

Hi!
I have the same symtom as @pbojinov, here is my pod file for your reference. I will give it another go when 0.42 comes out.
platform :ios, '8.0'
use_frameworks!
project 'Veckopengen.xcodeproj', 'Debug' => :debug, 'Staging' => :release, 'Beta' => :release, 'Production' => :release
target "Veckopengen" do
pod 'Mixpanel', '<= 2.9.6'
pod 'Firebase/Core'
pod 'Firebase/Messaging'
pod 'FBSDKCoreKit'
pod 'FBSDKShareKit'
pod 'FBSDKLoginKit'
pod 'Intercom'
react_path = '../node_modules/react-native'
yoga_path = File.join(react_path, 'ReactCommon/yoga')

pod 'React', :path => react_path, :subspecs => [
  'Core',
  'RCTText',
  'RCTImage',
  'RCTWebSocket', # needed for debugging
  'RCTNetwork',
  'RCTLinkingIOS'
]

pod 'Yoga', :path => yoga_path

end

@pbojinov @anback To be sure, did you re-run pod install? If so, if you could share an example that exhibits the problem, that’d be helpful.

@julienfouilhe I'm using Pod. And I haven't changed any #import lines. The Pod file is below.
After adding the separate Yoga pod, it ended up working.
platform :ios, '10.0'

target 'demoIOS' do

pod 'Firebase/Core'
pod 'Fabric'
pod 'Crashlytics'
pod 'GoogleSignIn'

pod 'React', :path => '../node_modules/react-native', :subspecs => [
    'Core',
    'RCTText',
    'RCTNetwork',
    'RCTImage',
    'RCTAnimation',
    'RCTWebSocket',
]

pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga'

end

And my folder structure looks like this:
├── README.md
├── app
│   ├── [REDACTED TO SAVE SPACE]
├── index.ios.js
├── ios
│   ├── Podfile
│   ├── Podfile.lock
│   ├── Pods
│   ├── build
│   ├── demoIOS
│   ├── demoIOS.xcodeproj
│   └── demoIOS.xcworkspace
├── node_modules
│   ├── [REDACTED TO SAVE SPACE]
└── package.json

@pbojinov Could you maybe push a basic example where the error occurs?

I'll try to see if I can reproduce it again.

@julienfouilhe I have the example.
SwiftReactNative.zip
the steps is
npm install
pod install
xcodebuild -configuration Debug -scheme "SwiftReactNative" -workspace SwiftReactNative.xcworkspace | xcpretty

and it show
SwiftReactNative/node_modules/react-native/React/Modules/RCTDevMenu.mm:16:9: 'jschelpers/JavaScriptCore.h' file not found

#import <jschelpers/JavaScriptCore.h>
  ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

@pbojinov @anback  Can you try updating cocoapods? I just tried with @k7 example and I don't have any problem compiling

I can confirm updating CocoaPods to 1.2.0 fixed the #import <jschelpers/JavaScriptCore.h> issue on a project here, too.

I have CocoaPods version 1.2.0 and no issues running pod install but when I build the project I still see the issue with #import <jschelpers/JavaScriptCore.h>. I'm running the latest version of Xcode and the 0.42.0 release.

For those seeing the same issue as me to solve it I had to modify my own project's pod file to add jschelpers and cxxreact to the top of the subspecs of the React pod definition.

Looks like I spoke too soon. I'm getting farther in the compilation but now it fails with that same error inside of RCTJSCErrorHandling.mm

You definitely shouldn't need to add cxxreact and jschelpers to your Podfile explicitly, just React and Yoga. Could you post your Podfile? Have you tried the usual shaking out cobwebs (clean build in xcode, reinstall node_modules, rm -rf Pods Podfile.lock && pod install)?

@rh389 oh yeah I have cleaned like crazy. I retract that previous statement about that fixing it, it definitely did not.
The React section of my pod file looks like the following:
# React
pod 'React', :path => './Other Sources/ReactNative', :subspecs => [
  'Core',
  'RCTImage',
  'RCTNetwork',
  'RCTText',
  'RCTWebSocket',
  'ART',
  'RCTActionSheet',
  'RCTAdSupport',
  'RCTCameraRoll',
  'RCTGeolocation',
  'RCTPushNotification',
  'RCTSettings',
  'RCTVibration',
  'RCTLinkingIOS',
]
pod 'Yoga', :path => './Other Sources/ReactNative/ReactCommon/yoga'

Pod file configuration is simple
platform :ios, '8.0'
inhibit_all_warnings!

Definitely cannot get it to compile though. Stuck on the same file
Other Sources/ReactNative/React/Modules/RCTDevMenu.mm:16:9: 'jschelpers/JavaScriptCore.h' file not found

Pretty much trying all kinds of ideas but any suggestions are welcomed

Also output for cocoa pods
$ pod --version
1.2.0

Other Sources/ReactNative/... is the only thing that looks suspicious there - is that a symlink? How did you install react native? You'd normally be pointing to node_modules/react-native/.. installed using yarn or npm - I'm pretty sure the javascript side won't work unless you stick with that convention.
I'd double-check that you've actually got (at least) RN 0.42.0 at that path, and in particular that Other Sources/ReactNative/React.podspec looks like this one (except maybe the version string).

@rh389 we have been using this setup for over a year without issue. The issue only came up when upgrading to 0.42.0. All the correct files exist at the correct spot. pod install succeeds without any issues.
Essentially we checkin the contents of react-native to Other Sources/ReactNative so other iOS engineers not working with React do not have to install node to run the project.

@joshuafeldman Can you share a reduced example app that demonstrates the problem?

@alloy I will try and find some time this morning and wrap something up

@alloy @rh389 I created a really fast application that displays the compilation error. Hopefully it is just something simple I am doing wrong :)
https://github.com/joshuafeldman/react-native-missing-file

@joshuafeldman, @alloy:
Run into the same thing.
Went into the Pods.xcodeproj within Xcode. Then opened  React target Build Settings. Looked into Header Search Paths, $(PODS_TARGET_SRCROOT) environment variable doesn't get resolved. (cocoapods issue?)
So replacing it with the full absolute path to react-native essentially resolves this issue at the project builds fine.
Steps to reproduce (cocoapods version 1.1.1):

Create a new folder with ios and js folders inside.
Create a new swift iOS project and place it into ios.
In js create a package.json with following content:

{
  "name": "test",
  "version": "1.0.0",
  "private": true,
  "description": "Test",
  "scripts": {
    "start": "node node_modules/react-native/local-cli/cli.js start"
  },
  "dependencies": {
    "react": "~15.4.2",
    "react-native": "~0.42.0"
  }
}

npm install (in js)
in iOS create Podfile with this content:

platform :ios, '8.0'
inhibit_all_warnings!
use_frameworks!

target 'Test'
pod 'Yoga', :path => '../js/node_modules/react-native/ReactCommon/yoga'
pod 'React', :path => '../js/node_modules/react-native', :subspecs => [
  'Core',
  'RCTImage',
  'RCTNetwork',
  'RCTText',
  'RCTWebSocket',
]

pod install (in iOS) goes fine.
open workspace -> build -> same issue as @joshuafeldman

@ambientlight You need CocoaPods version >= 1.2.0. Can you double-check if that fixes it for you?

@joshuafeldman Awesome, thanks! Will take a look later today.

@alloy yes, I can confirm that with cocoaPods 1.2.0 it builds fine out of the box. thanks.

@joshuafeldman, @alloy:
same problem here.

update pod to 1.2.0

run "pod update"

clean & build

worked for me
@ambientlight:
i used in my
Build Settings ==> Header Search Paths
"$(SRCROOT)/Pods/Headers/Public/" - for the environment variable

@alloy the project I linked to was setup using cocoapods version 1.2.0 and exhibits the issue. I wonder what the difference is.

@joshuafeldman I gave it a spin, the issue is the space in the ./Other Sources path. This is definitely a bug in the podspec.
I’ll make a PR for this, but in the meantime you can work around it by either:

Removing the whitespace from Other Sources
Patch Other Sources/ReactNative/React.podspec to replace "$(PODS_TARGET_SRCROOT)/ReactCommon" with "\"$(PODS_TARGET_SRCROOT)/ReactCommon\""

@alloy there it is 🙌
Appreciate the insight.

My builds are failing like so:
The following build commands failed:
        Analyze /Users/nikos/WebstormProjects/TTracker/node_modules/react-native/ReactCommon/yoga/yoga/YGNodeList.c
        Analyze /Users/nikos/WebstormProjects/TTracker/node_modules/react-native/ReactCommon/yoga/yoga/Yoga.c
(2 failures)```

I'll need to look at this pods things

"dependencies": {
"react": "16.0.0-alpha.6",
"react-native": "0.44.0-rc.0",
"react-navigation": "^1.0.0-beta.9"
},
"devDependencies": {
"babel-jest": "19.0.0",
"babel-preset-react-native": "1.9.1",
"jest": "19.0.2",
"react-test-renderer": "16.0.0-alpha.6"
},

This error occurs again on a fresh install of react-native: 0.44.0

@gotoAndBliss try deleting your ios build folder

I am running into the following error and have setup a simple example for anyone to advise what's going wrong here: https://github.com/cliren/RNIntegration.
Using cocopods version: 1.1.1 (can't upgrade due to exiting app's dependency). Appreciate any help!
RNIntegration/js/node_modules/react-native/React/Modules/RCTDevSettings.mm:16:9: fatal error: 'jschelpers/JavaScriptCore.h' file not found
#import <jschelpers/JavaScriptCore.h>
        ^
1 error generated.

I had a similar issue with yoga.c, and fixed it by running react-native link

@tmaly1980 I tried your suggestion on https://github.com/cliren/RNIntegration but still ran into the same issue. I am using the below dependencies, may I know what versions are you using?
"react": "16.0.0-alpha.12",
"react-native": "0.45.1"

I have to stick with 0.42.3 and 15.4.1 because of some packages that refuse to support alpha code (react 16.0.0)

On Jun 13, 2017, at 10:07 AM, Suren<EMAIL_ADDRESS>wrote:
@tmaly1980 https://github.com/tmaly1980 I tried your suggestion on https://github.com/cliren/RNIntegration https://github.com/cliren/RNIntegration but still ran into the same issue. I am using the below dependencies, may I know what versions are you using?
"react": "16.0.0-alpha.12",
"react-native": "0.45.1"
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/facebook/react-native/issues/11781#issuecomment-308126990, or mute the thread https://github.com/notifications/unsubscribe-auth/AHVz252kcXlOOpxarKsVyaHfRHs0OKTRks5sDpe1gaJpZM4Ld7Nd.

@tmaly1980 I tried 0.42.3 and 15.4.1  but still get the same error. It looks very fragile unless I am missing something basic.  Would you mind checking if I am missing anything here: https://github.com/cliren/RNIntegration?
react-native-cli: 2.0.1
react-native: 0.42.3

Sorry, I honestly don’t know, I am using ignite as a boilerplate/scaffolding and they have a command line script out that generates my project. Not to sound like a sales person, it saves me a ton of time with having a project structure in place and generating components, containers, redux/sagas, etc. I tried upgrading to 16.0.0.alpha-2 but that breaks some of the testing suite I’m relying upon (as the core API has changed but THOSE test library developers refuse to support alpha software).

On Jun 14, 2017, at 12:58 AM, Suren<EMAIL_ADDRESS>wrote:
@tmaly1980 https://github.com/tmaly1980 I tried 0.42.3 and 15.4.1 but still get the same error. It looks very fragile unless I am missing something basic. Would you mind checking if I am missing anything here: https://github.com/cliren/RNIntegration https://github.com/cliren/RNIntegration?
react-native-cli: 2.0.1
react-native: 0.42.3
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/facebook/react-native/issues/11781#issuecomment-308319747, or mute the thread https://github.com/notifications/unsubscribe-auth/AHVz2yfk80WrYF70zE6SoDVyfRIgscptks5sD2h0gaJpZM4Ld7Nd.

After upgrading from RN 0.42.3 to 0.43.3, I got similar issue with RCTDevMenu, though I'm sure these file exist.
My project also uses CocoaPods for iOS project. After re-running pod install and restart MAC, it works normally.
I noticed that in terminal console of pod install, it logged:

Installing React 0.43.3 (was 0.42.3)
Installing Yoga 0.43.3.React (was 0.42.3.React)

(Thanks to that I know that CocoaPods need to re-config RN dependency by running pod install, previously I thought that CocoaPods only needs to be configured once and use path to its dependencies all afterwards.)

For the ones having this issue with RN 0.47 or above,
I've discovered that it appear in a project I'm working after change the disk to case sensitive.
CocoaPods seems name the Yoga project as <Yoga/Yoga.h> not <yoga/Yoga.h>
Revert the disk fixed (at least locally) the issue.


Storage: Url Signer cannot generate signed URLs for objects with spaces in the name.

Steps to reproduce:

Upload a file to a bucket, e.g. test_2016-12-19 07-31-31Z.json
Use the URL signer to generate a signed GET URL.
Go to the URL - error code: SignatureDoesNotMatch

I'm assuming that when generating the signature, it doesn't escape the space, but the server does. For now, I've added code to ensure that I can't create objects with spaces in the name (I replace the space with -) and this is now working to generate URLs.
P.S. I'm running on the latest NuGet version as of today (2016/12/19)

Looking at the library code, it would appear that the sign method does not escape the string, so the URL returned actually includes a space, but the browser automatically escapes the space with %20.
The bucket and object names taken for signing the URL are taken from the Object returned from the CreateObject method. I'm assuming the sign method should escape the URLs.

@evildour Are you able to have a look at this?

Sample code:
public string UploadAndGetUrl()
{
    Google.Apis.Storage.v1.Data.Object obj = null;
    using (var stream = GetKeyStream())
    {
        var cli = StorageClient.Create(GoogleCredential.FromStream(stream));
        var ms = new System.IO.MemoryStream(System.Text.Encoding.UTF8.GetBytes("Hello"));
        obj = cli.UploadObject("bucket", "key with spaces", null, ms);
    }
    using (var stream = GetKeyStream())
    {
        var urlSigner = UrlSigner.FromServiceAccountData(stream);
        return urlSigner.Sign(obj.Bucket, obj.Name, TimeSpan.FromHours(1), HttpMethod.Get);
    }
}

@jskeet Yes, I'll look into this now


Image datageerator is not taking the images with different extensions

I'm having dataset which contains png and jpg files in each class but its taking only one file format images

@Maneeshmohan1 Please refer to this link and let us know if it helps? Thanks!


Update - handling large number of tabs

Handled the large number of tabs by allowing header overflow.
The tab width is set with the help of client width.

Hi @MADHUKESHA, thanks for your contribution.
I feel like there should be a more "react" way of adjusting the SwipeViewsInk style than setting #ids and to manipulate document properties.


Display topic after history

Consider putting topic in separate message.

Consider reverting change.
Out of 26 people polled:

5 people in favor
10 people against
11 people with no specific opinion


CREATE A SIGN IN / SIGN UP page and an form section

I am GSSOC'21 participant.
I want to create a sign-in/sign-up section in the project. Which will allow users to log in.
I will also add how do you get to know about us form just above the footer.
Please assign me this.

Hi @Shruti3004, Hitesh here I want work on this issue. So, can you plz assign it to me?
it will not take much time to complete.

Go ahead @saswatsam786

Any progress @saswatsam786

My practicals are going on ....it will be over in a week ... I have completed half of my work .....just give me one or two weeks. I will submit and give my progress in a week or two.

can i work on this issue @harikesh409

My practicals are going on ....it will be over in a week ... I have completed half of my work .....just give me one or two weeks. I will submit and give my progress in a week or two.
already 2 weeks are gone and again 2 weeks time is very huge make a PR with your changes and as @Muskan-creator she can continue as you are having exams you can work parallelly whenever possible, are you okay like this?

OKK please give me 4-5 days. I will try if not Muskan can continue. I am new to all this ... I have to learn, and that's why it takes time. Please give me 4-5 days then after that  Muskan can carry on.

OKK please give me 4-5 days. I will try if not Muskan can continue. I am new to all this ... I have to learn, and that's why it takes time. Please give me 4-5 days then after that Muskan can carry on.

Okay sure.

any progress @saswatsam786 ??? or i will assign this issue to @Muskan-creator

Can i work on this @harikesh409 ?

Can i work on this @harikesh409 ?

Already PR review is going on, if the requested changes are not done then I will assign it to you.


java.io.FileNotFoundException: .\config\BetterMinecraftChat\channels.json

This was fixed as part of the rewrite for Minecraft 1.11.2.


Bluetooth: Audio: Rename BASS and BASS client

Rename BASS to BAP Scan Delegator and BASS Client
to BAP Broadcast Assistant. This is the first step towards integrating the BASS with the rest of BAP.
Signed-off-by: Emil Gydesen<EMAIL_ADDRESS>prework for https://github.com/zephyrproject-rtos/zephyr/issues/41183, https://github.com/zephyrproject-rtos/zephyr/issues/45622 and https://github.com/zephyrproject-rtos/zephyr/issues/41198

Rebased to solve merge conflicts

Rebased to solve merge conflicts

Rebased to fix merge conflicts

Rebased to solve merge conflicts

We could consider to start using bcst as broadcast abbreviation. Some of the structure/function names are a bit too long

I agree, and likewise we could consider using uni_cli and uni_srv for the unicast client and server.
Do you have any suggestion for the Scan Delegator? Perhaps simply SD? sca_del?
Naming in software is tricky, and finding proper abbreviations are often even trickier :D

@alwa-nordic Will you please re-review?

@MariuszSkamra please re-review :)


Add middleware setter for a route (path prefix)

This change adds a method api.AddMiddlewareFor that allows binding an HTTP middleware to the actual method:path handler.
Related to #2234

[x] template
[x] bindata
[x] documentation
[x] tests ok

Now there is no simple way to add routed middleware, i.e. a middleware that will run for a certain path and method only. It is still possible to do that in setupMiddlewares function, but it's difficult to do that for an average user (in comparison with easy ways to do that in libraries like Gorilla or Chi).
I'm adding a method that will simply wrap an existing handler into a middleware if such a combination of an HTTP method and path exists.
It also runs api.Init() to prevent empty handler map to be accessed and avoid complex state dependency.
This method can be used inside of configure_xxx.go for those who use the generated server as an entry point, and also outside of this file, who use go-swagger as a pluggable API server. Many projects do it this way, and it is even more difficult to setup middlewares from the outside. So would be great to have such a nice and clean opportunity to do that the way other routing libraries do that.
It would be a really big help for those who want to add middlewares as simple and as fast as possible without tricks. It also will allow adding existing middlewares from external libraries (like auth, monitoring, logging, etc.) in only one line of code like that:
api.AddMiddlewareFor("POST", "/user", jwtMiddleware)

Closed because I fucked up with signing


CUDA 7.5 fails with pip install and docker (Ubuntu 14.04)

Installing via:
# For GPU-enabled version (only install this version if you have the CUDA sdk installed)
$ pip install https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl

Tried to run the alexnet_benchmark.py and it's looking for CUDA 7.0 specifically.
I have CUDA 7.5 on my machine.
Full stack:
Traceback (most recent call last):
  File "alexnet_benchmark.py", line 21, in <module>
    import tensorflow.python.platform
  File "/home/awesomebox/anaconda/lib/python2.7/site-packages/tensorflow/__init__.py", line 4, in <module>
    from tensorflow.python import *
  File "/home/awesomebox/anaconda/lib/python2.7/site-packages/tensorflow/python/__init__.py", line 22, in <module>
    from tensorflow.python.client.client_lib import *
  File "/home/awesomebox/anaconda/lib/python2.7/site-packages/tensorflow/python/client/client_lib.py", line 35, in <module>
    from tensorflow.python.client.session import InteractiveSession
  File "/home/awesomebox/anaconda/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 11, in <module>
    from tensorflow.python import pywrap_tensorflow as tf_session
  File "/home/awesomebox/anaconda/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 28, in <module>
    _pywrap_tensorflow = swig_import_helper()
  File "/home/awesomebox/anaconda/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 24, in swig_import_helper
    _mod = imp.load_module('_pywrap_tensorflow', fp, pathname, description)
ImportError: libcudart.so.7.0: cannot open shared object file: No such file or directory

Tried the docker install, but the docker image is configured for a particular NVIDIA driver version, and doesn't work with others. (this is a known issue: docker driver version and system driver version must exactly match)

Temporary workaround. Go to your library dir (/usr/local/cuda/lib64 or sth like that) and run:
for x in  *.so.7.5; do sudo ln -s $x ${x::-7}.so.7.0; done

@nivwusquorum haha that's a terrible workaround, as it'll start issues with other libraries. Thanks a lot though. I'm installing CUDA 7.0

@nivwusquorum no.
I'm running into the same issue. Looks like I'll be downgrading then.

Out of curiosity, have you set your LD_LIBRARY_PATH to your cuda installation's lib64 directory?

@ebrevdo yes
printenv LD_LIBRARY_PATH
/usr/local/cuda-7.5/lib64

On the subject of CUDA version libraries ...  CUDA 7.0 works for me (as expected), but it really insists on cuDNN 6.5 (which Nvidia now has as 'legacy').
Exact same library locations, etc, but downgrading from cuDNN 7.0 to 6.5 worked.

yes its within the tensorflow code, so just some simple python hacking wont solve it :)
(_pywrap_tensorflow.so when you pip install the binary):
_mod = imp.load_module('_pywrap_tensorflow', fp, pathname, description)
ImportError: libcudart.so.7.0: cannot open shared object file: No such file or directory

i assume i have same problem:
I have the 7.5 installed  with tensorflow and when I try (like in the tutorial about gpu)
with tf.device('/gpu:0'):
a = tf.constant([1.0, 2.0, 3.0, 4.0, 5.0, 6.0], shape=[2, 3], name='a')
b = tf.constant([1.0, 2.0, 3.0, 4.0, 5.0, 6.0], shape=[3, 2], name='b')
c = tf.matmul(a, b)
print(c)
sess.run(c)
it breaks !
(in torch7, I have no pbs with gpus)

Can we assume tensorflow to be forward compatible with cuda 7.5?

I've got the same problem.
So are you saying that downgrading from cuda 7.5 to 7 should do the trick?

I can't seem to find the archive page for the cuda toolkit 7.0? Anyone have a link to it?

If it helps, I've installed cuda toolkit 7.0 and changed the bash profile reference to the new one and it works.

yes you do not need to reinstall the cuda 7.0 driver, just provide the path to libcudart.so.7.0 at the end of the LD_LIBRARY_PATH variable. After discussing of it with someone of the team, they told me a strange story. It appears thar the old CUDA drivers are very much in demand by the people using AWS of amazon !
can someone confirm ?

Long story short: tensorflow currently requires cuda 7.0.  If you install version 7.0 in a separate directory from 7.5, and point tensorflow at it via the configure script (or LD_LIBRARY_PATH), it will work.  Leaving this open to track future upgrades to the 7.5 SDK.

I'm curious why it is hard to upgrade to CUDA 7.5 and CuDNN v3? Anyone helps me understand?

@emergix so you got it to work just by providing libcudart.so.7.0 without reinstalling / downgrading to old cuda?

Yes. It doesn't require you to uninstall the previous one. You can just install them separately and reference v7.0 in your bashrc file

Thanks! Workaround confirmed here.

symbolic link libcuda*.7.5 to libcuda*.7.0
It works.

This issue and co. are open for more than two months now. Is there any progress to support 7.5 cuda and 7.0 cudnn other than the workarounds? This could be a turn off for some people who already have been working with 7.5 cuda for a while.

I completely agree. Ideally (assuming reasonable API/ABI stability on NVIDIA's side), TensorFlow should not be dependent on specific older versions of CUDA and cuDNN. (I'd rather understand it if the latest version was required to make use of certain features.)
This is the one issue that puts me off using TensorFlow with GPU support.

+1 Please support CUDA 7.5

If you want to try out CUDA 7.5 under Linux,  you could try building my pull request branch:
https://github.com/tensorflow/tensorflow/pull/664
It adds support for CUDA on OSX and uses CUDA 7.5 when building under OSX. I haven't tried 7.5 under Linux,  but it seems to work ok with OSX.
The only change you'd need to make is to edit the configure file and set CUDA_VERSION='7.5' when Linux is detected.  Lines 48-49 would look like:
if [ "$OSNAME" == "Linux" ]; then
  CUDA_VERSION='7.5'

@ebrevdo @andorremus Could you share the method of installing different cuda(7.0 and 7.5) separately?
@emergix @fivejjs Does symbolic linking libcuda.7.5 to libcuda.7.0 or just providing libcuda.7.0 have side effects?

@wangg12 A simple google search "install cuda 7.0/7.5 for 'OS here'" should surface all of the information you need

@andorremus I can find a lot of instructions for installing a single version cuda, but I can't find any information about installing 7.0 and 7.5 simultaneously. How do you make it?

Well you install them separately as they are both standalone and the you point to the one you want in the bashrc file afterwards

@andorremus Thanks.

@andorremus Sorry to bother you. One more question, do I need to install driver when I install the second cuda version or I just need to install the libraries?

I think if you've already got the drivers it should be only the libraries
but I'm not really sure on that.
On Tuesday, 19 January 2016, Wang Gu<EMAIL_ADDRESS>wrote:

@andorremus https://github.com/andorremus Sorry to bother you. One more
question, do I need to install driver when I install the second cuda
version or I just need to install the libraries?
—
Reply to this email directly or view it on GitHub
https://github.com/tensorflow/tensorflow/issues/20#issuecomment-172777044
.

Just need the toolkit and cudnn. You only need one driver (the latest for
your system, that is)
On Jan 19, 2016 3:45 AM, "Wang Gu"<EMAIL_ADDRESS>wrote:

@andorremus https://github.com/andorremus Sorry to bother you. One more
question, do I need to install driver when I install the second cuda
version or I just need to install the libraries?
—
Reply to this email directly or view it on GitHub
https://github.com/tensorflow/tensorflow/issues/20#issuecomment-172777044
.

Thank you @andorremus @esube

/cc @ducha-aiki

@wangg12
could you please clarify, at the end, CUDA 7.0 is needed for only installing, or operate as well? Same for cudnn. My concerns are having two drivers (your and other experiences say it is OK) and performance. CuDNN 2 and 3/4 differs really a lot.

Linking libcudart.so.7.0 to 7.5 solved the problem.
And maybe it should also link libcufft and some other files.
Please support cuda 7.5 and cudnn v3

Installing the download for Ubuntu 14.10 works for me. After installing 7.5 as prescribed on NVIDIA's website. I downloaded the Local Package Installer and used the Synaptic Package Manager to install. My installation looks like this:
lrwxrwxrwx  1 root root    8 Feb  2 15:27 cuda -> cuda-7.0
drwxr-xr-x 13 root root 4096 Feb  2 15:27 cuda-7.0
drwxr-xr-x 13 root root 4096 Feb  2 15:09 cuda-7.5
Make sure the PATH and LD_LIBRARY_PATH variables reflect the right location of the cuda toolkit you use. Using the path the cuda link works very well.

@zheng-xq recently added a feature so that:
TF_UNOFFICIAL_SETTING=1 ./configure

allows you to configure which version of cuda/cudnn/etc to use without requiring manual symlinks.

Hello,
I replaced cuda 7.0 -> 7.5 and cudnn 6.5 -> 7.0 directly in the code.
Seems to work on ubuntu 14.04.
https://github.com/aboulch/tensorflow

I pip installed tf 0.7 with CUDA 7.5 and cuDNN4 on Ubuntu 14.04, and tf still sought CUDA 7.0 (libcudart.so.7.0). I had to symlink it to the 7.5 version to get it to work.

@esafak how dod you do that?

@esafak do you mind explaining what you did? Perhaps in a gist?

The pip packages for 0.7.0 should be unversioned -- they should look for libcudart.so, do you have logs to suggest this isn't happening?

(tensorflow)tsainbur@txori:~$ pip freeze | grep tensorflow
tensorflow==0.7.0

Installed using the virtualenv method, where I had to rename the whl to:
pip install --upgrade tensorflow-0.7.0-cp27-none-linux_x86_64.whl
to avoid
tensorflow-0.7.0-py2-none-linux_x86_64.whl is not a supported wheel on this platform.
Now I get
ImportError: libcudart.so.7.0: cannot open shared object file: No such file or directory

Weird, we were supposed to have built the wheels unversioned.  https://github.com/tensorflow/tensorflow/search?utf8=✓&q=libcudart shows no missing hardcoding of 7.0 anywhere...
@martinwicke, @jendap, any ideas?

@timsainb I changed to the appropriate directory and executed sudo ln -s libcudart.so.7.5 libcudart.so.7.0. But you might not have to do this if the next paragraph applies.
@EderSantana @vrv I found the problem: the new installation of CUDA did not overwrite or otherwise remove CUDA 7.0, but installed it in /usr/local/cuda7.5 leaving /usr/local/cuda, which got picked up by $LD_LIBRARY_PATH. I removed the old files using
sudo apt remove cuda-command-line-tools-7-0 cuda-core-7-0 cuda-cublas-7-0 cuda-cublas-dev-7-0 cuda-cudart-7-0 cuda-cudart-dev-7-0 cuda-cufft-7-0 cuda-cufft-dev-7-0 cuda-curand-7-0 cuda-curand-dev-7-0 cuda-cusolver-7-0 cuda-cusolver-dev-7-0 cuda-cusparse-7-0 cuda-cusparse-dev-7-0 cuda-documentation-7-0 cuda-driver-dev-7-0 cuda-license-7-0 cuda-misc-headers-7-0 cuda-npp-7-0 cuda-npp-dev-7-0 cuda-nvrtc-7-0 cuda-nvrtc-dev-7-0 cuda-repo-ubuntu1404-7-0-local cuda-samples-7-0 cuda-toolkit-7-0 cuda-visual-tools-7-0

Now it seems to work.

Sede https://github.com/tensorflow/tensorflow/pull/1166

I have the same problem using a docker container and the nvidia-docker tool with an image based on the cuda:7.5-cudnn4-devel image. I tried to use @esafak suggestion and I endup with:
root@9ad6f042d266:/usr/local/cuda/lib64# readlink -f libcudart.so.7.0
/usr/local/cuda-7.5/targets/x86_64-linux/lib/libcudart.so.7.5.18

root@9ad6f042d266:/usr/local/cuda/lib64# readlink -f libcudart.so
/usr/local/cuda-7.5/targets/x86_64-linux/lib/libcudart.so.7.5.18

But i still have:
...
  File "/opt/conda/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 24, in swig_import_helper
    _mod = imp.load_module('_pywrap_tensorflow', fp, pathname, description)
ImportError: libcudart.so.7.0: cannot open shared object file: No such file or directory

If I run python in /usr/local/cuda/lib64 I have errors related to #808:
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcublas.so locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcudnn.so locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcufft.so locally
I tensorflow/stream_executor/dso_loader.cc:99] Couldn't open CUDA library libcuda.so. LD_LIBRARY_PATH: /usr/local/nvidia/lib:/usr/local/nvidia/lib64:
I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:121] hostname: 9ad6f042d266
I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:146] libcuda reported version is: Not found: was unable to find libcuda.so DSO loaded into this program
I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:257] driver version file contents: """NVRM version: NVIDIA UNIX x86_64 Kernel Module  352.63  Sat Nov  7 21:25:42 PST 2015
GCC version:  gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04)
"""
I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:150] kernel reported version is: 352.63
I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1051] LD_LIBRARY_PATH: /usr/local/nvidia/lib:/usr/local/nvidia/lib64:
I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1052] failed to find libcuda.so on this system: Failed precondition: could not dlopen DSO: libcuda.so; dlerror: libcuda.so: cannot open shared object file: No such file or directory
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcurand.so locally

Did you manage to find the problem?
Tx!

@tboquet , your unable to find libcuda.so might be related to the bottom of this rabbit hole: https://github.com/tensorflow/tensorflow/issues/970#issuecomment-185862391

@ruffsl, tx, I will try to build the devel version and post my results.

Release 0.7.1 wheels now are built assuming cuda-7.5 and cudnn v4.  If you want earlier versions supported, you can build from sources and set the appropriate library paths / versions during ./configure.

I installed version tensorflow-0.7.1 and CUDA 7.5 and get the message "ImportError: libcudart.so.7.5: cannot open shared object file: No such file or directory". Environment variables are set properly

For this error
ImportError: libcudart.so.7.5: cannot open shared object file: No such file or directory
I have executed this command to solve it
sudo ldconfig /usr/local/cuda/lib64

Shouldn't configure be updated? It's still hardcoded to ask for cuda-7.0 and cudnn-6.5

If you build from the latest TF, it would ask you for Cuda SDK and Cudnn versions. You can point it to a different version.

@fivejjs  how did you do so? can you please write the detailed command?

why does ldconfig /usr/local/cuda/lib64 solve it @zdx3578

I have just installed CUDA v8 and the issue still persists. I got the following error:
ImportError: libcudart.so.7.5: cannot open shared object file: No such file or directory

In case anyone else encounters the same issue, the solution is to create symlink.

 To check if it is using the GPU, try running:

sess = tf.Session(config=tf.ConfigProto(log_device_placement=True))

Thank you @philoniare I too have CUDA 8 and it works now !


Wrong link in Release notes October 31, 2023

In the release notes PDF dated October 31, 2023, in the paragraph:

SS3 is now compiled with ADMB 13.1. We highly recommend that you study the new features of ADMB (listed here) so you can use its advanced command line features. In particular, the -hess_step command lets ADMB .....

The here link points to ADMB release 13.0 instead of 13.1, when 13.1 is mentioned in the text

@cgrandin I just fixed it to correct the link. Thank you for letting us know that the link was incorrect.


Ship a new release

It's been a while since the last update and we've updated Modus Bootstrap and some other dependencies. It'd be good to get a new release out.

@coliff Lets do this on Tuesday


Does AppScale support to dump the raw data?

One issue of GAE is that it is not easy dump the entire DB raw data. I am wondering whether there is an easy way in AppScale to dump the raw DB data? Thanks.

You have a few options for backing up data in AppScale. Here is a page that describes some of them: https://github.com/AppScale/appscale/wiki/Migration-into-AppScale,-Backup-&-Recovery
If you need something faster and you don't care as much about portability, you can also take Cassandra snapshots using the appscale-cassandra-backup script. If you go this route, make sure to either use the same ZooKeeper cluster when restoring or to take a ZooKeeper backup to store along with the Cassandra dump. Using a new ZooKeeper cluster will reset the transaction ID counter for each project ID.


run dev get error and client.js not found

did i miss something?
when i do npm run dev
then get this error
This dependency was not found:
G:\nuxt.nuxt\client.js in multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/_webpackhmr ./.nuxt/client.js
To install it, you can run: npm install --save G:\nuxt.nuxt\client.js
READY Server listening on http://<IP_ADDRESS>:3000

I don't know which step goes wrong.
npm:6.4.1
node: 10.13.0

also getting this error

Can't repro on linux

I'm getting it on Ubuntu

@Ethanjfobrien Can you describe steps to reproduce and provide the exact error msg?

The initial error about importing styl files,  that means stylus loader wasnt installed. In CNA we have stylus import only for vuetify, and for that we have install stylus loader. If someone manually add styl to different setup that vuetify, they need to install stylus themself.
@Ethanjfobrien did you customized your app and added import of stylus file? Or if u have different error than its different problem


1.21 Update?

Any chance of a 1.21 port?

ill look into it eventually, im taking a break from modding for a bit

done


Add tests

Coverage increased (+0.004%) to 99.774% when pulling 0dc161d82b14e220d60149dc9ea51643b4ceda47 on add-tests into 3e58e892a3dd7e52ff9501195799147a8c27ce06 on master.