install.sh fails with entityManagerFactory: null

Component: Thingsboard Edge
I have trouble with:

Installation

Description
I try to run the install-script according to the installation instructions(here) but instead I get an error:
Error creating bean with name 'entityManagerFactory' defined in class path resource [org/thingsboard/server/dao/config/JpaDaoConfig.class]: null

Entire output:
/usr/share/tb-edge/bin/install# ./install.sh
OpenJDK 64-Bit Server VM warning: Option UseBiasedLocking was deprecated in version 15.0 and will likely be removed in a future release.
  ______    __      _                              ____                               __
 /_  __/   / /_    (_)   ____    ____ _   _____   / __ )  ____   ____ _   _____  ____/ /
  / /     / __ \  / /   / __ \  / __ `/  / ___/  / __  | / __ \ / __ `/  / ___/ / __  /
 / /     / / / / / /   / / / / / /_/ /  (__  )  / /_/ / / /_/ // /_/ /  / /    / /_/ /
/_/     /_/ /_/ /_/   /_/ /_/  \__, /  /____/  /_____/  \____/ \__,_/  /_/     \__,_/
                              /____/

 ===================================================
 :: ThingsBoard Edge CE ::       (v3.8.0EDGE)
 ===================================================

Starting TbEdgeInstallApplication v3.8.0EDGE using Java 17.0.2 with PID 6189 (/usr/share/tb-edge/bin/tb-edge.jar started by thingsboard in /usr/share/tb-edge/bin/install)
Running with Spring Boot v3.2.4, Spring v6.1.6
The following 1 profile is active: "install"

ThingsBoard Edge installation failed!

I use the Debian release located here with OpenJDK 17.0.2. My guess is that I've missed something obvious, but I have no experience working with Java and have a hard time troubleshooting this on my own, any guess on what I might have missed?
Environment

OS:  Poky Scarthgap
ThingsBoard: 3.8

Disclaimer
We appreciate your contribution whether it is a bug report, feature request, or pull request with improvement (hopefully). Please comply with the Community ethics policy, and do not expect us to answer your requests immediately. Also, do not treat GitHub issues as a support channel.

Hello, I’ll try to help you :)
First of all, it’s important to mention that Edge depends on ThingsBoard Community Edition, so it’s essential to have ThingsBoard Community Edition installed. Alternatively, you can use our demo.
You will need to register (or log in with your email).
Next, the following guide will help you: Edge-instruction.
The link you provided is for ThingsBoard Community Edition.
Therefore, if you are specifically interested in Edge, please follow all the steps in the guide I provided, and everything will work :)
If you have any questions, feel free to ask. I’ll be happy to assist you!
P.S. In Step 3, ThingsBoard Edge service installation, use the following commands:
wget https://github.com/thingsboard/thingsboard-edge/releases/download/v3.8/tb-edge-3.8.0.deb
sudo dpkg -i tb-edge-3.8.0.deb

Thanks for the help!
I noticed that I've forgotten the Community Edition, however the same error shows up when I try to run install.sh as part of the installation process for the Community Edition. I follow this https://thingsboard.io/docs/user-guide/install/ubuntu/ but on my system update-alternatives might work differently, what is expected of update-alternatives and what is the error a symptom of?

The command sudo update-alternatives --config java is used to select the desired Java version, in this case, Java 17, which will be set as the default on your system.
When you run this command, it will display a list of available Java versions. You may see something like this:
Selection    Path                                      Priority   Status
------------------------------------------------------------
* 0            /usr/lib/jvm/java-11-openjdk-amd64/bin/java  1111      auto mode
 1            /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java  1081      manual mode
 2            /usr/lib/jvm/java-11-openjdk-amd64/bin/java  1111      manual mode
 3            /usr/lib/jvm/java-17-openjdk-amd64/bin/java  1711      manual mode

In this case, you should enter 3 because Java 17 is listed as option 3.
If everything is done correctly, running the command java -version should display the following output:
openjdk version "17.x.xx"
OpenJDK Runtime Environment (...)
OpenJDK 64-Bit Server VM (...)

If you encounter any issues, please provide as much information as possible, including logs after running these commands, so I can assist you further.


Remove compression for ERA5 forcing data for land

Compression doubles the size of the file, but makes running the simulation much faster.

Checklist:

[x] I created a new folder $artifact_name

[x] I added a README.md in that that folder that

[x] describes the data and processing done to it
[x] lists the sources of the raw data
[x] lists the required citation, licenses

[x] If applicable (e.g., for Creative Commons), I added a LICENSE file
[x] I added the scripts that retrieve, process, and produce the artifact
[x] I added the environment used for such scripts (typically, Project.toml
and Manifest.toml)
[x] I added the OutputArtifacts.toml file containing the information
needed for package developers to add $artifact_name to their package

[x] I uploaded the artifact folder to the Caltech cluster (in
/groups/esm/ClimaArtifacts/artifacts/$artifact_name)
[x] I added the relevant code to the Overides.toml on the Caltech Cluster
(in /groups/esm/ClimaArtifacts/artifacts/Overrides.toml)
[x] I added a link to the main README.md to point to the new artifact

Thank you!


Examples use Old Control Schema

The examples uses methods like hasDown and getCode which no longer exist.
It would be awesome for potential developers to get them updated.

Working on this next week!

Sorry, I wrote some code to fix this, but forgot to push until just now. The WiFi at school doesn't allow me to push over SSH, and setting up my 2fa credentials is a pain. Pushing now 😄

Closing, Taylor sorted it :)


How do I set initial active filters?

Maybe I'm not seeing it in the documentation, but I'd like to define a filter by default on my datatable. Similar to the sortOrder property in the table options object, I thought there might be something where I could set a default filter when the table is initialized, ie: column 'Author Name' where value = "Stephen King". Does MUI-datatables have this ability?
Expected Behavior
When defining table options, there is a property to set a specific set of active filters.
Current Behavior
Currently, filters can only be added by users interacting with the table's filter menu.
Your Environment

Tech
Version

Material-UI
5.2.2

MUI-datatables
4.0.0

React
17.0.2

browser
Chrome

Same question here!!

I found the answer. Just set the filterList from the column option, e.g. filterList: [ 'cat' ]
I have searched for some questions with this same question but I couldn't find any answers.
Why hasn't anyone addressed this question? :)


delete pending payments unknown to the node

Before sending out a payment, the sdk inserts a pseudo payment. This
ensures there is always a pending payment shown on clients directly when
paying. If the call to send_payment never resulted in in actual payment
being sent, these payments would sit in the database forever and never
be deleted. Pseudo payments are now marked as pseudo in the database. On
sync pseudo payments are deleted before inserting the updated payments
from the node.
Existing payments and sync state are dropped in case the client's
database already contained pending payments because of this issue.
Fixes #1139

Updated to treat the payment inserted before sending the actual payment as a 'pseudo' payment.


How to make MetaGPT write anything else except Python

I'm curious about what MetaGPT can do.
After I run it through configuration and some issues.
I found it can only write Python!
if not anyone help me to give a workable prompt. Thanks in advance.

Also came here to post the same question. You can be very explicit but python is always used.

Also came here to post the same question. You can be very explicit but python is always used.

Yes, even I told it: "Write a snake game in JavaScript, HTML, CSS", it seemed ignore my command always using Python :P

Same as https://github.com/geekan/MetaGPT/issues/129. Currently looks like only Python is supported.

This is because it is pre-prompted very specifically to write python code in a particular way. I think you need to at least change the roles description for all the roles to either a code-language-neutral prompt or specify another language.
Although I don't fully understand how all the parts of this agent works, partly because I'm not a dev and partly because there's a lot of Chinese comments in the code


help

im sorry but this is not an issue but i want a private contact info i just want help
if you dont want to share any private contact info here there is mine (telegram)

im sorry but if you dont have telegram can you make one and if you delete it later i dont care but i reaaly need you bec you know js (ive contacted you before many times)
send me a message and when we talk we talk at secret chat THANKS !!!!
after you add me if i didnt respond for a while comment your name (not your username for privacy) and ill search for you bec i have too many chats

I'm sorry, but I don't provide this kind of personal support. I have allocated some time to develop the TalkingHead class and to answer related issues, but otherwise, I'm fully engaged in my other projects. Thank you for your understanding.

Oh i can understand but its just something real quick but its important. its about javascript too can you just contact me and ill tell you about it if you decline i have no problem.


Postgres: edges in different schemas

Since ent.Config{} does not support table names in the following format: <schema>.<table>, I was wondering how do we create edges to tables in different schemas?
For example, having a user table in one schema which contains user's IDs, whilst having a table in another schema which references those user IDs.
Thanks in advance.

Hey @TomUnequals!
Currently, this option is supported (yet) by ent, but it's definitely in our roadmap - you can track the progress in #663.
Closing as this is duplicate of #663


[main] Upgrade to latest dependencies

Cron -knative-prow-robot
/cc we don't use Prow
/assign we don't use Prow
Produced by: knative-sandbox/knobots/actions/update-deps
Details:
bumping knative.dev/eventing 61d97d3...68d4410:
  > 68d4410 Fix test helpers for subscription that abuse Subscription's `spec.reply` (# 6053)
  > 5ebbed7 Set missing event type on CloudEvent in a test helper (# 6047)
  > 9963bd0 upgrade to latest dependencies (# 6044)
  > 2d64fdd Make event-library test image 'vendorable' (# 6049)
bumping knative.dev/pkg c0e1594...0a429cb:
  > 0a429cb Allow Unstructured callback from Defaulting Webhook (# 2363)

Codecov Report

Merging #361 (7cdc9aa) into main (b2ca47f) will increase coverage by 0.26%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #361      +/-   ##
==========================================
+ Coverage   80.31%   80.57%   +0.26%
==========================================
  Files          20       20
  Lines         767      767
==========================================
+ Hits          616      618       +2
+ Misses        137      135       -2
  Partials       14       14

Impacted Files
Coverage Δ

pkg/vsphere/adapter.go
64.12% <0.00%> (+1.52%)
:arrow_up:

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 b2ca47f...7cdc9aa. Read the comment docs.


[Bug] az pipelines [create|list] --folder-path is inconsistent in how it handles forward slashes

When creating a pipeline the --folder-path parameter will sanitise / into \ and create the pipeline at the expected path.
When listing pipelines the --folder-path does not sanitise the path separators and returns no results if you use /.
I think this is confusing.
To Reproduce
azure-cli                          2.7.0
azure-devops                      0.18.0
PS > az pipelines create --folder-path "pipeline/folder" --name "test"
PS > Successfully created a pipeline with Name: test, Id: 420.
PS > az pipelines list --folder-path "pipeline/folder" -o tsv
[No Output]
PS > az pipelines list --folder-path "pipeline\folder" -o tsv
test
Expected behavior
PS > az pipelines create --folder-path "pipeline/folder" --name "test"
Successfully created a pipeline with Name: test, Id: 420.
PS > az pipelines list --folder-path "pipeline/folder" -o tsv
test
PS > az pipelines list --folder-path "pipeline\folder" -o tsv
test

I just hit this when using az pipelines list to search for things in scripts.
Annoyingly --folder-path and --name, must be supplied seperately, so when I wanted to find it, I thought hey I can call basename and dirname in bash, and just split it out. Which results in nothing, as now I need to convert to windows paths to have az pipelines list work.
I suspect it's not very much a high priority issue to resolve, but doesn't still exist for those who stumble upon this later.


Possible bug in CCoinJoinStatusUpdate

CCoinJoinStatusUpdate checks a protocol version number that looks too high and might be wrong:
if (s.GetVersion() <= 702015) {
  READWRITE(obj.nEntriesCount);
}

Perhaps 70215 was intended here.

fixed by https://github.com/dashpay/dash/pull/5057


refactor: use downgrading the region instead of closing region

I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?

Downgrades the region instead of closing the region while the region lease expires.
Simplified the lease keeper

The behavior of simplified lease keeper:
The lease of regions will be renewed if:

The region of the specific datanode exists in TableRouteValue.
The region of the specific datanode is opening.

Otherwise, the lease of regions will not be renewed, and corresponding regions will be added to non_exists of RenewRegionLeasesResponse.
Checklist

[x]  I have written the necessary rustdoc comments.
[x]  I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)

@fengjiachun @MichaelScofield PTAL


Can not play HLS ad on Firefox?

I can play the HLS AD normally on Safari (natively support HLS) but not on Firefox.
I can play HLS main video normally with videojs 6 and videojs hls plugin so i don't understand why HLS ad can not be played.
Error console log is:

Ad error: AdError 403: Linear assets were found in the VAST ad response, but none of them matched the video player's capabilities

VAST sample file is attached with this post.
Any suggestion is very much appreciated.
vast_video.xml.zip

The IMA SDK can only support ads that the native video element for that browser can support. It uses it's own video player to play ads - it doesn't re-use the content player. So what's happening is your VAST response has only one media file, which is an m3u8, but the sdk can't play it because it's using the browser's native video element to play ads, which doesn't support m3u8s.

Ah i see. Thanks for your info.

Is there any workarounds?


StackOverflowError - additionalProperties

Hello, thanks for the good work !
There seems to be a infinite loop in the hashCode part of additionalPropertiesSchema :

I write down this issue, I'll try and see to make a PR about it.

Hi - thanks for reporting this.
I had included the parent schema in the equality comparison and hashCode of AdditionalPropertiesSchema, and that was always going to lead to infinite recursion.
I have fixed that, along with a similar issue in AdditionalItemsSchema.  Version 0.31 is now available in Maven Central - I hope this resolves your problem.

thanks a lot, checking now

works perfectly thanks a lot !


"moduleResolution": "bundler" incorrectly allows default imports from commonjs modules

🔎 Search Terms
moduleresolution bundler default import commonjs
🕗 Version & Regression Information
5.3.0-dev.20230908
⏯ Playground Link
No response
💻 Code
my code
tsconfig.json
{
  "compilerOptions": {
    "target": "ESNext",
    "module": "ESNext",
    "moduleResolution": "Bundler",
    "esModuleInterop": true,
    "strict": true
  },
  "include": ["main.ts"]
}

main.ts
import foo from './foo.cjs'

console.log('this works at runtime:', foo.default.a)

third party commonjs package
foo.cjs
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = { a: 1 };

foo.d.cts
declare const _default: {
    a: number;
};
export default _default;

🙁 Actual behavior
> tsc; node main
main.ts:3:43 - error TS2339: Property 'default' does not exist on type '{ a: number; }'.

3 console.log('this works at runtime:', foo.default.a)
                                            ~~~~~~~

Found 1 error in main.ts:3

this works at runtime: 1

🙂 Expected behavior
no compile error, because at runtime it's not a real default export, but rather an object with a property called default on it
Additional information about the issue
changing moduleResolution to nodenext fixes the issue, but i don't think this is intended behavior because according to the docs the only thing that should be different to node16/nodenext is that it doesn't enforce the file extensions:

'bundler' for use with bundlers. Like node16 and nodenext, this mode supports package.json "imports" and "exports", but unlike the Node.js resolution modes, bundler never requires file extensions on relative paths in imports.

This might be a duplicate of https://github.com/microsoft/TypeScript/issues/54102

dang that was fast lol


Repo Init's OSGi factory config and baseline content scripts should be used

Expected Behaviour
Repo Init should be used to define base content structures (amongst other things) in AEM.
The Archetype should provide Repo Initializer OSGi factory configurations that initialize the "default" base structures (/content/__appId__, etc).
Providing these "base" Repo Init configs, and scripts are helpful in getting developers to use repo init for all the things it should be used for as they will only need to add Repo Init entries to existing OSGi configs.
Actual Behaviour
Repo Init is not used, and structures are defined in ui.content

Running into an issue defining a repoinit script with line-breaks using Adobe practices (using .cfg.json OSGI config format); trying to determine the correct way to do this (without introducing a "bad practice". )
If anyone knows of a good way to define a repoinit script (that is maintainable; ie. uses line breaks) using .cfg.json format, please let me know!
(It doesnt seem repoinit references are supported by AEM, but I may just be something wrong?)

Upon review of the candidates, there are too many properties and complex structures on or under the candidate nodes to make this a good idea. Closing for now.


Adding Tab border customization and Tab header background color

Parameters added to New-HTMLTabOptions:

Added the -BorderRadius parameter with four options to customize the tab border style (0px, 10px, 15px, 25px) from square to more rounded borders.

Added the -BorderBackgroundColor parameter to customize the tab header background color.

Added the $Script:BorderStyle variable to the New-HTMLTabHead to apply the styles.

New-HTMLTabOptions  -SelectorColor Blue -BorderRadius 0px -BorderBackgroundColor LightBlue

New-HTMLTabOptions -SelectorColor Blue -BorderRadius 10px -BorderBackgroundColor LightBlue

New-HTMLTabOptions -SelectorColor Blue -BorderRadius 15px -BorderBackgroundColor LightBlue

New-HTMLTabOptions -SelectorColor Blue -BorderRadius 25px -BorderBackgroundColor LightBlue

New-HTMLTabOptions -SlimTabs -SelectorColor Blue -BorderRadius 25px -BorderBackgroundColor LightBlue

The tests are failing. Please fix them. It seems like you are copy pasting into GitHub or are you editing in VSCode and committing directly.
I also believe you're deleting fork every time right? You may want to look into learning to work with GitHub. It seems I could use your help ;-)

I was pasting into the edit page for GitHub. I'm going to learn how to better work with GitHub over the weekend. Thanks!

Here's a good overview of how to help with open source projects: https://sqldbawithabeard.com/2019/11/29/how-to-fork-a-github-repository-and-contribute-to-an-open-source-project/
Hope it helps


Add wiki-related tags to Parsedown

Because of the way Parsedown is written, it's very easy to create extensions. We should make use of this by adding wiki-related tags, such as internal links and images. We'd extend the class and add/override any methods we need.

We'll accomplish this by replacing Parsedown with (Hawk)[https://github.com/Chistaen/HawkMDP]. This will be done just before the release, since it would have to be installed through Composer (since we only use libraries that can be installed through Composer / NPM).


Update macOS to 5.1~alpha2

Is there a way to make sure this is always in sync?

@samoht tracking issue for extracting this code into a common library https://github.com/ocurrent/ocaml-ci/issues/682. We need to work with obuilder-specs rather than ocaml-dockerfile for these new platforms (macOS and FreeBSD) that don't support docker natively.


Reinstate as_lazy_data

The return of the as_lazy_data function, which acts as Iris' interface to da.from_array. I've added tests for the function and changed the Iris code and tests so that it always uses the new function and does not call da.from_array directly.

ping @bjlittle @lbdreyer @pp-mo

i'm not against this change.  I would like to understand a little about it's motivation.  It appears at first glance that calls to
da.from_array()
are replaced by
iris._lazy_data.as_lazy_data()
calls with a very similar call signature
the only difference I can see is that
iris._lazy_data.as_lazy_data()
always calls
iris._lazy_data.array_masked_to_nans()
where as previously this had to be called explicitly if required
is this the benefit which is being targeted?
Is there extra benefit which is being targeted which I am not observing?
Additionally, it seems a shame to reintroduce
# A magic value, borrowed from biggus
MAX_CHUNK_SIZE = 8 * 1024 * 1024 * 2

to me, I think a better chunking approach is required than this
none of this is a barrier to adoption, I am an interested watcher in this case, keen to comprehend

@marqh we have identified the following benefits with reintroducing as_masked_array:

factoring repeated code: though there's not a lot of code been factored, if we wanted to change the way that iris interfaced with dask then this means we need only change one piece of code
similarly we get to define a single common interface for what to do when constructing a lazy array: we always want to ensure there are no masks present when setting up a lazy array and we want to have a consistent approach to chunking; these are both most efficiently done by having this common interface.
disentangling Iris and dask code: I think it would be good to have as little direct Iris interaction with dask as possible, not least for reasons of factoring common code
reintroducing the biggus magic number is an improvement to chunking. The arbitrary scattergun approach to chunking that existed before was naive at best and only likely to negatively impact dask performance. This magic number was actually carefully selected to maximise the performance improvement of chunking while minimising the overhead of setting up chunking, so reintroducing it is a very positive step. Certainly further improvements to how chunks are set up are necessary, but at the moment there is no driver to implement anything here (although having a single function to set up lazy arrays will greatly ease the introduction of it).

so

always calls
iris._lazy_data.array_masked_to_nans()
where as previously this had to be called explicitly if required
seems a fair assessment of benefit.  I can see that this is deemed useful.

disentangling Iris and dask code: I think it would be good to have as little direct Iris interaction with dask as possible, not least for reasons of factoring common code

I don't see the benefit of this in principal.  I think Iris using dask is beneficial and Iris should be clear to make calls to dask where useful, I don't think that, in principal, as little direct interaction as possible is a good thing.
In this case it can be seen as a practical step, to handle the work around for missing data, but this isn't an approach that I would advocate across the board.

reintroducing the biggus magic number is an improvement to chunking. The arbitrary scattergun approach to chunking that existed before was naive at best and only likely to negatively impact dask performance. This magic number was actually carefully selected to maximise the performance improvement of chunking while minimising the overhead of setting up chunking, so reintroducing it is a very positive step. Certainly further improvements to how chunks are set up are necessary, but at the moment there is no driver to implement anything here (although having a single function to set up lazy arrays will greatly ease the introduction of it).

this is far from clear to me.
How is this magic number an improvement to chunking please?
Is this a performance benefit?  A memory overhead benefit? Have we measured these somewhere that I have not seen?
How is 16777216 carefully selected to deliver performance?
Dask does not provide a magic chunk size, it requests it is provided based on context.  I think it is worth considering whether Iris should respect Dask's API in this case and not provide a 'default value'
It looks in this PR like the only places this is used is in testing, that all of the functional code supplies it's own chunk size.  If this is not the case and I'm missing something, I'd be interested to see it.
With this in mind, I wonder whether not including the magic number in this PR and looking into it as a follow on activity might better suit that introducing it here as part of a non-functional code refactor for purposes discussed above.

How is 16777216 carefully selected to deliver performance?

I spoke to @rhattersley about why he chose this number for biggus. What it comes down to is that chunking the data (and in dask, setting up the graph) commands a not insignificant memory/time overhead. The performance tests for biggus showed that setting the chunks too small, as was being done here, ruins performance as any improvement gained through chunking is destroyed through setting up the chunking. Conversely, setting the chunking too large also caused a (less significant) performance impact due to the chunks becoming larger and slower to process.
The value selected is set to be just to the right of peak chunking performance in biggus and I am asserting that this is true in dask too, not least because the dask docs say (see FAQ 3) that chunks are best set to be between 10MB and 100MB in size, which this number handily is.
I'm going to do some performance (timing) testings on this though, as I'm interested to see how performance will vary by chunk size.
One more thing to note is that you can rechunk dask arrays. The dask docs suggest that a lot of the performance improvements in chunking come from setting the correct chunk size for the operation. I think that at a later date we should look into rechunking lazy data cubes based upon the operation we're about to perform on it. It is still the case though that setting a default max chunk size of 16MB in both cases will make a noticeable performance improvement than the naive and inconsistent chunk sizes that I have replaced.

the only places this is used is in testing

Not true:

almost all operations now use the default chunk size as this will be better in the general case.
the fileformats interface specifies a chunk size that is the shape of the 2D field coming in.
in general usage, especially when we have users supplying large datasets, having a default chunk size set to a sensible value is a better approach.

looking into it as a follow on activity

This will be much easier done if we have followed the good software design pattern reintroduced here of having a single consistent point of entry for creating dask arrays for Iris cubes rather than having duplicated code scattered all across the Iris codebase.

almost all operations now use the default chunk size as this will be better in the general case.

please may you point me to where this occurs?
all of the calls to the
iris._lazy_data.as_lazy_data()
that I can find on this branch explicitly pass in chunk size

Well, there's all the tests - they now use the default chunk size. Cube also uses the default chunk size. The other non-test calls to as_lazy_data are all made by code that's about to stack up multiple 2D fields.

I'm gonna merge this in as I agree with the principle.
(@bjlittle @pp-mo I would still encourage you to have a look over this.)
We will have to look into optimising chunking at a later stage.

Thanks @lbdreyer!

We will have to look into optimising chunking at a later stage.

Agreed. Solid API first, performance improvements thereafter.


Builds on Travis are broken

Related to #298

Your test run exceeded 50 minutes.
https://travis-ci.org/cheezy/page-object/builds/63004117

Travis is unable to execute the page-object test suite in full.

builds are passing.


Powershell support - Set Supported account types

New-AzADApplication where -AvailableToOtherTenants $true
sets the Supported account types: Multiple organizations
how about Supported account types:  All Microsoft account users ???
Is there a way to do this via PS ?

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

ID: c9642c47-826b-017f-eff3-ab3b25e4e454
Version Independent ID: 091f26e7-6543-ef0f-b575-b44519943391
Content: Register an app with the Microsoft identity platform
Content Source: articles/active-directory/develop/quickstart-register-app.md
Service: active-directory
Sub-service: develop
GitHub Login: @rwike77
Microsoft Alias: ryanwi

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

@WiseOldHowell
When you use the PS cmdlet New-AzADApplication -AvailableToOtherTenants $true, you are making the application available for the ORG Accounts of the other tenants. The users would either have to give consent for the application themselves or the GA of the Tenant gives consent on behalf of the users of the tenant.
Here's how the options look from the Portal UI:

Now, for the second option, where the application is available for other tenants and the Personal Microsoft Accounts, unfortunately there is no PS command to give that parameter.
For programmatical method to do the same, I suggest you check out the beta Graph APIs:

Application Object
API property of application object
SignInAudience is direct property of the application object
Update Application
Please note that this is still only available under the beta API of the Microsoft Graph.

Let us know if this helps.

@WiseOldHowell
We would be closing this thread now. Let us know if you need further help on the same.


Add tests for jobs

We need tests for PowerShell, and then to fix the cmdlets.

Steps to reproduce
~ |-/ Start-Job -ScriptBlock { get-process }

Id     Name            PSJobTypeName   State         HasMoreData     Location             Command
--     ----            -------------   -----         -----------     --------             -------
1      Job1            BackgroundJob   Failed        False           localhost             get-process

~ |-/ Get-Job

Id     Name            PSJobTypeName   State         HasMoreData     Location             Command
--     ----            -------------   -----         -----------     --------             -------
1      Job1            BackgroundJob   Failed        False           localhost             get-process

~ |-/ Receive-Job Job1
An error has occurred which Windows PowerShell cannot handle. A remote session might have ended.
    + CategoryInfo          : OpenError: (localhost:String) [], PSRemotingDataStructureException
    + FullyQualifiedErrorId : PSSessionStateBroken

Expected behavior
@BrucePay can you fill this in?
Actual behavior
See above.
Environment data

v0.4.0

The problem with jobs not working was fixed in commit 2077e42b52cd431a9097cf6673f9b4d5f4e4f391 and tests were added with commit 9d1c998287be855d04c95a5387bcca4919299f2b


Copyright should be updated

Description:
Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
Affected Versions:
Version - Ballerina-0.970.0

We can keep it as 2017 as we created file in that year and did not change afterwards :)


Do we need the Vlen in NetCDF 3 description any more?

Should we use this wiki page: https://github.com/bekozi/netCDF-CF-simple-geometry/wiki/VLEN-Arrays-in-NetCDF-3 conceptually or otherwise?

How about we mark it as deprecated and keep it around?  If we have a page that describes how we arrived at our simple geometry strategy, we can mention that we considered other VLEN approaches for netCDF 3 (link) but decided to stay close to the DSG CRA approach for consistency.

That sounds perfect.

Done in sidebar and in page its self.


upload_symbols_to_crashlytics Permission denied - Crashlytics.framework

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
When trying to run on Jenkins getting this:
[12:16:14]: -------------------------------------------
[12:16:14]: --- Step: upload_symbols_to_crashlytics ---
[12:16:14]: -------------------------------------------
[12:16:14]: Extracting '/Volumes/Jenkins_Support/workspace/iOS-LiT-Dev-Pipe/LIT/Projects/FutureMobile/Binaries/IOS/FutureMobile.dSYM.zip'...
[12:16:14]: $ unzip -qo /Volumes/Jenkins_Support/workspace/iOS-LiT-Dev-Pipe/LIT/Projects/FutureMobile/Binaries/IOS/FutureMobile.dSYM.zip
[12:16:15]: Uploading 'FutureMobile.dSYM'...
[12:16:15]: Permission denied - /Volumes/Jenkins_Support/workspace/iOS-LiT-Dev-Pipe/LIT/Projects/FutureMobile/Plugins/Crashlytics/Extras/iOS/Crashlytics/iOS/Crashlytics.framework
[12:16:15]: Successfully uploaded dSYM files to Crashlytics 💯

I've tried to add sh "cd .. && chmod -R 777 #{submit_path}" before calling action, but no luck.
Jenkins output
Started by user Ruslan K

git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
git config remote.origin.url ssh://git@<IP_ADDRESS>:7999/lit/build_config.git # timeout=10
Fetching upstream changes from ssh://git@<IP_ADDRESS>:7999/lit/build_config.git
git --version # timeout=10
using GIT_SSH to set credentials Jenkins BitBucket No Pass
git fetch --tags --progress ssh://git@<IP_ADDRESS>:7999/lit/build_config.git +refs/heads/:refs/remotes/origin/ # timeout=200
git rev-parse refs/remotes/origin/ios-dev^{commit} # timeout=10
git rev-parse refs/remotes/origin/refs/heads/ios-dev^{commit} # timeout=10
Checking out Revision 6af141b3798e60625f5bee5ff96fb5c0ff708882 (refs/remotes/origin/ios-dev)
git config core.sparsecheckout # timeout=10
git checkout -f 6af141b3798e60625f5bee5ff96fb5c0ff708882 # timeout=200
git rev-list 5abdf53bdeda212de0b5eb4ba3531bfb7b19898a # timeout=10
[Pipeline] node
Running on Mac Pro Node in /Volumes/Jenkins_Support/workspace/iOS-LiT-Dev-Pipe
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Checkout script)
[Pipeline] git
git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
git config remote.origin.url ssh://git@<IP_ADDRESS>:7999/lit/build_config.git # timeout=10
Fetching upstream changes from ssh://git@<IP_ADDRESS>:7999/lit/build_config.git
git --version # timeout=10
using GIT_SSH to set credentials Jenkins BitBucket No Pass
git fetch --tags --progress ssh://git@<IP_ADDRESS>:7999/lit/build_config.git +refs/heads/:refs/remotes/origin/
git rev-parse refs/remotes/origin/ios-dev^{commit} # timeout=10
git rev-parse refs/remotes/origin/origin/ios-dev^{commit} # timeout=10
Checking out Revision 6af141b3798e60625f5bee5ff96fb5c0ff708882 (refs/remotes/origin/ios-dev)
git config core.sparsecheckout # timeout=10
git checkout -f 6af141b3798e60625f5bee5ff96fb5c0ff708882
git branch -a -v --no-abbrev # timeout=10
git branch -D ios-dev # timeout=10
git checkout -b ios-dev 6af141b3798e60625f5bee5ff96fb5c0ff708882
[Pipeline] load
[Pipeline] { (common_jenkinsfile)
[Pipeline] }
[Pipeline] // load
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Checkout Project)
[Pipeline] dir
Running in /Volumes/Jenkins_Support/workspace/iOS-LiT-Dev-Pipe/LIT
[Pipeline] {
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Environment Setup)
[Pipeline] sh
[iOS-LiT-Dev-Pipe] Running shell script

brew ls --versions imagemagick
echo 'imagemagick is already installed'
imagemagick is already installed
[Pipeline] sh
[iOS-LiT-Dev-Pipe] Running shell script
brew ls --versions node
echo 'node is already installed'
node is already installed
[Pipeline] sh
[iOS-LiT-Dev-Pipe] Running shell script
gem install bundler
Bundler and RubyGems.org are free for anyone to use, but maintaining them costs more than $25,000 USD every month. Help us cover those costs so that we can keep the gem ecosystem free for everyone: https://ruby.to/support-bundler
Successfully installed bundler-1.14.3
Parsing documentation for bundler-1.14.3
Done installing documentation for bundler after 4 seconds
1 gem installed
bundle install --deployment
Fetching gem metadata from https://rubygems.org/........
Fetching version metadata from https://rubygems.org/..
Fetching dependency metadata from https://rubygems.org/.
Installing CFPropertyList 2.3.5
Installing i18n 0.8.0
Using json 1.8.6
Using minitest 5.10.1
Using thread_safe 0.3.5
Using public_suffix 2.0.5
Using babosa 1.0.2
Using bundler 1.14.3
Using colored 1.2
Using highline 1.7.8
Installing dotenv 2.2.0
Using excon 0.54.0
Using multipart-post 2.0.0
Using unf_ext <IP_ADDRESS>
Using gh_inspector 1.0.3
Using jwt 1.5.6
Using little-plugger 1.1.4
Using multi_json 1.12.1
Using memoist 0.15.0
Using os 0.9.6
Using httpclient 2.8.3
Using hurley 0.2
Using mime-types-data 3.2016.0521
Using uber 0.0.15
Using retriable 2.1.0
Using mini_magick 4.5.1
Using multi_xml 0.6.0
Using plist 3.2.0
Using rubyzip 1.2.0
Using security 0.1.3
Using slack-notifier 1.5.1
Using terminal-notifier 1.7.1
Using unicode-display_width 1.1.3
Using word_wrap 1.0.0
Using claide 1.0.1
Using nanaimo 0.2.3
Using rouge 1.11.1
Using fastlane-plugin-act 1.0.1
Using tzinfo 1.2.2
Using addressable 2.5.0
Using commander 4.4.3
Using faraday 0.11.0
Using unf 0.1.4
Using logging 2.1.0
Using mime-types 3.1
Using representable 2.3.0
Using fastlane-plugin-appicon 0.4.1
Using terminal-table 1.7.3
Using xcpretty 0.2.4
Using activesupport <IP_ADDRESS>
Using fastimage 2.0.1
Using faraday_middleware <IP_ADDRESS>
Using signet 0.7.3
Using domain_name 0.5.20161129
Using xcpretty-travis-formatter 0.0.4
Using xcodeproj 1.4.2
Using googleauth 0.5.1
Using http-cookie 1.0.3
Installing google-api-client 0.9.26
Using faraday-cookie_jar 0.0.6
Installing fastlane 2.14.2
Using badge 0.7.1
Bundle complete! 5 Gemfile dependencies, 62 gems now installed.
Bundled gems are installed into ./vendor/bundle.
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Fastlane Build & Install)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Upload to Fabric)
[Pipeline] sh
[iOS-LiT-Dev-Pipe] Running shell script
bundle exec fastlane fabric
+-------------------------+---------+-----------------+
|                    Used plugins                     |
+-------------------------+---------+-----------------+
| Plugin                  | Version | Action          |
+-------------------------+---------+-----------------+
| fastlane-plugin-appicon | 0.4.1   | android_appicon |
|                         |         | appicon         |
| fastlane-plugin-act     | 1.0.1   | act             |
+-------------------------+---------+-----------------+

[12:15:07]: -------------------------------------------------
[12:15:07]: --- Step: Verifying required fastlane version ---
[12:15:07]: -------------------------------------------------
[12:15:07]: Your fastlane version 2.14.2 matches the minimum requirement of 1.108  ✅
[12:15:07]: ------------------------------
[12:15:07]: --- Step: default_platform ---
[12:15:07]: ------------------------------
[12:15:07]: Driving the lane 'ios fabric' 🚀
[12:15:07]: -----------------------------------------------------------------------------------------------------------------------------------
[12:15:07]: --- Step: cd .. && chmod -R 777 LIT/Projects/FutureMobile/Plugins/Crashlytics/Extras/iOS/Crashlytics/iOS/Crashlytics.framework/ ---
[12:15:07]: -----------------------------------------------------------------------------------------------------------------------------------
[12:15:07]: $ cd .. && chmod -R 777 LIT/Projects/FutureMobile/Plugins/Crashlytics/Extras/iOS/Crashlytics/iOS/Crashlytics.framework/
[12:15:07]: --------------------
[12:15:07]: --- Step: resign ---
[12:15:07]: --------------------
/Volumes/Jenkins_Support/workspace/iOS-LiT-Dev-Pipe/vendor/bundle/ruby/2.3.0/gems/fastlane-2.14.2/sigh/lib/assets/resign.sh /Volumes/Jenkins_Support/workspace/iOS-LiT-Dev-Pipe/LIT/Projects/FutureMobile/Build/IOS/FutureMobile.ipa CD0260902AD548435FA7DABDCE99DC08AF9C5093 -p /Users/App/Library/MobileDevice/Provisioning\ Profiles/c4b77347-ebd3-4403-bd7f-85bf05333cbd.mobileprovision      --use-app-entitlements    /Volumes/Jenkins_Support/workspace/iOS-LiT-Dev-Pipe/LIT/Projects/FutureMobile/Build/IOS/FutureMobile.ipa
Executable=/Volumes/Jenkins_Support/workspace/iOS-LiT-Dev-Pipe/_floatsignTemp/Payload/FutureMobile.app/FutureMobile
_floatsignTemp/Payload/FutureMobile.app: replacing existing signature
[12:15:21]: Successfully signed /Volumes/Jenkins_Support/workspace/iOS-LiT-Dev-Pipe/LIT/Projects/FutureMobile/Build/IOS/FutureMobile.ipa!
[12:15:21]: Successfully re-signed .ipa 🔏.
[12:15:21]: -------------------------
[12:15:21]: --- Step: crashlytics ---
[12:15:21]: -------------------------
[12:15:21]: Uploading the build to Crashlytics Beta. Time for some ☕.
[12:16:14]: Build successfully uploaded to Crashlytics Beta 🌷
[12:16:14]: Visit https://fabric.io/_/beta to add release notes and notify testers.
[12:16:14]: -------------------------------------------
[12:16:14]: --- Step: upload_symbols_to_crashlytics ---
[12:16:14]: -------------------------------------------
[12:16:14]: Extracting '/Volumes/Jenkins_Support/workspace/iOS-LiT-Dev-Pipe/LIT/Projects/FutureMobile/Binaries/IOS/FutureMobile.dSYM.zip'...
[12:16:14]: $ unzip -qo /Volumes/Jenkins_Support/workspace/iOS-LiT-Dev-Pipe/LIT/Projects/FutureMobile/Binaries/IOS/FutureMobile.dSYM.zip
[12:16:15]: Uploading 'FutureMobile.dSYM'...
[12:16:15]: Permission denied - /Volumes/Jenkins_Support/workspace/iOS-LiT-Dev-Pipe/LIT/Projects/FutureMobile/Plugins/Crashlytics/Extras/iOS/Crashlytics/iOS/Crashlytics.framework
[12:16:15]: Successfully uploaded dSYM files to Crashlytics 💯
[12:16:15]: --------------------
[12:16:15]: --- Step: rocket ---
[12:16:15]: --------------------
    ____
   /    \
  |      |
  |      |
  |      |
   \____/
   |    |
   |    |
   |    |
   |____|
  {|    |}
   |    |
   |    |
   | F  |
   | A  |
   | S  |
   | T  |
   | L  |
   | A  |
  /| N  |\
  || E  ||
  ||    ||
  \|____|/
   /_\/_\
   ######
  ########
   ######
    ####
    ####
     ##
     ##
     ##
     ##

+------+---------------------------------------------------------------+-------------+
|                                  fastlane summary                                  |
+------+---------------------------------------------------------------+-------------+
| Step | Action                                                        | Time (in s) |
+------+---------------------------------------------------------------+-------------+
| 1    | Verifying required fastlane version                           | 0           |
| 2    | default_platform                                              | 0           |
| 3    | cd .. && chmod -R 777 LIT/Projects/FutureMobile/Plugins/Crash | 0           |
| 4    | resign                                                        | 13          |
| 5    | crashlytics                                                   | 52          |
| 6    | upload_symbols_to_crashlytics                                 | 0           |
| 7    | rocket                                                        | 0           |
+------+---------------------------------------------------------------+-------------+
[12:16:15]: fastlane.tools finished successfully 🎉
[Pipeline] }
[Pipeline] // stage
[Pipeline] step
Archiving artifacts
Recording fingerprints
[Pipeline] step
Recording test results
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS

Environment
🚫 fastlane environment 🚫
Stack

Key
Value

OS
10.12.2

Ruby
2.3.1

Bundler?
true

Git
git version 2.10.1

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.12.2 (16C67)

Ruby Lib Dir
/usr/local/Cellar/ruby/2.3.1_2/lib

OpenSSL Version
OpenSSL 1.0.2j  26 Sep 2016

Is contained
false

Is homebrew
false

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

Xcode Version
8.2.1

System Locale

Error

No Locale with UTF8 found 🚫

fastlane files:
`./fastlane/Fastfile`
# If you want to automatically update fastlane if a new version is available:
# update_fastlane

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

default_platform :ios

platform :ios do
  before_all do
    ENV['ROOT_PATH'] = File.dirname(Dir.pwd) # sh("dirname $PWD").rstrip
    ENV['SLACK_URL'] = 'https://hooks.slack.com/services/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'
  end

  skip_docs

  desc "Build for test & deliver to Fabric"
  lane :build_for_test do |options|

    # ensure_git_branch(branch: "develop")
    check_build_options(options)

    ENV['MATCH_APP_IDENTIFIER'] = 'com.futuregroup.futureuniverse.test'
    match_with_context(type: "development", force_for_new_devices: true)

    options[:shipping] = false
    build(options)

    shield = "DEV-#{options[:version]}(#{options[:build]})-blue"
    icon(
      shield: shield,
      distribution: false
    )

    fabric(
      groups: "qa-1,managers,dev"
      )

    slack(
      message: "New iOS-LiT-TEST #{options[:version]}(#{options[:build]}) is available on Fabric 🔬",
      channel: "new_builds",
      success: true
    )

  end

  desc "Build pull request and try to run it on connected device via USB. Pass feature name as 'build'"
  lane :build_pr do |options|

    check_build_options(options)

    ENV['MATCH_APP_IDENTIFIER'] = "*"
    match_with_context(type: "development", force_for_new_devices: true)

    pr_name = feature_name()
    raise "Can't get PR name" unless pr_name
    UI.message "PR name is #{pr_name} 🔮"

    ENV['MATCH_APP_IDENTIFIER'] = "com.futuregroup.futureuniverse.#{pr_name}"
    options[:shipping] = false
    build(options)

    shield = "pr-#{pr_name}-orange"
    icon(
      shield: shield,
      distribution: false
    )
    resign(
      signing_identity: ENV['CERT'],
      use_app_entitlements: true
    )
    deploy_on_local_device
  end

  def feature_name
    # name = git_branch
    name = ENV['JOB_NAME'] if name.nil? || name.empty?
    name = "UNKNOWN_FEATURE" if name.nil? || name.empty?
    File.basename(name.gsub("%2F", "/"))
  end

  desc "Build for stage & deliver to Fabric"
  lane :build_for_stage do |options|

    # ensure_git_branch(branch: "stage")

    check_build_options(options)

    ENV['MATCH_APP_IDENTIFIER'] = 'com.futuregroup.futureuniverse' # add .stage
    match_with_context(type: "adhoc", force_for_new_devices: true)

    options[:shipping] = true
    build(options)
    icon(distribution: true)
    fabric

    slack(
      message: "New iOS-LiT-STAGE #{options[:version]}(#{options[:build]}) is available on Fabric 🚀",
      channel: "new_builds",
      success: true
    )

  end

  desc "Build for beta & deliver to TestFlight"
  lane :build_for_beta do |options|

    # ensure_git_branch(branch: "stage")

    check_build_options(options)

    ENV['MATCH_APP_IDENTIFIER'] = 'com.futuregroup.futureuniverse'
    match_with_context(type: "appstore")

    options[:shipping] = true
    build(options)
    icon(distribution: true)
    beta

    slack(
      message: "New iOS-LiT-BETA #{options[:version]}(#{options[:build]}) is available on TestFlight ✈",
      channel: "new_builds",
      success: true
    )

  end

  desc "Build for dev"
  lane :build_for_dev do |options|

    # ensure_git_branch(branch: "stage")

    check_build_options(options)

    ENV['MATCH_APP_IDENTIFIER'] = 'com.futuregroup.futureuniverse.dev'
    match_with_context(type: "development")

    sh "cd .. && ruby configure.rb dev #{ENV['BUILD_NUMBER']} LIT"
    build(options)
    icon(distribution: false)

    write_env
    #
    # slack(
    #   message: "New iOS-LiT-BETA #{options[:version]}(#{options[:build]}) is available on TestFlight ✈",
    #   channel: "new_builds",
    #   success: true
    # )

  end

  desc "Match that sets up Lane_context. Call separately for different types."
  lane :match_with_context do |options|
    if is_ci?
      unlock_keychain(
        path: "login",
        password: "tfg2015"
      )
    end

    ENV['FASTLANE_PASSWORD'] = "tfgD3v2015"

    # Might fail
    begin
      register_devices(devices_file: "fastlane/devices.txt")
    rescue => ex
      UI.error(ex)
    end

    type = options[:type]
    case type
    # when "development", "adhoc"
      # options[:git_branch] = 'enterprise'
      # options[:username] =<EMAIL_ADDRESS>      # options[:type] = 'enterprise'
      # ENV['MATCH_FORCE_ENTERPRISE'] = '1'
      # ENV['FASTLANE_PASSWORD'] = "EnterF17!"
    when "appstore"
      # options[:git_branch] = 'master'
      # options[:git_branch] =<EMAIL_ADDRESS>      # ENV['FASTLANE_PASSWORD'] = "tfgD3v2015"
    end
    match(options)

    ENV['PROVISIONING'] = ENV["sigh_#{ENV['MATCH_APP_IDENTIFIER']}_" + type] + '.mobileprovision'
    Actions.lane_context[SharedValues::SIGH_UUID] = ENV["sigh_#{ENV['MATCH_APP_IDENTIFIER']}_" + type]
    Actions.lane_context[SharedValues::SIGH_PROFILE_PATH] =
      File.expand_path(File.join("~/Library/MobileDevice/Provisioning Profiles/", ENV['PROVISIONING']))
    ENV['PROVISIONING_PATH'] = Actions.lane_context[SharedValues::SIGH_PROFILE_PATH]

    ENV['CERT'] = type == "development" ? 'iPhone Developer: Hans Svilosen (RDGBAA364X)'
                                         : 'iPhone Distribution: The Future Group AS (4TM2DK894Y)'
    Actions.lane_context[SharedValues::CERT_CERTIFICATE_ID] = ENV['CERT']

    # Mirror profiles & settings to config
    file = File.join(ENV['FULL_PROJECT_PATH'], "Config/DefaultEngine.ini")
    file_content = File.read(file)
    file_content = file_content.gsub(/MobileProvision=.*/, "MobileProvision=#{ENV['PROVISIONING']}")
    file_content = file_content.gsub(/SigningCertificate=.*/, "SigningCertificate=#{ENV['CERT']}")
    File.open(file, 'w') { |file| file.write(file_content) }

    copy_artifacts(
      target_path: "artifacts",
      artifacts: [Actions.lane_context[SharedValues::SIGH_PROFILE_PATH]],
      keep_original: true
    )

  end

  desc "Checks build options"
  private_lane :check_build_options do |options|
    raise "Missing build: use :build parameter" unless options[:build]
    raise "Missing engine_path: use :engine_path parameter" unless options[:engine_path]
    raise "Missing project_path: use :project_path parameter" unless options[:project_path]

    ENV['PROJECT_PATH'] = options[:project_path]
    ENV['FULL_PROJECT_PATH'] = File.join(ENV['ROOT_PATH'], ENV['PROJECT_PATH'])
  end

  desc "Setup environment & build"
  private_lane :build do |options|
    ENV['ENGINE_PATH'] = options[:engine_path]

    copy_artifacts(
      target_path: "artifacts",
      artifacts: [File.join(ENV['FULL_PROJECT_PATH'], "/Config/DefaultEngine.ini"),
                  File.join(ENV['FULL_PROJECT_PATH'], "/build_config.json"),
                  File.join(ENV['FULL_PROJECT_PATH'], "/Source/FutureMobile/Webapi.h"),
                  File.join(ENV['FULL_PROJECT_PATH'], "/Plugins/Pushbots/Source/Pushbots/values.xml"),
                  File.join(ENV['FULL_PROJECT_PATH'], "/Source/SocketModule/Public/SocketClient.h")],
      keep_original: true
    )

    sh "./Build_iOS.sh #{(options[:shipping] == true ? 'true' : 'false')} #{options[:project_path]}"

    Actions.lane_context[SharedValues::IPA_OUTPUT_PATH] =
      File.join(ENV['FULL_PROJECT_PATH'], "/Build/IOS/",
                (options[:shipping] ? "Distro_FutureMobile-IOS-Shipping.ipa" : "FutureMobile.ipa"))
    ENV['IPA_OUTPUT_PATH'] = Actions.lane_context[SharedValues::IPA_OUTPUT_PATH]

    Actions.lane_context[SharedValues::DSYM_OUTPUT_PATH] =
      File.join(ENV['FULL_PROJECT_PATH'], "/Binaries/IOS/",
                (options[:shipping] ? "FutureMobile-IOS-Shipping.dSYM.zip" : "FutureMobile.dSYM.zip"))
    ENV['DSYM_OUTPUT_PATH'] = Actions.lane_context[SharedValues::DSYM_OUTPUT_PATH]

    copy_artifacts(
      target_path: "artifacts",
      artifacts: [Actions.lane_context[SharedValues::IPA_OUTPUT_PATH], Actions.lane_context[SharedValues::DSYM_OUTPUT_PATH]],
      keep_original: true
    )

  end

  desc "Write env to file"
  lane :write_env do |options|
    File.open(".env", "w") do |file|
      file.truncate(0)
      file.write("PROJECT_PATH=\"#{ENV['PROJECT_PATH']}\"\n")
      file.write("FULL_PROJECT_PATH=\"#{ENV['FULL_PROJECT_PATH']}\"\n")
      file.write("CERT=\"#{ENV['CERT']}\"\n")
      file.write("PROVISIONING=\"#{ENV['PROVISIONING']}\"\n")
      file.write("PROVISIONING_PATH=\"#{ENV['PROVISIONING_PATH']}\"\n")
      file.write("DSYM_OUTPUT_PATH=\"#{ENV['DSYM_OUTPUT_PATH']}\"\n")
      file.write("IPA_OUTPUT_PATH=\"#{ENV['IPA_OUTPUT_PATH']}\"\n")
    end
    copy_artifacts(
      target_path: "artifacts",
      artifacts: "fastlane/.env",
      keep_original: true
    )
  end

  # desc "Setup environment & build"
  # private_lane :build_assets do |options|
  #   # sh('git fetch --tags')
  #   # last_git_tag
  #   ENV['BUNDLE_DISPLAY_NAME'] = options[:shipping] ? 'Lost in Time' : 'LiT Dev'
  #   ENV['VERSION'] = options[:version]
  #   ENV['BUILD'] = options[:build]
  #   ENV['ENGINE_PATH'] = options[:engine_path]
  #
  #   sh "./Build_iOS_Assets.sh " + (options[:shipping] == true ? 'true' : 'false') + " " + options[:project_path]
  #   Actions.lane_context[SharedValues::IPA_OUTPUT_PATH] = ENV['ROOT_PATH'] + "/" + ENV['PROJECT_PATH'] + "/Build/IOS/" +
  #    + (options[:shipping] ? "Distro_FutureMobile-IOS-Shipping.ipa" : "FutureMobile.ipa")
  #   Actions.lane_context[SharedValues::DSYM_OUTPUT_PATH] = ENV['ROOT_PATH'] + "/" + ENV['PROJECT_PATH'] + "/Binaries/IOS/" +
  #    + (options[:shipping] ? "FutureMobile-IOS-Shipping.dSYM" : "FutureMobile.dSYM")
  #
  # end

  desc "Submit a new Beta Build to Apple TestFlight"
  lane :beta do |options|
    inject_dsym
    # pem(
    #   save_private_key: true,
    #   new_profile: proc do |profile_path| # this block gets called when a new profile was generated
    #     UI.message profile_path # the absolute path to the new PEM file
    #     # insert the code to upload the PEM file to the server
    #   end
    # )
    resign(
      signing_identity: ENV['CERT'],
      use_app_entitlements: true
    )
    pilot(
      skip_submission: true,
      skip_waiting_for_build_processing: true
    )
    rocket
  end

  desc "Resigns app with correct entitlements from profile for AdHoc, upload ipa & dsym to Fabric"
  lane :fabric do |options|
    submit_path = File.join(ENV['PROJECT_PATH'], "/Plugins/Crashlytics/Extras/iOS/Crashlytics/iOS/Crashlytics.framework/")
    # sh "chmod +x #{File.join(submit_path, "uploadDSYM")}"
    sh "cd .. && chmod -R 777 #{submit_path}"

    resign(
      ipa: ENV['IPA_OUTPUT_PATH'],
      provisioning_profile: ENV['PROVISIONING_PATH'],
      signing_identity: ENV['CERT'],
      use_app_entitlements: true
    )
    crashlytics(
      ipa_path: ENV['IPA_OUTPUT_PATH'],
      crashlytics_path: submit_path, # path to your Crashlytics submit binary.
      api_token: ENV['CRASHLYTICS_API_TOKEN'] || "87192f9ac8a78692bbfb1140b8e239c318c1539e",
      build_secret: ENV['CRASHLYTICS_BUILD_SECRET'] || "dad43aa5088ca2554dbe718797cdb2173bf32b072fef10056805443c72a91ae0",
      groups: options[:groups],
      notifications: false
    )
    upload_symbols_to_crashlytics(
      binary_path: submit_path,
      dsym_path: ENV['DSYM_OUTPUT_PATH']
    )
    rocket
  end

  desc "Generate icon from source, add badge optionally"
  private_lane :icon do |options|
    path = "Build/IOS"
    appicon(
      appicon_image_file: options[:distribution] ? "fastlane/icon_source.png" : "fastlane/icon_dev.png",
      appicon_path: path,
      appicon_devices: [:ipad, :iphone]
    )
    if options[:shield]
      badge(
        path: path,
        shield: options[:shield],
        shield_no_resize: false,
        no_badge: true
      )
    end
    ipa_path = File.expand_path(Actions.lane_context[SharedValues::IPA_OUTPUT_PATH])
    act(
      ipa: ipa_path,
      app_name: "FutureMobile.app",
      iconset: File.join(path, "/AppIcon.appiconset")
    )
  end

  desc "Install new build on connected device"
  lane :deploy_on_local_device do |options|
    sh "npm install -g ios-deploy"
    ipa_path = File.expand_path(Actions.lane_context[SharedValues::IPA_OUTPUT_PATH])
    install_on_device(
      ipa: ipa_path
    )
  end

  desc "Inject .DSYM into existing .ipa"
  private_lane :inject_dsym do
    ipa_path = File.expand_path(Actions.lane_context[SharedValues::IPA_OUTPUT_PATH])
    raise "Missing ipa path" unless ipa_path

    app_name = File.basename(ipa_path, ".ipa")
    folder_path = File.dirname(ipa_path)

    Dir.mktmpdir do |dir|
      app_binary = File.join(dir, "Payload", "#{app_name}.app", app_name)
      symbols = File.join(dir, "Symbols")

      Actions.sh "unzip \"#{ipa_path}\" -d \"#{dir}\""
      Actions.sh "mkdir \"#{symbols}\""
      Actions.sh "xcrun symbols -noTextInSOD -noDaemon -arch all -symbolsPackageDir \"#{symbols}\" \"#{app_binary}\""

      all_folders = Dir.glob(File.join(dir, "*")).map { |f| "\"#{File.basename(f)}\"" }.join(" ")

      Actions.sh "cd \"#{dir}\" && zip -r \"#{ipa_path}\" #{all_folders}"
    end
  end

  error do |lane, exception|
    # if is_ci?
    #   slack(
    #     message: exception.message,
    #     channel: "new_builds",
    #     success: false
    #   )
    # end

  end
end

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

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

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

#team_id "4TM2DK894Y"  # Developer Portal Team ID

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

fastlane gems

Gem
Version
Update-Status

fastlane
2.14.2
✅ Up-To-Date

Loaded fastlane plugins:

Plugin
Version
Update-Status

fastlane-plugin-appicon
0.4.1
✅ Up-To-Date

fastlane-plugin-act
1.0.1
✅ Up-To-Date

Loaded gems

Gem
Version

did_you_mean
1.0.0

bundler
1.13.6

io-console
0.4.5

CFPropertyList
2.3.5

i18n
0.8.0

json
1.8.6

minitest
5.10.1

thread_safe
0.3.5

tzinfo
1.2.2

activesupport
<IP_ADDRESS>

public_suffix
2.0.5

addressable
2.5.0

babosa
1.0.2

fastimage
2.0.1

colored
1.2

highline
1.7.8

commander
4.4.3

dotenv
2.2.0

excon
0.54.0

multipart-post
2.0.0

faraday
0.11.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20161129

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday_middleware
<IP_ADDRESS>

gh_inspector
1.0.3

jwt
1.5.6

little-plugger
1.1.4

multi_json
1.12.1

logging
2.1.0

memoist
0.15.0

os
0.9.6

signet
0.7.3

googleauth
0.5.1

httpclient
2.8.3

hurley
0.2

mime-types-data
3.2016.0521

mime-types
3.1

uber
0.0.15

representable
2.3.0

retriable
2.1.0

google-api-client
0.9.26

mini_magick
4.5.1

multi_xml
0.6.0

plist
3.2.0

rubyzip
1.2.0

security
0.1.3

slack-notifier
1.5.1

terminal-notifier
1.7.1

unicode-display_width
1.1.3

terminal-table
1.7.3

word_wrap
1.0.0

claide
1.0.1

nanaimo
0.2.3

xcodeproj
1.4.2

rouge
1.11.1

xcpretty
0.2.4

xcpretty-travis-formatter
0.0.4

badge
0.7.1

fastlane-plugin-act
1.0.1

fastlane-plugin-appicon
0.4.1

generated on: 2017-02-06

Me too.

@orkenstein See my updated comment above.
It seems we both assumed we should provide a path like <path>/Fabric.framework/, but it's supposed to be the path to the upload-symbols binary inside the Fabric app itself.

@iosdevben in docs it's like:
crashlytics(
  crashlytics_path: "./Pods/Crashlytics/", # path to your Crashlytics submit binary.
  api_token: "...",
  build_secret: "...",
  ipa_path: "./app.ipa"
)

https://docs.fastlane.tools/actions/#crashlytics

Sorry for the confusion, here! I'd love to review a PR to improve the docs, if folks are up for it 👍

@mfurtak is it really designed to use Fabric.app?

It seems we both assumed we should provide a path like /Fabric.framework/, but it's supposed to be the path to the upload-symbols binary inside the Fabric app itself.

I believe @iosdevben has it right with the above

It's not gonna work very well with CI systems, like jenkins and lot's nodes.

Hey @orkenstein and @iosdevben I think there might be some confusion here around what is the intended action. With Crashlytics, there are a couple of binaries that help with getting Fabric the information you need (i.e. dSYM's and, if using the Beta service, a .ipa file for distribution).
To clarify, it appears as though @orkenstein, you are wanting to upload your dSYMs to Crashlytics for crash reporting. Is this right? If so, I think that the action that you should be using is upload_symbols_to_crashlytics.
Let us know if that is helpful at all or if you have any more questions! 🚀 🐙

@ohayon thanks, will try

@orkenstein Let us know how that goes! 🚀

@ohayon @iosdevben  looks like the error has gone.
As a conclusion:

use framework to upload binary
use Fabric app to upload dSYM
Right?

@orkenstein I'm not sure I understand the clarification there?

@ohayon something like this:
    crashlytics(
      crashlytics_path: File.join(ENV['PROJECT_PATH'], "/Plugins/Crashlytics/")
    )
    upload_symbols_to_crashlytics(
      binary_path: '/Applications/Fabric.app/Contents/MacOS/upload-symbols',
    )

@orkenstein yup! I believe youre right there. It could definitely be more clear, but that is how it should be working. 🚀

@ohayon but it's not very good for CI scaling, since you have to install Fabric App on every node.

@orkenstein could you try pointing your binary_path to the uploadDSYM binary in the Crashlytics.framework?


Repeat command don't work

I called command "repeat" to repeat my songs but nothing happened.
This is my picture.
https://imgur.com/a/tEZBh
Thanks.

Come on, how we're supposed to help you ?

they never put a repeat command in so it's basically classed as a "modified bot". You can't be helped with modified bots so don't post this here. thanks

duplicate of #486


Simple custom error message

Request a feature
Is it possible to add a simple error message to a field?
🤷 Motivation
It would be great to simply setup a default error message.
💡 Solution
export const project = type({
	name: "string: errorMsg:'Name must be a string 👽'" // or anything that can solve this issue.
})

Good question! I'm working on the docs for v2 now but error messages are very customizable!
Here are a few options for this situation:
import { type } from "arktype"

export const project = type({
	name: ["string", "@", "a string 👽"]
})

const out = project({ name: 5 })

if (out instanceof type.errors) {
	// 'name must be a string 👽 (was number)'
	console.log(out.summary)
} else {
	console.log(`Hi, ${out.name}!`)
}

const name = type("string").describe("a string 👽")

// this is equivalent to above
const project2 = type({ name })

Note that what you pass to describe is essentially the ___ in must be ___. This allows error messages to compose better for unions, intersections etc.
There are ways to customize the full structure of the message but I will get into those more in the upcoming docs!


Setting up _rtd folder for additional MIBI/ARK information

What is the purpose of this PR?
Addresses and closes #213. Currently, our ReadTheDocs page only supports a basic landing page and documentation. We want to have some more information to guide our users through how the actual pipeline works, how to set up their virtual environment, etc. We also want to make our ReadTheDocs site more sophisticated.
How did you implement your changes
We create a separate _rtd folder which will contain .md files we can link to in index.rst (specifically the toctree) which each explain a certain aspect of our work. We will also be updating our index.rst file to integrate these new files into the table of contents (aka the toctree).
Remaining issues
I have a set of template .md pages attached, but we may need to add/delete some of them. Please note that this PR only addresses the structure for our documentation moving forward. We will have another PR (or PRs) which will handle adding the meat to these .md files.

Accidentally merged off context_spatial, redoing.


Rely on xarray-contrib code of conduct

Description of proposed changes
Removes CODE_OF_CONDUCT.md, since GitHub will pick up https://github.com/xarray-contrib/.github/blob/main/CODE_OF_CONDUCT.md.

Fixes #

Codecov Report

Merging #90 (38e9218) into main (31f0d88) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #90   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            5         5
  Lines          182       182
  Branches        37        37
=========================================
  Hits           182       182

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


fix: wording fixes

What

Related to https://github.com/openfoodfacts/openfoodfacts-server/pull/7937/files
Clarified the 2 packaging section names so that it looks coherent
Some wordings might be too long

Codecov Report

Merging #3512 (691b085) into develop (cf9c4a6) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop    #3512   +/-   ##
========================================
  Coverage    11.10%   11.10%
========================================
  Files          262      262
  Lines        12918    12918
========================================
  Hits          1435     1435
  Misses       11483    11483

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Enable cmap option in matplotlib HexTiles

Now, the following is possible, whereas before it wasn't:
import holoviews as hv
hv.extension('matplotlib')
import numpy as np
hv.HexTiles(np.random.randn(10000,2)).opts(cmap='Greens', colorbar=True)

If there is any testing being done on cmap and the like, I'd be happy to implement a test if you'd like.

Looks like the CI setup is currently broken. I'll try to look into that soon.


cmt: 1.17 -> 1.18

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/cmt/versions.
meta.description for cmt is: "Computer Music Toolkit"
meta.homepage for cmt is: "https://www.ladspa.org/cmt"
meta.changelog for cmt is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.18 in filename of file in /nix/store/wf8dj01s21jpi76v2vmdawzhgag7g3gn-cmt-1.18

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
0 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
cmt

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/wf8dj01s21jpi76v2vmdawzhgag7g3gn-cmt-1.18 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A cmt https://github.com/r-ryantm/nixpkgs/archive/8e01188bdfd8bac2c32d7ac6404b9623dea88744.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/wf8dj01s21jpi76v2vmdawzhgag7g3gn-cmt-1.18
ls -la /nix/store/wf8dj01s21jpi76v2vmdawzhgag7g3gn-cmt-1.18/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

cmt

Maintainer pings
cc @sjfloat for testing.

Result of nixpkgs-review pr 166372 run on x86_64-linux 1

1 package built:

cmt

@sjfloat Upstream website down :(


Link does not work

https://docs.rs/xsv/0.12.1 does not work, but https://docs.rs/crate/xsv/0.12.1 does. Other crates don't seem to have that problem, for example https://docs.rs/fst/0.2.3 works.

Thanks for reporting.
When I first started developing docs.rs rust was only able to build documentation for only libraries but looks like this has changed. Docs.rs is currently skipping non-lib crates, this needs to be fixed.

@vks your first link is now working. Building documentation for binaries is #238 .


Temp change Refactor tests to resolve race conditions; inProgress assertions to be removed.

or follow up with it.

removes assertion on inProgressQueue.
Resolves race condition:
i. by asserting that readAheadQueue doesn't have any buffer from the streams in test.
ii. by asserting that completedList doesn't have any other buffer(checks buffer in streams in test) except from the buffers in inProgressList before stream was closed.

Testing
:::: AGGREGATED TEST RESULT ::::
HNS-OAuth
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR]   TestAccountConfiguration.testConfigPropNotFound:386->testMissingConfigKey:399 Expected a org.apache.hadoop.fs.azurebfs.contracts.exceptions.TokenAccessProviderException to be thrown, but got the result: : "org.apache.hadoop.fs.azurebfs.oauth2.ClientCredsTokenProvider"
[ERROR]   TestAbfsClientThrottlingAnalyzer.testManySuccessAndErrorsAndWaiting:181->fuzzyValidate:64 The actual value 10 is not within the expected range: [5.60, 8.40].
[ERROR] Errors:
[ERROR]   TestExponentialRetryPolicy.testOperationOnAccountIdle:216 » AccessDenied Opera...
[INFO]
[ERROR] Tests run: 111, Failures: 2, Errors: 1, Skipped: 1
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR]   ITestAzureBlobFileSystemLease.testAcquireRetry:329 » TestTimedOut test timed o...
[ERROR]   ITestAzureBlobFileSystemOauth.testBlobDataContributor:84 » AccessDenied Operat...
[ERROR]   ITestAzureBlobFileSystemOauth.testBlobDataReader:143 » AccessDenied Operation ...
[INFO]
[ERROR] Tests run: 567, Failures: 0, Errors: 3, Skipped: 99
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR]   ITestAbfsTerasort.test_120_terasort:262->executeStage:206 » IO The ownership o...
[INFO]
[ERROR] Tests run: 335, Failures: 0, Errors: 1, Skipped: 54
HNS-SharedKey
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR]   TestAccountConfiguration.testConfigPropNotFound:386->testMissingConfigKey:399 Expected a org.apache.hadoop.fs.azurebfs.contracts.exceptions.TokenAccessProviderException to be thrown, but got the result: : "org.apache.hadoop.fs.azurebfs.oauth2.ClientCredsTokenProvider"
[ERROR] Errors:
[ERROR]   TestExponentialRetryPolicy.testOperationOnAccountIdle:216 » AccessDenied Opera...
[INFO]
[ERROR] Tests run: 111, Failures: 1, Errors: 1, Skipped: 2
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR]   ITestAzureBlobFileSystemLease.testAcquireRetry:329 » TestTimedOut test timed o...
[INFO]
[ERROR] Tests run: 567, Failures: 0, Errors: 1, Skipped: 54
[INFO] Results:
[INFO]
[WARNING] Tests run: 335, Failures: 0, Errors: 0, Skipped: 41
NonHNS-SharedKey
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR]   TestAccountConfiguration.testConfigPropNotFound:386->testMissingConfigKey:399 Expected a org.apache.hadoop.fs.azurebfs.contracts.exceptions.TokenAccessProviderException to be thrown, but got the result: : "org.apache.hadoop.fs.azurebfs.oauth2.ClientCredsTokenProvider"
[ERROR] Errors:
[ERROR]   TestExponentialRetryPolicy.testOperationOnAccountIdle:216 » AccessDenied Opera...
[INFO]
[ERROR] Tests run: 111, Failures: 1, Errors: 1, Skipped: 2
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR]   ITestAzureBlobFileSystemLease.testAcquireRetry:344->lambda$testAcquireRetry$6:345 » TestTimedOut
[INFO]
[ERROR] Tests run: 567, Failures: 0, Errors: 1, Skipped: 277
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR]   ITestAbfsTerasort.test_110_teragen:244->executeStage:211->Assert.assertEquals:647->Assert.failNotEquals:835->Assert.fail:89 teragen(1000<EMAIL_ADDRESS>failed expected:<0> but was:<1>
[ERROR] Errors:
[ERROR]   ITestAbfsJobThroughManifestCommitter.test_0420_validateJob » OutputValidation ...
[ERROR]   ITestAbfsManifestCommitProtocol.testCommitLifecycle » OutputValidation abfs:/... [ERROR]   ITestAbfsManifestCommitProtocol.testCommitterWithDuplicatedCommit » OutputValidation [ERROR]   ITestAbfsManifestCommitProtocol.testConcurrentCommitTaskWithSubDir » OutputValidation [ERROR]   ITestAbfsManifestCommitProtocol.testMapFileOutputCommitter » OutputValidation ... [ERROR]   ITestAbfsManifestCommitProtocol.testOutputFormatIntegration » OutputValidation [ERROR]   ITestAbfsManifestCommitProtocol.testParallelJobsToAdjacentPaths » OutputValidation [ERROR]   ITestAbfsManifestCommitProtocol.testTwoTaskAttemptsCommit » OutputValidation ...
[INFO]
[ERROR] Tests run: 335, Failures: 1, Errors: 8, Skipped: 46
AppendBlob-HNS-OAuth
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR]   TestAccountConfiguration.testConfigPropNotFound:386->testMissingConfigKey:399 Expected a org.apache.hadoop.fs.azurebfs.contracts.exceptions.TokenAccessProviderException to be thrown, but got the result: : "org.apache.hadoop.fs.azurebfs.oauth2.ClientCredsTokenProvider"
[ERROR] Errors:
[ERROR]   TestExponentialRetryPolicy.testOperationOnAccountIdle:216 » AccessDenied Opera...
[INFO]
[ERROR] Tests run: 111, Failures: 1, Errors: 1, Skipped: 1
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR]   ITestAzureBlobFileSystemLease.testAcquireRetry:329 » TestTimedOut test timed o...
[ERROR]   ITestAzureBlobFileSystemOauth.testBlobDataContributor:84 » AccessDenied Operat...
[ERROR]   ITestAzureBlobFileSystemOauth.testBlobDataReader:143 » AccessDenied Operation ...
[INFO]
[ERROR] Tests run: 567, Failures: 0, Errors: 3, Skipped: 99
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR]   ITestAbfsTerasort.test_120_terasort:262->executeStage:206 » IO The ownership o...
[INFO]
[ERROR] Tests run: 335, Failures: 0, Errors: 1, Skipped: 54
Time taken: 41 mins 2 secs.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
12m  0s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  1s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
39m 25s

trunk passed

+1 :green_heart:
compile
0m 43s

trunk passed with JDK Ubuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04

+1 :green_heart:
compile
0m 35s

trunk passed with JDK Private Build-1.8.0_352-8u352-ga-1~20.04-b08

+1 :green_heart:
checkstyle
0m 32s

trunk passed

+1 :green_heart:
mvnsite
0m 44s

trunk passed

-1 :x:
javadoc
0m 42s
/branch-javadoc-hadoop-tools_hadoop-azure-jdkUbuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04.txt
hadoop-azure in trunk failed with JDK Ubuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04.

+1 :green_heart:
javadoc
0m 32s

trunk passed with JDK Private Build-1.8.0_352-8u352-ga-1~20.04-b08

+1 :green_heart:
spotbugs
1m 22s

trunk passed

+1 :green_heart:
shadedclient
20m 57s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 31s

the patch passed

+1 :green_heart:
compile
0m 33s

the patch passed with JDK Ubuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04

+1 :green_heart:
javac
0m 33s

the patch passed

+1 :green_heart:
compile
0m 28s

the patch passed with JDK Private Build-1.8.0_352-8u352-ga-1~20.04-b08

+1 :green_heart:
javac
0m 28s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
0m 18s
/results-checkstyle-hadoop-tools_hadoop-azure.txt
hadoop-tools/hadoop-azure: The patch generated 3 new + 0 unchanged - 0 fixed = 3 total (was 0)

+1 :green_heart:
mvnsite
0m 32s

the patch passed

-1 :x:
javadoc
0m 23s
/patch-javadoc-hadoop-tools_hadoop-azure-jdkUbuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04.txt
hadoop-azure in the patch failed with JDK Ubuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04.

+1 :green_heart:
javadoc
0m 24s

the patch passed with JDK Private Build-1.8.0_352-8u352-ga-1~20.04-b08

+1 :green_heart:
spotbugs
1m  5s

the patch passed

+1 :green_heart:
shadedclient
19m 50s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
2m  8s

hadoop-azure in the patch passed.

+1 :green_heart:
asflicense
0m 36s

The patch does not generate ASF License warnings.

105m  5s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5199/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5199

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 37a031c9f04a 4.15.0-200-generic #211-Ubuntu SMP Thu Nov 24 18:16:04 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / d9a5f3a5579bf0156f841b479dc70dd725de2e1e

Default Java
Private Build-1.8.0_352-8u352-ga-1~20.04-b08

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_352-8u352-ga-1~20.04-b08

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5199/1/testReport/

Max. process+thread count
562 (vs. ulimit of 5500)

modules
C: hadoop-tools/hadoop-azure U: hadoop-tools/hadoop-azure

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5199/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
17m 35s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
41m  6s

trunk passed

+1 :green_heart:
compile
0m 39s

trunk passed with JDK Ubuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04

+1 :green_heart:
compile
0m 33s

trunk passed with JDK Private Build-1.8.0_352-8u352-ga-1~20.04-b08

+1 :green_heart:
checkstyle
0m 30s

trunk passed

+1 :green_heart:
mvnsite
0m 39s

trunk passed

-1 :x:
javadoc
0m 36s
/branch-javadoc-hadoop-tools_hadoop-azure-jdkUbuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04.txt
hadoop-azure in trunk failed with JDK Ubuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04.

+1 :green_heart:
javadoc
0m 28s

trunk passed with JDK Private Build-1.8.0_352-8u352-ga-1~20.04-b08

+1 :green_heart:
spotbugs
1m 13s

trunk passed

+1 :green_heart:
shadedclient
22m 58s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 30s

the patch passed

+1 :green_heart:
compile
0m 32s

the patch passed with JDK Ubuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04

+1 :green_heart:
javac
0m 32s

the patch passed

+1 :green_heart:
compile
0m 28s

the patch passed with JDK Private Build-1.8.0_352-8u352-ga-1~20.04-b08

+1 :green_heart:
javac
0m 28s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 17s

the patch passed

+1 :green_heart:
mvnsite
0m 31s

the patch passed

-1 :x:
javadoc
0m 23s
/patch-javadoc-hadoop-tools_hadoop-azure-jdkUbuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04.txt
hadoop-azure in the patch failed with JDK Ubuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04.

+1 :green_heart:
javadoc
0m 21s

the patch passed with JDK Private Build-1.8.0_352-8u352-ga-1~20.04-b08

+1 :green_heart:
spotbugs
1m  4s

the patch passed

+1 :green_heart:
shadedclient
23m 28s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
2m  1s

hadoop-azure in the patch passed.

+1 :green_heart:
asflicense
0m 33s

The patch does not generate ASF License warnings.

117m 19s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5199/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5199

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 57f8cd591196 4.15.0-200-generic #211-Ubuntu SMP Thu Nov 24 18:16:04 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 18e63f680424657bc75ad14d845c44886a80f6fb

Default Java
Private Build-1.8.0_352-8u352-ga-1~20.04-b08

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_352-8u352-ga-1~20.04-b08

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5199/2/testReport/

Max. process+thread count
531 (vs. ulimit of 5500)

modules
C: hadoop-tools/hadoop-azure U: hadoop-tools/hadoop-azure

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5199/2/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 42s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
39m 34s

trunk passed

+1 :green_heart:
compile
0m 43s

trunk passed with JDK Ubuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04

+1 :green_heart:
compile
0m 38s

trunk passed with JDK Private Build-1.8.0_352-8u352-ga-1~20.04-b08

+1 :green_heart:
checkstyle
0m 36s

trunk passed

+1 :green_heart:
mvnsite
0m 40s

trunk passed

-1 :x:
javadoc
0m 39s
/branch-javadoc-hadoop-tools_hadoop-azure-jdkUbuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04.txt
hadoop-azure in trunk failed with JDK Ubuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04.

+1 :green_heart:
javadoc
0m 30s

trunk passed with JDK Private Build-1.8.0_352-8u352-ga-1~20.04-b08

+1 :green_heart:
spotbugs
1m 17s

trunk passed

+1 :green_heart:
shadedclient
20m 28s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 32s

the patch passed

+1 :green_heart:
compile
0m 34s

the patch passed with JDK Ubuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04

+1 :green_heart:
javac
0m 34s

the patch passed

+1 :green_heart:
compile
0m 30s

the patch passed with JDK Private Build-1.8.0_352-8u352-ga-1~20.04-b08

+1 :green_heart:
javac
0m 30s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 17s

the patch passed

+1 :green_heart:
mvnsite
0m 33s

the patch passed

-1 :x:
javadoc
0m 23s
/patch-javadoc-hadoop-tools_hadoop-azure-jdkUbuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04.txt
hadoop-azure in the patch failed with JDK Ubuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04.

+1 :green_heart:
javadoc
0m 23s

the patch passed with JDK Private Build-1.8.0_352-8u352-ga-1~20.04-b08

+1 :green_heart:
spotbugs
1m  8s

the patch passed

+1 :green_heart:
shadedclient
20m 25s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
2m  2s

hadoop-azure in the patch passed.

+1 :green_heart:
asflicense
0m 38s

The patch does not generate ASF License warnings.

94m  8s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5199/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5199

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 4e69871be1cb 4.15.0-200-generic #211-Ubuntu SMP Thu Nov 24 18:16:04 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / b4c374c80502599618d496aef2cae427149138cb

Default Java
Private Build-1.8.0_352-8u352-ga-1~20.04-b08

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_352-8u352-ga-1~20.04-b08

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5199/3/testReport/

Max. process+thread count
660 (vs. ulimit of 5500)

modules
C: hadoop-tools/hadoop-azure U: hadoop-tools/hadoop-azure

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5199/3/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

ok, i see you closed this. no problem; we are trying to do a fix-by-cut back change to the buffer reader and with your review of my pr then i think we are good to go once yetus is happy


View data in pages

For huge files (GBs) can we add the functionality to view data in "pages"?
So when we launch gtabview, only first 1000 or so lines are read and on pressing Ctrl + N
the next 1000 lines are read.
This is a quick fix to allow dealing with huge files without chugging up all memory.

On Sat, Oct 21 2017, Shadab Zafar wrote:

For huge files (GBs) can we add the functionality to view data in "pages"?
So when we launch gtabview, only first 1000 or so lines are read and on pressing Ctrl + N
the next 1000 lines are read.

It works already like that for compatible data sources.
Any blaze URI will load data on-demand.

So, how do I load data from a local CSV file? Example?
And how does the on demand feature handle dynamic loading? Keypress or
something else?
On 22-Oct-2017 1:55 AM, "wavexx"<EMAIL_ADDRESS>wrote:

On Sat, Oct 21 2017, Shadab Zafar wrote:

For huge files (GBs) can we add the functionality to view data in
"pages"?
So when we launch gtabview, only first 1000 or so lines are read and on
pressing Ctrl + N
the next 1000 lines are read.

It works already like that for compatible data sources.
Any blaze URI will load data on-demand.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/TabViewer/gtabview/issues/28#issuecomment-338429983,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABYeKJEr40F5Xy5tOweByoilr0TRgIaTks5sulNSgaJpZM4QBrHW
.

On Sat, Oct 21 2017, Shadab Zafar wrote:

So, how do I load data from a local CSV file? Example?

Normally 'csv://file' will trigger the blaze CSV loader (any URI will
pass through blaze).
Although I just tried now with Blaze from the master branch, it seems
that the blaze API has changed, breaking the current code. I'll have a
look at that.

And how does the on demand feature handle dynamic loading? Keypress or
something else?

Blaze has an internal chunking mechanism which depends on the data
source. For CSV it should be chunks of 100mb.
gtabview will otherwise loads instantly. Internally it lazy-loads chunks
of 16k in an LRU cache. This is triggered according to the current view
position automatically.
However, CSV is not a good format for quick viewing. Last time I
checked, the Blaze CSV backend was slow (slower than the plain CSV
parser for files <100mb).

So now that Blaze seems dead, this issue becomes relevant again.
I'm probably going to throw in a segmented CSV loader, however I'd love to find a true successor to "blaze" that provides this features for us instead.


Don't output spaces on empty lines

So I think this is separate to :respect-bl and other styles and options.
Given for example code:
(defn example-function [world]
  (foobar)

  (doseq [i (range 5)]
    (println)))

The output will contain two spaces on the empty line.
I think there probably is no reason to ever write trailing spaces. Or at least they shouldn't be added if they weren't present in the input?

Good catch!  I'm thinking that I probably should never write trailing spaces, regardless of whether they were there in the input or not.  I'll work on this, thanks for noticing this and letting me know!

This is fixed in 1.0.0.  I have several tests for this now.  If you find any problems, please let me know!


[BUG] Error While Trying to Start the Training

I get the following error while trying to train the Llama3 model. Appreciate any thoughts. Thanks.
Prerequisites

[X] I have read the documentation.
[X] I have checked other issues for similar problems.

Backend
Hugging Face Space/Endpoints
Interface Used
UI
CLI Command
No response
UI Screenshots & Parameters

Error Logs
Device 0: NVIDIA A10G - 307.6MiB/22.49GiB

INFO | 2024-04-23 11:12:23 | autotrain.app:handle_form:454 - hardware: Local
INFO | 2024-04-23 11:11:16 | autotrain.app:fetch_params:212 - Task: llm:sft
INFO | 2024-04-23 11:10:40 | autotrain.app::154 - AutoTrain started successfully
WARNING | 2024-04-23 11:10:39 | autotrain.trainers.common:init:170 - Parameters not supplied by user and set to default: model, warmup_ratio, optimizer, scheduler, push_to_hub, tags_column, weight_decay, save_strategy, token, repo_id, batch_size, max_grad_norm, data_path, max_seq_length, seed, save_total_limit, username, gradient_accumulation, logging_steps, lr, train_split, tokens_column, valid_split, evaluation_strategy, epochs, auto_find_batch_size, project_name
WARNING | 2024-04-23 11:10:39 | autotrain.trainers.common:init:170 - Parameters not supplied by user and set to default: adam_beta2, warmup_steps, scheduler, class_image_path, adam_epsilon, checkpoints_total_limit, revision, text_encoder_use_attention_mask, image_path, seed, prior_preservation, xl, adam_beta1, prior_loss_weight, validation_images, prior_generation_precision, tokenizer_max_length, model, logging, push_to_hub, rank, center_crop, allow_tf32, local_rank, num_validation_images, token, validation_prompt, repo_id, scale_lr, checkpointing_steps, sample_batch_size, class_labels_conditioning, class_prompt, max_grad_norm, adam_weight_decay, num_class_images, username, tokenizer, resume_from_checkpoint, lr_power, num_cycles, pre_compute_text_embeddings, validation_epochs, epochs, dataloader_num_workers, project_name
WARNING | 2024-04-23 11:10:39 | autotrain.trainers.common:init:170 - Parameters not supplied by user and set to default: model, push_to_hub, task, numerical_columns, num_trials, token, repo_id, id_column, data_path, time_limit, seed, username, train_split, valid_split, categorical_columns, target_columns, project_name
WARNING | 2024-04-23 11:10:39 | autotrain.trainers.common:init:170 - Parameters not supplied by user and set to default: scheduler, lora_alpha, lora_dropout, max_target_length, target_column, text_column, data_path, seed, save_total_limit, peft, gradient_accumulation, model, warmup_ratio, optimizer, push_to_hub, weight_decay, lora_r, token, repo_id, batch_size, max_grad_norm, quantization, max_seq_length, username, logging_steps, lr, train_split, valid_split, evaluation_strategy, epochs, auto_find_batch_size, project_name
WARNING | 2024-04-23 11:10:39 | autotrain.trainers.common:init:170 - Parameters not supplied by user and set to default: model, warmup_ratio, optimizer, scheduler, push_to_hub, image_column, weight_decay, save_strategy, token, target_column, repo_id, batch_size, max_grad_norm, data_path, seed, save_total_limit, username, gradient_accumulation, logging_steps, lr, train_split, valid_split, evaluation_strategy, epochs, auto_find_batch_size, project_name
WARNING | 2024-04-23 11:10:39 | autotrain.trainers.common:init:170 - Parameters not supplied by user and set to default: model, warmup_ratio, optimizer, scheduler, push_to_hub, weight_decay, save_strategy, token, target_column, repo_id, text_column, batch_size, max_grad_norm, data_path, max_seq_length, seed, save_total_limit, username, gradient_accumulation, logging_steps, lr, train_split, valid_split, evaluation_strategy, epochs, auto_find_batch_size, project_name
WARNING | 2024-04-23 11:10:39 | autotrain.trainers.common:init:170 - Parameters not supplied by user and set to default: trainer, scheduler, use_flash_attention_2, lora_alpha, lora_dropout, merge_adapter, model_ref, text_column, data_path, dpo_beta, add_eos_token, seed, save_total_limit, prompt_text_column, gradient_accumulation, model, warmup_ratio, optimizer, push_to_hub, model_max_length, weight_decay, lora_r, token, repo_id, disable_gradient_checkpointing, rejected_text_column, batch_size, max_grad_norm, username, logging_steps, evaluation_strategy, train_split, valid_split, lr, max_prompt_length, auto_find_batch_size, project_name
INFO | 2024-04-23 11:10:39 | autotrain.app::31 - Starting AutoTrain...
Your installed package nvidia-ml-py is corrupted. Skip patch functions nvmlDeviceGetMemoryInfo. You may get incorrect or incomplete results. Please consider reinstall package nvidia-ml-py via pip3 install --force-reinstall nvidia-ml-py nvitop.
Your installed package nvidia-ml-py is corrupted. Skip patch functions nvmlDeviceGet{Compute,Graphics,MPSCompute}RunningProcesses. You may get incorrect or incomplete results. Please consider reinstall package nvidia-ml-py via pip3 install --force-reinstall nvidia-ml-py nvitop.
Additional Information
No response

whats the error?

closing issue since there is no error.


Docker link uses localhost domain

Clicking the Docker link gives a localhost url. e.g. for the dashboard environment localhost:5000/nebari-git/dashboard:8779853fe3b0502c53abbdb7b7b7d1dfc1c09847777073ee2d67fefbd6c6f855-20230130-182156-597614-35-dashboard.
It'd be nice if localhost was at least able to be configured to something else.  Note I'm running conda-store as part of Nebari.

Thanks for the issue @Adam-D-Lewis . I'm thinking this has to do with not setting the domain properly. There should be enough information in being able to get the external domain. This should be a relatively easy fix.

I believe Docker is no longer supported so I'll close this issue.


Enable GC on metadata server which synchronizes storage with it

Garbage collection is the preferred alternative to #5 for its simplicity as per offline discussion. Transactions have the overhead of managing recovery and a WAL for which the performance gains were not enough to justify implementation.
Two new RPCs were added: one that gets all the keys in the storage server and one that forces the garbage collector to run otherwise it runs periodically (every 24 hours).

go test ./... fails in root directory, you need to implement new interface methods on test objects.

Did some cleanup, should be good to go now.


broken texture Zombie Villager (Miner)

1.19.2 Forge version.

All zombie villager (Train Mechanick)

Duplicate of #5 , same issue. Doesn't look like its going to be fixed.

Should be fixed in newest version :)


bug: cargo error: no such command: loco

Description
When following the tutorial, running cargo loco run I'm getting the following error:
$ cargo loco run
error: no such command: `loco`

        Did you mean `doc`?

        View all installed commands with `cargo --list`
(base)

Additional information:
Project was generated with loco new
cwd =  generated folder

Should work now. please try again

Solved, thanks!


Development of SDoFDoubleTrolleyDifferentWheels dynamic systems

New system is to implement in module trolleys.py. It should be inherited from similar class being implemented within scope of the module if possible.

Dynamic system SDoFDoubleTrolleyDifferentWheels is same as DoubleTrolleyDifferentWheels. Class SDoFDoubleTrolleyDifferentWheels has been removed. #206


Hide missing symbol warning for certain (system) frameworks

Describe the solution you'd like
In the Diagnostics section, the "Symbols are missing for multiple versions." warning always show up for me. After clicking into the details, it shows a list of system frameworks (e.g. AppKit, Foundation, CoreFoundation) that are missing symbols. These are non-issues and I don't think there is a way to get symbols for these frameworks. For this reason, I think they should be hidden and not generate an alert.
Describe alternatives you've considered
It might be hard to define what is considered "system framework" and to get a list for all the platforms. A more flexible solution would be to allow the users to define a list of frameworks for which they don't want to be alerted for missing symbols.
Additional context
See screenshow below:

Hi there, sorry for the long delay in follow up - in general we do filter out system binaries from requiring symbols or rather try to provide these symbols ourselves in App Center.
If this is not happening for your app, it would be best if you can file a support request through the App Center portal for that. This way we can look into the details for your app and see why it isn't working in your case.