calculate fee does not work

const contractAddress = 'TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t'
const { abi } = await tronWeb.trx.getContract(contractAddress)
const contract = await tronWeb.contract(abi.entrys, contractAddress)
const balance = await contract.methods.balanceOf('TEngJ8cwfWbGMcHRNEDqwzY9QGzY3HGd91').call()
const fee = await contract.methods.calcFee(10).call()
console.log(fee.toString())

this returns 0 but the actual fee of USDT is not 0, how can i use calcFee method ? they are no documents and no auto completions and issue or reference about this, please help

i cant even see the function to see how it works,
this console.log(contract.methods.calcFee.toString()) shows :
function () { [native code] }

see our documentation

@start940315 i got no results about calcFee function on the documentation, i want to calculate send USDT fee.
but when i want to send a transaction i can see its fee
I have done this :
import TronWeb from 'tronweb'
const tronWeb = new TronWeb({
    fullHost: 'https://api.trongrid.io',
    privateKey: '981...........',
    headers: { 'TRON-PRO-API-KEY': process.env.TRON_PRO_API_KEY }
})
const functionSelector = 'transfer(address,uint256)';
const parameter = [{type:'address',value:'TEngJ8cwfWbGMcHRNEDqwzY9QGzY3HGd91'},{type:'uint256',value:100}]
const tx = await tronWeb.transactionBuilder.triggerSmartContract('TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t', functionSelector, {}, parameter);
const signedTx = await tronWeb.trx.sign(tx.transaction);
console.log(signedTx)

it shows an object which it has a raw_data property and raw_data has a fee_limit with value of 150000000, what does this value means ? whats my transaction fee now?

fee_limit means the transaction must be finished under the fee_limit. You can know the fee consumed on tronscan.

Hi @start940315, thanks for your answer, i have checked https://tronscan.org/#/token20/TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t but i cant see USDT fee, i tried to find it but i couldnt.

can you tell me where it is ?

You can know the transaction fee under the transaction details page. Like https://tronscan.org/#/transaction/e14fe579a173bad0f754134dfa606afbd4f658679fe82659e5df9106b2830303. Change the hash to yours.

USDT transaction is a normal smart contract triggering. So you can use estimateEnergy function in transaction Builder


failed version of Ahash

I runned a cargo update in my project as i usually do and i get this error:
error: failed to select a version for the requirement ahash = "^0.7.0"
candidate versions found which didn't match: 0.8.5, 0.8.4, 0.4.1, ...
location searched: crates.io index
required by package hashbrown v0.12.3
... which satisfies dependency hashbrown = "^0.12.3" of package chumsky v0.9.0
... which satisfies dependency chumsky = "^0.9" of package lettre v0.11.0
... which satisfies dependency lettre = "^0.11.0" of package intelli v0.1.5 (C:\Users\Gerar\OneDrive\Documents\GitHub\intelli)
perhaps a crate was updated and forgotten to be re-vendored?
The package that uses chumsky in my project is lettre and i checked if the last release version had updated ahash but i seams like is not the case

I opened a pull request fixing this error:
https://github.com/zesterer/chumsky/pull/556


Gedis with ZDB backend

Child of threefoldtech/home#135
To make sure everything still works as expected, set up a GEDIS server with ZDB backend.
ZDBs should be set up with one master and two slaves for later work
Deliverable: documentation about set up

➤ Bola E.Nasr commented:
PR: https://github.com/threefoldtech/digitalmeX/pull/26

➤ Islam Taha commented:
https://github.com/threefoldtech/0-db/issues/59
https://github.com/threefoldtech/0-db/issues/60
here are two bugs related to zdb master-slave setup


Make navbar work on mobile

this pull request makes the dropdown menu in the navbar properly collapse, and work on mobile

:+1:

This looks fine. Unless anyone else has any other comments we can merge this.


[DO NOT MERGE] Namespacing Common Fatal Scenarios/Extending fatalError

Responding to Namespacing for common Swift error scenarios with preliminary implementation.
@swift-ci please smoke benchmark

Oops I did this change on my master. Fixing things and closing. Will re-pull.


Clicking on Test tab after running request crashes bruno

I have checked the following:

[X] I use the newest version of bruno.
[X] I've searched existing issues and found nothing related to my issue.

Describe the bug
Attempting to create tests based on result of axios requests made in test script. The base request completes, and the test script runs, and the tests tab shows a red number (33) indicating that tests failed, but clicking on the tab crashes bruno. The dev console shows the following error 33 times (once for each test failure, presumably):
_app-9839c548e42fbab0.js:14 Object
framework-80ea8c0f440c6a32.js:9 Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7Bmessage%2C%20name%2C%20stack%2C%20config%2C%20code%2C%20status%7D for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at th (framework-80ea8c0f440c6a32.js:9:54340)
    at J (framework-80ea8c0f440c6a32.js:9:59348)
    at Yi (framework-80ea8c0f440c6a32.js:9:71191)
    at x (framework-80ea8c0f440c6a32.js:9:121267)
    at Vk (framework-80ea8c0f440c6a32.js:9:99131)
    at framework-80ea8c0f440c6a32.js:9:98998
    at Jk (framework-80ea8c0f440c6a32.js:9:99005)
    at Ok (framework-80ea8c0f440c6a32.js:9:95761)
    at Fk (framework-80ea8c0f440c6a32.js:9:96150)
    at jg (framework-80ea8c0f440c6a32.js:9:44900)
Mi @ framework-80ea8c0f440c6a32.js:9

which, following the link, gives this expanded error message:
Objects are not valid as a React child (found: object with keys {message, name, stack, config, code, status}). If you meant to render a collection of children, use an array instead.

the only option at this point is to click "Force Quit" and reopen bruno.
This is the test script I'm using:
await Promise.all(res.body.map(t => {
  console.log("Deleting " + t.id);
  return axios.delete(`${bru.getEnvVar("url")/${t.id}`)
    .then(res2 => {
      console.log("Success deleting id " + t.id);
      test(t.id, () => expect(res2.status).to.satisfy(v => {
        return v === "DELETED" || v === "DELETING";
      }));
    })
    .catch(res2 => {
      console.log("Failure: " + res2);
      test(t.id, () => expect.fail(res2));
    })
    .finally(() => {
      console.log("Done deleting " + t.id);
    });
}));
console.log("Done");

Interestingly, if all the tests pass, the crash does not occur, and the tests tab and tests show up as expected. This appears to have something to do with using async/await, as I have not encountered this crash when there were failures normally (as in not using async/await)
.bru file to reproduce the bug
No response
Screenshots/Live demo link
request and tests ran, 6 failures here:

click on Tests tab, crash:

console view (6 occurrences of the error):

run again with no failures, tab can be accessed:

Hi @jhorton-netapp,
I couldn’t reproduce the issue with my tests. Could you try it on the latest version and let me know if it’s still happening for you?

Yes, this issue still occurs on 1.35.0

@jhorton-netapp  Could you share the collection after removing all sensitive information? It would be great if you could also include the res and res2 values or schemas.


Added Feature: Base64 encoding&decoding

Added:

base64 encoding and decoding
updated README with encoding examples
wrote tests for encoding and decoding
sanity
v0.3.5


The pictures are so big in README

You can use it like this:
<img src="picture url" width="320"/>

I have fixed it. Thanks for pointing it out.


Linux include useless shared libs?

Hello,
Today I just compiled my simple python script on OpenSuse Leap 15 and Centos 7, and I just saw the size difference between two projects, and I see 10 shared libs they are present on Centos but not on OpenSuse. So I have just tried to remove them to check if the binary work and yes, it is.
The shared libs I can remove are these:
libcom_err.so.2
libcrypto.so.10
libgssapi_krb5.so.2
libk5crypto.so.3
libkeyutils.so.1
libkrb5.so.3
libkrb5support.so.0
libpcre.so.1
libselinux.so.1
libssl.so.10

For example, libselinux.so.1 is only relative to RHEL I think...
Here is the complete file list on Centos:
-rw-r--r--. 1 root root   31240 10 fév 21:16 binascii.so
-rw-r--r--. 1 root root   51152 10 fév 21:16 _blake2.so
-rw-r--r--. 1 root root  153288 10 fév 21:16 _codecs_cn.so
-rw-r--r--. 1 root root  161712 10 fév 21:16 _codecs_hk.so
-rw-r--r--. 1 root root   26456 10 fév 21:16 _codecs_iso2022.so
-rw-r--r--. 1 root root  268032 10 fév 21:16 _codecs_jp.so
-rw-r--r--. 1 root root  141000 10 fév 21:16 _codecs_kr.so
-rw-r--r--. 1 root root  116424 10 fév 21:16 _codecs_tw.so
-rw-r--r--. 1 root root  119536 10 fév 21:16 _datetime.so
-rw-r--r--. 1 root root   17984 10 fév 21:16 libcom_err.so.2
-rw-r--r--. 1 root root 2644840 10 fév 21:16 libcrypto.so.10
-rw-r--r--. 1 root root  334752 10 fév 21:16 libgssapi_krb5.so.2
-rw-r--r--. 1 root root  217360 10 fév 21:16 libk5crypto.so.3
-rw-r--r--. 1 root root   18424 10 fév 21:16 libkeyutils.so.1
-rw-r--r--. 1 root root  996088 10 fév 21:16 libkrb5.so.3
-rw-r--r--. 1 root root   74272 10 fév 21:16 libkrb5support.so.0
-rw-r--r--. 1 root root  407296 10 fév 21:16 libpcre.so.1
-rw-r--r--. 1 root root 3192728 10 fév 21:16 libpython3.6m.so.1.0
-rw-r--r--. 1 root root  168592 10 fév 21:16 libselinux.so.1
-rw-r--r--. 1 root root  496440 10 fév 21:16 libssl.so.10
-rw-r--r--. 1 root root   55104 10 fév 21:16 math.so
-rw-r--r--. 1 root root   49168 10 fév 21:16 _multibytecodec.so
-rw-r--r--. 1 root root  142960 10 fév 21:16 _pickle.so
-rw-r--r--. 1 root root   27128 10 fév 21:16 _random.so
-rw-r--r--. 1 root root  105128 10 fév 21:16 _sha3.so
-rw-r--r--. 1 root root   53448 10 fév 21:16 _struct.so
-rwxr-xr-x. 1 root root 3302560 10 fév 21:16 test
-rw-r--r--. 1 root root  902736 10 fév 21:16 unicodedata.so
-rw-r--r--. 1 root root   40112 10 fév 21:16 zlib.so

Both installations are fresh installations only to play with Nuitka.
OS informations:
OS Centos 7 (fresh install only for nuitka)
kernel 3.10.0-1160.el7.x86_64
ldd (GNU libc) 2.17
gcc (GCC) 8.3.1 20190311 (Red Hat 8.3.1-3)
installed packages (yum): gcc, python3-devel, centos-release-scl, devtoolset-8-gcc, cache, patchelf

Nuitka informations:
2.0.2
    Commercial: None
    Python: 3.6.8 (default, Nov 14 2023, 16:29:52)
    Flavor: Fedora Python
    Executable: /root/test/pylibs/bin/python3
    OS: Linux
    Arch: x86_64
    Distribution: Centos (based on Fedora) 7
    Version C compiler: /usr/lib64/ccache/gcc (gcc 8).

python version:
3.6.8 (devel, native without additionnals modules installed)
compile file:
python3 -m venv pylibs
 source pylibs/bin/activate
 python3 -m pip install --upgrade pip
 python3 -m pip install zstandard
 python3 -m pip install nuitka
 scl enable devtoolset-8 -- python3 -m nuitka --standalone --follow-imports --output-filename=test ./test.py

test.py file:
    print("hello world")
Can you tell me if I can remove these useless libs to move the binary on other system or if I need to keep it? And if I can remove them, is there a way to remove them from compilation (unless it's a future feature/bug/other).
Thank's :)

Fedora Python (CentOS/RHEL Python) is among the worst offenders of using system dependencies that make it less portable. Compiling Python yourself will be much better also for portability. I have only really looked at Debian Python to be more minimal, but things are relatively not good there too.
As building on latest Linux is not recommended for many reasons, not the least being that the Python library is not going to like older systems a lot. You are spot on with using CentOS 7. In Nuitka commercial I have a tool to build inside an old container with optimized Python so it works on old systems too: https://nuitka.net/doc/commercial.html which does this automatically. Currently as a benefit, this also works for 3.11 as well.
This is still not described in the commercial docs, but I will add it in the coming months, also Nuitka will gain a CentOS 8 container to use with similar traits, in which you compile transparently too, but I might have to wait for 3.12 support to be solved before actually going there. Then a tier of acceptable portability will be available for everyone, and obviously, hello world will then not use too many system libraries.

Mhh okay, I was using Centos 7 because he has libc 2.17 version so which is a good thing compared to portability. But If you recommend Debian I'll try on Debian, like Debian 9.
Thank's

I don't actually recommend Debian at all, I just said, it's the only thing I looked at for minimizing DLL intake on. I recommend self built Python in the proper way. However, that way is not really documented at this time publicly. You just need to do it on older OS for libc portability indeed. I found CentOS 7 to be a good platform for that, and expect CentOS 8 to also be one. But old Debian will of course do too. It's just important to use a virtualenv in there and no system packages.


[bug] import-sort-ignore doesn't work

[v.6.0.0]
In my Angular project I put // import-sort-ignore or /* import-sort-ignore */ in the beginning of polyfills.ts file (as order of imports there is important), but the file is still processed on running:
./node_modules/.bin/import-sort --write ./src/**/*.ts
p.s. Thanks for the great configurable sorter anyway!

I also encountered the same problem

same here

same, do you find a solution?

same here

+1

This is a good work-around for ignoring paths.
import-sort --write '**/*.{js,jsx,ts,tsx}' --write '!**/.cache/**' --write '!**/public/**'

If you run import-sort with a bogus path in the error log you can see that node_modules is excluded/ignored this way.


Getting min and max coordinates of the thumb while scrolling

Hi Luke,
I just  wanted to know is there any possibility of getting minimum and maximum progress values of the thumb (or Range )while moving on  the bar ?
I have a situation where I need to send the coordinates of the thumb's minimum and maximum values to api

Hi EvaniRam,
thank you for your interest.
I imagine that if you know your thumb's height, you can say that for each progress value:
val max = progressValue + (thumbHeight / 2)
and
val min = progressValue - (thumbHeight / 2)
then you can listen to:
mainVerticalSeekBar.setOnProgressChangeListener { progressValue ->
    // do your stuff
}


Nesting blocks

What is the suggested procedure to nest blocks?

I would create a custom block type that is a subclass of Block. For the blocks nested inside that I would create a NestedBlock object which is a subclass of DataObject. I think no need for "nested blocks" to be subclasses of Block, the just have a data relationship to the parent Block

thank you! this should be in the official docs as a faq!

Ah no no s

Then you'd want to consider abstracting your code so that it could be re-used for those two purposes. ie. you have a Gallery DataObject that can be added to a Block and/or SiteTree object

To add the Gallery DataObject to a SiteTree object, will it suffice to declare it into my yaml file? Wouldn't I have to reimplement all the Block interfaces? Seems like no one has done that before. I'm doing a website with Elemental and found it super cool to have a block like an Image to be added both to a Column and a Page and know how to react based on that. But there is no blocksets feature and the nesting is not clean and would like to add a working example of that to Blocks as a skeleton for others to use, sort of like when you inspect the ContentBlock source to make your own.

You would do something like:
class Page extends SiteTree {
    private static $has_one = array(
        'Gallery' => 'Gallery'
    );
}

class GalleryBlock extends Block {
    private static $has_one = array(
        'Gallery' => 'Gallery'
    );
}

class Gallery extends DataObject {
    private static $has_many = array(
        'Blocks' => 'Block',
        'Pages' => 'SiteTree'
    );
}

See relationship docs for more info

I built a system with nested blocks. I wouldn't advise it based on the the current blocks module. The problem is less with blocks module and more with how SS handles certain relationships. It starts getting very complicated if you need to maintain controller functions, versioning, as well as searchability and tracking ancenstry back up to the root page.
It's easier if convert the Page to Block relation to a has_many and has_one. You loose reusabilty, but for most implimentions it's not so big an issue.
The changes coming (in SS4.0) to versionioned DataObjects as well as many_many realtionships should ease a lot of the pains.

Thank you for the comments, so have you explored how https://github.com/elemental/Elemental or https://github.com/Zauberfisch/silverstripe-page-builder do it? Do you think their implementation is also too weak to support nested blocks in a stable way?

As I said, the problem is less with the actual module more with the way Silverstripe Handles versioned many_many relations. Elemental uses a one to many relation so it may be better option (its basically what I converted blocks to be . It really depends on the key features you need. I haven’t tried Zauberfischs module.

On Nov 22, 2016, at 4:57 PM, digitall-it<EMAIL_ADDRESS>wrote:
Thank you for the comments, so have you explored how https://github.com/elemental/Elemental https://github.com/elemental/Elemental or https://github.com/Zauberfisch/silverstripe-page-builder https://github.com/Zauberfisch/silverstripe-page-builder do it? Do you think their implementation is also too weak to support nested blocks in a stable way?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/sheadawson/silverstripe-blocks/issues/107#issuecomment-262377841, or mute the thread https://github.com/notifications/unsubscribe-auth/ABm24XyeyRQ0HhNj1bjouAmzpHBJqpe3ks5rA2UsgaJpZM4KpFPp.

ZF's module is built on nesting from the ground up, he even mocked up a really interesting admin UI, not tried it.
I am using Elemental and does the job, has UserForms support (not tried it), has Translatable support (tried it), solved basic fulltext searching by copying everything in the Content field and hiding that up (I think the blocks tree traversal should be investigated a bit as I fear some deeper content doesn't get copied).


Has this project been abandoned? App wont work!!

I have spent a considerable amount of time trying to make this work, exploring different Smart Mirror platforms. I have experience with MagicMirror, so I am not a novice. I attempted a fresh install of this app on a Raspberry Pi 4 and installed the latest version of Node.js. The installation of Senses proceeded without issue, and I received the message "All done. Senses - Smart Mirror successfully installed," as described in the documentation.
However, when I started Senses with the command "npm run start" and tried the CLI command, the app would not start. Attempting to reach the URL ip-address:7011 resulted in a "host not reachable" message from the browser, although I can ping the host from a different computer. I noticed that a few others have posted the same issue without receiving any response. Is this software abandoned?

Hi @monukoshy,
I will do some investigation and see why the application is not started.. Although I think its related to your node version. Senses will not run above node 14 at the moment but I will try to update the packages and see if it can run in later version of node.


🐛 [firebase_auth: ^4.15.3] Android ERROR_REQUIRES_RECENT_LOGIN always thrown regardless of recent sign in (TotpMultiFactorGenerator)

Bug report
Describe the bug
When generating a TotpMultiFactor secret, Firebase on Android throws an ERROR_REQUIRES_RECENT_LOGIN regardless of how recent the last sign in was. Web and iOS are NOT impacted by this bug and both behave correctly.
final user = FirebaseAuth.instance.currentUser!;
final session = await user.multiFactor.getSession();

// Platform exception ERROR_REQUIRES_RECENT_LOGIN thrown regardless of recent login.
TotpSecret secret = await TotpMultiFactorGenerator.generateSecret(session);

Utilizing the alternative reauthenticateWithCredential produces the same unwanted behavior:
final user = _firebaseAuth.currentUser!;
final credential = await user.reauthenticateWithCredential(EmailAuthProvider.credential(
        email<EMAIL_ADDRESS>password: 'password123'));
final session = await credential.user!.multiFactor.getSession();

// Platform exception ERROR_REQUIRES_RECENT_LOGIN thrown regardless of recent login.
TotpSecret secret = await TotpMultiFactorGenerator.generateSecret(session);

Steps to reproduce
Steps to reproduce the behavior:

On Android, use the sample code above.
Sign into an account on your Firebase Auth instance.
Wait a short period of time (maybe ~5m?). ERROR_REQUIRES_RECENT_LOGIN is not thrown initially when TotpMultiFactorGenerator.generateSecret on FIRST sign-in. Subsequent sign-ins without closing the Android app produce this bug.
Notice ERROR_REQUIRES_RECENT_LOGIN is thrown. Reauthenticate either with FirebaseAuth.instance.signInWithEmailAndPassword or user.reauthenticateWithCredential.
Retry TotpMultiFactorGenerator.generateSecret. Notice ERROR_REQUIRES_RECENT_LOGIN is still thrown.

Expected behavior
After the user freshly authenticates, ERROR_REQUIRES_RECENT_LOGIN should not be thrown on TotpMultiFactorGenerator.generateSecret for a short period of time. This enables sensitive operations to complete.
Sample project
Unavailable

Additional context
This issue only impacts Android. Both iOS and Web are not impacted and are functioning as expected.

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.16.0, on Microsoft Windows [Version 10.0.22621.2861], locale en-US)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Build Tools 2019 16.11.29)
[√] Android Studio (version 2022.3)
[√] VS Code (version 1.85.1)
[√] Connected device (4 available)
[√] Network resources

• No issues found!

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 3.2.0
Flutter SDK 3.16.0
hylist 1.0.12

dependencies:
- built_value 8.8.1 [built_collection collection fixnum meta]
- cloud_firestore 4.13.6 [cloud_firestore_platform_interface cloud_firestore_web collection firebase_core firebase_core_platform_interface flutter meta]
- collection 1.18.0
- cupertino_icons 1.0.6
- dio 5.4.0 [async http_parser meta path]
- dio_smart_retry 5.0.0 [dio http_parser path]
- dotted_border 2.1.0 [flutter path_drawing]
- firebase_analytics 10.7.4 [firebase_analytics_platform_interface firebase_analytics_web firebase_core firebase_core_platform_interface flutter]
- firebase_app_check 0.2.1+8 [firebase_app_check_platform_interface firebase_app_check_web firebase_core firebase_core_platform_interface flutter]
- firebase_auth 4.15.3 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 2.24.2 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_crashlytics 3.4.8 [firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface flutter stack_trace]
- firebase_performance 0.9.3+8 [firebase_core firebase_core_platform_interface firebase_performance_platform_interface firebase_performance_web flutter]
- flutter 0.0.0 [characters collection material_color_utilities meta vector_math web sky_engine]
- flutter_background 1.2.0 [flutter plugin_platform_interface]
- flutter_form_builder 9.1.1 [flutter intl]
- flutter_hooks 0.20.3 [flutter]
- flutter_localizations 0.0.0 [flutter intl characters clock collection material_color_utilities meta path vector_math web]
- flutter_web_plugins 0.0.0 [flutter characters collection material_color_utilities meta vector_math web]
- form_builder_validators 9.1.0 [flutter flutter_localizations intl]
- freezed_annotation 2.4.1 [collection json_annotation meta]
- go_router 12.1.3 [collection flutter flutter_web_plugins logging meta]
- google_fonts 6.1.0 [flutter http path_provider crypto]
- hooks_riverpod 2.4.9 [collection flutter flutter_hooks flutter_riverpod riverpod state_notifier]
- hylist_api 1.0.0 [dio one_of one_of_serializer built_value built_collection]
- intl 0.18.1 [clock meta path]
- json_annotation 4.8.1 [meta]
- livekit_client 1.5.3 [flutter_web_plugins flutter async collection connectivity_plus cryptography fixnum meta http logging uuid synchronized protobuf flutter_webrtc device_info_plus js platform_detect dart_webrtc sdp_transform]
- permission_handler 11.1.0 [flutter meta permission_handler_android permission_handler_apple permission_handler_html permission_handler_windows permission_handler_platform_interface]
- platform_detect 2.0.11 [meta pub_semver]
- qr_flutter 4.1.0 [flutter qr]
- reorderable_grid_view 2.2.8 [flutter]
- riverpod_annotation 2.3.3 [meta riverpod]
- rxdart 0.27.7
- shared_preferences 2.2.2 [flutter shared_preferences_android shared_preferences_foundation shared_preferences_linux shared_preferences_platform_interface shared_preferences_web shared_preferences_windows]
- theme_tailor_annotation 2.0.2 [collection json_annotation meta]

dev dependencies:
- build_runner 2.4.7 [analyzer args async build build_config build_daemon build_resolvers build_runner_core code_builder collection crypto dart_style frontend_server_client glob graphs http_multi_server io js logging meta mime package_config path pool pub_semver pubspec_parse shelf shelf_web_socket stack_trace stream_transform timing watcher web_socket_channel yaml]
- custom_lint 0.5.7 [analyzer analyzer_plugin args async ci cli_util collection freezed_annotation json_annotation meta package_config path pub_semver pubspec_parse rxdart uuid yaml]
- flutter_launcher_icons 0.13.1 [args checked_yaml cli_util image json_annotation path yaml]
- flutter_lints 2.0.3 [lints]
- flutter_test 0.0.0 [flutter test_api matcher path fake_async clock stack_trace vector_math async boolean_selector characters collection material_color_utilities meta source_span stream_channel string_scanner term_glyph web]
- freezed 2.4.6 [analyzer build build_config collection meta source_gen freezed_annotation json_annotation]
- json_serializable 6.7.1 [analyzer async build build_config collection json_annotation meta path pub_semver pubspec_parse source_gen source_helper]
- riverpod_generator 2.3.9 [analyzer build build_config collection crypto meta path riverpod_analyzer_utils riverpod_annotation source_gen]
- riverpod_lint 2.3.7 [analyzer analyzer_plugin collection custom_lint_builder meta path riverpod riverpod_analyzer_utils source_span yaml]
- theme_tailor 2.0.2 [analyzer build_config build collection json_annotation meta source_gen_test source_gen source_helper theme_tailor_annotation]

transitive dependencies:
- _fe_analyzer_shared 64.0.0 [meta]
- _flutterfire_internals 1.3.16 [collection firebase_core firebase_core_platform_interface flutter meta]
- analyzer 6.2.0 [_fe_analyzer_shared collection convert crypto glob meta package_config path pub_semver source_span watcher yaml]
- analyzer_plugin 0.11.3 [analyzer collection dart_style pub_semver yaml]
- archive 3.4.9 [crypto path pointycastle]
- args 2.4.2
- async 2.11.0 [collection meta]
- boolean_selector 2.1.1 [source_span string_scanner]
- build 2.4.1 [analyzer async convert crypto glob logging meta package_config path]
- build_config 1.1.1 [checked_yaml json_annotation path pubspec_parse yaml]
- build_daemon 4.0.1 [built_collection built_value crypto http_multi_server logging path pool shelf shelf_web_socket stream_transform watcher web_socket_channel]
- build_resolvers 2.4.2 [analyzer async build collection convert crypto graphs logging package_config path pool pub_semver stream_transform yaml]
- build_runner_core 7.2.11 [async build build_config build_resolvers collection convert crypto glob graphs json_annotation logging meta package_config path pool timing watcher yaml]
- build_test 2.2.2 [async build build_config build_resolvers crypto glob html logging matcher package_config path stream_transform test test_core watcher]
- built_collection 5.1.1
- characters 1.3.0
- checked_yaml 2.0.3 [json_annotation source_span yaml]
- ci 0.1.0
- cli_util 0.4.1 [meta path]
- clock 1.1.1
- cloud_firestore_platform_interface 6.0.10 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- cloud_firestore_web 3.8.10 [_flutterfire_internals cloud_firestore_platform_interface collection firebase_core firebase_core_web flutter flutter_web_plugins js]
- code_builder 4.9.0 [built_collection built_value collection matcher meta]
- connectivity_plus 5.0.2 [flutter flutter_web_plugins connectivity_plus_platform_interface js meta nm]
- connectivity_plus_platform_interface 1.2.4 [flutter meta plugin_platform_interface]
- convert 3.1.1 [typed_data]
- coverage 1.7.2 [args logging package_config path source_maps stack_trace vm_service]
- crypto 3.0.3 [typed_data]
- cryptography 2.7.0 [collection crypto ffi js meta typed_data]
- csslib 1.0.0 [source_span]
- custom_lint_builder 0.5.7 [analyzer analyzer_plugin collection custom_lint custom_lint_core glob hotreloader meta path pubspec_parse rxdart]
- custom_lint_core 0.5.7 [analyzer analyzer_plugin collection custom_lint matcher meta path pubspec_parse source_span yaml]
- dart_style 2.3.4 [analyzer args collection path pub_semver source_span]
- dart_webrtc 1.1.3 [collection js platform_detect webrtc_interface]
- dbus 0.7.10 [args ffi meta xml]
- device_info_plus 9.1.1 [device_info_plus_platform_interface ffi file flutter flutter_web_plugins meta win32 win32_registry]
- device_info_plus_platform_interface 7.0.0 [flutter meta plugin_platform_interface]
- fake_async 1.3.1 [clock collection]
- ffi 2.1.0
- file 7.0.0 [meta path]
- firebase_analytics_platform_interface 3.8.4 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_analytics_web 0.5.5+11 [_flutterfire_internals firebase_analytics_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- firebase_app_check_platform_interface 0.1.0+10 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_app_check_web 0.1.0+10 [_flutterfire_internals firebase_app_check_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- firebase_auth_platform_interface 7.0.9 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 5.8.12 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser js meta]
- firebase_core_platform_interface 5.0.0 [collection flutter flutter_test meta plugin_platform_interface]
- firebase_core_web 2.10.0 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_crashlytics_platform_interface 3.6.16 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_performance_platform_interface 0.1.4+16 [_flutterfire_internals firebase_core flutter plugin_platform_interface]
- firebase_performance_web 0.1.4+16 [_flutterfire_internals firebase_core firebase_core_web firebase_performance_platform_interface flutter flutter_web_plugins js]
- fixnum 1.1.0
- flutter_riverpod 2.4.9 [collection flutter meta riverpod state_notifier]
- flutter_webrtc 0.9.47 [collection dart_webrtc flutter path_provider webrtc_interface]
- frontend_server_client 3.2.0 [async path]
- glob 2.1.2 [async collection file path string_scanner]
- graphs 2.3.1 [collection]
- hotreloader 4.1.0 [collection logging path stream_transform vm_service watcher]
- html 0.15.4 [csslib source_span]
- http 1.1.2 [async http_parser meta web]
- http_multi_server 3.2.1 [async]
- http_parser 4.0.2 [collection source_span string_scanner typed_data]
- image 4.1.3 [archive meta xml]
- io 1.0.4 [meta path string_scanner]
- js 0.6.7 [meta]
- lints 2.1.1
- logging 1.2.0
- matcher 0.12.16 [async meta stack_trace term_glyph test_api]
- material_color_utilities 0.5.0 [collection]
- meta 1.10.0
- mime 1.0.4
- nm 0.5.0 [dbus]
- node_preamble 2.0.2
- one_of 1.5.0 [collection quiver]
- one_of_serializer 1.5.0 [one_of built_value]
- package_config 2.1.0 [path]
- path 1.8.3
- path_drawing 1.0.1 [vector_math meta path_parsing flutter]
- path_parsing 1.0.1 [vector_math meta]
- path_provider 2.1.1 [flutter path_provider_android path_provider_foundation path_provider_linux path_provider_platform_interface path_provider_windows]
- path_provider_android 2.2.2 [flutter path_provider_platform_interface]
- path_provider_foundation 2.3.1 [flutter path_provider_platform_interface]
- path_provider_linux 2.2.1 [ffi flutter path path_provider_platform_interface xdg_directories]
- path_provider_platform_interface 2.1.1 [flutter platform plugin_platform_interface]
- path_provider_windows 2.2.1 [ffi flutter path path_provider_platform_interface win32]
- permission_handler_android 12.0.1 [flutter permission_handler_platform_interface]
- permission_handler_apple 9.2.0 [flutter permission_handler_platform_interface]
- permission_handler_html 0.1.0+2 [flutter flutter_web_plugins permission_handler_platform_interface]
- permission_handler_platform_interface 4.0.2 [flutter meta plugin_platform_interface]
- permission_handler_windows 0.2.0 [flutter permission_handler_platform_interface]
- petitparser 6.0.2 [meta]
- platform 3.1.3
- plugin_platform_interface 2.1.7 [meta]
- pointycastle 3.7.3 [collection convert js]
- pool 1.5.1 [async stack_trace]
- protobuf 3.1.0 [collection fixnum meta]
- pub_semver 2.1.4 [collection meta]
- pubspec_parse 1.2.3 [checked_yaml collection json_annotation pub_semver yaml]
- qr 3.0.1 [meta]
- quiver 3.2.1 [matcher]
- riverpod 2.4.9 [meta stack_trace state_notifier]
- riverpod_analyzer_utils 0.5.0 [analyzer collection crypto custom_lint_core freezed_annotation meta path source_span]
- sdp_transform 0.3.2
- shared_preferences_android 2.2.1 [flutter shared_preferences_platform_interface]
- shared_preferences_foundation 2.3.4 [flutter shared_preferences_platform_interface]
- shared_preferences_linux 2.3.2 [file flutter path path_provider_linux path_provider_platform_interface shared_preferences_platform_interface]
- shared_preferences_platform_interface 2.3.1 [flutter plugin_platform_interface]
- shared_preferences_web 2.2.2 [flutter flutter_web_plugins shared_preferences_platform_interface web]
- shared_preferences_windows 2.3.2 [file flutter path path_provider_platform_interface path_provider_windows shared_preferences_platform_interface]
- shelf 1.4.1 [async collection http_parser path stack_trace stream_channel]
- shelf_packages_handler 3.0.2 [path shelf shelf_static]
- shelf_static 1.1.2 [convert http_parser mime path shelf]
- shelf_web_socket 1.0.4 [shelf stream_channel web_socket_channel]
- sky_engine 0.0.99
- source_gen 1.5.0 [analyzer async build dart_style glob path source_span yaml]
- source_gen_test 1.0.6 [analyzer build build_test dart_style meta path source_gen test]
- source_helper 1.3.4 [analyzer collection source_gen]
- source_map_stack_trace 2.1.1 [path source_maps stack_trace]
- source_maps 0.10.12 [source_span]
- source_span 1.10.0 [collection path term_glyph]
- sprintf 7.0.0
- stack_trace 1.11.1 [path]
- state_notifier 1.0.0 [meta]
- stream_channel 2.1.2 [async]
- stream_transform 2.1.0
- string_scanner 1.2.0 [source_span]
- synchronized 3.1.0+1
- term_glyph 1.2.1
- test 1.24.9 [analyzer async boolean_selector collection coverage http_multi_server io js matcher node_preamble package_config path pool shelf shelf_packages_handler shelf_static shelf_web_socket source_span stack_trace stream_channel test_api test_core typed_data web_socket_channel webkit_inspection_protocol yaml]
- test_api 0.6.1 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph]
- test_core 0.5.9 [analyzer args async boolean_selector collection coverage frontend_server_client glob io meta package_config path pool source_map_stack_trace source_maps source_span stack_trace stream_channel test_api vm_service yaml]
- timing 1.0.1 [json_annotation]
- typed_data 1.3.2 [collection]
- uuid 4.2.2 [crypto sprintf meta]
- vector_math 2.1.4
- vm_service 13.0.0
- watcher 1.1.0 [async path]
- web 0.3.0
- web_socket_channel 2.4.0 [async crypto stream_channel]
- webkit_inspection_protocol 1.2.1 [logging]
- webrtc_interface 1.1.2
- win32 5.1.1 [ffi]
- win32_registry 1.1.2 [ffi win32]
- xdg_directories 1.0.3 [meta path]
- xml 6.5.0 [collection meta petitparser]
- yaml 3.1.2 [collection source_span string_scanner]

Thanks for the report @kNoAPP

On Android, use the sample code above.
Sign into an account on your Firebase Auth instance.
Wait a short period of time (maybe ~5m?). ERROR_REQUIRES_RECENT_LOGIN is not thrown initially when TotpMultiFactorGenerator.generateSecret on FIRST sign-in. Subsequent sign-ins without closing the Android app produce this bug.
Notice ERROR_REQUIRES_RECENT_LOGIN is thrown. Reauthenticate either with FirebaseAuth.instance.signInWithEmailAndPassword or user.reauthenticateWithCredential

I tried following these steps using the plugin example but was unable to see the reported error.
Have you already enrolled the user with TOTP ? or without enrolling it, you get the reported error ?
Can you also try the plugin example and check if using it, you get same error or not ?

I will certainly give this a go and report back. Give me a few hours.

@darshankawar
Line 275-278 in the example app are throwing an uncaught ERROR_REQUIRES_RECENT_LOGIN exception when waiting 5-10m on the profile page screen before clicking "Enroll TOTP." The example app does not handle this scenario and you have to restart the app to clear the error-- which is consistent with what I'm reporting in this ticket.
https://github.com/firebase/flutterfire/blob/master/packages/firebase_auth/firebase_auth/example/lib/profile.dart#L275-L278

Thanks for the update @kNoAPP
I tried again using the plugin example and kept it on profile screen for ~ 10 mins, tried signing out and re-signing, but was unable to replicate the error.
Based on the report and error received though, keeping it open for team's tracking.
/cc @Lyokone

@darshankawar In the video, I am not signing out. I don't click on a sign out button. I am clicking "Enroll TOTP" which should display a QR code after clicking. However, it signs me out instead.
Signing back in and and trying to hit the button produces the same result. However, this shouldn't happen. A QR Code should be displayed. The reason why this happens in the demo app is because ERROR_REQUIRES_RECENT_LOGIN is thrown regardless of a recent sign in (on Android only).
Thanks for keeping this open!

@kNoAPP Are you using by any chance a VPN or something that could alter the IP or the identity of the device while trying this?

@Lyokone Unfortunately not. I am on a regular home Fiber network. No firewall or anything either. You can verify this by checking the video above for the Android system VPN icon in the notifications bar (it looks like a key), which is not present.
Here is the same device, but with a VPN turned on. Notice that key icon appears. The same icon is not present in the prior video.
https://github.com/firebase/flutterfire/assets/23529044/564896a2-af91-4b02-838a-a0c3bcf94345

@Lyokone Any update or progress on this bug?


Settings UI: create some mark near settings which has been override

When you scroll "default user settings" page it is hard to tell if some partucular setting is already override by "user settings" page.
It would be nice to see some mark which tell us that this settings has been override. Ideally when user points to this mark there should be some pop up window with value of setting from "user settings" page.
It might look something like this. Here red dot means that this setting has been override (don't insist on red dot, this is just an example).

In this case pen icon may have same color on this king of settings.

We address this issue in the new settings editor. Pls see #50249.


feat: create base class for export commands

SUMMARY

All the export commands have basically the same methods for __init__, run and validate. I simplified their logic by creating a base ExportModelsCommand class implementing the common logic.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

N/A
TEST PLAN

Added a new unit test, and verified that all unit tests pass.
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

Codecov Report

Merging #11463 into cleanup_export will decrease coverage by 0.94%.
The diff coverage is 98.27%.

@@                Coverage Diff                 @@
##           cleanup_export   #11463      +/-   ##
==================================================
- Coverage           61.91%   60.97%   -0.95%
==================================================
  Files                 864      419     -445
  Lines               41047    26010   -15037
  Branches             3693        0    -3693
==================================================
- Hits                25415    15860    -9555
+ Misses              15453    10150    -5303
+ Partials              179        0     -179

Flag
Coverage Δ

#javascript
?

#python
60.97% <98.27%> (-0.39%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

superset/importexport/commands/base.py
96.87% <96.87%> (ø)

superset/charts/commands/export.py
94.11% <100.00%> (-1.24%)
:arrow_down:

superset/dashboards/commands/export.py
93.75% <100.00%> (-1.38%)
:arrow_down:

superset/databases/commands/export.py
94.11% <100.00%> (-1.24%)
:arrow_down:

superset/datasets/commands/export.py
93.93% <100.00%> (-1.72%)
:arrow_down:

superset/databases/commands/create.py
31.91% <0.00%> (-59.58%)
:arrow_down:

superset/views/database/mixins.py
59.64% <0.00%> (-21.06%)
:arrow_down:

superset/db_engine_specs/mysql.py
79.59% <0.00%> (-12.25%)
:arrow_down:

superset/databases/commands/update.py
85.71% <0.00%> (-8.17%)
:arrow_down:

superset/databases/api.py
83.49% <0.00%> (-7.08%)
:arrow_down:

... and 464 more

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 0e3c996...124fd59. Read the comment docs.


terminal unuseable after ctrl-c

It appears ag does things to the terminal (probably for output coloring?) but fails to cleanup after itself when being interrupted unnaturally (i.e. ctrl-C) leaving the terminal in a unuseable state.
I am seeing this on OSX ( in Terminal.app with ag from macports, v0.24.1 but this has been consistent forna long time.
$ uname -a
Darwin mecbucpro.local 13.3.0 Darwin Kernel Version 13.3.0: Tue Jun  3 21:27:35 PDT 2014; root:xnu-2422.110.17~1/RELEASE_X86_64 x86_64
$ ag --version
ag version 0.24.1
$ echo $TERM
xterm-256color
I tried looking among the issues but could not find similar ones

I have a hard time reproducing this with Ctrl-C, but I found a 100% reliable way to demonstrate the same effect:
$ ag "("
ERR: Bad regex! pcre_compile() failed at position 1: missing )
If you meant to search for a literal string, run ag with -Q
$

The regex is deliberately broken, and once returned, the terminal is in a state where inputs are read but not echoed. (So for example if I type ls and press enter, ls will run and show output.)
$ ag --version
ag version 1.0.2

Features:
  +jit +lzma +zlib
$ uname -a
Darwin [my hostname here] 13.4.0 Darwin Kernel Version 13.4.0: Mon Jan 11 18:17:34 PST 2016; root:xnu-2422.115.15~1/RELEASE_X86_64 x86_64
$ echo $TERM
xterm-256color


Fix/no incremental field history

Are you a current Fivetran customer?

Fivetran created PR that WILL NOT BE MERGED
What change(s) does this PR introduce?

This PR removes all reference of incremental logic within the zendesk__ticket_field_history model and all upstream dependencies.
Does this PR introduce a breaking change?

[X] Yes (please provide breaking change details below.)
[X] No  (please provide explanation how the change is non breaking below.)

This should not be merged and is a temporary fix and must be addressed in a future release.
Is this PR in response to a previously created Issue

[ ] Yes, Issue [link issue number here]
[X] No

How did you test the PR changes?

[X] CircleCi
[ ] Other (please provide additional testing details below)

Select which warehouse(s) were used to test the PR

[X] BigQuery
[X] Redshift
[X] Snowflake
[X] Postgres
[ ] Databricks
[ ] Other (provide details below)

Provide an emoji that best describes your current mood

🚧
Feedback
We are so excited you decided to contribute to the Fivetran community dbt package! We continue to work to improve the packages and would greatly appreciate your feedback on our existing dbt packages or what you'd like to see next.

This has been resolved in v0.7.0. Closing this PR


Late chores no points

updated chore tracker model for completed at date. Added save method to tracker, updated is_late method

It's Fine


Update to airlift 0.113

Fixes an issue with how kerberos principals are formatted

looks good

Awesome!


If no models are found throw error (Improvement)

Hi there!
Hope for some improvement for Objection.js.
I believe that feature will be helpful.
If it possible implement something like >>>
SomeModel.getAll = function () {
    return this.query({require: true});
};

require: true That trigger an error if no models are found.
Tnx! Hope for support =)

I would suggest creating a base model class for yourself that will do this.  Then extend your base model rather than objection's.  I hope to see the surface-area of objection's API to stay relatively minimal.

I agree with devinivy. Sorry.


Cannot find module '@angular-cli/base-href-webpack'

Hello,
I have a problem since installing the latest version (1.0.0-beta.11-webpack.8).
When i run any ng command in a Terminal, this error appears :
Cannot find module '@angular-cli/base-href-webpack'
Error: Cannot find module '@angular-cli/base-href-webpack'
at Function.Module._resolveFilename (module.js:455:15)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
....
And When i try : 'npm install @angular-cli/base-href-webpack', it tells that this module is not found.
Is this module missing or there's a trick to install it directly from the angular-cli source ?
I give more details below and complete stack trace in attached file.
Thanks.

OS?  Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Linux, XUbuntu 15.10

Versions. Please run ng --version. If there's nothing outputted, please run
in a Terminal: node --version and paste the result here:
ng --version failed but the source code is 1.0.0-beta.11-webpack.8
node --version --> v6.5.0
npm --version --> 3.10.3

Repro steps. Was this an app that wasn't created using the CLI? What change did you
do on your code? etc.
I only clone with git the angular-cli repo and installed it with npm.

The log given by the failure. Normally this include a stack trace and some
more information.

See complete stack trace in attached error.log.txt file.
--> error.log.txt

Mention any other details that might be useful.

i have same problem bro...

I think that base-href-webpack plugin is not properly published.
When angular-cli is installed and linked (with npm -link ), it works.
This behaviour matches source code below.
In lib/bootstrap-local.js there's a test that mocks the module loader when npm linked:
`// If we're running locally, meaning npm linked. This is basically "developer mode".
if (!__dirname.match(//node_modules//)) {
const packages = require('./packages');
// We mock the module loader so that we can fake our packages when running locally.
const Module = require('module');
const oldLoad = Module._load;
Module._load = function (request, parent) {
if (request in packages) {
return oldLoad.call(this, packages[request].main, parent);
} else {
return oldLoad.apply(this, arguments);
}
};
}
`
When module loader is mocked, it works (you can try to comment the if), but it should not be the right solution :)

Same Issue and if you try to compile the base-href-webpack from the package folder of the source this ts error shows up:

packages/base-href-webpack/src/base-href-webpack-plugin.spec.ts(22,27): error TS2345: Argument of type 'TemplateStringsArray' is not assignable to parameter of type 'string[]'.
Property 'push' is missing in type 'TemplateStringsArray'.
packages/base-href-webpack/src/base-href-webpack-plugin.spec.ts(41,56): error TS2345: Argument of type 'TemplateStringsArray' is not assignable to parameter of type 'string[]'.
packages/base-href-webpack/src/base-href-webpack-plugin.spec.ts(55,46): error TS2345: Argument of type 'TemplateStringsArray' is not assignable to parameter of type 'string[]'.
packages/base-href-webpack/src/base-href-webpack-plugin.spec.ts(59,54): error TS2345: Argument of type 'TemplateStringsArray' is not assignable to parameter of type 'string[]'.

I was able to get it working by compiling it by enclosing the arguments of the onelinetrim areas in ([]) for the base-href-webpack-plugin.spec.ts file
import {oneLineTrim} from 'common-tags';
import {BaseHrefWebpackPlugin} from './base-href-webpack-plugin';

function mockCompiler(indexHtml: string, callback: Function) {
  return {
    plugin: function (event: any, compilerCallback: Function) {
      const compilation = {
        plugin: function (hook: any, compilationCallback: Function) {
          const htmlPluginData = {
            html: indexHtml
          };
          compilationCallback(htmlPluginData, callback);
        }
      };
      compilerCallback(compilation);
    }
  };
}

describe('base href webpack plugin', () => {
  const html = oneLineTrim([`

  `]);

  it('should do nothing when baseHref is null', () => {
    const plugin = new BaseHrefWebpackPlugin({ baseHref: null });

    const compiler = mockCompiler(html, (x: any, htmlPluginData: any) => {
      expect(htmlPluginData.html).toEqual('');
    });
    plugin.apply(compiler);
  });

  it('should insert base tag when not exist', function () {
    const plugin = new BaseHrefWebpackPlugin({ baseHref: '/' });
    const compiler = mockCompiler(html, (x: any, htmlPluginData: any) => {
        expect(htmlPluginData.html).toEqual(oneLineTrim([`

            <base href="/">

        `]));
      });

    plugin.apply(compiler);
  });

  it('should replace href attribute when base tag already exists', function () {
    const plugin = new BaseHrefWebpackPlugin({ baseHref: '/myUrl/' });

    const compiler = mockCompiler(oneLineTrim([`
          <base href="/" target="_blank">

        `]), (x: any, htmlPluginData: any) => {
      expect(htmlPluginData.html).toEqual(oneLineTrim([`
          <base href="/myUrl/" target="_blank">

        `]));
    });
    plugin.apply(compiler);
  });
});

and then run tsc -P packages/base-href-webpack on the root directory of the angular-cli source.
Make a folder in node_modules/@angular-cli called base-href-webpack and paste the compiled code into the folder and the error disappears when you run ng commands

#2058
PLEASE FIX THIS. It has been 10 days since opening this issue, and there is no solution. If anybody has a workaround, PLEASE SHARE. @astar55 Is there any way without messing with Angular-CLI source myself, to overcome this error?..

@tx8821 it seems in the latest commit, you can run tsc on the base-href-webpack in the package folder without having to mess with the source. But you still need to move the compiled files to @angular-cli in node_modules

Ok, i will try this. Thanks.

still broken in 1.0.0-beta.11-webpack.9

Yeah it is broken in 1.0.0-beta.11-webpack.9 - First time I encountered this problem too. Strangeness...

As a workaround, I added  "@angular-cli/base-href-webpack": "^1.0.0" to my project's devDependencies section and it seems to work.  Does this work for anyone else?  I believe that one issue 2090 is fixed, I can remove it.

@billdwhite I just tried that and now I get Error: Cannot find module 'typescript' crazy days...

@jwuliger sorry, i forgot to mention I have typescript locked at 2.0.0 in my package.json.

@billdwhite I was able to get it working with a path the CLI team made to master with npm-link. Thanks for the info!

I am still getting this error with<EMAIL_ADDRESS>

I got the same error with<EMAIL_ADDRESS>So I fixed with npm install @angular-cli/base-href-webpack

Fixed in beta.14+

I'm using version beta.15, and still facing the same issue... :-(.
Done several npm uninstall -g angular-cli , followed by npm cache clean, and npm install -g angular-cli, but it has not helped...
Node Version: 6.6.0
Npm Version: 3.10.2

i just installed the latest version locally (via npm link on current master, sha:#a9f9976), and it is working fine...


cant get sign resign working from fastfile

From the command line the following command works fine
sigh resign ./build/AssistMobile.ipa --signing_identity "iPhone Distribution: Autologic Diagnostics Limited (6BXRV5C384)" -n "match AppStore com.autologic.assistmobile"
If I try and run the same command from a fastfile its not clear in the docs what the params should be and what makes sense to me seems to produce an error.
  desc "Deploy a new version to the App Store, run only after beta lane success"
  lane :appstore do
	match(app_identifier: "com.autologic.assistmobile", type: "appstore", readonly: true)
	sigh resign(ipa: "./build/AssistMobile.ipa",
 		signing_identity: "iPhone Distribution: Autologic Diagnostics Limited (6BXRV5C384)",
		provisioning_profile: "match AppStore com.autologic.assistmobile"
	)
  end

This gives
[!] Couldn't find provisiong profile at path 'match AppStore com.autologic.assistmobile'
Complete output when running fastlane, including the stack trace and command used
[20:25:21]: -------------------------------------------------
[20:25:21]: --- Step: Verifying required fastlane version ---
[20:25:21]: -------------------------------------------------
[20:25:21]: fastlane version valid
[20:25:21]: ------------------------------
[20:25:21]: --- Step: default_platform ---
[20:25:21]: ------------------------------
[20:25:21]: Driving the lane 'ios appstore' 🚀
[20:25:21]: -------------------
[20:25:21]: --- Step: match ---
[20:25:21]: -------------------

+-----------------------+-------------------------------------------------+
|                         Summary for match 0.4.0                         |
+-----------------------+-------------------------------------------------+
| app_identifier        | com.autologic.assistmobile                      |
| type                  | appstore                                        |
| readonly              | true                                            |
| git_url               | git@bitbucket.org:pitchlabs/vincertificates.git |
| username              |<EMAIL_ADDRESS>                         |
| keychain_name         | login.keychain                                  |
| team_id               | 6BXRV5C384                                      |
| verbose               | false                                           |
| force                 | false                                           |
| shallow_clone         | false                                           |
| force_for_new_devices | false                                           |
| skip_docs             | false                                           |
+-----------------------+-------------------------------------------------+

[20:25:22]: Cloning remote git repo...
[20:25:24]: 🔓  Successfully decrypted certificates repo
[20:25:24]: Installing certificate...
[20:25:25]: Looks like there are no local code signing identities found, you can run `security find-identity -v -p codesigning` to get this output. Check out this reply for more: https://stackoverflow.com/questions/35390072/this-certificate-has-an-invalid-issuer-apple-push-services
[20:25:25]: Installing provisioning profile...

+----------------------+------------------------------------------+
|                 Installed Provisioning Profile                  |
+----------------------+------------------------------------------+
| App Identifier       | com.autologic.assistmobile               |
| Type                 | appstore                                 |
| UUID                 | c91ea981-4430-4a86-9a00-db81c3cad408     |
| Environment Variable | sigh_com.autologic.assistmobile_appstore |
+----------------------+------------------------------------------+

[20:25:25]: All required keys, certificates and provisioning profiles are installed 🙌
[20:25:25]: 🔒  Successfully encrypted certificates repo
[20:25:25]: Setting Provisioning Profile type to 'app-store'
[20:25:25]: --------------------
[20:25:25]: --- Step: resign ---
[20:25:25]: --------------------
[20:25:25]: Error setting value 'match AppStore com.autologic.assistmobile' for option 'provisioning_profile'
[20:25:25]: You passed invalid parameters to 'resign'.
[20:25:25]: Check out the error below and available options by running `fastlane action resign`
[20:25:25]: Variable Dump:
[20:25:25]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios appstore", :SIGH_PROFILE_TYPE=>"app-store"}
[20:25:25]: Couldn't find provisiong profile at path 'match AppStore com.autologic.assistmobile'

+------+-------------------------------------+-------------+
|                     fastlane summary                     |
+------+-------------------------------------+-------------+
| Step | Action                              | Time (in s) |
+------+-------------------------------------+-------------+
| 1    | Verifying required fastlane version | 0           |
| 2    | default_platform                    | 0           |
| 3    | match                               | 3           |
| 4    | resign                              | 0           |
+------+-------------------------------------+-------------+

[20:25:25]: fastlane finished with errors

[!] Couldn't find provisiong profile at path 'match AppStore com.autologic.assistmobile'

Configuration Files
Please copy the complete content of your Fastfile and any other configuration files you use below:
Fastfile:
Environment
fastlane version (fastlane -v):
Do you use bundler, rbenv or rvm?

@PitchLabsAsh it doesn't look like resign is an option for sigh while using it as an action in a lane.  FastLane actions are  a different subset of commands compared to calling a gem directly.  Below is the documentation for the sigh action.   Try this instead:
desc "Deploy a new version to the App Store, run only after beta lane success"
  lane :appstore do
    match(app_identifier: "com.autologic.assistmobile", type: "appstore", readonly: true)
    sh "sigh resign ./build/AssistMobile.ipa --signing_identity 'iPhone Distribution: Autologic Diagnostics Limited (6BXRV5C384)' -n 'match AppStore com.autologic.assistmobile'"
  end

##fastlane actions sigh returns:
Loading documentation for sigh:

+----------------------------------------------------------------------------+
|                                    sigh                                    |
+----------------------------------------------------------------------------+
| Generates a provisioning profile. Stores the profile in the current folder |
|                                                                            |
| Created by KrauseFx                                                        |
+----------------------------------------------------------------------------+

+---------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------+
|                                                                                sigh                                                                                |
+---------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------+
| Key                                   | Description                                                                                | Env Var                                  |
+---------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------+
| * adhoc                               | Setting this flag will generate AdHoc profiles instead of App Store Profiles                                                                          | SIGH_AD_HOC                              |
| * skip_install                        | By default, the certificate will be added on your local machine. Setting this flag will skip this action                                              | SIGH_SKIP_INSTALL                        |
| * development                         | Renew the development certificate instead of the production one                                                                                | SIGH_DEVELOPMENT                         |
| * force                               | Renew provisioning profiles regardless of its state - to automatically add all devices for ad hoc profiles                                            | SIGH_FORCE                               |
| * app_identifier                      | The bundle identifier of your app                                                                                | SIGH_APP_IDENTIFIER                      |
| * username                            | Your Apple ID Username                                                                                | SIGH_USERNAME                            |
|   team_id                             | The ID of your team if you're in multiple teams                                                                                | SIGH_TEAM_ID                             |
|   team_name                           | The name of your team if you're in multiple teams                                                                                | SIGH_TEAM_NAME                           |
|   provisioning_name                   | The name of the profile that is used on the Apple Developer Portal                                                                                | SIGH_PROVISIONING_PROFILE_NAME           |
|   ignore_profiles_with_different_name | Use in combination with :provisioning_name - when true only profiles matching this exact name will be downloaded                                      | SIGH_IGNORE_PROFILES_WITH_DIFFERENT_NAME |
| * output_path                         | Directory in which the profile should be stored (default: '.')                                                                                | SIGH_OUTPUT_PATH                         |
|   cert_id                             | The ID of the code signing certificate to use (e.g. 78ADL6LVAA)                                                                                | SIGH_CERTIFICATE_ID                      |
|   cert_owner_name                     | The certificate name to use for new profiles, or to renew with. (e.g. "Felix Krause")                                                                 | SIGH_CERTIFICATE                         |
|   filename                            | Filename to use for the generated provisioning profile (must include .mobileprovision)                                                                | SIGH_PROFILE_FILE_NAME                   |
| * skip_fetch_profiles                 | Skips the verification of existing profiles which is useful if you have thousands of profiles                                                         | SIGH_SKIP_FETCH_PROFILES                 |
| * skip_certificate_verification       | Skips the verification of the certificates for every existing profiles. This will make sure the provisioning profile can be used on the local machine | SIGH_SKIP_CERTIFICATE_VERIFICATION       |
+---------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------+
9 of the available parameters are required
They are marked with an asterisk *

+-----------------------------------------------------+
|                    Return Value                     |
+-----------------------------------------------------+
| The UDID of the profile sigh just fetched/generated |
+-----------------------------------------------------+

More information can be found on https://github.com/fastlane/fastlane/blob/master/docs/Actions.md

#######################################################################
# fastlane 1.68.0 is available.
# It is recommended to use the latest version.
# Update using 'sudo gem update fastlane'.
#######################################################################

1.68.0 Improvements
* Added `reset_simulators` action
* Fix `update_fastlane` to have correct ruby-gems version check
* Removed new-line for `get_build_number_repository` action
* Added default values for apk paths in `hockey` action
* Add -p param to `oclint` action to fix file relative paths

1.67.0 New actions and Improvements
* Added `download_dsym` action to download dSYM files from Apple iTunes Connect
* Added `rocket` action 🚀
* Added `IFTTT` Maker Channel action
* Added `sentry` action for uploading dSYM files
* Updated cp command flag to use recursive copy
* Turned off logging for certain params in `crashlytics` action
* Check for `highest_installed_gems` in `update_action`
* Improved logging UI
* Improves workspace detection in `update_app_identifier` action
* Added platform option to `upload_symbols_to_crashlytics` action
* Add array parameter in `ensure_no_debug_code` action along with grep '--include flag'
* Improved `s3` action to use s3 sdk
* Improved `gradle` to allow running on ios platform

Update using 'sudo gem update fastlane'

Ok thanks.. I hadn’t thought to simply run it as a shell action!

On 25 Mar 2016, at 11:41, aln787<EMAIL_ADDRESS>wrote:
@PitchLabsAsh https://github.com/PitchLabsAsh it doesn't look like resign is an option for sigh while using it as an action in a lane. FastLane actions are a different subset of commands compared to calling a gem directly. Below is the documentation for the sigh action. Try this instead:
desc "Deploy a new version to the App Store, run only after beta lane success"
lane :appstore do
match(app_identifier: "com.autologic.assistmobile", type: "appstore", readonly: true)
sh "sigh resign ./build/AssistMobile.ipa --signing_identity 'iPhone Distribution: Autologic Diagnostics Limited (6BXRV5C384)' -n 'match AppStore com.autologic.assistmobile'"
end
##fastlane actions sigh returns:
Loading documentation for sigh:
+----------------------------------------------------------------------------+
|                                    sigh                                    |
+----------------------------------------------------------------------------+
| Generates a provisioning profile. Stores the profile in the current folder |
|                                                                            |
| Created by KrauseFx                                                        |
+----------------------------------------------------------------------------+
+---------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------+
|                                                                                sigh                                                                                |
+---------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------+
| Key                                   | Description                                                                                | Env Var                                  |
+---------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------+
| * adhoc                               | Setting this flag will generate AdHoc profiles instead of App Store Profiles                                                                          | SIGH_AD_HOC                              |
| * skip_install                        | By default, the certificate will be added on your local machine. Setting this flag will skip this action                                              | SIGH_SKIP_INSTALL                        |
| * development                         | Renew the development certificate instead of the production one                                                                                | SIGH_DEVELOPMENT                         |
| * force                               | Renew provisioning profiles regardless of its state - to automatically add all devices for ad hoc profiles                                            | SIGH_FORCE                               |
| * app_identifier                      | The bundle identifier of your app                                                                                | SIGH_APP_IDENTIFIER                      |
| * username                            | Your Apple ID Username                                                                                | SIGH_USERNAME                            |
|   team_id                             | The ID of your team if you're in multiple teams                                                                                | SIGH_TEAM_ID                             |
|   team_name                           | The name of your team if you're in multiple teams                                                                                | SIGH_TEAM_NAME                           |
|   provisioning_name                   | The name of the profile that is used on the Apple Developer Portal                                                                                | SIGH_PROVISIONING_PROFILE_NAME           |
|   ignore_profiles_with_different_name | Use in combination with :provisioning_name - when true only profiles matching this exact name will be downloaded                                      | SIGH_IGNORE_PROFILES_WITH_DIFFERENT_NAME |
| * output_path                         | Directory in which the profile should be stored (default: '.')                                                                                | SIGH_OUTPUT_PATH                         |
|   cert_id                             | The ID of the code signing certificate to use (e.g. 78ADL6LVAA)                                                                                | SIGH_CERTIFICATE_ID                      |
|   cert_owner_name                     | The certificate name to use for new profiles, or to renew with. (e.g. "Felix Krause")                                                                 | SIGH_CERTIFICATE                         |
|   filename                            | Filename to use for the generated provisioning profile (must include .mobileprovision)                                                                | SIGH_PROFILE_FILE_NAME                   |
| * skip_fetch_profiles                 | Skips the verification of existing profiles which is useful if you have thousands of profiles                                                         | SIGH_SKIP_FETCH_PROFILES                 |
| * skip_certificate_verification       | Skips the verification of the certificates for every existing profiles. This will make sure the provisioning profile can be used on the local machine | SIGH_SKIP_CERTIFICATE_VERIFICATION       |
+---------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------+
9 of the available parameters are required
They are marked with an asterisk *
+-----------------------------------------------------+
|                    Return Value                     |
+-----------------------------------------------------+
| The UDID of the profile sigh just fetched/generated |
+-----------------------------------------------------+
More information can be found on https://github.com/fastlane/fastlane/blob/master/docs/Actions.md
#######################################################################
fastlane 1.68.0 is available.
It is recommended to use the latest version.
Update using 'sudo gem update fastlane'.
#######################################################################
1.68.0 Improvements

Added reset_simulators action
Fix update_fastlane to have correct ruby-gems version check
Removed new-line for get_build_number_repository action
Added default values for apk paths in hockey action
Add -p param to oclint action to fix file relative paths

1.67.0 New actions and Improvements

Added download_dsym action to download dSYM files from Apple iTunes Connect
Added rocket action 🚀
Added IFTTT Maker Channel action
Added sentry action for uploading dSYM files
Updated cp command flag to use recursive copy
Turned off logging for certain params in crashlytics action
Check for highest_installed_gems in update_action
Improved logging UI
Improves workspace detection in update_app_identifier action
Added platform option to upload_symbols_to_crashlytics action
Add array parameter in ensure_no_debug_code action along with grep '--include flag'
Improved s3 action to use s3 sdk
Improved gradle to allow running on ios platform

Update using 'sudo gem update fastlane'
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub https://github.com/fastlane/fastlane/issues/3934#issuecomment-201246790

@PitchLabsAsh I found a better solution.  It looks like resign is an available Fastlane action (docs below). FYI - you can run fastlane actions to see app available Fastlane actions.
fastlane actions resign
Loading documentation for resign:

+-------------------------------------------------------------------------------+
|                                    resign                                     |
+-------------------------------------------------------------------------------+
| Codesign an existing ipa file                                                 |
|                                                                               |
| You may provide multiple provisioning profiles if the application contains    |
| nested applications or app extensions, which need their own provisioning      |
| profile. You can do so by passing an array of provisiong profile strings or a |
| hash that associates provisioning profile values to bundle identifier keys.   |
|                                                                               |
| resign(ipa: "path", signing_identity: "identity", provisioning_profile: {     |
|   "com.example.awesome-app" => "App.mobileprovision",                         |
|   "com.example.awesome-app.app-extension" => "Extension.mobileprovision"      |
| })                                                                            |
|                                                                               |
| Created by lmirosevic                                                         |
+-------------------------------------------------------------------------------+

+------------------------+---------------------------------------------------------------------------------------+--------------------------------+
|                                                                     resign                                                                      |
+------------------------+---------------------------------------------------------------------------------------+--------------------------------+
| Key                    | Description                                                                           | Env Var                        |
+------------------------+---------------------------------------------------------------------------------------+--------------------------------+
| * ipa                  | Path to the ipa file to resign. Optional if you use the `gym` or `xcodebuild` action  | FL_RESIGN_IPA                  |
| * signing_identity     | Code signing identity to use. e.g. "iPhone Distribution: Luka Mirosevic<PHONE_NUMBER>)" | FL_RESIGN_SIGNING_IDENTITY     |
|   entitlements         | Path to the entitlement file to use, e.g. "myApp/MyApp.entitlements"                  | FL_RESIGN_ENTITLEMENTS         |
| * provisioning_profile | Path to your provisioning_profile. Optional if you use `sigh`                         | FL_RESIGN_PROVISIONING_PROFILE |
|   version              | Version number to force resigned ipa to use                                           | FL_RESIGN_VERSION              |
+------------------------+---------------------------------------------------------------------------------------+--------------------------------+
3 of the available parameters are required
They are marked with an asterisk *

More information can be found on https://github.com/fastlane/fastlane/blob/master/docs/Actions.md

@PitchLabsAsh Glad to hear you are up and running! Closing this issue out :+1:

This seems to have stopped working with a recent update.
sigh resign ./build/AssistMobile.ipa --signing_identity "iPhone Distribution: Autologic Diagnostics Limited (6BXRV5C384)" -n "match AppStore com.autologic.assistmobile"
Path to provisioning file:
If I run "sigh manage" the name "match AppStore com.autologic.assistmobile" is in list of available profiles.
If i try your other suggestion of directly calling resign from the fastlane file I get the following error:
20:13:22: --- Step: resign ---
20:13:22: --------------------
20:13:22: Error setting value '{"com.autologic.assistmobile"=>"match AppStore com.autologic.assistmobile"}' for option 'provisioning_profile'
20:13:22: You passed invalid parameters to 'resign'.
20:13:22: Check out the error below and available options by running fastlane action resign
20:13:22: Variable Dump:
20:13:22: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios appstore", :SIGH_PROFILE_TYPE=>"app-store"}
20:13:22: Couldn't find provisiong profile at path 'match AppStore com.autologic.assistmobile'

@PitchLabsAsh Thanks for following up. We are going to have a look into this and see what could be causing it?

Hi @PitchLabsAsh! The value passed to the resign action for the 'provisioning_profile' option must be a hash of provisioning profile name => file names. This is different than the -n param to the sigh tool which is the provisioning profile name (and -n is not applicable to resign).
If that doesn't fix things up for you, can you paste you Fastfile in here so we can see what commands are being invoked?  👍

@PitchLabsAsh I'm going to close this out for now. Drop a comment here and let me know if my above suggestion works for you (and if not, please your Fastfile in here so we can see what commands are being invoked)

I have tried that and it still doesn't work
fastlane_version "1.8.1"
default_platform :ios
platform :ios do
before_all do
# ENV["SLACK_URL"] = "https://hooks.slack.com/services/..."
end
desc "Runs all the tests"
lane :test do
cocoapods
scan
end
desc "Submit a new alpha build to crashlytics"
lane :alpha do
match(app_identifier: "com.autologic.vinsupport.dev", type: "adhoc", readonly: true)
cocoapods
gym(
  workspace: "VinSupport.xcworkspace",
  scheme: "AssistMobileDev",
  export_method: 'ad-hoc',
  silent: false,
  clean: true,
  output_directory: "build",
  output_name: "AssistMobileDev.ipa"
)

build_number = number_of_commits
add_git_tag(
  grouping: 'fastlane-builds',
  prefix: 'v',
  build_number: build_number
)
push_git_tags

crashlytics(
 	api_token: "bd415bb7c0471d0afe6f3e3e6e3a7e50a2638a22",
    build_secret: "e60f39058f1ca0d30423f3bdd4954a1a61fafba3484f678734968ea3ccb4da4a",
	groups: "internal"
)
upload_symbols_to_crashlytics(dsym_path: "./build/AssistMobile.app.dSYM.zip")

notes: change_log,
notifications: notify_testers
end
desc "Submit a new beta build to crashlytics"
lane :beta do
match(app_identifier: "com.autologic.assistmobile", type: "adhoc", readonly: true)
cocoapods
gym(
  workspace: "VinSupport.xcworkspace",
  scheme: "AssistMobile",
  export_method: 'ad-hoc',
  silent: false,
  clean: true,
  output_directory: "build",
  output_name: "AssistMobile.ipa"
)

build_number = number_of_commits
add_git_tag(
  grouping: 'fastlane-builds',
  prefix: 'v',
  build_number: build_number
)
push_git_tags

crashlytics(
 	api_token: "bd415bb7c0471d0afe6f3e3e6e3a7e50a2638a22",
    build_secret: "e60f39058f1ca0d30423f3bdd4954a1a61fafba3484f678734968ea3ccb4da4a",
	groups: "internal"
)
upload_symbols_to_crashlytics(dsym_path: "./build/AssistMobile.app.dSYM.zip")

notes: change_log,
notifications: notify_testers
end
desc "Deploy a new version to the App Store, run only after beta lane success"
lane :appstore do
match(app_identifier: "com.autologic.assistmobile", type: "appstore", readonly: true)
try using resign action
resign(ipa: "./build/AssistMobile.ipa",
	signing_identity: "iPhone Distribution: Autologic Diagnostics Limited (6BXRV5C384)",
	provisioning_profile: {
		"com.autologic.assistmobile" => "match AppStore com.autologic.assistmobile"
	}
)

try using sigh resign from chell action
sh "sigh resign ./build/AssistMobile.ipa --signing_identity 'iPhone Distribution: Autologic Diagnostics Limited (6BXRV5C384)' -n 'match AppStore com.autologic.assistmobile'"
end
You can define as many lanes as you want
after_all do |lane|
# This block is called, only if the executed lane was successful
# slack(
#   message: "Successfully deployed new App Update."
# )

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

"com.autologic.assistmobile" => "match AppStore com.autologic.assistmobile"
I think this needs to be
"com.autologic.assistmobile" => "com.autologic.assistmobile_AppStore.mobileprovision" or whatever the actual name of the file on disk is, not the name but the file name.
Let me know if that makes any different 😸

How do we locate the filename on disk?
All the profiles are synced by “match”.
ls ~/Library/MobileDevice/Provisioning\ Profiles/
gives..
BuildServer:629cad12c28e13ae build$ ls ~/Library/MobileDevice/Provisioning\ Profiles/
02d246fd-3d3b-40df-9805-0f609104f7bc.mobileprovision	8a4cc17a-d5cf-4125-b1f3-712b71233eb4.mobileprovision
080a7922-1136-4cd9-8bfe-fc56999737e9.mobileprovision	8d12dbbe-cf3d-48b6-8e40-f67866d89dee.mobileprovision
0ac6289d-b5f7-4c3c-bdfa-72fd1d89db44.mobileprovision	8f705f3f-64b2-4dbd-ac11-78802fe1b3b3.mobileprovision
0b3a0020-a436-4ae8-8741-7e60a2b9e702.mobileprovision	93942ab0-1048-4463-8934-c2831737057d.mobileprovision

On 27 Apr 2016, at 21:54, Andrea Falcone<EMAIL_ADDRESS>wrote:
"com.autologic.assistmobile" => "match AppStore com.autologic.assistmobile"
I think this needs to be
"com.autologic.assistmobile" => "com.autologic.assistmobile_AppStore.mobileprovision" or whatever the actual name of the file on disk is, not the name but the file name.
Let me know if that makes any different 😸
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub https://github.com/fastlane/fastlane/issues/3934#issuecomment-215225972

sigh manage produces this..
so after performing match, how do we know the filename from the profile name?
[21:59:16]: Loading Provisioning profiles from ~/Library/MobileDevice/Provisioning Profiles/
[21:59:18]: Provisioning profiles installed
[21:59:18]: Valid:
[21:59:18]: AllenOveryUniversalAdhoc
[21:59:18]: com.autologic.vinsupport.dev AppStore
[21:59:18]: match AdHoc com.autologic.assistmobile
[21:59:18]: match AdHoc com.autologic.assistmobile
[21:59:18]: match AdHoc com.autologic.assistmobile
[21:59:18]: match AdHoc com.autologic.vinsupport.dev
[21:59:18]: match AdHoc com.autologic.vinsupport.dev
[21:59:18]: match AppStore com.autologic.assistmobile
[21:59:18]: match AppStore com.autologic.assistmobile
[21:59:18]: match AppStore com.autologic.vinsupport.dev

I was able to get this to work eventually by fully specifying the path to the provisioning file.
        resign(ipa: "./build/AssistMobile.ipa",
                signing_identity: "iPhone Distribution: Autologic Diagnostics Limited (6BXRV5C384)",
                provisioning_profile: {
                        "com.autologic.assistmobile" => "/Users/build/Library/MobileDevice/Provisioning Profiles/8004e1a8-525b-457f-b4de-9ef16157de96.mobileprovision"
                }
        )

I was able to get the filename from looking at the uuid reported from match..
+----------------------+------------------------------------------+
|                 Installed Provisioning Profile                  |
+----------------------+------------------------------------------+
| App Identifier       | com.autologic.assistmobile               |
| Type                 | appstore                                 |
| UUID                 | 8004e1a8-525b-457f-b4de-9ef16157de96     |
| Environment Variable | sigh_com.autologic.assistmobile_appstore |
+----------------------+------------------------------------------+

This is a bit cumbersome having to use the full pathname, especially when match may well update the profile.
Is there an easy script to build the filename using the environment variable "sigh_com.autologic.assistmobile_appstore" and build that into the hash passed?
And going beyond that is there an easy way to obtain the fun path without having to hard code it?

Update:
After running match it is possible to resign using the environment variable it assigns which means the resign will still work even if the profile is updated.
Here is a simplified version of the script Im using to make it clear how the path should work.
In my full version I have the profile folder in an ENV var.
It would be helpful if resign action could take the profile name rather than the full path though.
Thanks for helping me resolve this, the lanes I now have enable me to resign the actual beta binary .ipa file rather than having to rebuild the app from the same sources which I prefer as a general rule so it was worth getting resign working.
        folder = "/Users/build/Library/MobileDevice/Provisioning Profiles/"
        path = folder + ENV["sigh_com.autologic.assistmobile_appstore"] + ".mobileprovision"

        resign(ipa: "./build/AssistMobile.ipa",
                signing_identity: "iPhone Distribution: Autologic Diagnostics Limited (6BXRV5C384)",
                provisioning_profile: {
                        "com.autologic.assistmobile" => path
                }
        )

You should have access to the full absolute path to the new profile using
Actions.lane_context[Actions::SharedValues::SIGH_PROFILE_PATH] || ENV["SIGH_PROFILE_PATH"]

Let me know if that works for you


#%% In-Line Plotting

Issue Type: Feature Request
I would love to continue using #%% style jupyter cells in tandem with the python interactive window—in general it is very convenient. But when I run a cell to watch as a matplotlibs plot updates in real-time as the data its plotting accumulates, a new python interactive cell is created for every replot, which leaves me with a loooong line of plots, and it's hard to observe the changes taking place. I need a way to watch a plot update in-place in real time.
More generally, it would be nice to have an option to create one interactive python window cell per #%% cell.
VS Code version: Code 1.44.0 (2aae1f26c72891c399f860409176fe435a154b13, 2020-04-07T23:31:18.860Z)
OS version: Windows_NT x64 10.0.18363
Remote OS version: Linux x64 5.3.0-45-generic

/extPython


In react app, how to get the value of global editor?

In react app, how to get the value of global editor?
I try to use hook useGlobalEditor, but throw exception.
react_devtools_backend_compact.js:12966 React Router caught the following error during render Error: Cannot find global editor context
    at useGlobalEditor (index.js:75:11)
    at WorkflowEditor (WorkflowEditor.tsx:54:106)
    at fm (react-dom.development.js:1:152112)
    at react-dom.development.js:1:196268
    at Hg (react-dom.development.js:1:197617)
    at qw (react-dom.development.js:1:244731)
    at Lw (react-dom.development.js:1:237660)
    at _w (react-dom.development.js:1:237542)
    at Nw (react-dom.development.js:1:237304)
    at mw (react-dom.development.js:1:234875)

Hello @nguyenngoclongdev! You can use useGlobalEditor only inside the editor. To read a value from the editor outside you should read your definition.

You cannot use the useGlobalEditor() hook with the sequential workflow editor, because it doesn't use React hooks.
To read values provided by the root editor you should read the root properties of your definition (Definition { properties: ... }).


LXHenatai change URL

Source information
LXHentai 1.4.2
Source language
Vietnamese
Source new URL
https://lxmanga88.com/
Other details
No response
Acknowledgements

[X] I have updated all installed extensions.
[X] I have opened WebView and checked that the source URL has not changed yet.
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[ ] I have admitted that I am a clown by having checked this box, as I have not read these acknowledgements.
[X] I will fill out all of the requested information in this form.

Basically, the name LXHentai is still correct but they changed their domain name from the old one to https://lxmanga88.com/ and this causes the extension on the app to not be accessible, so this is not an error so I hope you can change the domain name for it.

Basically, the name LXHentai is still correct but they changed their domain name from the old one to https://lxmanga88.com/ and this causes the extension on the app to not be accessible, so this is not an error so I hope you can change the domain name for it.

The domain was already updated in #2013, so you should open a regular bug report with the issue you're encountering.


Webpack watch prevents further gulp execution

When running webpack with the watch option set to true, it prevents any further execution of gulp tasks.
Any tricks to fix this? I want to use also my other gulp tasks that run with gulp-watch.
[10:17:54] Starting 'webpack'...
[10:18:06] Version: webpack 1.5.3
        Asset     Size  Chunks             Chunk Names
    vendor.js  1776086       0  [emitted]  vendor
       app.js  1720552       1  [emitted]  app
vendor.js.map  2105617       0  [emitted]  vendor
   app.js.map  2131789       1  [emitted]  app
[10:18:06] Webpack is watching for changes

I have the same problem.
Would be happy if anyone has an idea on how to get around this.

Same here ...

Why not just use gulp's watch? It seems to work better with gulp.
I'm open to a PR if it's a fairly simple fix although I personally don't see the point; just use gulp's watch.
But for an actual fix it's likely you'll need to bring it up with webpack itself as gobbling the process to sit and watch files forever is a typical behavior of watch. So closing this issue again. Thanks!

Yeah, gulp.watch is better from a theoretical perspective. Problem is just speed, performance. It is too slow with gulp.watch. I reverted, removed gulp-webpack and am using the plain webpack, cache the compiler and use gulp.watch at last. Like that, everything works fine and speed is good. But not with this gulp plugin.

:+1: that works too.

I just wanted to say that I did what @binarykitchen proposed and now my builds are extremely fast. I ended up using gulp-webpack for production builds. For development I use gulp-watch for additions/deletions and webpack by default in watch mode. This results in great build times.

Hi @vinnymac / @binarykitchen
Do you have an example on how you gained the speed you are talking about? My webpack is superslow when triggering it using gulp-watch. Probably my gulp-webpack causing this?

Do not use gulp-webpack. Just require webpack directly. Cannot give an example as my gulp file is huge. I think the maintainers of webpack should be able to help.

Thanks @binarykitchen
Made it much faster by dropping gulp-webpack. Currently I'm using gulp-webpack for production builds.
If you don't mind, could you please point me in the direction of how to cache the compiler? ( If you guys did more than cache: true in the config file of course )
And thanks again for answering me the first time:-)


[v4.0.0] Overhauled and more tested

#39  👈
dev

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @GoodM4ven and the rest of your teammates on  Graphite


How to use the mipnerf config to train

I have tried the following command
python train.py \
  --config configs/mipnerf.yaml \
    configs/nerflab.yaml \
  --dataset-path ../hy-tmp/garden/ \
  --exp-name garden-mip

However, training doesn't seem to be running correctly.

Hi, try to place mipnerf.yml after other config files, because the values in latter config file will override the former one:
python train.py \
  --config configs/blender.yaml \
    configs/mipnerf.yaml \
  --dataset-path ~/dataset/nerf_synthetic/lego \
  --exp-name lego_mipnerf

Thanks for your reply! I run the command you provided, but for some reason, the program will be killed.

And I want to know, for the mipnerf 360 dataset, what config should I use to run it. If it is possible, I would like to know what the specific command is.

Thanks for your reply! I run the command you provided, but for some reason, the program will be killed.  And I want to know, for the mipnerf 360 dataset, what config should I use to run it. If it is possible, I would like to know what the specific command is.

Hi,
I think it was killed by OOM, you can find some OOM related entries in /var/log/syslog. Change blender_half_resolution to true (configs/blender.yaml#L4) may solve this problem (or add parameter --config-values 'blender_half_resolution=true' when running train.py).
The dataset format of mipnerf 360 is LLFF, so you should use llff.yaml:
python train.py \
  --config configs/llff.yaml \
  --dataset-path PATH_TO_MIPNERF360_DATASET \
  --exp-name mipnerf360

Besides, add configs/use_disp.yaml may improve the reconstruction quality for real world scenes:
...
  --config configs/llff.yaml \
    configs/use_disp.yaml
...


⚠ Spryr has degraded performance

In 963df80, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 4126 ms

Resolved: Spryr performance has improved in af1d114 after 8 minutes.


Azure OpenAI Readme Issue

Section link

Reason:
AzureKeyCredential is not defined.
Suggestion:
Import AzureKeyCredential from package @azure/openai.
@joheredi, @deyaaeldeen for notification.

Seems like we're missing a re-export?


Starting grin-miner with missing plugins directory does not generate a user-facing error

Starting grin-miner when the plugins directory is missing will create an error message in grin-miner.log, but grin-miner itself is happy to continue running, be connected to grin, and show "starting miner and awaiting first graph time". Expected behavior: User-facing error that the configured plugin can't be found, or the plugin directory is missing entirely.
Error message in logs for that:
Aug 07 16:15:05.091 ERRO Unable to load cuckoo-miner plugin directory, either from configuration or [exe_path]/plugins.
Aug 07 16:15:05.108 ERRO
thread 'mining_controller' panicked at 'Unable to load plugin directory... Please check configuration values': src/bin/plugin.rs:106stack backtrace:

Likely related issue, please let me know whether to track separately:
When shutting grin-miner down, with plugin directory missing, it will exit the UI, then just sit there and not terminate. Likely related to the above. Shell at that point looks like this
yorick@Meep:~/grin-miner$ grin-miner
Starting Grin-Miner from config file at: /home/yorick/grin-miner/grin-miner.toml
Starting Grin Miner in UI mode...
and logs show
Aug 07 16:21:06.194 DEBG Client recieved message: Shutdown
Aug 07 16:21:06.195 DEBG Shutting down client controller
A ctrl-c is required to shut down grin-miner

It seems it was fixed by 2a05cf7f61e9cb3e8cd7d633962eced1afe7505f


npm run build fails

I'm running a copy of Chrome installed by the company and they've locked down access to the Chrome store, so I can't install the vue-devtools from there. I cloned the repo, ran npm install and then ran npm run build. At first I couldn't get past the lint script because of a missing space in the ComponentInspector.vue file (line 52 in case anyone is running into a similar issue on Win7). Once I fixed that, I was able to run the lint script fine, but now I'm running into "module build failed" errors for every component.

Am I doing something wrong here? Am I missing a dependency? Just trying to get this to build properly so I can install the extension in Chrome.

This is a bug in stylus-loader in Node 6.x (where path.extname no longer works on undefined). If you use Node 5 for now it should work properly.

Thanks for the heads up @yyx990803! I'll keep an eye on that repo for when they patch the issue.


ios tabs lost their correct styling

From @bensperry on January 9, 2016 0:44

the unselected tab items should not be colored at all. They should look like this:

Copied from original issue: driftyco/ionic2#904

No longer an issue


sidenav not visible in footer part

Is your feature request related to a problem? Please describe.
sidenav not visible in footer part. When we scroll down to the footer part, the sidenav goes below the footer component.

Describe the solution you'd like
Updating the z-index of the sidenav would work

Thank you for the response! I appreciate it. Thanks

Also, Let me know if your code gets merged 🚀🔥


Bug with TemplateSelector on Android when switching Shell Tabs

See attached repro project

CardsCarouselSample.zip

v2.7.1