Ubuntu repo only provides 2.x and NOT FOUND

Today I was doing linux updates, and first of all I was veery surprised to get the 2.0.1 as version.  infuxdb 2.0 is requiring some work when coming from 1.8 ... so maybe a bad idea to have as "just there" update. So I was a bit "shocked"
Additionally then the follwoing error occured:
Err:1 https://repos.influxdata.com/ubuntu bionic/stable amd64 influxdb amd64 2.0.1
  404  Not Found [IP: <IP_ADDRESS> 443]
E: Failed to fetch https://repos.influxdata.com/ubuntu/pool/stable/i/influxdb/influxdb_2.0.1_amd64.deb  404  Not Found [IP: <IP_ADDRESS> 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

The 2.x package was not intended to be published as we have additional work to do in providing an update transition.  As such, the package has been removed from the repo for the moment.  You can still download/install it directly via:
wget https://dl.influxdata.com/influxdb/releases/influxdb_2.0.1_amd64.deb sudo dpkg -i influxdb_2.0.1_amd64.deb

Thank you very much!! And honestly: lucky that the file was not there because else many users would got that upgrade "surprisingly"

I was one of the people who "upgraded surprisingly" ... but it looks like it didn't actually upgrade/migrate anything. After noticing that everything was broken and the old package was in the repo again, I installed that version again, so "downgraded", and it looks like everything is working again? Can somebody confirm that the new package didn't touch the old data and/or if it's working again, it should be fine? Or should I better restore from a backup?

@SuperTux88 Me too. It doesn't upgrade any data unless you manually run influx upgrade (and even then it's a copy, leaving the previous intact). You'll have been running 2.x with an empty database for a while, that's all. There will be some stray files (e.g. config.toml) that you might clean up if you wanted to erase all trace of the unfortunate incident, otherwise everything should be fine.

We welcome community feedback on expected upgrade behavior.  We're currently thinking about re-naming the package to influxdb2 so you can have both installed, and then allow use of the alternatives system to switch between v1 or v2.  This would facilitate a simpler rollback mechanism.  We have no plans at this time to attempt any type of auto upgrade using influx upgrade.

@psteinbachs I think influxdb2 package is a great idea!

As frequent user of InfluxDB it would really help to have distinct packages for 1.x and 2.x. We are also managing a Puppet module for InfluxDB and having distinct versioning would make it much easier to make the module work with both branches and possibly provide an upgrade path there too for users.

https://github.com/influxdata/influxdb/pull/20305 and our release of 2.0.3 implements a version distinction via conflicts.  If you apt-get upgrade with the influxdb package installed, it will prompt that the influxdb package will be removed and influxdb2 package will be installed.

@psteinbachs Thank you for the info and link, but I'm confused a bit ... above you wrote

If you apt-get upgrade with the influxdb package installed, it will prompt that the influxdb package will be removed and influxdb2 package will be installed.

in the linked issue:

Requires explicit removal of previous package before installing new package

So which is true? ;-)

@psteinbachs BTW: Should it not be better to ask before the upgrade, especially check if there is enough available space to have all influxdb data twice n that system? ;-)

Requires explicit removal of previous package before installing new package

So which is true? ;-)

Both are true.  If you have the influxdb package already installed and wget && dpkg -i the 2.0.3 deb, you'll get a conflict message.  If you apt-get upgrade it prompts you and shows that influxdb package will be removed.  In both cases, influxdb package is explicitly removed and replaced with influxdb2.

@psteinbachs BTW: Should it not be better to especially check if there is enough available space to have all influxdb data twice n that system? ;-) Or at least add the "hey we copy all data" to the upgrade info text so that users know before they execute the upgrade shell script!

We're investigating changing the way influxd upgrade works so that a full copy isn't necessary, but we'll add a disk space check or at least additional note to the shell script.

If you apt-get upgrade it prompts you and shows that influxdb package will be removed. In both cases, influxdb package is explicitly removed and replaced with influxdb2.

But this makes updating the whole system without influxdb package very meeehhhh because you ways need to do anything manually or you need to read very careful to not install it "unwanted" ....

Clarifying: apt-get upgrade won't bump to 2.x, but apt-get install influxdb2 will auto-remove the conflicting influxdb package. In a fresh ubuntu Docker image:
# Add influxdb repo
apt-get update && apt-get install -y wget gnupg
wget -qO- https://repos.influxdata.com/influxdb.key | apt-key add -
source /etc/lsb-release
echo "deb https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" | tee /etc/apt/sources.list.d/influxdb.list

# Upgrade system, and install InfluxDB
apt-get update && apt-get upgrade -y && apt-get install influxdb -y

# Check version
influx -version # Output: InfluxDB shell version: 1.8.3

# Check that upgrade doesn't pull 2.x
apt-get update && apt-get upgrade -y # Output: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
influx -version # Output: InfluxDB shell version: 1.8.3

# Explicitly install 2.x
apt-get install influxdb2
# Truncated output:
#
# The following packages will be REMOVED:
#   influxdb
# The following NEW packages will be installed:
#   influxdb2
# 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
# Do you want to continue? [Y/n]

# Confirm, and see this output:
#
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# ! Important 1.x to 2.x Upgrade Notice !
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
#
# Thank you for installing InfluxDB v2.  Due to significant changes between
# the v1 and v2 versions, upgrading to v2 requires additional steps.  If
# upgrading to v2 was not intended, simply re-install the v1 package now.
#
# An upgrade helper script is available that should be reviewed and executed
# prior to starting the influxdb systemd service.  In order to start the v2
# upgrade, execute the following:
#
# sudo /usr/share/influxdb/influxdb2-upgrade.sh
#
# Visit our website for complete details on the v1 to v2 upgrade process:
# https://docs.influxdata.com/influxdb/v2.0/upgrade/v1-to-v2/
#
# For new or upgrade installations, please review the getting started guide:
# https://docs.influxdata.com/influxdb/v2.0/get-started/

# Confirm 2.x is installed
influx version # Output: Influx CLI 2.0.3 (git: fe04d346df) build_date: 2020-12-15T01:00:16Z

I'm going to close this issue, as I believe we've fixed the originally-reported problem in v2.0.3 & spun out separate issues for other ideas that came up during discussion.
@Apollon77 if more surprises appear during your testing please do file new issues. Improving the upgrade process is still one of our top priorities, it's just tough to keep track of all the work when issues scope-creep :smile:

Thank you! I will see when I find time to check it out completely


problem during uploading apk to use beta tool

I have added my app to fabric and it already connecting and even send me a non-fatal issue...I have created an apk using the docs in :
https://flutter.dev/docs/deployment/android
Now I want to test the app using the beta tool, but when I drag the apk file into the fabric distribution window  it shows me the message :
"Unable to extract Crashlytics build info from the dropped APK. Please make sure your Crashlytics build tool plugin is installed and enabled."

What I should do to solve this issue?

To use the apk you should give a value to the versionCode &  versionName and not just leave it to be changed according to the flutter project changes....that 's all what I was missing and giving it a value 1 and  "1.0" or whatsoever it worked well :) 👍


Temporarily work around backend bug in 2.3.0b1.

Signed-off-by: Kristian Amlie<EMAIL_ADDRESS>

I will add an entry to the release checklist for 2.3.0 to revert this commit.

Wait, crap, I need to check this with an Enterprise pipeline. Reopening in #863.


TypeScript allows class properties to reference instance variables that have not been defined yet.

TypeScript Version:  3.4.5 (and whatever runs in the playground)

Search Terms:

class property
property initialization

Code
class A{
    num: number;
    constructor(num:number) {
        this.num = num;
    }

    computed = this.num * 10;
}

const instance = new A();
console.log(instance.computed); // gives NaN

Expected behavior:
Some kind of type error when we try to assign computed. Although computed is part of the type signature of A, we know that the property has not been assigned yet, because class properties are evaluated before the body of the constructor.
Actual behavior:
No such error. If you run the example, it prints NaN, as this.num is undefined when computed is defined (before the body of the constructor has run).
The example compiles to the following JS:
var A = /** @class */ (function () {
    function A(num) {
        this.computed = this.num * 10;
        this.num = num;
    }
    return A;
}());
var instance = new A(3);
console.log(instance.computed); // gives NaN

Playground Link:
Related Issues:

#14488 and #8476 (quite similar). However, in the spirit of the strict-mode check implemented in #20075, it might be good to check the same in this case.

Interesting addition: if, instead of using an assignment inside the constructor, you use a parameter property to set the instance variable, it works just fine.
For instance, this TypeScript:
class A{
    constructor(public num:number) {}
    computed = this.num * 10;
}

const instance = new A(3);
console.log(instance.computed); // gives 30

will compile to this:
var A = /** @class */ (function () {
    function A(num) {
        this.computed = this.num * 10;
        this.num = num;
    }
    return A;
}());
var instance = new A(3);
console.log(instance.computed); // gives NaN

which works fine. (playground link)
Again, I'm not quite sure if this is a compiler bug, or rather just a check that was never implemented.

Duplicate of #31158?

It's the same idea, although this case the order of evaluation of the different parts of the constructor (parameter properties, then class properties, then constructor body) allows you to write code that isn't type safe.

We should probably issue an error on using uninitialized instance fields in other field initializers, and also error on referencing following (and therefore uninitialized) fields. Although you can technically safely write class A { a = this.c = 0; b = this.c; c = 12;  }, however odd that would be.

Why is this slated for 3.6.3?

It was still sitting in the 3.6.1 milestone and was a fairly quick fix.

@RyanCavanaugh  I think this was fixed in TS 4.0.

This was fixed by #38030.

This was fixed by #38030.


Download error (OSError: Cannot load native module)

I've spent a couple hours retrying and redoing it but i seem to be stuck in this error everything is installed properly. But don't know what is the cause of the problem
D:\Twist
? bash

Christopher@Lilith  /d/Twist
$ git clone https://github.com/phanirithvij/twist.moe.git
Cloning into 'twist.moe'...
remote: Enumerating objects: 20, done.
remote: Counting objects: 100% (20/20), done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 4627 (delta 6), reused 14 (delta 3), pack-reused 4607
Receiving objects: 100% (4627/4627), 7.56 MiB | 2.33 MiB/s, done.
Resolving deltas: 100% (926/926), done.

Christopher@Lilith  /d/Twist
$ cd twist.moe/

Christopher@Lilith  /d/Twist/twist.moe (master)
$ ./setup.sh
[setup.sh] > Python is installed
[setup.sh] > Version: Python 3.7.4
[setup.sh] > python3 command is not accesible from the script
[setup.sh] > pycryptodome, hashlib for python installed

Traceback
Christopher@Lilith  /d/Twist/twist.moe (master)
$ ./startp.sh https://twist.moe/a/fate-zero
Making Anime directory..
Creating fate-zero
making it https://twist.moe/a/fate-zero/1
Fetching info...
Traceback (most recent call last):
  File "../decrypt.py", line 6, in <module>
    from Crypto.Cipher import AES
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\__init__.py", line 27, in <module>
    from Crypto.Cipher._mode_ecb import _create_ecb_cipher
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\_mode_ecb.py", line 47, in <module>
    """
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Util\_raw_api.py", line 300, in load_pycryptodome_raw_lib
    raise OSError("Cannot load native module '%s': %s" % (name, ", ".join(attempts)))
OSError: Cannot load native module 'Crypto.Cipher._raw_ecb': Trying '_raw_ecb.cp37-win_amd64.pyd': [WinError 126] The specified module could not be found, Trying '_raw_ecb.pyd': [WinError 126] The specified module could not be found
Traceback (most recent call last):
  File "../decrypt.py", line 6, in <module>
    from Crypto.Cipher import AES
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\__init__.py", line 27, in <module>
    from Crypto.Cipher._mode_ecb import _create_ecb_cipher
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\_mode_ecb.py", line 47, in <module>
    """
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Util\_raw_api.py", line 300, in load_pycryptodome_raw_lib
    raise OSError("Cannot load native module '%s': %s" % (name, ", ".join(attempts)))
OSError: Cannot load native module 'Crypto.Cipher._raw_ecb': Trying '_raw_ecb.cp37-win_amd64.pyd': [WinError 126] The specified module could not be found, Trying '_raw_ecb.pyd': [WinError 126] The specified module could not be found
Traceback (most recent call last):
  File "../decrypt.py", line 6, in <module>
    from Crypto.Cipher import AES
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\__init__.py", line 27, in <module>
    from Crypto.Cipher._mode_ecb import _create_ecb_cipher
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\_mode_ecb.py", line 47, in <module>
    """
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Util\_raw_api.py", line 300, in load_pycryptodome_raw_lib
    raise OSError("Cannot load native module '%s': %s" % (name, ", ".join(attempts)))
OSError: Cannot load native module 'Crypto.Cipher._raw_ecb': Trying '_raw_ecb.cp37-win_amd64.pyd': [WinError 126] The specified module could not be found, Trying '_raw_ecb.pyd': [WinError 126] The specified module could not be found
Traceback (most recent call last):
  File "../decrypt.py", line 6, in <module>
    from Crypto.Cipher import AES
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\__init__.py", line 27, in <module>
    from Crypto.Cipher._mode_ecb import _create_ecb_cipher
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\_mode_ecb.py", line 47, in <module>
    """
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Util\_raw_api.py", line 300, in load_pycryptodome_raw_lib
    raise OSError("Cannot load native module '%s': %s" % (name, ", ".join(attempts)))
OSError: Cannot load native module 'Crypto.Cipher._raw_ecb': Trying '_raw_ecb.cp37-win_amd64.pyd': [WinError 126] The specified module could not be found, Trying '_raw_ecb.pyd': [WinError 126] The specified module could not be found
Traceback (most recent call last):
  File "../decrypt.py", line 6, in <module>
    from Crypto.Cipher import AES
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\__init__.py", line 27, in <module>
    from Crypto.Cipher._mode_ecb import _create_ecb_cipher
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\_mode_ecb.py", line 47, in <module>
    """
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Util\_raw_api.py", line 300, in load_pycryptodome_raw_lib
    raise OSError("Cannot load native module '%s': %s" % (name, ", ".join(attempts)))
OSError: Cannot load native module 'Crypto.Cipher._raw_ecb': Trying '_raw_ecb.cp37-win_amd64.pyd': [WinError 126] The specified module could not be found, Trying '_raw_ecb.pyd': [WinError 126] The specified module could not be found
Traceback (most recent call last):
  File "../decrypt.py", line 6, in <module>
    from Crypto.Cipher import AES
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\__init__.py", line 27, in <module>
    from Crypto.Cipher._mode_ecb import _create_ecb_cipher
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\_mode_ecb.py", line 47, in <module>
    """
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Util\_raw_api.py", line 300, in load_pycryptodome_raw_lib
    raise OSError("Cannot load native module '%s': %s" % (name, ", ".join(attempts)))
OSError: Cannot load native module 'Crypto.Cipher._raw_ecb': Trying '_raw_ecb.cp37-win_amd64.pyd': [WinError 126] The specified module could not be found, Trying '_raw_ecb.pyd': [WinError 126] The specified module could not be found
Traceback (most recent call last):
  File "../decrypt.py", line 6, in <module>
    from Crypto.Cipher import AES
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\__init__.py", line 27, in <module>
    from Crypto.Cipher._mode_ecb import _create_ecb_cipher
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\_mode_ecb.py", line 47, in <module>
    """
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Util\_raw_api.py", line 300, in load_pycryptodome_raw_lib
    raise OSError("Cannot load native module '%s': %s" % (name, ", ".join(attempts)))
OSError: Cannot load native module 'Crypto.Cipher._raw_ecb': Trying '_raw_ecb.cp37-win_amd64.pyd': [WinError 126] The specified module could not be found, Trying '_raw_ecb.pyd': [WinError 126] The specified module could not be found
Traceback (most recent call last):
  File "../decrypt.py", line 6, in <module>
    from Crypto.Cipher import AES
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\__init__.py", line 27, in <module>
    from Crypto.Cipher._mode_ecb import _create_ecb_cipher
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\_mode_ecb.py", line 47, in <module>
    """
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Util\_raw_api.py", line 300, in load_pycryptodome_raw_lib
    raise OSError("Cannot load native module '%s': %s" % (name, ", ".join(attempts)))
OSError: Cannot load native module 'Crypto.Cipher._raw_ecb': Trying '_raw_ecb.cp37-win_amd64.pyd': [WinError 126] The specified module could not be found, Trying '_raw_ecb.pyd': [WinError 126] The specified module could not be found
Traceback (most recent call last):
  File "../decrypt.py", line 6, in <module>
    from Crypto.Cipher import AES
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\__init__.py", line 27, in <module>
    from Crypto.Cipher._mode_ecb import _create_ecb_cipher
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\_mode_ecb.py", line 47, in <module>
    """
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Util\_raw_api.py", line 300, in load_pycryptodome_raw_lib
    raise OSError("Cannot load native module '%s': %s" % (name, ", ".join(attempts)))
OSError: Cannot load native module 'Crypto.Cipher._raw_ecb': Trying '_raw_ecb.cp37-win_amd64.pyd': [WinError 126] The specified module could not be found, Trying '_raw_ecb.pyd': [WinError 126] The specified module could not be found
Traceback (most recent call last):
  File "../decrypt.py", line 6, in <module>
    from Crypto.Cipher import AES
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\__init__.py", line 27, in <module>
    from Crypto.Cipher._mode_ecb import _create_ecb_cipher
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\_mode_ecb.py", line 47, in <module>
    """
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Util\_raw_api.py", line 300, in load_pycryptodome_raw_lib
    raise OSError("Cannot load native module '%s': %s" % (name, ", ".join(attempts)))
OSError: Cannot load native module 'Crypto.Cipher._raw_ecb': Trying '_raw_ecb.cp37-win_amd64.pyd': [WinError 126] The specified module could not be found, Trying '_raw_ecb.pyd': [WinError 126] The specified module could not be found
Traceback (most recent call last):
  File "../decrypt.py", line 6, in <module>
    from Crypto.Cipher import AES
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\__init__.py", line 27, in <module>
    from Crypto.Cipher._mode_ecb import _create_ecb_cipher
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\_mode_ecb.py", line 47, in <module>
    """
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Util\_raw_api.py", line 300, in load_pycryptodome_raw_lib
    raise OSError("Cannot load native module '%s': %s" % (name, ", ".join(attempts)))
OSError: Cannot load native module 'Crypto.Cipher._raw_ecb': Trying '_raw_ecb.cp37-win_amd64.pyd': [WinError 126] The specified module could not be found, Trying '_raw_ecb.pyd': [WinError 126] The specified module could not be found
Traceback (most recent call last):
  File "../decrypt.py", line 6, in <module>
    from Crypto.Cipher import AES
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\__init__.py", line 27, in <module>
    from Crypto.Cipher._mode_ecb import _create_ecb_cipher
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\_mode_ecb.py", line 47, in <module>
    """
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Util\_raw_api.py", line 300, in load_pycryptodome_raw_lib
    raise OSError("Cannot load native module '%s': %s" % (name, ", ".join(attempts)))
OSError: Cannot load native module 'Crypto.Cipher._raw_ecb': Trying '_raw_ecb.cp37-win_amd64.pyd': [WinError 126] The specified module could not be found, Trying '_raw_ecb.pyd': [WinError 126] The specified module could not be found
Traceback (most recent call last):
  File "../decrypt.py", line 6, in <module>
    from Crypto.Cipher import AES
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\__init__.py", line 27, in <module>
    from Crypto.Cipher._mode_ecb import _create_ecb_cipher
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\_mode_ecb.py", line 47, in <module>
    """
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Util\_raw_api.py", line 300, in load_pycryptodome_raw_lib
    raise OSError("Cannot load native module '%s': %s" % (name, ", ".join(attempts)))
OSError: Cannot load native module 'Crypto.Cipher._raw_ecb': Trying '_raw_ecb.cp37-win_amd64.pyd': [WinError 126] The specified module could not be found, Trying '_raw_ecb.pyd': [WinError 126] The specified module could not be found
Traceback (most recent call last):
  File "../decrypt.py", line 6, in <module>
    from Crypto.Cipher import AES
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\__init__.py", line 27, in <module>
    from Crypto.Cipher._mode_ecb import _create_ecb_cipher
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\_mode_ecb.py", line 47, in <module>
    """
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Util\_raw_api.py", line 300, in load_pycryptodome_raw_lib
    raise OSError("Cannot load native module '%s': %s" % (name, ", ".join(attempts)))
OSError: Cannot load native module 'Crypto.Cipher._raw_ecb': Trying '_raw_ecb.cp37-win_amd64.pyd': [WinError 126] The specified module could not be found, Trying '_raw_ecb.pyd': [WinError 126] The specified module could not be found
Traceback (most recent call last):
  File "../decrypt.py", line 6, in <module>
    from Crypto.Cipher import AES
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\__init__.py", line 27, in <module>
    from Crypto.Cipher._mode_ecb import _create_ecb_cipher
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\_mode_ecb.py", line 47, in <module>
    """
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Util\_raw_api.py", line 300, in load_pycryptodome_raw_lib
    raise OSError("Cannot load native module '%s': %s" % (name, ", ".join(attempts)))
OSError: Cannot load native module 'Crypto.Cipher._raw_ecb': Trying '_raw_ecb.cp37-win_amd64.pyd': [WinError 126] The specified module could not be found, Trying '_raw_ecb.pyd': [WinError 126] The specified module could not be found
Traceback (most recent call last):
  File "../decrypt.py", line 6, in <module>
    from Crypto.Cipher import AES
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\__init__.py", line 27, in <module>
    from Crypto.Cipher._mode_ecb import _create_ecb_cipher
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\_mode_ecb.py", line 47, in <module>
    """
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Util\_raw_api.py", line 300, in load_pycryptodome_raw_lib
    raise OSError("Cannot load native module '%s': %s" % (name, ", ".join(attempts)))
OSError: Cannot load native module 'Crypto.Cipher._raw_ecb': Trying '_raw_ecb.cp37-win_amd64.pyd': [WinError 126] The specified module could not be found, Trying '_raw_ecb.pyd': [WinError 126] The specified module could not be found
Traceback (most recent call last):
  File "../decrypt.py", line 6, in <module>
    from Crypto.Cipher import AES
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\__init__.py", line 27, in <module>
    from Crypto.Cipher._mode_ecb import _create_ecb_cipher
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\_mode_ecb.py", line 47, in <module>
    """
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Util\_raw_api.py", line 300, in load_pycryptodome_raw_lib
    raise OSError("Cannot load native module '%s': %s" % (name, ", ".join(attempts)))
OSError: Cannot load native module 'Crypto.Cipher._raw_ecb': Trying '_raw_ecb.cp37-win_amd64.pyd': [WinError 126] The specified module could not be found, Trying '_raw_ecb.pyd': [WinError 126] The specified module could not be found
Traceback (most recent call last):
  File "../decrypt.py", line 6, in <module>
    from Crypto.Cipher import AES
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\__init__.py", line 27, in <module>
    from Crypto.Cipher._mode_ecb import _create_ecb_cipher
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\_mode_ecb.py", line 47, in <module>
    """
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Util\_raw_api.py", line 300, in load_pycryptodome_raw_lib
    raise OSError("Cannot load native module '%s': %s" % (name, ", ".join(attempts)))
OSError: Cannot load native module 'Crypto.Cipher._raw_ecb': Trying '_raw_ecb.cp37-win_amd64.pyd': [WinError 126] The specified module could not be found, Trying '_raw_ecb.pyd': [WinError 126] The specified module could not be found
Traceback (most recent call last):
  File "../decrypt.py", line 6, in <module>
    from Crypto.Cipher import AES
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\__init__.py", line 27, in <module>
    from Crypto.Cipher._mode_ecb import _create_ecb_cipher
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\_mode_ecb.py", line 47, in <module>
    """
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Util\_raw_api.py", line 300, in load_pycryptodome_raw_lib
    raise OSError("Cannot load native module '%s': %s" % (name, ", ".join(attempts)))
OSError: Cannot load native module 'Crypto.Cipher._raw_ecb': Trying '_raw_ecb.cp37-win_amd64.pyd': [WinError 126] The specified module could not be found, Trying '_raw_ecb.pyd': [WinError 126] The specified module could not be found
Traceback (most recent call last):
  File "../decrypt.py", line 6, in <module>
    from Crypto.Cipher import AES
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\__init__.py", line 27, in <module>
    from Crypto.Cipher._mode_ecb import _create_ecb_cipher
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\_mode_ecb.py", line 47, in <module>
    """
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Util\_raw_api.py", line 300, in load_pycryptodome_raw_lib
    raise OSError("Cannot load native module '%s': %s" % (name, ", ".join(attempts)))
OSError: Cannot load native module 'Crypto.Cipher._raw_ecb': Trying '_raw_ecb.cp37-win_amd64.pyd': [WinError 126] The specified module could not be found, Trying '_raw_ecb.pyd': [WinError 126] The specified module could not be found
Traceback (most recent call last):
  File "../decrypt.py", line 6, in <module>
    from Crypto.Cipher import AES
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\__init__.py", line 27, in <module>
    from Crypto.Cipher._mode_ecb import _create_ecb_cipher
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\_mode_ecb.py", line 47, in <module>
    """
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Util\_raw_api.py", line 300, in load_pycryptodome_raw_lib
    raise OSError("Cannot load native module '%s': %s" % (name, ", ".join(attempts)))
OSError: Cannot load native module 'Crypto.Cipher._raw_ecb': Trying '_raw_ecb.cp37-win_amd64.pyd': [WinError 126] The specified module could not be found, Trying '_raw_ecb.pyd': [WinError 126] The specified module could not be found
Traceback (most recent call last):
  File "../decrypt.py", line 6, in <module>
    from Crypto.Cipher import AES
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\__init__.py", line 27, in <module>
    from Crypto.Cipher._mode_ecb import _create_ecb_cipher
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\_mode_ecb.py", line 47, in <module>
    """
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Util\_raw_api.py", line 300, in load_pycryptodome_raw_lib
    raise OSError("Cannot load native module '%s': %s" % (name, ", ".join(attempts)))
OSError: Cannot load native module 'Crypto.Cipher._raw_ecb': Trying '_raw_ecb.cp37-win_amd64.pyd': [WinError 126] The specified module could not be found, Trying '_raw_ecb.pyd': [WinError 126] The specified module could not be found
Traceback (most recent call last):
  File "../decrypt.py", line 6, in <module>
    from Crypto.Cipher import AES
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\__init__.py", line 27, in <module>
    from Crypto.Cipher._mode_ecb import _create_ecb_cipher
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\_mode_ecb.py", line 47, in <module>
    """
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Util\_raw_api.py", line 300, in load_pycryptodome_raw_lib
    raise OSError("Cannot load native module '%s': %s" % (name, ", ".join(attempts)))
OSError: Cannot load native module 'Crypto.Cipher._raw_ecb': Trying '_raw_ecb.cp37-win_amd64.pyd': [WinError 126] The specified module could not be found, Trying '_raw_ecb.pyd': [WinError 126] The specified module could not be found
Traceback (most recent call last):
  File "../decrypt.py", line 6, in <module>
    from Crypto.Cipher import AES
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\__init__.py", line 27, in <module>
    from Crypto.Cipher._mode_ecb import _create_ecb_cipher
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\_mode_ecb.py", line 47, in <module>
    """
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Util\_raw_api.py", line 300, in load_pycryptodome_raw_lib
    raise OSError("Cannot load native module '%s': %s" % (name, ", ".join(attempts)))
OSError: Cannot load native module 'Crypto.Cipher._raw_ecb': Trying '_raw_ecb.cp37-win_amd64.pyd': [WinError 126] The specified module could not be found, Trying '_raw_ecb.pyd': [WinError 126] The specified module could not be found
Traceback (most recent call last):
  File "../decrypt.py", line 6, in <module>
    from Crypto.Cipher import AES
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\__init__.py", line 27, in <module>
    from Crypto.Cipher._mode_ecb import _create_ecb_cipher
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Cipher\_mode_ecb.py", line 47, in <module>
    """
  File "C:\Users\Christopher\AppData\Roaming\Python\Python37\site-packages\Crypto\Util\_raw_api.py", line 300, in load_pycryptodome_raw_lib
    raise OSError("Cannot load native module '%s': %s" % (name, ", ".join(attempts)))
OSError: Cannot load native module 'Crypto.Cipher._raw_ecb': Trying '_raw_ecb.cp37-win_amd64.pyd': [WinError 126] The specified module could not be found, Trying '_raw_ecb.pyd': [WinError 126] The specified module could not be found

Creating fate-zero/list.txt
copying download.sh to fate-zero
Done
Check the Anime/fate-zero folder
Enjoy
fate-zero Added to animelist.txt

Christopher@Lilith  /d/Twist/twist.moe (master)
$ cd Anime/fate-zero

Christopher@Lilith  /d/Twist/twist.moe/Anime/fate-zero (master)
$ ./download.sh
curl is installed: yes
cat: list.txt: No such file or directory
Total no of episodes : 0
Enter 'a' for all episodes
start at:
1
end at:
25
cat: list.txt: No such file or directory

It might be because of
[setup.sh] > python3 command is not accesible from the script

But as I mentioned I've restarted and clean installed  - Python, Git Bash, CMDER and the repository
Still scratching my head on what I have done wrong.

Thanks for reporting I started a fix, you can expect it to work soon.
On Thu, Aug 22, 2019 at 4:17 PM 9HitCode<EMAIL_ADDRESS>wrote:

It might be because of
[setup.sh] > python3 command is not accesible from the script
But as I mentioned I've restarted and clean installed - Python, Git Bash,
CMDER and the repository
Still scratching my head on what I have done wrong.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/phanirithvij/twist.moe/issues/16?email_source=notifications&email_token=AHCBL6QC2IGK4KREMZCFEODQFZVCVA5CNFSM4IOTRCNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD44VSAI#issuecomment-523852033,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHCBL6TZSRA6AZ4U5RYV7MTQFZVCVANCNFSM4IOTRCNA
.

I fixed it.
Just remove that directory (folder) twist.moe and do the ./setup.sh etc.. again.
Let me know if you have any more issues.

For future reference
The structure of the modules Crypto, pycrypto,  pycryptodome,  pycryptodomex are the cause of this problem.

I'm still not able to make it work
$ ./startp.sh
Making Anime directory..
Enter link from https://twist.moe/
https://twist.moe/a/fate-zero
Creating fate-zero
making it https://twist.moe/a/fate-zero/1
Fetching info...
rm: cannot remove '.temp.txt': No such file or directory
Traceback (most recent call last):
  File "../decrypt.py", line 10, in <module>
    from requests.utils import quote
ModuleNotFoundError: No module named 'requests'
Creating fate-zero/list.txt
copying download.sh to fate-zero
Done
Check the Anime/fate-zero folder
Enjoy
fate-zero Added to animelist.txt

When proceeding to the download.sh I get this error
$ ./download.sh
curl is installed: yes
cat: list.txt: No such file or directory
Total no of episodes : 0
Enter 'a' for all episodes
start at:
1
end at:
25
cat: list.txt: No such file or directory

I've Tried it in my other PC same error :(

I've fixed it too.
Try it again once more.

So did it again. Came up with this error
$ ./setup.sh
[setup.sh] > Python is installed
[setup.sh] > Version: Python 3.7.4
[setup.sh] > python3 command is not accesible from the script
Requirement already up-to-date: pycryptodomex in c:\users\christopher\appdata\roaming\python\python37\site-packages (from -r requirements.txt (line 1)) (3.8.2)
Collecting hashlib (from -r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/74/bb/9003d081345e9f0451884146e9ea2cff6e4cc4deac9ffd4a9ee98b318a49/hashlib-20081119.zip
    ERROR: Command errored out with exit status 1:
     command: 'C:\Users\Christopher\AppData\Local\Programs\Python\Python37\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\CHRIST~1\\AppData\\Local\\Temp\\pip-install-l7vsjqbx\\hashlib\\setup.py'"'"'; __file__='"'"'C:\\Users\\CHRIST~1\\AppData\\Local\\Temp\\pip-install-l7vsjqbx\\hashlib\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info
         cwd: C:\Users\CHRIST~1\AppData\Local\Temp\pip-install-l7vsjqbx\hashlib\
    Complete output (22 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\Christopher\AppData\Local\Programs\Python\Python37\lib\site-packages\setuptools\__init__.py", line 18, in <module>
        import setuptools.version
      File "C:\Users\Christopher\AppData\Local\Programs\Python\Python37\lib\site-packages\setuptools\version.py", line 1, in <module>
        import pkg_resources
      File "C:\Users\Christopher\AppData\Local\Programs\Python\Python37\lib\site-packages\pkg_resources\__init__.py", line 36, in <module>
        import email.parser
      File "C:\Users\Christopher\AppData\Local\Programs\Python\Python37\lib\email\parser.py", line 12, in <module>
        from email.feedparser import FeedParser, BytesFeedParser
      File "C:\Users\Christopher\AppData\Local\Programs\Python\Python37\lib\email\feedparser.py", line 27, in <module>
        from email._policybase import compat32
      File "C:\Users\Christopher\AppData\Local\Programs\Python\Python37\lib\email\_policybase.py", line 9, in <module>
        from email.utils import _has_surrogates
      File "C:\Users\Christopher\AppData\Local\Programs\Python\Python37\lib\email\utils.py", line 28, in <module>
        import random
      File "C:\Users\Christopher\AppData\Local\Programs\Python\Python37\lib\random.py", line 46, in <module>
        from hashlib import sha512 as _sha512
      File "C:\Users\CHRIST~1\AppData\Local\Temp\pip-install-l7vsjqbx\hashlib\hashlib.py", line 80
        raise ValueError, "unsupported hash type"
                        ^
    SyntaxError: invalid syntax
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
[setup.sh] > Installing Cryptodome successful
[setup.sh] > Installing requests successful
[setup.sh] > Installing hashlib successful
[setup.sh] > pycryptodomex, hashlib, requests for python installed

BUT after executing download.sh so far its downloading properly. Just thought of adding the error just in case.

@9HitCode That error is not important for now consider it as a warning instead of an error. Closing this.


Test: ipynb image attachment renderer

Refs: #119961 #155777

[x] Mac @rebornix, @sandy081
[ ] Windows @rzhao271, @hediet
[ ] Linux @sadasant

Complexity: 2
Authors: @Yoyokrazy

Summary:
VScode now supports the builtin rendering of images within markdown ipynb cells when stored as attachment encoded base64 data.
Basics:

Within vscode/extensions/ipynb/src is now the file cellAttachmentRenderer.ts which extends the markdown renderer implemented inside the builtin markdown-language-features extension. There is a new image rule extended, which access and renders the attached base64 image data from within the cell metadata when the markdown source references !()[attachment:filename.filetype]

Steps to Test:
This is specifically a test to render images from notebooks that are created outside of vscode. Previously, vscode did not support images referenced via attachment metadata. Follow the procedure below:

Launch jupyter notebooks web client via conda or the command line with python using python -m notebook
Create a new notebook inside the web client and create the following cases

Take a screenshot and paste it into a markdown cell
Take multiple screenshots and paste multiple into the same markdown cell. This will create !()[attachment:image.png] , !()[attachment:image-2.png] , !()[attachment:image-3.png] etc.
Copy a png file and paste it into a cell (this will have the format of !()[attachment:filename.png] isntead of !()[attachment:image.png]

Save the file in jupyter, and re-open inside vscode with just the builtin ipynb extension

Things to Check:

The images all render
The correct images render in the correct locations
Cells with multiple images render in the proper order

@Yoyokrazy would you please find volunteers for testing, thanks.

there was an issue with how the scripts were built, should be fixed in the next insiders publish with https://github.com/microsoft/vscode/pull/156469

I'll test on Linux!

On Linux:

The jupyter notebooks web client is not allowing me to upload more than one picture consistently.

I was able to upload one picture, and then it stopped working.
I can only upload another picture by creating a new notebook.
Even if I can upload one picture per notebook, the path to this picture isn't good. I have the picture in Downloads and the path ends up only having the name, without the folder nor the rest of the path to that picture.

After opening the same file in VSCode, I can't see the picture.

Screenshots:

I don't think this is a VSCode issue per se. It seems like a Jupyter bug 🤔

It works, but I wasn't able to paste pictures from the explorer into Jupyter (only screenshots from my screenshot tool worked).

@sadasant - can you retry with the update from last night, images should be rendering with the latest insiders patch

Even if I can upload one picture per notebook, the path to this picture isn't good. I have the picture in Downloads and the path ends up only having the name, without the folder nor the rest of the path to that picture.

@sadasant This is actually expected behavior. Jupyter brings along the file name, but the image itself is simply converted into base64 data and kept behind the notebook. There's no reference to the original file itself. Likely for the idea of keeping notebooks as portable as possible without needing people to transfer the image files as well.
As for the three points above that, not totally sure about the stability of Juypter's functionality, seems like they might have some bugs...

@amunger ok cool! now the image does display! Yay!!
@Yoyokrazy ok thank you! Yeah I think Jupyter has some bugs, at least in Linux.
So, things look good from what I can tell, given the limitations of Jupyter on linux.

The image attachment preview looks good, great work!
There is only one bug that we throw an error when we fail to find an image attachment and break the whole markdown preview, I'll suggest we have it fixed before release. We may also want to explore how to prevent markdown renderer plugins bring down the whole markdown preview. cc @mjbvz


dwt_max_level: avoid taking uint_log2 of values<1

Fixes a bug in dwt_max_level when the input is shorter than the wavelet coefficient vector.
example of the bug on current master:
In[19]: dwt_max_level(16, 24)
Out[19]: 16

after the fix, 0 is returned as expected.

Good catch, +1.
This is the only place uint_log2 is used, but if it might be worth moving the check into uint_log2 in case that changes (note __builtin_clzl is undefined for x == 0, but _BitScanReverse will return 0).

OK, I'm really nit-picking now, but the original change to dwt_max_level isn't necessary anymore, since uint_log2 now has defined behaviour. Sorry!

okay.  I left only the  if(filter_len < 2) check in place to avoid a potential divide by zero if filter_len is 1.

That looks right to me, but not to AppVeyor. _BitScanReverse64 might be worth a try? I'm not sure though, this is interesting. AppVeyor only says AssertionError, so if you have a windows toolchain to hand you might be better placed to debug.

Hmm, that's not it. I'm sure there is a computer with MSVC on it around here somewhere, I'll see if I can track it down. This has me intrigued now.

I misread the documentation of _BitScanReverse when implementing this. The return value is 0 if no set bits are found, not the output value loaded into the Index parameter. In this case, I think 795526e is the correct approach, though the comment accompanying uint_log2 should note that the result is undefined for 0 on all platforms. This also mimics Python's behaviour (though that raises an exception of course).
There is a second problem I've come across, namely that on 64-bit platforms we should be using _BitScanReverse64, while on 32-bit platforms we should be using _BitScanReverse. The build warning about mismatching types is not flagged in AppVeyor, so I only came across it when debugging this on windows. I'll see if I can find anything appropriate.
Sorry this has dragged on for so long.

should I remove the 9f9bb36 "merge" commit from here?

I don't know - I think in past we've removed them, but a few seem to have snuck into the history anyway. Don't see any harm in doing it either way.

Agreed, doesn't do harm either way. And in this case it's a small merge commit that reflects real development history, so much better than "merge master into development branch". The latter we do like to avoid.


Path must be a string. Received undefined

Hi guys I'm trying to build my app on android. I'm using windows, but i just receive :
Path must be a string.
As NativeScript 3.0.0 introduced some breaking changes, it is not backward compatible with 2.5.x. So you should either add your Android platform version 2.5.0 or update and migrate the whole project to 3.0.0 (meaning that you will have to set plugin versions compatible with 3.0.0. and also correct any breaking changes that need correction in your code base).
To build your project for 2.5.0 do the following:
rm -rf node_modules
tns platform remove android
tns platform add<EMAIL_ADDRESS>tns build android

Hey thanks @NickIliev ! :)
additionally , i had to run:
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
now its working on ubuntu.
But i would like it works on windows

@HenriqueMatias can you clarify what is the issue you are hitting on Windows?

Can you create a brand new project on Windows or are you having troubles only with the migrated one?
What version of NativeScript CLI are you using? (tns --version)

@HenriqueMatias this error might appear if you do not have the Android SDK installed. Verify that you have installed Android SDK and set the environment variables and let us know if you need further assistance.

It would appear that I have my environment variables, and the latest version of tns-android and tns-core-modules installed. I opened Android Studio and updated to the latest sdk. Any ideas why I'm getting this error? (I'm able to run iOS without a problem)
package.json
{
	"description": "NativeScript Application",
	"license": "SEE LICENSE IN <your-license-filename>",
	"readme": "NativeScript Application",
	"repository": "<fill-your-repository-here>",
	"nativescript": {
		"id": "org.nativescript.nsWebsurg",
		"tns-ios": {
			"version": "3.0.1"
		}
	},
	"dependencies": {
		"@angular/animations": "~4.2.3",
		"@angular/common": "~4.2.3",
		"@angular/compiler": "~4.2.3",
		"@angular/core": "~4.2.3",
		"@angular/forms": "~4.2.3",
		"@angular/http": "~4.2.3",
		"@angular/platform-browser": "~4.2.3",
		"@angular/router": "~4.2.3",
		"nativescript-angular": "~3.0.0",
		"nativescript-telerik-ui": "^2.0.1",
		"nativescript-theme-core": "~1.0.2",
		"reflect-metadata": "~0.1.8",
		"rxjs": "~5.4.1",
		"tns-android": "3.0.1",
		"tns-core-modules": "~3.0.0",
		"zone.js": "~0.8.2"
	},
	"devDependencies": {
		"nativescript-dev-sass": "^1.1.1",
		"nativescript-dev-typescript": "~0.4.0",
		"node-sass": "*",
		"typescript": "~2.3.4"
	}
}

.bash_profile
export ANDROID_HOME="${HOME}/Library/Android/sdk"
export PATH="$ANDROID_HOME/tools:$PATH"
export PATH="$ANDROID_HOME/platform-tools:$PATH"

Error:

The plugin<EMAIL_ADDRESS>is already installed
TypeError: Path must be a string. Received undefined
# run android

Hi @rugdealer
+1 on this issue. Please help.

I ran on the same issue after remove my old android sdk setup that was installed via brew and install Android Studio instead.  (Mac)
Here a list of most important things I have done to to fix mine.
sdkmanager
Make sure you have the following installed by sdkmanager to resolve tns doctor complaints(versions are important):

"platforms;android-25"
"build-tools;25.0.3"
"extras;android;m2repository"

Here is my sdkmanager --list:
$ $ANDROID_HOME/tools/bin/sdkmanager --list
Installed packages:
  Path                              | Version      | Description                       | Location
  -------                           | -------      | -------                           | -------
  build-tools;25.0.3                | 25.0.3       | Android SDK Build-Tools 25.0.3    | build-tools/25.0.3/
  build-tools;26.0.0                | 26.0.0       | Android SDK Build-Tools 26        | build-tools/26.0.0/
  emulator                          | 26.0.3       | Android Emulator                  | emulator/
  extras;android;m2repository       | 47.0.0       | Android Support Repository        | extras/android/m2repository/
  extras;google;g...e_play_services | 41           | Google Play services              | extras/google/g..._play_services/
  extras;google;m2repository        | 54           | Google Repository                 | extras/google/m2repository/
  extras;intel;Ha...ecution_Manager | 6.1.1        | Intel x86 Emulator Accelerator... | extras/intel/Ha...cution_Manager/
  extras;m2reposi...ut-solver;1.0.2 | 1            | Solver for ConstraintLayout 1.0.2 | extras/m2reposi...t-solver/1.0.2/
  extras;m2reposi...nt-layout;1.0.2 | 1            | ConstraintLayout for Android 1... | extras/m2reposi...t-layout/1.0.2/
  ndk-bundle                        | 15.0.4075724 | NDK                               | ndk-bundle/
  patcher;v4                        | 1            | SDK Patch Applier v4              | patcher/v4/
  platform-tools                    | 26.0.0       | Android SDK Platform-Tools        | platform-tools/
  platforms;android-25              | 3            | Android SDK Platform 25           | platforms/android-25/
  platforms;android-26              | 1            | Android SDK Platform 26           | platforms/android-26/
  system-images;a...google_apis;x86 | 4            | Google APIs Intel x86 Atom Sys... | system-images/a...oogle_apis/x86/
  tools                             | 26.0.2       | Android SDK Tools                 | tools/

package.json  (important)
tns-android DOSE NOT belong to dependencies.  It should be under nativescript. Somehow the build process fail to move tns-android after adding it as dependencies.
To fix this, remove it from dependencies.  Then add from tns platform android or just tns run android


Set proper icon for disable location notification (Only for android)

Description:
This issue is related to jira SAF-827. Previously a blank spot use to appear before location disable notification, now app icon image is been set.

generated notification icon according to different android device size using link: http://romannurik.github.io/AndroidAssetStudio/icons-notification.html#source.type=image&source.space.trim=1&source.space.pad=0&name=ic_stat_logomark_gps2x
gave app color to notification icon

Linked issues:
Related to jira SAF-827.

Screenshots:

How to test:

Thank you for the PR! It looks like this is failing the prettier check -- yarn format:all may resolve these if they are auto fixable


Build error related to "@import" of styles

I'm importing an SCSS file with shared styles in some of my Vue components:
<style lang="scss">
    @import<EMAIL_ADDRESS></style>

Running the dev server works fine with the above lines, but the production build fails with the following error:
Module build failed: ReferenceError: document is not defined
I tried commenting out the following lines in build/utils.js:
if (options.extract) {
    return ExtractTextPlugin.extract({
    use: loaders,
    fallback: 'vue-style-loader'
    })
} else {
    return ['vue-style-loader'].concat(loaders)
}

This led to a different error:
Unexpected character '@' (110:0)
You may need an appropriate loader to handle this file type.
@import<EMAIL_ADDRESS>
The only change I've made to the original build file is adding @babel/polyfill in the Webpack entry configuration:
entry: {
    app: ['@babel/polyfill', './src/main.js']
},

However, I read on Babel's website that @babel/polyfill has been deprecated, so I changed it to:
entry: {
    app: ['core-js/stable', 'regenerator-runtime/runtime', './src/main.js']
}

Any idea how to fix the production build?

I was able to resolve the issue by adding the following rule to webpack.base.conf.js:
module: {
    rules: [
        {
            test: /\.scss$/,
            use: [
                'vue-style-loader',
                'css-loader',
                {
                    loader: 'sass-loader',
                }
            ]
        }
    ],
    ...
}


pan.baidu.com.py 登录失败

bp login
/usr/local/lib/python2.7/site-packages/cffi/model.py:526: UserWarning: 'point_conversion_form_t' has no values explicitly defined; next version will refuse to guess which integer type it is meant to be (unsigned/signed, int/long)
% self._get_c_name())
username<EMAIL_ADDRESS>password:
-- login
Traceback (most recent call last):
File "/root/iScript/pan.baidu.com.py", line 3592, in
main(argv)
File "/root/iScript/pan.baidu.com.py", line 3588, in main
handle_command(comd, xxx)
File "/root/iScript/pan.baidu.com.py", line 3124, in handle_command
xh.login(username, password)
File "/root/iScript/pan.baidu.com.py", line 365, in login
'login')
File "/root/iScript/pan.baidu.com.py", line 248, in _request
response = ss.request(method, url, **kwargs)
File "/root/iScript/requests/sessions.py", line 488, in request
resp = self.send(prep, **send_kwargs)
File "/root/iScript/requests/sessions.py", line 609, in send
r = adapter.send(request, **kwargs)
File "/root/iScript/requests/adapters.py", line 497, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: hostname 'passport.baidu.com' doesn't match u'baidu.com'
另外想请问头四行的错误是我弄错还是弄漏了啥吗？

requests 报错，试试把 requests 删除后再重装

感谢，把requests换回2.6.0就好了


add custom inner children

Adds customInnerChildren prop to decorateHyper so that plugins can reside inside the hyper-main such as hyper-statusline plugin.
It's necessary to easily inherit styles applied to hyper-main such as the new uiFontFamily ✌

Super +1. A note on website would be neat though.


support for creating c++ package

Question

does it support for creating c++ package?

This can support any package types NuGet can create. I'm not sure how well C++ projects can consume nuget packages.

C++ project (and C++/CLI too) can consume nuget packages in the packages.config way - see native packages: https://docs.microsoft.com/en-us/nuget/guides/native-packages
The creation process is kind of painful to do manually - there was a tool named coapp - http://coapp.org/  | https://github.com/coapp but it's not supported anymore. Vcpkg now has an option to create nuget packages: https://devblogs.microsoft.com/cppblog/vcpkg-introducing-export-command/


Hybrid rendering doesn't generate spa fallback html

Environment

Operating System: Darwin
Node Version:     v16.20.1
Nuxt Version:     3.6.5
Nitro Version:    2.5.2
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      nitro, app, ui, devtools, typescript, vue, modules, content, colorMode, vite
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
https://stackblitz.com/edit/github-h3ry36?file=nuxt.config.ts
Describe the bug
Got this config:
export default defineNuxtConfig({
  nitro: {
    routeRules: {
      '/**': { prerender: true },
      '/spa': { ssr: false },
    },
    prerender: {
      crawlLinks: true,
      routes: ['/', ],
    },
  },
})

After `pnpm build`, there are no fallback html generated for `spa` page.
If this isn't a bug, how to generate the fallback htmls like nuxt generate?
Additional context
No response
Logs
No response

@jf908 It works!
However, I didn't turn prerendering off by default, but I still need to declare /200.html to make it work:
nitro: {
  routeRules: {
    '/200.html': { prerender: true },
    '/**': { prerender: true },
    '/mine/**': { ssr: false },
    '/shop/**': { ssr: false },
  },
  prerender: {
    crawlLinks: true,
    routes: ['/'],
  },
},

I think this should be explicitly documented in docs. @danielroe

Yes, it would make sense to make sure we explain about 200.html and 404.html and how to generate them.

Depending on the preset (I am using aws-lambda) it seems that the configuration needs to be slightly different from what is reported here.
What works for me is
export default defineNuxtConfig({
  nitro: {
    prerender: {
      routes: ['/200/index.html'],
    },
    routeRules: {
      '/200/index.html': { ssr: false },
    }
  }
});


Allow to embed SVGs to enable accessing VS Code theme colors for fill and stroke properties

Currently VS Code allows to define SVGs for light and dark mode. While it allows to align to the users theming it still has a lot of limits especially when other colors than black and white are used, e.g.:

As you can see the VS Code icons adopt to the color scheme but our icon on the left stays white.
Solution
SVGs allow to define fill and stroke values based on CSS variables which would enable to set the stroke color based on the foreground color e.g. stroke="var(--vscode-foreground)". This would provide much better ways to align the icon according to the user theme. All what is needed for that to happen is to embed the SVG into the document rather than setting it via background-color.
Would the team be open to a PR that would embed the SVG into the document? In the package.json you could add an embed property to the icon one e.g.
      {
        "command": "runme.openAsRunmeNotebook",
        "category": "Runme",
        "title": "Open markdown as Runme",
        "icon": {
          "embed": true,
          "light": "assets/runme-logo-light.svg",
          "dark": "assets/runme-logo-dark.svg"
        }

Or a user could provide the raw SVG like this:
      {
        "command": "runme.openAsRunmeNotebook",
        "category": "Runme",
        "title": "Open markdown as Runme",
        "icon": "<svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M16 1H2C1.44772 1 1 1.44772 1 2V16C1 16.5523 1.44772 17 2 17H16C16.5523 17 17 16.5523 17 16V2C17 1.44772 16.5523 1 16 1Z\" fill=\"var(--vscode-errorForeground)\" stroke=\"var(--vscode-errorForeground)\" stroke-width=\"0.5\" />  <path d=\"M6 11.9842V6.00137C6 5.92847 12 8.92125 12 8.9928C12 9.06434 6 12.0776 6 11.9842Z\" fill=\"var(--vscode-errorForeground)\" stroke=\"var(--vscode-errorForeground)\" stroke-width=\"0.5\" /></svg>\""
      },

What do you think?

This is a bug in the editor toolbar: It should render the SVG with the icon color.
We have a method to render SVG with a specific color using masks.
I'm aware of the possibility to use variables in SVG. That's powerful, but too much for our use case given that we want icons to be singe-color (foreground/background).
If you need an immediate fix, you can switch to use icon fonts for your icons:
https://code.visualstudio.com/api/references/icons-in-labels#icon-contribution-point
Once you have defined an icon, you can then reference it by "icon": "$(your_icon)"
If you have many icons in your extension then it's worth the effort.

To reproduce:

install git lense
set

	"workbench.colorCustomizations": {
		"editorWarning.background": "#F5EAC144",
		"icon.foreground": "#ff0000"
	},

open an editor

I created a new issue in favour of this one. We have currently no plans to support CSS variables in SVGs

If you need an immediate fix, you can switch to use icon fonts for your icons:

Great advice, thank you!


Svg files added (16,32,64,128,256)

Added the svg files dogecoinX.svg ( X = 16, 32, 64, 128, 256 )  to the folder share/pixmaps.

This pull request is for the issue #1891


Add documentation for running on Summit

In particular, how to pre-configure Julia packages HDF5.jl and MPI.jl on Summit

@williamfgc , since you've actually run it on summit, can you update the documentation and the script for getting setup on summit?


cmake error

Describe the bug
I newly install ubuntu 18.04 on my pc, and follow the start guide, below is the error i meet.
cmake -DBOARD=qemu_x86 ..
Zephyr version: 1.14.0
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.6.7", minimum required is "3.4")
-- Selected BOARD qemu_x86
-- Loading /home/yhx/zephyrproject/zephyr/boards/x86/qemu_x86/qemu_x86.dts as base
-- Overlaying /home/yhx/zephyrproject/zephyr/dts/common/common.dts
/home/yhx/zephyrproject/zephyr/scripts/dts/extract_dts_includes.py:370: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
binding = merge_included_bindings(file, yaml.load(yf))
Traceback (most recent call last):
File "/home/yhx/zephyrproject/zephyr/scripts/dts/extract_dts_includes.py", line 520, in
main()
File "/home/yhx/zephyrproject/zephyr/scripts/dts/extract_dts_includes.py", line 503, in main
load_bindings(root, args.yaml)
File "/home/yhx/zephyrproject/zephyr/scripts/dts/extract_dts_includes.py", line 370, in load_bindings
binding = merge_included_bindings(file, yaml.load(yf))
File "/home/yhx/.local/lib/python3.6/site-packages/yaml/init.py", line 114, in load
return loader.get_single_data()
File "/home/yhx/.local/lib/python3.6/site-packages/yaml/constructor.py", line 43, in get_single_data
return self.construct_document(node)
File "/home/yhx/.local/lib/python3.6/site-packages/yaml/constructor.py", line 52, in construct_document
for dummy in generator:
File "/home/yhx/.local/lib/python3.6/site-packages/yaml/constructor.py", line 404, in construct_yaml_map
value = self.construct_mapping(node)
File "/home/yhx/.local/lib/python3.6/site-packages/yaml/constructor.py", line 210, in construct_mapping
return super().construct_mapping(node, deep=deep)
File "/home/yhx/.local/lib/python3.6/site-packages/yaml/constructor.py", line 135, in construct_mapping
value = self.construct_object(value_node, deep=deep)
File "/home/yhx/.local/lib/python3.6/site-packages/yaml/constructor.py", line 92, in construct_object
data = constructor(self, node)
File "/home/yhx/.local/lib/python3.6/site-packages/yaml/constructor.py", line 420, in construct_undefined
node.start_mark)
yaml.constructor.ConstructorError: could not determine a constructor for the tag '!include'
in "/home/yhx/zephyrproject/zephyr/dts/bindings/serial/ns16550.yaml", line 9, column 5
CMake Error at /home/yhx/zephyrproject/zephyr/cmake/dts.cmake:145 (message):
command failed with return code: 1
Call Stack (most recent call first):
/home/yhx/zephyrproject/zephyr/cmake/app/boilerplate.cmake:396 (include)
CMakeLists.txt:4 (include)
-- Configuring incomplete, errors occurred!
below is env:
env | grep ZE
ZEPHYR_TOOLCHAIN_VARIANT=zephyr
ZEPHYR_BASE=/home/yhx/zephyrproject/zephyr
ZEPHYR_SDK_INSTALL_DIR=/home/yhx/zephyr
To Reproduce
Steps to reproduce the behavior:

mkdir build; cd build
cmake -DBOARD=qemu_x86 ..
make
See error

Expected behavior
A clear and concise description of what you expected to happen.
Impact
What impact does this issue have on your progress (e.g., annoyance, showstopper)

@ulfalizer : Could you take a look?

@15658150157 this is a known issue that was fixed already here: https://github.com/zephyrproject-rtos/zephyr/pull/14497. Please take the latest master

@15658150157
I think this is fixed by commit 4278bf5673 ("scripts/dts: Fix for PyYAML 5.1 Loader changes"), which you don't seem to have.
If you don't want to use the latest master, this workaround might work (which downgrades pyyaml):
$ pip install --user pyyaml==3.13

CC @mike-scott

ok. solve it. very thanks.


fix: add type alias, easier on consumers

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

Comparison is base (2ffa12d) 95.03% compared to head (1eba519) 95.03%.
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #17   +/-   ##
=======================================
  Coverage   95.03%   95.03%
=======================================
  Files           1        1
  Lines         403      403
=======================================
  Hits          383      383
  Misses         20       20

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


Use NLU threshold to show no match in conversations module

Really sorry for #181, I was in an hurry and I missed something.
So as I said :
@paschmann @pradeepmvn This PR has the same commits as PR #179 + a new functionnality
New functionnality : set the NLU threshold of your policy (in the agent config) and the conversation module will set No match when the confidence is lower than the threshold !

Same for the previous PR (that i'll close), there is a lot of commit, i don't know why but only the few last have changes

@huberrom thanks for the Awesome PR. I will release current version on rasa-ui and then squash merge your commits into a new version.
On the threshold, I don't see where you are using it? Will be part of Rasa Core Policy?

We are using the threshold in the view messages_expressions, to compare with the confidence of the intent. If the confidence is lower than the threshold, then we set the intent to null so the conversation module say it's not a No match.
We have prepared a docker-compose + update of the read.me to easily use the conversation module, using logstash and rabbitMQ. I'll create a new PR once this one is merge :)


What should be ROLE_REGISTRY?

Hello there.
Reading the README.rst file and trying to understand the usage, one doubt arose:

For example, let’s say you have three groups named Takers, Leavers & Gods. Let’s also say you included "get_queryset" in the ROLE_REGISTRY.

I searched into django-rest-framework-roles using github's interface and I couldn't find any references to ROLE_REGISTRY besides the previous quoting. How can I set the Roles which will be used in a view?
Thanks in advance.

Hi @ayharano,
Forgive me - that is a typo. It should be VIEWSET_METHOD_REGISTRY. Will fix shortly.

How can I set the Roles which will be used in a view?

The roles available in each view are set with ROLE_GROUPS. By default, this is all of the groups in your application.


ImportError running make test in newly-cloned repo

I started working on #64, but I immediately hit a wall running the tests before making any changes. I followed the "Hacking" instructions, and started getting errors like ImportError: 'test_factory' module incorrectly imported from '<project_dir>/.tox/py27-django18/lib/python2.7/site-packages/mail_factory/tests'. Expected '<project_dir>/mail_factory/tests'. Is this module globally installed?. This error showed up in all Tox environments for Django 1.6+. For Django 1.4 and 1.5, I didn't get the error, but I get Coverage.py warning: No data was collected.
I posted a Gist of a fresh clone and environment setup, using commands from the Makefile instead of make test to limit the output to py27-django18 and py27-django15. There's also some information about my system in there, but in short, I'm on a MacBook Air running El Capitan, with Python 2.7.12 installed via Homebrew. But, I've had the same results on another MacBook and an Ubuntu VM, both using Python 2.x and 3.x installed via pyenv.
A little Googling suggests that the ImportError might be related to symlinks in virtualenvs, but I haven't dug into it yet. I see the Travis builds are succeeding, so I'm assuming there's something about my environment that's messing things up. Have any other developers encountered this? What development environments are people using? It's worth noting that this is the first time I've attempted hacking on a PyPI package, so I'm not yet familiar with setuptools.

I'm having the same issue on a fresh ubuntu:precise Docker container plus apt-get install python-setuptools python-dev build-essential git and easy_install pip==6.0.7 (which is what Travis seems to use).


Update MD file on new branch 2017-18-10_15-11-41

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestRef.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


[hi] Localize virtualization.md to Hindi

Signed-off-by: ANUSHKA SAXENA<EMAIL_ADDRESS>Describe your changes
Created a file virualization.md to localize the page: https://glossary.cncf.io/virtualization/ into Hindi
Related issue number
Resolves #1597
Checklist before opening this PR

[x] This PR does not contain plagiarism
[x] I have signed off on all commits

It seems this PR is ready to merge!
Just let me go through a final review once!


Bug using fig.savefig

Hi,
First, thx a lot for your amazing lib.
There's a mismatch between the image that is displayed with plt.show() and the image generated with fig.savefig() (and also with the image that you get by clicking Save the figure in plt.show window :
I don't know if you understand why?
Regards,
N. M.
PLT SHOW SCREENSHOT :

PLT "SAVE THE FIGURE"

(see the top right texts for example)
PLT SAVEFIG

Thanks for this bug report. I guess this may be caused by the incorrect update when the draw event happens. When I'm free, I'll try to fix this bug.

Hi, @NicolasMICAUX , an update is uploaded, and the bug should be solved. Please check it. If any problems, please leave a comment.

BTW, treemap has a little change. The wrap parameter is renamed to reflow for not introducing confusion, since matplotlib.text.Text has the wrap parameter


Handling offline mode in app init

Hi,
Is there any way to proceed with app normal flow when airplane mode is on? I am facing following error with my Android device in the subscribe callback and user is unable to continue using app.
E/unknown:ReactNative: Unable to launch redbox because react activity is not available, here is the error that redbox would've displayed: console.error: "Error from Branch: Trouble initializing Branch.  Branch API Error: poor network connectivity. Please try again later."
Using branch version ^2.3.3

Can you share what was wrong? Having similar issues.


Create a "native" smithy client to investigate how we should refactor our current implementation

Spend at most two weeks investigating:

What if smithy client was a function instead of a struct?
Can generics be removed from the smithy client without incurring a performance hit?
Could a native smithy client be refactored to actually use the retry_config, sleep_impl, and timeout_config set on the service config?
What changes that we can make are "one-way doors" and which are "two-way doors"?

The output of this task will likely be an RFC

What if smithy client was a function instead of a struct?

Merely converting the aws_smithy_client::Client into a function is not great. It ends up having 6 generic types with 6 arguments to abstract away a whole 10 lines of code.
I think the better alternative here is to completely eliminate aws_smithy_client::Client by moving call and call_raw into the fluent client, and creating a builder for the fluent client.
The timeout/retry creation could potentially be centralized within aws-smithy-client by having a function that operates on the tower ServiceBuilder.

seems reasonable to me!

This is no longer relevant since the Smithy client will no longer exist once the middleware implementation is removed.


[Freestanding] Disable child task priority spec.

Under the task-to-thread model, specifying a priority doesn't make sense.
Here, variations of addTask and addTaskUnlessCancelled are introduced which do not take a priority.  Additionally, the original functions are made unavailable.

@swift-ci please test

@swift-ci please test

Landing this via https://github.com/apple/swift/pull/60919 .


Mobile "friendliness"

Hi there,
First thanks for this super helpful project. I've created a blog post which does not render great on mobile. I am not super knowledgeable with css etc... / is there a way that to make the experience better on mobile that you know of ?

Hi @bsergean,
I don't know which version of StrapDown.js you are using on this blog post.
I use StrapDown.js for instance on the index pages on my website, and it works fine on mobile... (example: https://perso.crans.org/besson/slides/).
See also this page https://perso.crans.org/besson/s/md/
Try to download the latest version and update the css and js files?

Thanks ! I'll make sure I'm using the latest one. I have some big png on those pages, maybe they are messing up the layout.

On Feb 13, 2020, at 11:20 PM, Lilian Besson<EMAIL_ADDRESS>wrote:
Hi @bsergean https://github.com/bsergean,
I don't know which version of StrapDown.js you are using on this blog post.
I use StrapDown.js for instance on the index pages on my website, and it works fine on mobile... (example: https://perso.crans.org/besson/slides/ https://perso.crans.org/besson/slides/).
See also this page https://perso.crans.org/besson/s/md/ https://perso.crans.org/besson/s/md/
Try to download the latest version and update the css and js files?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/Naereen/StrapDown.js/issues/8?email_source=notifications&email_token=AC2O6ULFRV5G562L2ONCEMDRCZA3FA5CNFSM4KU56XCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELX2LXA#issuecomment-586130908, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC2O6UPQUVGEL7WMU77UOH3RCZA3FANCNFSM4KU56XCA.

I don't think the images have anything to do about it.
I'll close here, tell me if I need to open again.
By the way, I won't have time to work on StrapDown.js code, so if the issue comes from the javascript or css code here, I won't try to fix it.


fix(build): normalize html path

Description
fix #15527

Additional context

What is the purpose of this pull request?

[ ] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[ ] Read the Contributing Guidelines, especially the Pull Request Guidelines.
[ ] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[ ] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Update the corresponding documentation if needed.
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

Would you add a test case for this one?

Would you add a test case for this one?

I will give it a try.


[aes] Bring Aes DIF to S2

This PR:

Add function to read the iv
Add unitests for the functions dif_aes_reset and dif_aes_end
Add the option to control whether reseed on every key change
Adds the option to control the reseed rate
Adds the option to control whether key will provided by sideload
Refactor the aes status unittest.

Please check each commit individually.
#4833

Thanks Douglas! Can you add one last commit updating the checklist as well please?

done


[Epic] Support data source inserts

Currently everything is read only.
Data sources

[ ] Postgres
[ ] MySQL
[ ] BigQuery
[ ] Snowflake
[ ] MongoDB
[ ] Delta lake
[ ] Object store (we may be able to use datafusion's stuff for this)

To start, we can create the execution plans. Follow on work may be needed for if we want to mark data sources read-only, but this will likely coincide with some sort of permissions system.

I think we hold off on permissions, or just error on inserts if we have credentials that don't have insert permissions. Will want to document this behavior in glaredb docs.

@vrongmeal might be working on postgres soon

We're holding off on this for now for other priorities. We can revisit, and start with Pg as POC.
We will likely wait for a request.

moving from 0.6.0 to https://github.com/GlareDB/glaredb/milestone/25

Question (as a user/dogfooder): I am using a Postgres data source that I explicitly want to be read-only. It's critical that I do not accidentally perform any mutations (insert, update, delete, drop, alter etc etc): I simply want to only select from this data source.
How can I best achieve that? And how might we consider this problem longer-term?

I think we should handle insert-into-object store (e.g. globbed file datasources) as part of a different epic.
@vrongmeal and I have been talking about doing delta/iceberg as part of the current push on table-like data formats. in the near term.
This leaves bigquery and snowflake, mostly. I'm not sure exactly what the right answer is for bigquery (aside from just writing to files in GCS?) and snowflake, which we could probably do relatively soon.
Otherwise we're continuing to make progress here.


Custom settings are not properly saved/displayed when re-opening the Theming Menu

When using a Custom preset (not using local storage) opening the Theming Menu will not show any of the custom settings, though they do still persist until changed.

Fixed in v0.1.0b for Foundry v10.
Current beta found: https://github.com/mouse0270/lib-themer/releases/download/0.1.0b/module.json


Opening new buffer behaviour change?

Describe the bug
Using vim-go, sometime between Vim versions 8.1.0500 and 8.1.0600, :GoDef functionality broke. I know this is a plugin and not necessarily a Vim thing, but I pinned down the change to jumping between those versions of Vim.
The command above is used to jump to the definition of a symbol in a Go file. If the definition is in another file, the file is opened in a new buffer and that buffer is switched to.
The problem I started seeing is that only when jumping to the definition requires opening a new buffer, the new buffer is opened but Vim hangs and doesn't jump to it. If I hit ctrl+c then it jumps to the newly opened file. If the file was already open in another buffer, then everything works as expected. So this only happens when a file is being newly opened in a new buffer.
I guess I'm wondering if anything rings a bell to anyone about anything that may have changed in Vim between 8.1.0500 and 8.1.0600 around the behaviour of opening files in buffers?
To Reproduce

Install vim-go
Clone this repo: https://github.com/schemahero/schemahero
Open this file at this line
Run :GoInstallBinaries (sorry, I know this might require some Go setup)
On the line referenced above, move the cursor over r.getPlanPod()
Run :GoDef

Expected behavior
The file containing the definition is loaded in a new buffer, and vim jumps to the definition in that file
Environment (please complete the following information):

Vim version: 8.1.0600
OS: macOS 10.14.6
Terminal: iTerm2

I noticed the same behaviour in a Java project using coc.nvim and coc-java.
It's always when Vim's gd command will have to open another file in a new buffer. Buffer is opened but not jumped to.

can someone bisect the offending commit?

I can't reproduce.  I followed the instructions given in the OP, and with this minimal vimrc:
set rtp-=~/.vim
set rtp-=~/.vim/after
set rtp^=/usr/local/share/vim/vim82
set rtp^=/run/user/1000/tmp/vim-go
filetype plugin on

It takes a few seconds for :GoDef to jump to the definition, but Vim doesn't hang; be it on 8.1.0500 or on 8.1.0600:

Something else must be necessary to reproduce the issue.

Ok through deleting plugins one by one the offender seems to be vim-gitgutter.

Ping @airblade

Am 02.05.2020 um 09:04 schrieb Paul Thomson<EMAIL_ADDRESS>
Ok through deleting plugins one by one the offender seems to be vim-gitgutter.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

I tried to follow the repro steps but had some kind of problem installing the Go dependencies.

I scanned through the git log for the commit range you gave but nothing jumped out at me.  If you were able to bisect the offending commit, that would really help.
Also, what commit is your copy of vim-gitgutter at?
Another approach to debugging this would be to profile what's happening.  Hopefully that would indicate where things are getting held up.

vim-plug.log
Attached the profile log. I'm no expert in reading this but gitgutter#diff#run_diff() seems to be the culprit. Here's a second example where I let it sit for longer before hitting ctrl-c:
vim-plug-2.log
There seems to be a while loop that calls gitgutter#utility#repo_path and that looks like it was called 1163 and 2781 in the first 2 examples respectively, with gitgutter#utility#getbufvar() right behind it.
Here's an example from when the target file was already loaded in a buffer:
vim-plug-3.log

Also, what commit is your copy of vim-gitgutter at?
Current HEAD of master, b356cc9

So I had all that ^ written up and decided to do one more remove/reinstall of the plugin, and now it works 🤦
I'm gonna leave the profile logs here so I don't look crazy 😛 , but I guess sorry for wasting your time (orrrr, hooray, nothing to fix?)

so now it works?

“so now it works?”
Yes.
As per my last comment:
Is anyone relying on the editor lurching into a random location and size on the screen simply because the user both:

Snapped the editor to the right-hand side of the screen with Windows Key + right arrow
Split the editor pane vertically
?

I will say no more about it. 😊
Lyle
From: Christian Brabandt<EMAIL_ADDRESS>Sent: Monday, May 04, 2020 10:40 PM
To: vim/vim<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: Re: [vim/vim] Opening new buffer behaviour change? (#6008)
so now it works?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fvim%2Fvim%2Fissues%2F6008%23issuecomment-623865448&data=02|01||b5ff23ed8e8c49076a0208d7f0b6ba47|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637242539900011730&sdata=1eBT6kbqmYFmnywcY9XoTntCZ%2BbE4epidt3J%2FfPDnco%3D&reserved=0, or unsubscribehttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACHJRXZYUFA7SQITJATYGSLRP6RCLANCNFSM4MTNBGPA&data=02|01||b5ff23ed8e8c49076a0208d7f0b6ba47|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637242539900011730&sdata=YI5xhy35WX1k6VmwQ8ywL2QM7aINeWf3aF2BHmHDyFg%3D&reserved=0.

so now it works?

Yep. Not sure why now, I had removed/re-added the plugin several times to confirm it was the culprit and on 2 machines and it was reproducible. But the last one sorted it.
Will close the issue. Thanks and sorry!


Add support for stm32f401

Add support for the stm32f401 MCU.
Tested with my BSP repo for the nucleo-f401re board.  - https://github.com/jkristell/nucleo-f401re
Peripherals that is known to be working:
GPIO
Serial - Tested with different baud rates at different MCU frequencies.

Please let me know if you're happy with the current state and I'll make a new (breaking) release with the latest changes.

Great!
I compile tested my BSP against your master without any problems. So I am all fine with a new release being done.

Oops, that wasn't meant for you but for @timbod7 due to his serial configuration change . ;)


rust-gdb - easy way to run rust-scripts with gdb

rust-gdb -
Could you please add some feature to make it easy to run rust-scripts with gdb ?
I've found flag --debug to build in debug mode. However it : 1. also runs script and 2. still I need to sk cache directory looking for path to debug build binary.
What about flag (maybe with shorter name) --build-only-and-return-absolute-path-to-binary ?
That way I could run rust-gdb "$(rust-script --debug --build-only-and-return-absolute-path-to-binary my_script.rs)" to comfortably run script in debugger ?

rust-gdb $(rust-script --debug -o  ./my_rust_script.rs --version 2>&1  | rg -w '.+Running(.+) --version' -r '$1')

I guess this covers most of my question!
Thank you!
If someone see more work to be done , please reopen issue.

This no longer seems to work (BTW old -o argument is now -c). The compiled binary path doesn't seem to be shown anymore.

@joseluis Nowadays rust-script runs the executable directly on subsequent runs for speed (to avoid the small overhead of running cargo, instead of the binary directly.
You can run -f/--force to force cargo to be used:
 rust-gdb $(rust-script --debug -f -c  ./my_rust_script.rs --version 2>&1  | rg -w '.+Running `(.+) --version`' -r '$1')

Does that work for you?
Still probably makes sense to make this easier.

The first time the script is run (or after calling rust-script --clear-cache) there doesn't seem to be anything to grep:
$ rust-script --debug -f -c .my_rust_script.rs --version
   Compiling rust-script_b9303157d5d5afccc45846fa v0.1.0 (/home/USER/.cache/rust-script/projects/b9303157d5d5afccc45846fa)
    Finished dev [unoptimized + debuginfo] target(s) in 0.32s

afterwards subsequent invocations show even less:
$ rust-script --debug -f -c ./scripts/rust-script.rs --version
    Finished dev [unoptimized + debuginfo] target(s) in 0.00s

@joseluis The just released 0.31.0 version now suports a -w/--wrapper option, so after updating to that you should be able to use e.g. rust-gdb as a wrapper by running:
rust-script --debug --wrapper rust-gdb my-script.rs

Does that work as expected for you?

Works wonderfully! thank you @fornwall


RiderLink Build on UE5

I am unable to build RiderLink under UE5. It's complaining that std::c++17 is required. Is there a way I can enable that build option for compiling the riderlink plugin?
RiderLinkLog.txt

Hi @pixelpixi
A fix is on the way. As a workaround, you can add
PublicDefinitions.Add("_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS"); to RD.Build.cs file

Ah great. Thank you!

I tried the workaround but still couldn't compile it. (I found and edited the file inside of C:\Program Files\JetBrains\Rider for Unreal Engine 2020.2\plugins\UnrealLink\EditorPlugin\RiderLink.zip)
Please let me know if there is a different place or if there is something else I can do to get it compiled.
Thanks.

Looks like the new update with a fix for building ue5-main just went live on the rider marketplace, so hopefully that should fix it.

That did fix it! Thanks.


Remove affiliate from a few org projects

Some of this was originally done in https://github.com/typelevel/typelevel.github.com/pull/424
But I think I messed things up in the big one file squish.
Oh well, I've gone through all the affiliate projects now and I think this is it.

I'm reminded of this annoyance: https://github.com/typelevel/typelevel.github.com/issues/420#issuecomment-1419770016

Some were flagged as such because they were orginally Incubator projects.  When that went away, nobody had confirmed with the maintainers that they accepted the new terms of the charter, so all Typelevel Organization projects are in the Typelevel GitHub org, but not vice versa.  It would be great if this is reconciled, but that, I think, is why.

I was wondering how to reconcile this, and came across the following in the Charter:

8.3 Initial projects.** Projects already hosted under the Typelevel GitHub organization when this charter is ratified are considered Organization projects unless they are later removed.

https://github.com/typelevel/governance/blame/227296116f582064bcc33ff63972e06221061647/CHARTER.md#L70
Because we have the option of removing projects in the future, I think this is safe to merge.
Should one of the original maintainers disagree with the Charter rules, the project could be removed.
Pinging the affected teams just as a FYI
@typelevel/kittens @typelevel/simulacrum @typelevel/squants
I think we should approve this PR and merge to remove any ambiguity in the status of projects.


BUG: Files are not created and does not respect the folder path

Bug description
As the title states, when trying to generate the zod schemas, the *.zod.ts file as specified, is not created.
Also it tries to access the project root instead of the path, where the file is located.
Input
// cli commands
pnpm ts-to-zod ./src/source.ts ./src/source.zod.ts  OR
pnpm ts-to-zod --config models

// ts-to-zod.config.js
module.exports = [
    {
        name: 'models',
        input: 'src/source.ts',
        output: 'src/source.zod.ts',
    },
];

Expected output
// Expected Zod schemas

Actual output
⠇ Validating generated types    Error: error TS6053: File
    '../projectroot/source.integration.ts' not found.
      The file is in the program because:
        Root file specified for compilation
    error TS6053: File '../projectroot/source.ts' not found.
      The file is in the program because:
        Root file specified for compilation
    error TS6053: File '../projectroot/source.zod.ts' not found.
      The file is in the program because:
        Root file specified for compilation

Somehow it assumes the files to be located at the root of the projects, although I specify the ./src in the file names.
However, If I move the source.ts to the root level, and try, I will get the same error, But if I create source.zod.ts and source.integration.ts then it generates fine.
Versions

Typescript: v4.8.4
Zod: v3.19.1
ts-to-zod: v1.13.1

same behaviour here...

I've been using CLI and relative paths for a while, it seems to work fine.


Made blacklist lowercase to match the search/filter method used

The current implementation lower cases the ingredient to search for, and uses the case-sensitive filter method, thereby miss-labeling any ingredients that are uppercased in nonvegan.json. I've lowercased the case of the blacklist before it's used to ensure lower case is used both in the source data and the filter.

@yochum thx for the PR, but the nonvegan list is always lowercased before I add new items to it, there is no need for this.

@hmontazeri I see. However, the current nonvegan.json has 169 items that are uppercase. It currently treats "balone" and "salmon" as vegan, for example.

thx for the hint! fixed!


Add mac

Working late :sleepy: :smile: ?

Could be really cool to automatically detect which OS/package manager install packages for. The git username/email could also be set from the startup script I suppose, if we want to make it user and platform independent!

Working late 😪 😄 ?

Haha yeah, sry for the accidental PR, targeted your main branch instead of my own 😅

No worries!!

Could be really cool to automatically detect which OS/package manager install packages for. The git username/email could also be set from the startup script I suppose, if we want to make it user and platform independent!

Yeah that would be nice, I'm guessing it would be quite easy to just using the uname-command


Wine + Wayland desktop size issue

There is an issue when using the DDraw OpenGL backend, when using Wayland. The settings for strecting don't seem to work properly.
Background
Linux has two display systems. X11, which is from the '80s and Wayland, which is a lot more modern. The biggest benefit and drawback of Wayland, is the sandboxed environment, in which it runs. As such, there is also a translation feature called XWayland so that you can start a single X11 session while using wayland.
In all these shenanigans, the screen size the upscaling is lost.
Reproduction steps

Get a Linux device using Wayland. This is harder then it seems since NVidia is out of the question
Get Wine 7.0. Easiest way is with Q4Wine from Flathub: https://flathub.org/apps/details/ua.org.brezblock.q4wine
Create a prefix and unpack TS:Client or WarZone into that prefix
Set ddraw.dll to (Native, builtin) and configure
Run the game

Settings
[ddraw]
; stretch to custom resolution, 0 = defaults to the size game requests
StretchToWidth=2560
StretchToHeight=1440

; override StretchToWidth/StretchToHeight and always stretch to fullscreen
;StretchToFullscreen=Yes

; use windowboxing to make a best fit
;Windowboxing=No

; Select the renderer, opengl, gdi, auto. Default = auto = if OpenGL fails automatically use GDI
Renderer=opengl

; Draw the FPS overlay 0 = no, 1 = yes
DrawFPS=0

Screenshot

For reference, the game is run at 1080p (as configured in the TS Client) but it doesn't upscale to 1440p

You are using ts-ddraw and not cnc-ddraw. ts-ddraw doesn't have working upscaling supported right now. cnc-ddraw can do it somewhat, but it's not perfect either (it can't upscale the menus).


updated german translations

@DusKing1 could you provide a updated chinese version? You are probably the only one qualified to around here. Thanks!


Create VFQ test data

Create test data for Visual Functioning Questionnaire in a qs domain. We definitely have some studies in Roche that use this however not sure about Novartis (@ritika-aggarr @ukey1025).

We do have VFQ data flowing into QS domain for the ophtha studies at Novartis. @manciniedoardo is there any specification for the VFQ test data? Or perhaps list of expected variables?


Bots cannot @mention groups?

I have not been able to find any documentation on this and assume it's been overlooked or is like this for a reason.
Edit/PS: Is there any community chat group set up around slack bot/api implementation. I'd love to be inside of a slack group that is active in this field. Ironically I don't think slack has much in terms of public chats so maybe I'll look on discord; I couldn't find anything on gitter.

to the PS... you may want to try the Slack Developer Hangout

Bots are not allowed to @mention groups or @here. This is a limitation of the Slack platform itself, and not the SDK, I'm sorry to say.


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_1f73x3ncsk/clone/recipe/meta.yaml:15: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_1f73x3ncsk/clone/recipe/meta.yaml:22: missing_wheel: For pypi packages, wheel should be present in the host section
WARNING: /tmp/abs_1f73x3ncsk/clone/recipe/meta.yaml:44: missing_description: The recipe is missing a description
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_5aszy3dcsl/clone/recipe/meta.yaml:15: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_5aszy3dcsl/clone/recipe/meta.yaml:22: missing_wheel: For pypi packages, wheel should be present in the host section
WARNING: /tmp/abs_5aszy3dcsl/clone/recipe/meta.yaml:44: missing_description: The recipe is missing a description
Errors were found


Spacing Around Zones Toggle does not remove spacing between zones

Microsoft PowerToys version
0.64.0
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
FancyZones
Steps to reproduce
Unchecking the "space around zones" toggle does not remove spacing between zones.
Here is a screen recording of the issue: https://drive.google.com/file/d/1r6JwzPethR8bW0c5mIDiwpztUwHvgA48/view?usp=share_link
✔ Expected Behavior
Zero spacing between zones
❌ Actual Behavior
Zones have spacing.
Other Software
No response

For anyone looking for a quick workaround while this gets fixed, you can enable spacing and set the value to 0. However, since it's basically impossible to drag the slider to exactly zero, and there's no option to type in a number directly, you'll likely have to edit the saved layout data directly.
That file can be found here:
%LocalAppData%\Microsoft\PowerToys\FancyZones\custom-layouts.json
Just open that up, set all the spacing keys to zero, then restart fancy zones (or re-assign the layouts to the monitors to get the new value to get applied)

Here to confirm this, the show-spacing toggle is no longer respected since update and value spacing is picked from settings.
@DigitalZilla 's workaround works, alternatively slider can be used in layout settings.

Duplicate of #21821, recommend closing.

/dup #21630
/dup #2163021821

/dup #21630
/dup #21821

Another workaround and tip when using the slider are that after it's selected, the keyboard arrows can change one pixel at a time, making it quite easy to get 0 spacing.


Urban Shadows The Hunter's custom weapon fields are broken

When you enter content into the Name field, it gets copied into the Tags field, and vice-versa.

Well, it doesn't matter because I submitted a PR to Roll20 to fix this.
Roll20/roll20-character-sheets#4449


As a media developer, I want the ability to pass real-time data between multiple Windows, so multi screen components can react to each-other.

This can usually be handled through web sockets, but that requires an external server. There may be scenarios where it's simplest to only communicate locally through the Electron wrapper.
Let's think through this, because it might be a bad idea to rely on Stele here.

I'm going to close this for now. I think this isn't something that we want to bake into Stele right now. This is really the responsibility of the app via react state or communication with the DB. If we ever have a need to handle this at the Electron level I think we should break that application out into its own Electron app.