Button Sizing

I would like to suggest changing how buttons are sized in the future. Currently we can choose a font-size in the '$button-sizes' map and set the padding to use for all the buttons in '$button-padding'.
The problem I have with this is that it doesn't give me enough control over the size of each button. One example is when using the "tiny" and "small" buttons, I may want to use the same font size for both but have "tiny" be smaller in height. Another example is when I'm trying to size all the buttons in multiples of my baseline. Currently I can set my default button as multiple of my baseline, after that I would have to chose my font-size based on my padding (originally decided for the default button) if I wanted to keep the height consistent.
I would suggest having two maps "$button-height" and "$button-font-size" and have "$button-padding" only control the left/right padding. This way you could set the height of each button independent of the font-size used. This would make it much easier to maintain a vertical rhythm.
The only real drawback I could see is buttons with multiple text lines wouldn't work. However, I think this is pretty uncommon and a separate style could be written in these cases.
What do you think? Do you see any real issues I'm missing?

Hmm… Instead of setting the top/bottom padding to 0, you could have the $button-height map determine the top/bottom padding for each size. Of course, the same thing could be accomplished if $button-padding was a map; you'd just have to do the math yourself.

You'd need a line-height variable too.

Your right  line-height I forgot to mention that would need to be set to the what the height of the button is.
I think having the $button-height map determine the determine the padding would work as well. The main thing I want to accomplish is the ability to set the height and font-size independently.
$button-padding as map seems a bit more complicated than necessary. The same thing could be accomplished with the $button-height map and just have it subtract the font-size to get the padding as you suggested above.

Right, I figured you meant line-height would define the height of the button. And as you alluded to, the problem with a line-height method comes back to multi-line button text. If button height is determined by line-height and padding:0, there's gonna be some bad type leading.
So, since the framework can't assume single-line button text, I don't think it makes sense to try to define what height the button is in a $button-height map. That height goes out the window for multi-line buttons, no matter if it's based on line-height alone or padding+line-height. That's why a $button-padding map makes more sense to me.
Setting the padding per button size makes no assumptions about the height of the button, but the method could be used to finesse heights to fit a baseline grid—which I'm not convinced is really important.

I think you're right, A $button-padding map paired with button-font-size map seems to make the most sense for flexibility and control over all button sizes.


fix: Add check for callable in BooleanBone

Fix for #1178

Yes, you are right. The whole thing with the default value needs to be revised... . I don't know if we should wait for #1154. Or is it enough to allow callables for now?

Yes, you are right. The whole thing with the default value needs to be revised... . I don't know if we should wait for #1154. Or is it enough to allow callables for now?

Is okay
my_bone = BooleanBone(...)
my_bone.defaultValue = lambda skel, bone: ...

does the job for now too

Ok,what's with this PR now? It's still flagged for ViUR-core 3.6. Can we close it?

Ok,what's with this PR now? It's still flagged for ViUR-core 3.6. Can we close it?

As it's not really solving the problem and it's possible to workaround with a monkey patch I would recommend to close this too and wait for 3.7.


transform into a feed-write-profile setup

currently the frontpage contains 3 buttons that navigate the user to:

create a new entry
check others' entries
check diary

this issue proposes transforming the frontpage into a feed with others' (and their own entries) embedded in, with a navbar column for diary and/or profile. put a "write a new entry" at the top of the feed.
considerations:

this makes it look more like a social media platform than a diary, should this be pursued?
will this increase user engagement time?

[ ] add sidebar


Adding support at the frontend to get clustermap state

Followup on #1065 to get clustermap state via HTTP request
Still adding more tests
This change contains changes from #1065. If you are reviewing this before that change is merged, please look at files in the ambry-frontend package/module only

Codecov Report

Merging #1066 into master will decrease coverage by 0.33%.
The diff coverage is 22.1%.

@@             Coverage Diff              @@
##             master    #1066      +/-   ##
============================================
- Coverage     68.47%   68.14%   -0.34%
  Complexity     4805     4805
============================================
  Files           382      384       +2
  Lines         30464    30648     +184
  Branches       3876     3900      +24
============================================
+ Hits          20860    20884      +24
- Misses         8546     8705     +159
- Partials       1058     1059       +1

Impacted Files
Coverage Δ
Complexity Δ

...ain/java/com.github.ambry.frontend/Operations.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

...va/com.github.ambry.clustermap/AmbryPartition.java
78.04% <0%> (-18.93%)
16 <0> (ø)

...in/java/com.github.ambry.clustermap/Partition.java
80.45% <0%> (-8.15%)
26 <0> (ø)

....github.ambry.clustermap/StaticClusterManager.java
73.27% <0%> (-3.65%)
81 <0> (ø)

...in/java/com.github.ambry.clustermap/AmbryDisk.java
70.45% <0%> (-29.55%)
17 <0> (ø)

...rc/main/java/com.github.ambry.clustermap/Disk.java
68.49% <0%> (-14.85%)
24 <0> (ø)

...main/java/com.github.ambry.clustermap/Replica.java
50.72% <0%> (-16.59%)
18 <0> (ø)

....ambry/clustermap/ClusterMapSnapshotConstants.java
0% <0%> (ø)
0 <0> (?)

...java/com.github.ambry.clustermap/AmbryReplica.java
58.33% <0%> (-31.42%)
21 <0> (ø)

...ain/java/com.github.ambry.clustermap/DataNode.java
73.1% <0%> (-11.7%)
44 <0> (ø)

... and 17 more

Continue to review full report at Codecov.

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

This looks very useful.  Who will have access to query the cluster map?  Will it be all accounts similar to HEAD access or more limited?

If an AclService implementation is available, then a custom ACL can be defined to handle this (similar to GetPeers and GetReplica)

@lightningrob @cgtz made changes after the other PR was merged and added a test for GetClusterMapSnapshotHandler. PTAL


few minor changes

dark, not light in Primer/Widget - Primer Dark.stTheme
unix line endings
indent using tabs
removed double linebreak at EOF

updated icon files and preferences
added settings for extensions
added buttons to header of README
removed multiple declaration sets for git_gutter colors to have just one set of color declarations

fixes #25
fixes #27
fixes #42
fixes #45

@karelvuong

will need tagging after merge
let me know if you need anything changed before merge

@karelvuong still needs tagging to update for users


How to test whether two images are identical face?

Hello. First, thanks for good projects! 👍
I cloned it and download pretrained "model A".
But I wonder how to test whether two images are identical face?
Here is my code.
sess = tf.Session()
saver = tf.train.import_meta_graph('./pretrained_models/InsightFace_iter_1060000.ckpt.meta')
saver.restore(sess, './pretrained_models/InsightFace_iter_1060000.ckpt')

input_images = tf.get_default_graph().get_tensor_by_name('img_inputs:0')

image = Image.open('./test_image.jpg')
image = image.resize((112, 112))

images = [np.array(image)]

outputs = sess.run('arcface_loss/embedding_weights:0', feed_dict={input_images: images})

But the output shape is always (512, 85164)
Would you let me know how to test images?
Thanks!

Please reference  eval_ckpt_file.py.

Hello. First, thanks for good projects! 👍
I cloned it and download pretrained "model A".
But I wonder how to test whether two images are identical face?
Here is my code.
sess = tf.Session()
saver = tf.train.import_meta_graph('./pretrained_models/InsightFace_iter_1060000.ckpt.meta')
saver.restore(sess, './pretrained_models/InsightFace_iter_1060000.ckpt')

input_images = tf.get_default_graph().get_tensor_by_name('img_inputs:0')

image = Image.open('./test_image.jpg')
image = image.resize((112, 112))

images = [np.array(image)]

outputs = sess.run('arcface_loss/embedding_weights:0', feed_dict={input_images: images})

But the output shape is always (512, 85164)
Would you let me know how to test images?
Thanks!

Can you please share the pretrained weights you have used via Google Drive?

Hello. First, thanks for good projects! 👍
I cloned it and download pretrained "model A". But I wonder how to test whether two images are identical face?
Here is my code.
sess = tf.Session()
saver = tf.train.import_meta_graph('./pretrained_models/InsightFace_iter_1060000.ckpt.meta')
saver.restore(sess, './pretrained_models/InsightFace_iter_1060000.ckpt')

input_images = tf.get_default_graph().get_tensor_by_name('img_inputs:0')

image = Image.open('./test_image.jpg')
image = image.resize((112, 112))

images = [np.array(image)]

outputs = sess.run('arcface_loss/embedding_weights:0', feed_dict={input_images: images})

But the output shape is always (512, 85164)
Would you let me know how to test images? Thanks!

Have you resolve this problem? I want to compare two faces's dist to determine whether two images are identical face,too!


Replace json syntax files by tmLanguage used on Sublime Text package

Hi community, I have ben busy latest weeks, I hope I can pull some commits this weekend
I'm maintaining the crystal-syntax.json file responsible of syntax highlighting, but there is some issues I don't really know how to fix, so I think if VSCode have out-the-box support for .tmLanguage then would be a nice idea to use it

I think it would be easier to maintain both, sublime-text  and VSCode highlighting, since both will use the same file.
I don't  know if atom can use tmLanguage files as well, @keplersj Do you know something about this? :sweat_smile:

Atom cannot use tmLanguage files, it converts them to a similar JSON format.  See Creating a Grammar in the Atom Flight Manual.
However if you were to maintain the JSON formatted grammar in https://github.com/crystal-lang-tools/language-crystal, and create a pipeline to build to tmLanguage, you'd be able to hit GitHub Syntax Highlight, Atom, VSCode, and TextMate in one grammar.


Crate causes errors

When using the latest published crate 0.2.3 building the example fails complaining that there are no functions encode or decode. Using geohash = { git = "https://github.com/georust/rust-geohash.git" } works fine. So I suspect a new version simply needs to be published to cargo?

@sunng87 is the owner of package on crates.io, so they will need to publish a new version if this is the case. @sunng87 if you want, you can add the @georust organization as an Owner of the package on crates.io, though that's up to you

@tsloughter I just released a new version on crates.io, could you please check if it works for you?
@frewsxcv Thanks for the tip. Just added @georust/core team as owner of the crate.

Thanks @sunng87!

Seems the rand crate is broken on latest nightly (2016 nightlies break a lot of stuff). Since it's a dev-dependency, it should not affect your application.

Thanks, 0.2.4 works!


fix(skyfrost): add reference to SkyFrost.Base.Models

As of 2<IP_ADDRESS>5, the models from SkyFrost.Base have been refactored out and moved into a separate DLL called SkyFrost.Base.Models.dll. This PR adds the reference to the new DLL.

Thanks!


Distance And Direction WAB widget: Label for major/minor axis are being truncated

Widget
Distance and Direction - Ellipse
Version of widget
Bug or Enhancement
Major axis is 3,349,295.5114 feet but label only set to 3349
Minor axis is 1,972,350.3406 feet but label only set to 1972

Repo Steps or Enhancement details

The reason why the number is being truncated is because the string.replace is only removing the first comma. When the number is large and contains more commas the number will be truncated: Use the /g flag to tell the replace to do all instances.
Change:
'MINOR': parseFloat(dojoDomAttr.get(this.minorAxisInput, 'value').replace(",",''),2),
to
'MINOR': parseFloat(dojoDomAttr.get(this.minorAxisInput, 'value').replace(/,/g,''),2),

@elinz @kgonzago fixed can somebody check and close issue

@adgiles @kgonzago I'll test.

@adgiles @kgonzago I download the master branch of this repo and tested and I can no longer create an ellipse.
When I attempt to enter numeric values in the major/minor axis' and orientation angle textboxes I receive the error "The value entered must be numeric." for the axis' textboxes...

and I receive the error "The value entered is not valid." when I enter a numeric value in the Orientation Angle control. I now notice that the angle control has changed. This used to be a textbox but now this has increment controls to increase and decrease the angle and no longer allows you to enter a fractional value.

Was the change in orientation angle control intentional?
Assigning the issue back to @adgiles

@elinz
I have changed the controls to allow decimal places, it made sense in my head not to allow, but on rethinking of course you may want to add a decimal place for distances such as kilometres (e.g. 11.5)

Verified fixed. Closing issue.


Python3 Not Compatible

~/.fsociety$ python fsociety.py
  File "fsociety.py", line 1155
    print "| current site:" + site
                          ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("| current site:" + site)?
tikam@Hal:~/.fsociety$

It's written in python2, Convert it into python3

Yes yes, I know.. I am still working on it.. It takes a long time to make everything to python3... For now - just run it in py2. Ok? Thanks!

@CRO-THEHACKER I want to contribute to it, by converting it into Python3 and adding more tools and modules for bug bounty hunting. Actually i Need a Tool like ALL FOR ONE - ONE FOR ALL.

Yes yes, that would be great! But, you'll need yo get some rep here or talk to Manisso because, I can't give you anything.. You can talk to me on discord or Instagram if you would like too.

https://github.com/Manisso/fsociety/tree/python3 :100:  To contribute contact - FB/DZMANISSO


Erdikose/feature/top panel

This PR...
Changes

Fixes

How to test it

Screenshots

Checklist

[ ] tested locally
[ ] added new dependencies
[ ] updated the docs
[ ] added a test

We have 4 preview types. Helm, Kustomization, Cluster, Helm configuration. We may consider showing them in different color codes. Currently there are two color varients. For Cluster and the rest. Wdyt @julioramosest .

Bit a nitpick but can this menu get a bit more room to breath? It's rather small and jammed against the right wall.


Setup no longer works

I've just re-setup the Heroku demo, it took me to the login page but upon checking the database there is no user.
Looking through it all, even the settings haven't been filled in.

wtf?

this was working for me last night btw

i ran the setup. it must have been something commited today

Here is what's been pushed since then: https://github.com/cachethq/Cachet/compare/156f103e44c3bb0d8914bfe88e7337ffd3fa046f...9578b81066309d79f37d9b1ace83cad8419e1a03.

I can't see anything obvious.

me neither. it could be a client side issue?

do our js dependencies resolve slightly differently now?

How do you mean?

Are the downloaded bower dependencies any different today than they were yesterday?

I don't think so.

I installed it this morning locally without any trouble (while fixing the migrations).

Unless of course they've been upgraded as they're compiled with gulp?

?

Well if we run bower install and then gulp the issue could have been introduced then.

That's what I was saying...

Yeah, but without knowing what's changed, it's tough to figure out. I'm running a complete test now.

Ok, setup works locally (MySQL).

Oh yeh, I only tested this on mysql btw. :)

Maybe this issue has existed on postgres for a while?

TBH, our migrations are a mess.

I'd suggest we just rewrite them. We shouldn't need to worry about bc until we actually release 1.0.0.

I've just deployed again and it works fine. Everything has been created.

Hmmm. I'd still recommend we redo our migrations anyway. We already have hack db specific code in there.

How do you advise that we write migrations then?

Delete them all, and just add some new ones that straight up create the table we need.

We shouldn't be worrying about existing users at this point. We have no releases yet therefore we are "pre-alpha" technically.

No ORM? Just statements?
Sent from my iPhone

On 5 Jan 2015, at 18:33, Graham Campbell<EMAIL_ADDRESS>wrote:
Delete them all, and just add some new ones that straight up create the table we need.
—
Reply to this email directly or view it on GitHub.

What?

Instead of doing this:
<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class CreateIncidentsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('incidents', function (Blueprint $table) {
            $table->increments('id');
            $table->tinyInteger('component')->default(1);
            $table->string('name');
            $table->tinyInteger('status')->default(1);
            $table->longText('message');
            $table->timestamps();
            $table->softDeletes();

            $table->index('component');
            $table->index('status');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('incidents');
    }
}

and
<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class AlterTableIncidentsRenameComponentColumn extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('incidents', function (Blueprint $table) {
            $table->renameColumn('component', 'component_id');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table('incidents', function (Blueprint $table) {
            $table->renameColumn('component_id', 'component');
        });
    }
}

do this:
<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class CreateIncidentsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('incidents', function (Blueprint $table) {
            $table->increments('id');
            $table->tinyInteger('component_id')->default(1);
            $table->string('name');
            $table->tinyInteger('status')->default(1);
            $table->longText('message');
            $table->timestamps();
            $table->softDeletes();

            $table->index('component');
            $table->index('status');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('incidents');
    }
}

Also, we surely shouldn't have a default component id?

We should be explicitly dealing with that in our code, not relying on the db to fill out where we mist things.

So basically merge all of our migrations per table? So where we are dropping columns, have one table with the final one.
Sent from my iPhone

On 5 Jan 2015, at 18:41, Graham Campbell<EMAIL_ADDRESS>wrote:
We should be explicitly dealing with that in our code, not relying on the db to fill out where we mist things.
—
Reply to this email directly or view it on GitHub.

Yeh. We've got some far worse migrations than that example in there.

Like, what is this crap?
<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Config;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Schema;

class AlterTableIncidentsRemoveDefaultComponent extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('incidents', function (Blueprint $table) {
            if (Config::get('database')['default'] === 'mysql') {
                DB::statement("ALTER TABLE incidents CHANGE component_id component_id TINYINT(4)  NOT NULL  DEFAULT '0';");
            } elseif (Config::get('database')['default'] === 'pgsql') {
                DB::statement("ALTER TABLE incidents ALTER COLUMN component_id SET DEFAULT '0';");
            }
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table('incidents', function (Blueprint $table) {
            if (Config::get('database')['default'] === 'mysql') {
                DB::statement("ALTER TABLE incidents CHANGE component_id component_id TINYINT(4)  NOT NULL  DEFAULT '1';");
            } elseif (Config::get('database')['default'] === 'pgsql') {
                DB::statement("ALTER TABLE incidents ALTER COLUMN component_id SET DEFAULT '1';");
            }
        });
    }
}

If you use sqlite, your screwed then?

Ok let's rewrite them.
Sent from my iPhone

On 5 Jan 2015, at 18:46, Graham Campbell<EMAIL_ADDRESS>wrote:
Like, what is this crap?

I agree and I'll be happy to help :)

@GrahamCampbell what's the best way of doing this? Delete all migrations and start again?

This is working now, I've just re-setup the demo.

Nope. Went to add an incident and we got an error.

Still getting this:
SQLSTATE[23502]: Not null violation: 7 ERROR: null value in column "order" violates not-null constraint DETAIL: Failing row contains (6, Hello, , , , 1, null, null, 1, 2015-01-05 22:41:44, 2015-01-05 22:41:44, null). (SQL: insert into "components" ("name", "status", "description", "link", "tags", "user_id", "updated_at", "created_at") values (Hello, 1, , , , 1, 2015-01-05 22:41:44, 2015-01-05 22:41:44) returning "id")

What on earth.

I imagine that the components migration actually needs to be:
$table->integer('order')->default(0);
 $table->integer('group_id')->default(0);

@GrahamCampbell is it worth implementing this?
In our Component model, we set $attributes with default values?

That's fixed it ;) Will push and close.


[WIP] Remaining BBox kernel perf optimizations

Some of the opts highlighted at #6872

Maybe, we can merge this after https://github.com/pytorch/vision/pull/6879

@vfdev-5 I just pushed a couple of untested opts. Could you check again which you think are safe? I'll do benchmarks after we confirm which ones we want in.

I'll cherry pick those for elastic those which makes sense. Thanks for pointers!


Error

I keep getting these errors on install :(
10268> 2016-08-15 12:13:03> Program: Starting Squirrel Updater: --install .
10268> 2016-08-15 12:13:03> Program: Starting install, writing to C:\Users\Salva_000\AppData\Local\SquirrelTemp
10268> 2016-08-15 12:13:04> Program: About to install to: C:\Users\Salva_000\AppData\Local\Discord
10268> 2016-08-15 12:13:04> SingleGlobalInstance: Grabbing lockfile with timeout of 00:00:10
10268> 2016-08-15 12:13:04> CheckForUpdateImpl: Reading RELEASES file from C:\Users\Salva_000\AppData\Local\SquirrelTemp
10268> 2016-08-15 12:13:04> CheckForUpdateImpl: Remote version 0.0.295 differs from local
10268> 2016-08-15 12:13:04> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
10268> 2016-08-15 12:13:04> ApplyReleasesImpl: Writing files to app directory: C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295
10268> 2016-08-15 12:13:06> ApplyReleasesImpl: Moving file C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295\lib\net45\app.ico to C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295\app.ico
10268> 2016-08-15 12:13:06> ApplyReleasesImpl: Moving file C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295\lib\net45\content_resources_200_percent.pak to C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295\content_resources_200_percent.pak
10268> 2016-08-15 12:13:06> ApplyReleasesImpl: Moving file C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295\lib\net45\content_shell.pak to C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295\content_shell.pak
10268> 2016-08-15 12:13:06> ApplyReleasesImpl: Moving file C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295\lib\net45\blink_image_resources_200_percent.pak to C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295\blink_image_resources_200_percent.pak
10268> 2016-08-15 12:13:06> ApplyReleasesImpl: Moving file C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295\lib\net45\d3dcompiler_47.dll to C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295\d3dcompiler_47.dll
10268> 2016-08-15 12:13:06> ApplyReleasesImpl: Moving file C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295\lib\net45\Discord.exe to C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295\Discord.exe
10268> 2016-08-15 12:13:06> ApplyReleasesImpl: Moving file C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295\lib\net45\ffmpeg.dll to C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295\ffmpeg.dll
10268> 2016-08-15 12:13:06> ApplyReleasesImpl: Moving file C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295\lib\net45\icudtl.dat to C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295\icudtl.dat
10268> 2016-08-15 12:13:06> ApplyReleasesImpl: Moving file C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295\lib\net45\libEGL.dll to C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295\libEGL.dll
10268> 2016-08-15 12:13:06> ApplyReleasesImpl: Moving file C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295\lib\net45\libGLESv2.dll to C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295\libGLESv2.dll
10268> 2016-08-15 12:13:06> ApplyReleasesImpl: Moving file C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295\lib\net45\natives_blob.bin to C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295\natives_blob.bin
10268> 2016-08-15 12:13:06> ApplyReleasesImpl: Moving file C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295\lib\net45\node.dll to C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295\node.dll
10268> 2016-08-15 12:13:06> ApplyReleasesImpl: Moving file C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295\lib\net45\Squirrel.exe to C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295\Squirrel.exe
10268> 2016-08-15 12:13:06> ApplyReleasesImpl: Moving file C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295\lib\net45\views_resources_200_percent.pak to C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295\views_resources_200_percent.pak
10268> 2016-08-15 12:13:06> ApplyReleasesImpl: Moving file C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295\lib\net45\snapshot_blob.bin to C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295\snapshot_blob.bin
10268> 2016-08-15 12:13:06> ApplyReleasesImpl: Moving file C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295\lib\net45\ui_resources_200_percent.pak to C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295\ui_resources_200_percent.pak
10268> 2016-08-15 12:13:06> ApplyReleasesImpl: Moving file C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295\lib\net45\xinput1_3.dll to C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295\xinput1_3.dll
10268> 2016-08-15 12:13:07> ApplyReleasesImpl: Started updateSelf pid 5236
10268> 2016-08-15 12:13:09> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295\Discord.exe]
10268> 2016-08-15 12:13:10> Utility: Process Started: C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295\Discord.exe --squirrel-install 0.0.295, pid 10024
10268> 2016-08-15 12:13:14> Utility: Received exitcode 0 from process C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295\Discord.exe
10268> 2016-08-15 12:13:14> ApplyReleasesImpl: ran C:\Users\Salva_000\AppData\Local\Discord\app-0.0.295\Discord.exe, pid 6328
10268> 2016-08-15 12:13:14> ApplyReleasesImpl: Starting fixPinnedExecutables
10268> 2016-08-15 12:13:14> ApplyReleasesImpl: fixPinnedExecutables: newCurrentFolder: app-0.0.295
10268> 2016-08-15 12:13:14> ApplyReleasesImpl: File 'C:\Users\Salva_000\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\System Tools\Windows.Defender.lnk' could not be converted into a valid ShellLink: System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
at Squirrel.Shell.ShellLink.IShellLinkW.Resolve(IntPtr hWnd, UInt32 fFlags)
at Squirrel.Shell.ShellLink.Open(String linkFile, IntPtr hWnd, EShellLinkResolveFlags resolveFlags, UInt16 timeOut)
at Squirrel.UpdateManager.ApplyReleasesImpl.b__ec(FileInfo file)
10268> 2016-08-15 12:13:14> ApplyReleasesImpl: Updating shortcut C:\Users\Salva_000\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Hammer & Chisel, Inc\Discord.lnk
10268> 2016-08-15 12:13:14> ApplyReleasesImpl: Updating shortcut C:\Users\Salva_000\Desktop\Discord.lnk
10268> 2016-08-15 12:13:14> ApplyReleasesImpl: Fixing up tray icons
10268> 2016-08-15 12:13:14> ApplyReleasesImpl: cleanDeadVersions: for version 0.0.295
10268> 2016-08-15 12:13:14> ApplyReleasesImpl: cleanDeadVersions: exclude current version folder app-0.0.295
2016-09-07 19:12:43> Program: Starting Squirrel Updater: --install .
2016-09-07 19:12:43> Program: Starting install, writing to C:\Users\Salva_000\AppData\Local\SquirrelTemp
2016-09-07 19:12:43> Program: About to install to: C:\Users\Salva_000\AppData\Local\atom
2016-09-07 19:12:43> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Salva_000\AppData\Local\atom\packages\RELEASES'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
at Squirrel.UpdateManager.CheckForUpdateImpl.d__3f.MoveNext()
2016-09-07 19:12:43> CheckForUpdateImpl: Reading RELEASES file from C:\Users\Salva_000\AppData\Local\SquirrelTemp
2016-09-07 19:12:43> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2016-09-07 19:12:43> ApplyReleasesImpl: Writing files to app directory: C:\Users\Salva_000\AppData\Local\atom\app-1.10.2
2016-09-07 19:12:58> IEnableLogger: Failed to install package to app dir: System.AggregateException: One or more errors occurred. ---> System.IO.IOException: Access to the path 'resources' is denied.
at System.IO.DirectoryInfo.MoveTo(String destDirName)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.<>c__DisplayClassbb.b__b2(DirectoryInfo subdir)
at Squirrel.Utility.<>c__DisplayClass181.<>c__DisplayClass1a.<ForEachAsync>b__17()    at System.Threading.Tasks.Task.InnerInvoke()    at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Squirrel.Utility.<>c__DisplayClass1e1.<>c__DisplayClass20.<b__1d>d__22.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.b__b1(DirectoryInfo ld)
at Squirrel.EnumerableExtensions.ForEach[TSource](IEnumerable1 source, Action1 onNext)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<b__ad>d__bd.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.Utility.d__501.MoveNext() ---> (Inner Exception #0) System.IO.IOException: Access to the path 'resources' is denied.    at System.IO.DirectoryInfo.MoveTo(String destDirName)    at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.<>c__DisplayClassbb.<installPackageToAppDir>b__b2(DirectoryInfo subdir)    at Squirrel.Utility.<>c__DisplayClass181.<>c__DisplayClass1a.b__17()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<b__1d>d__22.MoveNext()<---
2016-09-07 19:12:58> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.IO.IOException: Access to the path 'resources' is denied.
at System.IO.DirectoryInfo.MoveTo(String destDirName)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.<>c__DisplayClassbb.b__b2(DirectoryInfo subdir)
at Squirrel.Utility.<>c__DisplayClass181.<>c__DisplayClass1a.<ForEachAsync>b__17()    at System.Threading.Tasks.Task.InnerInvoke()    at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Squirrel.Utility.<>c__DisplayClass1e1.<>c__DisplayClass20.<b__1d>d__22.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.b__b1(DirectoryInfo ld)
at Squirrel.EnumerableExtensions.ForEach[TSource](IEnumerable1 source, Action1 onNext)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<b__ad>d__bd.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.Utility.d__501.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)    at Squirrel.UpdateManager.ApplyReleasesImpl.<ApplyReleases>d__7a.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Squirrel.UpdateManager.<FullInstall>d__f.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)    at Squirrel.Update.Program.<Install>d__38.MoveNext()    --- End of inner exception stack trace ---    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)    at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)    at System.Threading.Tasks.Task.Wait()    at Squirrel.Update.Program.executeCommandLine(String[] args)    at Squirrel.Update.Program.main(String[] args) ---> (Inner Exception #0) System.AggregateException: One or more errors occurred. ---> System.IO.IOException: Access to the path 'resources' is denied.    at System.IO.DirectoryInfo.MoveTo(String destDirName)    at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.<>c__DisplayClassbb.<installPackageToAppDir>b__b2(DirectoryInfo subdir)    at Squirrel.Utility.<>c__DisplayClass181.<>c__DisplayClass1a.b__17()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.Utility.<>c__DisplayClass1e1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()    --- End of inner exception stack trace ---    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)    at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)    at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.<installPackageToAppDir>b__b1(DirectoryInfo ld)    at Squirrel.EnumerableExtensions.ForEach[TSource](IEnumerable1 source, Action1 onNext)    at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<<installPackageToAppDir>b__ad>d__bd.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Squirrel.Utility.<LogIfThrows>d__501.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Squirrel.UpdateManager.ApplyReleasesImpl.d__7a.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.UpdateManager.d__f.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Squirrel.Update.Program.d__38.MoveNext()
---> (Inner Exception #0) System.IO.IOException: Access to the path 'resources' is denied.
at System.IO.DirectoryInfo.MoveTo(String destDirName)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.<>c__DisplayClassbb.b__b2(DirectoryInfo subdir)
at Squirrel.Utility.<>c__DisplayClass181.<>c__DisplayClass1a.<ForEachAsync>b__17()    at System.Threading.Tasks.Task.InnerInvoke()    at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Squirrel.Utility.<>c__DisplayClass1e1.<>c__DisplayClass20.<b__1d>d__22.MoveNext()<---
<---
2016-09-07 19:13:28> Program: Starting Squirrel Updater: --install .
2016-09-07 19:13:28> Program: Starting install, writing to C:\Users\Salva_000\AppData\Local\SquirrelTemp
2016-09-07 19:13:28> Program: About to install to: C:\Users\Salva_000\AppData\Local\atom
2016-09-07 19:13:28> Program: Install path C:\Users\Salva_000\AppData\Local\atom already exists, burning it to the ground
2016-09-07 19:13:30> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Salva_000\AppData\Local\atom\packages\RELEASES'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
at Squirrel.UpdateManager.CheckForUpdateImpl.d__3f.MoveNext()
2016-09-07 19:13:30> CheckForUpdateImpl: Reading RELEASES file from C:\Users\Salva_000\AppData\Local\SquirrelTemp
2016-09-07 19:13:30> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2016-09-07 19:13:30> ApplyReleasesImpl: Writing files to app directory: C:\Users\Salva_000\AppData\Local\atom\app-1.10.2
2016-09-07 19:13:42> IEnableLogger: Failed to install package to app dir: System.AggregateException: One or more errors occurred. ---> System.IO.IOException: Access to the path 'resources' is denied.
at System.IO.DirectoryInfo.MoveTo(String destDirName)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.<>c__DisplayClassbb.b__b2(DirectoryInfo subdir)
at Squirrel.Utility.<>c__DisplayClass181.<>c__DisplayClass1a.<ForEachAsync>b__17()    at System.Threading.Tasks.Task.InnerInvoke()    at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Squirrel.Utility.<>c__DisplayClass1e1.<>c__DisplayClass20.<b__1d>d__22.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.b__b1(DirectoryInfo ld)
at Squirrel.EnumerableExtensions.ForEach[TSource](IEnumerable1 source, Action1 onNext)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<b__ad>d__bd.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.Utility.d__501.MoveNext() ---> (Inner Exception #0) System.IO.IOException: Access to the path 'resources' is denied.    at System.IO.DirectoryInfo.MoveTo(String destDirName)    at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.<>c__DisplayClassbb.<installPackageToAppDir>b__b2(DirectoryInfo subdir)    at Squirrel.Utility.<>c__DisplayClass181.<>c__DisplayClass1a.b__17()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<b__1d>d__22.MoveNext()<---
2016-09-07 19:13:42> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.IO.IOException: Access to the path 'resources' is denied.
at System.IO.DirectoryInfo.MoveTo(String destDirName)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.<>c__DisplayClassbb.b__b2(DirectoryInfo subdir)
at Squirrel.Utility.<>c__DisplayClass181.<>c__DisplayClass1a.<ForEachAsync>b__17()    at System.Threading.Tasks.Task.InnerInvoke()    at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Squirrel.Utility.<>c__DisplayClass1e1.<>c__DisplayClass20.<b__1d>d__22.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.b__b1(DirectoryInfo ld)
at Squirrel.EnumerableExtensions.ForEach[TSource](IEnumerable1 source, Action1 onNext)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<b__ad>d__bd.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.Utility.d__501.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)    at Squirrel.UpdateManager.ApplyReleasesImpl.<ApplyReleases>d__7a.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Squirrel.UpdateManager.<FullInstall>d__f.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)    at Squirrel.Update.Program.<Install>d__38.MoveNext()    --- End of inner exception stack trace ---    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)    at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)    at System.Threading.Tasks.Task.Wait()    at Squirrel.Update.Program.executeCommandLine(String[] args)    at Squirrel.Update.Program.main(String[] args) ---> (Inner Exception #0) System.AggregateException: One or more errors occurred. ---> System.IO.IOException: Access to the path 'resources' is denied.    at System.IO.DirectoryInfo.MoveTo(String destDirName)    at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.<>c__DisplayClassbb.<installPackageToAppDir>b__b2(DirectoryInfo subdir)    at Squirrel.Utility.<>c__DisplayClass181.<>c__DisplayClass1a.b__17()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.Utility.<>c__DisplayClass1e1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()    --- End of inner exception stack trace ---    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)    at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)    at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.<installPackageToAppDir>b__b1(DirectoryInfo ld)    at Squirrel.EnumerableExtensions.ForEach[TSource](IEnumerable1 source, Action1 onNext)    at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<<installPackageToAppDir>b__ad>d__bd.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Squirrel.Utility.<LogIfThrows>d__501.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Squirrel.UpdateManager.ApplyReleasesImpl.d__7a.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.UpdateManager.d__f.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Squirrel.Update.Program.d__38.MoveNext()
---> (Inner Exception #0) System.IO.IOException: Access to the path 'resources' is denied.
at System.IO.DirectoryInfo.MoveTo(String destDirName)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.<>c__DisplayClassbb.b__b2(DirectoryInfo subdir)
at Squirrel.Utility.<>c__DisplayClass181.<>c__DisplayClass1a.<ForEachAsync>b__17()    at System.Threading.Tasks.Task.InnerInvoke()    at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Squirrel.Utility.<>c__DisplayClass1e1.<>c__DisplayClass20.<b__1d>d__22.MoveNext()<---
<---
2016-09-07 19:14:55> Program: Starting Squirrel Updater: --install .
2016-09-07 19:14:55> Program: Starting install, writing to C:\Users\Salva_000\AppData\Local\SquirrelTemp
2016-09-07 19:14:55> Program: About to install to: C:\Users\Salva_000\AppData\Local\atom
2016-09-07 19:14:55> Program: Install path C:\Users\Salva_000\AppData\Local\atom already exists, burning it to the ground
2016-09-07 19:14:57> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Salva_000\AppData\Local\atom\packages\RELEASES'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
at Squirrel.UpdateManager.CheckForUpdateImpl.d__3f.MoveNext()
2016-09-07 19:14:57> CheckForUpdateImpl: Reading RELEASES file from C:\Users\Salva_000\AppData\Local\SquirrelTemp
2016-09-07 19:14:57> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2016-09-07 19:14:57> ApplyReleasesImpl: Writing files to app directory: C:\Users\Salva_000\AppData\Local\atom\app-1.10.2
2016-09-07 19:15:09> IEnableLogger: Failed to install package to app dir: System.AggregateException: One or more errors occurred. ---> System.IO.IOException: Access to the path 'resources' is denied.
at System.IO.DirectoryInfo.MoveTo(String destDirName)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.<>c__DisplayClassbb.b__b2(DirectoryInfo subdir)
at Squirrel.Utility.<>c__DisplayClass181.<>c__DisplayClass1a.<ForEachAsync>b__17()    at System.Threading.Tasks.Task.InnerInvoke()    at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Squirrel.Utility.<>c__DisplayClass1e1.<>c__DisplayClass20.<b__1d>d__22.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.b__b1(DirectoryInfo ld)
at Squirrel.EnumerableExtensions.ForEach[TSource](IEnumerable1 source, Action1 onNext)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<b__ad>d__bd.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.Utility.d__501.MoveNext() ---> (Inner Exception #0) System.IO.IOException: Access to the path 'resources' is denied.    at System.IO.DirectoryInfo.MoveTo(String destDirName)    at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.<>c__DisplayClassbb.<installPackageToAppDir>b__b2(DirectoryInfo subdir)    at Squirrel.Utility.<>c__DisplayClass181.<>c__DisplayClass1a.b__17()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<b__1d>d__22.MoveNext()<---
2016-09-07 19:15:09> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.IO.IOException: Access to the path 'resources' is denied.
at System.IO.DirectoryInfo.MoveTo(String destDirName)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.<>c__DisplayClassbb.b__b2(DirectoryInfo subdir)
at Squirrel.Utility.<>c__DisplayClass181.<>c__DisplayClass1a.<ForEachAsync>b__17()    at System.Threading.Tasks.Task.InnerInvoke()    at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Squirrel.Utility.<>c__DisplayClass1e1.<>c__DisplayClass20.<b__1d>d__22.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.b__b1(DirectoryInfo ld)
at Squirrel.EnumerableExtensions.ForEach[TSource](IEnumerable1 source, Action1 onNext)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<b__ad>d__bd.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.Utility.d__501.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)    at Squirrel.UpdateManager.ApplyReleasesImpl.<ApplyReleases>d__7a.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Squirrel.UpdateManager.<FullInstall>d__f.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)    at Squirrel.Update.Program.<Install>d__38.MoveNext()    --- End of inner exception stack trace ---    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)    at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)    at System.Threading.Tasks.Task.Wait()    at Squirrel.Update.Program.executeCommandLine(String[] args)    at Squirrel.Update.Program.main(String[] args) ---> (Inner Exception #0) System.AggregateException: One or more errors occurred. ---> System.IO.IOException: Access to the path 'resources' is denied.    at System.IO.DirectoryInfo.MoveTo(String destDirName)    at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.<>c__DisplayClassbb.<installPackageToAppDir>b__b2(DirectoryInfo subdir)    at Squirrel.Utility.<>c__DisplayClass181.<>c__DisplayClass1a.b__17()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.Utility.<>c__DisplayClass1e1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()    --- End of inner exception stack trace ---    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)    at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)    at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.<installPackageToAppDir>b__b1(DirectoryInfo ld)    at Squirrel.EnumerableExtensions.ForEach[TSource](IEnumerable1 source, Action1 onNext)    at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<<installPackageToAppDir>b__ad>d__bd.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Squirrel.Utility.<LogIfThrows>d__501.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Squirrel.UpdateManager.ApplyReleasesImpl.d__7a.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.UpdateManager.d__f.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Squirrel.Update.Program.d__38.MoveNext()
---> (Inner Exception #0) System.IO.IOException: Access to the path 'resources' is denied.
at System.IO.DirectoryInfo.MoveTo(String destDirName)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.<>c__DisplayClassbb.b__b2(DirectoryInfo subdir)
at Squirrel.Utility.<>c__DisplayClass181.<>c__DisplayClass1a.<ForEachAsync>b__17()    at System.Threading.Tasks.Task.InnerInvoke()    at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Squirrel.Utility.<>c__DisplayClass1e1.<>c__DisplayClass20.<b__1d>d__22.MoveNext()<---
<---
2016-09-07 19:29:14> Program: Starting Squirrel Updater: --install .
2016-09-07 19:29:15> Program: Starting install, writing to C:\Users\Salva_000\AppData\Local\SquirrelTemp
2016-09-07 19:29:15> Program: About to install to: C:\Users\Salva_000\AppData\Local\atom
2016-09-07 19:29:15> Program: Install path C:\Users\Salva_000\AppData\Local\atom already exists, burning it to the ground
2016-09-07 19:29:17> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Salva_000\AppData\Local\atom\packages\RELEASES'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
at Squirrel.UpdateManager.CheckForUpdateImpl.d__3f.MoveNext()
2016-09-07 19:29:17> CheckForUpdateImpl: Reading RELEASES file from C:\Users\Salva_000\AppData\Local\SquirrelTemp
2016-09-07 19:29:17> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2016-09-07 19:29:17> ApplyReleasesImpl: Writing files to app directory: C:\Users\Salva_000\AppData\Local\atom\app-1.10.2
2016-09-07 19:29:31> IEnableLogger: Failed to install package to app dir: System.AggregateException: One or more errors occurred. ---> System.IO.IOException: Access to the path 'resources' is denied.
at System.IO.DirectoryInfo.MoveTo(String destDirName)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.<>c__DisplayClassbb.b__b2(DirectoryInfo subdir)
at Squirrel.Utility.<>c__DisplayClass181.<>c__DisplayClass1a.<ForEachAsync>b__17()    at System.Threading.Tasks.Task.InnerInvoke()    at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Squirrel.Utility.<>c__DisplayClass1e1.<>c__DisplayClass20.<b__1d>d__22.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.b__b1(DirectoryInfo ld)
at Squirrel.EnumerableExtensions.ForEach[TSource](IEnumerable1 source, Action1 onNext)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<b__ad>d__bd.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.Utility.d__501.MoveNext() ---> (Inner Exception #0) System.IO.IOException: Access to the path 'resources' is denied.    at System.IO.DirectoryInfo.MoveTo(String destDirName)    at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.<>c__DisplayClassbb.<installPackageToAppDir>b__b2(DirectoryInfo subdir)    at Squirrel.Utility.<>c__DisplayClass181.<>c__DisplayClass1a.b__17()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<b__1d>d__22.MoveNext()<---
2016-09-07 19:29:31> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.IO.IOException: Access to the path 'resources' is denied.
at System.IO.DirectoryInfo.MoveTo(String destDirName)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.<>c__DisplayClassbb.b__b2(DirectoryInfo subdir)
at Squirrel.Utility.<>c__DisplayClass181.<>c__DisplayClass1a.<ForEachAsync>b__17()    at System.Threading.Tasks.Task.InnerInvoke()    at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Squirrel.Utility.<>c__DisplayClass1e1.<>c__DisplayClass20.<b__1d>d__22.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.b__b1(DirectoryInfo ld)
at Squirrel.EnumerableExtensions.ForEach[TSource](IEnumerable1 source, Action1 onNext)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<b__ad>d__bd.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.Utility.d__501.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)    at Squirrel.UpdateManager.ApplyReleasesImpl.<ApplyReleases>d__7a.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Squirrel.UpdateManager.<FullInstall>d__f.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)    at Squirrel.Update.Program.<Install>d__38.MoveNext()    --- End of inner exception stack trace ---    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)    at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)    at System.Threading.Tasks.Task.Wait()    at Squirrel.Update.Program.executeCommandLine(String[] args)    at Squirrel.Update.Program.main(String[] args) ---> (Inner Exception #0) System.AggregateException: One or more errors occurred. ---> System.IO.IOException: Access to the path 'resources' is denied.    at System.IO.DirectoryInfo.MoveTo(String destDirName)    at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.<>c__DisplayClassbb.<installPackageToAppDir>b__b2(DirectoryInfo subdir)    at Squirrel.Utility.<>c__DisplayClass181.<>c__DisplayClass1a.b__17()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.Utility.<>c__DisplayClass1e1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()    --- End of inner exception stack trace ---    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)    at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)    at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.<installPackageToAppDir>b__b1(DirectoryInfo ld)    at Squirrel.EnumerableExtensions.ForEach[TSource](IEnumerable1 source, Action1 onNext)    at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<<installPackageToAppDir>b__ad>d__bd.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Squirrel.Utility.<LogIfThrows>d__501.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Squirrel.UpdateManager.ApplyReleasesImpl.d__7a.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.UpdateManager.d__f.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Squirrel.Update.Program.d__38.MoveNext()
---> (Inner Exception #0) System.IO.IOException: Access to the path 'resources' is denied.
at System.IO.DirectoryInfo.MoveTo(String destDirName)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.<>c__DisplayClassbb.b__b2(DirectoryInfo subdir)
at Squirrel.Utility.<>c__DisplayClass181.<>c__DisplayClass1a.<ForEachAsync>b__17()    at System.Threading.Tasks.Task.InnerInvoke()    at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Squirrel.Utility.<>c__DisplayClass1e1.<>c__DisplayClass20.<b__1d>d__22.MoveNext()<---
<---

Please open a new issue and fill out the provided issue template. Thanks!

Disable your antivirus and try again.


Add getTrace to JobApi

Hope it's okay that I just return a String here.

Thank you for the contribution.

The traces I analyze are around 125000 Characters long and have around 1500 line. Don't know if they have a max size, but the size depends on the output of each job.

@fgro93
Thanks for the info.
Because of the potential size, I'll add methods to get the trace as a file and as an InputStream in the next release.


NUID generated Id seems guessable

Larry,
I used one of the classes NUID from snapshot to generate UUID. As per jnats code this is how it is used. I did the same thing:
NUID.nextGlobal()
However when I did the same thing in all the places UUID is needed I found that generated Ids are somewhat guessable. This is the result of consecutive runs:
eoy2yjf5z47ye5g32qj3p3
eoy2yjf5z47ye5g32qj3qn
eoy2yjf5z47ye5g32qj3s7
eoy2yjf5z47ye5g32qj3tr
eoy2yjf5z47ye5g32qj3vb

If you see first 20 chars are same. If this an expected output?
thanks,
Sachin

No, the prefix length should be 12, and only those should be the same. Thanks for bringing this to my attention; although i tested for uniqueness, I didn't test for this.

@sachinwalia2k8 On further thought, this functions as intended. Each NUID is a base36 string 22 characters in length, with fixed prefix of 12 characters generated from a SecureRandom using SHA1PRNG, and the last 10 characters being an incremental sequence. The increment is a (pseudo-)random number between 33 and 333, and is fixed for each instance of NUID. Considering that the generated strings are base36, and 36^2 is 1296, you will see roughly 3 (~1296/333) to 39 (~1296/33) NUID strings in a row that share the same least-significant 2 bytes.
If you have concerns about the predictability of sequential NUID strings, the solution would be to simply construct a fresh NUID instance as frequently as you deem necessary, rather than generating from the global NUID. While this will be less entropy-friendly, it will certainly be less predictable, as the entire string including its increment would change periodically.

Thanks Larry. let me try that and update this ticket.

Larry your explanation makes sense. I tried the other approach with creating NUID instance on every request. It definitely gives far more randomized distribution. On testing the three different approach: Random UUID vs NUID on-demand vs NUID global there is definitely an advantage in going for generating via nextGlobal as this is best in performance followed by NUID on demand and slowest is UUID.randomUUID.


[BUG] The Error popup is displayed after deleting info cards from the feed

Pre-conditions:

The user is logged in

Steps to reproduce:

Open the page https://goodqa.netlify.app
Swipe to the left info card on the feed
Click on the "Delete" button

Expected result: The info cards should be deleted without any popups after clicking on the "Delete" button
Actual result: The Error popup is displayed after deleting info cards from the feed
Environment: QA 1.28.1-5  PROD 1.28.11
Devices list:
Windows 10 // Google Chrome v91
Attachment:
https://www.screencast.com/t/Z1trEHtyN

hotfixed in https://github.com/GoodDollar/GoodDAPP/commit/6996e9a18f7a9be5575814566f7dd3030fa4157f

@serdiukov-o-nordwhale there's a typo in the last line of code showing the dialog

@serdiukov-o-nordwhale there's a typo in the last line of code showing the dialog

fixed: https://github.com/GoodDollar/GoodDAPP/commit/c3d8f3b6509c5d90e6c2f9a0b1a5ae10b7a2e41f

@serdiukov-o-nordwhale @sirpy
The issue is not reproduced on web QA. The Error popup is not displayed after deleting info cards from the feed. Also checked transations cards.
Checked on the: QA 1.28.1-6
Windows 10 // Google Chrome v 91.0.4472.114
Attachment:
https://www.screencast.com/t/p5F8mtRRNt

@serdiukov-o-nordwhale @sirpy
The issue is not reproduced on web PROD. The Error popup is not displayed after deleting info cards from the feed. Also checked transactions cards.
Checked on the: PROD 1.29.0
Windows 10 // Google Chrome v 91.0.4472.114
Attachment:
https://www.screencast.com/t/iBwyAwvw


fix BCD fields encoding

For some case the encode function was raising AssertionError despite
the BCD value beeing correct (in this case it was 1.11).
There is two main modification in the version I propose:
First the added rounding before converting the "percent" to an integer.
This may seems odd but it is actually to "correct" the error introduce
by the multiplication.
Second the comparison is done "after" conversion by recreating the
floating point value from the integer and percent variables. This is to
make sure that the value in the descriptor is the same as intended.
I've made sure that all correct values (that can be stored in bcd fields)
doesn't raise an error when passed to the encode function.
I've used the following program to test the new implementation:
for obj in [float(f"{i:02}.{p:02}") for i in range(100) for p in range(100)]:
    integer = int(obj) % 100
    percent = int(round(obj * 100)) % 100
    if float(f"{integer:02}.{percent:02}") != obj:
        print (f"BCD conversion error: {integer:02}.{percent:02} != {obj}")

Looks good to me -- thanks a lot. :)


More feedback fixes

I accidentally merged before implementing all feedback from Steve.

Seemed simple enough for me to merge myself, hope that's ok


Make npm package

Make an npm package (similar to bower). Before doing this check to make sure it works in node on the server (I put in a change to remove the window ref, but haven't tested it on node yet).

This is in.


Sliding Menu clickable even if i didnt open it

I have using the jfeinstein10/SlidingMenu (All-sides branch) (https://github.com/jfeinstein10/SlidingMenu/tree/all-sides/)
Everything going well, but i can still click my menu when i enter the activity where it even didn't open yet. I think i click the behind view. Which mean i am triggling every listener in the sliding menu when it didnt open yet.
But the "bug" disappear when i open and close the sliding menu
Here is my code for setting the menu:
	setBehindContentView(R.layout.activity_main);
	getSupportFragmentManager().beginTransaction()
			.replace(R.id.menu_frame, new MenuFragment()).commit();
	getSupportFragmentManager().beginTransaction()
	.replace(R.id.cart_frame, new CartFragment()).commit();
	sm = getSlidingMenu();
	sm.setMenu(R.layout.cart_frame, SlidingMode.RIGHT);
	sm.setMenu(R.layout.menu_frame, SlidingMode.LEFT);
	sm.setBehindWidthRes(R.dimen.slidingmenu_width_right, SlidingMode.RIGHT);
	sm.setBehindWidthRes(R.dimen.slidingmenu_width_left, SlidingMode.LEFT);
	sm.setMode(SlidingMode.LEFT_RIGHT);
	sm.setShadowWidthRes(R.dimen.shadow_width);
	sm.setShadowDrawable(R.drawable.shadow);
	sm.setFadeEnabled(false);

Have you found a solution?
I am experiencing the same problem.

@Dannnyho seems like I've found a workaround.
allsides branch is a bit outdated.
Have a look at mChildrenEnabled in CustomViewBehind, master branch, and setChildrenEnabled() calls from CustomViewAbove.
https://github.com/jfeinstein10/SlidingMenu/blob/master/library%2Fsrc%2Fcom%2Fjeremyfeinstein%2Fslidingmenu%2Flib%2FCustomViewBehind.java

Thanks very much.
I thought all sides branch may have some bugs too.

Best,
Danny
On 18 March 2015 at 03:51, Zaur Agamov<EMAIL_ADDRESS>wrote:

@Dannnyho https://github.com/Dannnyho seems like I've found a
workaround.
allsides branch is a bit outdated.
Have a look at mChildrenEnabled in CustomViewBehind, master branch, and
setChildrenEnabled() calls from CustomViewAbove.
https://github.com/jfeinstein10/SlidingMenu/blob/master/library%2Fsrc%2Fcom%2Fjeremyfeinstein%2Fslidingmenu%2Flib%2FCustomViewBehind.java
—
Reply to this email directly or view it on GitHub
https://github.com/jfeinstein10/SlidingMenu/issues/703#issuecomment-82473526
.

yes, I just added everything related to mChildrenEnabled to CustomViewBehind and CustomViewAbove.


Add commonMath divCil function

Pull Request Test Coverage Report for Build 7169

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+3.0e**-05%**) to 99.946%

Totals

Change from base Build 7163:
3.0e-05%

Covered Lines:
1368

Relevant Lines:
1368

💛  - Coveralls


apt warning

W: http://repo.cloud.docker.com/ubuntu/dists/dockercloud/InRelease: Signature by key 278FE7333CFF7F8B60B677E85DD27147EF170D1C uses weak digest algorithm (SHA1)

I'm dealing with the same issue.

+1

Getting the same thing as well

For those under Ubuntu/Debian distributions this is likely to work for you also. $ designates the prompt but likely to vary for others.
$  sudo ls /etc/apt/sources.list.d
dockercloud.list                  <----- This is what you are after.
Find the PPA you need removed, then run:
$  sudo rm -i /etc/apt/sources.list.d/dockercloud.list
Now you may run your "sudo apt-get update" as normal.


Compatibility Risk Flag

Currently on Foundry 0.7.9, D&D 5e Game System Version 1.2.4 and I'm getting a compatibility risk flag

You can ignore those flags for the most part. Unless something has been shown to have broken, I don't tend to push up an update just to fix this little number. I maybe should but I've got other stuff to do...
There's a sea of compatibility risk flags in module territory, all it means is the number hasn't been incremented.

You can ignore those flags for the most part. Unless something has been shown to have broken, I don't tend to push up an update just to fix this little number. I maybe should but I've got other stuff to do...
There's a sea of compatibility risk flags in module territory, all it means is the number hasn't been incremented.


"Unable to open the database file" / "no space left on device"

This issue is about two versions of docker, and potentially should be two separate issues, but they seem related, so am reporting them as one for now.
Using docker 1.0.1, I found myself unable to create new containers:
$ docker run -i -t myimage /bin/bash
2015/01/19 08:40:59 Error response from daemon: Unable to open the database file: unable to open database file

The corresponding log lines were:
2015/01/19 08:40:59 POST /v1.12/containers/create
[56633361] +job create()
Unable to open the database file: unable to open database file
[56633361] -job create() = ERR (1)
[error] server.go:1025 Error making handler: Unable to open the database file: unable to open database file
[error] server.go:90 HTTP Error: statusCode=500 Unable to open the database file: unable to open database file

This would appear to be related to a disk issue yesterday evening (no space left on device):
2015/01/18 20:30:09 POST /v1.12/containers/create
[694aa85b] +job create()
[error] mount.go:11 [warning]: couldn't run auplink before unmount: exec: "auplin
k": executable file not found in $PATH
symlink /proc/mounts /var/lib/docker/aufs/mnt/acb30424f6840a50b26d42cc37d31518050f850c54ba7bfdc3ba7c06ac9ea799-init/etc/mtab: no space left on device
[694aa85b] -job create() = ERR (1)
[error] server.go:1025 Error making handler: symlink /proc/mounts /var/lib/docker/aufs/mnt/acb30424f6840a50b26d42cc37d31518050f850c54ba7bfdc3ba7c06ac9ea799-init/etc/mtab: no space left on device
[error] server.go:90 HTTP Error: statusCode=500 symlink /proc/mounts /var/lib/docker/aufs/mnt/acb30424f6840a50b26d42cc37

If I restarted the docker daemon, I saw the following:
[56633361] -job init_networkdriver() = OK (0)
Loading containers: ....<snip>....[error] daemon.go:338 Failed to load container acb30424f6840a50b26d42cc37d31518050f850c54ba7bfdc3ba7c06ac9ea799: open /var/lib/docker/containers/acb30424f6840a50b26d42cc37d31518050f850c54ba7bfdc3ba7c06ac9ea799/config.json: no such file or directory
....<snip>....[error] mount.go:11 [warning]: couldn't run auplink before unmount: exec: "auplink": executable file not found in $PATH
....<snip>....: done.
[56633361.initserver()] Creating pidfile

As per the "no such file" message, the directory at  /var/lib/docker/containers/acb30424f6840a50b26d42cc37d31518050f850c54ba7bfdc3ba7c06ac9ea799 was empty.
Upgrading to 1.4.1 results in a new issue, which is that I can't actually start the daemon at all, with the following in the log file:
time="2015-01-19T08:55:03Z" level="info" msg="+job serveapi(tcp://<IP_ADDRESS>:4243, unix:///var/run/docker.sock)"
time="2015-01-19T08:55:03Z" level="fatal" msg="Unable to get the TempDir under /var/lib/docker: mkdir /var/lib/docker/tmp: no space left on device"

However, according to df there is 7.6GB of space on /var/lib/docker.
I am now completely stuck as to how to continue. Under what circumstances would docker require more than 7.6GB of free space to start up?

OK, maybe this is related to something to do with my disk:
# mkdir /var/lib/docker/tmp
mkdir: cannot create directory `/var/lib/docker/tmp': No space left on device

Investigating further.

Closing this for now since it doesn't seem to be a Docker issue.
If you do track down the error and it is docker related, please open a new issue.
Thanks!

This was not a docker issue.
I had exhausted my supply of inodes:
# df -i /var/lib/docker/
Filesystem      Inodes   IUsed IFree IUse% Mounted on
/dev/vdb1      6553600 6553600     0  100% /var/lib/docker

However, although this isn't a Docker issue, it is interesting how quickly I was able to exhaust inodes. Should it be mentioned somewhere in the documentation that sysadmins should consider large inode tables for docker + aufs setups? I don't see this anywhere.

I should add in case it helps anyone else that I was able to escape this situation by deleting the contents of /var/lib/docker/containers; this allowed Docker to start, and then I could do some housekeeping routines to free up more inodes (e.g. docker rm and docker rmi)

Finally, I suspect the cause of our inode exhaustion was that described in issue #9755


Merge Errorhandling into master

Can we get this merged? We really need the exception handling.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: sorenlorentzen sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Would love this as well.

Would love this as well.

+1

let's get this out! can someone pull the branch and fix the conflicts?

Are there any updates?
This functionality would be very helpful!

For now, closing PRs for v2 changes. If there is business justification for this PR, we can reopen.

As documentation describes here, i expected this as a feature already in place for autorest generators.
Business case:
For completeness we want to include status codes as BadRequest, Forbidden and Unauthorized in our API spec (as possible and expected response codes).
However, Autorest will ignore these error codes when they are specified in the spec leading to silent errors (empty response).
Marking response codes as error will combine completeness of the api schema, and improve error handling for clients.
Please reopen this PR and merge.

@JoostvdB94 Currently, we aren't accepting PRs for the v2 generator. We've been hard at work on the v3 generator, which works with Azure.Core. Errors would be handled through the Azure.Core pipeline. In v3, currently all x-ms-error-responses will result in operation failures appropriately.


partial functions in symbolic rewriting

In java-backend's symbolic rewriting mode, if a condition of a rule contains a partial function which failed to evaluate, the rule is simply applied with a constraint having the unresolved function, which has little sense. We have two different situations in this regard:

We may want to drop the current execution path entirely, especially for searching or proving. e.g., divide-by-zero
We may want to consider those unresolved functions as bottom and the whole condition as false, especially for normal concrete execution. e.g., getKLabel applied to a token.

One possible solution would be to ask user to make every partial function as total, e.g., using [owise] rule. This will work for the second situation above, but may not for the first one. It would be better to discuss a general solution.

I agree paths should be dropped if the function is definitely stuck on (all ground instances of) the given arguments, but I think it makes plenty of sense to have unevaluated functions in side conditions in more general cases, if you consider such a constraint as also asserting that the function is actually defined on those arguments, and some way of checking whether a function is defined seems to be necessary for handling function applications with symbolic arguments (I suppose splitting states based on different clauses of a function definition might sometimes work, but it's not safe for recursive functions).
At the other side of tracking conditions in execution, we need to make sure that functions failing to evaluate is also considered wherever we need to calculate what conditions make a term stuck.

https://github.com/kframework/k/pull/1925/files#diff-577ed67708e4facf3a50380408fa9c30R949

@cos could you take care of this? I think you can easily fix it at least for the case of KOOL:
https://github.com/kframework/k/pull/1925/files#diff-577ed67708e4facf3a50380408fa9c30R949

@daejunpark, [owise] can be easily handled by strategies. They are not active by default now, and it wouldn't be wise to activate them for the tutorial just now. Fixing this by other means would mean adding another special case in the backend, and I would rather avoid it. I'll mark this to be fixed later.


#16681 cause error if the $config param not already include 'options' key

#16681
    public function widget($class, $config = [])
    {
        foreach ($this->inputOptions as $key => $value) {
            if (!isset($config['options'][$key])) {
                $config['options'][$key] = $value;
            }
        }

must be
    public function widget($class, $config = [])
    {
        foreach ($this->inputOptions as $key => $value) {
             if(!isset($config['options']){
                  $config['options'] = [];
              }
            if (!isset($config['options'][$key])) {
                $config['options'][$key] = $value;
            }
        }

i have this code and i get error on it
					$form->field($model, "xs_$lang")->widget(PhotoInput::className(), [ 						'form' => $form, 						'imgWidth' => 200, 						'imgHeight' => 200 * $mod->getPhotoSaveDimension('xs')['height'] / ($mod->getPhotoSaveDimension('xs')['width']?:400), 					]).

https://github.com/yiisoft/yii2/commit/a7f98964151d5894d9862fb0a1bf80040de86b69

Reverted. See https://3v4l.org/D988b

That doesn't solve the problem
<?= $form->field($model, 'test')
    ->widget(Test::class)
    ->label(false); ?>

Unknown Property – yii\base\UnknownPropertyException
Setting unknown property: app\components\test\Test::options

Please post code of Test class.

This foreach probably should be moved under if (is_subclass_of($class, 'yii\widgets\InputWidget')) condition - inputOptions should be populated only for InputWidget instances.

I use to pass in attributes.
public $model;
public $attribute;

If you add $options, everything works. But, this worked and until 2.0.17. I'm not sure this fix should be like this

This foreach probably should be moved under if (is_subclass_of($class, 'yii\widgets\InputWidget')) condition - inputOptions should be populated only for InputWidget instances.

It doesn't work.

@s1lver How it could not work if InputWidget has options property? You will never get UnknownPropertyException exception in this case.

@rob006 the property is, because I added it there to avoid errors. But, why this surplus action?

@s1lver Sorry, I don't get your point. I'm proposing to move this:
https://github.com/yiisoft/yii2/blob/f7fcc0043e1263a281172c8e28c688e2c6e83839/framework/widgets/ActiveField.php#L766-L770
Under this condition:
https://github.com/yiisoft/yii2/blob/f7fcc0043e1263a281172c8e28c688e2c6e83839/framework/widgets/ActiveField.php#L775
You don't need add options property manually, since InputWidget already has it. And if your widget does not extend InputWidget, inputOptions will be ignored like before.

You don't need add options property manually, since InputWidget already has it. And if your widget does not extend InputWidget, inputOptions will be ignored like before.

Yes, I agree with that.

I think we hurried with the correction. Looks like no problem.

@s1lver huh?

@samdark now I can not explain more, but in #17230 is a similar situation. in the process of writing tests, I understood my mistake. not inherited from the desired class. if you look closely at the custom widget, the error is the same for everyone. we are trying to implement inputwidget without implementing all its properties. hence the problem. and this error is absolutely correct. solved by proper legacy or additional implementatio

@rob006 Wrote https://github.com/yiisoft/yii2/issues/17220#issuecomment-476234661:

I'm proposing to move this:
yii2/framework/widgets/ActiveField.php
Lines 766 to 770 in f7fcc00
     foreach ($this->inputOptions as $key => $value) {
         if (!isset($config['options'][$key])) {
             $config['options'][$key] = $value;
         }
     }

Under this condition:
yii2/framework/widgets/ActiveField.php
Line 775 in f7fcc00
     if (is_subclass_of($class, 'yii\widgets\InputWidget')) {

You don't need add options property manually, since InputWidget already has it. And if your widget does not extend InputWidget, inputOptions will be ignored like before.

That would require any widget to  InputWidget, my suggestion would be to check if the class has a 'options' property. Please see #17231

@webinjaz Could you please have a look at #17230 and check if the workaround mentioned there solves your problem or if would still remain, which would mean you're having a different problem.

That would require any widget to InputWidget, my suggestion would be to check if the class has a 'options' property.

If widget should behave as InputWidget, then it should extend InputWidget. Having options property in widget does not mean that it should be input options. Your PR may break BC by assuming intentions by property name.

Having options property in widget does not mean that it should be input options. Your PR may break BC by assuming intentions by property name.

I agree. But that also works the other way around:

If widget should behave as InputWidget, then it should extend InputWidget.

Aren't you then use the class InputWidget as an interface? If so, I think it should have it's own InputWidgetInterface or ActiveFieldWidgetInterface.

If so, I think it should have it's own InputWidgetInterface

Technically - yes, it should be an interface. But interfaces cannot contain properties, so changing this will be too invasive for Yii2. It is rather a topic for Yii3

Expected behaviour
class TestCustomInputWidget extends InputWidget
{
    public $model;
    public $attribute;
}

or
class TestCustomInputWidget extends InputWidget
{
    public function run()
    {
        $this->model;
    }
}

Error-causing implementation
class TesCustomWidget extends Widget
{
    public $model;
    public $attribute;
}

Here I want to implement my widget, the error is logical, as ActiveField expects $options. But this is not implemented in the widget.
Therefore, I believe that this is more of a logical error in creating a widget than in ActiveField.


Use fallback/regeneration for workshop pages

It’d be great to use fallback: true & revalidate so workshop pages would automatically refresh themselves off GitHub (hackclub/hackclub) instead of rebuilding the entire site on every commit of that repo. (That’s currently happening via a GitHub webhook hitting Vercel, which any HQ member can disable if it’s no longer needed.)
(Bonus: add regeneration to the Conduct page & fallback to VIP Newsletters as well!)
I’m not planning to take this on, but please go for it if you’re feeling inspired! Happy to help.

Closed in #66!

Reopening because the downloading broke

Good morning from here please I need help on to hack social media

🎉  Finally, this has been completed! And is working!