text1
stringlengths
2
269k
text2
stringlengths
2
242k
label
int64
0
1
I just found out that property access expressions doesn't work on type predicate functions and `instanceof` type guards. class A { propA: number; } class B { propB: number; } class C { propC: A; } declare function isA(p1: any): p1 is D; interface D { a: A | B b: A | C; } let d: D; if (isA(d.b)) { d.b.propA; //error } function foo(d: D) { if (d.b instanceof A) { d.b.propA // error } } I'm not sure if there is an easy fix on this problem. We are provided just a symbol when narrowing. That symbol represent the left most expression and then we walk up the if statement. There is no easy way of controlling symbol by symbol on each namespace in a property access expression in the if-statement- body. Because there is no info about the property access expression provided in `getTypeOfSymbolAtLocation(symbol: Symbol, node: Node)`. I also found that type assertion expressions are also not working in type predicate functions. But I will land a fix on that. if (isA(<A>union)) { a = union; } if (isA(union as A)) { a = union; }
This is a proposal for using property access as another form of type guards (see #900) to narrow union types. While we're investigating expanding the power of type guards (#1007) this feature would support the natural style that JavaScript programmers have in their code today. ### Using property access to narrow union types var x: string|number; if (x.length) { // no error even though number lacks a length property var r = x.charAt(3); // x is of type string inside this block } var r2 = x.length || x * x; // no error, x narrowed to number on right hand side, r3 is number var y: string[]|number[]|string; if (y.length && y.push) { // y is string[]|number[] now var first = y[0]; // first is string|number if (first.length) { // first is string in here } else { // first is number in here } } We do not expand the situations in which types are narrowed, but we do expand the known type guard patterns to include basic property access. In these narrowing contexts it would be an error to access a property that does not exist in at least one of the constituent types of a union type (as it is today). However, it would now be valid to access a property that exists in at least one, but not all, constituent types. Any such property access will then narrow the type of the operand to only those constituent types in the union which do contain the accessed property. In any other context property access is unchanged. ### Invalid property access var x: string|number; var r = x.length; // error, not a type guard, normal property access rules apply if (x.len) { } // error, len does not exist on type string|number var r3 = !x.len && x.length; // error, len does not exist on type string|number var r4 = x.length && x.len; // error, len does not exist on type string ### Issues/Questions * Should the language service behave differently in these type guard contexts? Should dotting off a union type in a type guard list all members on all types rather than only those that exist on all of them? * Need to understand performance implications I have a sample implementation and tests in a branch here: https://github.com/Microsoft/TypeScript/tree/typeGuardsViaPropertyAccess. There're a couple bugs remaining but examples like the above all work and no existing behavior was changed.
1
I am trying to run the following code in anaconda on 64 bit windows 8.1. But it is generating error randomly after some epochs. Please help to get out of this. Code: from **future** import print_function import os import datetime import time import numpy as np from keras.datasets import cifar10 from keras.preprocessing.image import ImageDataGenerator from keras.models import Sequential from keras.layers.core import Dense, Dropout, Activation, Flatten from keras.layers.convolutional import Convolution2D, MaxPooling2D from keras.optimizers import SGD,Adam, RMSprop from keras.utils import np_utils import matplotlib.pyplot as plt from keras.callbacks import Callback, ModelCheckpoint, History batch_size = 32 nb_classes = 10 nb_epoch = 50 nwt = datetime.datetime.now # input image dimensions img_rows, img_cols = 32, 32 # the CIFAR10 images are RGB img_channels = 3 # the data, shuffled and split between train and test sets (X_train, y_train), (X_test, y_test) = cifar10.load_data() # X_train = X_train[0:1000,:] # y_train = y_train[0:1000] # X_test = X_test[0:1000,:] # y_test = y_test[0:1000,] print('X_train shape:', X_train.shape) print(X_train.shape[0], 'train samples') print(X_test.shape[0], 'test samples') # convert class vectors to binary class matrices Y_train = np_utils.to_categorical(y_train, nb_classes) Y_test = np_utils.to_categorical(y_test, nb_classes) model = Sequential() model.add(Convolution2D(32, 3, 3, border_mode='same', input_shape=(img_channels, img_rows, img_cols))) model.add(Activation('relu')) model.add(Convolution2D(32, 3, 3)) model.add(Activation('relu')) model.add(MaxPooling2D(pool_size=(2, 2))) model.add(Dropout(0.25)) model.add(Convolution2D(64, 3, 3, border_mode='same')) model.add(Activation('relu')) model.add(Convolution2D(64, 3, 3)) model.add(Activation('relu')) model.add(MaxPooling2D(pool_size=(2, 2))) model.add(Dropout(0.25)) model.add(Flatten()) model.add(Dense(512)) model.add(Activation('relu')) model.add(Dropout(0.5)) model.add(Dense(nb_classes)) model.add(Activation('softmax')) # let's train the model using SGD + momentum (how original). sgd = SGD(lr=0.01, decay=1e-6, momentum=0.9, nesterov=True) model.compile(loss='categorical_crossentropy', optimizer=sgd, metrics = ['accuracy']) X_train = X_train.astype('float32') X_test = X_test.astype('float32') X_train /= 255 X_test /= 255 start_time = nwt() print('Using real-time data augmentation.') WEIGHTS_FNAME = 'cifar_aug_cnn_weights.hdf' if False and os.path.exists(WEIGHTS_FNAME): # Just change the True to false to force re-training print('Loading existing weights') model.load_weights(WEIGHTS_FNAME) else: # this will do preprocessing and realtime data augmentation datagen = ImageDataGenerator( featurewise_center=False, # set input mean to 0 over the dataset samplewise_center=False, # set each sample mean to 0 featurewise_std_normalization=False, # divide inputs by std of the dataset samplewise_std_normalization=False, # divide each input by its std zca_whitening=False, # apply ZCA whitening rotation_range=0, # randomly rotate images in the range (degrees, 0 to 180) width_shift_range=0.1, # randomly shift images horizontally (fraction of total width) height_shift_range=0.1, # randomly shift images vertically (fraction of total height) horizontal_flip=True, # randomly flip images vertical_flip=False) # randomly flip images # compute quantities required for featurewise normalization # (std, mean, and principal components if ZCA whitening is applied) datagen.fit(X_train) # fit the model on the batches generated by datagen.flow() # checkpt = ModelCheckpoint(filepath="F:\own_trial\p1_da\data\weights_{epoch:}.hdf", verbose=0, save_best_only=False) model.fit_generator(datagen.flow(X_train, Y_train, batch_size=batch_size), samples_per_epoch=X_train.shape[0], nb_epoch=nb_epoch, verbose = 1, validation_data=(X_test, Y_test), nb_worker=1) # time.sleep(3) model.save_weights(WEIGHTS_FNAME) * * * Error occured at 43th epoch after processing 3424 files is: Epoch 43/50 3424/50000 [=>............................] - ETA: 91s - loss: 0.7680 - acc: 0.7314 Traceback (most recent call last): File "", line 1, in runfile('F:/da_trail/p1_da_50/demo_da.py', wdir='F:/da_trail/p1_da_50') File "C:\Users\Y50-70\Anaconda2\lib\site- packages\spyderlib\widgets\externalshell\sitecustomize.py", line 714, in runfile execfile(filename, namespace) File "C:\Users\Y50-70\Anaconda2\lib\site- packages\spyderlib\widgets\externalshell\sitecustomize.py", line 74, in execfile exec(compile(scripttext, filename, 'exec'), glob, loc) File "F:/da_trail/p1_da_50/demo_da.py", line 116, in nb_worker=1) File "C:\Users\Y50-70\Anaconda2\lib\site-packages\keras\models.py", line 851, in fit_generator pickle_safe=pickle_safe) File "C:\Users\Y50-70\Anaconda2\lib\site-packages\keras\engine\training.py", line 1454, in fit_generator callbacks.on_batch_end(batch_index, batch_logs) File "C:\Users\Y50-70\Anaconda2\lib\site-packages\keras\callbacks.py", line 61, in on_batch_end callback.on_batch_end(batch, logs) File "C:\Users\Y50-70\Anaconda2\lib\site-packages\keras\callbacks.py", line 189, in on_batch_end self.progbar.update(self.seen, self.log_values) File "C:\Users\Y50-70\Anaconda2\lib\site- packages\keras\utils\generic_utils.py", line 119, in update sys.stdout.write(info) File "C:\Users\Y50-70\Anaconda2\lib\site-packages\ipykernel\iostream.py", line 317, in write self._buffer.write(string) ValueError: I/O operation on closed file
Any idea what could be causing this error? I've been trying to solve this for a week. Thanks in advance. Train on 60816 samples, validate on 15204 samples Epoch 1/20 60816/60816 [==============================] - 19s - loss: 0.1665 - acc: 0.9597 - val_loss: 0.1509 - val_acc: 0.9605 Epoch 2/20 31200/60816 [==============>...............] - ETA: 8s - loss: 0.1583 - acc: 0.9600����������������������������������������������������������������������������������� --------------------------------------------------------------------------- ValueError Traceback (most recent call last) <ipython-input-4-e3590f9fe5e6> in <module>() 16 17 my_model = model.fit(train_x, train_y, batch_size=100, nb_epoch=20, ---> 18 show_accuracy=True, verbose=1, validation_data=(test_x, test_y)) 19 score = model.evaluate(test_x, test_y, show_accuracy=True, verbose=0) 20 print('Test loss:', score[0]) /usr/local/lib/python2.7/dist-packages/keras/models.pyc in fit(self, X, y, batch_size, nb_epoch, verbose, callbacks, validation_split, validation_data, shuffle, show_accuracy, class_weight, sample_weight) 644 verbose=verbose, callbacks=callbacks, 645 val_f=val_f, val_ins=val_ins, --> 646 shuffle=shuffle, metrics=metrics) 647 648 def predict(self, X, batch_size=128, verbose=0): /usr/local/lib/python2.7/dist-packages/keras/models.pyc in _fit(self, f, ins, out_labels, batch_size, nb_epoch, verbose, callbacks, val_f, val_ins, shuffle, metrics) 284 batch_logs[l] = o 285 --> 286 callbacks.on_batch_end(batch_index, batch_logs) 287 288 epoch_logs = {} /usr/local/lib/python2.7/dist-packages/keras/callbacks.pyc in on_batch_end(self, batch, logs) 58 t_before_callbacks = time.time() 59 for callback in self.callbacks: ---> 60 callback.on_batch_end(batch, logs) 61 self._delta_ts_batch_end.append(time.time() - t_before_callbacks) 62 delta_t_median = np.median(self._delta_ts_batch_end) /usr/local/lib/python2.7/dist-packages/keras/callbacks.pyc in on_batch_end(self, batch, logs) 168 # will be handled by on_epoch_end 169 if self.verbose and self.seen < self.params['nb_sample']: --> 170 self.progbar.update(self.seen, self.log_values) 171 172 def on_epoch_end(self, epoch, logs={}): /usr/local/lib/python2.7/dist-packages/keras/utils/generic_utils.pyc in update(self, current, values) 59 prev_total_width = self.total_width 60 sys.stdout.write("\b" * prev_total_width) ---> 61 sys.stdout.write("\r") 62 63 numdigits = int(np.floor(np.log10(self.target))) + 1 /usr/local/lib/python2.7/dist-packages/ipykernel/iostream.pyc in write(self, string) 315 316 is_child = (not self._is_master_process()) --> 317 self._buffer.write(string) 318 if is_child: 319 # newlines imply flush in subprocesses ValueError: I/O operation on closed file
1
**Do you want to request a _feature_ or report a _bug_?** Bug **What is the current behavior?** Adding NamedModulesPlugin to a project that uses certain global lookups results in what are effectively reference errors. **If the current behavior is a bug, please provide the steps to reproduce.** Add NamedModulePlugins to https://github.com/shakacode/bootstrap- loader/blob/master/examples/basic/webpack.dev.config.js (which uses jquery & bootstrap. Resulting Error). https://github.com/eggheadio/egghead- ui/blob/master/src/components/Icon/index.js#L65 also breaks with `keys` being declared not a function. **What is the expected behavior?** That global lookups work. **If this is a feature request, what is motivation or use case for changing the behavior?** Compatibility with other libraries. **Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.** webpack: 2.2.1
Adding NamedModulesPlugin to the webpack config somehow removes jquery aliases from the global namespace. Results in the following Bootstrap Utils error: Uncaught TypeError: Cannot set property 'emulateTransitionEnd' of undefined at setTransitionEndSupport (webpack:///./\~/bootstrap/js/dist/util.js?./\~/exports-loader?Util:88) at eval (webpack:///./\~/bootstrap/js/dist/util.js?./\~/exports-loader?Util:146) at Object.eval (webpack:///./\~/bootstrap/js/dist/util.js?./\~/exports-loader?Util:149) at eval (webpack:///./\~/bootstrap/js/dist/util.js?./\~/exports-loader?Util:155) at Object../node_modules/exports-loader/index.js?Util!./node_modules/bootstrap/js/dist/util.js (vendor-client-bundle.js:5770) at \_\_webpack_require\_\_ (vendor-client-bundle.js:692) at fn (vendor-client-bundle.js:111) at eval (webpack:///./~/bootstrap/js/dist/alert.js?:185) at Object../node_modules/bootstrap/js/dist/alert.js (vendor-client-bundle.js:922) at \_\_webpack_require\_\_ (vendor-client-bundle.js:692)
1
**Migrated issue, originally created by Johannes Erdfelt (@jerdfelt)** sqlite treats unique indexes and unique constraints as distinct entities. However, only indexes are reflected and unique constraints aren't. This is different than mysql (which aliases unique constraints to a unique index) and postgresql (which has distinct unique indexes and unique constraints). The attached script shows the problem. * * * Attachments: test_reflection.py | postgres.dump | sqlite.dump
### Describe the use case Postgresql supports domains using the `CREATE DOMAIN` and `DROP DOMAIN` commands. A domain is a data type with additional constraints -- for example, an email address is a specific kind of string, so you can use a domain to define a type that only accepts strings that are correctly formatted as email addresses. I would like to be able to define and manage domains using SQLAlchemy, in the same kind of way that I am already able to define and manage enums with SQLAlchemy. ### Databases / Backends / Drivers targeted Postgresql only. As far as I can tell, no other database that SQLAlchemy supports, supports domains. ### Example Use import sqlalchemy as sa Email = Domain( name="email", data_type=sa.Text, constraint=sa.CheckConstraint(r"VALUE ~ '[^@]+@[^@]+\.[^@]+'"), ) t1 = sa.Table( "table", metadata, sa.Column("id", sa.Integer, primary_key=True), sa.Column("email", Email), ) ### Additional context _No response_
0
Sick of every time I open Atom having to update stuff...
Saw an Atom update, closed Atom to get it. Relaunched Atom from the Terminal: [master] ~/Development/ $ atom . LSOpenURLsWithRole() failed for the application /Applications/Atom.app with error -10810. I guess that means: "I'm still downloading! Be patient!" It'd be nice if the message clarified that a bit. Maybe with something relevant like "Fetching necessary valence electrons, please wait a moment." I'll leave the science jokes to you. Somewhat related, I then had to hit `atom .` one more time to get it to open. I either shouldn't have to do this ( _i.e._ Atom remembers there's a pending `atom` command and launches after it's done downloading), or, the release notes provides a button that says "download and restart."
0
**Is this a request for help?** (If yes, you should use our troubleshooting guide and community support channels, see http://kubernetes.io/docs/troubleshooting/.): **What keywords did you search in Kubernetes issues before filing this one?** (If you have found any duplicates, you should instead reply there.): created API client, waiting for the control plane to become ready ## Related to or a similar discussion happened @ #33544 ** BUG REPORT ** (choose one): **Kubernetes version** (use `kubectl version`): kubectl version Client Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.0", GitCommit:"a16c0a7f71a6f93c7e0f222d961f4675cd97a46b", GitTreeState:"clean", BuildDate:"2016-09-26T18:16:57Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"} kubeadm version: version.Info{Major:"1", Minor:"5+", GitVersion:"v1.5.0-alpha.0.1534+cf7301f16c0363-dirty", GitCommit:"cf7301f16c036363c4fdcb5d4d0c867720214598", GitTreeState:"dirty", BuildDate:"2016-09-27T18:10:39Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"} **Environment** : * **Cloud provider or hardware configuration** : Virtual box, vagrant 1.8.1, bento/ubuntu-16.04, 1.5GB RAM, 1 CPU * **OS** (e.g. from /etc/os-release): Distributor ID: Ubuntu Description: Ubuntu 16.04.1 LTS Release: 16.04 Codename: xenial * **Kernel** (e.g. `uname -a`): Linux vagrant 4.4.0-38-generic #57-Ubuntu SMP Tue Sep 6 15:42:33 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux * **Install tools** : * **Others** : **What happened** : As I try to run kubeadm init, it hangs with root@vagrant:~# kubeadm init <master/tokens> generated token: "eca953.0642ac0fa7fc6378" <master/pki> created keys and certificates in "/etc/kubernetes/pki" <util/kubeconfig> created "/etc/kubernetes/kubelet.conf" <util/kubeconfig> created "/etc/kubernetes/admin.conf" <master/apiclient> created API client configuration <master/apiclient> created API client, waiting for the control plane to become ready **What you expected to happen** : The command should have succeeded thereby downloading and installing the cluster database and “control plane” components **How to reproduce it** (as minimally and precisely as possible): Download and install docker on Ubuntu 16.04 by following https://docs.docker.com/engine/installation/linux/ubuntulinux/ Follow http://kubernetes.io/docs/getting-started-guides/kubeadm/ to install kubernete **Anything else do we need to know** :
Namespace entity, as other entities, contains ObjectMeta (metadata), which contains in turn also a namespace property, which is : a. duplication of information b. can be updated to a completely different value than the namespace it's in. so imho this is a bug and can cause inconsistency and confusion.
0
Using the shortcuts for copying and pasting text selections duplicates the last selected character to the beginning of the newly inserted line. ![atom_copypaster_error](https://cloud.githubusercontent.com/assets/1464876/2944320/86027e86-d9d1-11e3-90ca- cb7a1aec8f8c.png) * using copy shortcut and paste from the menu works fine * using copy from the menu and paste shortcut even prepends the last character of the selected line to the new one. Plattform: Ubuntu 14.04 64bit $uname -a Linux mindcrime 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Atom Version 0.95.0-7cdaaf2
When editing files over an sshfs connection, it takes long periods of time to perform basic actions (directory expansion, file opening). This is likely because git is running locally, but querying a remote repository many times -- can these behaviors be migrated into a non-blocking request? e.g., allow the file to open before the git repo has been read for any changes.
0
#### Challenge Name #### Issue Description Going to the following URL: https://github.com/FreeCodeCamp/FreeCodeCamp/wiki This web page has a link called "template" for the Wiki template page. Clicking on this link (https://github.com/FreeCodeCamp/FreeCodeCamp/wiki/Algorithm-Wiki-Template) redirects to the original main wiki page. It should be displaying the wiki template page #### Browser Information * Browser Name, Version: Latest Chrome * Operating System: OS X * Mobile, Desktop, or Tablet: Desktop #### Your Code #### Screenshot
I noticed that a couple of links are breaking in FreeCodeCamp wiki. * Camperbot https://freecodecamp.github.io/wiki/en/CamperBot * Template https://freecodecamp.github.io/wiki/en/Algorithm-Wiki-Template
1
### Description Modify the batch indexing task ID generation logic from `<index_type_name>_<datasource>_timestamp` to `<index_type_name>_<datasource>_<random_id>` This would impact native index tasks as well as hadoop index tasks. ### Motivation With the existing task naming convention, if there are multiple indexing tasks submitted at the same time for a datasource, only one of the tasks gets accepted and the remaining tasks fail with `Task[xxx] already exists`. I'd like to modify the naming convention to the one mentioned above, so that this issue can be avoided. @jihoonson Any comments regarding this?
HadoopDruidIndexer should load up the runtime.properties like all of the other processes and be able to fill stuff into the configuration based on the values it finds (stuff like the pusher). This would help consolidate the various different ways of specifying configuration.
0
### Version 2.4.1 ### Reproduction link https://github.com/tiagofelipe/vue-store-bug ### Steps to reproduce In src/app/auth/services/auth.js i need to import the store "import store from '../../../store'", but an error occurred: Uncaught TypeError: Cannot read property 'state' of undefined Turns out I wasted a lot of time trying to understand the problem, and then I realized that one of the vuex modules was not being loaded, called auth. After several tests, I discovered that, inside my import file of the store modules "src/app/store.js" the following problem occurred: import {store as auth} from './auth' - always returns the error even though I changing the address to './auth/index.js' Then I duplicated the file './auth/index.js' with a new name './auth/teste.js', keeping the code identical in both files, and changed the import to: import {store as auth} from './auth/teste' - this made it work Without understanding why this happens, I decided to report the problem. If I remove the import store from file 'src/app/auth/services/auth.js', the application returns to normal operation, vuex also works normally and can even load the auth module. ### What is expected? Load vuex modules and application work ### What is actually happening? Uncaught TypeError: Cannot read property 'state' of undefined
### What problem does this feature solve? 因为dom隐藏下,其宽度或者高度为0,但是偏偏有些组件需要用到这个高度宽度,比如自定义的滚动条,轮播等等。 这类的组件一般都有自己的refresh的方法。 为开发过程中为了追求更快的渲染速度使用的是v-show的方案,虽然可以通过v-show对应data的watch去监听 但是这就要组件对外暴露对应的refresh方法,而不能从组件内部的show钩子去实现刷新,这似乎并不怎么优雅。 综上,我希望可以增加show或者hide钩子函数,或者有其他替代方案也是可以的 ### What does the proposed API look like? 如同钩子函数一样,或者类似的插件也是可以的
0
### **bug** You can find the code : https://codesandbox.io/s/j3233w91xw **Code explanation :** * The Parent component called "ManageEvents" make an API call to get a list of Events from the backend. * Once the events get fetch, I use the function "map" to create the child components called "EventCard" that takes in arguments the events parameters that i fetched. (eventName, eventLocation... and EventPictureIDs) * In the EventCard component, I fetch the pictures url using the EventPictureIDs parameter and store the urls in the state called "picture" ( state = { picture: [] }; ) * Then I display the pictures in the component call "CarouselComponent" **Note : ** I just added a button "delete" to delete the cards that you will create. You will get an error on the deletion ( in the javascript console) but if you refresh the page the card will be deleted. **PLEASE DO NOT DELETE THE CARD THAT ALREADY EXIST OTHERWISE YOU WONT BE ABLE TO REPRODUCE THE ERROR** ### **What is the current behavior?** **Issue :** When I create a new Event, I click on the button "Create Event" that triggers the action to create a default event as follow : let postData = { name: "New Event", location_name: "Paris", location_lat: 34.12345, location_lng: -14.12345, description: "Add the Event's Description", date: moment().format("YYYY-MM-DDThh:mm"), participant: 20, **picture: []** }; and once the event is created in the backend, I use the function "val.unshift(res.data); setstate(....);" to add the event to the ManageEvent State (I use unshift to have the new event being shown as the first Card) And then I re-render the component. The issue is that even if the new event does not have any pictures ( picture: [] ), Reactjs render the component "EventCard" showing pictures for this new event. Reactjs uses the pictures from the previous card for this new card If you refresh the page, the new card will appear correctly without pictures. but it should appear like that without to refresh the page. The state of EventCard ( ( state = { picture: [] }; ) ) is not re-init to empty at the each component creation. **Note :** when using "unshift" the new card appears at the first place with picture (should not appears with pictures) when using "push" instead of "unshift" the new card appears at the last place without pictures (expected) ### **What is the expected behavior?** I want to use "unshift" to have the new card at the first place without pictures ### **Which versions of React, and which browser / OS are affected by this issue? ** "react": "^16.5.2" Chrome - Firefox
**Do you want to request a _feature_ or report a _bug_?** Request a feature **What is the current behavior?** `getDerivedStateFromProps` does not expose `prevProps` **What is the expected behavior?** `getDerivedStateFromProps` should expose `prevProps` for cleaner implementation of use case mentioned below. **Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?** react: 16.4+ I know there was a similar discussion in the issues here before regarding exposing previous props in `getDerivedStateFromProps`, but I believe I came across a use case where this can be useful, its very specific, yet it required me to replicate a lot of previous props in the state. Below is a component I use in react-native to add an animation where screens crossfade and don't just unmount instantly, it also checks if next route is an overlay and preserves screen behind it. As you can see I had to create `prevPathname` `prevData` and `prevChildren` for this to work, which I think is not too terrible, yet results in a lot of repetition. Perhaps my implementation is missing something to remove the repetition or maybe I am not understanding why we are not exposing prevProps? // @flow import React, { Component } from 'react' import { Animated } from 'react-native' import { durationNormal, easeInQuad, easeOutQuad } from '../services/Animation' import type { Node } from 'react' type Props = { pathname: string, data: ?{ overlay: boolean }, children: Node, authenticated: boolean } type State = { prevPathname: ?string, prevChildren: Node, prevData: ?{ overlay: boolean }, animation: Animated.Value, activeChildren: Node, pointerEvents: boolean, authAnimation: boolean } class RouteFadeAnimation extends Component<Props, State> { state = { prevPathname: null, prevChildren: null, prevData: null, animation: new Animated.Value(0), activeChildren: null, pointerEvents: true, authAnimation: true } static getDerivedStateFromProps(nextProps: Props, prevState: State) { const { pathname, data, children } = nextProps const { prevPathname, prevData, prevChildren } = prevState // This will be returned always to store "previous" props in state, so we can compare against them in // future getDerivedStateFromProps, this is where I'd like to use prevProps const prevPropsState = { prevChildren: children, prevPathname: pathname, prevData: data } // Check if pathname changed, i.e we are going to another view if (pathname !== prevPathname) { // Check if current visible view is a modal, if it is, we go to default return if (!prevData || !prevData.overlay) { // Check if future view is not a modal if (!data || !data.overlay) { // Preserve current view while we are animationg out (even though pathname changed) return { activeChildren: prevChildren, pointerEvents: false, ...prevPropsState } // If future view is a modal, preserve current view, so it is visible behind it } else if (data.overlay) { return { activeChildren: prevChildren, ...prevPropsState } } } // If previous view was a modal (only normal view can follow after modal) reset our view persistance // and use children as opposed to activeChildren return { activeChildren: null, ...prevPropsState } } // Persist prevProps in state return { ...prevPropsState } } // This just handles animation based on cases above componentDidUpdate(prevProps: Props) { const { pathname, data, authenticated } = this.props const { authAnimation } = this.state if (authenticated && authAnimation) this.animate(1) else if (pathname !== prevProps.pathname) { if (!prevProps.data || !prevProps.data.overlay) { if (!data || !data.overlay) this.animate(0) } } } animate = (value: 0 | 1) => { let delay = value === 1 ? 60 : 0 const { authAnimation } = this.state if (authAnimation) delay = 2000 Animated.timing(this.state.animation, { toValue: value, duration: durationNormal, delay, easing: value === 0 ? easeInQuad : easeOutQuad, useNativeDriver: true }).start(() => this.animationLogic(value)) } animationLogic = (value: 0 | 1) => { if (value === 0) this.setState({ activeChildren: null }, () => this.animate(1)) else this.setState({ pointerEvents: true, authAnimation: false }) } render() { const { animation, pointerEvents, activeChildren } = this.state const { children } = this.props return ( <Animated.View pointerEvents={pointerEvents ? 'auto' : 'none'} style={{ opacity: animation.interpolate({ inputRange: [0, 1], outputRange: [0, 1] }), transform: [ { scale: animation.interpolate({ inputRange: [0, 1], outputRange: [0.94, 1] }) } ] }} > {activeChildren || children} </Animated.View> ) } } export default RouteFadeAnimation ### Usage example and explanation This component is used to wrap several routes and on pathname change preserve previous view, animate it out, replace it with new view and animate it in. Idea itself comes from react-router's documentation https://reacttraining.com/react-router/native/guides/animation/page- transitions but they use `componentWillMount` there. basic implementation can look like this: <RouterFadeAnimation pathname={routerProps.pathname} data={routerProps.data} authenticated={authProps.auth}> {routerProps.pathname === "/home" && <HomePage />} {routerProps.pathname === "/about" && <AboutPage />} </RouterFadeAnimation> Outside of this, there is similar component called `<RouteModalAnimation />` that overlays component above, it similarly animates views in when routerProps.data has `overlay: true` set, you will see our original component checks for this and preserves its view so it appears behind the modal, as it would otherwise dissapear due to route change.
0
# Bug report ## Describe the bug `next build` fails with following error after upgrade to Next 9. { Error: Module did not self-register. at Object.Module._extensions..node (internal/modules/cjs/loader.js:857:18) at Module.load (internal/modules/cjs/loader.js:685:32) at Function.Module._load (internal/modules/cjs/loader.js:620:12) at Module.require (internal/modules/cjs/loader.js:723:19) at require (internal/modules/cjs/helpers.js:14:16) at Object.<anonymous> (/home/vista1nik/Documents/nextjs-project/node_modules/grpc/src/grpc_extension.js:32:13) at Module._compile (internal/modules/cjs/loader.js:816:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:827:10) at Module.load (internal/modules/cjs/loader.js:685:32) at Function.Module._load (internal/modules/cjs/loader.js:620:12) type: 'Error', '$error': '$error' } Error happens after compilation. Last Build trigger before error is: https://github.com/zeit/next.js/blob/5a54e8715a7a7a92175addc19f4ec9f8f7bbd2e7/packages/next/build/index.ts#L342 ## To Reproduce https://github.com/jpbow/module-register-build-issue ## Expected behavior `next build` success ## System information * OS: Arch Linux * Version of Next.js: 9.0.0 ## Additional context Tried `yarn install --force`and Clean depends install. `next .` dev-command work properly.
Following instructions on with-apollo example on master (v2.4.6) fails to build. * I have searched the issues of this repository and believe that this is not a duplicate. ## Expected Behavior Should build and run. ## Current Behavior > Failed to build on > /var/folders/g0/40w25pdx4r166gr3dr2dszr80000gn/T/73a90ccb-e790-431e-bab9-5ffba7560413 > { Error: ./components/App.js > Module not found: Error: Can't resolve 'next/node_modules/styled- > jsx/style.js' in '/Lair/with-apollo/components' > resolve 'next/node_modules/styled-jsx/style.js' in '/Lair/with- > apollo/components' > Parsed request is a module > using description file: /Lair/with-apollo/package.json (relative path: > ./components) > Field 'browser' doesn't contain a valid alias configuration > after using description file: /Lair/with-apollo/package.json (relative > path: ./components) > resolve as module ## Steps to Reproduce (for bugs) 1. Follow instructions to download with-apollo example 2. next build 3. observe build error 4. ## Context ## Your Environment * Next.js version: v2.6.4 * Environment name and version (e.g. Chrome 39, Node.js 5.4): node 7.2 * Operating System (Linux, maxOS, Windows): osx
0
Installed latest Atom from RPM package on Fedora 21 running in a VirtualBox VM on Windows 8.1, opened a project with default settings and cannot select any text by clicking and dragging with the mouse.
There is a known issue with Chrome41 engine running on Linux in VirtualBox. It actually became a show-stopper for Chrome42. **TL;DR** : in VB Chrome41 engine _always_ runs in touch-screen mode, even on desktops. Hotfix in Chrome41 is to pass `--touch-devices=123` to the chrome command line. Is it possible to pass parameters to Atom’s command line so that chrome engine will understand them?
1
1. I want to see .d.ts for `@types/X` package without cloning repo. But when I open types folder on github I see following error, and `X` folder is not listed. `Sorry, we had to truncate this directory to 1,000 files. 3,413 entries were omitted from the list.` 2. I want to see what issues already filed for `@types/X` and file new one. But when I open issues tab I see >2k entries for all the packages... I wonder how contributors even find issues filed for their definitions (or they don't?). Why typings do not live in separate repos? Isn't this monorepo a total mess?
* I tried using the `@types/swaggerize-express` package and had problems. * I tried using the latest stable version of tsc. https://www.npmjs.com/package/typescript * I have a question that is inappropriate for StackOverflow. (Please ask any appropriate questions there). * Mention the authors (see `Definitions by:` in `index.d.ts`) so they can respond. * Authors: @.... Currently both `swaggerize-express` and `swagger-schema-official` have complete type definitions for the openAPI specification. However, there are a few slight inconsistencies between the two which make it hard to use them in tandem. For example: having installed the following: * `@types/swaggerize-express@4.0.28` * `@types/swagger-schema-official@2.0.2` The following issues a compiler error (under `typescript@2.2.2`): import * as swaggerize from 'swaggerize-express'; import { Spec } from 'swagger-schema-official'; declare var spec_swagger_schema_official: Spec; declare var spec_swaggerize_express: swaggerize.Swagger.ApiDefinition; /** * type error here, when the object should be of the same type, * as both should be valid openAPI schema */ spec_swagger_schema_official = spec_swaggerize_express; Specifically, [ts] Type 'ApiDefinition' is not assignable to type 'Spec'. Types of property 'definitions' are incompatible. Type 'DefinitionsObject | undefined' is not assignable to type '{ [definitionsName: string]: Schema; } | undefined'. Type 'DefinitionsObject' is not assignable to type '{ [definitionsName: string]: Schema; } | undefined'. Type 'DefinitionsObject' is not assignable to type '{ [definitionsName: string]: Schema; }'. Index signatures are incompatible. Type 'SchemaObject' is not assignable to type 'Schema'. Types of property 'allOf' are incompatible. Type 'IJsonSchema[] | undefined' is not assignable to type 'Schema[] | undefined'. Type 'IJsonSchema[]' is not assignable to type 'Schema[] | undefined'. Type 'IJsonSchema[]' is not assignable to type 'Schema[]'. Type 'IJsonSchema' is not assignable to type 'Schema'. Types of property 'allOf' are incompatible. Type 'IJsonSchema[] | undefined' is not assignable to type 'Schema[] | undefined'. Type 'IJsonSchema[]' is not assignable to type 'Schema[] | undefined'. Type 'IJsonSchema[]' is not assignable to type 'Schema[]'. Type 'IJsonSchema' is not assignable to type 'Schema'. My proposal would be to use `@types/swagger-schema-official` within `@types/swaggerize-express` so there is only one location to maintain, and we don't run into minor inconsistencies. Authors of both definitions (@mohsen1 for `@types/swagger-schema-official` and @MugeSo for `@types/swaggerize-express`) have any thoughts?
0
The following snippet is valid ES6, but does not compile due to the undeclared property `thing`. Since TypeScript is aiming to be a superset of ES6, how will this situation be approached? class Thing { constructor() { this.thing = 12; } }
I would like to implement compilation of ts files to generate source map + js files inside Eclipse by using `tsc`. I have 2 means to do that: 1. observe changes (with Eclipse IResource API) of typescript files and call `tsc` with the given file 2. call `tsc --watch` for my Eclipse project I would prefer to do the 2) because`tsc --watch` if I have understood stores in memory the other compiled ts files, so I think performance will be better with 2). My main problem is about refresh generated files: * when there is an error,`tsc --watch` displays in the console errors for files. So it's easy to catch those logs and display errors in Eclipse Problem View. * but when there are none errors, `tsc --watch` doesn't display in the console the generated files in order I refresh it inside Workspace Eclipse. I would like to avoid refreshing the full project directory as soon as `tsc --watch` done a job. If `tsc --watch` could log generated files, it will help me a lot. Many thanks for your suggestion!
0
I have two projects and each of them has https://github.com/borisyankov/DefinitelyTyped/blob/master/requirejs/require.d.ts file included. While compiling them with TS 1.4 I got 55 errors of "Duplicate identifier '[member_name]'". How I can eliminate this issue or at least switch it to a warning? Hope it is not by design.
I am new to TypeScript, so I may be going about this entirely wrong, but I've got a scenario where implicit referencing is causing problems. In my project (Visual Studio 2013 Update 3), I have several Web pages. Each one has one reference to a script that contains general functionality for all pages and one reference to a script that contains specific functionality for the page in question. The general script calls several functions in the specific script, which requires that each of the specific scripts have certain function names in common. The fact that the scripts all implicitly reference each other is causing duplicate identifier errors on build. Here's a simplified example: Global.ts: window.onload = function () { getData(); } Page1.ts: function getData() { //Get data relevant to Page1 } Page2.ts: function getData() { //Get data relevant to Page2 } Obviously, I could change this to have one getData() function and pass a parameter indicating whether to get data for Page1 or Page2, but this is a very simplified example, and doing this for the entire project would be somewhat messy and harder to maintain. Is there a different way to approach this scenario or does anyone have a suggestion for "circumventing" the implicit referencing in TypeScript?
0
##### System information (version) * OpenCV => 4.1.0 * Operating System / Platform => Windows 64 bit ##### Detailed description import cv2 cap = cv2.VideoCapture(0) while True: ret, frame = cap.read() #print(ret) print(frame) It prints the 3 channel array values as zero. I want to take the array values real time and process them into my function. I know that ret is True and that my camera is reading the values because when I print frame.sum(), it gives me the sum of array values but for some reason I can't see it in an array form and hence my function reads the frame as a set of 0's. Any help about how I can read the array values would be very useful. Thanks! ##### Steps to reproduce
##### System information (version) * OpenCV => 3.4.x * Operating System / Platform => Ubuntu 16.04 * Compiler => gcc 5.4.0 ##### Detailed description With OpenVINO 2019R1: /opt/intel/openvino_2019.1.094/deployment_tools/inference_engine/lib/intel64/libinference_engine.so: undefined reference to `tbb::interface7::internal::task_arena_base::internal_max_concurrency(tbb::interface7::task_arena const*)' collect2: error: ld returned 1 exit status modules/dnn/CMakeFiles/opencv_perf_dnn.dir/build.make:208: recipe for target 'bin/opencv_perf_dnn' failed make[2]: *** [bin/opencv_perf_dnn] Error 1 CMakeFiles/Makefile2:2452: recipe for target 'modules/dnn/CMakeFiles/opencv_perf_dnn.dir/all' failed make[1]: *** [modules/dnn/CMakeFiles/opencv_perf_dnn.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... $ ldd /opt/intel/openvino_2019.1.094/deployment_tools/inference_engine/lib/intel64/libinference_engine.so linux-vdso.so.1 => (0x00007ffc4c170000) libtbb.so.2 => /opt/intel/opencl/libtbb.so.2 (0x00007f5757ab0000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f5757893000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f575768f000) libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f575730d000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f5757004000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f5756dee000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f5756a24000) librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f575681c000) /lib64/ld-linux-x86-64.so.2 (0x00007f5758398000) TBB from OpenCL is used instead of `/opt/intel/openvino_2019.1.094/deployment_tools/inference_engine/external/tbb/lib/libtbb.so.2` ##### Steps to reproduce
0
* VSCode Version: 0.10.12-alpha * OS Version: Windows10 Steps to Reproduce: 1. Create Asp .net core empty project in visual studio. 2. Add some directories under wwwroot folder for client code like JS. 3. Add new item to manage client lib and add bower.json file. 4. Add some client side lib in to bower.json under dependency section. > > ![image](https://cloud.githubusercontent.com/assets/17735796/14002399/19404f8e-f109-11e5-85fe-0b25c3b8b733.png) 1. Add index.html under view folder and add basic html code like below and save changes. <title>Hello world</title> 6\. Now launch VSCode and Open project folder. 7\. Open index.html and try to add script section inside body. <script type="text/javascript" src="JS/wwwroot/lib/angular/angular.js"></script> Actual: Not getting any intellisense for 1. path for scr like : ![image](https://cloud.githubusercontent.com/assets/17735796/14002236/e6c67908-f107-11e5-9b33-3fc3bcb791ed.png) 2. Value for type like: "text/javascript" ![image](https://cloud.githubusercontent.com/assets/17735796/14002230/dceac650-f107-11e5-892b-e57cc377d801.png) 3. closing script tag i.e. </script> ![image](https://cloud.githubusercontent.com/assets/17735796/14002111/f213d87e-f106-11e5-9cda-17a84c2355b5.png) Expected: It should display values same like visual studio intellisense.
add path choose window for img src、link href、script src、background-img src
1
Figure out how to set the normalize whitespace option and get rid of all the inline things.
In recent versions of nose, the options `NORMALIZE_WHITESPACE` and `ELLIPSIS` can be set globally. That would be awesome. This is only available in nose 1.2, though. As removing the flags inline would break them on older versions, I'm not sure we can ever make the switch :-/ Should we try to monkey-patch?
1
I've made an electron application to execute a flash application using the pepflashplaye plugin several platforms. I have followed the doc https://electronjs.org/docs/tutorial/using-pepper- flash-plugin It works fine on Windows, Mac but when i execute it on linux, the electron window is launched and a message appear "cannot load plug-in" . Nothing is displayed in devTool console. (Notice the the plugin works fine with chrome browser), not warnings, no errors .. Is there a way to know the reason electron cannot load the plugin ? Can i activate some verbose logs or other messages to understand what happens ? Is it a known problem or bug ? I've displayed my ppapi-flash-path before opening the window and it's the good one .. pluginName = '/libpepflashplayer.so'; pluginPath = path.join(__dirname, pluginName) console.log ("pp = " + pluginPath) app.commandLine.appendSwitch('ppapi-flash-path', pluginPath) node version is : v10.16 electron version is : V6.0.10 chromium : v76 Linux CentOS 7 lipepflashplayer.so version : Pepper Flash 32.0.0.255
* Electron Version: 3.0.0-beta.2 I'm not sure where to report electron webpage issues so am creating this here. 1. Go to https://electronjs.org/releases#3.0.0-beta.2 2. Note the "Linux" section: > Linux > Fixed a Linux thing. #123 #123 appears to be a Windows issue that was opened 4+ years ago. Also, this entry does not appear in the Github release info, so I strongly suspect this is just a placeholder that should have been removed.
0
I've been trying to dynamically check and uncheck the Table Header checkbox through another component, and have been unable to do so. While exploring this issue further I found that in the TableHeader component setting selectAllSelected to true doesn't seem to be passed on. I've added dummy props to my table header just to verify I was looking at the right information, and console.logged the props in willMount and render. The selectAllSelected seems to default to false.
The current Next.js example is quite daunting with several files and concepts thrown in. I will apologize in advance because the following may seem like a bit of a rant, but I really want to improve these examples. ## Things I found confusing The whole example looks more like someone's personal boilerplate for their production app rather than an example for people to learn the API and get productive quickly. Here are some of the things that are confusing to me: * What does `getContext.js` do and why is it in a `/styles` folder? * What does "context" mean in this instance? * `withRoot.js` is a bit confusing, why is there mutation here? Is it only for the sake of adding a `displayName`? let AppWrapper = props => props.children; AppWrapper = withStyles(styles)(AppWrapper); * Is it possible to use Material-UI without using so many HOCs? What about a render-prop pattern instead? There's a lot of in-direction here that I suspect may not be completely required. ## JSS confusion On top of that, there's the JSS barrier to entry: * Why is JSS necessary for this example? I can guess that it has something to do with server-side rendering, but it's not made clear how it's working. There are many moving parts here. * `jss`, `react-jss`, `jss-preset-default` are all dependencies mentioned in the code but do not exist inside `package.json`. * You have to learn about `sheetsManager`, `sheetsRegistry`, and a lot of other jargon that many React devs may not be immediately familiar with. Having to learn how to work with three new dependencies in addition to your UI library is not exactly the easiest way to get started if all I want is a simple colored button. ## Concepts unrelated to Material-UI There are also random things thrown in that are not directly related to Material-UI, here are a couple examples: * custom meta tag with the hint: "Use minimum-scale=1 to enable GPU rasterization" * PWA stuff (`manifest.json` \+ setting the PWA color for icons) ## Conclusion I know it's probably a little too late to change the API for the 1.0 release, but we can do our best to make it easier for people to learn. I mean, all I honestly wanted to do was to use Next.js with Material-UI and have a custom color. It shouldn't require learning all of the things above. There are a few things we can do: 1. Separate the example into several separate examples show-casing each individual feature. 2. Thoroughly document and explain the example in a separate README or blog post. 3. Simplify the API so that usage is also likewise simplified. 4. Offer higher level abstractions/helper functions (they might be less powerful, but they will be easier for users to get started)
0
When doing functional testing using the test client (Symfony\Bundle\FrameworkBundle\Client) and disabling kernel reboots between requests using `$client->disableReboot()`, upon the 2nd request I'm running into this: symfony/src/Symfony/Component/HttpFoundation/Session/Storage/MockArraySessionStorage.php Line 134 in 7617492 | throw new \LogicException('Cannot set session ID after the session has started.'); ---|--- I don't have a test case right now, but you should be able to reproduce this easily.
Hi there, the exception is thrown by this line: https://github.com/symfony/symfony/blob/2.5/src/Symfony/Component/HttpFoundation/Session/Storage/MockArraySessionStorage.php#L134 My setup works completely fine within a valid PHP environment (without `TestSessionListener`) - data getting stored in the session before the `TestSessionListener::onKernelRequest` has been executed (using `MockFileSessionStorage`). What's the intention of this exception? I can't get my head around it. The `TestSessionListener` is explicitly doing this (`setId`) and if there is another object accessing the session before the `TestSessionListener` sets the id, an id is automatically generated. The listener is not correctly mimicking the session creation of PHP and this exception makes it (for some parts) unusable. If there is no actual use on this exception, it may be removed, no?
1
* I have searched the issues of this repository and believe that this is not a duplicate. ## Expected Behavior I expected to have my .json file returned. ## Current Behavior Instead, I was asked for 'module' or 'render' objects. ## Steps to Reproduce (for bugs) 1. Create a JSON file to import 2. use dynamic(require) to import the file 3. voila ## Context I'd like to use the dynamic import in a page-loading situation whereby my .md/json is loaded in on the prop-injection. Better than working with fetch as the export function is respected by next and the require baked-in.
Example build fails. TypeError: (0 , _styles.createStyleSheet) is not a function at Object.<anonymous> (/xxx/xxxx/xxx/xxx/with-material-ui-next/.next/dist/components/withRoot.js:47:47) at Module._compile (module.js:573:30) at Object.Module._extensions..js (module.js:584:10) at Module.load (module.js:507:32) at tryModuleLoad (module.js:470:12) at Function.Module._load (module.js:462:3) at Module.require (module.js:517:17) at require (internal/module.js:11:18) at Object.<anonymous> (/xxx/xxx/xxx/xxx/with-material-ui-next/.next/dist/pages/index.js:43:17) at Module._compile (module.js:573:30) When running npm install and npm run dev, app compiles successfully then immediately fails when I land on local host with the above error. * [ X] I have searched the issues of this repository and believe that this is not a duplicate. This issue was listed, then closed with no comment. ## Expected Behavior Expected app not to fail. ## Current Behavior App fails after landing on local host 3000 with above error message ## Steps to Reproduce (for bugs) 1. CD into example directory 2. npm install 3. npm run dev 4. visit localhost:3000 ## Context ## Your Environment Tech | Version ---|--- next | ^3.0.3 node | 8.4.0 OS | High Sierra browser | Chrome etc |
0
### Preflight Checklist * I have read the Contributing Guidelines for this project. * I agree to follow the Code of Conduct that this project adheres to. * I have searched the issue tracker for a feature request that matches the one I want to file, without success. ### Electron Version 11.3.0 ### What operating system are you using? Windows ### Operating System Version Windows 10 version 20H2 - build 19042.870 ### What arch are you using? x64 ### Last Known Working Electron version _No response_ ### Expected Behavior Calling `BrowserWindow.setBounds()` (or `BrowserWindow.setSize()`) before calling `BrowserWindow.show()` should show the window with correct size without showing transition flashing between previous size and the new size. ### Actual Behavior The window _flashes_ from the previous lower size to the new higher size (not viceversa). ### Testcase Gist URL https://gist.github.com/xpirt/4e3e92fcd866fcf812c49d8439b6f6d2 This has been tested on Windows 10 and macOS (although here seems to be less noticeable, more with transparency enabled). The window show a flash tranisition between previous size (`height: 200`) to new one (`height: 600`). This seems to happen only from a lower size to a higher one. In fact, from `height: 600` to `height: 200` the transition flash does not seem to occur. The gist test I've created registers a global shortcut `Ctrl(Cmd)+Shift+T` that shows/hides the window changing its bounds before toggling the visibility. (For flash I mean a few milliseconds you can see the previous window size and right after the new size gets applied)
# TypeScript definitions for electron are a mess. Dear ladies and gentlemen. Recently I tried to start a TypeScript project using the electron framework. For that purpose I started a new TypeScript / node.js project from scratch and installed the electron npm package as well as the electron typedefinitions. Unfortunately the electron typedefinitions are in a disastrous state. The compiler stopped counting the errors in the electron typedefinitions at 99. It appears that no one ever considered to test the type definition. I also figured out that the latest electron typedefinition is the one for the electron framework "1.4.38" while the latest electron framework shows a release number of "1.6.10". You should really consider to make typedefinitions an integral part of your framework. That way you wouldn't release a new framework version without a matching typedefinition. (That typedefinition should be tested of course.) If you want to make it perfect, make the tyepdefinition also an integral part of your npm package. That way no one has ever to wonder where the right typedefinition four your framework can be found. Below is a picture of the compiler output after installing the electron typedefinitions. ![VS Code Electron project](https://cloud.githubusercontent.com/assets/9468599/26523924/4cf279ee-4313-11e7-8f20-10ae8dbca47e.png) Your framework might be a respected piece of software in the JavaScript community, but for a programmer who has a strong focus on code quality our framework is a no go. I guess most TypeScript programmers chose to use TypeScript because they have a strong focus on code quality like I. I'm not writing this to diminish your work. I haven't enough experience with your framework to be qualified for a meaningful opinion. But I can tell you this. If want to make your framework shiny, give the TypeScript integration more attention. Kind regards, Lord Saumagen.
0
# Environment Windows build number: [run "ver" at a command prompt] PowerToys version: 0.18.1 PowerToy module for which you are reporting the bug (if applicable): PowerToys Run # Steps to reproduce Search for a program shortcut inside Documents folder # Expected behavior Program should be in the results list. In the previous version, I have a program shortcut in C:/Users/x/Documents/ folder and PowerToys Run is able to index and run it. # Actual behavior Program not included in PowerToys Run list # Screenshots
# Environment Windows build number: Version 10.0.18363.836 PowerToys version: v.0.18.1 PowerToy module for which you are reporting the bug: PowerToys Run # Steps to reproduce Install PowerToys via GetWin Run PowerToys in always admin mode Run PowerToys Run via Alt + Space Search for any give file / folder name # Expected behavior Showing the file / folder which I searched for # Actual behavior No files / folders showing up what so ever, unless I type something like "D:\Documents..." # Screenshots ![image](https://user- images.githubusercontent.com/65788233/82751577-70c93800-9db8-11ea-929d-738eb5e63525.png) ![image](https://user- images.githubusercontent.com/65788233/82761606-13ef7100-9dfc-11ea-8ebf-960528fbd493.png) It is a normal folder, I just changed the icon.
1
Please add it so then when dragging the window out of the zone, it restores back to the size before you snapped it, just like in Windows Snap.
I could never figure out how to make this work. Would be nice but is a hard problem.
1
http://stackoverflow.com/questions/18924908/remove-parentheses-from-complex- numbers-pandas/18925604#18925604
How can I read back in dataframes from CSV files which I export using `to_csv()` that have complex numbers? test case: data = pd.DataFrame([1+2j,2+3j,3+4j],columns=['a']) print 'a=' print data['a'] print 'a*2=' print data['a']*2 filename = 'testcase1.csv' data.to_csv(filename) print "\nReadback..." data2 = pd.read_csv(filename) print data2['a'] print data2['a']*2 output: a= 0 (1+2j) 1 (2+3j) 2 (3+4j) Name: a, dtype: complex128 a*2= 0 (2+4j) 1 (4+6j) 2 (6+8j) Name: a, dtype: complex128 Readback... 0 (1+2j) 1 (2+3j) 2 (3+4j) Name: a, dtype: object 0 (1+2j)(1+2j) 1 (2+3j)(2+3j) 2 (3+4j)(3+4j) Name: a, dtype: object
1
On a short, wide monitor or possibly a tablet in landscape mode, you cannot scroll down the menu even though it's fixed positioning and very long. Thus, you literally cannot click on the bottom options of the left documentation menu. For example, make your window something like 1400x600 and open this. Try to click on any of the bottom links on the menu. http://getbootstrap.com/components/#page-header Related, at the bottom of the page, the fixed menu overlays the page footer and makes it impossible to read/click anything on the left side of the footer. Possible fixes could include unfixing the menu position or allow scrolling of the menu div independently of the rest of the page. edit: fixed 1400x600
On the **Components** page of the Bootstrap docs, the sidebar becomes too tall for the viewport when `scrollspy` causes the sidebar subheadings to show. The sidebar cannot be scrolled or manipulated to show content below the viewport. See here: http://getbootstrap.com/components/#glyphicons ![screen shot 2013-08-20 at 12 35 55](https://camo.githubusercontent.com/95439b4a35416da72571a4370430e75ce3537082bd569e0307adc41876c1c985/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f333135343431352f3939313132322f31333836323763632d303935322d313165332d396239652d3562356337373934356263622e706e67)
1
### Vue.js version 1.0.20 `<div class="tab-wrap" v-if="object.aList.length > 0" v-for="object in objects">` This work on Firefox, but not work on Chrome. `<div class="tab-wrap" v-for="object in objects" v-if="object.aList.length > 0">` This work on Chrome, but not work on Firefox. What's up? 升级升出了Bug?!
### Vue.js version 1.0.20 ### Reproduction Link https://jsfiddle.net/2so6kua0/2/ ### Steps to reproduce Start example ### What is Expected? We should get val == 1 val == 2 val == 3 val == 4 val == 5 val == 6 ### What is actually happening? In firefox we get nothing, but if we will change `<div v-for="val in arr" v-if="val">val == {{val}}</div>` to <template v-for="val in arr"> <div v-if="val">val == {{val}}</div> </template> all work correctly.
1
In the jsfiddle http://jsfiddle.net/69z2wepo/3536/ there is a `setState` in `componentWillMount` and this `setState` should call `this.loadData` since `this.loadData` is passed as callback to `setState`. But `loadData` is never called. See console logs. It prints only "componentWillMount called"
Calling `setState` in `componentWillMount` doesn't behave as I would expect. Here's a fiddle demonstrating. In short, the callback is invoked before the state has been updated.
1
The same changes suggested in issue #13480 should be applied to popovers. * * * Adding a bit of info to the item with `aria-describedby` to the popover would help signal to Assistive Technology, like screen readers, that element getting targeted by the tooltip that it is better described by this other DOM thing. This is illustrated on paypal/bootstrap-accessibility-plugin source line 52 ### Changes that would need to happen: * Create an unique ID / or use for the target element on show * Add an `aria-describedby="elementId"` on the element on show We already have `role="tooltip"` 👍
Adding a bit of info to the item with `aria-describedby` to the tooltip/popover would help signal to Assistive Technology, like screen readers, that element getting targeted by the tooltip/popover that it is better described by this other DOM thing. This is illustrated on paypal/bootstrap-accessibility-plugin source line 32 ### Changes that would need to happen: * Create an unique ID / or use for the target element on show * Add an `aria-describedby="elementId"` on the element on show We already have `role="tooltip"` 👍
1
##### Description of the problem This form is for three.js bug reports and feature requests only. This is NOT a help site. Do not ask help questions here. If you need help, please use the forum or stackoverflow. Describe the bug or feature request in detail. Always include a code snippet, screenshots, and any relevant models or textures to help us understand your issue. Please also include a live example if possible. You can start from these templates: * jsfiddle (latest release branch) * jsfiddle (dev branch) * codepen (latest release branch) * codepen (dev branch) ##### Three.js version * Dev * r106 * ... ##### Browser * All of them * Chrome * Firefox * Internet Explorer ##### OS * All of them * Windows * macOS * Linux * Android * iOS ##### Hardware Requirements (graphics card, VR Device, ...)
#my code block import * as THREE from 'three'; new THREE.MeshBasicMaterial({ color: this.getRandomColor(), program: this.particalRender }); and then, see this problem
1
# Bug report ## Describe the bug When I run `npm install` it runs through fine, then i start my app using `npm run dev` and browse to a page and that is when I see the error message. /home/metzger/projects/maketube/frontend/node_modules/@babel/runtime-corejs2/helpers/esm/typeof.js:1 (function (exports, require, module, __filename, __dirname) { import _Symbol$iterator from "../../core-js/symbol/iterator"; ^^^^^^ SyntaxError: Unexpected token import at createScript (vm.js:80:10) at Object.runInThisContext (vm.js:139:10) at Module._compile (module.js:616:28) at Module._compile (/home/metzger/projects/maketube/frontend/node_modules/pirates/lib/index.js:99:24) at Module._extensions..js (module.js:663:10) at Object.newLoader [as .js] (/home/metzger/projects/maketube/frontend/node_modules/pirates/lib/index.js:104:7) at Module.load (module.js:565:32) at tryModuleLoad (module.js:505:12) at Function.Module._load (module.js:497:3) at Module.require (module.js:596:17) at require (internal/module.js:11:18) at Object.<anonymous> (/home/metzger/projects/maketube/frontend/.next/server/static/development/pages/_error.js:7:39) at Module._compile (module.js:652:30) at Module._compile (/home/metzger/projects/maketube/frontend/node_modules/pirates/lib/index.js:99:24) at Module._extensions..js (module.js:663:10) at Object.newLoader [as .js] (/home/metzger/projects/maketube/frontend/node_modules/pirates/lib/index.js:104:7) ## Expected behavior This error should not occur ## System information Here is my package.json: { "version": "1.0.0", "scripts": { "dev": "babel-node server.js --presets @babel/env", "build": "next build", "start": "NODE_ENV=production babel-node server.js --presets @babel/env" }, "license": "MIT", "dependencies": { "autoprefixer": "7.1.5", "aws-sdk": "^2.213.1", "axios": "0.15.3", "babel-plugin-wrap-in-js": "^1.1.1", "body-parser": "^1.18.2", "classnames": "^2.2.5", "cookie-parser": "^1.4.3", "express": "^4.16.3", "faker": "^4.1.0", "glob": "^7.1.2", "http-proxy-middleware": "^0.17.4", "jsonwebtoken": "^8.2.0", "jwt-decode": "^2.2.0", "lodash": "^4.17.11", "moment": "^2.21.0", "net": "^1.0.2", "next": "latest", "njwt": "^0.4.0", "node-sass": "^4.4.0", "normalize.css": "^7.0.0", "postcss-easy-import": "^3.0.0", "postcss-loader": "^2.0.7", "prop-types": "^15.6.1", "raw-loader": "^0.5.1", "react": "^16.0.0", "react-datepicker": "^0.64.0", "react-dom": "^16.0.0", "react-expand-collapse": "^0.2.0", "react-horizontal-timeline": "^1.4.0", "react-masonry-css": "^1.0.12", "react-particle-animation": "^1.0.1", "sass-loader": "^6.0.6", "semantic-ui-icon": "^2.2.12", "semantic-ui-react": "^0.80.0", "sqlite": "^2.9.0", "sqlite3": "^3.1.13", "superagent": "^3.4.0", "tls": "0.0.1", "universal-cookie": "^2.1.2" }, "devDependencies": { "@babel/cli": "^7.2.3", "@babel/core": "^7.2.2", "@babel/node": "^7.2.2", "@babel/preset-env": "^7.2.3", "babel-core": "^7.0.0-bridge", "babel-plugin-inline-react-svg": "^0.4.0", "babel-plugin-module-resolver": "^3.1.1", "now": "^8.3.10" } }
I am getting the following issue which I presume is related to babel. node_modules/@babel/runtime-corejs2/helpers/esm/asyncToGenerator.js:1 (function (exports, require, module, __filename, __dirname) { import _Promise from "../../core-js/promise"; SyntaxError: Unexpected token import It seems that `@babel/runtime-corejs2/helpers/esm` is being used instead of just`@babel/runtime-corejs2/helpers` where the compiled files seem to be. I didn't notice this in `dev` with the following config "presets": [ ["next/babel", {"preset-env": { "modules": "commonjs" }}] ], The issue is when I try and run the production build. Here is the relevant config { "env": { "production": { "presets": [ ["next/babel", { "preset-env": { "targets": { "browsers": ["> 1%"] } } }] ], "plugins": [ [ "babel-plugin-styled-components", { "displayName": false } ], "transform-react-constant-elements", "@babel/plugin-transform-react-inline-elements" ] }, }, "plugins": [ [ "transform-imports", { "lodash": { "transform": "lodash/${member}", "preventFullImport": true }, "validator": { "transform": "validator/lib/${member}", "preventFullImport": true }, "recompose": { "transform": "recompose/${member}", "preventFullImport": true }, } ], "date-fns", "transform-modern-regexp", "@babel/plugin-proposal-export-default-from", "@babel/plugin-proposal-export-namespace-from", "@babel/plugin-proposal-optional-catch-binding", [ "module-resolver", { "root": [ "./src" ] } ], [ "inline-import", { "extensions": [ ".css" ] } ] ] }
1
Hi i'm new on flutter, when i'm building apk for the first time the armeabi-v7a lib was there, but in my second time armeabi replaced by arm64. zenfone cannot install my aplication, but its working on xiaomi. ![screen shot 2018-06-17 at 20 08 31](https://user- images.githubusercontent.com/6326715/41508161-4e6e333a-726a-11e8-929b-0c68751d68c6.png) my app only use simple widget like textfield, button, scaffold, nothing fancy. can use armeabi-v7a forcefully?
## Status 9/9/22: Work- in-progress ## Description When I try to invoke a platform channel method from a custom spawned isolate, the app crashes badly (both on iOS and Android). I'm trying to figure out whether this is expected or not. If it's not, it's probably worth to mention that somewhere. Anyways I think that this can potentially be a strong limitation. Is there a way to be able to call platform plugins from a secondary isolate? ## PRs * iOS Engine - flutter/engine#35174 * iOS Framework - #109005 * Reland iOS Framework - #111320 * Android Engine - flutter/engine#35804 * Android Framework - #111279 * Add macOS platform channel integration tests - #110606 * Desktop Engine - flutter/engine#35893 * Desktop Framework - #110882 * Add samplecode - #112235 * Update website documentation - flutter/website#7592 * Make it work with plugins that require a dart plugin registrant - #112240
0
* Electron Version:2.0.7 * Electron Builder Version:20.27.1 * Operating System (Platform and Version):OS X 10.11.6 * Last known working Electron version: unknown **Expected Behavior** If app IS already running and the user opens any file with a file extension handled by the app using "Open With" or double clicking on a file where the app is the default editor, the running app should receive an "open-file" event and no other app should be launched. If the app is NOT already running and the user opens a file with a file extension handled by the app using "Open With" or double clicking on a file where the app is the default editor, the app should be launched with a subsequent open-file event. **Actual behavior** Sometimes the RUNNING app receives an open-file event sometimes it does not. Very strange behavior seems to be associated with a) how the app is initially launched and b) what other apps are running at the time the app is launched. When app IS already running, only files with extensions where the app is the DEFAULT handler will cause an open-file event to be received by the running app. Any other file that is opened using "Open With" sends the open-file event to the new app that is quitting so the RUNNING app never receives the event. **To Reproduce** I've created a fork of electron-quick-start. Simply clone, install and build. The app must be built on OSX for FileAssocitions to work. The only files I modified from the quick start are the package.json file and the main.js (my code is marked with DAM). To test you will need to create a few files to demonstrate the problem. The extensions this app will handler are .eds, .edsx, .pdf, .tif and .tiff. "fileAssociations": [ { "ext": [ "eds", "edsx" ], "description": "EDS file extension", "name": "EDS", "role": "Editor" }, { "ext": "pdf", "description": "PDF file extension", "name": "PDF", "role": "Editor" }, { "ext": "tif", "description": "Scanned TIF Document", "name": "TIF", "role": "Editor" }, { "ext": "tiff", "description": "Scanned TIFF Document", "name": "TIFF", "role": "Editor" } Make sure at least one of these files extensions is not already handled by another app so that you can see the differences in behavior when the app is the DEFAULT editor and when it is an alternate. I will assume going forward that this app will be the DEFAULT editor for .eds and .edsx files. In my example I created the following files: test1.eds - default handler is this app test1.edsx - default handler is this app test1.pdf - default handler is Preview test1.tif - default handler is Preview test1.tiff - default handler is Preview The contents of the file doesn't really matter; however, you should use a valid .pdf file if you have one. You can then duplicate the .pdf file to create all the other files. Before each test make sure the app is not running (including helpers) using the Activity Monitor. **Note: I've found that you have to launch the app at least once for the file associations to be active. I thought installing the app would set this up; however, if you install the app and then use "Open With" on the .pdf file (for example) the Preview app opens instead. After you launch the app the first time doing the same thing will open the app correctly. This may or may not be a separate issue. ** Test #1 \- Launch the app manually via the Applications folder. Now open each individual test file using "Open With" via context menu. Note that only the .eds and .edsx files generate an open-file event. Quit the app. Test #2 \- Launch the app by double clicking on the .eds or .edsx file (assuming the app is the default editor for these file types). Now open the remaining files using "Open With". Note that the same thing happens as in test #1. Quit the app. Test #3 \- Make sure the Preview app is not running. Launch the app by using the "Open With" on the .pdf file. The app should launch. Now open the all the other files using "Open With". You should see that some result in the open- file event firing and some do not. The .eds and .edsx files do not fire the open-file event using "Open With"; however, if you now double click on them it works. Quit the app. Test #4 \- Drag the app to the Dock. Now drag the .pdf file to the app on the Dock. The app opens as expected. Now open the .eds, .edsx, .tif and .tiff files using "Open With". Note that the .tif and .tiff fail. Now double click on the .eds and .edsx files. They work. Now try using "Open With" on the .pdf file (the one you initially dragged to the app on the Dock). That doesn't work. Crazy right? Quit the app. Observed results - in each case where the RUNNING app fails to receive the open-event there is a separate log file created. This indicates that the app is actually launched a second time where it then receives the open-file event and immediately quits. I modified the log handler to create a new log file for each app invocation. This way you can see the logs in the RUNNING app as well as the logs generated by the new app instances. The RUNNING app sometimes receives the open-file event and sometimes it doesn't. Here is the contents of the log the second app generates (what I believe is a bug) [2018-08-11 13:02:34.217] [info] quitting because app already running [2018-08-11 13:02:34.291] [info] ----------------------- app will-finish-launching ------------- [2018-08-11 13:02:34.407] [info] ----------------------- app open-file ------------------------ /Users/popeye/Data/MyProjects/git/testData/test1.tif [2018-08-11 13:02:34.408] [info] open-file - /Users/popeye/Data/MyProjects/git/testData/test1.tif At the same time the RUNNING app generates the following additional logs (notice no open-file event) [2018-08-11 13:02:34.215] [info] checking to see if app already running [2018-08-11 13:02:34.215] [info] isSecondInstance? argv, [ '/Volumes/electron-quick-start 1.0.0/electron-quick-start.app/Contents/MacOS/electron-quick-start', '-psn_0_2298417' ] [2018-08-11 13:02:34.215] [info] isSecondInstance? workingDirectory, / [2018-08-11 13:02:34.216] [info] deeplinkingUrl = ?? [2018-08-11 13:02:34.216] [info] executing js - var elem = document.createElement("div"); elem.textContent="deeplinkingUrl = ??"; document.body.appendChild(elem); This can't be the intended results. The problem is that the RUNNING app never gets an open-file event "in certain situations" based on how the app was launched and what other apps are running at the time (default editors). In the screen shot I provided you will see that the 2 file extensions .eds and .edsx work correctly by double clicking on them OR using the "Open With". I suspect this is because the app is the DEFAULT handler for these types of files. Other extensions like .pdf or .tif/.tiff are not handled properly (IMHO). Now since this is my first reported issue I have to assume that I am doing something incorrectly and/or reading the documentation incorrectly. If that is the case I apologize in advance for taking up your time and would appreciate some helpful words of wisdom. Thank you in advance for your time and consideration. $ git clone https://github.com/payitforwardnow/electron-quick-start-14029 $ npm install $ npm run build **Screenshots** Test1 & Test2 ![helloworld1](https://user- images.githubusercontent.com/30054747/43993348-f0fe0854-9d59-11e8-9aaa-e7e54ef04b47.png) Test3 ![test3](https://user- images.githubusercontent.com/30054747/43993791-0f441752-9d61-11e8-94e4-ba3cf5ce245e.png) Test 4 ![test4](https://user- images.githubusercontent.com/30054747/43994023-08e7740a-9d64-11e8-906e-e50b28549f34.png) Test Files ![testdata](https://user- images.githubusercontent.com/30054747/43993804-49819e44-9d61-11e8-90ba-a4dfe1ad5093.png) Log Files ![logs](https://user- images.githubusercontent.com/30054747/43993679-7e0ad4d4-9d5f-11e8-936d-02dd4386f481.png)
**Is your feature request related to a problem? Please describe.** running many electron apps uses much memory and harddisk space overhead **Describe the solution you'd like** electron should run as a daemon so that more then 1 app can share functions **Describe alternatives you've considered** create os level bindings for all functions something like nativ apps done via cordova **Additional context**
0
Salute, currently the GP module does not allow to use multiple input feature with the same value. At least from the math point of view there is no need for this restriction. Though, I didn't go through the whole implementation to see if there is something special about it that would require this restriction. I tested it on some dummy problem (with noisy data) with and without multiple equal inputs and it worked fine and, not surprisingly, even better when using duplicates (more data yeay!). Any reasons to keep it?
I would like to suggest that the LOF score which is calculated and stored in the LOF class as `negative_outlier_factor_` is publicly accessible. scikit-learn/sklearn/neighbors/lof.py Line 193 in 18cf2e5 | self.negative_outlier_factor_ = -np.mean(lrd_ratios_array, axis=1) ---|--- With this change it would be possible to not only use the 1 and -1 for no outlier and outlier as result of the LOF algorithm but also the LOF score. Possible usage scenarios would be a visualisation for more interpretable results, another way to calculate the threshold, manual setting of the threshold... If the community agrees with the change, I could make the modifications and submit a PR.
0
My intellisense is not showing the same behavior as what's shown in the v10.10 release notes. Note here how the `@constructor` directive is visible at the end of the description, suggesting that perhaps it wasn't parsed. ![image](https://cloud.githubusercontent.com/assets/2729807/13602144/e08dde2a-e502-11e5-8c73-2380e406cf61.png) The `name` parameter does not show the description, but the type is displayed correctly. ![image](https://cloud.githubusercontent.com/assets/2729807/13602227/59cb9a3e-e503-11e5-9e5b-36fa14196c00.png) There is no intellisense for the greet function ![image](https://cloud.githubusercontent.com/assets/2729807/13602191/24c6dcfe-e503-11e5-9d43-a1bdeab1a6a2.png) Do I need to do something to explicitly enable the functionality showcased in the release notes? I tried executing "Reload Javascript Project" both with and without a jsconfig.json file present already.
More often these days (I have seen this before) my problems/warnings status bar shows 99+ and clicking on it shows all are coming from /Applications/Visual Studio Code - Alpha.app/Contents/Resources/app/extensions/typescript/server/typescript/lib/lib.d.ts ![image](https://cloud.githubusercontent.com/assets/900690/13567077/6337ffe0-e459-11e5-98e7-04f1983d07db.png) In addition the console prints this: [Extension Host] diagnostics for file:///Applications/Visual%20Studio%20Code%20-%20Alpha.app/Contents/Resources/app/extensions/typescript/server/typescript/lib/lib.d.ts will be capped to 250 (actually is 588)
1
# Bug report **What is the current behavior?** This ticket is not critical, since the `dist/production` env still works, but there seems to be some not needed redundancy. ![Screenshot 2022-05-20 at 12 31 28](https://user- images.githubusercontent.com/1177434/169510303-15e703f1-0b1a-4875-b9f2-229ce00035cd.png) The map contains the the same chunk-names for many (not all) entries at the first and last position of the arrays. **If the current behavior is a bug, please provide the steps to reproduce.** The easiest way to reproduce it: 1. clone the neo.mjs repository: https://github.com/neomjs/neo 2. npm install 3. npm run build-all 4. open dist/production/appworker.js **What is the expected behavior?** Chunk-names should be unique for each path / array. One easy way to fix it is probably to convert the array into a Set and back. it could make sense though to investigate why this is happening **Other relevant information:** webpack version: 5.72.1 Node.js version: v16.2.0 Operating System: Monterey Additional tools:
# Bug report (I _think_ this is a bug. It's possible it's a feature I don't yet understand.) **What is the current behavior?** When using the split chunks plugin, the resulting compilation chunks sometimes have duplicate ids. For example, I added this debugging hook to my webpack config: compiler.hooks.afterEmit.tap("log-dupe-chunks", function(compilation) { let chunks = compilation.chunks; let chunkIds = chunks.map(c => c.id); let dupeChunks = chunks .filter(c => chunkIds.filter(i => i === c.id).length > 1) .map(c => pick(c, ["id", "ids", "debugId", "name", "entryModule", "files", "rendered", "hash", "contentHash", "renderedHash", "chunkReason", "extraAsync"]) ); if (dupeChunks.length) { console.log(dupeChunks); } }); Resulting in this output: [ { id: 'vendors~markdownediting~uploader', ids: [ 'vendors~markdownediting~uploader' ], debugId: 1011, name: 'lazy_store', entryModule: undefined, files: [ 'lazy_store.8122ea9e5a55db822e44.js', 'lazy_store.8122ea9e5a55db822e44.js.map' ], rendered: true, hash: '8122ea9e5a55db822e44da03c4fa5547', contentHash: { javascript: '721f86d9054aaadb11d1' }, renderedHash: '8122ea9e5a55db822e44', chunkReason: undefined, extraAsync: false }, { id: 'vendors~markdownediting~uploader', ids: [ 'vendors~markdownediting~uploader' ], debugId: 1026, name: 'vendors~markdownediting~uploader', entryModule: undefined, files: [ 'vendors~markdownediting~uploader.bd57c5c4595c93582c8b.js', 'vendors~markdownediting~uploader.bd57c5c4595c93582c8b.js.map' ], rendered: true, hash: 'bd57c5c4595c93582c8b9e692da052d0', contentHash: { javascript: 'c9f2f1d06758f3a354b1' }, renderedHash: 'bd57c5c4595c93582c8b', chunkReason: 'split chunk (cache group: vendors) (name: vendors~markdownediting~uploader)', extraAsync: false } ] Shouldn't that first chunk have an id of `lazy_store` ? I've only seen the duplicate chunk ids where one of the chunks is my code, the other chunk is vendor/node_modules code (see the `cache group: vendors` bit). I've also only seen this happen when using recordsPath. If I delete my webpack records & re-build, all the chunk ids are unique. **If the current behavior is a bug, please provide the steps to reproduce.** Sorry, I'm really struggling to narrow this down. It seems to come and go at the whim of whatever heuristics drive SplitChunksPlugin. If someone can confirm this is a bug and it's not immediately obvious why it happens, I'll try harder. **What is the expected behavior?** Presumably all compilation chunks should have unique ids? **Other relevant information:** webpack version: 4.6.0 Node.js version: 8.11.1 Operating System: Docker with node:8.11-alpine I'm using https://github.com/GProst/webpack-clean-obsolete-chunks, which expects chunks to have unique ids, and ends up accidentally deleting files when they don't. If it turns out that chunks are allowed to have duplicate ids, I'll submit a fix to that.
0
ERROR: type should be string, got "\n\nhttps://elasticsearch-\nci.elastic.co/job/elastic+elasticsearch+master+java9-periodic/256/consoleText\n\nThis looks like a fairly minimal reproduction:\n\n \n \n public void testAppendStringIntoMap() {\n assertEquals(\"nullcat\", exec(\"def a = new HashMap(); a.cat += 'cat'\"));\n }\n \n\nI'm not super familiar with this code. Does someone else want it or should I\ngrab it?\n\n"
Right now Elasticsearch plugins that want ship scripts have to deal with locating the configuration of Elasticsearch so they can run properly. On the other hand in 5.0 Elasticsearch will ship the `elasticsearch-plugin` command that already does this. If we could allow plugins to register `subcommands` of `elasticsearch-plugin` then they wouldn't need to duplicate all that effort. We certainly could improve support for plugins shipping their own shell and batch scripts but I'm not really a fan of writing more and more and more batch scripts, most of which just figure out where the Elasticsearch code is and then start java.
0
Use the proxy object as part of telnet invocation which has been exccluded as part of [3013] (#3013 * I have searched the issues of this repository and believe that this is not a duplicate. * I have checked the FAQ of this repository and believe that this is not a duplicate. ### Environment * Dubbo version: 2.7.0 * Operating System version: xxx * Java version: xxx ### Steps to reproduce this issue 1. xxx 2. xxx 3. xxx Pls. provide [GitHub address] to reproduce this issue. ### Expected Result What do you expected from the above steps? ### Actual Result What actually happens? If there is an exception, please attach the exception trace: Just put your stack trace here!
* I have searched the issues of this repository and believe that this is not a duplicate. * I have checked the FAQ of this repository and believe that this is not a duplicate. ### Environment * Dubbo version: 2.7.4.1 * Operating System version: Window7 * Java version: JDK8 ### Steps to reproduce this issue 1. Use nacos as a registration center 2. The configuration of application.properties is as follows dubbo.registries.one.address=nacos://192.168.99.237:8848 dubbo.registries.two.address=nacos://192.168.99.237:8848?namespace=9f0825ac-0a6a-4907-b5ee-34530ce828b1 3. Register the service under the different namespaces of nacos Pls. provide [GitHub address] to reproduce this issue. ### Expected Result Services exist in different namespaces ### Actual Result The service only exists in the first registered namespace Is it because ip is the same as the port, but the namespace is different, is it considered to be caused by repeated registration?
0
The following snippet is valid, as far as I know: export interface User { wpUserID: string; } The following snippet is also valid, but does not compile, but probably should: export default interface User { wpUserID: string; } I get errors thrown at me when using TypeScript 1.5-beta: Error: /Models/User.ts(1,26): Error TS1005: ';' expected. Error: /Models/User.ts(1,31): Error TS1005: ';' expected.
Raised on SO. The following is an error: export default interface Foo { } By design or bug?
1
* VSCode Version: 0.10.12-alpha * OS Version: Ubuntu 14.04 * Debugging using Microsoft cpp debugger, but will happen in any "stop-all" style debugger. Steps to Reproduce: 1. Compile following C++ code #include <iostream> #include <cstdlib> #include <pthread.h> using namespace std; #define NUM_THREADS 5 void *PrintHello(void *threadid) long tid; tid = (long)threadid; //set a breakpoint here cout << "Hello World! Thread ID, " << tid << endl; pthread_exit(NULL); } int main() { pthread_t threads[NUM_THREADS]; int rc; int i; for (i = 0; i < NUM_THREADS; i++) { //set a breakpoint here cout << "main() : creating thread, " << i << endl; rc = pthread_create(&threads[i], NULL, PrintHello, (void *)i); if (rc) { cout << "Error:unable to create thread," << rc << endl; exit(-1); } } pthread_exit(NULL); } 1. Set two breakpoints in the lines with comments "//set a breakpoint here" 2. press F5 3~5 times 3. Notice, that if a breakpoint or step causes the threads to switch, the UI does not indicate which thread is currently stepping. Multiple callstacks may be displayed, which can be confusing.
* VSCode Version:0.10.10 * OS Version:windows 10 Steps to Reproduce: 1. type `var a = ENV === 'dev' ? "a" : "b";` 2. " : " is consider as variable type ![err](https://cloud.githubusercontent.com/assets/2296934/14123335/a494c0b0-f61d-11e5-9974-2dc11a4de218.png)
0
Challenge Waypoint: Import a Google Font has an issue. User Agent is: `Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0`. Please describe how to reproduce this issue, and include links to screenshots if possible. When each Waypoint loads, the current code appears to be running twice. When I edit the code, it refreshes and displays properly. This has happened on every Waypoint for me so far (I just started from the very beginning today). ![waypoint import a google font free code camp - mozilla firefox_001](https://cloud.githubusercontent.com/assets/15256929/11106924/dbef7832-888d-11e5-9ee6-d664fe6967b8.png) My code: <style> .red-text { color: red; } p { font-size: 16px; font-family: Monospace; } </style> <h2 class="red-text">CatPhotoApp</h2> <p class="red-text">Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p> <p class="red-text">Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
Challenge http://www.freecodecamp.com/challenges/waypoint-line-up-form- elements-responsively-with-bootstrap has an issue. I think the problem is happening on all Waypoint pages; the device right side of the screen where the CatPhotoApp page displays the information is being displayed duplicated; Another point is that the HTML / CSS code is not completely displayed when the page is loaded, it is necessary to click or edit the code so that the code from the previous lesson is displayed correctly; ![duplicate](https://cloud.githubusercontent.com/assets/8672039/9483149/cbe9f67c-4b72-11e5-9b2a-698deaa06a4e.png) ![lost previous code](https://cloud.githubusercontent.com/assets/8672039/9483184/285ff19a-4b73-11e5-8601-6c5fbb58215b.png)
1
With current 0.5 master: julia> map(Float32, [3,4,5]) 3-element Array{Float32,1}: 3.0 4.0 5.0 julia> broadcast(Float32, [3,4,5]) 3-element Array{Int64,1}: 3 4 5 We presumably want to return a `Float32` array in both cases? cc: @ViralBShah: this affects the case you asked about in #8450, since my `f.(x...)` implementation in #15032 is equivalent to `broadcast`.
The following code fails with an `InexactError()`: X = [1,2,3] Y = [4 5] broadcast(atan2, X, Y) whereas [atan2(x,y) for x in X, y in Y ] (albeit producing an array of type `Any`), while atan2([1,2,3],[4,5,6]) produces an array of `Float64`. Can we improve the type inference so that all three cases can generate `Float64` arrays? Note that this is needed for #4363 (for `@vectorize_2arg` to use `broadcast`).
1
I have a kind request for all the contributors to the latest provider packages release. Could you help us to test the RC versions of the providers and let us know in the comment, if the issue is addressed there. ## Provider amazon: 2.4.0rc2 * MySQLToS3Operator add support for parquet format (#18755): @guotongfei * Add RedshiftSQLHook, RedshiftSQLOperator (#18447): @Brooke-white * Remove extra postgres dependency from AWS Provider (#18844): @mariotaddeucci * Remove duplicated code on S3ToRedshiftOperator (#18671): @mariotaddeucci * Fixing ses email backend (#18042): @ignaski * Fixup string concatenations (#19099): @blag * Update S3PrefixSensor to support checking multiple prefixes within a bucket (#18807): @anaynayak * Move validation of templated input params to run after the context init (#19048): @eskarimov * fix SagemakerProcessingOperator ThrottlingException (#19195): @ChanglinZhou * Fix S3ToRedshiftOperator (#19358): @mariotaddeucci Thanks to everyone involved in the PRs: @eskarimov @blag @anaynayak @Brooke-white @mariotaddeucci @ignaski @ChanglinZhou @guotongfei ### Committer * I acknowledge that I am a maintainer/committer of the Apache Airflow project.
**Description** Currently, in our bash scripts (mostly in CI and Breeze) we use an old and outdated naming convention where every environment variable is CAPITALIZED. This comes from my personal background as I am the author of most of it, but there are better (and modern) conventions that we should use. Particularly https://google.github.io/styleguide/shellguide.html is one that is interesting but it has a number of google-internal-specific decisions that might not apply to our case. The other shell style gule that seems tobe much more reasonable/open-sorce friendly and widely quoted is the "icy" one https://github.com/icy/bash- coding-style. I think it's good to apply the naming convention of Google - where we should use: * CAPITALIZATION to indicate constant and exported variables * readonly for read-only values (especially those that are read from configuration and remain consistent across the rest of the script * local variables **Use case / motivation** Make the bash scripts more readable and robust, avoid duplication of code and allows easier future maintenance **Bash scripts to review** * ./breeze * ./breeze-complete * ./docs/start_doc_server.sh * ./chart/dockerfiles/pgbouncer/build_and_push.sh * ./chart/dockerfiles/statsd-exporter/build_and_push.sh * ./dev/sign.sh * ./airflow/www/compile_assets.sh * ./scripts/in_container/_in_container_script_init.sh * ./scripts/in_container/run_mypy.sh * ./scripts/in_container/run_docs_build.sh * ./scripts/in_container/refresh_pylint_todo.sh * ./scripts/in_container/_in_container_utils.sh * ./scripts/in_container/run_prepare_backport_packages.sh * ./scripts/in_container/run_generate_constraints.sh * ./scripts/in_container/run_clear_tmp.sh * ./scripts/in_container/run_ci_tests.sh * ./scripts/in_container/run_test_package_installation_separately.sh * ./scripts/in_container/run_extract_tests.sh * ./scripts/in_container/run_prepare_backport_readme.sh * ./scripts/in_container/run_flake8.sh * ./scripts/in_container/run_cli_tool.sh * ./scripts/in_container/run_system_tests.sh * ./scripts/in_container/entrypoint_exec.sh * ./scripts/in_container/run_pylint.sh * ./scripts/in_container/run_test_package_import_all_classes.sh * ./scripts/in_container/run_fix_ownership.sh * ./scripts/in_container/entrypoint_ci.sh * ./scripts/in_container/configure_environment.sh * ./scripts/in_container/check_environment.sh * ./scripts/in_container/prod/airflow_scheduler_autorestart.sh * ./scripts/in_container/prod/entrypoint_prod.sh * ./scripts/in_container/prod/clean-logs.sh * ./scripts/ci/docs/ci_docs.sh * ./scripts/ci/testing/ci_run_airflow_testing.sh * ./scripts/ci/kubernetes/ci_deploy_app_to_kubernetes.sh * ./scripts/ci/kubernetes/ci_run_kubernetes_tests.sh * ./scripts/ci/kubernetes/ci_run_helm_testing.sh * ./scripts/ci/libraries/_pylint.sh * ./scripts/ci/libraries/_permissions.sh * ./scripts/ci/libraries/_spinner.sh * ./scripts/ci/libraries/_kind.sh * ./scripts/ci/libraries/_md5sum.sh * ./scripts/ci/libraries/_sanity_checks.sh * ./scripts/ci/libraries/_verbosity.sh * ./scripts/ci/libraries/_parameters.sh * ./scripts/ci/libraries/_initialization.sh * ./scripts/ci/libraries/_script_init.sh * ./scripts/ci/libraries/_push_pull_remove_images.sh * ./scripts/ci/libraries/_start_end.sh * ./scripts/ci/libraries/_build_images.sh * ./scripts/ci/libraries/_runs.sh * ./scripts/ci/libraries/_local_mounts.sh * ./scripts/ci/libraries/_all_libs.sh * ./scripts/ci/constraints/ci_commit_constraints.sh * ./scripts/ci/constraints/ci_generate_constraints.sh * ./scripts/ci/constraints/ci_branch_constraints.sh * ./scripts/ci/static_checks/refresh_pylint_todo.sh * ./scripts/ci/static_checks/mypy.sh * ./scripts/ci/static_checks/bat_tests.sh * ./scripts/ci/static_checks/pylint.sh * ./scripts/ci/static_checks/run_static_checks.sh * ./scripts/ci/static_checks/lint_dockerfile.sh * ./scripts/ci/static_checks/flake8.sh * ./scripts/ci/static_checks/check_license.sh * ./scripts/ci/openapi/client_codegen_diff.sh * ./scripts/ci/pre_commit/pre_commit_mypy.sh * ./scripts/ci/pre_commit/pre_commit_local_yml_mounts.sh * ./scripts/ci/pre_commit/pre_commit_lint_dockerfile.sh * ./scripts/ci/pre_commit/pre_commit_ci_build.sh * ./scripts/ci/pre_commit/pre_commit_setup_cfg_file.sh * ./scripts/ci/pre_commit/pre_commit_flake8.sh * ./scripts/ci/pre_commit/pre_commit_build_providers_dependencies.sh * ./scripts/ci/pre_commit/pre_commit_check_license.sh * ./scripts/ci/pre_commit/pre_commit_pylint.sh * ./scripts/ci/pre_commit/pre_commit_check_integrations.sh * ./scripts/ci/pre_commit/pre_commit_mermaid.sh * ./scripts/ci/pre_commit/pre_commit_bat_tests.sh * ./scripts/ci/pre_commit/pre_commit_breeze_cmd_line.sh * ./scripts/ci/tools/ci_count_changed_files.sh * ./scripts/ci/tools/ci_clear_tmp.sh * ./scripts/ci/tools/ci_free_space_on_ci.sh * ./scripts/ci/tools/ci_fix_ownership.sh * ./scripts/ci/tools/ci_check_if_tests_should_be_run.sh * ./scripts/ci/backport_packages/ci_test_backport_packages_import_all_classes.sh * ./scripts/ci/backport_packages/ci_prepare_backport_packages.sh * ./scripts/ci/backport_packages/ci_prepare_backport_readme.sh * ./scripts/ci/backport_packages/ci_test_backport_packages_install_separately.sh * ./scripts/ci/backport_packages/ci_prepare_and_test_backport_packages.sh * ./scripts/ci/images/ci_prepare_ci_image_on_ci.sh * ./scripts/ci/images/ci_build_dockerhub.sh * ./scripts/ci/images/ci_prepare_prod_image_on_ci.sh * ./scripts/ci/images/ci_wait_for_all_prod_images.sh * ./scripts/ci/images/ci_push_production_images.sh * ./scripts/ci/images/ci_wait_for_all_ci_images.sh * ./scripts/ci/images/ci_push_ci_images.sh * ./backport_packages/build_source_package.sh * ./images/breeze/add_overlay.sh * ./clients/gen/common.sh * ./clients/gen/go.sh * ./tests/bats/mocks/docker.sh * ./tests/bats/mocks/kubectl.sh * ./tests/bats/mocks/kind.sh * ./tests/bats/mocks/helm.sh
0
This 3-liner crashes rustc: struct CrashIt; impl Iterator for CrashIt { } fn main() { } My original code did a lot more than that, but I tried to create the minimal repro case. $ rustc --version --verbose rustc 0.13.0-nightly (c6c786671 2015-01-04 00:50:59 +0000) binary: rustc commit-hash: c6c786671d692d7b13c2e5c68a53001327b4b125 commit-date: 2015-01-04 00:50:59 +0000 host: x86_64-unknown-linux-gnu release: 0.13.0-nightly $ RUST_BACKTRACE=1 rustc src/main.rs src/main.rs:2:1: 2:30 error: internal compiler error: impl `VtableImpl(impl_def_id=DefId { krate: 0, node: 7 }:CrashIt.Iterator, substs=Substs[types=[[];[];[]], regions=[[];[];[]]], nested=[[];[];[]])` did not contain projection for `Obligation(predicate=<CrashIt as TraitRef(CrashIt, core::iter::Iterator)>::Item,depth=0)` src/main.rs:2 impl Iterator for CrashIt { } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ note: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html note: run with `RUST_BACKTRACE=1` for a backtrace thread 'rustc' panicked at 'Box<Any>', /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libsyntax/diagnostic.rs:123 stack backtrace: 1: 0x7fbff73562d0 - sys::backtrace::write::h8532e701ef86014f4it 2: 0x7fbff737bb00 - failure::on_fail::h7532e1f79d134d5dzvz 3: 0x7fbff72e11c0 - rt::unwind::begin_unwind_inner::h97b151606151d62deaz 4: 0x7fbff218ec60 - rt::unwind::begin_unwind::h15809447133099964284 5: 0x7fbff218ebf0 - diagnostic::SpanHandler::span_bug::he8142ababcc30c39DFF 6: 0x7fbff568de70 - middle::traits::project::project_type::h947eece142ef049d52P 7: 0x7fbff568afd0 - middle::traits::project::opt_normalize_projection_type::hb3defb9cc9365d1e8UP 8: 0x7fbff5678ba0 - middle::traits::project::normalize_projection_type::hdc293893275ee559JTP 9: 0x7fbff568c470 - middle::traits::project::AssociatedTypeNormalizer<'a, 'b, 'tcx>.TypeFolder<'tcx>::fold_ty::h801cbd2cdff2eff1kSP 10: 0x7fbff69492e0 - middle::ty_fold::Rc<T>.TypeFoldable<'tcx>::fold_with::h6325524173844043840 11: 0x7fbff6949e90 - middle::ty_fold::VecPerParamSpace<T>.TypeFoldable<'tcx>::fold_with::h13884369302522804796 12: 0x7fbff6965280 - check::FnCtxt<'a, 'tcx>::instantiate_bounds::hed550a9659b70335Oll 13: 0x7fbff697dfc0 - check::wf::CheckTypeWellFormedVisitor<'ccx, 'tcx>::check_impl::closure.29997 14: 0x7fbff697a430 - check::wf::CheckTypeWellFormedVisitor<'ccx, 'tcx>::with_fcx::hb1283961ed8977b7Gfi 15: 0x7fbff6980d70 - check::wf::CheckTypeWellFormedVisitor<'ccx, 'tcx>.Visitor<'v>::visit_item::h001ababd87597e37soi 16: 0x7fbff6b6dfe0 - check_crate::unboxed_closure.40162 17: 0x7fbff6b68c30 - check_crate::h19fb6dea5733566ajsx 18: 0x7fbff78a7640 - driver::phase_3_run_analysis_passes::h46b1604d9f9f5633Tva 19: 0x7fbff7895ae0 - driver::compile_input::h68b8602933aad8d7wba 20: 0x7fbff7960eb0 - thunk::F.Invoke<A, R>::invoke::h18029802347644288836 21: 0x7fbff795fc60 - rt::unwind::try::try_fn::h6518866316425934196 22: 0x7fbff73e2400 - rust_try_inner 23: 0x7fbff73e23f0 - rust_try 24: 0x7fbff795ffb0 - thunk::F.Invoke<A, R>::invoke::h15513809553472565307 25: 0x7fbff7367e40 - sys::thread::thread_start::h5ea7ba97235331d5a9v 26: 0x7fbff19b2c20 - start_thread 27: 0x7fbff6f83899 - clone 28: 0x0 - <unknown>
### STR Didn't have time to write a shorter snippet #![crate_type = "lib"] #![feature(associated_types, lang_items, unboxed_closures)] #![no_std] use Option::{None, Some}; trait Iterator { type Item; fn next(&mut self) -> Option<Self::Item>; } trait DoubleEndedIterator: Iterator { fn next_back(&mut self) -> Option< <Self as Iterator>::Item>; } struct Rev<I>(I); impl<I> Iterator for Rev<I> where I: DoubleEndedIterator { // forgot this! //type Item = <I as Iterator>::Item; fn next(&mut self) -> Option< <I as Iterator>::Item> { self.0.next_back() } } #[lang = "copy"] trait Copy {} #[lang = "sized"] trait Sized {} enum Option<T> { None, Some(T), } #[lang = "fn_mut"] trait FnMut<Args, Result> { extern "rust-call" fn call_mut(&mut self, Args) -> Result; } ### Output iter.rs:23:5: 25:6 error: internal compiler error: impl `VtableImpl(impl_def_id=DefId { krate: 0, node: 38 }:Rev<I>.Iterator, substs=Substs[types=[[_];[];[]], regions=[[];[];[]]], nested=[[Obligation(predicate=Binder(TraitPredicate(TraitRef(I, Sized))),depth=1), Obligation(predicate=Binder(TraitPredicate(TraitRef(I, DoubleEndedIterator))),depth=1)];[];[]])` did not contain projection for `Obligation(predicate=<Rev<I> as TraitRef(Rev<I>, Iterator)>::Item,depth=0)` iter.rs:23 fn next(&mut self) -> Option< <I as Iterator>::Item> { iter.rs:24 self.0.next_back() iter.rs:25 } note: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html note: run with `RUST_BACKTRACE=1` for a backtrace thread 'rustc' panicked at 'Box<Any>', /root/rust/src/libsyntax/diagnostic.rs:123 stack backtrace: 1: 0x7fddb1e70120 - sys::backtrace::write::h3fe61c98bf398fe8P8s 2: 0x7fddb1e8fef0 - failure::on_fail::h55da319a91ee267cEpz 3: 0x7fddb1e05b40 - rt::unwind::begin_unwind_inner::h2a51826b093fcd9eJ3y 4: 0x7fddad24b3d0 - rt::unwind::begin_unwind::h3298842058425057001 5: 0x7fddad24b360 - diagnostic::SpanHandler::span_bug::heeaf2edd6daa003fNQF 6: 0x7fddb022acb0 - middle::traits::project::project_type::hcf50d7eec736df9c35P 7: 0x7fddb0222800 - middle::traits::fulfill::process_predicate::h3703aabc133e79cayGP 8: 0x7fddb0221ab0 - middle::traits::fulfill::FulfillmentContext<$u{27}tcx$GT$::select::h827e4d042486e566SzP 9: 0x7fddb00ee7c0 - middle::traits::fulfill::FulfillmentContext<$u{27}tcx$GT$::select_all_or_error::heebbe09eddbd26dfDwP 10: 0x7fddb1510cd0 - check::compare_impl_method::h359a8a44e8f8def4Zfk 11: 0x7fddb14ff0b0 - check::check_item::hfedb86714512d4d8XRj 12: 0x7fddb169d450 - check_crate::unboxed_closure.39783 13: 0x7fddb16981f0 - check_crate::h7446c5344d10b3c1cGx 14: 0x7fddb23a98d0 - driver::phase_3_run_analysis_passes::hb59d2d67157ec124gva 15: 0x7fddb2397fb0 - driver::compile_input::hff9e8d16e3108315vba 16: 0x7fddb24e4900 - thunk::F.Invoke<A,$u{20}R$GT$::invoke::h10803646332669730367 17: 0x7fddb24e36c0 - rt::unwind::try::try_fn::h3820096971255462672 18: 0x7fddb1ef4eb0 - rust_try_inner 19: 0x7fddb1ef4ea0 - rust_try 20: 0x7fddb24e3a10 - thunk::F.Invoke<A,$u{20}R$GT$::invoke::h15250775183210022334 21: 0x7fddb1e7f8d0 - sys::thread::thread_start::h7b82ef93cab3e580K1v 22: 0x7fddaca690c0 - start_thread 23: 0x7fddb1aab2d9 - __clone 24: 0x0 - <unknown> ### Version `84f5ad8` cc @nikomatsakis
1
### Version 2.5.16 ### Reproduction link https://codesandbox.io/s/rllvz0m21o ### Steps to reproduce 1. Create a "renderless" component that passes data into the default scoped-slot. render () { return this.$scopedSlots.default(this) }, 2. Have a component that uses the "renderless" component as root and then populates the scoped-slot with its own template. 3. Have two components with regular slots where one is tunneling the passed content into the second slot. The slots can have different names, it does not affect the issue. Like this: <slot slot="slotName" name="slotName"/> 4. Somehow force the "renderless" component to update. ### What is expected? No warning should be shown. ### What is actually happening? It triggers the warning: Duplicate presence of slot "sep" found in the same render tree - this will likely cause render errors. found in ---> <MiddleComponent> at /src/components/MiddleComponent.vue It might also work incorrectly or trigger additional unnecessary re-renders. * * * The source code responsible for showing the warning was probably meant for detecting the usage of slots inside v-for loops. However, in this case, it seems to be called incorrectly since the slot is only rendered once. The reason for this might be that the `rendered` flag is not being reset in this situation. Not using a renderless component (doing tunneling outside of a scoped-slot) does not trigger the error. Using scoped-slots instead of regular slots also does not trigger the warning, but that’s because the check is skipped. This is potentially related to #8546.
### Version 2.5.16 ### Reproduction link https://codesandbox.io/s/vn7jz1l1kl ### Steps to reproduce Click the button that says "refresh" ### What is expected? Nothing should happen ### What is actually happening? [Vue warn]: Duplicate presence of slot "default" found in the same render tree - this will likely cause render errors. * * * I have a component `B` which accepts a scopedSlot, and a component `A` which accepts a slot. `A` is passing in it's slot into the scopedSlot of `B` <template slot-scope="scope"> <slot></slot> </template> When the component `B` gets rerendered, I see this warning in the console. `B` passes a method to the scoped slot which will cause it to rerender when called.
1
**What is the bug?** When you perform the first post request, everything's fine. Each subsequent request (or a page refresh) leads to a 405 error. **How to Reproduce the error** Here's the minimum code to replicate the error: Project Structure * templates * index.html * main.py main.py: from flask import Flask, render_template import json app = Flask(__name__) @app.route("/") def home(): return render_template("index.html") @app.route("/post", methods=["POST"]) def post_test(): return json.dumps({"test": True}) if __name__ == "__main__": app.run(debug=True) index.html: <script> async function postSomething() { let options = { method: "POST", body: JSON.stringify({ "name": "test" }) } let request = await fetch("/post", options); let response = await request.json() console.log(response) } </script> <button onclick="postSomething()"> Click me! </button> **What do I expect** I expect to be able to press the button multiple times without getting an error. It seems that Flask puts the form data before the request, which leads to this in the console: `127.0.0.1 - - [10/Sep/2022 12:09:52] "{"name":"test"}GET / HTTP/1.1" 405 -` I tested the same behaviour with Tornado, which gave me the correct expected result. Here's the minimal code for Tornado: import asyncio import tornado.web import tornado.template class MainHandler(tornado.web.RequestHandler): def get(self): self.render("templates/index.html") class PostHandler(tornado.web.RequestHandler): def post(self): self.write({"test": True}) async def main(): application = tornado.web.Application( [(r"/", MainHandler), (r"/post", PostHandler)], debug=True, ) application.listen(5000) await asyncio.Event().wait() if __name__ == "__main__": print("Running Main") asyncio.run(main()) Environment: * Python version: 3.9.13 * Flask version: 2.2.2
With the following example: from flask import Flask app = Flask(__name__) @app.route('/', methods=['POST']) def hello_world(): return 'Hello World!' if __name__ == '__main__': app.run() When you set the request body to `{}` with Postman or any HTTP clients, the first request will return 200, while the second request will return a 405 error response. The log shows the request method is `{}POST`: "{}POST / HTTP/1.1" 405 Notice the request body became the part of the request method.
1
Go version: go1.3.3 linux/amd64 on Fedora 20 When creating an archive (with `tar.NewWriter`), long names (> 100 chars) that don't fit into standard tar headers need to be encoded differently. An optimisation in `archive/tar/writer.go: writeHeader()` tries to use a ustar header when only the name is too long creates files that are misinterpretated by other tar implementations (but read correctly by archive/tar) For example, `/home/support/.openoffice.org/3/user/uno_packages/cache/registry/com.sun.star.comp.deployment.executable.PackageRegistryBackend` becomes `com.sun.star.comp.deployment.executable.PackageRegistryBackend` for external `tar` commands (tested with GNU tar, BSD tar and star) Modifying `archive/tar/writer.go` and forcing `preferPax` to `true` in `NewWriter` fixes the issue
Using `go1.5` Also discovered this while fixing other archive/tar issues (and I found fair number of them, mostly minor). However, fixing this will change the way archive/tar reads and writes certain formats. #### What the current archive/tar thinks the GNU format is: * A magic and version that forms the string `"ustar\x20\x20\x00"` (this is correct). * That the structure is identical to the POSIX format. That is, there is a 155byte prefix section (this is incorrect). * That it extends the POSIX format by adding the ability to perform base-256 encoding (this is not necessarily specific to GNU format). #### What the GNU manual actually says the format is: The GNU manual says that the format for headers using this magic is the following (in Go syntax): type headerGNU struct { // Original V7 header name [100]byte // 0 mode [8]byte // 100 uid [8]byte // 108 gid [8]byte // 116 size [12]byte // 124 mtime [12]byte // 136 chksum [8]byte // 148 typeflag [1]byte // 156 linkname [100]byte // 157 // This section is based on the Posix standard. magic [6]byte // 257: "ustar " version [2]byte // 263: " \x00" uname [32]byte // 265 gname [32]byte // 297 devmajor [8]byte // 329 devminor [8]byte // 337 // The GNU format replaces the prefix field with this stuff. // The fact that GNU replaces the prefix with this makes it non-compliant. atime [12]byte // 345 ctime [12]byte // 357 offset [12]byte // 369 longnames [4]byte // 381 unused [1]byte // 385 sparse [4]headerSparse // 386 isextended [1]byte // 482 realsize [12]byte // 483 // 495 } type headerSparse struct { offset [12]byte // 0 numbytes [12]byte // 12 // 24 } In fact, the structure for GNU swaps out the prefix section of POSIX, for a bunch of extra fields for atime, ctime, and sparse file support (contrary to what Go thinks). Regarding the use of base-256 encoding, it seems that GNU was the first to introduce this encoding back in 1999. Since then, pretty much every tar decoder handles reading base-256 encoding regardless of whether it is GNU format or not. Marking the format as GNU may or may not be necessary just because base-256 encoding was used. #### Problem 1: When reading, if the decoder detects the GNU magic number, it will attempt to read 155bytes for the prefix. This is just plain wrong and will start to read the atime, ctime, etc instead. This causes the prefix to be incorrect. See this playground example The paths there have something like "12574544345" prepended to it. This is because when the tar archive tries to read the the prefix, it is actually reading the atime (which is in ASCII octal and is null terminated). Thus, it incorrectly uses the atime as the prefix. This probably went undetected for so long since the "incremental" mode of GNU tar is rarely used, and thus the atime and ctime fields are never filled out and left as null bytes. This happens to work in the common case, since the cstring for this field ends up being an empty string. #### Problem 2: When writing, if a numeric field was ever too large to represent in octal format, it would trigger the `usedBinary` flag and cause the library to output the GNU magic numbers, but subsequently fail to encode in the GNU format. Since it believes that the GNU format has a prefix field, it erroneously tries to use it, losing some information in the process. This is ultimately what causes #9683, but is rare in practice since the perfect conditions need to be met for GNU format to be used. There is a very narrow range between the use cases of USTAR and PAX where the logic will use GNU. #### Solution: When decoding, change it so that the reader doesn't read the 155byte prefix field (since this is just plain wrong). Optionally, support parsing of the atime and ctime from the GNU format. Nothing needs to change for sparse file support since that logic correctly understood the GNU format. When encoding, I propose the following order of precedence: * First, use the 1988 POSIX (USTAR) standard when possible for maximum backwards compatibility. * If any numeric field goes beyond the octal representation, or any names are longer than what is supported, just use the 2001 POSIX (PAX) standard. Let's avoid writing the GNU format. In fact the GNU manual itself, says the following under the POSIX section: > This archive format will be the default format for future versions of GNU > tar. The only advantages that GNU offers over USTAR is: * Unlimited length filenames (only ASCII) * Relatively large filesizes * Possibly atime and ctime However, PAX offers all of these over USTAR and far more: * Unlimited length strings (including UTF-8) support for filenames, usernames, etc. * Unlimited large integers for filesizes, uids, etc. * Sub-second resolution times. * No need for base-256 encoding (and assuming that decoders can handle them) since PAX has its own well-defined method of encoding arbitrarily large integers. Not to mention, we are already outputting PAX in many situations. What's the point of straggling between 3 different output formats? Thoughts?
1
We got the following warning message: warning: variant is never used: `Foo`, #[warn(dead_code)] on by default For this code: enum Something { Foo, NotFoo } fn main() { match Something::NotFoo { Something::Foo => {} _ => {} } } This warning could mislead users because for them, the Foo variant is used. Adding a specific warning message could be nice. @eddyb proposed this message instead in this case: "this variant is never instantiated" cc @eddyb
mod a { #[deriving(Show)] pub enum E { Variant1, Variant2, } } fn main() { let x = a::E::Variant1; let y = match x { a::E::Variant1 => 1i, a::E::Variant2 => 2i, }; println!("Hello world: {}", (x, y)); } produces: <anon>:5:9: 5:17 warning: variant is never used: `Variant2`, #[warn(dead_code)] on by default <anon>:5 Variant2, ^~~~~~~~
1
In the resulting output of customized Bootstrap 3 CSS, the styles for .fade.in come after .modal-backdrop.in This causes the opacity of the modal backdrop to become 1.0 instead of 0.5, giving the appearance of a totally black backdrop instead of a faded page. ![bad modal backdrop](https://camo.githubusercontent.com/7b7682122e03da7b4649cf867106324d8ac1c3be8cb1ec43683b8f617a28cc85/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f333732303032322f313134303630382f34306536386434382d316361322d313165332d393932652d3562386666613632353030382e706e67) ![good modal backdrop](https://camo.githubusercontent.com/19e142a0a1e709e70b092ea3500d6c7bc5f08ae172eea7dc065cf66913591824/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f333732303032322f313134303630392f34306538316530362d316361322d313165332d383137612d3365383831633632336361362e706e67)
Hi! I just generated a customized version and the modal background is totally black (I also generated a version without any change to be sure it wasn't me that caused that): ![image](https://camo.githubusercontent.com/7c884cd09470c8345f0304ad6c0a9768a9b9ad1b1cf415c28d5eb6df1beb82ab/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f353238373238352f313030393333382f66653335323434612d306233362d313165332d393531332d3962363637663362646665652e706e67) The download link on the home page does have transparency: ![image](https://camo.githubusercontent.com/c35f738d5bc9c495c9e5c3e792a7c2a713e064f7ba536da495ecd6830f696e96/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f353238373238352f313030393335332f33396635313138342d306233372d313165332d383231622d3263396365363830626339352e706e67)
1
**Is this a request for help?** (If yes, you should use our troubleshooting guide and community support channels, see http://kubernetes.io/docs/troubleshooting/.): * No **What keywords did you search in Kubernetes issues before filing this one?** (If you have found any duplicates, you should instead reply there.): * kubectl "does not allow access" * * * **Is this a BUG REPORT or FEATURE REQUEST?** (choose one): * Bug report **Kubernetes version** (use `kubectl version`): Client Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.6", GitCommit:"e569a27d02001e343cb68086bc06d47804f62af6", GitTreeState:"clean", BuildDate:"2016-11-12T05:22:15Z", GoVersion:"go1.7.1", Compiler:"gc", Platform:"darwin/amd64"} Server Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.5", GitCommit:"5a0a696437ad35c133c0c8493f7e9d22b0f9b81b", GitTreeState:"clean", BuildDate:"2016-10-29T01:32:42Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"} **Environment** : * **Cloud provider or hardware configuration** : * GCP GKE 1.4.5 * **OS** (e.g. from /etc/os-release): * Not sure, using gci * **Kernel** (e.g. `uname -a`): * Not sure, using gci * **Install tools** : * GKE web UI * **Others** : * N/A **What happened** : * In juggling multiple gcloud accounts with GKE clusters I accidentally used `kubectl` with the wrong application default credentials and it cached bad creds in `~/.kube/config` * After pointing gcloud at the right application default credentials and re-running `kubectl`, it continued trying and failing to use the bad creds cached in `~/.kube/config`; at this point I was stuck and confused for a few hours * To repair, I had to manually edit `~/.kube/config` to remove `users[].user.auth-provider.config`, and then `kubectl` started working again (or else wait ~1h for the access token to expire and refresh itself) **What you expected to happen** : * After pointing gcloud at the right application default credentials `kubectl` should just work, or at least provide an error msg to the user that can help them figure out that they need to revoke the bad access token and how to do it **How to reproduce it** (as minimally and precisely as possible): Good scenario: just works # Avoid calling kubectl with wrong application default credentials gcloud auth application-default login # -> Auth with user A kubectl --context cluster-A version # Ok + caches good creds gcloud auth application-default login # -> Auth with user B kubectl --context cluster-B version # Ok + caches good creds # Both now work kubectl --context cluster-A version # Ok, using cached good creds kubectl --context cluster-B version # Ok, using cached good creds Bad scenario: user makes one mistake and gets stuck # Use kubectl with wrong ADC gcloud auth application-default login # -> Auth with user A kubectl --context cluster-A version # Ok + caches good creds kubectl --context cluster-B version # Oops + caches bad creds gcloud auth application-default login # -> Auth with user B kubectl --context cluster-B version # Fails, stuck on bad creds cached in ~/.kube/config kubectl --context cluster-A version # Still works, using cached good creds # User is now stuck and confused with no clear approach to resolve... # Tada! vim ~/.kube/config # Manually remove users[].user.auth-provider.config for cluster-B kubectl --context cluster-B version # Ok + caches good creds # Both now work kubectl --context cluster-A version # Ok, using cached good creds kubectl --context cluster-B version # Ok, using cached good creds
**Is this a request for help?** (If yes, you should use our troubleshooting guide and community support channels, see http://kubernetes.io/docs/troubleshooting/.): Bug? **What keywords did you search in Kubernetes issues before filing this one?** (If you have found any duplicates, you should instead reply there.): exec format error * * * **Is this a BUG REPORT or FEATURE REQUEST?** (choose one): **Kubernetes version** (use `kubectl version`): Build from source K8s master and 1.5.0a **Environment** : * **Cloud provider or hardware configuration** : Raspberry Pi 3 * **OS** (e.g. from /etc/os-release): HypriotOS 1.0 * **Kernel** (e.g. `uname -a`): Linux k8smaster 4.4.15-hypriotos-v7+ #1 SMP PREEMPT Mon Jul 25 08:46:52 UTC 2016 armv7l GNU/Linux * **Install tools** : * **Others** : **What happened** : Status: Downloaded newer image for gcr.io/google_containers/kube- cross:v1.6.3-9 \---> e4ded450d60b Step 2 : RUN touch /kube-build-image \---> Running in 309c88797965 standard_init_linux.go:175: exec user process caused "exec format error" The command '/bin/sh -c touch /kube-build-image' returned a non-zero code: 1 To retry manually, run: docker build -t kube-build:build-cc7f4ab6d3-4-v1.6.3-9 --pull=false /home/pirate/kubernetes/_output/images/kube-build:build-cc7f4ab6d3-4-v1.6.3-9 Makefile:239: recipe for target 'release' failed make: *** [release] Error 1 **What you expected to happen** : make release to complete **How to reproduce it** (as minimally and precisely as possible): o Download Hypriot flash tool: flash https://downloads.hypriot.com/hypriotos- rpi-v1.0.0.img.zip o Flash image on SD card: http://blog.hypriot.com/post/releasing- HypriotOS-1-0/ o Boot rpi 3 from SD card o git clone https://github.com/kubernetes/kubernetes.git o cd kubernetes && make release **Anything else do we need to know** : docker version Client: Version: 1.12.1 API version: 1.24 Go version: go1.6.3 Git commit: 23cf638 Built: Thu Aug 18 05:31:15 2016 OS/Arch: linux/arm Server: Version: 1.12.1 API version: 1.24 Go version: go1.6.3 Git commit: 23cf638 Built: Thu Aug 18 05:31:15 2016 OS/Arch: linux/arm
0
OpenCV 4.0.0 alpha cannot be easily included in a /clr or /clr:pure Visual Studio project, because of the new native use of `<mutex>`, which is forbidden in that case. It would be easy to fix it, using a cv::Mutex wrapper around std::recursive_mutex (instead of straight typedef), with an opaque implementation that would only include `<mutex>` in the cpp file. But would such a patch be accepted ?
##### System information (version) * OpenCV => 3.4.1 * Operating System / Platform => Windows 64 Bit * Compiler => Visual Studio 2017 ##### Detailed description I can not compile quite simple OpenCV project with CLR on Visual Studio 2017. It gives me "< mutex > is not supported when compiling with /clr or /clr:pure." error. ##### Steps to reproduce * Start a new empty C++ project on Visual Studio 2017. * Try to read and show an image. * Go to project properties -> Configuration Properties -> General -> Common Language Runtime Support -> Select Common Language Runtime Support (/CLR) * Try to build.
1
**Apache Airflow version** : 1.10.9 **Kubernetes version: 1.15.11 **Environment** : * **Cloud provider** : Google Cloud **What happened** : I started to notice that Airflow webserver performance degrades over time. At one moment all my webserver pods had 100% CPU used, so UI and API became too slow, even unusable. I started to investigate this issue and looks like it depends on amount of task instances stored in DB. I had 100,000+ of them in the task_instance table. When I checked what process took full CPU on webserver pods, that was a gunicorn. After I cleaned up task_instance table, CPU usage dropped to nothing. Right now I have 30,000 tasks completed and see CPU spikes again. ![Screenshot from 2020-05-07 10-43-27](https://user- images.githubusercontent.com/57914365/81267874-d777f300-904f-11ea-9edf-3a389e5742e3.png) Also this issue seems to go away if I disable all my DAGs. Looks like webserver has some query which executes from time to time and consumes all the CPU. **What you expected to happen** : Amount of completed tasks do not influence the webserver performance. **How to reproduce it** : Generate 100,000 tasks and have 10 enabled DAGs in Airflow. Webserver CPU usage will be high, web becomes unusable.
**Apache Airflow version** : 1.10.7 **Kubernetes version (if you are using kubernetes)** (use `kubectl version`): **Environment** : local * **Cloud provider or hardware configuration** : 3Ghz Intel Core i5, 16GB * **OS** (e.g. from /etc/os-release): Debian 9 * **Kernel** (e.g. `uname -a`): Linux debian 4.9.0-12-amd64 #1 SMP Debian 4.9.210-1 (2020-01-20) x86_64 GNU/Linux * **Install tools** : * **Others** : **What happened** : Traceback (most recent call last): File "/usr/local/bin/airflow", line 26, in from airflow.bin.cli import CLIFactory File "/usr/local/lib/python3.6/site-packages/airflow/bin/cli.py", line 71, in from airflow.www_rbac.app import cached_app as cached_app_rbac File "/usr/local/lib/python3.6/site-packages/airflow/www_rbac/app.py", line 26, in from flask_appbuilder import AppBuilder, SQLA File "/usr/local/lib/python3.6/site-packages/flask_appbuilder/ **init**.py", line 6, in from .base import AppBuilder # noqa: F401 File "/usr/local/lib/python3.6/site-packages/flask_appbuilder/base.py", line 8, in from .api.manager import OpenApiManager File "/usr/local/lib/python3.6/site-packages/flask_appbuilder/api/manager.py", line 7, in from flask_appbuilder.baseviews import BaseView File "/usr/local/lib/python3.6/site-packages/flask_appbuilder/baseviews.py", line 21, in from .forms import GeneralModelConverter File "/usr/local/lib/python3.6/site-packages/flask_appbuilder/forms.py", line 17, in from .fieldwidgets import ( File "/usr/local/lib/python3.6/site- packages/flask_appbuilder/fieldwidgets.py", line 3, in from wtforms.widgets import html_params, HTMLString ImportError: cannot import name 'HTMLString' It seems that after the release of WTForms==2.3.0 webserver doesnt start Changing it back to WTForms==2.2.1 solves the issue **How to reproduce it** : Use WTForms==2.3.0
0
As i use the sharding-sphere in my old project . There is some sql segement like insert into a (a,b) value(?,?) on duplicate key update a= ? , b = ? + b by use the PreparedStatement then the sharding-sphere will ignore the last two question symbol , then will cause the parameter 3 not found exception . As i go through the source code in version 3.0.1-SNAPSHOT and found there is not any logic to handle the placeholder in 'on duplicate key update' , so just support sql like insert into a (a,b) value(?,?) on duplicate key update a= VALUES(a) , b = VALUES(b) . Does this feature will support sooner , or any consideration for the sql at the beginning. As i have modified the code to support it .
## Bug Report ### Which version of ShardingSphere did you use? Both 5.0.0-alpha and 5.0.0-beta have this problem. ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy? ShardingSphere-JDBC ### Expected behavior Successful execution of sql. ### Actual behavior Unsuccessful execution of sql ### Reason analyze (If you can) N/A ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc. Use Oracle 11g,MybatisPlus. Run the TestdemoApplicationTests will get java.sql.SQLException: getValidColumnIndex. If you don't use sharding, you will get the correct result. ### Example codes for reproduce this issue (such as a github link). https://github.com/xueshiji/testdemo.git
0
for example, one might want to solve issue #4357 with this. a test program: http://play.golang.org/p/gyk1yehoTp i think we can treat a nil byte slice as the signal.
Time.MarshalJSON also encodes uninitialized time.Time values. It would be better if the encoding was guarded with IsZero() to avoid returning meaningless times.
0
**What keywords did you search in Kubernetes issues before filing this one?** (If you have found any duplicates, you should instead reply there.): generated.Asset * * * **Is this a BUG REPORT or FEATURE REQUEST?** (choose one): Bug Report **Kubernetes version** (use `kubectl version`): Today's HOT. commit `b71def7` **Environment** : Build on Ubuntu 16.04 **What happened** : git pull of latest code, then make release fails with +++ [0930 02:04:05] Starting etcd instance etcd --advertise-client-urls http://127.0.0.1:2379 --data-dir /tmp.k8s/tmp.fcfyJnEiqq --listen-client-urls http://127.0.0.1:2379 --debug > "/dev/null" 2>/dev/null Waiting for etcd to come up. +++ [0930 02:04:05] On try 1, etcd: : {"action":"set","node":{"key":"/_test","value":"","modifiedIndex":3,"createdIndex":3}} +++ [0930 02:04:06] Running integration test cases Running tests for APIVersion: v1,apps/v1alpha1,authentication.k8s.io/v1beta1,authorization.k8s.io/v1beta1,autoscaling/v1,batch/v1,batch/v2alpha1,certificates.k8s.io/v1alpha1, extensions/v1beta1,imagepolicy.k8s.io/v1alpha1,policy/v1alpha1,rbac.authorization.k8s.io/v1alpha1,storage.k8s.io/v1beta1 +++ [0930 02:04:07] Running tests without code coverage # k8s.io/kubernetes/test/e2e/framework test/e2e/framework/gobindata_util.go:30: undefined: generated.Asset test/e2e/framework/gobindata_util.go:33: undefined: generated.AssetNames Makefile:118: recipe for target 'test' failed make[1]: *** [test] Error 1 +++ [0930 02:05:19] Cleaning up etcd +++ [0930 02:05:19] Integration test cleanup complete Makefile:130: recipe for target 'test-integration' failed make: *** [test-integration] Error 1 Makefile:239: recipe for target 'release' failed make: *** [release] Error 1 **What you expected to happen** : Build to complete **How to reproduce it** (as minimally and precisely as possible): git pull; make release **Anything else do we need to know** : I saw the same thing yesterday on a slightly older commit, so this is not a very recent regression.
Something like: rules: - host: foo.bar.com path: /api backend: - serviceName: alpha1 weight: 1, or 33% - serviceName: alpha2 weight: 2, or 66% There'er ways to achieve similar splitting with either a deployment or by managing Service labels so they span a mix of alpha1 and alpha2 endpoints, but this seems more intuitive. On GCE I think we'd have to use iptables stats to satisfy that, but we can't push it down into a Service because today a single Service only understands homogenous endpoints. Nginx and haproxy understand wrr, so the 33% and 66% would have to apply to all the endpoints of the Service, and we'd just need to make sure the tie is broken evenly.
0
`flutter run -v` getting stuck at `Waiting for observatory port to be available...`. Although the build is getting installed on iOS simulator, but nothing happens if I try to launch it, ie I see a white blank screen and then goes back to home screen. This is the gif for your reference : https://media.giphy.com/media/g07ZufCWxlsNvTrQlE/giphy.gif The same command runs successfully on Android emulator with `Observatory URL on device: http://127.0.0.1:43116/`. Below is the log for iOS simulator: ** BUILD SUCCEEDED ** [ +16 ms] └─Compiling, linking and signing... (completed) [ ] Starting Xcode build... (completed) [ +12 ms] Xcode build done. 26.7s [ ] executing: [/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/] /usr/bin/env xcrun xcodebuild -configuration Debug VERBOSE_SCRIPT_LOGGING=YES -workspace Runner.xcworkspace -scheme Runner BUILD_DIR=/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios -sdk iphonesimulator -arch x86_64 SCRIPT_OUTPUT_STREAM_FILE=/var/folders/fy/wt5j6crj68vgrfy13hpt1w8h0000gn/T/flutter_build_log_pipe.X1FQFB/pipe_to_stdout -showBuildSettings [+2605 ms] Exit code 0 from: /usr/bin/env xcrun xcodebuild -configuration Debug VERBOSE_SCRIPT_LOGGING=YES -workspace Runner.xcworkspace -scheme Runner BUILD_DIR=/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios -sdk iphonesimulator -arch x86_64 SCRIPT_OUTPUT_STREAM_FILE=/var/folders/fy/wt5j6crj68vgrfy13hpt1w8h0000gn/T/flutter_build_log_pipe.X1FQFB/pipe_to_stdout -showBuildSettings [ ] Build settings from command line: ARCHS = x86_64 BUILD_DIR = /Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios SCRIPT_OUTPUT_STREAM_FILE = /var/folders/fy/wt5j6crj68vgrfy13hpt1w8h0000gn/T/flutter_build_log_pipe.X1FQFB/pipe_to_stdout SDKROOT = iphonesimulator11.4 VERBOSE_SCRIPT_LOGGING = YES Build settings for action build and target Runner: ACTION = build AD_HOC_CODE_SIGNING_ALLOWED = YES ALTERNATE_GROUP = staff ALTERNATE_MODE = u+w,go-w,a+rX ALTERNATE_OWNER = deeptibelsare ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO ALWAYS_SEARCH_USER_PATHS = NO ALWAYS_USE_SEPARATE_HEADERMAPS = NO APPLE_INTERNAL_DEVELOPER_DIR = /AppleInternal/Developer APPLE_INTERNAL_DIR = /AppleInternal APPLE_INTERNAL_DOCUMENTATION_DIR = /AppleInternal/Documentation APPLE_INTERNAL_LIBRARY_DIR = /AppleInternal/Library APPLE_INTERNAL_TOOLS = /AppleInternal/Developer/Tools APPLICATION_EXTENSION_API_ONLY = NO APPLY_RULES_IN_COPY_FILES = NO ARCHS = x86_64 ARCHS_STANDARD = x86_64 ARCHS_STANDARD_32_64_BIT = i386 x86_64 ARCHS_STANDARD_32_BIT = i386 ARCHS_STANDARD_64_BIT = x86_64 ARCHS_STANDARD_INCLUDING_64_BIT = x86_64 ARCHS_UNIVERSAL_IPHONE_OS = i386 x86_64 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon AVAILABLE_PLATFORMS = appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator BITCODE_GENERATION_MODE = marker BUILD_ACTIVE_RESOURCES_ONLY = NO BUILD_COMPONENTS = headers build BUILD_DIR = /Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios BUILD_ROOT = /Users/deeptibelsare/Library/Developer/Xcode/DerivedData/Runner-arlomkrgwbekatdcfkvbkxhwjdwb/Build/Products BUILD_STYLE = BUILD_VARIANTS = normal BUILT_PRODUCTS_DIR = /Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios/Debug-iphonesimulator CACHE_ROOT = /var/folders/fy/wt5j6crj68vgrfy13hpt1w8h0000gn/C/com.apple.DeveloperTools/9.4.1-9F2000/Xcode CCHROOT = /var/folders/fy/wt5j6crj68vgrfy13hpt1w8h0000gn/C/com.apple.DeveloperTools/9.4.1-9F2000/Xcode CHMOD = /bin/chmod CHOWN = /usr/sbin/chown CLANG_ANALYZER_NONNULL = YES CLANG_CXX_LANGUAGE_STANDARD = gnu++0x CLANG_CXX_LIBRARY = libc++ CLANG_ENABLE_MODULES = YES CLANG_ENABLE_OBJC_ARC = YES CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES CLANG_WARN_BOOL_CONVERSION = YES CLANG_WARN_COMMA = YES CLANG_WARN_CONSTANT_CONVERSION = YES CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR CLANG_WARN_EMPTY_BODY = YES CLANG_WARN_ENUM_CONVERSION = YES CLANG_WARN_INFINITE_RECURSION = YES CLANG_WARN_INT_CONVERSION = YES CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES CLANG_WARN_OBJC_LITERAL_CONVERSION = YES CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR CLANG_WARN_RANGE_LOOP_ANALYSIS = YES CLANG_WARN_STRICT_PROTOTYPES = YES CLANG_WARN_SUSPICIOUS_MOVE = YES CLANG_WARN_UNREACHABLE_CODE = YES CLANG_WARN__DUPLICATE_METHOD_MATCH = YES CLASS_FILE_DIR = /Users/deeptibelsare/Library/Developer/Xcode/DerivedData/Runner-arlomkrgwbekatdcfkvbkxhwjdwb/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/JavaClasses CLEAN_PRECOMPS = YES CLONE_HEADERS = NO CODESIGNING_FOLDER_PATH = /Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios/Debug-iphonesimulator/Runner.app CODE_SIGNING_ALLOWED = YES CODE_SIGNING_REQUIRED = YES CODE_SIGN_CONTEXT_CLASS = XCiPhoneSimulatorCodeSignContext CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements CODE_SIGN_IDENTITY = - CODE_SIGN_INJECT_BASE_ENTITLEMENTS = YES COLOR_DIAGNOSTICS = NO COMBINE_HIDPI_IMAGES = NO COMPILER_INDEX_STORE_ENABLE = Default COMPOSITE_SDK_DIRS = /Users/deeptibelsare/Library/Developer/Xcode/DerivedData/Runner-arlomkrgwbekatdcfkvbkxhwjdwb/Build/Intermediates.noindex/CompositeSDKs COMPRESS_PNG_FILES = YES CONFIGURATION = Debug CONFIGURATION_BUILD_DIR = /Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios/Debug-iphonesimulator CONFIGURATION_TEMP_DIR = /Users/deeptibelsare/Library/Developer/Xcode/DerivedData/Runner-arlomkrgwbekatdcfkvbkxhwjdwb/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator CONTENTS_FOLDER_PATH = Runner.app COPYING_PRESERVES_HFS_DATA = NO COPY_HEADERS_RUN_UNIFDEF = NO COPY_PHASE_STRIP = NO COPY_RESOURCES_FROM_STATIC_FRAMEWORKS = YES CORRESPONDING_DEVICE_PLATFORM_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform CORRESPONDING_DEVICE_PLATFORM_NAME = iphoneos CORRESPONDING_DEVICE_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk CORRESPONDING_DEVICE_SDK_NAME = iphoneos11.4 CP = /bin/cp CREATE_INFOPLIST_SECTION_IN_BINARY = NO CURRENT_ARCH = x86_64 CURRENT_PROJECT_VERSION = 1 CURRENT_VARIANT = normal DEAD_CODE_STRIPPING = YES DEBUGGING_SYMBOLS = YES DEBUG_INFORMATION_FORMAT = dwarf DEFAULT_COMPILER = com.apple.compilers.llvm.clang.1_0 DEFAULT_KEXT_INSTALL_PATH = /System/Library/Extensions DEFINES_MODULE = NO DEPLOYMENT_LOCATION = NO DEPLOYMENT_POSTPROCESSING = NO DEPLOYMENT_TARGET_CLANG_ENV_NAME = IPHONEOS_DEPLOYMENT_TARGET DEPLOYMENT_TARGET_CLANG_FLAG_NAME = mios-simulator-version-min DEPLOYMENT_TARGET_CLANG_FLAG_PREFIX = -mios-simulator-version-min= DEPLOYMENT_TARGET_SETTING_NAME = IPHONEOS_DEPLOYMENT_TARGET DEPLOYMENT_TARGET_SUGGESTED_VALUES = 8.0 8.1 8.2 8.3 8.4 9.0 9.1 9.2 9.3 10.0 10.1 10.2 10.3 11.0 11.1 11.2 11.3 11.4 DERIVED_FILES_DIR = /Users/deeptibelsare/Library/Developer/Xcode/DerivedData/Runner-arlomkrgwbekatdcfkvbkxhwjdwb/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/DerivedSources DERIVED_FILE_DIR = /Users/deeptibelsare/Library/Developer/Xcode/DerivedData/Runner-arlomkrgwbekatdcfkvbkxhwjdwb/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/DerivedSources DERIVED_SOURCES_DIR = /Users/deeptibelsare/Library/Developer/Xcode/DerivedData/Runner-arlomkrgwbekatdcfkvbkxhwjdwb/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/DerivedSources DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode.app/Contents/Developer/Applications DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/usr/bin DEVELOPER_DIR = /Applications/Xcode.app/Contents/Developer DEVELOPER_FRAMEWORKS_DIR = /Applications/Xcode.app/Contents/Developer/Library/Frameworks DEVELOPER_FRAMEWORKS_DIR_QUOTED = /Applications/Xcode.app/Contents/Developer/Library/Frameworks DEVELOPER_LIBRARY_DIR = /Applications/Xcode.app/Contents/Developer/Library DEVELOPER_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Tools DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/usr DEVELOPMENT_LANGUAGE = English DEVELOPMENT_TEAM = CZ689HK6M5 DOCUMENTATION_FOLDER_PATH = Runner.app/English.lproj/Documentation DO_HEADER_SCANNING_IN_JAM = NO DSTROOT = /tmp/Runner.dst DT_TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain DWARF_DSYM_FILE_NAME = Runner.app.dSYM DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT = NO DWARF_DSYM_FOLDER_PATH = /Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios/Debug-iphonesimulator EFFECTIVE_PLATFORM_NAME = -iphonesimulator EMBEDDED_CONTENT_CONTAINS_SWIFT = NO EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE = NO ENABLE_BITCODE = NO ENABLE_DEFAULT_HEADER_SEARCH_PATHS = YES ENABLE_HEADER_DEPENDENCIES = YES ENABLE_ON_DEMAND_RESOURCES = YES ENABLE_STRICT_OBJC_MSGSEND = YES ENABLE_TESTABILITY = YES ENTITLEMENTS_REQUIRED = YES EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS = .DS_Store .svn .git .hg CVS EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES = *.nib *.lproj *.framework *.gch *.xcode* *.xcassets (*) .DS_Store CVS .svn .git .hg *.pbproj *.pbxproj EXECUTABLES_FOLDER_PATH = Runner.app/Executables EXECUTABLE_FOLDER_PATH = Runner.app EXECUTABLE_NAME = Runner EXECUTABLE_PATH = Runner.app/Runner EXPANDED_CODE_SIGN_IDENTITY = EXPANDED_CODE_SIGN_IDENTITY_NAME = EXPANDED_PROVISIONING_PROFILE = FILE_LIST = /Users/deeptibelsare/Library/Developer/Xcode/DerivedData/Runner-arlomkrgwbekatdcfkvbkxhwjdwb/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects/LinkFileList FIXED_FILES_DIR = /Users/deeptibelsare/Library/Developer/Xcode/DerivedData/Runner-arlomkrgwbekatdcfkvbkxhwjdwb/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/FixedFiles FLUTTER_APPLICATION_PATH = /Users/deeptibelsare/Documents/QuickCarl/qc_flutter FLUTTER_BUILD_DIR = build FLUTTER_BUILD_MODE = debug FLUTTER_FRAMEWORK_DIR = /Users/deeptibelsare/Documents/DarshanUdacity/Flutter/flutter/bin/cache/artifacts/engine/ios FLUTTER_ROOT = /Users/deeptibelsare/Documents/DarshanUdacity/Flutter/flutter FLUTTER_TARGET = /Users/deeptibelsare/Documents/QuickCarl/qc_flutter/lib/main.dart FRAMEWORKS_FOLDER_PATH = Runner.app/Frameworks FRAMEWORK_FLAG_PREFIX = -framework FRAMEWORK_SEARCH_PATHS = "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/FirebaseAnalytics/Frameworks" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/FirebaseInstanceID/Frameworks" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/.symlinks/flutter/ios" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/GoogleSignIn/Frameworks" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/TwilioVideo/Build/iOS" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/FirebaseAnalytics/Frameworks" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/FirebaseInstanceID/Frameworks" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/.symlinks/flutter/ios" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/GoogleSignIn/Frameworks" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/TwilioVideo/Build/iOS" /Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Flutter FRAMEWORK_VERSION = A FULL_PRODUCT_NAME = Runner.app GCC3_VERSION = 3.3 GCC_C_LANGUAGE_STANDARD = gnu99 GCC_DYNAMIC_NO_PIC = NO GCC_INLINES_ARE_PRIVATE_EXTERN = YES GCC_NO_COMMON_BLOCKS = YES GCC_OBJC_LEGACY_DISPATCH = YES GCC_OPTIMIZATION_LEVEL = 0 GCC_PFE_FILE_C_DIALECTS = c objective-c c++ objective-c++ GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 COCOAPODS=1 GTM_OAUTH2_USE_FRAMEWORK_IMPORTS=1 GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 PB_FIELD_32BIT=1 PB_NO_PACKED_STRUCTS=1 COCOAPODS=1 DEBUG=1 COCOAPODS=1 GTM_OAUTH2_USE_FRAMEWORK_IMPORTS=1 GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 PB_FIELD_32BIT=1 PB_NO_PACKED_STRUCTS=1 GTM_OAUTH2_USE_FRAMEWORK_IMPORTS=1 DEBUG=1 COCOAPODS=1 GTM_OAUTH2_USE_FRAMEWORK_IMPORTS=1 GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 PB_FIELD_32BIT=1 PB_NO_PACKED_STRUCTS=1 GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 DEBUG=1 COCOAPODS=1 GTM_OAUTH2_USE_FRAMEWORK_IMPORTS=1 GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 PB_FIELD_32BIT=1 PB_NO_PACKED_STRUCTS=1 PB_FIELD_32BIT=1 PB_NO_PACKED_STRUCTS=1 GCC_SYMBOLS_PRIVATE_EXTERN = NO GCC_TREAT_WARNINGS_AS_ERRORS = NO GCC_VERSION = com.apple.compilers.llvm.clang.1_0 GCC_VERSION_IDENTIFIER = com_apple_compilers_llvm_clang_1_0 GCC_WARN_64_TO_32_BIT_CONVERSION = YES GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR GCC_WARN_UNDECLARED_SELECTOR = YES GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE GCC_WARN_UNUSED_FUNCTION = YES GCC_WARN_UNUSED_VARIABLE = YES GENERATE_MASTER_OBJECT_FILE = NO GENERATE_PKGINFO_FILE = YES GENERATE_PROFILING_CODE = NO GENERATE_TEXT_BASED_STUBS = NO GID = 20 GROUP = staff HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT = YES HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES = YES HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS = YES HEADERMAP_INCLUDES_PROJECT_HEADERS = YES HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES = YES HEADERMAP_USES_VFS = NO HEADER_SEARCH_PATHS = /Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Firebase/CoreOnly/Sources "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/Firebase" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/FirebaseAnalytics" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/FirebaseAuth" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/FirebaseCore" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/FirebaseInstanceID" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/FirebaseMessaging" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/Flutter" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/GTMOAuth2" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/GTMSessionFetcher" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/GoogleSignIn" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/GoogleToolboxForMac" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/Protobuf" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/TwilioVideo" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/firebase_auth" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/firebase_messaging" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/fluttertoast" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/google_sign_in" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/nanopb" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/url_launcher" /Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Firebase/CoreOnly/Sources "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/Firebase" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/FirebaseAnalytics" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/FirebaseAuth" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/FirebaseCore" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/FirebaseInstanceID" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/FirebaseMessaging" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/Flutter" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/GTMOAuth2" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/GTMSessionFetcher" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/GoogleSignIn" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/GoogleToolboxForMac" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/Protobuf" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/TwilioVideo" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/firebase_auth" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/firebase_messaging" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/fluttertoast" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/google_sign_in" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/nanopb" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/url_launcher" HIDE_BITCODE_SYMBOLS = YES HOME = /Users/deeptibelsare ICONV = /usr/bin/iconv INFOPLIST_EXPAND_BUILD_SETTINGS = YES INFOPLIST_FILE = Runner/Info.plist INFOPLIST_OUTPUT_FORMAT = binary INFOPLIST_PATH = Runner.app/Info.plist INFOPLIST_PREPROCESS = NO INFOSTRINGS_PATH = Runner.app/English.lproj/InfoPlist.strings INLINE_PRIVATE_FRAMEWORKS = NO INSTALLHDRS_COPY_PHASE = NO INSTALLHDRS_SCRIPT_PHASE = NO INSTALL_DIR = /tmp/Runner.dst/Applications INSTALL_GROUP = staff INSTALL_MODE_FLAG = u+w,go-w,a+rX INSTALL_OWNER = deeptibelsare INSTALL_PATH = /Applications INSTALL_ROOT = /tmp/Runner.dst IPHONEOS_DEPLOYMENT_TARGET = 12.0 JAVAC_DEFAULT_FLAGS = -J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8 JAVA_APP_STUB = /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub JAVA_ARCHIVE_CLASSES = YES JAVA_ARCHIVE_TYPE = JAR JAVA_COMPILER = /usr/bin/javac JAVA_FOLDER_PATH = Runner.app/Java JAVA_FRAMEWORK_RESOURCES_DIRS = Resources JAVA_JAR_FLAGS = cv JAVA_SOURCE_SUBDIR = . JAVA_USE_DEPENDENCIES = YES JAVA_ZIP_FLAGS = -urg JIKES_DEFAULT_FLAGS = +E +OLDCSO KEEP_PRIVATE_EXTERNS = NO LD_DEPENDENCY_INFO_FILE = /Users/deeptibelsare/Library/Developer/Xcode/DerivedData/Runner-arlomkrgwbekatdcfkvbkxhwjdwb/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/Runner_dependency_info.dat LD_GENERATE_MAP_FILE = NO LD_MAP_FILE_PATH = /Users/deeptibelsare/Library/Developer/Xcode/DerivedData/Runner-arlomkrgwbekatdcfkvbkxhwjdwb/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Runner-LinkMap-normal-x86_64.txt LD_NO_PIE = NO LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER = YES LD_RUNPATH_SEARCH_PATHS = '@executable_path/Frameworks' '@loader_path/Frameworks' '@executable_path/Frameworks' '@loader_path/Frameworks' @executable_path/Frameworks LEGACY_DEVELOPER_DIR = /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer LEX = lex LIBRARY_FLAG_NOSPACE = YES LIBRARY_FLAG_PREFIX = -l LIBRARY_KEXT_INSTALL_PATH = /Library/Extensions LIBRARY_SEARCH_PATHS = "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios/Debug-iphonesimulator/FirebaseAuth" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios/Debug-iphonesimulator/FirebaseCore" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios/Debug-iphonesimulator/FirebaseMessaging" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios/Debug-iphonesimulator/GTMOAuth2" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios/Debug-iphonesimulator/GTMSessionFetcher" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios/Debug-iphonesimulator/GoogleToolboxForMac" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios/Debug-iphonesimulator/Protobuf" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios/Debug-iphonesimulator/firebase_auth" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios/Debug-iphonesimulator/firebase_messaging" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios/Debug-iphonesimulator/fluttertoast" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios/Debug-iphonesimulator/google_sign_in" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios/Debug-iphonesimulator/nanopb" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios/Debug-iphonesimulator/url_launcher" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios/Debug-iphonesimulator/FirebaseAuth" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios/Debug-iphonesimulator/FirebaseCore" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios/Debug-iphonesimulator/FirebaseMessaging" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios/Debug-iphonesimulator/GTMOAuth2" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios/Debug-iphonesimulator/GTMSessionFetcher" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios/Debug-iphonesimulator/GoogleToolboxForMac" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios/Debug-iphonesimulator/Protobuf" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios/Debug-iphonesimulator/firebase_auth" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios/Debug-iphonesimulator/firebase_messaging" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios/Debug-iphonesimulator/fluttertoast" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios/Debug-iphonesimulator/google_sign_in" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios/Debug-iphonesimulator/nanopb" "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios/Debug-iphonesimulator/url_launcher" /Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Flutter LINKER_DISPLAYS_MANGLED_NAMES = NO LINK_FILE_LIST_normal_x86_64 = LINK_WITH_STANDARD_LIBRARIES = YES LOCALIZABLE_CONTENT_DIR = LOCALIZED_RESOURCES_FOLDER_PATH = Runner.app/English.lproj LOCALIZED_STRING_MACRO_NAMES = NSLocalizedString CFLocalizedString LOCAL_ADMIN_APPS_DIR = /Applications/Utilities LOCAL_APPS_DIR = /Applications LOCAL_DEVELOPER_DIR = /Library/Developer LOCAL_LIBRARY_DIR = /Library LOCROOT = LOCSYMROOT = MACH_O_TYPE = mh_execute MAC_OS_X_PRODUCT_BUILD_VERSION = 17C88 MAC_OS_X_VERSION_ACTUAL = 101302 MAC_OS_X_VERSION_MAJOR = 101300 MAC_OS_X_VERSION_MINOR = 1302 METAL_LIBRARY_FILE_BASE = default METAL_LIBRARY_OUTPUT_DIR = /Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios/Debug-iphonesimulator/Runner.app MODULE_CACHE_DIR = /Users/deeptibelsare/Library/Developer/Xcode/DerivedData/ModuleCache.noindex MTL_ENABLE_DEBUG_INFO = YES NATIVE_ARCH = i386 NATIVE_ARCH_32_BIT = i386 NATIVE_ARCH_64_BIT = x86_64 NATIVE_ARCH_ACTUAL = x86_64 NO_COMMON = YES OBJC_ABI_VERSION = 2 OBJECT_FILE_DIR = /Users/deeptibelsare/Library/Developer/Xcode/DerivedData/Runner-arlomkrgwbekatdcfkvbkxhwjdwb/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects OBJECT_FILE_DIR_normal = /Users/deeptibelsare/Library/Developer/Xcode/DerivedData/Runner-arlomkrgwbekatdcfkvbkxhwjdwb/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal OBJROOT = /Users/deeptibelsare/Library/Developer/Xcode/DerivedData/Runner-arlomkrgwbekatdcfkvbkxhwjdwb/Build/Intermediates.noindex ONLY_ACTIVE_ARCH = YES OS = MACOS OSAC = /usr/bin/osacompile OTHER_CFLAGS = -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/Firebase" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/FirebaseAnalytics" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/FirebaseAuth" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/FirebaseCore" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/FirebaseInstanceID" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/FirebaseMessaging" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/Flutter" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/GTMOAuth2" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/GTMSessionFetcher" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/GoogleSignIn" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/GoogleToolboxForMac" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/Protobuf" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/TwilioVideo" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/firebase_auth" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/firebase_messaging" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/fluttertoast" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/google_sign_in" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/nanopb" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/url_launcher" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/Firebase" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/FirebaseAnalytics" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/FirebaseAuth" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/FirebaseCore" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/FirebaseInstanceID" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/FirebaseMessaging" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/Flutter" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/GTMOAuth2" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/GTMSessionFetcher" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/GoogleSignIn" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/GoogleToolboxForMac" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/Protobuf" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/TwilioVideo" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/firebase_auth" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/firebase_messaging" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/fluttertoast" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/google_sign_in" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/nanopb" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/url_launcher" OTHER_CPLUSPLUSFLAGS = -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/Firebase" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/FirebaseAnalytics" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/FirebaseAuth" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/FirebaseCore" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/FirebaseInstanceID" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/FirebaseMessaging" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/Flutter" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/GTMOAuth2" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/GTMSessionFetcher" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/GoogleSignIn" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/GoogleToolboxForMac" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/Protobuf" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/TwilioVideo" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/firebase_auth" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/firebase_messaging" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/fluttertoast" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/google_sign_in" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/nanopb" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/url_launcher" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/Firebase" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/FirebaseAnalytics" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/FirebaseAuth" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/FirebaseCore" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/FirebaseInstanceID" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/FirebaseMessaging" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/Flutter" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/GTMOAuth2" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/GTMSessionFetcher" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/GoogleSignIn" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/GoogleToolboxForMac" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/Protobuf" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/TwilioVideo" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/firebase_auth" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/firebase_messaging" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/fluttertoast" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/google_sign_in" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/nanopb" -isystem "/Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods/Headers/Public/url_launcher" OTHER_LDFLAGS = -ObjC -l"FirebaseAuth" -l"FirebaseCore" -l"FirebaseMessaging" -l"GTMOAuth2" -l"GTMSessionFetcher" -l"GoogleToolboxForMac" -l"Protobuf" -l"c++" -l"firebase_auth" -l"firebase_messaging" -l"fluttertoast" -l"google_sign_in" -l"nanopb" -l"sqlite3" -l"url_launcher" -l"z" -framework "CoreText" -framework "FirebaseAnalytics" -framework "FirebaseCoreDiagnostics" -framework "FirebaseInstanceID" -framework "FirebaseNanoPB" -framework "Flutter" -framework "Foundation" -framework "GoogleSignIn" -framework "SafariServices" -framework "Security" -framework "StoreKit" -framework "SystemConfiguration" -framework "TwilioVideo" -ObjC -l"FirebaseAuth" -l"FirebaseCore" -l"FirebaseMessaging" -l"GTMOAuth2" -l"GTMSessionFetcher" -l"GoogleToolboxForMac" -l"Protobuf" -l"c++" -l"firebase_auth" -l"firebase_messaging" -l"fluttertoast" -l"google_sign_in" -l"nanopb" -l"sqlite3" -l"url_launcher" -l"z" -framework "CoreText" -framework "FirebaseAnalytics" -framework "FirebaseCoreDiagnostics" -framework "FirebaseInstanceID" -framework "FirebaseNanoPB" -framework "Flutter" -framework "Foundation" -framework "GoogleSignIn" -framework "SafariServices" -framework "Security" -framework "StoreKit" -framework "SystemConfiguration" -framework "TwilioVideo" PACKAGE_TYPE = com.apple.package-type.wrapper.application PASCAL_STRINGS = YES PATH = /Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/Cellar/gradle/4.9/bin:/Users/deeptibelsare/Documents/DarshanUdacity/Flutter/flutter/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:~/.dotnet/tools:/Library/Frameworks/Mono.framework/Versions/Current/Commands# PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES = /usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Xcode.app/Contents/Developer/Headers /Applications/Xcode.app/Contents/Developer/SDKs /Applications/Xcode.app/Contents/Developer/Platforms PBDEVELOPMENTPLIST_PATH = Runner.app/pbdevelopment.plist PFE_FILE_C_DIALECTS = objective-c PKGINFO_FILE_PATH = /Users/deeptibelsare/Library/Developer/Xcode/DerivedData/Runner-arlomkrgwbekatdcfkvbkxhwjdwb/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/PkgInfo PKGINFO_PATH = Runner.app/PkgInfo PLATFORM_DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications PLATFORM_DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin PLATFORM_DEVELOPER_LIBRARY_DIR = /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library PLATFORM_DEVELOPER_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs PLATFORM_DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Tools PLATFORM_DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr PLATFORM_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform PLATFORM_DISPLAY_NAME = iOS Simulator PLATFORM_NAME = iphonesimulator PLATFORM_PREFERRED_ARCH = x86_64 PLIST_FILE_OUTPUT_FORMAT = binary PLUGINS_FOLDER_PATH = Runner.app/PlugIns PODS_BUILD_DIR = /Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios PODS_CONFIGURATION_BUILD_DIR = /Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios/Debug-iphonesimulator PODS_PODFILE_DIR_PATH = /Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/. PODS_ROOT = /Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Pods PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = YES PRECOMP_DESTINATION_DIR = /Users/deeptibelsare/Library/Developer/Xcode/DerivedData/Runner-arlomkrgwbekatdcfkvbkxhwjdwb/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/PrefixHeaders PRESERVE_DEAD_CODE_INITS_AND_TERMS = NO PRIVATE_HEADERS_FOLDER_PATH = Runner.app/PrivateHeaders PRODUCT_BUNDLE_IDENTIFIER = com.quickcarl.qcFlutter PRODUCT_MODULE_NAME = Runner PRODUCT_NAME = Runner PRODUCT_SETTINGS_PATH = /Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Runner/Info.plist PRODUCT_TYPE = com.apple.product-type.application PROFILING_CODE = NO PROJECT = Runner PROJECT_DERIVED_FILE_DIR = /Users/deeptibelsare/Library/Developer/Xcode/DerivedData/Runner-arlomkrgwbekatdcfkvbkxhwjdwb/Build/Intermediates.noindex/Runner.build/DerivedSources PROJECT_DIR = /Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios PROJECT_FILE_PATH = /Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios/Runner.xcodeproj PROJECT_NAME = Runner PROJECT_TEMP_DIR = /Users/deeptibelsare/Library/Developer/Xcode/DerivedData/Runner-arlomkrgwbekatdcfkvbkxhwjdwb/Build/Intermediates.noindex/Runner.build PROJECT_TEMP_ROOT = /Users/deeptibelsare/Library/Developer/Xcode/DerivedData/Runner-arlomkrgwbekatdcfkvbkxhwjdwb/Build/Intermediates.noindex PUBLIC_HEADERS_FOLDER_PATH = Runner.app/Headers RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS = YES REMOVE_CVS_FROM_RESOURCES = YES REMOVE_GIT_FROM_RESOURCES = YES REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES = YES REMOVE_HG_FROM_RESOURCES = YES REMOVE_SVN_FROM_RESOURCES = YES REZ_COLLECTOR_DIR = /Users/deeptibelsare/Library/Developer/Xcode/DerivedData/Runner-arlomkrgwbekatdcfkvbkxhwjdwb/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/ResourceManagerResources REZ_OBJECTS_DIR = /Users/deeptibelsare/Library/Developer/Xcode/DerivedData/Runner-arlomkrgwbekatdcfkvbkxhwjdwb/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/ResourceManagerResources/Objects SCAN_ALL_SOURCE_FILES_FOR_INCLUDES = NO SCRIPTS_FOLDER_PATH = Runner.app/Scripts SCRIPT_OUTPUT_STREAM_FILE = /var/folders/fy/wt5j6crj68vgrfy13hpt1w8h0000gn/T/flutter_build_log_pipe.X1FQFB/pipe_to_stdout SDKROOT = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk SDK_DIR_iphonesimulator11_4 = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk SDK_NAME = iphonesimulator11.4 SDK_NAMES = iphonesimulator11.4 SDK_PRODUCT_BUILD_VERSION = 15F79 SDK_VERSION = 11.4 SDK_VERSION_ACTUAL = 110400 SDK_VERSION_MAJOR = 110000 SDK_VERSION_MINOR = 400 SED = /usr/bin/sed SEPARATE_STRIP = NO SEPARATE_SYMBOL_EDIT = NO SET_DIR_MODE_OWNER_GROUP = YES SET_FILE_MODE_OWNER_GROUP = NO SHALLOW_BUNDLE = YES SHARED_DERIVED_FILE_DIR = /Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios/Debug-iphonesimulator/DerivedSources SHARED_FRAMEWORKS_FOLDER_PATH = Runner.app/SharedFrameworks SHARED_PRECOMPS_DIR = /Users/deeptibelsare/Library/Developer/Xcode/DerivedData/Runner-arlomkrgwbekatdcfkvbkxhwjdwb/Build/Intermediates.noindex/PrecompiledHeaders SHARED_SUPPORT_FOLDER_PATH = Runner.app/SharedSupport SKIP_INSTALL = NO SOURCE_ROOT = /Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios SRCROOT = /Users/deeptibelsare/Documents/QuickCarl/qc_flutter/ios STRINGS_FILE_OUTPUT_ENCODING = binary STRIP_BITCODE_FROM_COPIED_FILES = NO STRIP_INSTALLED_PRODUCT = YES STRIP_STYLE = all STRIP_SWIFT_SYMBOLS = YES SUPPORTED_DEVICE_FAMILIES = 1,2 SUPPORTED_PLATFORMS = iphonesimulator iphoneos SUPPORTS_TEXT_BASED_API = NO SWIFT_OBJC_BRIDGING_HEADER = Runner/Runner-Bridging-Header.h SWIFT_OPTIMIZATION_LEVEL = -Onone SWIFT_PLATFORM_TARGET_PREFIX = ios SWIFT_SWIFT3_OBJC_INFERENCE = On SWIFT_VERSION = 4.0 SYMROOT = /Users/deeptibelsare/Library/Developer/Xcode/DerivedData/Runner-arlomkrgwbekatdcfkvbkxhwjdwb/Build/Products SYSTEM_ADMIN_APPS_DIR = /Applications/Utilities SYSTEM_APPS_DIR = /Applications SYSTEM_CORE_SERVICES_DIR = /System/Library/CoreServices SYSTEM_DEMOS_DIR = /Applications/Extras SYSTEM_DEVELOPER_APPS_DIR = /Applications/Xcode.app/Contents/Developer/Applications SYSTEM_DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/usr/bin SYSTEM_DEVELOPER_DEMOS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built Examples SYSTEM_DEVELOPER_DIR = /Applications/Xcode.app/Contents/Developer SYSTEM_DEVELOPER_DOC_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Graphics Tools SYSTEM_DEVELOPER_JAVA_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Java Tools SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Performance Tools SYSTEM_DEVELOPER_RELEASENOTES_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes SYSTEM_DEVELOPER_TOOLS = /Applications/Xcode.app/Contents/Developer/Tools SYSTEM_DEVELOPER_TOOLS_DOC_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools SYSTEM_DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/usr SYSTEM_DEVELOPER_UTILITIES_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Utilities SYSTEM_DOCUMENTATION_DIR = /Library/Documentation SYSTEM_KEXT_INSTALL_PATH = /System/Library/Extensions SYSTEM_LIBRARY_DIR = /System/Library TAPI_VERIFY_MODE = ErrorsOnly TARGETED_DEVICE_FAMILY = 1,2 TARGETNAME = Runner TARGET_BUILD_DIR = /Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios/Debug-iphonesimulator TARGET_NAME = Runner TARGET_TEMP_DIR = /Users/deeptibelsare/Library/Developer/Xcode/DerivedData/Runner-arlomkrgwbekatdcfkvbkxhwjdwb/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build TEMP_DIR = /Users/deeptibelsare/Library/Developer/Xcode/DerivedData/Runner-arlomkrgwbekatdcfkvbkxhwjdwb/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build TEMP_FILES_DIR = /Users/deeptibelsare/Library/Developer/Xcode/DerivedData/Runner-arlomkrgwbekatdcfkvbkxhwjdwb/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build TEMP_FILE_DIR = /Users/deeptibelsare/Library/Developer/Xcode/DerivedData/Runner-arlomkrgwbekatdcfkvbkxhwjdwb/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build TEMP_ROOT = /Users/deeptibelsare/Library/Developer/Xcode/DerivedData/Runner-arlomkrgwbekatdcfkvbkxhwjdwb/Build/Intermediates.noindex TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain TREAT_MISSING_BASELINES_AS_TEST_FAILURES = NO UID = 501 UNLOCALIZED_RESOURCES_FOLDER_PATH = Runner.app UNSTRIPPED_PRODUCT = NO USER = deeptibelsare USER_APPS_DIR = /Users/deeptibelsare/Applications USER_LIBRARY_DIR = /Users/deeptibelsare/Library USE_DYNAMIC_NO_PIC = YES USE_HEADERMAP = YES USE_HEADER_SYMLINKS = NO VALIDATE_PRODUCT = NO VALID_ARCHS = i386 x86_64 VERBOSE_PBXCP = NO VERBOSE_SCRIPT_LOGGING = YES VERSIONING_SYSTEM = apple-generic VERSIONPLIST_PATH = Runner.app/version.plist VERSION_INFO_BUILDER = deeptibelsare VERSION_INFO_FILE = Runner_vers.c VERSION_INFO_STRING = "@(#)PROGRAM:Runner PROJECT:Runner-1" WRAPPER_EXTENSION = app WRAPPER_NAME = Runner.app WRAPPER_SUFFIX = .app WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES = NO XCODE_APP_SUPPORT_DIR = /Applications/Xcode.app/Contents/Developer/Library/Xcode XCODE_PRODUCT_BUILD_VERSION = 9F2000 XCODE_VERSION_ACTUAL = 0941 XCODE_VERSION_MAJOR = 0900 XCODE_VERSION_MINOR = 0940 XPCSERVICES_FOLDER_PATH = Runner.app/XPCServices YACC = yacc arch = x86_64 variant = normal [ +638 ms] executing: /usr/bin/xcrun simctl install 915C9438-D0FE-4DA9-81D2-01B92E2BA3AC /Users/deeptibelsare/Documents/QuickCarl/qc_flutter/build/ios/iphonesimulator/Runner.app [+1953 ms] executing: /usr/bin/xcrun simctl launch 915C9438-D0FE-4DA9-81D2-01B92E2BA3AC com.quickcarl.qcFlutter --enable-dart-profiling --enable-checked-mode --observatory-port=0 [ +224 ms] com.quickcarl.qcFlutter: 31037 [ ] Waiting for observatory port to be available... **flutter doctor** Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel beta, v0.9.4, on Mac OS X 10.13.2 17C88, locale en-US) [!] Android toolchain - develop for Android devices (Android SDK 28.0.3) ✗ Android license status unknown. [✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1) [✓] Android Studio (version 3.1) [✓] Connected devices (1 available) ! Doctor found issues in 1 category.
Instead of using our own machines and deleting stuff to reproduce states of missing dependencies to test things like #9580, create an official process to test on unified initial environments. Something lightweight like Docker is ideal. Then we can have different images for each development environment combinations. Definitely seems possible for Android SDK https://hub.docker.com/r/runmymind/docker-android- sdk/~/dockerfile/. There's even a flutter image https://hub.docker.com/r/brianegan/flutter/. Not sure how easy it is to get xcode running in docker though. Otherwise we can create images of OS X in virtualbox
0
I'm deploying a project of mine to Heroku (which appear to be copying the project from a directory in which it is built before starting it). This causes issues with Next.js `5.0.0`, which appear to output absolute paths. This can be confirmed by going through the sources. This was not an issue with `4.2.3`. * I have searched the issues of this repository and believe that this is not a duplicate. ## Expected Behavior As the default behaviour (and I'm not sure that it can be controlled) on at least Heroku seem to be to build in one directory and run the build in another, I would expect a build to not contain absolute paths. ## Current Behavior I can see, for instance in `dist/bundles/pages/_document.js`, that absolute paths are being generated. An example of an error (not in the test repository) is Error: Cannot find module '/tmp/build_<id>/eweilow-nextjs-deploy-test-<buildId>/node_modules/next/dist/pages/_document.js' at Function.Module._resolveFilename (module.js:555:15) at Function.Module._load (module.js:482:25) at Module.require (module.js:604:17) at require (internal/module.js:11:18) at Object.6 (/app/.next/dist/bundles/pages/_document.js:86:18) at __webpack_require__ (/app/.next/dist/bundles/pages/_document.js:23:31) at Object.5 (/app/.next/dist/bundles/pages/_document.js:78:18) at __webpack_require__ (/app/.next/dist/bundles/pages/_document.js:23:31) at /app/.next/dist/bundles/pages/_document.js:70:18 at Object.<anonymous> (/app/.next/dist/bundles/pages/_document.js:73:10) code: 'MODULE_NOT_FOUND' ## Steps to Reproduce (for bugs) 1. Deploying https://github.com/eweilow/nextjs-deploy-test to Heroku with their default configuration fails. ## Your Environment Tech | Version ---|--- next | 5.0.0 node | 9.x OS | Ubuntu 16.04 on Heroku browser | not relevant etc |
* I have searched the issues of this repository and believe that this is not a duplicate. ## Expected Behavior HTML/JSX examples with `<img>` elements should have meaningful alt attributes. ## Current Behavior Two examples in `readme.md` use `<img src="...">` with no alt attribute. Instead, `alt` attributes should be part of the examples, either with an empty string value if the image is purely decorative (doesn't appear to be the case here), or with a text label that works as an adequate substitute for the image's intended meaning. ## Steps to Reproduce (for bugs) 1. Visit https://github.com/zeit/next.js 2. Read through the readme ## Context Code examples that don't follow accessibility best practices train developers -- often with zero background or training in accessibility -- to treat accessibility as something superfluous and someone else's job.
0
i am new to doctrine... created yml file with name XYZ.Model.User.dcm.yml inside my condig directory and i run orm:generate-enities command to generate Entities in XYZ\Model\ directory but i got XYZ\Model\XYZ\Model\User.php instead of XYZ\Model\User.php
i am new to doctrine... created yml file with name XYZ.Model.User.dcm.yml inside my condig directory and i run orm:generate-enities command to generate Entities in XYZ\Model\ directory but i got XYZ\Model\XYZ\Model\User.php instead of XYZ\Model\User.php
1
## Description When trying to boot an electron application with electron command (directly or indirectly) electron does not boot the app, it simply exits without word, reason or logs, there are no exceptions thrown, there are no logs output, there is no indication of what is actually happening. This was initially discovered when our tests started timing out and the ChromeDriver logs also have no details of what is going on. * Operating system: Ubuntu 16.04 x64. * Electron version: v1.2.4 doctor@who ~/development/envygeeks/easy-electron-base (master +) → node_modules/.bin/electron app/entry.js --enable-logging --debug --verbose 1. Window does not load. 2. Contents: require("babel-register") require("./win") 3. Contents of win.js: import Config from "./config" import { default as electron, BrowserWindow } from "electron" import AppMenu from "./menu" import Dev from "./dev" // -- let mainWindow const app = electron.app const config = global.appConfig = new Config(app) new AppMenu(app, config).enable() /* * Create the main application window. */ function createWindow() { mainWindow = new BrowserWindow({ width: 1280, minWidth: 1024, minHeight: 768, height: 720 }) // So that electron-connect doesn't disrupt. if (config.nodeEnv == "development") mainWindow.minimize() mainWindow.loadURL(`file://${__dirname}/index.html`) mainWindow.on("closed", () => mainWindow = null) new Dev(config, BrowserWindow, mainWindow). possiblyEnable() } // -- app.on("ready", createWindow) app.on("activate", () => { if (mainWindow === null) { createWindow() } }) // -- app.on("window-all-closed", () => { if (process.platform !== "darwin") { config.saveUserConfig(() => { app.quit() }) } }) ## Important Notes: * This does not happen on v1.2.2 (installed system-wide) or v1.2.3 (what it was before an hour ago). * We have not tested this on macOS or Windows and have only tested on Fedora and Ubuntu.
* Electron version: 1.2.4 * Operating system: Linux xxx 4.2.0-38-generic #45~14.04.1-Ubuntu SMP Thu Jun 9 09:27:51 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux I was trying to set 1.2.2 - 1.2.3 versions and works fine. When updating to 1.2.4 app.on('ready'...) never works. No errors output on console. Trying "Quick start" from electron. https://github.com/electron/electron- quick-start
1
When you use `<a router-link="foo">Link</a>` with an accompanying `<router- outlet></router-outlet>`, the proper component's template appears in the outlet. The issue is when the user refreshes (on the proper URL extension, i.e., `localhost:8080/foo`), no templates are loaded (including the original app's template), leaving the page blank. As far as I can tell, what's happening is that as that URL only is marked to use the template of `foo`, so there is no outlet for it to show up in. There is the chance I am doing this wrong, but everything else is working properly.
It appears that only the HashLocationStrategy updates the url on calls to router.navigate. When I change my LocationStrategy to the HTML5LocationStrategy the urls no longer update when navigating from _"/products/:productId" - > "/"_. The navigation does occur, though. This is happening on Alpha.31. The code I'm using is below. # Component Controller code updateProduct(product: {productId:string, name:string, description:string}) { this.productStore.updateProduct(product); this.router.navigate('/'); } # Routes @RouteConfig([ {path: '/', component: ProductsList, as: 'Products'}, {path: '/products/:productId', component: UpdateProducts, as: 'UpdateProducts'} ]) # Bootstrap import { httpInjectables } from 'angular2/http'; import { bootstrap, bind } from 'angular2/angular2'; import { routerInjectables, LocationStrategy, HashLocationStrategy, HTML5LocationStrategy } from 'angular2/router'; import { Onboarding } from './components/onboarding/onboarding'; bootstrap(Onboarding, [ httpInjectables,routerInjectables, bind(LocationStrategy).toClass(HTML5LocationStrategy ) ]);
1
[Enter steps to reproduce below:] 1. ... 2. ... **Atom Version** : 0.199.0 **System** : Microsoft Windows 7 Enterprise **Thrown From** : Atom Core ### Stack Trace Uncaught Error: Cannot find module './context-menu' Error: Cannot find module './context-menu' at Function.Module._resolveFilename (module.js:328:15) at Function.Module._load (module.js:270:25) at Module.require (module.js:357:17) at require (module.js:376:17) at BrowserWindow. (C:\Users\s117532\AppData\Local\atom\app-0.199.0\resources\app.asar\src\browser\atom- window.js:152:27) at emitOne (events.js:77:13) at BrowserWindow.emit (events.js:166:7) at callFunction (C:\Users\s117532\AppData\Local\atom\app-0.199.0\resources\atom.asar\browser\lib\rpc- server.js:116:18) at EventEmitter. (C:\Users\s117532\AppData\Local\atom\app-0.199.0\resources\atom.asar\browser\lib\rpc- server.js:208:14) at emitMany (events.js:108:13) At C:\Users\s117532\AppData\Local\atom\app-0.199.0\resources\atom.asar\renderer\api\lib\remote.js:77 Error: Cannot find module './context-menu' Error: Cannot find module './context-menu' at Function.Module._resolveFilename (module.js:328:15) at Function.Module._load (module.js:270:25) at Module.require (module.js:357:17) at require (module.js:376:17) at BrowserWindow.<anonymous> (C:\Users\s117532\AppData\Local\atom\app-0.199.0\resources\app.asar\src\browser\atom-window.js:152:27) at emitOne (events.js:77:13) at BrowserWindow.emit (events.js:166:7) at callFunction (C:\Users\s117532\AppData\Local\atom\app-0.199.0\resources\atom.asar\browser\lib\rpc-server.js:116:18) at EventEmitter.<anonymous> (C:\Users\s117532\AppData\Local\atom\app-0.199.0\resources\atom.asar\browser\lib\rpc-server.js:208:14) at emitMany (events.js:108:13) at metaToValue (C:\Users\s117532\AppData\Local\atom\app-0.199.0\resources\atom.asar\renderer\api\lib\remote.js:77:15) at BrowserWindow.RemoteMemberFunction [as emit] (C:\Users\s117532\AppData\Local\atom\app-0.199.0\resources\atom.asar\renderer\api\lib\remote.js:111:26) at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\s117532\AppData\Local\atom\app-0.199.0\resources\app.asar\src\context-menu-manager.js:170:31) at HTMLDocument.<anonymous> (C:\Users\s117532\AppData\Local\atom\app-0.199.0\resources\app.asar\src\window-event-handler.js:149:33) at HTMLDocument.handler (C:\Users\s117532\AppData\Local\atom\app-0.199.0\resources\app.asar\src\space-pen-extensions.js:112:34) at HTMLDocument.jQuery.event.dispatch (C:\Users\s117532\AppData\Local\atom\app-0.199.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4681:9) at HTMLDocument.elemData.handle (C:\Users\s117532\AppData\Local\atom\app-0.199.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4359:46) ### Commands 6x -0:55.4.0 editor:newline (atom-text-editor.editor.is-focused) -0:44.5.0 core:select-all (atom-text-editor.editor.is-focused) -0:44.3.0 core:paste (atom-text-editor.editor.is-focused) -0:20.1.0 core:save (atom-text-editor.editor.is-focused) ### Config { "core": { "themes": [ "one-dark-ui", "atom-dark-syntax" ] } } ### Installed Packages # User language-opencl, v0.1.1 # Dev No dev packages
I right-clicked on a folder in the tree view **Atom Version** : 0.194.0 **System** : Windows 7 Entreprise **Thrown From** : Atom Core ### Stack Trace Uncaught Error: Cannot find module './context-menu' Error: Cannot find module './context-menu' at Function.Module._resolveFilename (module.js:328:15) at Function.Module._load (module.js:270:25) at Module.require (module.js:357:17) at require (module.js:376:17) at BrowserWindow. (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\browser\atom- window.js:152:27) at emitOne (events.js:77:13) at BrowserWindow.emit (events.js:166:7) at callFunction (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc- server.js:116:18) at EventEmitter. (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc- server.js:208:14) at emitMany (events.js:108:13) At C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:77 Error: Cannot find module './context-menu' Error: Cannot find module './context-menu' at Function.Module._resolveFilename (module.js:328:15) at Function.Module._load (module.js:270:25) at Module.require (module.js:357:17) at require (module.js:376:17) at BrowserWindow.<anonymous> (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\browser\atom-window.js:152:27) at emitOne (events.js:77:13) at BrowserWindow.emit (events.js:166:7) at callFunction (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:116:18) at EventEmitter.<anonymous> (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:208:14) at emitMany (events.js:108:13) at metaToValue (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:77:15) at BrowserWindow.RemoteMemberFunction [as emit] (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:111:26) at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\context-menu-manager.js:170:31) at HTMLDocument.<anonymous> (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\window-event-handler.js:149:33) at HTMLDocument.handler (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\space-pen-extensions.js:112:34) at HTMLDocument.jQuery.event.dispatch (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4681:9) at HTMLDocument.elemData.handle (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4359:46) ### Commands -4:55.5.0 editor:checkout-head-revision (atom-text-editor.editor.is-focused) 2x -3:41.6.0 window:focus-pane-on-right (atom-text-editor.editor) -3:17.5.0 application:add-project-folder (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel) -2:47.4.0 editor:newline (atom-text-editor.editor.is-focused) -2:38.2.0 core:cut (atom-text-editor.editor) -2:36.5.0 core:paste (atom-text-editor.editor.is-focused) -2:26.6.0 core:save (atom-text-editor.editor.is-focused) -2:20.6.0 core:move-down (atom-text-editor.editor) -2:20.4.0 autocomplete-plus:confirm (atom-text-editor.editor) -2:15.8.0 core:save (atom-text-editor.editor) -2:08.7.0 core:copy (atom-text-editor.editor.is-focused) -2:01.2.0 core:paste (atom-text-editor.editor.is-focused) -1:59.7.0 core:save (atom-text-editor.editor.is-focused) -1:52.2.0 core:paste (atom-text-editor.editor.is-focused) -1:51.6.0 core:save (atom-text-editor.editor.is-focused) -1:30.6.0 core:backspace (atom-text-editor.editor) ### Config { "core": { "ignoredNames": [ "node_modules" ], "themes": [ "atom-dark-ui", "seti-syntax" ], "disabledPackages": [ "Tern" ], "projectHome": "Y:\\app-tfoumax" }, "editor": { "invisibles": {}, "softWrap": true, "showIndentGuide": true } } ### Installed Packages # User autocomplete-plus, v2.12.0 autocomplete-snippets, v1.2.0 javascript-snippets, v1.0.0 jshint, v1.3.5 language-ejs, v0.1.0 linter, v0.12.1 pretty-json, v0.3.3 save-session, v0.14.0 Search, v0.4.0 seti-syntax, v0.4.0 # Dev No dev packages
1
I think it's a bug related with the feature #19612 I have a route group for an admin section, and I want to prefix the URL and name of each route inside the `App\Controller\Admin` namespace. If I go only for the route prefix it works without any problem # config/routes.yaml admin: prefix: /admin resource: ../src/Controller/Admin type: annotation The router debug gives me the following output: -------------------------- ---------- -------- ------ ----------------------------------- Name Method Scheme Host Path -------------------------- ---------- -------- ------ ----------------------------------- _twig_error_test ANY ANY ANY /_error/{code}.{_format} _wdt ANY ANY ANY /_wdt/{token} _profiler_home ANY ANY ANY /_profiler/ _profiler_search ANY ANY ANY /_profiler/search _profiler_search_bar ANY ANY ANY /_profiler/search_bar _profiler_phpinfo ANY ANY ANY /_profiler/phpinfo _profiler_search_results ANY ANY ANY /_profiler/{token}/search/results _profiler_open_file ANY ANY ANY /_profiler/open _profiler ANY ANY ANY /_profiler/{token} _profiler_router ANY ANY ANY /_profiler/{token}/router _profiler_exception ANY ANY ANY /_profiler/{token}/exception _profiler_exception_css ANY ANY ANY /_profiler/{token}/exception.css index ANY ANY ANY /admin/ login ANY ANY ANY /admin/login user_index GET ANY ANY /admin/user user_new GET|POST ANY ANY /admin/user/new user_show GET ANY ANY /admin/user/{id} user_edit GET|POST ANY ANY /admin/user/{id}/edit user_delete DELETE ANY ANY /admin/user/{id} admin_logout ANY ANY ANY /admin/logout -------------------------- ---------- -------- ------ ----------------------------------- The problem comes when I add the `name_prefix` route: # config/routes.yaml admin: name_prefix: admin_ prefix: /admin resource: ../src/Controller/Admin type: annotation The router debug gives the following output, and I can verify that the URLs are duplicated: -------------------------- ---------- -------- ------ ----------------------------------- Name Method Scheme Host Path -------------------------- ---------- -------- ------ ----------------------------------- index ANY ANY ANY / login ANY ANY ANY /login user_index GET ANY ANY /user user_new GET|POST ANY ANY /user/new user_show GET ANY ANY /user/{id} user_edit GET|POST ANY ANY /user/{id}/edit user_delete DELETE ANY ANY /user/{id} _twig_error_test ANY ANY ANY /_error/{code}.{_format} _wdt ANY ANY ANY /_wdt/{token} _profiler_home ANY ANY ANY /_profiler/ _profiler_search ANY ANY ANY /_profiler/search _profiler_search_bar ANY ANY ANY /_profiler/search_bar _profiler_phpinfo ANY ANY ANY /_profiler/phpinfo _profiler_search_results ANY ANY ANY /_profiler/{token}/search/results _profiler_open_file ANY ANY ANY /_profiler/open _profiler ANY ANY ANY /_profiler/{token} _profiler_router ANY ANY ANY /_profiler/{token}/router _profiler_exception ANY ANY ANY /_profiler/{token}/exception _profiler_exception_css ANY ANY ANY /_profiler/{token}/exception.css admin_index ANY ANY ANY /admin/ admin_login ANY ANY ANY /admin/login admin_user_index GET ANY ANY /admin/user admin_user_new GET|POST ANY ANY /admin/user/new admin_user_show GET ANY ANY /admin/user/{id} admin_user_edit GET|POST ANY ANY /admin/user/{id}/edit admin_user_delete DELETE ANY ANY /admin/user/{id} admin_logout ANY ANY ANY /admin/logout -------------------------- ---------- -------- ------ ----------------------------------- _Originally posted by@devnix in #19612 (comment)_
This issue is about discussion my DX initiative for optimization and generalization of symfony 2 functional testing mechanisms. I use this approach for about 2 years and i can provide corresponding PR if it receives positive feedback. # Problem For now all the bundles that contain functional tests need to describe test application kernel class to boot and run test application. These surrogate kernel classes look very similar to each other. You can find them not only inside base symfony's bundles: FrameworkBundle, SecurityBundle, TwigBundle, but inside other bundles: FOSRestBundle, FOSOAuthServerBundle. I can give you other examples if you want. Moreover developers often additionally have to deal with autoloading (See for example here). In my opinion such duplicating should be avoided. Instead it would be nice to have ability to _describe_ what kind of test kernel we need in order to receive required kernel object from framework. Another drawback can be appeared if KERNEL_DIR env variable is used to point directory that contains 2 or more files suffixed with "Kernel" word. Imagine that my AppKernel extends some IntermediateKernel (which extends base Symfony\Component\HttpKernel\Kernel\Kernel) located in the same folder. Due to WebTestCase uses Finder to locate kernel file by '*Kernel.php' glob in such cases we actually can not know in advance what kernel exactly would be choosen (it can depend on OS and filesystem type). # Proposal Since every single bundle depends on framework-bundle we can place inside functionality to generate test kernels using user specified options. I propose to implement base implementation for test kernel class that implements all things that surrogate test kernels like listed above usually do (simplified): /** * Kernel for functional / integration tests */ class BaseTestKernel extends Kernel implements TestKernelInterface { protected $testCase; protected $rootConfig; protected $configDir; protected $rootDir; /** * Sets test kernel configuration */ public function setTestKernelConfiguration($testCase, $configDir, $rootConfig, $rootDir) { // initializing test configs } /** * Registers bundles for the test kernel */ public function registerBundles() { $bundles = array(); $baseBundles = $this->getBaseBundles(); if (file_exists($filename = $this->configDir . '/' . $this->testCase . '/bundles.php')) { $bundles = include $filename; } return array_merge($baseBundles, $bundles); } /** * {@inheritdoc} */ public function getCacheDir() { return $this->getTempAppDir().'/cache/'.$this->environment; } /** * {@inheritdoc} */ public function getLogDir() { return $this->getTempAppDir().'/logs'; } /** * {@inheritdoc} */ public function getTempAppDir() { return sys_get_temp_dir().'/'.$this->testCase; } /** * {@inheritdoc} */ public function registerContainerConfiguration(LoaderInterface $loader) { $loader->load($this->rootConfig); } /** * {@inheritDoc} */ public function serialize() { // serializing test kernel } /** * {@inheritdoc} */ public function unserialize($str) { // unserializing test kernel } /** * Returns base bundle list * * @return array */ protected function getBaseBundles() { return array(new \Symfony\Bundle\FrameworkBundle\FrameworkBundle()); } /** * {@inheritDoc} */ protected function getKernelParameters() { $parameters = parent::getKernelParameters(); $parameters['kernel.test_case'] = $this->testCase; return $parameters; } } This kernel class should be instantiated inside KernelTestCase::createKernel method upon the options ($testCase, $configDir, $rootConfig, $rootDir, $env, $debug) passed to the createClient method. Framework bundle also can provide some default test application configuration that can be extended in the custom bundles and specified using $rootConfig option. So this approach can significantly reduce duplication of the code that generates test kernels across the bundles and simultaneously provide the flexibility in configuring test kernel. We also can have more then one simply configured instances of test kernel inside bundle test suite to run tests in different configurations (different bundle config, different routing etc). Also i think we should provide ability to extend TestCase class to replace used base test kernel class with another one (apparently implementing base TestKernelInterface). Moreover it can be reasonable to allow setting environment variable (or php constant using phpunit.xml) KERNEL_CLASS that can hold FQCN of _any_ kernel class (not only test kernel that implements TestKernelInterface) that can be used by KernelTestCase as a replacement of base test kernel class (BaseTestKernel in default case) to construct real kernel with main params - $environment and $debug. In this case we can simply run bundle's functional test cases in any application environment by replacing our pre-configured test kernels with real application kernel transforming our functional tests to integration ones.
0
# \---------------------------------------------------- # This works # \---------------------------------------------------- import scipy.io as sio a_dict = {'field1': 0.5, 'field2': 'a string'} sio.savemat('saved_struct.mat', {'a_dict': a_dict}) # \---------------------------------------------------- from pydal import DAL, Field db = DAL('sqlite://storage.db') db.define_table('thing',Field('name')) db.thing.insert(name='Chair') db.commit() a = db().db.thing.as_dict(); # a is a dict, you can print out # Now if you do sio.savemat('saved_struct.mat', {'a': a}) # gives you a type error because Could not convert None (type <type 'NoneType'>) to array
The MATLAB equivalent of None is the empty array []. It looks like scipy does not perform this conversion. But if I try to save a dict with a None inside it, I get this: (scipy 0.13.0 in Anaconda Python on Windows 7 64-bit) >>> import scipy.io >>> scipy.io.savemat('test.mat',{'x':3}) >>> scipy.io.savemat('test.mat',{'x':None}) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "c:\app\python\anaconda\1.6.0\envs\daqlogger\lib\site-packages\scipy\io\m atlab\mio.py", line 204, in savemat MW.put_variables(mdict) File "c:\app\python\anaconda\1.6.0\envs\daqlogger\lib\site-packages\scipy\io\m atlab\mio5.py", line 872, in put_variables self._matrix_writer.write_top(var, asbytes(name), is_global) File "c:\app\python\anaconda\1.6.0\envs\daqlogger\lib\site-packages\scipy\io\m atlab\mio5.py", line 622, in write_top self.write(arr) File "c:\app\python\anaconda\1.6.0\envs\daqlogger\lib\site-packages\scipy\io\m atlab\mio5.py", line 643, in write % (arr, type(arr))) TypeError: Could not convert None (type <type 'NoneType'>) to array
1
* [ √] I have searched the issues of this repository and believe that this is not a duplicate. * [ √] I have checked the FAQ of this repository and believe that this is not a duplicate. ### Environment * Dubbo version: 2.7.1 * Operating System version: Mac OS * Java version: 1.8 ### Steps to reproduce this issue 1. 使用nacos作为注册中心,集群部署 2. 想同时注册到同一nacos下 不同namespace 3. 参考了官方文档只提供了配置如下 nacos://xxxx:8848?namespace=xxxx 或者 nacos://xxxx:8848?backup=xxxx:8850 即单个namespace或不带namespace时使用backup是生效的 Pls. provide [GitHub address] to reproduce this issue. ### Expected Result 配置如下 则无法成功注册 xxxx?namespace=111?backup=xxx?namespace=222 What do you expected from the above steps? ### Actual Result 不合法的参数 What actually happens? 在参考#4207升级为2.7.6后也是如此。 If there is an exception, please attach the exception trace: Just put your stack trace here!
是否进行心跳信息的发送,是靠下面两个属性来判断的。 Long lastRead = (Long) channel.getAttribute(HeaderExchangeHandler.KEY_READ_TIMESTAMP); Long lastWrite = (Long) channel.getAttribute(HeaderExchangeHandler.KEY_WRITE_TIMESTAMP); KEY_READ_TIMESTAMP与KEY_WRITE_TIMESTAMP的设置在HeartBeatHandler和HeaderExchangeHandler中都做了一遍。 在HeartBeatHandler中:(代码较多,就不贴了) * 连接完成时:设置lastRead和lastWrite * 连接断开时:清空lastRead和lastWrite * 发送消息时:设置lastWrite * 接收消息时:设置lastRead 在HeaderExchangeHandler中:(代码较多,就不贴了) * 连接完成时:设置lastRead和lastWrite * 连接断开时:也设置而非清空lastRead和lastWrite * 发送消息时:设置lastWrite * 接收消息时:设置lastRead 而我们构建的nettyHandler的调用链是这样的: MultiMessageHandler-> **HeartbeatHandler** ->AllChannelHandler->DecodeHandler-> **HeaderExchangeHandler** ->ExchangeHandlerAdapter(DubboProtocol.requestHandler) 也就是说每次请求和响应都会走这个链路,那么HeartbeatHandler设置了KEY_READ_TIMESTAMP与KEY_WRITE_TIMESTAMP后,HeaderExchangeHandler为什么还要设置一遍?而且在HeaderExchangeHandler中断开连接的时候为什么是设置而非清空lastRead和lastWrite?
0
We coding almost on US.en keyboard, if need switch input method and switch command name to Chinese in brain then input, it's not good idea. ![qq20160415-0](https://cloud.githubusercontent.com/assets/1423545/14549803/dc8c4c4c-02f5-11e6-9422-2662ef4edc18.png)
* VSCode Version: バージョン 0.10.12-insider コミット `ef2a1fc` 日付 2016-03-21T11:33:38.240Z シェル 0.35.6 レンダラー 45.0.2454.85 ノード 4.1.1 Even Japanese people, typing Japanese words are very painful and time- consuming because of IME composition problems. We expects that the commands are all in English. For example, if I want to execute git pull, I will type "git pull"; not "git プル". Hope you can understand our situation. ![image](https://cloud.githubusercontent.com/assets/1311400/14054201/b8673f88-f31a-11e5-9b62-070c47d86350.png)
1
transformer:https://www.tensorflow.org/alpha/tutorials/text/transformer#top_of_page Has anyone run this experiment, and the results of my run have not reached the official results. I posted my code and helped me find the reason. import tensorflow_datasets as tfds import tensorflow as tf import time import numpy as np import matplotlib.pyplot as plt from tqdm.auto import tqdm import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3' print(tf.__version__) if tf.test.is_gpu_available(): device = "/gpu:0" else: device = "/cpu:0" print("(1):Reading dataset and token......") examples, metadata = tfds.load('ted_hrlr_translate/pt_to_en', with_info=True,as_supervised=True) train_examples, val_examples = examples['train'], examples['validation'] tokenizer_en = tfds.features.text.SubwordTextEncoder.build_from_corpus( (en.numpy() for pt, en in train_examples), target_vocab_size=2 ** 13) tokenizer_pt = tfds.features.text.SubwordTextEncoder.build_from_corpus( (pt.numpy() for pt, en in train_examples), target_vocab_size=2 ** 13) BUFFER_SIZE = 20000 BATCH_SIZE = 64 """Add a start and end token to the input and target.""" def encode(lang1, lang2): lang1 = [tokenizer_pt.vocab_size] + tokenizer_pt.encode( lang1.numpy()) + [tokenizer_pt.vocab_size + 1] lang2 = [tokenizer_en.vocab_size] + tokenizer_en.encode( lang2.numpy()) + [tokenizer_en.vocab_size + 1] return lang1, lang2 """Note: To keep this example small and relatively fast, drop examples with a length of over 40 tokens.""" MAX_LENGTH = 40 def filter_max_length(x, y, max_length=MAX_LENGTH): return tf.logical_and(tf.size(x) <= max_length, tf.size(y) <= max_length) """Operations inside `.map()` run in graph mode and receive a graph tensor that do not have a numpy attribute. The `tokenizer` expects a string or Unicode symbol to encode it into integers. Hence, you need to run the encoding inside a `tf.py_function`, which receives an eager tensor having a numpy attribute that contains the string value.""" def tf_encode(pt, en): return tf.py_function(encode, [pt, en], [tf.int64, tf.int64]) print("(2):Encode and padded batch......") train_dataset = train_examples.map(tf_encode) train_dataset = train_dataset.filter(filter_max_length) # cache the dataset to memory to get a speedup while reading from it. train_dataset = train_dataset.cache() train_dataset = train_dataset.shuffle(BUFFER_SIZE).padded_batch( BATCH_SIZE, padded_shapes=([-1], [-1])) train_dataset = train_dataset.prefetch(tf.data.experimental.AUTOTUNE) val_dataset = val_examples.map(tf_encode) val_dataset = val_dataset.filter(filter_max_length).padded_batch( BATCH_SIZE, padded_shapes=([-1], [-1])) def get_angles(pos, i, d_model): angle_rates = 1 / np.power(10000, (2 * (i // 2)) / np.float32(d_model)) return pos * angle_rates def positional_encoding(position, d_model): angle_rads = get_angles(np.arange(position)[:, np.newaxis], np.arange(d_model)[np.newaxis, :], d_model) # apply sin to even indices in the array; 2i sines = np.sin(angle_rads[:, 0::2]) # apply cos to odd indices in the array; 2i+1 cosines = np.cos(angle_rads[:, 1::2]) pos_encoding = np.concatenate([sines, cosines], axis=-1) pos_encoding = pos_encoding[np.newaxis, ...] return tf.cast(pos_encoding, dtype=tf.float32) def create_padding_mask(seq): seq = tf.cast(tf.math.equal(seq, 0), tf.float32) # add extra dimensions so that we can add the padding # to the attention logits. return seq[:, tf.newaxis, tf.newaxis, :] # (batch_size, 1, 1, seq_len) def create_look_ahead_mask(size): mask = 1 - tf.linalg.band_part(tf.ones((size, size)), -1, 0) return mask # (seq_len, seq_len) def scaled_dot_product_attention(q, k, v, mask): """Calculate the attention weights. q, k, v must have matching leading dimensions. The mask has different shapes depending on its type(padding or look ahead) but it must be broadcastable for addition. Args: q: query shape == (..., seq_len_q, depth) k: key shape == (..., seq_len_k, depth) v: value shape == (..., seq_len_v, depth) mask: Float tensor with shape broadcastable to (..., seq_len_q, seq_len_k). Defaults to None. Returns: output, attention_weights """ matmul_qk = tf.matmul(q, k, transpose_b=True) # (..., seq_len_q, seq_len_k) # scale matmul_qk dk = tf.cast(tf.shape(k)[-1], tf.float32) scaled_attention_logits = matmul_qk / tf.math.sqrt(dk) # add the mask to the scaled tensor. if mask is not None: scaled_attention_logits += (mask * -1e9) # softmax is normalized on the last axis (seq_len_k) so that the scores # add up to 1. attention_weights = tf.nn.softmax(scaled_attention_logits, axis=-1) # (..., seq_len_q, seq_len_k) output = tf.matmul(attention_weights, v) # (..., seq_len_v, depth) return output, attention_weights class MultiHeadAttention(tf.keras.layers.Layer): def __init__(self, d_model, num_heads): super(MultiHeadAttention, self).__init__() self.num_heads = num_heads self.d_model = d_model assert d_model % self.num_heads == 0 self.depth = d_model // self.num_heads self.wq = tf.keras.layers.Dense(d_model) self.wk = tf.keras.layers.Dense(d_model) self.wv = tf.keras.layers.Dense(d_model) self.dense = tf.keras.layers.Dense(d_model) def split_heads(self, x, batch_size): """Split the last dimension into (num_heads, depth). Transpose the result such that the shape is (batch_size, num_heads, seq_len, depth) """ x = tf.reshape(x, (batch_size, -1, self.num_heads, self.depth)) return tf.transpose(x, perm=[0, 2, 1, 3]) def call(self, v, k, q, mask): batch_size = tf.shape(q)[0] q = self.wq(q) # (batch_size, seq_len, d_model) k = self.wk(k) # (batch_size, seq_len, d_model) v = self.wv(v) # (batch_size, seq_len, d_model) q = self.split_heads(q, batch_size) # (batch_size, num_heads, seq_len_q, depth) k = self.split_heads(k, batch_size) # (batch_size, num_heads, seq_len_k, depth) v = self.split_heads(v, batch_size) # (batch_size, num_heads, seq_len_v, depth) # scaled_attention.shape == (batch_size, num_heads, seq_len_v, depth) # attention_weights.shape == (batch_size, num_heads, seq_len_q, seq_len_k) scaled_attention, attention_weights = scaled_dot_product_attention( q, k, v, mask) scaled_attention = tf.transpose(scaled_attention, perm=[0, 2, 1, 3]) # (batch_size, seq_len_v, num_heads, depth) concat_attention = tf.reshape(scaled_attention, (batch_size, -1, self.d_model)) # (batch_size, seq_len_v, d_model) output = self.dense(concat_attention) # (batch_size, seq_len_v, d_model) return output, attention_weights def point_wise_feed_forward_network(d_model, dff): return tf.keras.Sequential([ tf.keras.layers.Dense(dff, activation='relu'), # (batch_size, seq_len, dff) tf.keras.layers.Dense(d_model) # (batch_size, seq_len, d_model) ]) class EncoderLayer(tf.keras.layers.Layer): def __init__(self, d_model, num_heads, dff, rate=0.1): super(EncoderLayer, self).__init__() self.mha = MultiHeadAttention(d_model, num_heads) self.ffn = point_wise_feed_forward_network(d_model, dff) self.layernorm1 = tf.keras.layers.LayerNormalization(epsilon=1e-6) self.layernorm2 = tf.keras.layers.LayerNormalization(epsilon=1e-6) self.dropout1 = tf.keras.layers.Dropout(rate) self.dropout2 = tf.keras.layers.Dropout(rate) def call(self, x, training, mask): attn_output, _ = self.mha(x, x, x, mask) # (batch_size, input_seq_len, d_model) attn_output = self.dropout1(attn_output, training=training) out1 = self.layernorm1(x + attn_output) # (batch_size, input_seq_len, d_model) ffn_output = self.ffn(out1) # (batch_size, input_seq_len, d_model) ffn_output = self.dropout2(ffn_output, training=training) out2 = self.layernorm2(out1 + ffn_output) # (batch_size, input_seq_len, d_model) return out2 class DecoderLayer(tf.keras.layers.Layer): def __init__(self, d_model, num_heads, dff, rate=0.1): super(DecoderLayer, self).__init__() self.mha1 = MultiHeadAttention(d_model, num_heads) self.mha2 = MultiHeadAttention(d_model, num_heads) self.ffn = point_wise_feed_forward_network(d_model, dff) self.layernorm1 = tf.keras.layers.LayerNormalization(epsilon=1e-6) self.layernorm2 = tf.keras.layers.LayerNormalization(epsilon=1e-6) self.layernorm3 = tf.keras.layers.LayerNormalization(epsilon=1e-6) self.dropout1 = tf.keras.layers.Dropout(rate) self.dropout2 = tf.keras.layers.Dropout(rate) self.dropout3 = tf.keras.layers.Dropout(rate) def call(self, x, enc_output, training, look_ahead_mask, padding_mask): # enc_output.shape == (batch_size, input_seq_len, d_model) attn1, attn_weights_block1 = self.mha1(x, x, x, look_ahead_mask) # (batch_size, target_seq_len, d_model) attn1 = self.dropout1(attn1, training=training) out1 = self.layernorm1(attn1 + x) attn2, attn_weights_block2 = self.mha2( enc_output, enc_output, out1, padding_mask) # (batch_size, target_seq_len, d_model) attn2 = self.dropout2(attn2, training=training) out2 = self.layernorm2(attn2 + out1) # (batch_size, target_seq_len, d_model) ffn_output = self.ffn(out2) # (batch_size, target_seq_len, d_model) ffn_output = self.dropout3(ffn_output, training=training) out3 = self.layernorm3(ffn_output + out2) # (batch_size, target_seq_len, d_model) return out3, attn_weights_block1, attn_weights_block2 class Encoder(tf.keras.layers.Layer): def __init__(self, num_layers, d_model, num_heads, dff, input_vocab_size, rate=0.1): super(Encoder, self).__init__() self.d_model = d_model self.num_layers = num_layers self.embedding = tf.keras.layers.Embedding(input_vocab_size, d_model) self.pos_encoding = positional_encoding(input_vocab_size, self.d_model) self.enc_layers = [EncoderLayer(d_model, num_heads, dff, rate) for _ in range(num_layers)] self.dropout = tf.keras.layers.Dropout(rate) def call(self, x, training, mask): seq_len = tf.shape(x)[1] # adding embedding and position encoding. x = self.embedding(x) # (batch_size, input_seq_len, d_model) x *= tf.math.sqrt(tf.cast(self.d_model, tf.float32)) x += self.pos_encoding[:, :seq_len, :] x = self.dropout(x, training=training) for i in range(self.num_layers): x = self.enc_layers[i](x, training, mask) return x # (batch_size, input_seq_len, d_model) class Decoder(tf.keras.layers.Layer): def __init__(self, num_layers, d_model, num_heads, dff, target_vocab_size, rate=0.1): super(Decoder, self).__init__() self.d_model = d_model self.num_layers = num_layers self.embedding = tf.keras.layers.Embedding(target_vocab_size, d_model) self.pos_encoding = positional_encoding(target_vocab_size, self.d_model) self.dec_layers = [DecoderLayer(d_model, num_heads, dff, rate) for _ in range(num_layers)] self.dropout = tf.keras.layers.Dropout(rate) def call(self, x, enc_output, training, look_ahead_mask, padding_mask): seq_len = tf.shape(x)[1] attention_weights = {} x = self.embedding(x) # (batch_size, target_seq_len, d_model) x *= tf.math.sqrt(tf.cast(self.d_model, tf.float32)) x += self.pos_encoding[:, :seq_len, :] x = self.dropout(x, training=training) for i in range(self.num_layers): x, block1, block2 = self.dec_layers[i](x, enc_output, training, look_ahead_mask, padding_mask) attention_weights['decoder_layer{}_block1'.format(i + 1)] = block1 attention_weights['decoder_layer{}_block2'.format(i + 1)] = block2 # x.shape == (batch_size, target_seq_len, d_model) return x, attention_weights """## Create the Transformer Transformer consists of the encoder, decoder and a final linear layer. The output of the decoder is the input to the linear layer and its output is returned. """ class Transformer(tf.keras.Model): def __init__(self, num_layers, d_model, num_heads, dff, input_vocab_size, target_vocab_size, rate=0.1): super(Transformer, self).__init__() self.encoder = Encoder(num_layers, d_model, num_heads, dff, input_vocab_size, rate) self.decoder = Decoder(num_layers, d_model, num_heads, dff, target_vocab_size, rate) self.final_layer = tf.keras.layers.Dense(target_vocab_size) def call(self, inp, tar, training, enc_padding_mask, look_ahead_mask, dec_padding_mask): enc_output = self.encoder(inp, training, enc_padding_mask) # (batch_size, inp_seq_len, d_model) # dec_output.shape == (batch_size, tar_seq_len, d_model) dec_output, attention_weights = self.decoder( tar, enc_output, training, look_ahead_mask, dec_padding_mask) final_output = self.final_layer(dec_output) # (batch_size, tar_seq_len, target_vocab_size) return final_output, attention_weights num_layers = 4 d_model = 128 dff = 512 num_heads = 8 input_vocab_size = tokenizer_pt.vocab_size + 2 target_vocab_size = tokenizer_en.vocab_size + 2 dropout_rate = 0.1 class CustomSchedule(tf.keras.optimizers.schedules.LearningRateSchedule): def __init__(self, d_model, warmup_steps=4000): super(CustomSchedule, self).__init__() self.d_model = d_model self.d_model = tf.cast(self.d_model, tf.float32) self.warmup_steps = warmup_steps def __call__(self, step): arg1 = tf.math.rsqrt(step) arg2 = step * (self.warmup_steps ** -1.5) return tf.math.rsqrt(self.d_model) * tf.math.minimum(arg1, arg2) learning_rate = CustomSchedule(d_model) optimizer = tf.keras.optimizers.Adam(learning_rate, beta_1=0.9, beta_2=0.98, epsilon=1e-9) temp_learning_rate_schedule = CustomSchedule(d_model) plt.plot(temp_learning_rate_schedule(tf.range(40000, dtype=tf.float32))) plt.ylabel("Learning Rate") plt.xlabel("Train Step") """## Loss and metrics Since the target sequences are padded, it is important to apply a padding mask when calculating the loss. """ loss_object = tf.keras.losses.SparseCategoricalCrossentropy( from_logits=True, reduction='none') def loss_function(real, pred): mask = tf.math.logical_not(tf.math.equal(real, 0)) loss_ = loss_object(real, pred) mask = tf.cast(mask, dtype=loss_.dtype) loss_ *= mask return tf.reduce_mean(loss_) train_loss = tf.keras.metrics.Mean(name='train_loss') train_accuracy = tf.keras.metrics.SparseCategoricalAccuracy(name='train_accuracy') val_loss = tf.keras.metrics.Mean(name='val_loss') val_accuracy = tf.keras.metrics.SparseCategoricalAccuracy(name='val_accuracy') """## Training and checkpointing""" transformer = Transformer(num_layers, d_model, num_heads, dff, input_vocab_size, target_vocab_size, dropout_rate) def create_masks(inp, tar): # Encoder padding mask enc_padding_mask = create_padding_mask(inp) # Used in the 2nd attention block in the decoder. # This padding mask is used to mask the encoder outputs. dec_padding_mask = create_padding_mask(inp) # Used in the 1st attention block in the decoder. # It is used to pad and mask future tokens in the input received by # the decoder. look_ahead_mask = create_look_ahead_mask(tf.shape(tar)[1]) dec_target_padding_mask = create_padding_mask(tar) combined_mask = tf.maximum(dec_target_padding_mask, look_ahead_mask) return enc_padding_mask, combined_mask, dec_padding_mask """Create the checkpoint path and the checkpoint manager. This will be used to save checkpoints every `n` epochs.""" checkpoint_path = "./checkpoints/train" ckpt = tf.train.Checkpoint(transformer=transformer, optimizer=optimizer) ckpt_manager = tf.train.CheckpointManager(ckpt, checkpoint_path, max_to_keep=5) # if a checkpoint exists, restore the latest checkpoint. if ckpt_manager.latest_checkpoint: ckpt.restore(ckpt_manager.latest_checkpoint) print('Latest checkpoint restored!!') EPOCHS = 200 train_num = len([1 for _, _ in train_dataset]) @tf.function def train_step(inp, tar): tar_inp = tar[:, :-1] tar_real = tar[:, 1:] enc_padding_mask, combined_mask, dec_padding_mask = create_masks(inp, tar_inp) with tf.GradientTape() as tape: predictions, _ = transformer(inp, tar_inp, True, enc_padding_mask, combined_mask, dec_padding_mask) loss = loss_function(tar_real, predictions) gradients = tape.gradient(loss, transformer.trainable_variables) optimizer.apply_gradients(zip(gradients, transformer.trainable_variables)) train_loss(loss) train_accuracy(tar_real, predictions) @tf.function def val_step(inp, tar): tar_inp = tar[:, :-1] tar_real = tar[:, 1:] enc_padding_mask, combined_mask, dec_padding_mask = create_masks(inp, tar_inp) predictions, _ = transformer(inp,tar_inp, enc_padding_mask=enc_padding_mask, look_ahead_mask=combined_mask, dec_padding_mask=dec_padding_mask, training=False) loss = loss_function(tar_real, predictions) ppl = tf.exp(loss) val_loss(ppl) val_accuracy(tar_real, predictions) print("(3):Traning model......") """Portuguese is used as the input language and English is the target language.""" for epoch in range(EPOCHS): train_loss.reset_states() train_accuracy.reset_states() val_loss.reset_states() val_accuracy.reset_states() print('Epoch {}'.format(epoch + 1)) start = time.time() # inp -> portuguese, tar -> english with tqdm(total=train_num * BATCH_SIZE) as pbar: for inp, tar in train_dataset: train_step(inp, tar) pbar.update(BATCH_SIZE) for inp, tar in val_dataset: val_step(inp, tar) end = time.time() print('train_loss {:.4f}\ttrain_acc {:.2f}\t' 'val_loss {:.4f}\tval_acc {:.2f}\t' 'time {:.2f}s'.format(train_loss.result(), train_accuracy.result() * 100, val_loss.result(), val_accuracy.result() * 100, end - start, )) def evaluate(inp_sentence): start_token = [tokenizer_pt.vocab_size] end_token = [tokenizer_pt.vocab_size + 1] # inp sentence is portuguese, hence adding the start and end token inp_sentence = start_token + tokenizer_pt.encode(inp_sentence) + end_token encoder_input = tf.expand_dims(inp_sentence, 0) # as the target is english, the first word to the transformer should be the # english start token. decoder_input = [tokenizer_en.vocab_size] output = tf.expand_dims(decoder_input, 0) for i in range(MAX_LENGTH): enc_padding_mask, combined_mask, dec_padding_mask = create_masks( encoder_input, output) # predictions.shape == (batch_size, seq_len, vocab_size) predictions, attention_weights = transformer(encoder_input, output, False, enc_padding_mask, combined_mask, dec_padding_mask) # select the last word from the seq_len dimension predictions = predictions[:, -1:, :] # (batch_size, 1, vocab_size) predicted_id = tf.cast(tf.argmax(predictions, axis=-1), tf.int32) # return the result if the predicted_id is equal to the end token if tf.equal(predicted_id, tokenizer_en.vocab_size + 1): return tf.squeeze(output, axis=0), attention_weights # concatentate the predicted_id to the output which is given to the decoder # as its input. output = tf.concat([output, predicted_id], axis=-1) return tf.squeeze(output, axis=0), attention_weights def plot_attention_weights(attention, sentence, result, layer): fig = plt.figure(figsize=(16, 8)) sentence = tokenizer_pt.encode(sentence) attention = tf.squeeze(attention[layer], axis=0) for head in range(attention.shape[0]): ax = fig.add_subplot(2, 4, head + 1) # plot the attention weights ax.matshow(attention[head][:-1, :], cmap='viridis') fontdict = {'fontsize': 10} ax.set_xticks(range(len(sentence) + 2)) ax.set_yticks(range(len(result))) ax.set_ylim(len(result) - 1.5, -0.5) ax.set_xticklabels( ['<start>'] + [tokenizer_pt.decode([i]) for i in sentence] + ['<end>'], fontdict=fontdict, rotation=90) ax.set_yticklabels([tokenizer_en.decode([i]) for i in result if i < tokenizer_en.vocab_size], fontdict=fontdict) ax.set_xlabel('Head {}'.format(head + 1)) plt.tight_layout() plt.show() def translate(sentence, plot=''): result, attention_weights = evaluate(sentence) predicted_sentence = tokenizer_en.decode([i for i in result if i < tokenizer_en.vocab_size]) print('Input: {}'.format(sentence)) print('Predicted translation: {}'.format(predicted_sentence)) if plot: plot_attention_weights(attention_weights, sentence, result, plot) print("(4):Evaluate model......") translate("este é um problema que temos que resolver.") print("Real translation: this is a problem we have to solve .") translate("os meus vizinhos ouviram sobre esta ideia.") print("Real translation: and my neighboring homes heard about this idea .") translate("vou então muito rapidamente partilhar convosco algumas histórias de algumas coisas mágicas que aconteceram.") print( "Real translation: so i 'll just share with you some stories very quickly of some magical things that have happened .") """You can pass different layers and attention blocks of the decoder to the `plot` parameter.""" translate("este é o primeiro livro que eu fiz.", plot='decoder_layer4_block2') print("Real translation: this is the first book i've ever done.")
**System information** * OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10 64bit * TensorFlow installed from (source or binary): pip * TensorFlow version: 1.12.0 * Python version: 3.6.7 64bit * Installed using virtualenv? pip? conda?: No virtualenv. Direct install with pip. No conda. Virtualenv tried, but result is the same. * CUDA/cuDNN version: cuda_9.0.176_win10, cudnn-9.0-windows10-x64-v7.5.0.56 * GPU model and memory: RTX2070 8G * CPU model: intel i5-9400f (CPU without integrated GPU) **Describe the problem** To be clear, this is NOT a issue about the dll files that can not be found. Files are there, but something is wrong with the previlige. I recently built a new windows 10 PC and installed tensorflow on it. The installation was successful, but I had to run the code with Administrator. Otherwise a simple import code like "import tensorflow as tf" would result in "ImportError: DLL load failed: Access is denied" if I try to run it without "Run as Administrator". The code did work flawlessly if I choose to run as admin though. But on my old notebook I could execute without admin previlige. The installations on my new and old computer were the same, so the software version and system environment variables should not be the problem. I am wondering why this is happening and is there any way I can get rid of the "run as admin" process which is rather danger and annoying for every time I want to run the code. **Any other info / logs** 3.6.7 (v3.6.7:6ec5cf24b7, Oct 20 2018, 13:35:33) [MSC v.1900 64 bit (AMD64)] Traceback (most recent call last): File "C:\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module> from tensorflow.python.pywrap_tensorflow_internal import * File "C:\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in <module> _pywrap_tensorflow_internal = swig_import_helper() File "C:\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description) File "C:\Python36\lib\imp.py", line 243, in load_module return load_dynamic(name, filename, file) File "C:\Python36\lib\imp.py", line 343, in load_dynamic return _load(spec) ImportError: DLL load failed: Access is denied. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "hello tensorflow.py", line 12, in <module> import tensorflow as tf File "C:\Python36\lib\site-packages\tensorflow\__init__.py", line 24, in <module> from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import File "C:\Python36\lib\site-packages\tensorflow\python\__init__.py", line 49, in <module> from tensorflow.python import pywrap_tensorflow File "C:\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in <module> raise ImportError(msg) ImportError: Traceback (most recent call last): File "C:\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module> from tensorflow.python.pywrap_tensorflow_internal import * File "C:\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in <module> _pywrap_tensorflow_internal = swig_import_helper() File "C:\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description) File "C:\Python36\lib\imp.py", line 243, in load_module return load_dynamic(name, filename, file) File "C:\Python36\lib\imp.py", line 343, in load_dynamic return _load(spec) ImportError: DLL load failed: Access is denied. Failed to load the native TensorFlow runtime. See https://www.tensorflow.org/install/errors for some common reasons and solutions. Include the entire stack trace above this error message when asking for help.
0
Possibly this issue is not an issue of Windows Terminal but of WSL or of one specific distribution within WSL. # Environment Microsoft Windows [Version 10.0.18362.356] Windows Terminal (Preview) [Version 0.4.2382.0] WSL 1 with Ubuntu 18.04 (not sure how to find out the build number) # Steps to reproduce * start Windows Terminal * open a tab with WSL Ubuntu 18.04 (maybe also with other distributions) * choose a light theme (like One Half Light) in the `profiles.json` file * view a man page (e.g. `man grep`) * play with values for `brightWhite` in the choosen color schema # Expected behavior General text should be colored in generic colors such as `foreground` or explicit colors like `brightWhite` should change their color. # Actual behavior The WSL man page seems to use `brightWhite` for highlighted text in man pages. `brightWhite` remains white in the light themes. The remaining text has the color `foreground`. grep manpage with default color schema `One Half Light`: ![bug_brightWhite_is_white](https://user- images.githubusercontent.com/29165465/65515565-cbd02580-dedf-11e9-9a32-f285e05e75d5.png) grep manpage with modified color schema `One Half Light` (`brightWhite` set to `#FFFFFF`): ![bug_brightWhite_is_black](https://user- images.githubusercontent.com/29165465/65515599-d8547e00-dedf-11e9-8a94-5102dd60d303.png)
# Environment Windows build number: 10.0.18362.0 Windows Terminal version : 0.4.2382.0 ConEmu version: 180626 # Steps to reproduce 1. Copy the color palette for "<Solarized (John Doe)>" from ConEmu to terminal. Here's the relevant JSON: { "white" : "#fdf6e3", "blue" : "#073642", "green" : "#586e75", "cyan" : "#657b83", "red" : "#dc322f", "purple" : "#6c71c4", "yellow" : "#cb4b16", "brightWhite" : "#eee8d5", "brightBlack" : "#93a1a1", "brightBlue" : "#268bd2", "brightGreen" : "#859900", "brightCyan" : "#2aa198", "brightRed" : "#839496", "brightPurple" : "#d33682", "brightYellow" : "#b58900", "black" : "#002B36", "background" : "#002B36", "foreground" : "#fdf6e3", "name" : "Solarized (John Doe)" } 2. Set powershell's color scheme to "Solarized (John Doe)" 3. Run `[enum]::GetValues([System.ConsoleColor]) | Foreach-Object {Write-Host $_ -ForegroundColor $_}` to admire the colors # Expected behavior Colors look as nice as ConEmu's # Actual behavior Most colors look nice and similar but "DarkBlue" looks completely different and way worse. See screenshot. ![image](https://user- images.githubusercontent.com/1836172/64105642-e860be00-cd76-11e9-8ed3-c79598061e66.png) To get a somewhat similar color you need to set blue (DarkBlue) to something like `"blue" : "#0B5669"` ![image](https://user- images.githubusercontent.com/1836172/64105711-09c1aa00-cd77-11e9-8b39-1b5525650f92.png)
1
I’m using a bépo keyboard layout. On Windows, when hitting _AltGr_ , I get it translated to `ctrl-alt`. On Linux, I get it translated to… `á`, which is very weird and wrong.
Original issue: atom/atom#1625 * * * Use https://atom.io/packages/keyboard-localization until this issue gets fixed (should be in the Blink upstream).
1
PLEASE INCLUDE REPRO INSTRUCTIONS AND EXAMPLE CODE * * * ## Please do not remove the text below this line DevTools version: 4.0.5-5441b09 Call stack: at d (chrome- extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:11:5744) at e.getCommitTree (chrome- extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:11:8526) at bi (chrome- extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:51:275512) at Ha (chrome- extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:55890) at bi (chrome- extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:62939) at Xl (chrome- extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:99535) at Hl (chrome- extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:84255) at Fl (chrome- extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:81285) at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:25363 at n.unstable_runWithPriority (chrome- extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:51:4368) Component stack: in bi in div in div in div in Ir in Unknown in n in Unknown in div in div in Wa in ce in be in So in Vl
* * * ## Please do not remove the text below this line DevTools version: 4.0.2-2bcc6c6 Call stack: at d (chrome- extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:11:5744) at e.getCommitTree (chrome- extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:11:8526) at Ai (chrome- extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:56:274200) at Ha (chrome- extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:55890) at bi (chrome- extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:62939) at Xl (chrome- extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:99535) at Hl (chrome- extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:84255) at Fl (chrome- extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:81285) at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:25363 at n.unstable_runWithPriority (chrome- extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:56:4368) Component stack: in Ai in div in div in div in Or in Unknown in n in Unknown in div in div in Ua in le in ve in ko in Fl
1
The following program fails with the panic: package main import ( "fmt" "net/mail" ) func main() { data := "=??Q? ?=<0@0>" addr, err := mail.ParseAddress(data) if err != nil { return } _, err = mail.ParseAddress(addr.String()) if err != nil { fmt.Printf("failed to parse addr: %q -> %q\n", data, addr) panic(err) } } failed to parse addr: "=??Q? ?=<0@0>" -> "\"=??Q? ?=\" <0@0>" panic: mail: missing word in phrase: charset not supported: "" That name should have been escaped. go version devel +514014c Thu Jun 18 15:54:35 2015 +0200 linux/amd64
The following program fails the panic: package main import ( "fmt" "net/mail" ) func main() { data := "\"\\\x1f,\"<0@0>" addr, err := mail.ParseAddress(data) if err != nil { return } _, err = mail.ParseAddress(addr.String()) if err != nil { fmt.Printf("failed to parse addr: %q -> %q\n", data, addr) panic(err) } } failed to parse addr: "\"\\\x1f,\"<0@0>" -> "=?utf-8?q?=1F,?= <0@0>" panic: mail: no angle-addr ParseAddress must handle result of Address.String, or else first ParseAddress must fail. go version devel +514014c Thu Jun 18 15:54:35 2015 +0200 linux/amd64
1
# Bug report ## Describe the bug `<Link>` will not navigate to pages with Ant Design stylesheets. ## To Reproduce https://github.com/iamricky/nextjs-bug ## Expected behavior The app navigates to each route except `/test`. It fails silently w/o errors, so I don't have a way of investigating it. The app **will** navigate to `/test` if the stylesheets on line 11 of `pages/test.js` are omitted or commented out: import 'antd/lib/button/style/css'; import 'antd/lib/checkbox/style/css'; import 'antd/lib/date-picker/style/css'; import 'antd/lib/form/style/css'; import 'antd/lib/input/style/css'; import 'antd/lib/radio/style/css'; import 'antd/lib/select/style/css'; import 'antd/lib/tag/style/css'; ## System information: * OS: macOS 10.13.6 * Browser: Chrome 73.0.3683.86 * Version of Next.js: ^8.0.4
This is bug report Link does not work with css-module imported. That happens when page with Link has no css, and linked page has. No errors in console, so im not sure about reasons, but there is minimal repo to reproduce: https://github.com/standy/next-css-error Bug appears in `next@7.0.0` \+ `next-css@1.0.1`, Older `next@6.1.2` \+ `next-css@0.2.0` works fine
1
_Original tickethttp://projects.scipy.org/scipy/ticket/1796 on 2012-12-20 by trac user seanBE, assigned to unknown._ FAILED (KNOWNFAIL=15, SKIP=43, errors=1, failures=69) Tested scipy using the nose package. 69 failures is quite a lot.
_Original tickethttp://projects.scipy.org/scipy/ticket/1729 on 2012-09-18 by trac user breuderink, assigned to unknown._ Dear developers, I installed the development version (the latest would not compile due to VecLib) of SciPy from source: $ git clone https://github.com/scipy/scipy.git $ git show commit `6981d8b` Merge: `a4d9a6d` `cc900a5` Author: Warren Weckesser warren.weckesser@enthought.com Date: Mon Sep 17 17:34:36 2012 -0700 $ python setup.py build [see attachment] $ python setup.py install [see attachment] So far, so good. But, when I tried to run the unit tests (I verified this is the only scipy installation on my computer), I get many unit test failures: $ python -c "import scipy; scipy.test('full')" [see attachment] Most seem to be related to arpack. I am really uncomfortable using this scipy installation, and feel that if building succeeds, the unit tests should run without failures. Is there any remedy? I have attached my environment (both homebrew installed packages and the build environment as well).
1
From @srkiNZ84 on 2016-05-09T22:40:20Z ##### ISSUE TYPE * Bug Report ##### COMPONENT NAME ec2_asg ##### ANSIBLE VERSION ansible 2.0.0.2 ##### CONFIGURATION ##### OS / ENVIRONMENT Running from: Ubuntu Linux Managing: Ubuntu Linux ##### SUMMARY We (seeming randomly) get cases where we'll do a blue/green deploy using the "ec2_asg" module and have an async task waiting for the module to return a result. The task that waits for the result never gets the async notification and therefore fails despite the deploy succeeding. ##### STEPS TO REPRODUCE * Create a new launch config (our new "blue" deploy) * Run the "ec2_asg" task with the new launch config (with async set and "poll: 0") * Have a task later in the playbook waiting on the result * Confirm that the deploy succeeds in AWS (new instances brought up, old ones terminated) * See that the "async_status" job never gets the notification that the deploy has happened - name: Create integration tier launch configuration ec2_lc: name: "{{ environ }}-int-launch-config-{{ current_time }}" [OMITTED FOR BREVITY] register: int_launch_configuration - name: Create Integration Autoscaling group ec2_asg: name: "{{ environ }}-int-asg" launch_config_name: "{{ environ }}-int-launch-config-{{ current_time }}" vpc_zone_identifier: "{{ int_subnets }}" health_check_type: "ELB" health_check_period: 400 termination_policies: "OldestInstance" replace_all_instances: yes wait_timeout: 2400 replace_batch_size: "{{ int_replace_batch_size }}" async: 1000 poll: 0 register: int_asg_sleeper - name: 'int ASG - check on fire and forget task' async_status: jid={{ int_asg_sleeper.ansible_job_id }} register: int_asg_job_result until: int_asg_job_result.finished retries: 60 delay: 15 ##### EXPECTED RESULTS Expected that when the deploy succeeds and the "old" instances are terminated, the Async job gets the message and reports success. ##### ACTUAL RESULTS It appears that the "file" mechanism which Python/Ansible use for checking on the status of background jobs fails and the file is never populated, despite the job finishing. Therefore the job polling the file times out eventually. 08:03:34.063 TASK [launch-config : int ASG - check on fire and forget task] ***************** 08:03:34.130 fatal: [localhost]: FAILED! => {"failed": true, "msg": "ERROR! The conditional check 'int_asg_job_result.finished' failed. The error was: ERROR! error while evaluating conditional (int_asg_job_result.finished): ERROR! 'dict object' has no attribute 'finished'"} Copied from original issue: ansible/ansible-modules-core#3625
It would be nice to be possible to specify vars in tasks files such as the following: # playbook.yml - hosts: localhost tasks: - include: tasks.yml # tasks.yml vars: - path: /srv/bar - name: copy file foo action: copy src=foo dest=$path/foo - name: copy file bar action: copy src=bar dest=$path/bar This allows to bundle common strings inside a tasks file.
1
### Expected Behavior Only the error message / usage information being printed ### Actual Behavior A traceback shows up above the usage information. ### Environment * Python version: 2.7.14 * Flask version: 1.0.2 * Werkzeug version: 0.14.1 * * * [adrian@blackhole:/tmp]> virtualenv testenv New python executable in /tmp/testenv/bin/python2.7 Also creating executable in /tmp/testenv/bin/python Installing setuptools, pip, wheel...done. [adrian@blackhole:/tmp]> ./testenv/bin/pip install flask Collecting flask Using cached https://files.pythonhosted.org/packages/7f/e7/08578774ed4536d3242b14dacb4696386634607af824ea997202cd0edb4b/Flask-1.0.2-py2.py3-none-any.whl Collecting Werkzeug>=0.14 (from flask) Using cached https://files.pythonhosted.org/packages/20/c4/12e3e56473e52375aa29c4764e70d1b8f3efa6682bef8d0aae04fe335243/Werkzeug-0.14.1-py2.py3-none-any.whl Collecting click>=5.1 (from flask) Using cached https://files.pythonhosted.org/packages/34/c1/8806f99713ddb993c5366c362b2f908f18269f8d792aff1abfd700775a77/click-6.7-py2.py3-none-any.whl Collecting itsdangerous>=0.24 (from flask) Collecting Jinja2>=2.10 (from flask) Using cached https://files.pythonhosted.org/packages/7f/ff/ae64bacdfc95f27a016a7bed8e8686763ba4d277a78ca76f32659220a731/Jinja2-2.10-py2.py3-none-any.whl Collecting MarkupSafe>=0.23 (from Jinja2>=2.10->flask) Installing collected packages: Werkzeug, click, itsdangerous, MarkupSafe, Jinja2, flask Successfully installed Jinja2-2.10 MarkupSafe-1.0 Werkzeug-0.14.1 click-6.7 flask-1.0.2 itsdangerous-0.24 [adrian@blackhole:/tmp]> ./testenv/bin/flask Traceback (most recent call last): File "/tmp/testenv/lib/python2.7/site-packages/flask/cli.py", line 529, in list_commands rv.update(info.load_app().cli.list_commands(ctx)) File "/tmp/testenv/lib/python2.7/site-packages/flask/cli.py", line 384, in load_app 'Could not locate a Flask application. You did not provide ' NoAppException: Could not locate a Flask application. You did not provide the "FLASK_APP" environment variable, and a "wsgi.py" or "app.py" module was not found in the current directory. Usage: flask [OPTIONS] COMMAND [ARGS]... A general utility script for Flask applications. Provides commands from Flask, extensions, and the application. Loads the application defined in the FLASK_APP environment variable, or from a wsgi.py file. Setting the FLASK_ENV environment variable to 'development' will enable debug mode. $ export FLASK_APP=hello.py $ export FLASK_ENV=development $ flask run Options: --version Show the flask version --help Show this message and exit. Commands: routes Show the routes for the app. run Runs a development server. shell Runs a shell in the app context.
### Expected Behavior As there is the support for `lazy loading` the app, when running `flask` CLI without providing the proper environment variables we must see a better warning instead of raw exception. Tell us what should happen. **we should see a better warning or message pointing to the problem** # there is no FLASK_APP env var $ flask --help WARNING: You need to define the app e.g: `export FLASK_APP=app.py` ### Actual Behavior Tell us what happens instead. **we see traceback before the help message** # there is no FLASK_APP env var $ flask --help Sat 28 Apr 2018 01:25:50 PM -03 Traceback (most recent call last): File "~Projects/personal/flasgger/venv/lib/python3.6/site-packages/flask/cli.py", line 235, in locate_app __import__(module_name) ModuleNotFoundError: No module named 'app' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "~/Projects/personal/flasgger/venv/lib/python3.6/site-packages/flask/cli.py", line 529, in list_commands rv.update(info.load_app().cli.list_commands(ctx)) File "~/Projects/personal/flasgger/venv/lib/python3.6/site-packages/flask/cli.py", line 372, in load_app app = locate_app(self, import_name, name) File "~/Projects/personal/flasgger/venv/lib/python3.6/site-packages/flask/cli.py", line 246, in locate_app 'Could not import "{name}".'.format(name=module_name) flask.cli.NoAppException: Could not import "app". Usage: flask [OPTIONS] COMMAND [ARGS]... A general utility script for Flask applications. Provides commands from Flask, extensions, and the application. Loads the application defined in the FLASK_APP environment variable, or from a wsgi.py file. Setting the FLASK_ENV environment variable to 'development' will enable debug mode. $ export FLASK_APP=hello.py $ export FLASK_ENV=development $ flask run Options: --version Show the flask version --help Show this message and exit. Commands: routes Show the routes for the app. run Runs a development server. shell Runs a shell in the app context. The same happens to `run` $ flask run 429ms  Sat 28 Apr 2018 01:32:48 PM -03 * Serving Flask app "app.py" * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off Usage: flask run [OPTIONS] Error: Could not import "app". The `Error: Could not import "app".` could include `WARNING: You need to define the app e.g: export FLASK_APP=app.py` ### Suggestion We could check the existence of `FLASK_APP` envvar before running any of the commands in the Group Cli, if FLASK_APP does not exist the dispatch of commands never happens. ### Environment * Python version: 3.6.0 * Flask version: Flask==1.0 * Werkzeug version: Werkzeug==0.14.1 * Click: click==6.7
1
I've been having some issues on 1.3 that I haven't had on 1.2 on the same machine. Seems like libgit2 update has broken something: (v1.3) pkg> up Updating registry at `~/.julia/registries/General` Updating git-repo `https://github.com/JuliaRegistries/General.git` ┌ Warning: Some registries failed to update: │ — /home/jfrigaa/.julia/registries/General — failed to fetch from repo └ @ Pkg.Types /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Types.jl:1198 Resolving package versions... Updating `/data/home/jfrigaa/.julia/environments/v1.3/Project.toml` [no changes] Updating `/data/home/jfrigaa/.julia/environments/v1.3/Manifest.toml` Julia Version 1.3.0-rc2.0 Commit a04936e3e0 (2019-09-12 19:49 UTC) Platform Info: OS: Linux (x86_64-pc-linux-gnu) CPU: Intel(R) Xeon(R) CPU E5-2683 v4 @ 2.10GHz WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-6.0.1 (ORCJIT, broadwell) CentOS Linux release 7.5.1804 (Core) this means I can't download any packages on 1.3. Has anyone had a similar issue? This is a big upgrade blocker for me right now.
Opening this issue here since I am pretty sure Pkg has not changed anything, maybe this is related to the libgit2 upgrade (#32806)? $ julia13 -e 'using Pkg; Pkg.Registry.update()' Updating registry at `~/.julia/registries/General` Updating git-repo `https://github.com/JuliaRegistries/General.git` ┌ Warning: Some registries failed to update: │ — /home/fredrik/.julia/registries/General — failed to fetch from repo └ @ Pkg.Types ~/julia13/usr/share/julia/stdlib/v1.3/Pkg/src/Types.jl:1189 $ julia12 -e 'using Pkg; Pkg.Registry.update()' Updating registry at `~/.julia/registries/General` Updating git-repo `https://github.com/JuliaRegistries/General.git`
1
Behavior in the vast majority of editors/programs is that if you execute the 'Copy' command (Control/Command + C) when no text is selected is that nothing happens. Atom instead copies the current line. There's already a nice duplicate-line command, making the behavior not quite necessary. The real annoyance is that many, many times I mean to press Ctrl-V but I press Ctrl-C instead. So I lose my selection and have to go copy the original text again.
It's too frequent that someone might accidentally hit the 'c' key instead of the 'v' key when pasting in atom. instead of copying empty space, the copy shortcut should simply not do anything. I can write the pull request myself if someone can point me in the right direction, either way if we could improve this very annoying problem it would be great!
1
I know you can alter the darkness of the shadow cast based on the light itself: light.shadowDarkness = 0.5; but say i have objects with materials of various opacities: var material = new THREE.MeshPhongMaterial( { color : 0x000000, opacity:0.1} ); material.transparent = true; all of the shadows are the same darkness. Is there any way for to make the shadows adjust the darkness based on the shadow-casting objects opacity? (more translucent objects cast a lighter shadow)
##### Description of the problem Just as the issue title indicated, I create an InstancedMesh with more than one instances at different positions, but it's just the Box3 result of the Geometry attached to it. After reading the code, I have made a fix. var _box = new THREE.Box3(); var _vector = new THREE.Vector3(); THREE.Box3.prototype.expandByObject = function (object) { // Computes the world-axis-aligned bounding box of an object (including its children), // accounting for both the object's, and children's, world transforms object.updateWorldMatrix(false, false); var geometry = object.geometry; if (geometry !== undefined) { if (geometry.boundingBox === null) { geometry.computeBoundingBox(); } if (object.isInstancedMesh) { var matrixWorld = object.matrixWorld, matrix4Array = object.instanceMatrix.array, arrayLength = matrix4Array.length; for (var posOffset = 12; posOffset < arrayLength; posOffset += 16) { _vector.set(matrix4Array[posOffset], matrix4Array[1 + posOffset], matrix4Array[2 + posOffset]); _box.expandByPoint(_vector); } } else { _box.copy(geometry.boundingBox); } _box.applyMatrix4(object.matrixWorld); this.expandByPoint(_box.min); this.expandByPoint(_box.max); } var children = object.children; for (var i = 0, l = children.length; i < l; i++) { this.expandByObject(children[i]); } return this; } See also: * Box3.expandByObject * Box3.setFromObject * InstancedMesh.instanceMatrix * BufferAttribute.getX * Matrix4.setPosition Please also include a live example if possible. You can start from these templates: * jsfiddle (dev branch 39) * jsbin (latest release branch) * codepen(latest release branch) ##### Three.js version * Dev * r113 * ... ##### Browser * All of them * Chrome * Firefox * Internet Explorer ##### OS * All of them * Windows * macOS * Linux * Android * iOS ##### Hardware Requirements (graphics card, VR Device, ...)
0
Try this: * create a new app * start an emulator * flutter run your new app * yay, it works! * then, replace your lib/main.dart with the following contents: import 'package:flutter/material.dart'; void main() { runApp(new MyWidget()); } class MyWidget extends StatelessWidget { @override Widget build(BuildContext context) { return new GestureDetector( onTap: () => print('tapped!') ); } } And then: * type `r` in your flutter run console Expected: hot reloads and everything is awesome Actual: This error: Initializing hot reload... I/flutter ( 3394): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════ I/flutter ( 3394): The following _CompileTimeError was thrown building MyApp(dirty): I/flutter ( 3394): 'file:///C:/Users/sethladd/Documents/Code/circles/lib/main.dart': malformed type: line 25: cannot I/flutter ( 3394): resolve class 'MyHomePage' from 'MyApp' I/flutter ( 3394): home : new MyHomePage(title : "Flutter Demo Home Page"), I/flutter ( 3394): ^ I/flutter ( 3394): This is a pretty poor user experience: * There is no more MyHomePage class in my source code, why is Flutter telling me there's an error here? * There is no suggestion or hint that I need to Hot Restart Luckily, I then remembered that: * I can Hot Restart * There is some issue about changing types of widgets and not working well with Hot Reload (Neither of which a new user would understand :/) Suggestions: * Tolerate changing widget types (from stateless to stateful) during Hot Reloads * Detect when a Hot Reload isn't possible, error out earlier than showing me code that no longer exists * Suggest to the user something like "Bummer, that didn't seem to work. Please try Hot Restart with capital R." Thanks!
Add infrastructure to check for program elements changed in the last reload and not executed. Use this facility in flutter tools to figure out situations where the user makes changes that will not be reflected after a hot reload and warn users about the need to do a hot restart for the changes to take effect.
1
_Please make sure that this is a bug. As per ourGitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template_ **System information** * Have I written custom code (as opposed to using a stock example script provided in TensorFlow): * OS Platform and Distribution (e.g., Linux Ubuntu 16.04): * Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: * TensorFlow installed from (source or binary): * TensorFlow version (use command below): * Python version: * Bazel version (if compiling from source): * GCC/Compiler version (if compiling from source): * CUDA/cuDNN version: * GPU model and memory: You can collect some of this information using our environment capture script You can also obtain the TensorFlow version with: 1. TF 1.0: `python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"` 2\. TF 2.0: `python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"` **Describe the current behavior** **Describe the expected behavior** **Code to reproduce the issue** Provide a reproducible test case that is the bare minimum necessary to generate the problem. **Other info / logs** Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
* **Have I written custom code (as opposed to using a stock example script provided in TensorFlow)** : No * **OS Platform and Distribution (e.g., Linux Ubuntu 16.04)** : 16.04.4 LTS (Xenial Xerus) * **Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device** : No * **TensorFlow installed from (source or binary)** : From source * **TensorFlow version (use command below)** : 1.9.0 * **Python version** : 3.5 * **Bazel version (if compiling from source)** : 0.11.0 * **GCC/Compiler version (if compiling from source)** : (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609 * **CUDA/cuDNN version** : 7.1.4.18 * **GPU model and memory** : Quadro K620 and Tesla K40c -- 2GB and 11.5GB respectively. * **Exact command to reproduce** : with tf.Graph().as_default() as graph: config = tf.estimator.RunConfig( model_dir="./output", save_summary_steps=FLAGS.saving_summ_freq, save_checkpoints_steps=FLAGS.saving_ckpt_freq, keep_checkpoint_max=3, train_distribute=tf.contrib.distribute.MirroredStrategy() ) classifier = tf.estimator.Estimator( model_fn, config=config) train_spec = tf.estimator.TrainSpec(gen_input_fn('train', FLAGS.num_epochs)) valid_spec = tf.estimator.EvalSpec(gen_input_fn('valid', 1)) tf.estimator.train_and_evaluate(classifier, train_spec, valid_spec) Hello Tensorflow Devs, I try to add exponential moving average support to the optimization step. However, this new Estimator API backed by the "Mirrored Distrubution Strategy" fails due to a tensor conversion method specific to this strategy. When I call ema.apply_gradients(...) it ends up with the following exception: INFO:tensorflow:Using config: {'_model_dir': './output', 1 365 saving_listeners = _check_listeners_type(saving_listeners) --> 366 loss = self._train_model(input_fn, hooks, saving_listeners) 367 logging.info('Loss for final step: %s.', loss) 368 return self /usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/estimator.py in _train_model(self, input_fn, hooks, saving_listeners) 1115 def _train_model(self, input_fn, hooks, saving_listeners): 1116 if self._distribution: -> 1117 return self._train_model_distributed(input_fn, hooks, saving_listeners) 1118 else: 1119 return self._train_model_default(input_fn, hooks, saving_listeners) /usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/estimator.py in _train_model_distributed(self, input_fn, hooks, saving_listeners) 1158 labels, # although this will be None it seems 1159 model_fn_lib.ModeKeys.TRAIN, -> 1160 self.config) 1161 1162 # TODO(anjalisridhar): Figure out how to resolve the following scaffold /usr/local/lib/python3.5/dist-packages/tensorflow/python/training/distribute.py in call_for_each_tower(self, fn, *args, **kwargs) 792 """ 793 _require_cross_tower_context(self) --> 794 return self._call_for_each_tower(fn, *args, **kwargs) 795 796 def _call_for_each_tower(self, fn, *args, **kwargs): /usr/local/lib/python3.5/dist-packages/tensorflow/contrib/distribute/python/mirrored_strategy.py in _call_for_each_tower(self, fn, *args, **kwargs) 267 for t in threads: 268 t.should_run.set() --> 269 coord.join(threads) 270 271 return values.regroup({t.device: t.main_result for t in threads}) /usr/local/lib/python3.5/dist-packages/tensorflow/python/training/coordinator.py in join(self, threads, stop_grace_period_secs, ignore_live_threads) 387 self._registered_threads = set() 388 if self._exc_info_to_raise: --> 389 six.reraise(*self._exc_info_to_raise) 390 elif stragglers: 391 if ignore_live_threads: /usr/local/lib/python3.5/dist-packages/six.py in reraise(tp, value, tb) 691 if value.__traceback__ is not tb: 692 raise value.with_traceback(tb) --> 693 raise value 694 finally: 695 value = None /usr/local/lib/python3.5/dist-packages/tensorflow/python/training/coordinator.py in stop_on_exception(self) 295 """ 296 try: --> 297 yield 298 except: # pylint: disable=bare-except 299 self.request_stop(ex=sys.exc_info()) /usr/local/lib/python3.5/dist-packages/tensorflow/contrib/distribute/python/mirrored_strategy.py in run(self) 477 self._captured_var_scope, reuse=self.tower_id > 0), \ 478 variable_scope.variable_creator_scope(self.variable_creator_fn): --> 479 self.main_result = self.main_fn(*self.main_args, **self.main_kwargs) 480 self.done = True 481 finally: /usr/local/lib/python3.5/dist-packages/tensorflow/python/estimator/estimator.py in _call_model_fn(self, features, labels, mode, config) 1105 1106 logging.info('Calling model_fn.') -> 1107 model_fn_results = self._model_fn(features=features, **kwargs) 1108 logging.info('Done calling model_fn.') 1109 <ipython-input-9-2239e101f763> in model_fn(features, labels, mode) 3 loss = tfsi_model(features) 4 if mode == tf.estimator.ModeKeys.TRAIN: ----> 5 train_op, grads, saver = minimize(loss) 6 writer, merged = prepare_summary(tf.get_default_graph(), loss, grads) 7 chkpt_hook = tf.train.CheckpointSaverHook( <ipython-input-7-8dbd2a0df6d6> in minimize(loss) 17 train_op = ema.apply_gradients( 18 grads, ---> 19 global_step=tf.train.get_or_create_global_step() 20 ) 21 return train_op, grads, ema.swapping_saver() /usr/local/lib/python3.5/dist-packages/tensorflow/contrib/opt/python/training/moving_average_optimizer.py in apply_gradients(self, grads_and_vars, global_step, name) 97 if self._sequential_update: 98 with ops.control_dependencies([train_op]): ---> 99 ma_op = self._ema.apply(var_list) 100 else: 101 ma_op = self._ema.apply(var_list) /usr/local/lib/python3.5/dist-packages/tensorflow/python/training/moving_averages.py in apply(self, var_list) 428 zero_debias = self._averages[var] in zero_debias_true 429 updates.append(assign_moving_average( --> 430 self._averages[var], var, decay, zero_debias=zero_debias)) 431 return control_flow_ops.group(*updates, name=scope) 432 /usr/local/lib/python3.5/dist-packages/tensorflow/python/training/moving_averages.py in assign_moving_average(variable, value, decay, zero_debias, name) 82 with ops.name_scope(name, "AssignMovingAvg", 83 [variable, value, decay]) as scope: ---> 84 with ops.colocate_with(variable): 85 decay = ops.convert_to_tensor(1.0 - decay, name="decay") 86 if decay.dtype != variable.dtype.base_dtype: /usr/lib/python3.5/contextlib.py in __enter__(self) 57 def __enter__(self): 58 try: ---> 59 return next(self.gen) 60 except StopIteration: 61 raise RuntimeError("generator didn't yield") from None /usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/ops.py in _colocate_with_for_gradient(self, op, gradient_uid, ignore_existing) 4217 def _colocate_with_for_gradient(self, op, gradient_uid, 4218 ignore_existing=False): -> 4219 with self.colocate_with(op, ignore_existing): 4220 if gradient_uid is not None and self._control_flow_context is not None: 4221 try: /usr/lib/python3.5/contextlib.py in __enter__(self) 57 def __enter__(self): 58 try: ---> 59 return next(self.gen) 60 except StopIteration: 61 raise RuntimeError("generator didn't yield") from None /usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/ops.py in colocate_with(self, op, ignore_existing) 4270 if op is not None and not isinstance(op, Operation): 4271 # We always want to colocate with the reference op. -> 4272 op = internal_convert_to_tensor_or_indexed_slices(op, as_ref=True).op 4273 4274 # By default, colocate_with resets the device function stack, /usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/ops.py in internal_convert_to_tensor_or_indexed_slices(value, dtype, name, as_ref) 1266 else: 1267 return internal_convert_to_tensor( -> 1268 value, dtype=dtype, name=name, as_ref=as_ref) 1269 1270 /usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/ops.py in internal_convert_to_tensor(value, dtype, name, as_ref, preferred_dtype, ctx) 1105 1106 if ret is None: -> 1107 ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref) 1108 1109 if ret is NotImplemented: /usr/local/lib/python3.5/dist-packages/tensorflow/contrib/distribute/python/values.py in _tensor_conversion(var, dtype, name, as_ref) 243 # Try to avoid assignments to and other mutations of MirroredVariable 244 # state except through a DistributionStrategy.update() call. --> 245 assert not as_ref 246 return ops.internal_convert_to_tensor( 247 var.get(), dtype=dtype, name=name, as_ref=as_ref) AssertionError: Here is the code for creating optimizer and applying backpropagation to the specified loss function: def minimize(loss): lr = tf.constant(learning_rate_schedule[0], dtype=tf.float32) for key, val in learning_rate_schedule.items(): lr = tf.cond( tf.less(tf.train.get_or_create_global_step(), key), lambda : lr, lambda : tf.constant(val, dtype=tf.float32) ) opt = tf.train.AdamOptimizer(learning_rate=lr, epsilon=FLAGS.epsilon) if FLAGS.is_ema_enabled: ema = tf.contrib.opt.MovingAverageOptimizer( opt, num_updates=tf.train.get_or_create_global_step() ) grads = ema.compute_gradients(loss) train_op = ema.apply_gradients( grads, global_step=tf.train.get_or_create_global_step() ) return train_op, grads, ema.swapping_saver() else: grads = opt.compute_gradients(loss) train_op = opt.apply_gradients( grads, global_step=tf.train.get_or_create_global_step() ) return train_op, grads, tf.train.Saver() It seems that it causes a trouble when "internal_tensor_conversion" receives a reference variable though I am not sure of it. Am I doing something wrong or is it a bug? Thank you for the help in advance.
0
We have to expand the mod_wsgi deployment chapter. Related feedback issues: * http://feedback.flask.pocoo.org/message/98
Many people struggle with deploying a simple Flask application. The tutorial should show that and provide some helpful pointers to other parts of the documentation that handle deployment. Related feedback issues: * http://feedback.flask.pocoo.org/message/105
1
like javascript, TypeScript editor needs auto { --> } with auto formatting it will be very useful thanks
In Visual Studio if you go into the options for TypeScript(Tools > Options > Text Editor > TypeScript > General) the "Automatic brace completion" option is grayed out. ![Automatic brace completion options grayed out](https://camo.githubusercontent.com/ab3ecd5bca0514280388f2229b66b868433c84ba6f10d5b415bfe6de8c4a4b5c/687474703a2f2f692e696d6775722e636f6d2f7249364d3151362e706e67) I was wondering why this is and if there is any way to turn this on. **Visual Studio Version** : _Visual Studio Express 2013 for Web v12.0.31101.00 Update 4_ **OS** : * _Windows 8.1_
1
* VSCode Version: 1.1.1 * OS Version: linux The list of default keyboard shortcuts does not include `alt+click` or any other `click` commands. Is it possible to rebind them?
On most Linux desktops `alt+click` will allow you drag a window by clicking anywhere over it. This conflicts with the multiple cursors binding. It's still possible to obtain multiple cursors with commands like `insertCursorAbove` or `insertCursorAtEndOfEachLineSelected`, but this affects multiple people, and it's already covered in some articles with a workaround (which I'm copying here for Gnome based systems: `gsettings set org.gnome.desktop.wm.preferences mouse-button-modifier "<Super>"` change `<Super>` with your preferred key ) It's also acknowledged in VScode's documentation that this shortcut might conflict even on Windows or Macosx... > Note: Your graphics card provider might overwrite these default shortcuts. So, fixing this for Linux users might also be useful elsewhere. For comparison, the Atom editor uses `ctrl+click` instead of `alt+click` for this shortcut. Rather than changing the default, making it customizable would already be a welcome improvement, but afaik unfortunately there's no way to change it. These are a couple of related default keybindings: { "key": "ctrl+shift+up", "command": "editor.action.insertCursorAbove", "when": "editorTextFocus" }, { "key": "shift+alt+up", "command": "editor.action.insertCursorAbove", "when": "editorTextFocus" } But since I cannot find any `editor.action.insertCursor` command, it seems that this option is lacking.
1
# Environment Windows build number: win10 1903(18362.239) Windows Terminal version (if applicable): 0.3.2142.0(from Microsoft Store) # Steps to reproduce Start this application and drag it somewhere # Expected behavior Nothing happened # Actual behavior this window got blank and can't be input ![image](https://user- images.githubusercontent.com/42114116/62412999-98d68780-b63c-11e9-9eaf-0784f6374089.png)
# Environment Windows build number: Microsoft Windows [Version 10.0.18362.267] Windows Terminal version (if applicable): 0.3.2142.0 Any other software? Ubuntu 18.04 running in WSL1 with zsh as the default shell. # Steps to reproduce `apt install sl lolcat` in case they are not installed yet. Then run `sl | lolcat` # Expected behavior A colorful steam locomotive runs over the screen and my productivity increases by 0.2 %. # Actual behavior ![image](https://user- images.githubusercontent.com/4571159/62558503-7a110480-b879-11e9-9cd6-d5096f8111c1.png) 🤷‍♂️ `sl` works on its own but when piped through `lolcat`, I only see hundreds of lines of colorful gibberish scrolling by.
0
According to the package doc, address without host specified should be allowed, e.g. `Dial("tcp", ":80")`. But an error `connectex: The requested address is not valid in its context` is returned on windows 10. Please answer these questions before submitting your issue. Thanks! 1. What version of Go are you using (`go version`)? $ go version go version go1.6 windows/amd64 1. What operating system and processor architecture are you using (`go env`)? $ go env set GOARCH=amd64 set GOBIN= set GOEXE=.exe set GOHOSTARCH=amd64 set GOHOSTOS=windows set GOOS=windows set GOPATH=C:/Users/taylorchu/go set GORACE= set GOROOT=C:\Go set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64 set GO15VENDOREXPERIMENT=1 set CC=gcc set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 set CXX=g++ set CGO_ENABLED=1 1. What did you do? http://play.golang.org/p/G8gttmZyvA 2. What did you expect to see? net.Dial without specifying host should cause no error. 1. What did you see instead? `connectex: The requested address is not valid in its context.`
What steps will reproduce the problem? run this program on windows package main import ( "log" "net" ) func dial() error { l, err := net.Listen("tcp", ":0") if err != nil { return err } go func() { c, err := l.Accept() if err != nil { return } c.Close() }() c, err := net.Dial("tcp", l.Addr().String()) if err != nil { return err } c.Close() return nil } func main() { err := dial() if err != nil { log.Fatal(err) } } What is the expected output? Should output noting. What do you see instead? 2013/08/30 16:43:22 dial tcp 0.0.0.0:1406: ConnectEx tcp: The format of the specified network name is invalid. Please use labels and text to provide additional information. The problem seems to be that l.Addr().String() returns '0.0.0.0', but connecting to that address is not allowed on windows. From http://msdn.microsoft.com/en-us/library/aa923167.aspx " ... If the address member of the structure specified by the name parameter is all zeroes, connect will return the error WSAEADDRNOTAVAIL. ..."
1
when I request http://tjw_161130192022480.company.qihuiwang.com/ return this: invalid hostname: tjw_161130192022480.company.qihuiwang.com, I don't know how to solve this question ! hlep me !
I have url with invalid hostname - it does not match IDNA standards. Scrapy fails with that. scrapy fetch "https://mediaworld_it_api2.frosmo.com/?method=products&products=[%22747190%22]" 2018-07-06 11:53:09 [scrapy.core.scraper] ERROR: Error downloading <GET https://mediaworld_it_api2.frosmo.com/?method=products&products=[%22747190%22]> Traceback (most recent call last): File "/home/pawel/.virtualenvs/scrapy/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1384, in _inlineCallbacks result = result.throwExceptionIntoGenerator(g) File "/home/pawel/.virtualenvs/scrapy/local/lib/python2.7/site-packages/twisted/python/failure.py", line 408, in throwExceptionIntoGenerator return g.throw(self.type, self.value, self.tb) File "/home/pawel/scrapy/scrapy/core/downloader/middleware.py", line 43, in process_request defer.returnValue((yield download_func(request=request,spider=spider))) File "/home/pawel//scrapy/scrapy/utils/defer.py", line 45, in mustbe_deferred result = f(*args, **kw) File "/home/pawel/scrapy/scrapy/core/downloader/handlers/__init__.py", line 65, in download_request return handler.download_request(request, spider) File "/home/pawel/scrapy/scrapy/core/downloader/handlers/http11.py", line 67, in download_request return agent.download_request(request) File "/home/pawelscrapy/scrapy/core/downloader/handlers/http11.py", line 331, in download_request method, to_bytes(url, encoding='ascii'), headers, bodyproducer) File "/home/pawel/.virtualenvs/scrapy/local/lib/python2.7/site-packages/twisted/web/client.py", line 1649, in request endpoint = self._getEndpoint(parsedURI) File "/home/pawel/.virtualenvs/scrapy/local/lib/python2.7/site-packages/twisted/web/client.py", line 1633, in _getEndpoint return self._endpointFactory.endpointForURI(uri) File "/home/pawel/.virtualenvs/scrapy/local/lib/python2.7/site-packages/twisted/web/client.py", line 1510, in endpointForURI uri.port) File "/home/pawel/scrapy/scrapy/core/downloader/contextfactory.py", line 59, in creatorForNetloc return ScrapyClientTLSOptions(hostname.decode("ascii"), self.getContext()) File "/home/pawel/.virtualenvs/scrapy/local/lib/python2.7/site-packages/twisted/internet/_sslverify.py", line 1152, in __init__ self._hostnameBytes = _idnaBytes(hostname) File "/home/pawel/.virtualenvs/scrapy/local/lib/python2.7/site-packages/twisted/internet/_idna.py", line 30, in _idnaBytes return idna.encode(text) File "/home/pawel/.virtualenvs/scrapy/local/lib/python2.7/site-packages/idna/core.py", line 355, in encode result.append(alabel(label)) File "/home/pawel/.virtualenvs/scrapy/local/lib/python2.7/site-packages/idna/core.py", line 265, in alabel raise IDNAError('The label {0} is not a valid A-label'.format(label)) IDNAError: The label mediaworld_it_api2 is not a valid A-label IDNA error is legitmate. This url https://mediaworld_it_api2.frosmo.com/?method=products&products=[%22747190%22] is not valid according to IDNA standard. In [1]: x = "https://mediaworld_it_api2.frosmo.com/?method=products&products=[%22747190%22]" In [2]: import idna In [3]: idna.encode(x) --------------------------------------------------------------------------- IDNAError Traceback (most recent call last) <ipython-input-3-c97070e17b57> in <module>() ----> 1 idna.encode(x) /home/pawel/.virtualenvs/scrapy/local/lib/python2.7/site-packages/idna/core.pyc in encode(s, strict, uts46, std3_rules, transitional) 353 trailing_dot = True 354 for label in labels: --> 355 result.append(alabel(label)) 356 if trailing_dot: 357 result.append(b'') /home/pawel/.virtualenvs/scrapy/local/lib/python2.7/site-packages/idna/core.pyc in alabel(label) 263 ulabel(label) 264 except IDNAError: --> 265 raise IDNAError('The label {0} is not a valid A-label'.format(label)) 266 if not valid_label_length(label): 267 raise IDNAError('Label too long') IDNAError: The label https://mediaworld_it_api2 is not a valid A-label How should scrapy handle this url? Should we download it regardless of validity?
1
### Describe the workflow you want to enable I Would like to enable `KBinsDiscretizer` to handle NaNs, in order to create bins representing missing values. This is a bit awkward for ordinal encoding, but makes a lot of sense for one hot encoding, where one can have a dummy variable for NaN values or simply set all dummis of a single feature to zero, meaning the feature value is missing. ### Describe your proposed solution A few tweaks in `fit`, `transform` and `inverse_transform` are enough to ensure this behaviour, without changing the current behaviour of the transformer. The new estimator has two new parameters in the constructor: `nan_handling`: {"handle","raise"}, defaults to "raise". defines the behaviour for hadling NaN. if "handle", the fit process will be performed excluding and the missing values of each column and the transform method will transform only not missing values and after that, a NaN bin is created (of index self.n_bins_ +1) `create_nan_dummy`: bool Only applicable if encode == "onehot". Defines whether a new dummy column is created for NaNs or if the dummies of a missing value for a given feature are all set to zero ### Describe alternatives you've considered, if relevant _No response_ ### Additional context I Have already implemented a solution for a project of mine. Just wanna know if this feature is intereseting for other people and if it makes sense to merge it into the main project.
Missing values, represented as NaN, could be treated as a separate category in discretization. This seems much more sensible to me than imputing the missing data then discretizing. In accordance with recent changes to other preprocessing, NaNs would simply be ignored in calculating `fit` statistics, and would be passed on to the encoder in `transform`. I can't recall if we're handling this sensibly in OneHotEncoder yet...
1
**Is this a request for help?** (If yes, you should use our troubleshooting guide and community support channels, see http://kubernetes.io/docs/troubleshooting/.): **What keywords did you search in Kubernetes issues before filing this one?** (If you have found any duplicates, you should instead reply there.): * * * **Is this a BUG REPORT or FEATURE REQUEST?** (choose one): **Kubernetes version** (use `kubectl version`): **Environment** : * **Cloud provider or hardware configuration** : * **OS** (e.g. from /etc/os-release): * **Kernel** (e.g. `uname -a`): * **Install tools** : * **Others** : **What happened** : **What you expected to happen** : **How to reproduce it** (as minimally and precisely as possible): **Anything else do we need to know** :
#27208 will require Docker to be version 1.9+. The current image, `e2e-node-coreos-stable20160531-image` is based on CoreOS 835.13.0 and thus has docker v1.8.3. An update to the current stable or alpha CoreOS image should unblock #27208. The process used to be roughly documented here (and further down on the same page). Validate with `export IMAGES=myimage; export IMAGE_PROJECT=my-project; make test_e2e_node REMOTE=true`. I'll get to this when I have spare cycles, but if someone wants to do it sooner that would be awesome too! cc @yifan-gu @aaronlevy @tmrts if any of you feel like tackling it. cc @pwittrock @vishh as well
0
I know that this issue has been discussed many times before, and that it depends on Chromium integrating support for it. However, maybe there can be an easy workaround? For example: track a force touch on the entire window rather than on a specific element, and have Electron fire events when it is detected?
I'd like Electron to support Force Touch mainly for what is described here : atom/atom#11776. API should have function to receive Force Click/levels of pressure and to send Force Feedback.
1
Tried fresh new build with Dart v1.10.1, Node v0.12.4 and deleted `node_modules`. After `npm install` and `gulp build` I get following stack trace (WARNING: really long stack trace): sekibomazic@Sekibs-MBP ~/D/p/a/angular> gulp build Dart SDK detected [13:18:42] Using gulpfile ~/Documents/projects/angular2/angular/gulpfile.js [13:18:42] Starting 'build/clean.js'... [13:18:42] Starting 'build/clean.tools'... [13:18:42] Finished 'build/clean.tools' after 1.03 ms [13:18:42] Starting 'build.tools'... [13:18:42] Starting '!build.tools'... [13:18:42] Starting 'build.dart'... [13:18:42] Starting 'build/packages.dart'... [13:18:42] Starting 'build/clean.dart'... [13:18:42] Starting 'build/clean.tools'... [13:18:42] Finished 'build/clean.tools' after 127 μs [13:18:42] Finished 'build/clean.js' after 125 ms [13:18:42] Starting 'build.js.dev'... [13:18:42] Starting 'build/clean.tools'... [13:18:42] Finished 'build/clean.tools' after 100 μs [13:18:42] Finished 'build/clean.dart' after 6.84 ms [13:18:46] Finished '!build.tools' after 3.23 s [13:18:46] Finished 'build.tools' after 3.23 s [13:18:46] Starting 'broccoli.js.dev'... [13:18:46] Starting '!broccoli.js.dev'... [13:18:46] Starting 'build/tree.dart'... [13:18:46] Starting '!build/tree.dart'... [13:18:46] Starting 'build.js.prod'... [13:18:46] Starting 'build.js.cjs'... [13:18:46] Starting '!build.js.cjs'... Tree diff: DiffingTraceurCompiler, 38ms, 57 changes (files: 57, dirs: 180) Tree diff: TSToDartTranspiler, 29ms, 411 changes (files: 411, dirs: 211) Tree diff: DiffingTraceurCompiler, 45ms, 66 changes (files: 66, dirs: 232) Tree diff: DiffingTraceurCompiler, 27ms, 66 changes (files: 66, dirs: 232) Tree diff: DartFormatter, 31ms, 565 changes (files: 565, dirs: 202) Tree diff: DiffingTSCompiler, 32ms, 345 changes (files: 345, dirs: 232) Tree diff: DiffingTSCompiler, 44ms, 345 changes (files: 345, dirs: 232) Tree diff: DiffingTSCompiler, 24ms, 307 changes (files: 307, dirs: 180) /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/typescript/bin/lib.d.ts (14357,5): Duplicate identifier 'clientX'. /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/typescript/bin/lib.d.ts (14358,5): Duplicate identifier 'clientY'. /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/typescript/bin/lib.d.ts (14359,5): Duplicate identifier 'identifier'. /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/typescript/bin/lib.d.ts (14360,5): Duplicate identifier 'pageX'. /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/typescript/bin/lib.d.ts (14361,5): Duplicate identifier 'pageY'. /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/typescript/bin/lib.d.ts (14362,5): Duplicate identifier 'screenX'. /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/typescript/bin/lib.d.ts (14363,5): Duplicate identifier 'screenY'. /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/typescript/bin/lib.d.ts (14364,5): Duplicate identifier 'target'. /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/typescript/bin/lib.d.ts (14373,5): Duplicate identifier 'altKey'. /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/typescript/bin/lib.d.ts (14374,5): Duplicate identifier 'changedTouches'. /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/typescript/bin/lib.d.ts (14375,5): Duplicate identifier 'ctrlKey'. /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/typescript/bin/lib.d.ts (14376,5): Duplicate identifier 'metaKey'. /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/typescript/bin/lib.d.ts (14377,5): Duplicate identifier 'shiftKey'. /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/typescript/bin/lib.d.ts (14378,5): Duplicate identifier 'targetTouches'. /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/typescript/bin/lib.d.ts (14379,5): Duplicate identifier 'touches'. /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/typescript/bin/lib.d.ts (14388,5): Duplicate identifier 'length'. /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/typescript/bin/lib.d.ts (14389,5): Duplicate identifier 'item'. angular2/typings/touch-events/touch-events.d.ts (7,5): Duplicate identifier 'touches'. angular2/typings/touch-events/touch-events.d.ts (8,5): Duplicate identifier 'targetTouches'. angular2/typings/touch-events/touch-events.d.ts (9,5): Duplicate identifier 'changedTouches'. angular2/typings/touch-events/touch-events.d.ts (10,5): Duplicate identifier 'altKey'. angular2/typings/touch-events/touch-events.d.ts (11,5): Duplicate identifier 'metaKey'. angular2/typings/touch-events/touch-events.d.ts (12,5): Duplicate identifier 'ctrlKey'. angular2/typings/touch-events/touch-events.d.ts (13,5): Duplicate identifier 'shiftKey'. angular2/typings/touch-events/touch-events.d.ts (17,5): Duplicate identifier 'length'. angular2/typings/touch-events/touch-events.d.ts (18,5): Duplicate identifier 'item'. angular2/typings/touch-events/touch-events.d.ts (19,5): Duplicate number index signature. angular2/typings/touch-events/touch-events.d.ts (23,5): Duplicate identifier 'identifier'. angular2/typings/touch-events/touch-events.d.ts (24,5): Duplicate identifier 'target'. angular2/typings/touch-events/touch-events.d.ts (25,5): Duplicate identifier 'screenX'. angular2/typings/touch-events/touch-events.d.ts (26,5): Duplicate identifier 'screenY'. angular2/typings/touch-events/touch-events.d.ts (27,5): Duplicate identifier 'clientX'. angular2/typings/touch-events/touch-events.d.ts (28,5): Duplicate identifier 'clientY'. angular2/typings/touch-events/touch-events.d.ts (29,5): Duplicate identifier 'pageX'. angular2/typings/touch-events/touch-events.d.ts (30,5): Duplicate identifier 'pageY'. Error: [DiffingTSCompiler]: Typescript found errors listed above... Error: [DiffingTSCompiler]: Typescript found errors listed above... at DiffingTSCompiler.doFullBuild (/Users/sekibomazic/Documents/projects/angular2/angular/broccoli-typescript.ts:145:15) at DiffingTSCompiler.rebuild (/Users/sekibomazic/Documents/projects/angular2/angular/broccoli-typescript.ts:76:12) at DiffingPluginWrapper.rebuild (/Users/sekibomazic/Documents/projects/angular2/angular/diffing-broccoli-plugin.ts:72:47) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/lib/api_compat.js:42:21 at lib$rsvp$$internal$$tryCatch (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:489:16) at lib$rsvp$$internal$$invokeCallback (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:501:17) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:1095:13 at lib$rsvp$asap$$flush (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:1290:9) at process._tickCallback (node.js:355:11) [13:19:15] '!build.js.cjs' errored after 29 s [13:19:15] Error: [DiffingTSCompiler]: Typescript found errors listed above... at DiffingTSCompiler.doFullBuild (/Users/sekibomazic/Documents/projects/angular2/angular/broccoli-typescript.ts:145:15) at DiffingTSCompiler.rebuild (/Users/sekibomazic/Documents/projects/angular2/angular/broccoli-typescript.ts:76:12) at DiffingPluginWrapper.rebuild (/Users/sekibomazic/Documents/projects/angular2/angular/diffing-broccoli-plugin.ts:72:47) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/lib/api_compat.js:42:21 at lib$rsvp$$internal$$tryCatch (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:489:16) at lib$rsvp$$internal$$invokeCallback (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:501:17) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:1095:13 at lib$rsvp$asap$$flush (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:1290:9) at process._tickCallback (node.js:355:11) [13:19:15] 'build.dart' errored after 33 s [13:19:15] Error: [object Object] at formatError (/usr/local/lib/node_modules/gulp/bin/gulp.js:169:10) at Gulp.<anonymous> (/usr/local/lib/node_modules/gulp/bin/gulp.js:195:15) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:45:4 at lib$rsvp$$internal$$tryCatch (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:489:16) at lib$rsvp$$internal$$invokeCallback (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:501:17) at lib$rsvp$$internal$$publish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:472:11) at lib$rsvp$$internal$$publishRejection (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:415:7) at lib$rsvp$asap$$flush (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:1290:9) at process._tickCallback (node.js:355:11) [13:19:15] 'build/packages.dart' errored after 33 s [13:19:15] Error: [object Object] at formatError (/usr/local/lib/node_modules/gulp/bin/gulp.js:169:10) at Gulp.<anonymous> (/usr/local/lib/node_modules/gulp/bin/gulp.js:195:15) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:45:4 at lib$rsvp$$internal$$tryCatch (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:489:16) at lib$rsvp$$internal$$invokeCallback (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:501:17) at lib$rsvp$$internal$$publish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:472:11) at lib$rsvp$$internal$$publishRejection (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:415:7) at lib$rsvp$asap$$flush (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:1290:9) at process._tickCallback (node.js:355:11) [13:19:15] 'build.js.dev' errored after 33 s [13:19:15] Error: [object Object] at formatError (/usr/local/lib/node_modules/gulp/bin/gulp.js:169:10) at Gulp.<anonymous> (/usr/local/lib/node_modules/gulp/bin/gulp.js:195:15) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:45:4 at lib$rsvp$$internal$$tryCatch (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:489:16) at lib$rsvp$$internal$$invokeCallback (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:501:17) at lib$rsvp$$internal$$publish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:472:11) at lib$rsvp$$internal$$publishRejection (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:415:7) at lib$rsvp$asap$$flush (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:1290:9) at process._tickCallback (node.js:355:11) [13:19:15] 'broccoli.js.dev' errored after 30 s [13:19:15] Error: [object Object] at formatError (/usr/local/lib/node_modules/gulp/bin/gulp.js:169:10) at Gulp.<anonymous> (/usr/local/lib/node_modules/gulp/bin/gulp.js:195:15) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:45:4 at lib$rsvp$$internal$$tryCatch (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:489:16) at lib$rsvp$$internal$$invokeCallback (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:501:17) at lib$rsvp$$internal$$publish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:472:11) at lib$rsvp$$internal$$publishRejection (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:415:7) at lib$rsvp$asap$$flush (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:1290:9) at process._tickCallback (node.js:355:11) [13:19:15] 'build/tree.dart' errored after 30 s [13:19:15] Error: [object Object] at formatError (/usr/local/lib/node_modules/gulp/bin/gulp.js:169:10) at Gulp.<anonymous> (/usr/local/lib/node_modules/gulp/bin/gulp.js:195:15) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:45:4 at lib$rsvp$$internal$$tryCatch (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:489:16) at lib$rsvp$$internal$$invokeCallback (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:501:17) at lib$rsvp$$internal$$publish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:472:11) at lib$rsvp$$internal$$publishRejection (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:415:7) at lib$rsvp$asap$$flush (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:1290:9) at process._tickCallback (node.js:355:11) [13:19:15] 'build.js.cjs' errored after 29 s [13:19:15] Error: [object Object] at formatError (/usr/local/lib/node_modules/gulp/bin/gulp.js:169:10) at Gulp.<anonymous> (/usr/local/lib/node_modules/gulp/bin/gulp.js:195:15) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:45:4 at lib$rsvp$$internal$$tryCatch (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:489:16) at lib$rsvp$$internal$$invokeCallback (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:501:17) at lib$rsvp$$internal$$publish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:472:11) at lib$rsvp$$internal$$publishRejection (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:415:7) at lib$rsvp$asap$$flush (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:1290:9) at process._tickCallback (node.js:355:11) [13:19:15] 'build.js.cjs' errored after 30 s [13:19:15] Error: [object Object] at formatError (/usr/local/lib/node_modules/gulp/bin/gulp.js:169:10) at Gulp.<anonymous> (/usr/local/lib/node_modules/gulp/bin/gulp.js:195:15) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:45:4 at lib$rsvp$$internal$$tryCatch (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:489:16) at lib$rsvp$$internal$$invokeCallback (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:501:17) at lib$rsvp$$internal$$publish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:472:11) at lib$rsvp$$internal$$publishRejection (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:415:7) at lib$rsvp$asap$$flush (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:1290:9) at process._tickCallback (node.js:355:11) [13:19:15] 'build/tree.dart' errored after 30 s [13:19:15] Error: [object Object] at formatError (/usr/local/lib/node_modules/gulp/bin/gulp.js:169:10) at Gulp.<anonymous> (/usr/local/lib/node_modules/gulp/bin/gulp.js:195:15) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:45:4 at lib$rsvp$$internal$$tryCatch (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:489:16) at lib$rsvp$$internal$$invokeCallback (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:501:17) at lib$rsvp$$internal$$publish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:472:11) at lib$rsvp$$internal$$publishRejection (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:415:7) at lib$rsvp$asap$$flush (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:1290:9) at process._tickCallback (node.js:355:11) [13:19:15] 'build.js.cjs' errored after 30 s [13:19:15] Error: [object Object] at formatError (/usr/local/lib/node_modules/gulp/bin/gulp.js:169:10) at Gulp.<anonymous> (/usr/local/lib/node_modules/gulp/bin/gulp.js:195:15) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:45:4 at lib$rsvp$$internal$$tryCatch (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:489:16) at lib$rsvp$$internal$$invokeCallback (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:501:17) at lib$rsvp$$internal$$publish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:472:11) at lib$rsvp$$internal$$publishRejection (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:415:7) at lib$rsvp$asap$$flush (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:1290:9) at process._tickCallback (node.js:355:11) [13:19:15] 'broccoli.js.dev' errored after 30 s [13:19:15] Error: [object Object] at formatError (/usr/local/lib/node_modules/gulp/bin/gulp.js:169:10) at Gulp.<anonymous> (/usr/local/lib/node_modules/gulp/bin/gulp.js:195:15) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:45:4 at lib$rsvp$$internal$$tryCatch (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:489:16) at lib$rsvp$$internal$$invokeCallback (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:501:17) at lib$rsvp$$internal$$publish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:472:11) at lib$rsvp$$internal$$publishRejection (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:415:7) at lib$rsvp$asap$$flush (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:1290:9) at process._tickCallback (node.js:355:11) [13:19:15] 'build/tree.dart' errored after 30 s [13:19:15] Error: [object Object] at formatError (/usr/local/lib/node_modules/gulp/bin/gulp.js:169:10) at Gulp.<anonymous> (/usr/local/lib/node_modules/gulp/bin/gulp.js:195:15) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:45:4 at lib$rsvp$$internal$$tryCatch (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:489:16) at lib$rsvp$$internal$$invokeCallback (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:501:17) at lib$rsvp$$internal$$publish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:472:11) at lib$rsvp$$internal$$publishRejection (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:415:7) at lib$rsvp$asap$$flush (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:1290:9) at process._tickCallback (node.js:355:11) [13:19:15] 'build.js.cjs' errored after 30 s [13:19:15] Error: [object Object] at formatError (/usr/local/lib/node_modules/gulp/bin/gulp.js:169:10) at Gulp.<anonymous> (/usr/local/lib/node_modules/gulp/bin/gulp.js:195:15) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:45:4 at lib$rsvp$$internal$$tryCatch (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:489:16) at lib$rsvp$$internal$$invokeCallback (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:501:17) at lib$rsvp$$internal$$publish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:472:11) at lib$rsvp$$internal$$publishRejection (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:415:7) at lib$rsvp$asap$$flush (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:1290:9) at process._tickCallback (node.js:355:11) [13:19:15] 'build.js.dev' errored after 33 s [13:19:15] Error: [object Object] at formatError (/usr/local/lib/node_modules/gulp/bin/gulp.js:169:10) at Gulp.<anonymous> (/usr/local/lib/node_modules/gulp/bin/gulp.js:195:15) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:45:4 at lib$rsvp$$internal$$tryCatch (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:489:16) at lib$rsvp$$internal$$invokeCallback (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:501:17) at lib$rsvp$$internal$$publish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:472:11) at lib$rsvp$$internal$$publishRejection (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:415:7) at lib$rsvp$asap$$flush (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:1290:9) at process._tickCallback (node.js:355:11) [13:19:15] 'broccoli.js.dev' errored after 30 s [13:19:15] Error: [object Object] at formatError (/usr/local/lib/node_modules/gulp/bin/gulp.js:169:10) at Gulp.<anonymous> (/usr/local/lib/node_modules/gulp/bin/gulp.js:195:15) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:45:4 at lib$rsvp$$internal$$tryCatch (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:489:16) at lib$rsvp$$internal$$invokeCallback (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:501:17) at lib$rsvp$$internal$$publish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:472:11) at lib$rsvp$$internal$$publishRejection (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:415:7) at lib$rsvp$asap$$flush (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:1290:9) at process._tickCallback (node.js:355:11) [13:19:15] 'build/tree.dart' errored after 30 s [13:19:15] Error: [object Object] at formatError (/usr/local/lib/node_modules/gulp/bin/gulp.js:169:10) at Gulp.<anonymous> (/usr/local/lib/node_modules/gulp/bin/gulp.js:195:15) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:45:4 at lib$rsvp$$internal$$tryCatch (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:489:16) at lib$rsvp$$internal$$invokeCallback (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:501:17) at lib$rsvp$$internal$$publish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:472:11) at lib$rsvp$$internal$$publishRejection (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:415:7) at lib$rsvp$asap$$flush (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:1290:9) at process._tickCallback (node.js:355:11) [13:19:15] 'build.js.cjs' errored after 30 s [13:19:15] Error: [object Object] at formatError (/usr/local/lib/node_modules/gulp/bin/gulp.js:169:10) at Gulp.<anonymous> (/usr/local/lib/node_modules/gulp/bin/gulp.js:195:15) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:45:4 at lib$rsvp$$internal$$tryCatch (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:489:16) at lib$rsvp$$internal$$invokeCallback (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:501:17) at lib$rsvp$$internal$$publish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:472:11) at lib$rsvp$$internal$$publishRejection (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:415:7) at lib$rsvp$asap$$flush (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:1290:9) at process._tickCallback (node.js:355:11) [13:19:15] 'build/packages.dart' errored after 33 s [13:19:15] Error: [object Object] at formatError (/usr/local/lib/node_modules/gulp/bin/gulp.js:169:10) at Gulp.<anonymous> (/usr/local/lib/node_modules/gulp/bin/gulp.js:195:15) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:45:4 at lib$rsvp$$internal$$tryCatch (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:489:16) at lib$rsvp$$internal$$invokeCallback (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:501:17) at lib$rsvp$$internal$$publish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:472:11) at lib$rsvp$$internal$$publishRejection (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:415:7) at lib$rsvp$asap$$flush (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:1290:9) at process._tickCallback (node.js:355:11) [13:19:15] 'build.js.dev' errored after 33 s [13:19:15] Error: [object Object] at formatError (/usr/local/lib/node_modules/gulp/bin/gulp.js:169:10) at Gulp.<anonymous> (/usr/local/lib/node_modules/gulp/bin/gulp.js:195:15) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:45:4 at lib$rsvp$$internal$$tryCatch (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:489:16) at lib$rsvp$$internal$$invokeCallback (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:501:17) at lib$rsvp$$internal$$publish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:472:11) at lib$rsvp$$internal$$publishRejection (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:415:7) at lib$rsvp$asap$$flush (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:1290:9) at process._tickCallback (node.js:355:11) [13:19:15] 'broccoli.js.dev' errored after 30 s [13:19:15] Error: [object Object] at formatError (/usr/local/lib/node_modules/gulp/bin/gulp.js:169:10) at Gulp.<anonymous> (/usr/local/lib/node_modules/gulp/bin/gulp.js:195:15) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:45:4 at lib$rsvp$$internal$$tryCatch (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:489:16) at lib$rsvp$$internal$$invokeCallback (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:501:17) at lib$rsvp$$internal$$publish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:472:11) at lib$rsvp$$internal$$publishRejection (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:415:7) at lib$rsvp$asap$$flush (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:1290:9) at process._tickCallback (node.js:355:11) [13:19:15] 'build/tree.dart' errored after 30 s [13:19:15] Error: [object Object] at formatError (/usr/local/lib/node_modules/gulp/bin/gulp.js:169:10) at Gulp.<anonymous> (/usr/local/lib/node_modules/gulp/bin/gulp.js:195:15) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:45:4 at lib$rsvp$$internal$$tryCatch (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:489:16) at lib$rsvp$$internal$$invokeCallback (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:501:17) at lib$rsvp$$internal$$publish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:472:11) at lib$rsvp$$internal$$publishRejection (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:415:7) at lib$rsvp$asap$$flush (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:1290:9) at process._tickCallback (node.js:355:11) [13:19:15] 'build.js.cjs' errored after 30 s [13:19:15] Error: [object Object] at formatError (/usr/local/lib/node_modules/gulp/bin/gulp.js:169:10) at Gulp.<anonymous> (/usr/local/lib/node_modules/gulp/bin/gulp.js:195:15) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at cb (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:53:5) at Gulp.onError (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/run-sequence/index.js:60:4) at Gulp.emit (events.js:129:20) at Gulp.Orchestrator._emitTaskDone (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:264:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/index.js:275:23 at finish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) at /Users/sekibomazic/Documents/projects/angular2/angular/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:45:4 at lib$rsvp$$internal$$tryCatch (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:489:16) at lib$rsvp$$internal$$invokeCallback (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:501:17) at lib$rsvp$$internal$$publish (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:472:11) at lib$rsvp$$internal$$publishRejection (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:415:7) at lib$rsvp$asap$$flush (/Users/sekibomazic/Documents/projects/angular2/angular/node_modules/broccoli/node_modules/rsvp/dist/rsvp.js:1290:9) at process._tickCallback (node.js:355:11) Tree diff: DiffingTraceurCompiler, 58ms, 411 changes (files: 411, dirs: 127) Tree diff: DiffingTraceurCompiler, 48ms, 411 changes (files: 411, dirs: 127) Tree diff: DestCopy, 93ms, 2272 changes (files: 2272, dirs: 260) Tree diff: DestCopy, 231ms, 2272 changes (files: 2272, dirs: 260) Slowest Trees | Total ----------------------------------------------+--------------------- DiffingTraceurCompiler | 13255ms DiffingTSCompiler | 13076ms Funnel | 8243ms TreeMerger | 4742ms DestCopy | 2835ms Slowest Trees (cumulative) | Total (avg) ----------------------------------------------+--------------------- DiffingTraceurCompiler (2) | 14659ms (7329 ms) DiffingTSCompiler (1) | 13076ms Funnel (69) | 9457ms (137 ms) TreeMerger (7) | 6851ms (978 ms) DestCopy (1) | 2835ms Slowest Trees | Total ----------------------------------------------+--------------------- DiffingTraceurCompiler | 13255ms DiffingTSCompiler | 13076ms Funnel | 8243ms TreeMerger | 4742ms DestCopy | 2835ms Slowest Trees (cumulative) | Total (avg) ----------------------------------------------+--------------------- DiffingTraceurCompiler (2) | 14659ms (7329 ms) DiffingTSCompiler (1) | 13076ms Funnel (69) | 9457ms (137 ms) TreeMerger (7) | 6852ms (978 ms) DestCopy (1) | 2835ms [13:19:34] Finished '!broccoli.js.dev' after 48 s [13:19:34] Finished 'build.js.prod' after 48 s Tree diff: DestCopy, 46ms, 756 changes (files: 756, dirs: 265) Slowest Trees | Total ----------------------------------------------+--------------------- DartFormatter | 40912ms TSToDartTranspiler | 4199ms Slowest Trees (cumulative) | Total (avg) ----------------------------------------------+--------------------- DartFormatter (1) | 40912ms TSToDartTranspiler (1) | 4199ms [13:19:35] Finished '!build/tree.dart' after 49 s [13:19:35] Starting 'cleanup.builder'... The `dist/js` gets updated though.
**I'm submitting a ...** (check one with "x") [x ] bug report [ ] feature request [ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question **Current behavior** The quick start guide is missing the Styles.css file. This file is referenced but no where in the "walkthrough" is it described. I got it from the Plunker version of the demo. **Expected/desired behavior** The Styles.css file should be created as one of the steps of the walkthrough. **Reproduction of the problem** Just walk through the walkthrough steps and the browser will throw an error due to its inability to find the referenced Styles.css file (referenced in Index.html) **What is the expected behavior?** The file should simply exist and no error should be thrown. **What is the motivation / use case for changing the behavior?** ... **Please tell us about your environment:** Any * **Angular version:** 2.0.0-rc.X * **Browser:** [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ] * **Language:** [all | TypeScript X.X | ES6/7 | ES5 | Dart]
0
* I have searched the issues of this repository and believe that this is not a duplicate. * I have checked the FAQ of this repository and believe that this is not a duplicate. ### Environment * Dubbo version: 2.7.x * Operating System version: OSX 10.14 * Java version: 1.8 ### Steps to reproduce this issue @Test public void testGenericAsyncInvoke() throws InterruptedException, ExecutionException { HttpServiceImpl server = new HttpServiceImpl(); Assertions.assertFalse(server.isCalled()); ProxyFactory proxyFactory = ExtensionLoader.getExtensionLoader(ProxyFactory.class).getAdaptiveExtension(); Protocol protocol = ExtensionLoader.getExtensionLoader(Protocol.class).getAdaptiveExtension(); int port = NetUtils.getAvailablePort(); URL url = URL.valueOf("http://127.0.0.1:" + port + "/" + HttpService.class.getName() + "?release=2.7.0"); Exporter<HttpService> exporter = protocol.export(proxyFactory.getInvoker(server, HttpService.class, url)); Invoker<GenericService> invoker = protocol.refer(GenericService.class, url); GenericService client = proxyFactory.getProxy(invoker, true); CompletableFuture future = client.$invokeAsync("sayHello", new String[]{"java.lang.String"}, new Object[]{"haha"}); Assertions.assertTrue(server.isCalled()); Assertions.assertEquals("Hello, haha", future.get()); invoker.destroy(); exporter.unexport(); } Pls. provide [GitHub address] to reproduce this issue. ### Expected Result Test passed ### Actual Result 警告: Error in JSON-RPC Service java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.googlecode.jsonrpc4j.JsonRpcBasicServer.invoke(JsonRpcBasicServer.java:491) at com.googlecode.jsonrpc4j.JsonRpcBasicServer.handleObject(JsonRpcBasicServer.java:347) at com.googlecode.jsonrpc4j.JsonRpcBasicServer.handleNode(JsonRpcBasicServer.java:242) at com.googlecode.jsonrpc4j.JsonRpcBasicServer.handle(JsonRpcBasicServer.java:178) at org.apache.dubbo.rpc.protocol.http.HttpProtocol$InternalHandler.handle(HttpProtocol.java:94) at org.apache.dubbo.remoting.http.servlet.DispatcherServlet.service(DispatcherServlet.java:61) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:865) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1317) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1219) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.Server.handle(Server.java:531) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:352) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:281) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102) at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:762) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:680) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.concurrent.CompletableFuture at org.apache.dubbo.common.bytecode.proxy0.$invokeAsync(proxy0.java) ... 33 more java.util.concurrent.ExecutionException: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.concurrent.CompletableFuture at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357) at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1895) at org.apache.dubbo.rpc.protocol.dubbo.FutureAdapter.get(FutureAdapter.java:79) at org.apache.dubbo.rpc.protocol.http.HttpProtocolTest.testGenericAsyncInvoke(HttpProtocolTest.java:108) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:686) at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:205) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:201) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:137) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:71) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:135) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:125) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:135) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:123) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:122) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:80) at java.util.ArrayList.forEach(ArrayList.java:1257) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:125) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:135) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:123) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:122) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:80) at java.util.ArrayList.forEach(ArrayList.java:1257) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:125) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:135) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:123) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:122) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:80) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:248) at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$5(DefaultLauncher.java:211) at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:226) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:199) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:132) at com.intellij.junit5.JUnit5IdeaTestRunner.startRunnerWithArgs(JUnit5IdeaTestRunner.java:69) at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47) at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242) at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70) Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.concurrent.CompletableFuture at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at com.googlecode.jsonrpc4j.DefaultExceptionResolver.createThrowable(DefaultExceptionResolver.java:162) at com.googlecode.jsonrpc4j.DefaultExceptionResolver.resolveException(DefaultExceptionResolver.java:82) at com.googlecode.jsonrpc4j.JsonRpcClient.readResponse(JsonRpcClient.java:345) at com.googlecode.jsonrpc4j.JsonRpcClient.readResponse(JsonRpcClient.java:285) at com.googlecode.jsonrpc4j.JsonRpcHttpClient.invoke(JsonRpcHttpClient.java:161) at com.googlecode.jsonrpc4j.spring.JsonProxyFactoryBean.invoke(JsonProxyFactoryBean.java:136) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213) at com.sun.proxy.$Proxy13.$invokeAsync(Unknown Source) at org.apache.dubbo.common.bytecode.Wrapper1.invokeMethod(Wrapper1.java) at org.apache.dubbo.rpc.proxy.javassist.JavassistProxyFactory$1.doInvoke(JavassistProxyFactory.java:47) at org.apache.dubbo.rpc.proxy.AbstractProxyInvoker.invoke(AbstractProxyInvoker.java:84) at org.apache.dubbo.rpc.protocol.AbstractProxyProtocol$2.doInvoke(AbstractProxyProtocol.java:113) at org.apache.dubbo.rpc.protocol.AbstractInvoker.invoke(AbstractInvoker.java:163) at org.apache.dubbo.rpc.protocol.AsyncToSyncInvoker.invoke(AsyncToSyncInvoker.java:52) at org.apache.dubbo.rpc.listener.ListenerInvokerWrapper.invoke(ListenerInvokerWrapper.java:78) at org.apache.dubbo.rpc.filter.ConsumerContextFilter.invoke(ConsumerContextFilter.java:69) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:83) at org.apache.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:74) at org.apache.dubbo.common.bytecode.proxy1.$invokeAsync(proxy1.java) at org.apache.dubbo.rpc.protocol.http.HttpProtocolTest.testGenericAsyncInvoke(HttpProtocolTest.java:106) ... 63 more
* [ ☑️] I have searched the issues of this repository and believe that this is not a duplicate. * [ ☑️] I have checked the FAQ of this repository and believe that this is not a duplicate. ### Environment * Dubbo version: 2.7.3~2.7.5 * Operating System version: MacOS * Java version: 1.8 ### Steps to reproduce this issue 1. 工程分4个子模块 api、common、consumer、provider 2. 自定义异常、状态码定义在common模块 3. 定义了两类自定义异常,一个BaseException直接继承RuntimeException;一个BaseRpcException继承RpcException。 4. 具体查看以下提供的示例工程 Pls. provide [GitHub address] to reproduce this issue. https://github.com/mbc3320/dubbo-demo-custom-exception.git ### Expected Result consumer端能正常序列化自定义异常并正确抛出 What do you expected from the above steps? ### Actual Result provider端抛出DemoException、DemoRpcException自定义异常,consumer端俘获并处理异常,测试了4种方式,都存在不同程度的问题 (1)继承BaseException的异常,方法不签名抛出异常类型,consumer端会直接序列化为RuntimeException,consumer只会调用一次Provider (2)继承BaseException的异常,方法签名抛出BaseException,会序列化为RuntimeException,consumer只会调用一次Provider (3)继承BaseException的异常,方法签名抛出DemoException,报空指针且序列化失败,consumer会调用三次Provider (4)继承BaseRpcException的异常,方法不签名抛出异常类型,报空指针且序列化失败,consumer会调用三次Provider (5)如果dubbo.provider.filter设置了- exception,则所有以上情况,结果都会跟(4)一样,报空指针且序列化失败,consumer会调用三次Provider ![image](https://user- images.githubusercontent.com/5523726/75736696-dcab7f80-5d38-11ea-8449-3c5bec4143b9.png) What actually happens? If there is an exception, please attach the exception trace: Caused by: org.apache.dubbo.remoting.RemotingException: com.alibaba.com.caucho.hessian.io.HessianProtocolException: 'cn.c3p0.cloud.demo1.exception.DemoRpcException' could not be instantiated com.alibaba.com.caucho.hessian.io.HessianProtocolException: 'cn.c3p0.cloud.demo1.exception.DemoRpcException' could not be instantiated at com.alibaba.com.caucho.hessian.io.JavaDeserializer.instantiate(JavaDeserializer.java:316) at com.alibaba.com.caucho.hessian.io.JavaDeserializer.readObject(JavaDeserializer.java:201) at com.alibaba.com.caucho.hessian.io.SerializerFactory.readObject(SerializerFactory.java:536) at com.alibaba.com.caucho.hessian.io.Hessian2Input.readObjectInstance(Hessian2Input.java:2820) at com.alibaba.com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input.java:2743) at com.alibaba.com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input.java:2278) at com.alibaba.com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input.java:2717) at com.alibaba.com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input.java:2278) at org.apache.dubbo.common.serialize.hessian2.Hessian2ObjectInput.readObject(Hessian2ObjectInput.java:85) at org.apache.dubbo.common.serialize.ObjectInput.readThrowable(ObjectInput.java:75) at org.apache.dubbo.rpc.protocol.dubbo.DecodeableRpcResult.handleException(DecodeableRpcResult.java:151) at org.apache.dubbo.rpc.protocol.dubbo.DecodeableRpcResult.decode(DecodeableRpcResult.java:97) at org.apache.dubbo.rpc.protocol.dubbo.DecodeableRpcResult.decode(DecodeableRpcResult.java:113) at org.apache.dubbo.remoting.transport.DecodeHandler.decode(DecodeHandler.java:57) at org.apache.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:48) at org.apache.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:57) at org.apache.dubbo.common.threadpool.ThreadlessExecutor.waitAndDrain(ThreadlessExecutor.java:77) at org.apache.dubbo.rpc.AsyncRpcResult.get(AsyncRpcResult.java:175) at org.apache.dubbo.rpc.protocol.AsyncToSyncInvoker.invoke(AsyncToSyncInvoker.java:61) at org.apache.dubbo.rpc.listener.ListenerInvokerWrapper.invoke(ListenerInvokerWrapper.java:78) at org.apache.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:89) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81) at org.apache.dubbo.rpc.protocol.dubbo.filter.FutureFilter.invoke(FutureFilter.java:49) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81) at org.apache.dubbo.rpc.filter.ConsumerContextFilter.invoke(ConsumerContextFilter.java:55) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81) at org.apache.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:56) at org.apache.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:82) at org.apache.dubbo.rpc.cluster.support.AbstractClusterInvoker.invoke(AbstractClusterInvoker.java:255) at org.apache.dubbo.rpc.cluster.interceptor.ClusterInterceptor.intercept(ClusterInterceptor.java:47) at org.apache.dubbo.rpc.cluster.support.wrapper.AbstractCluster$InterceptorInvokerNode.invoke(AbstractCluster.java:92) at org.apache.dubbo.rpc.cluster.support.wrapper.MockClusterInvoker.invoke(MockClusterInvoker.java:78) at org.apache.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:60) at org.apache.dubbo.common.bytecode.proxy0.testRpcException(proxy0.java) at cn.c3p0.cloud.demo1.endpoint.DemoController.test(DemoController.java:45) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:106) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:888) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:793) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898) at javax.servlet.http.HttpServlet.service(HttpServlet.java:634) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:367) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1639) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at com.alibaba.com.caucho.hessian.io.JavaDeserializer.instantiate(JavaDeserializer.java:312) ... 84 more Caused by: java.lang.NullPointerException at cn.c3p0.cloud.demo1.exception.BaseRpcException.<init>(BaseRpcException.java:11) at cn.c3p0.cloud.demo1.exception.DemoRpcException.<init>(DemoRpcException.java:8) ... 89 more at org.apache.dubbo.remoting.exchange.support.DefaultFuture.doReceived(DefaultFuture.java:212) ~[dubbo-2.7.5.jar:2.7.5] at org.apache.dubbo.remoting.exchange.support.DefaultFuture.received(DefaultFuture.java:175) ~[dubbo-2.7.5.jar:2.7.5] at org.apache.dubbo.remoting.exchange.support.DefaultFuture.received(DefaultFuture.java:163) ~[dubbo-2.7.5.jar:2.7.5] at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleResponse(HeaderExchangeHandler.java:60) ~[dubbo-2.7.5.jar:2.7.5] at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:181) ~[dubbo-2.7.5.jar:2.7.5] at org.apache.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:51) ~[dubbo-2.7.5.jar:2.7.5] at org.apache.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:57) ~[dubbo-2.7.5.jar:2.7.5] at org.apache.dubbo.common.threadpool.ThreadlessExecutor.waitAndDrain(ThreadlessExecutor.java:77) ~[dubbo-2.7.5.jar:2.7.5] at org.apache.dubbo.rpc.AsyncRpcResult.get(AsyncRpcResult.java:175) ~[dubbo-2.7.5.jar:2.7.5] ... 67 common frames omitted
0
A.ts: class A<T> { method() {} } export = A; B.ts: import A = require('A'); new A().method(); When using code completion on the .method call in B.ts, `getCompletionEntryDetails` throws an exception: TypeError: Cannot read property 'parent' of undefined at appendOuterTypeParameters (/home/jeffrey/nbts/build/cluster/nbts-services.js:12322:28) at getOuterTypeParametersOfClassOrInterface (/home/jeffrey/nbts/build/cluster/nbts-services.js:12338:20) at getTypeParametersOfClassOrInterface (/home/jeffrey/nbts/build/cluster/nbts-services.js:12355:35) at appendParentTypeArgumentsAndSymbolName (/home/jeffrey/nbts/build/cluster/nbts-services.js:11386:75) at walkSymbol (/home/jeffrey/nbts/build/cluster/nbts-services.js:11418:29) at Object.buildSymbolDisplay (/home/jeffrey/nbts/build/cluster/nbts-services.js:11425:21) at /home/jeffrey/nbts/build/cluster/nbts-services.js:32608:51 at mapToDisplayParts (/home/jeffrey/nbts/build/cluster/nbts-services.js:32592:13) at Object.symbolToDisplayParts (/home/jeffrey/nbts/build/cluster/nbts-services.js:32607:16) at addFullSymbolName (/home/jeffrey/nbts/build/cluster/nbts-services.js:37752:49) Several other services APIs, including `getQuickInfoAtPosition` and `getOccurrencesAtPosition`, also throw the same error when used on that .method call.
1. Create a new package directory 2. `npm install github` 3. write the following file: import GH = require("github"); new GH().activity 4. Get quick info on the word `activity` Expected: Quick info. Actual: TypeError: Cannot read property 'parent' of undefined at appendOuterTypeParameters (C:\Users\drosen\AppData\Roaming\npm\node_modules\typescript\lib\tsserver.js:23851:28) at getOuterTypeParametersOfClassOrInterface (C:\Users\drosen\AppData\Roaming\npm\node_modules\typescript\lib\tsserver.js:23867:20) at getTypeParametersOfClassOrInterface (C:\Users\drosen\AppData\Roaming\npm\node_modules\typescript\lib\tsserver.js:23884:35) at appendParentTypeArgumentsAndSymbolName (C:\Users\drosen\AppData\Roaming\npm\node_modules\typescript\lib\tsserver.js:22618:75) at walkSymbol (C:\Users\drosen\AppData\Roaming\npm\node_modules\typescript\lib\tsserver.js:22650:25) at Object.buildSymbolDisplay (C:\Users\drosen\AppData\Roaming\npm\node_modules\typescript\lib\tsserver.js:22656:21) at C:\Users\drosen\AppData\Roaming\npm\node_modules\typescript\lib\tsserver.js:53274:51 at mapToDisplayParts (C:\Users\drosen\AppData\Roaming\npm\node_modules\typescript\lib\tsserver.js:53260:9) at Object.symbolToDisplayParts (C:\Users\drosen\AppData\Roaming\npm\node_modules\typescript\lib\tsserver.js:53273:16) at addFullSymbolName (C:\Users\drosen\AppData\Roaming\npm\node_modules\typescript\lib\tsserver.js:60166:49)
1
In a stand-alone CMD window, the **CLS** command clears not only the text currently visible in the window, but all of the history in the scrollback buffer. In a Windows Terminal CMD tab, clear is clearing only the currently visible text, leaving the scrollback content untouched. # Environment Windows build number: Microsoft Windows [Version 10.0.18362.239] Windows Terminal version (if applicable): 0.3.2171.0 Any other software? no # Steps to reproduce 1. Open a command (CMD) tab. 2. Execute enough commands to put data in the scrollback buffer. 3. Execute **cls** 4. Observe results # Expected behavior I expect the screen and scrollback buffer to be completely cleared. # Actual behavior Only the screen is cleared.
I feel like this problem should have been reported already, but I couldn't find it in GitHub issue search. ### Environment Windows build number: `Microsoft Windows [Version 10.0.18362.205]` \- Win10 ver. 1903 with Microsoft-internal test build for monthly quality update Windows Terminal version: `8dd2e79` \- Azure DevOps CI build for AMD64 ### Steps to reproduce 1. Start Terminal, with either a Command Prompt (cmd.exe) tab or a PowerShell tab. 2. Run this command: `type C:\Windows\System32\OEMDefaultAssociations.xml` 3. Observe a long XML file appear on screen. 4. Run this command: `cls` ### Expected behavior The visible area of the window is cleared of everything except the cmd/PS prompt, and you can no longer scroll the window view to see any part of the file you displayed. This is what happens in the old console window (conhost.exe). ### Actual behavior The visible area is cleared, but the window scrollbar remains active. When you scroll up, you see that most of the file you displayed remains; only the end of the file is erased up to a length determined by your visible window height.
1
You guys seem to be using np.std(x) to scale each column instead of np.std(x, ddof=1). As a result your std estimate is biased. Note that similar function in R, base::scale uses unbiased std estimate.
#### Description It would be nice to provide StandardScaler with an option to chose unbiased estimator of variance, It it sometimes convenient to use unbiased estimator of variance: numpy.var(X, ddof=1) instead of default: numpy.var(X, ddof=0) So far StandardScaler does not allow to set ddof. #### Versions Linux-4.4.0-45-generic-x86_64-with-Ubuntu-16.04-xenial ('Python', '2.7.12 (default, Jul 1 2016, 15:12:24) \n[GCC 5.4.0 20160609]') ('NumPy', '1.11.2') ('SciPy', '0.18.1') ('Scikit-Learn', '0.19.dev0')
1
I tried using this method : https://groups.google.com/forum/#!topic/twitter- bootstrap-stackoverflow/O4H28d1-d7Q but it doesnt work well with bootstrap 3. Can anyone help me out with this? Thanks.
I have problem in the version of the iPad's Safari browser 5.1.1 (9b2060), where scrollspy reacts in an unexpected way. After clicking on a menu session, it redirects to him, so far everything ok, but if I do not move the page and press on another item, the menu does not recognize the touch. After I move the page up or down, he acknowledges. Is there a solution so far? Thanks...
0
I read in my dataframe with pd.read_csv('df.csv') And then I run the code: df['a'] = pd.to_numeric(df['a'], errors='coerce') but the column does not get converted. When I use errors = 'raise' it gives me the numbers that are not convertible but it should be dropping them with coerce.... This was working perfectly in Pandas 0.19 and i Updated to 0.20.3. Did the way to_numeric works change between the two versions?
scikits.timeseries notions of fill_missing_dates, duplicates possible, etc. Little to no testing in this regard
0
* [x ] I have searched the issues of this repository and believe that this is not a duplicate. ## Expected Behavior run without any error ## Current Behavior work good with `node server.js` but with: `next export` got error `Couldn't find a `pages` directory. Please create one under the project root` ## Steps to Reproduce (for bugs) 1. move pages to `./src` 2. create `server.js` 3. add the code: `const app = next({ dev, dir: './src' });` 4. run: `"export": "next export"` ## Your Environment Tech | Version ---|--- next | 4.2.1 node | v7.6.0 OS | window 8.1 browser | chrome
In repositories with multiple projects, sometimes it is appealing to share code between the projects. Next currently requires that all of the site code is under the Next project's root directory. With code sharing, the shared code usually resides outside of the Next project's root. With a few modifications to the Webpack config and Babel plugins, Next can support code outside of its project root. * I have searched the issues of this repository and believe that this is not a duplicate. ## Expected Behavior In a directory hierarchy that looks like this: . ├── next │   └── pages └── shared └── module.js A file under `next/pages` should be able to do `import module from '../../shared/module'` or use a Babel plugin like module-resolver to require code that is outside of the Next project root. ## Current Behavior Next does not run the shared code through the same Webpack loaders as the ones used for code under the Next project's root. Also, the shared code is not compiled and emitted under `.next/dist`, and require/import paths to that shared code are not correct. ## Steps to Reproduce (for bugs) 1. Set up a directory structure like the on in the ASCII art diagram above 2. Add `index.js` under `next/pages` with `import module from '../../shared` 3. Run `yarn dev` and get errors ## Context In general this is useful for any project that has a website (vs. being only a website) and wants to share code between the Next website and other programs. Specifically I am writing this up since we need it for sharing code across expo.io, snack.expo.io (not yet Next.js), Node servers, and native apps. This is a list of PRs so far to support code sharing: * Apply .babelrc's own config when it specifies `babelrc: false`: #3016 ## Your Environment Tech | Version ---|--- next | 4.0.0-beta.2 node | 8.6.0 OS | macOS 10.13 browser | *
0
### Describe the workflow you want to enable Enable `preprocessor.get_feature_names_out()` where `preprocessor` is a ColumnTransformer with SimpleImputer. ### Describe your proposed solution If you do this on sklearn v1.0, you get the error: AttributeError: Transformer simpleimputer-1 (type SimpleImputer) does not provide get_feature_names_out. The solution is to add `get_feature_names_out()` to `SimpleImputer`. This should be fairly straightforward, since there's a one-to-one mapping between input and output features in this transformer. Additionally, it's high impact since `SimpleImputer` is a common use case when preprocessing data. ### Describe alternatives you've considered, if relevant _No response_ ### Additional context _No response_
### Describe the workflow you want to enable I would like to get the feature names input to a classifier after imputation. column_trans = ColumnTransformer([('imputed', SimpleImputer(add_indicator=True), x_con)], remainder='drop') # column_trans = ColumnTransformer([('scaler', preprocessing.StandardScaler(), x_con)], remainder='drop') pipe = make_pipeline(column_trans, LogisticRegressionCV(cv=2, random_state=0)) pipe.fit(X, y) pipe[:-1].get_feature_names_out() ### Describe your proposed solution Implement get_feature_names_out for SimpleImputer as it is implemented for other transformers e.g. it works for StandardScaler. ### Describe alternatives you've considered, if relevant _No response_ ### Additional context _No response_
1
### Is there an existing issue for this? * I have searched the existing issues ### This issue exists in the latest npm version * I am using the latest npm ### Current Behavior every call that I make with `npm ...` e.g. calling a script `npm run connect`, there is this weird looking log that makes no sense in this context: (⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂) ⠇ : timing config:load:flatten Completed in 2ms E.g. I have `npm run connect` setup where it connects to a preconfigured server, but this annoying log doesn't allow me to read the buffer. This happens across different workspaces with different npm package.json files too! ### Expected Behavior log should not appear ### Steps To Reproduce I'm not sure how this came to be... ### Environment * npm: 8.11.0 * Node.js: 16.15.1 * OS Name: mac os 12.2.1 * System Model Name: * npm config: npm config ls npm WARN config init.author.name Use `--init-author-name` instead. npm WARN config init.author.email Use `--init-author-email` instead. npm WARN config init.author.url Use `--init-author-url` instead. ; "user" config from /Users/timdaub/.npmrc //registry.npmjs.org/:_authToken = (protected) email = "myemail" init.author.email = "=" init.author.name = "Tim Daubenschütz <myemail>" init.author.url = "https://timdaub.github.io/" prefix = "/usr/local" save-exact = true save-prefix = ""
### Is there an existing issue for this? * I have searched the existing issues ### This issue exists in the latest npm version * I am using the latest npm ### Current Behavior ' npm start ' produces the following timing output which sticks always to the last line: ![image](https://user- images.githubusercontent.com/1231174/157500431-fed4bf14-ece1-405c-abff-6d231e7230b2.png) the "normal" output from the started app is always scrolling above this last line. ### Expected Behavior no timing output. Digging deeper I noticed that with `--loglevel` `silent`or `error` there is no sticky output. BUT for `warn` , `notice` and `http` there is `timing` output which in my opinion should not happen, since these levels are before `timing` log level .... ### Steps To Reproduce 1. npm start 2. See error... ### Environment * npm: 8.5.3 * Node.js: 17.6.0 * OS Name: macOS 12.2.1 * System Model Name: Macbook Pro * npm config: npm config ls npm WARN ignoring workspace config at /Users/ogi/Repositories/IMS/IMS_v2/packages/mims-test/.npmrc npm WARN config This command does not support workspaces. ; "user" config from /Users/ogi/.npmrc ; @ogi-it:registry = "http://localhost:4873/" ; overridden by project //localhost:4873/:_authToken = (protected) //registry.npmjs.org/:_authToken = (protected) scripts-prepend-node-path = true ; "project" config from /Users/ogi/Repositories/IMS/IMS_v2/.npmrc @ogi-it:registry = "http://localhost:4873" ; node bin location = /usr/local/bin/node ; cwd = /Users/ogi/Repositories/IMS/IMS_v2/packages/mims-test ; HOME = /Users/ogi ; Run `npm config ls -l` to show all defaults. ogi@ogi-it-mac mims-test %
1