repo_name
stringlengths
4
136
issue_id
stringlengths
5
10
text
stringlengths
37
4.84M
mne-tools/mne-python
208169494
Title: EEG (re-)referencing is confusing Question: username_0: ``` Although we effectively use an average reference, apparently no projector was added this time. We can now also easily switch back and forth between average and custom references: ```python In[83]: np.allclose((epochs ...: .copy() ...: .set_eeg_reference(['EEG 002']) ...: .get_data()), ...: (epochs ...: .copy() ...: .set_eeg_reference(epochs.info['ch_names']) ...: .set_eeg_reference(['EEG 002']) ...: .get_data())) ...: Applying a custom EEG reference. Applying a custom EEG reference. Applying a custom EEG reference. Out[83]: True ``` This works exactly as I would have expected. I find this behavior somewhat confusing, because it appears kind of inconsistent to me: sometimes, `Epochs.set_eeg_reference()` will add what I would commonly consider an *ordninary* EEG reference; but on some occasions, it it would create this weird thing called a *projector* that takes an additional step to activate, and then it's forever stuck to the data. This is nothing I've ever seen in any EEG papers I've read so far. In my opinion, `Epochs.set_eeg_reference()` should never add a projector unless explicitly requested. `Epochs.set_eeg_reference(ref_channels=None)` should effectively translate into `Epochs.set_eeg_reference(epochs.info['ch_names'])` instead of adding a projector. In the [example code](http://martinos.org/mne/dev/auto_examples/preprocessing/plot_rereference_eeg.html) I mentioned earlier, the (average reference) projectors are implicitly automatically applied when constructing the `Epochs` objects (since `proj=True` by default in `Epochs.__init__()`). For that reason, we entirely overlooked the need to call `apply_proj()`: In our workflow, average references are added to an existing `Epochs` instance once all the data cleaning has been done, immediately before calculating GFP etc. However, `Epochs.average()` does not apply the projectors automatically, so we ended up with weirdly looking "butterfly" plots. I've asked several researchers who'd been working with EEG data for several years now whether they could spontaneously associate the words *EEG*, *projector*, and *projection* in the context of EEG pre-processing and potentially artifact removal. The responses were all negative. Even if you believe I might be kind of ignorant or stupid by now, I do believe that either small API or implementation changes (as proposed here), enhanced documentation, and "improved" / new example code could make MNE much more approachable to those who have no experience with MEG so far. I'd be willing to help working on this, but first I will have to finish my work on #3967, which has been stalled for a while now already... Answers: username_1: Looking at that issue, I think it needs a couple of (hopefully) small changes. So feel free to tackle that one first if you want. But most contributors are guilty of having multiple PRs open at once, so don't let #3967 stop you from tackling this, especially since the considerations here are fresh in your mind. username_0: Yes, my first approach wasn't tackling the actual problem, I assume. But I think I've figured it out in the meantime; just didn't have the time to implement the changes :) Thanks for your support! username_0: Wow, thanks for the reference! I just ordered this book. username_2: can someone take care of the bug fix reported here? thx username_3: I'll take a look username_3: ``` An "average" projector that has been applied and a custom reference that has been applied. Projectors are never removed from the info structure. When they have been applied to the data, they are flagged as such and thereafter become inert. I agree that the term "active" and it's value "on" are confusing. It conveys the message that the projection is actively being applied (hence overriding the custom reference) but it's not, it indicates that the projection has been applied somewhere in the past. We're not likely to change the behavior of the projection code. We can tweak the printing of `info` a bit if we can agree on less confusing terminology, but most of all, this is a documentation issue. @username_0 's initial code is completely right, does exactly what he hoped to achieve, but still managed to confuse him :) I agree with @username_1 that it would be good to expand the referencing example in a comprehensive tutorial. username_3: the behavior of projectors is actually more complicated then I led on. When `Epochs` are created with `preload=False`, an active projector is indeed actively being applied when data is being accessed. There may actually be a bug here. When doing `epochs.set_eeg_reference()`, and the data is preloaded, the average ref projector should be applied straight away, because the `Epochs` object will not do so automatically in `preload=False` mode. You know what? I'll take a shot at writing a tutorial on the behavior of projectors first. They still confuse me even after reading through the code 5+ times. username_2: well when changing the EEG ref manually you undo the EEG Average Ref so technically the proj is not On anymore. I think the EEG average ref shoud be marked as off as soon as you undo it. username_3: that would cause the average reference to be re-applied if you ever called `.apply_proj()` again username_3: to make it actually be gone, it should be completely removed from the projections list. username_2: yes but is it a problem? username_3: yes, because some functions (such as plotting evokeds) will call `inst.apply_proj`, expecting it to be a null operation of projections have already been applied. username_3: or at least expecting that the user would like all the projections to be applied. The code currently cannot deal with projections that the user *doesn't* want to be applied. username_1: It should be okay if we also remove it from the list username_2: sounds like a plan Status: Issue closed username_4: @username_3 I'm a bit puzzled as to what `inst.apply_proj()` actually does. Here is a gist where I first set `ref_channels=[]` (as my data was already referenced). https://gist.github.com/username_4/972eefa4a62fd6ef9df308b76ffa2559 Applying apply_proj() not only rereferences to the mean, but also appears to include the STIM channel ?? username_5: Another reref issue: https://github.com/mne-tools/mne-python/issues/4352, we should probably open this one as rereferencing is not intuitive enough - at least until the agreement reached in https://github.com/mne-tools/mne-python/issues/4302 is implemented. username_1: ``` Although we effectively use an average reference, apparently no projector was added this time. We can now also easily switch back and forth between average and custom references: ```python In[83]: np.allclose((epochs ...: .copy() ...: .set_eeg_reference(['EEG 002']) ...: .get_data()), ...: (epochs ...: .copy() ...: .set_eeg_reference(epochs.info['ch_names'][:-1]) ...: .set_eeg_reference(['EEG 002']) ...: .get_data())) ...: Applying a custom EEG reference. Applying a custom EEG reference. Applying a custom EEG reference. Out[83]: True ``` This works exactly as I would have expected. I find this behavior somewhat confusing, because it appears kind of inconsistent to me: sometimes, `Epochs.set_eeg_reference()` will add what I would commonly consider an *ordninary* EEG reference; but on some occasions, it it would create this weird thing called a *projector* that takes an additional step to activate, and then it's forever stuck to the data. This is nothing I've ever seen in any EEG papers I've read so far. In my opinion, `Epochs.set_eeg_reference()` should never add a projector unless explicitly requested. `Epochs.set_eeg_reference(ref_channels=None)` should effectively translate into `Epochs.set_eeg_reference(ref_channels=epochs.info['ch_names'][:-1])` instead of adding a projector. In the [example code](http://martinos.org/mne/dev/auto_examples/preprocessing/plot_rereference_eeg.html) I mentioned earlier, the (average reference) projectors are implicitly automatically applied when constructing the `Epochs` objects (since `proj=True` by default in `Epochs.__init__()`). For that reason, we entirely overlooked the need to call `apply_proj()`: In our workflow, average references are added to an existing `Epochs` instance once all the data cleaning has been done, immediately before calculating GFP etc. However, `Epochs.average()` does not apply the projectors automatically, so we ended up with weirdly looking "butterfly" plots. I've asked several researchers who'd been working with EEG data for several years now whether they could spontaneously associate the words *EEG*, *projector*, and *projection* in the context of EEG *pre-processing* and, potentially, *artifact removal*. The responses were all negative. Even if you assume I might be kind of ignorant or stupid by now, I do believe that either small API or implementation changes (as proposed here), enhanced documentation, and "improved" / new example code could make MNE much more approachable to those who have no experience with MEG so far. I'd be willing to help working on this, but first I will have to finish #3967, which has been stalled for a while already... username_1: Agreed, might as well reopen to consider during #4302's implementation username_1: Closed by #4382. @username_0 feel free to try latest `master` to see if it makes more sense now Status: Issue closed username_0: @username_1 This is fine, thanks for following up!
WatchFriends/Android
191604740
Title: Permissions: library Question: username_0: Uitschrijven van code voor permissions is nogal lastig en repititief, ik heb volgende library gebruikt Deze is zeer eenvoudig, met wat copy paste werk ben je er al, en wordt door heel wat mensen gebruikt https://github.com/hotchemi/PermissionsDispatcher Best eens bekijken dus ;) Answers: username_1: Nog even zeggen dat het lastiger is geworden voor Marshmallow. ### Nota's - [Check cursus Walcarius vorig jaar](https://1drv.ms/p/s!ApGaXS3n8HKUs0HeOFwZI3J0wfcw) - Is inderdaad wel lastig ook als je rekening moet houden met API levels vanaf 19 (KitKat) - Zeker ook eens uittesten op KitKat of Lollipop _(eventueel Ice Cream Sandwich, Gingerbread of Froyo)_. ### Vraag - Welke (gevaarlijke) privileges moeten er wel toegelaten worden? username_0: @username_1 Inderdaad, maar dit handelt net alles af voor u, ongeacht of het API 23 of lager is. Gevaarlijke priviliges zijn er nog niet zo heel veel, ik had ééntje nodig om accounts te managen (aka inloggen) Status: Issue closed
tensorflow/tensorflow
172617565
Title: Installation failed on Mac OS X Question: username_0: GitHub issues are for bugs / installation problems / feature requests. For general support from the community, see [StackOverflow](https://stackoverflow.com/questions/tagged/tensorflow). To make bugs and feature requests more easy to find and organize, we close issues that are deemed out of scope for GitHub Issues and point people to StackOverflow. For bugs or installation issues, please provide the following information. The more information you provide, the more easily we will be able to offer help and advice. ### Environment info Operating System: OS X EI Capitan 10.11.6 Installed version of CUDA and cuDNN: (please attach the output of `ls -l /path/to/cuda/lib/libcud*`): ls: /path/to/cuda/lib/libcud*: No such file or directory If installed from binary pip package, provide: install from pip package # Mac OS X, CPU only, Python 2.7: $ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-0.10.0rc0-py2-none-any.whl 2. The output from `python -c "import tensorflow; print(tensorflow.__version__)"`. Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/local/lib/python2.7/site-packages/tensorflow/__init__.py", line 23, in <module> from tensorflow.python import * File "/usr/local/lib/python2.7/site-packages/tensorflow/python/__init__.py", line 52, in <module> from tensorflow.core.framework.graph_pb2 import * File "/usr/local/lib/python2.7/site-packages/tensorflow/core/framework/graph_pb2.py", line 16, in <module> from tensorflow.core.framework import attr_value_pb2 as tensorflow_dot_core_dot_framework_dot_attr__value__pb2 File "/usr/local/lib/python2.7/site-packages/tensorflow/core/framework/attr_value_pb2.py", line 16, in <module> from tensorflow.core.framework import tensor_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__pb2 File "/usr/local/lib/python2.7/site-packages/tensorflow/core/framework/tensor_pb2.py", line 16, in <module> from tensorflow.core.framework import tensor_shape_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__shape__pb2 File "/usr/local/lib/python2.7/site-packages/tensorflow/core/framework/tensor_shape_pb2.py", line 22, in <module> serialized_pb=_b('\n,tensorflow/core/framework/tensor_shape.proto\x12\ntensorflow\"z\n\x10TensorShapeProto\x12-\n\x03\x64im\x18\x02 \x03(\x0b\x32 .tensorflow.TensorShapeProto.Dim\x12\x14\n\x0cunknown_rank\x18\x03 \x01(\x08\x1a!\n\x03\x44im\x12\x0c\n\x04size\x18\x01 \x01(\x03\x12\x0c\n\x04name\x18\x02 \x01(\tB2\n\x18org.tensorflow.frameworkB\x11TensorShapeProtosP\x01\xf8\x01\x01\x62\x06proto3') TypeError: __init__() got an unexpected keyword argument 'syntax' ### Steps to reproduce 1. Install tensorflow from pip 2. Test installation. ### What have you tried? 1. uninstall protobuf and reinstall tensorflow again. ### Logs or other output that would be helpful (If logs are large, please upload as attachment). Answers: username_1: This means you have an older version of protobuf (version 2) installed. See https://www.tensorflow.org/versions/r0.10/get_started/os_setup.html#mac-os-x-typeerror-init-got-an-unexpected-keyword-argument-syntax Status: Issue closed
KevinDockx/HttpCacheHeaders
1179562511
Title: Marking for invalidation Question: username_0: Less of an issue and more of a cry for help. This might now be the correct place for this but I don't know where else to turn to. I added validation caching to my api while following your advanced restful concern course on pluralSight (which was awesome!). While checking this github project, I saw that cache invalidation was now supported (it wasn't when the course was made). I am trying to implement it by replicating what is done in StoreManipulationController (sample) in my own controller, but I can't seem to figure it out, and I am running out of ideas. I added both IValidatorValueInvalidator and IStoreKeyAccessor to my controller's constructor. When going through a PUT request, I added the code to find the key from the storeKeyAccessor, but neither FindByKeyPart nor FindByCurrentResourcePath returns anything. When debugging, I can see that my _validatorValueInvalidator contains something though... Any and all help is appreciated! Answers: username_1: Hi Mark, could you provide me with a small code example (a small runnable project would be perfect)? I'll have a look :) KR, Kevin username_0: Hello Kevin, Thanks a lot for the reply! While Trimming my project down to a bare-bones version for sharing purposes, I found out that it works for some of my controllers, but not with the one I was initially Testing with. I investigated for a while and still can't figure out why it won't work for this one controller... I added you to my temporary repo that contains my code. I left only two controllers in there, one that works (Licenses) and the one that doesn't (TokenNotifications). I also included a postman file. I am for sure missing some tiny detail or something, and I'm going to feel dumb about it, but that's just what this profession is sometimes! Thank you so much for your help! username_1: You found a bug :-) The only difference I see is that your GET requests to /licenses are lowercase, while the requests to /TokenNotifications are mixed case. If I change the GET request to /tokennotifications (so: all lowercase), it works as expected. I created a fix. By default, casing will now be ignored when searching for keys. If required, case can still be taken into account by passing through "false" as value for the (new) ignoreCase parameter for FindByKeyPart/FindByCurrentResourcePath. Commit: https://github.com/username_1/HttpCacheHeaders/commit/26acdb52641ff006f996770949ab978e6da29fc3 I'll push a new version to NuGet. Thanks for finding this! :) username_1: https://www.nuget.org/packages/Marvin.Cache.Headers/6.1.0 username_0: Awesome! thanks a lot for your help!
thegreatexchange/tge-event-client
182418174
Title: Web interface for TGE staff - Login Question: username_0: As a TGE staff member I should be able to log into a web interface for the purpose of registering tge event participants. **Requirements** - Access to the client application should be secured by a user email and password - By default all traffic should send all unauthenticated requests to the login page - Authenticated users should be redirected to a landing page. **Tasks** - [ ] Add a login page that uses the tge-api authentication service.<issue_closed> Status: Issue closed
java-practice-spb-2020/epam-ifmo-java-practice-2020-2
564072773
Title: Create PassportEntity Question: username_0: - Create PassportEntity.java in Package entities. - Create class variables for every column. - Determine required variables for this entity. - Entity should contain constructors(all args, required args), getters, setters. - You should override equals and hashcode methods. You can read about it at: https://www.baeldung.com/java-equals-hashcode-contracts<issue_closed> Status: Issue closed
Level/level
391705085
Title: tutorials Question: username_0: Beginners would feel way more welcome and we had more shareable stuff if we had some well written tutorials for realworld usecases, showing the leveldb way and showcasing plugins. Initial ideas: - the redis twitter tutorial ported to leveldb - creating indexes - map reduce (should be for map-reduce beginners) - simple persistent realtime data with level-scuttlebutt - philosophical rant on databases that are monoliths - accessing a db from multiple processes - writing a levelUp plugin More website-/app-y ideas would be great though
spatie/laravel-medialibrary
150682666
Title: Adding conversions per single image Question: username_0: Hi, this might have been asked before but is it possible to add and regenerate conversions per image. I can add and alter manipulations per image, which is fine, but they are tied to the named conversions specified in the model. Im trying to preserver conversions (with a unique name) derived from a single image so they can be used even if a new conversion is made. An example would be 2 different image cuts derived for the same original image. Would this be possible within the current codebase? Answers: username_1: Take a look at the current `medialibrary:regenerate` command. If you run that all the derived images will be regenerated. So you can run that after you've added a conversion. You can let the command regenerate all media tied to a certain model class or for a specific media id. username_0: True, that would regenerate given items, but it doesn't address my issue of trying to have independent named conversions done on a single media item (conversions that are not defined on the model itself, but rather at media creation). username_1: Another approach is to manipulate your image (using [laravel-glide](https://github.com/spatie/laravel-glide)) before adding it to the medialibrary. Would that work for your use case? username_2: Having the same problem as @username_0. Ideally you want to have the manipulations per item in your `media` table. Using the approach @username_1 is offering this isn't the case. username_1: You can store [media specific manipulations in the database](https://docs.spatie.be/laravel-medialibrary/v4/advanced-usage/storing-media-specific-manipulations). Could that be of use to you? username_3: @username_1 The media specific manipulations only work if the same manipulation exists on the model? ``` protected function addManipulationToConversion(array $manipulation, string $conversionName) { foreach ($this as $conversion) { if ($conversion->getName() === $conversionName) { $conversion->addAsFirstManipulation($manipulation); return; } } } ``` https://github.com/spatie/laravel-medialibrary/blob/master/src/Conversion/ConversionCollection.php#L128 I think if you drop this requirement it would be more flexible. And you could partially solve this https://github.com/spatie/laravel-medialibrary/issues/180 username_1: We could introduce a special conversionName like `*`. If that's used in a stored manipulation on a Media object we could use that for every conversion. Thoughts? username_3: In my specific case I also needed the conversion name to change for SEO requirements, and since my conversion name prefix is known I solved it this way for now: https://github.com/creacoon/laravel-medialibrary/commit/b297525e1fac0e455fd720b8bf6caff4bb4bdaae On the conversion set on the parent model, I can now set the converion name with a prefix-property (product name in this case). username_0: @username_3 can you put up a sample code of your implementation as Im curious about the prefix usage. Thanks username_3: @username_0 I currently use it like this; ``` $images = $product->getMedia('product-images'); ``` And then for each image I get the conversion I need: ``` $image->getUrl($product->slug.'-large'); ``` Does it make sense? username_1: Closing this for now. Status: Issue closed
helm/helm-www
999416531
Title: Clarify valid version range specifications Question: username_0: The help of helm states that you can specify a version range for a Helm chart: ``` --version string specify a version constraint for the chart version to use. This constraint can be a specific tag (e.g. 1.1.1) or it may reference a valid range (e.g. ^2.0.0). If this is not specified, the latest version is used ``` But there is no documentation whatsoever what form of version constraints Helm accepts. After some ddgo'ing I found that the used semver library https://github.com/Masterminds/semver has details in its README. I think that at the very minimum the documentation should link to explain valid version ranges, better have a short paragraph replicating some examples.
vim-pandoc/vim-pandoc
496343035
Title: Cannot complete bibliography on Windows 10 Question: username_0: If I try to complete a bibliography entry on Windows 10, I get the following error: `Fel uppt<e4>cktes vid bearbetning av function pandoc#completion#Complete[12]..pandoc#bibliographies#GetSuggestions[2]..provider#python3#Call: rad 18: Error invoking 'python_eval' on channel 3 (python3-script-host): error caught in request handler 'python_eval ['vim_pandoc.bib.vim_completer.VimCompleter().get_suggestions(vim.eval("a:partkey"))']': Traceback (most recent call last): File "C:\Users\Joel\AppData\Roaming\Python\Python37\site-packages\pynvim\plugin\script_host.py", line 165, in python_eval return eval(expr, self.module.__dict__) File "<string>", line 1, in <module> File "C:\Users\Joel\AppData\Local\nvim\plugged\vim-pandoc\python3\vim_pandoc\bib\vim_completer.py", line 53, in get_suggestions return collator.collate() File "C:\Users\Joel\AppData\Local\nvim\plugged\vim-pandoc\python3\vim_pandoc\bib\fallback.py", line 145, in collate text = f.read() File "C:\Users\Joel\AppData\Local\Programs\Python\Python37\lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x8f in position 343832: character maps to <undefined> ` I don't have these problems on unix. Answers: username_0: I think I managed to solve the issue by changing line 144 in `fallback.py` to ```python with open(bib, encoding="utf-8") as f: ``` username_1: just to add, I've had this problem for a while and this is identical was my workaround. I'm using pandoc with a .bib file generated by mendeley, which typically includes some non-ascii characters. I can provide an example .bib if needed.
levelrin/DartStyleRin
617473569
Title: Add a rule for if statement Question: username_0: We should check the spaces in the if statements. For example, ```dart if(1 == 1){ // Do something. }else if(1 == 1){ // Do something. }else{ // Do something. } ``` The above code should be: ```dart if (1 == 1) { // Do something. } else if (1 == 1) { // Do something. } else { // Do something. } ```<issue_closed> Status: Issue closed
Nextcalibur/Bugtracker
604087205
Title: Spell queue Question: username_0: From patch 2.30 notes: Quote Client spell cast requests are now sent to the server even if your player is already casting another spell. This eliminates the need for /stopcasting in macros to compensate for latency. Source: https://wowwiki.fandom.com/wiki/Patch_2.3.0 What this means is that at patch 2.3.0 a spell queue system was implemented, meaning that if you cast a spell and keep click another spell before the spell ends, the server will pick this up and cast the next spell you clicked even though you clicked while still casting. This will make the server a lot better especially for NA players who has more ping and this would help compensate for this. I know this will probably be a major change and potentially adding a lot of bugs to working classes like hunter's, but I think this is a necessary thing to make this server one of the best. https://youtu.be/FXFjvsD7VI4 Status: Issue closed Answers: username_1: Needs further research.
httprb/http
103107085
Title: Data read fails. Question: username_0: Example request that constantly fail with `EOFError`: ``` ruby HTTP.accept(:json).get("http://github.com/").to_s HTTP.get("https://www.googleapis.com/oauth2/v1/userinfo?alt=json&access_token=<PASSWORD>").to_s ``` Failure happens after headers were read. Thus `to_s` is essential here. Regression was introduced by: https://github.com/httprb/http/commit/65900ad36e2ec47b1e1c5dce2e801fdf21637a8b Answers: username_0: As far as I can see ruby can raise EOFError even if you passed `exception: false`, e.g.: https://github.com/ruby/ruby/blob/ruby_2_1/ext/openssl/lib/openssl/buffering.rb#L189 username_1: :| username_1: I'll fix it in http.rb but I want to get a PR into openssl too and actually fix it properly username_1: Actually wait no, that's not a regression from that commit, it's a regression from timeouts. That openssl code looks like it could never actually trigger. username_0: Well, probably I have pointed out wrong commit, indeed, it was just lack of that rescue block so I said so :D I could be wrong, indeed. Was also fixing that, but was slower on pushing the fix ;)) My patch looked (rejected in favor of your fix) like this: ``` diff diff --git a/lib/http/connection.rb b/lib/http/connection.rb index 7daeed3..a01785f 100644 --- a/lib/http/connection.rb +++ b/lib/http/connection.rb @@ -207,12 +207,15 @@ module HTTP def read_more(size) return if @parser.finished? - value = @socket.readpartial(size) - if value == :eof - :eof - elsif value - @parser << value + begin + value = @socket.readpartial(size) + rescue EOFError + return :eof end + + return :eof if value == :eof + + @parser << value end end end ``` Status: Issue closed
adrigrillo/music_kg
418793319
Title: Link the KG with DBpedia and Wikidata Question: username_0: To generate the linking between the create Knowledge Graph, DBpedia and Wikidata one of the two next available tools will be used: - [LIMES.](https://github.com/dice-group/LIMES/) - [Silk framework.](http://silkframework.org/) ### Subtasks - [ ] Study the advantages and disadvantages of the tools for this task. - [ ] Examine DBpedia dictionary and entities. - [ ] Examine Wikidata dictionary and entities. - [ ] Link with DBpedia. - [ ] Link with Wikidata. - [ ] Review the links that do not overcome the certainty percentage. Answers: username_0: Decided to go for LIMES and linked the existent genres. Status: Issue closed
conda-forge/fenics-feedstock
545129523
Title: Cannot use superlu or superlu_dist solvers Question: username_0: <!-- Thanks for reporting your issue. Please fill out the sections below. --> Issue: Cannot use superlu or superlu_dist solvers I am trying to solve a problem that requires the use of superlu_dist but it does not seem to be configured with PETSc inside my environment. I see however that superlu/5.2.1 and superlu_dist/6.2.0 are installed in the current finics package (<code>$ conda install -c conda-forge fenics</code>), but they do not appear as available methods. Here is the output: <code>list_linear_solver_methods()</code> Solver method | Description ------------------------------------------------------------------------------ bicgstab | Biconjugate gradient stabilized method cg | Conjugate gradient method default | default linear solver gmres | Generalized minimal residual method minres | Minimal residual method mumps | MUMPS (MUltifrontal Massively Parallel Sparse direct Solver) petsc | PETSc built in LU solver richardson | Richardson method tfqmr | Transpose-free quasi-minimal residual method umfpack | UMFPACK (Unsymmetric MultiFrontal sparse LU factorization) <code>list_lu_solver_methods()</code> LU method | Description -------------------------------------------------------------------------- default | default LU solver mumps | MUMPS (MUltifrontal Massively Parallel Sparse direct Solver) petsc | PETSc built in LU solver umfpack | UMFPACK (Unsymmetric MultiFrontal sparse LU factorization) Any help is appreciated! Answers: username_1: Looks like a rebuild is needed since superlu_dist was first added to the petsc package in the end of December ([pull request #77](https://github.com/conda-forge/petsc-feedstock/pull/77)), while the latest build of fenics seems to be from the beginning of December. username_2: This should be fixed now. Status: Issue closed
home-assistant/core
939604353
Title: Regular connection warning message since 2021.7.0 upgrade Question: username_0: ### The problem Since upgrading to 2021.7.0 I see the following message in the home-assistant.log file once per minute: ``` 2021-07-08 08:59:42 WARNING (SyncWorker_5) [homeassistant.components.sonos] Failed to connect to discovered player '192.168.201.135': 405 Client Error: Method Not Allowed for url: http://192.168.201.135:1400/MediaRenderer/RenderingControl/Control 2021-07-08 09:00:42 WARNING (SyncWorker_4) [homeassistant.components.sonos] Failed to connect to discovered player '192.168.201.135': 405 Client Error: Method Not Allowed for url: http://192.168.201.135:1400/MediaRenderer/RenderingControl/Control 2021-07-08 09:01:42 WARNING (SyncWorker_6) [homeassistant.components.sonos] Failed to connect to discovered player '192.168.201.135': 405 Client Error: Method Not Allowed for url: http://192.168.201.135:1400/MediaRenderer/RenderingControl/Control ``` IP address 192.168.201.135 is a Sonos Boost device so isn't really a player: ``` Boost: Boost Sonos OS: S1 Version: 11.2.9 (build 57688280) Hardware Version: 1.12.1.2-2.1 Series ID: A100 IP Address: 192.168.201.135 WM: 0 ``` ### What is version of Home Assistant Core has the issue? core-2021.7.0 ### What was the last working version of Home Assistant Core? core-2021.6.6 ### What type of installation are you running? Home Assistant OS ### Integration causing the issue Sonos ### Link to integration documentation on our website https://www.home-assistant.io/integrations/sonos ### Example YAML snippet _No response_ ### Anything in the logs that might be useful for us? ```txt 2021-07-08 08:59:42 WARNING (SyncWorker_5) [homeassistant.components.sonos] Failed to connect to discovered player '192.168.201.135': 405 Client Error: Method Not Allowed for url: http://192.168.201.135:1400/MediaRenderer/RenderingControl/Control 2021-07-08 09:00:42 WARNING (SyncWorker_4) [homeassistant.components.sonos] Failed to connect to discovered player '192.168.201.135': 405 Client Error: Method Not Allowed for url: http://192.168.201.135:1400/MediaRenderer/RenderingControl/Control 2021-07-08 09:01:42 WARNING (SyncWorker_6) [homeassistant.components.sonos] Failed to connect to discovered player '192.168.201.135': 405 Client Error: Method Not Allowed for url: http://192.168.201.135:1400/MediaRenderer/RenderingControl/Control ``` ### Additional information Boost: Boost Sonos OS: S1 Version: 11.2.9 (build 57688280) Hardware Version: 1.12.1.2-2.1 Series ID: A100 IP Address: 192.168.201.135 WM: 0 Answers: username_0: A bit more information. I just noticed an instance of this message: ``` 2021-07-08 09:22:42 WARNING (SyncWorker_9) [homeassistant.components.sonos] Failed to connect to discovered player '192.168.201.135': ("Connection broken: ConnectionResetError(104, 'Connection reset by peer')", ConnectionResetError(104, 'Connection reset by peer')) ``` This is infrequent though. The other message appears once per minute username_1: I am having the same issue, also with the IP address of my Boost. I have had 910 occurrences of this error since I upgraded to 2021.7.0 as well. username_2: Interesting. The discovery method was changed in 2021.7 and certain players had to be ignored, like the 2nd member of a stereo pair, surround speakers, etc. Boosts probably require the same. username_2: Could either of you run the integration in debug mode to capture the discovery payload? ``` logger: logs: homeassistant.components.sonos: debug ``` You'll see a log message like `New discovery: {'CACHE-CONTROL': 'max-age = 1800', 'ssdp_ext': '', 'ssdp_location': 'http://192.168.201.135:1400/xml/device_description.xml', ...`. Seeing the response payload for the Boost's IP would be interesting. username_0: OK - have attached logs [home-assistant.log](https://github.com/home-assistant/core/files/6785679/home-assistant.log) username_3: ``` 2021-07-08 16:01:22 DEBUG (MainThread) [homeassistant.components.sonos] New discovery: {'CACHE-CONTROL': 'max-age = 1800', 'ssdp_ext': '', 'ssdp_location': 'http://192.168.201.135:1400/xml/device_description.xml', 'ssdp_server': 'Linux UPnP/1.0 Sonos/57.6-88280 (BR200)', 'ssdp_st': 'urn:schemas-upnp-org:device:ZonePlayer:1', 'ssdp_usn': 'uuid:RINCON_7828CA7426AE01400::urn:schemas-upnp-org:device:ZonePlayer:1', 'X-RINCON-HOUSEHOLD': 'Sonos_wWkf86dLDAWWp8HtCMB6vBVt3S', 'X-RINCON-BOOTSEQ': '51', 'X-RINCON-WIFIMODE': '0', 'X-RINCON-VARIANT': '1', 'HOUSEHOLD.SMARTSPEAKER.AUDIO': 'Sonos_wWkf86dLDAWWp8HtCMB6vBVt3S', '_location_original': 'http://192.168.201.135:1400/xml/device_description.xml', '_timestamp': datetime.datetime(2021, 7, 8, 16, 1, 22, 783342), '_host': '192.168.201.135', '_port': 49166, '_udn': 'uuid:RINCON_7828CA7426AE01400', '_source': 'search', 'deviceType': 'urn:schemas-upnp-org:device:ZonePlayer:1', 'friendlyName': '192.168.201.135 - Sonos Boost', 'manufacturer': 'Sonos, Inc.', 'manufacturerURL': 'http://www.sonos.com', 'modelNumber': 'BR200', 'modelDescription': 'Sonos Boost', 'modelName': 'Sonos Boost', 'modelURL': 'http://www.sonos.com/store/products/BR200', 'softwareVersion': '57.6-88280', 'swGen': '1', 'hardwareVersion': '1.12.1.2-2.1', 'serialNum': '78-28-CA-74-26-AE:3', 'MACAddress': '78:28:CA:74:26:AE', 'UDN': 'uuid:RINCON_7828CA7426AE01400', 'iconList': {'icon': {'id': '0', 'mimetype': 'image/png', 'width': '48', 'height': '48', 'depth': '24', 'url': '/img/icon-BR200.png'}}, 'minCompatibleVersion': '56.0-00000', 'legacyCompatibleVersion': '36.0-00000', 'displayVersion': '11.2.9', 'extraVersion': None, 'roomName': 'Boost', 'displayName': 'Boost', 'zoneType': '11', 'feature1': '0x00000000', 'feature2': '0x00008173', 'feature3': '0x00031000', 'seriesid': 'A100', 'variant': '1', 'internalSpeakerSize': '-1', 'memory': '64', 'flash': '16', 'serviceList': {'service': [{'serviceType': 'urn:schemas-upnp-org:service:DeviceProperties:1', 'serviceId': 'urn:upnp-org:serviceId:DeviceProperties', 'controlURL': '/DeviceProperties/Control', 'eventSubURL': '/DeviceProperties/Event', 'SCPDURL': '/xml/DeviceProperties1.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:SystemProperties:1', 'serviceId': 'urn:upnp-org:serviceId:SystemProperties', 'controlURL': '/SystemProperties/Control', 'eventSubURL': '/SystemProperties/Event', 'SCPDURL': '/xml/SystemProperties1.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:ZoneGroupTopology:1', 'serviceId': 'urn:upnp-org:serviceId:ZoneGroupTopology', 'controlURL': '/ZoneGroupTopology/Control', 'eventSubURL': '/ZoneGroupTopology/Event', 'SCPDURL': '/xml/ZoneGroupTopology1.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:GroupManagement:1', 'serviceId': 'urn:upnp-org:serviceId:GroupManagement', 'controlURL': '/GroupManagement/Control', 'eventSubURL': '/GroupManagement/Event', 'SCPDURL': '/xml/GroupManagement1.xml'}]}, 'deviceList': ''} ``` username_3: `X-RINCON-VARIANT`: `1` Maybe filter on that? username_2: Unfortunately I have "good" Sonos devices with that variant number on my network, like a Connect. Not seeing a generic way to exclude these, so let's exclude by `modelName == Sonos Boost ` and incrementally add others (Sonos Bridge?) as they are found. username_3: Will likely conflict with https://github.com/home-assistant/core/pull/52655 and/or https://github.com/home-assistant/core/pull/52760 Probably should have these go in first as a warning seems less important to resolve vs not being able to use the speakers username_2: I have a fix but haven't had time to force a test. It's small, though, and would be trivial to rebase. Status: Issue closed username_5: I'm getting this message on the IP address for my **Sonos Bridge** `2021-07-12 11:09:09 WARNING (SyncWorker_9) [homeassistant.components.sonos] Failed to connect to discovered player '192.168.13.176': 405 Client Error: Method Not Allowed for url: http://192.168.13.176:1400/MediaRenderer/RenderingControl/Control 2021-07-12 11:10:09 WARNING (SyncWorker_6) [homeassistant.components.sonos] Failed to connect to discovered player '192.168.13.176': 405 Client Error: Method Not Allowed for url: http://192.168.13.176:1400/MediaRenderer/RenderingControl/Control 2021-07-12 11:11:09 WARNING (SyncWorker_3) [homeassistant.components.sonos] Failed to connect to discovered player '192.168.13.176': 405 Client Error: Method Not Allowed for url: http://192.168.13.176:1400/MediaRenderer/RenderingControl/Control 2021-07-12 11:12:09 WARNING (SyncWorker_4) [homeassistant.components.sonos] Failed to connect to discovered player '192.168.13.176': 405 Client Error: Method Not Allowed for url: http://192.168.13.176:1400/MediaRenderer/RenderingControl/Control 2021-07-12 11:13:09 WARNING (SyncWorker_15) [homeassistant.components.sonos] Failed to connect to discovered player '192.168.13.176': 405 Client Error: Method Not Allowed for url: http://192.168.13.176:1400/MediaRenderer/RenderingControl/Control 2021-07-12 11:14:09 WARNING (SyncWorker_24) [homeassistant.components.sonos] Failed to connect to discovered player '192.168.13.176': ("Connection broken: ConnectionResetError(104, 'Connection reset by peer')", ConnectionResetError(104, 'Connection reset by peer')) 2021-07-12 11:15:09 WARNING (SyncWorker_14) [homeassistant.components.sonos] Failed to connect to discovered player '192.168.13.176': 405 Client Error: Method Not Allowed for url: http://192.168.13.176:1400/MediaRenderer/RenderingControl/Control 2021-07-12 11:16:09 WARNING (SyncWorker_10) [homeassistant.components.sonos] Failed to connect to discovered player '192.168.13.176': ("Connection broken: ConnectionResetError(104, 'Connection reset by peer')", ConnectionResetError(104, 'Connection reset by peer')) 2021-07-12 11:17:09 WARNING (SyncWorker_20) [homeassistant.components.sonos] Failed to connect to discovered player '192.168.13.176': 405 Client Error: Method Not Allowed for url: http://192.168.13.176:1400/MediaRenderer/RenderingControl/Control` username_2: @username_5 this will be addressed in 2021.7.2 which is not released yet. username_1: I have upgraded to 2021.7.2 but I am still seeing the same error, has anyone else noticed this? I removed my Sonos integration and added it back in but that didn't seem to make a difference. username_6: Same here on 2021.7.2: Logger: homeassistant.components.sonos Source: components/sonos/__init__.py:154 Integration: Sonos (documentation, issues) First occurred: 12:26:37 (4 occurrences) Last logged: 12:40:50 Failed to connect to discovered player '192.168.0.34': 405 Client Error: Method Not Allowed for url: http://192.168.0.34:1400/MediaRenderer/RenderingControl/Control Failed to connect to discovered player '192.168.0.34': ("Connection broken: ConnectionResetError(104, 'Connection reset by peer')", ConnectionResetError(104, 'Connection reset by peer')) username_2: Looks like some of the discovery messages can be incomplete and don't contain the "modelName" key we're checking against. username_2: ### The problem Since upgrading to 2021.7.0 I see the following message in the home-assistant.log file once per minute: ``` 2021-07-08 08:59:42 WARNING (SyncWorker_5) [homeassistant.components.sonos] Failed to connect to discovered player '192.168.201.135': 405 Client Error: Method Not Allowed for url: http://192.168.201.135:1400/MediaRenderer/RenderingControl/Control 2021-07-08 09:00:42 WARNING (SyncWorker_4) [homeassistant.components.sonos] Failed to connect to discovered player '192.168.201.135': 405 Client Error: Method Not Allowed for url: http://192.168.201.135:1400/MediaRenderer/RenderingControl/Control 2021-07-08 09:01:42 WARNING (SyncWorker_6) [homeassistant.components.sonos] Failed to connect to discovered player '192.168.201.135': 405 Client Error: Method Not Allowed for url: http://192.168.201.135:1400/MediaRenderer/RenderingControl/Control ``` IP address 192.168.201.135 is a Sonos Boost device so isn't really a player: ``` Boost: Boost Sonos OS: S1 Version: 11.2.9 (build 57688280) Hardware Version: 1.12.1.2-2.1 Series ID: A100 IP Address: 192.168.201.135 WM: 0 ``` ### What is version of Home Assistant Core has the issue? core-2021.7.0 ### What was the last working version of Home Assistant Core? core-2021.6.6 ### What type of installation are you running? Home Assistant OS ### Integration causing the issue Sonos ### Link to integration documentation on our website https://www.home-assistant.io/integrations/sonos ### Example YAML snippet _No response_ ### Anything in the logs that might be useful for us? ```txt 2021-07-08 08:59:42 WARNING (SyncWorker_5) [homeassistant.components.sonos] Failed to connect to discovered player '192.168.201.135': 405 Client Error: Method Not Allowed for url: http://192.168.201.135:1400/MediaRenderer/RenderingControl/Control 2021-07-08 09:00:42 WARNING (SyncWorker_4) [homeassistant.components.sonos] Failed to connect to discovered player '192.168.201.135': 405 Client Error: Method Not Allowed for url: http://192.168.201.135:1400/MediaRenderer/RenderingControl/Control 2021-07-08 09:01:42 WARNING (SyncWorker_6) [homeassistant.components.sonos] Failed to connect to discovered player '192.168.201.135': 405 Client Error: Method Not Allowed for url: http://192.168.201.135:1400/MediaRenderer/RenderingControl/Control ``` ### Additional information Boost: Boost Sonos OS: S1 Version: 11.2.9 (build 57688280) Hardware Version: 1.12.1.2-2.1 Series ID: A100 IP Address: 192.168.201.135 WM: 0 username_3: except Exception as ex: Pysonos discovery has a broad except handler that was likely swallowing these before username_2: We should still avoid trying if we know if the model is unsupported. Also we should detect these rejects and avoid repeatedly connecting if we know it will continue to fail. username_2: If you're seeing this in 2021.7.2, can you run with `pysonos` in debug to collect a bit more info? I think I know how we can catch this but need confirmation from a real Boost setup: ``` logger: logs: homeassistant.components.sonos: debug pysonos: debug ``` username_0: For what it’s worth, 2021.7.2 fixed the issue for me username_7: Running 2021.7.2 Encountering the same problem. Strangely, the referenced IP address is to my **VeraPlus hub**. ``` 2021-07-14 14:42:27 INFO (MainThread) [homeassistant.core] Starting Home Assistant 2021-07-14 14:42:27 INFO (MainThread) [homeassistant.core] Timer:starting 2021-07-14 14:42:48 WARNING (SyncWorker_2) [homeassistant.components.sonos] Failed to connect to discovered player '10.0.0.40': HTTPConnectionPool(host='10.0.0.40', port=1400): Max retries exceeded with url: /xml/ZoneGroupTopology1.xml (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f78801a5490>: Failed to establish a new connection: [Errno 111] Connection refused')) 2021-07-14 14:43:49 WARNING (SyncWorker_8) [homeassistant.components.sonos] Failed to connect to discovered player '10.0.0.40': HTTPConnectionPool(host='10.0.0.40', port=1400): Max retries exceeded with url: /xml/ZoneGroupTopology1.xml (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f787ff23e50>: Failed to establish a new connection: [Errno 111] Connection refused')) 2021-07-14 14:43:49 WARNING (SyncWorker_1) [homeassistant.components.sonos] Failed to connect to discovered player '10.0.0.40': HTTPConnectionPool(host='10.0.0.40', port=1400): Max retries exceeded with url: /xml/ZoneGroupTopology1.xml (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f787ff27880>: Failed to establish a new connection: [Errno 111] Connection refused')) ``` username_7: Here's the debug log. I am running 2021.7.2. As I mentioned in my previous post, the referenced IP (10.0.0.40) in the log warning is for my VeraPlus Hub and not a Sonos device. I have Sonos speakers, but do not owm a Sonos Boost. ``` 2021-07-16 09:41:49 DEBUG (MainThread) [pysonos.data_structures_entry] pysonos.data_structures_entry imported 2021-07-16 09:41:49 DEBUG (MainThread) [homeassistant.components.sonos] Reached async_setup_entry, config={} 2021-07-16 09:41:50 DEBUG (MainThread) [homeassistant.components.sonos] Adding discovery job 2021-07-16 09:41:50 DEBUG (MainThread) [homeassistant.components.sonos] New discovery uid=RINCON_949F3E8A46B601400: {'CACHE-CONTROL': 'max-age = 1800', 'ssdp_ext': '', 'ssdp_location': 'http://10.0.1.138:1400/xml/device_description.xml', 'ssdp_server': 'Linux UPnP/1.0 Sonos/63.2-90210 (ZPS12)', 'ssdp_st': 'urn:schemas-upnp-org:device:ZonePlayer:1', 'ssdp_usn': 'uuid:RINCON_949F3E8A46B601400::urn:schemas-upnp-org:device:ZonePlayer:1', 'X-RINCON-HOUSEHOLD': 'Sonos_fGNUyyw4ADjewqMgtuyIZbLAI6', 'X-RINCON-BOOTSEQ': '60', 'BOOTID.UPNP.ORG': '60', 'X-RINCON-WIFIMODE': '1', 'X-RINCON-VARIANT': '2', 'HOUSEHOLD.SMARTSPEAKER.AUDIO': 'Sonos_fGNUyyw4ADjewqMgtuyIZbLAI6.TbOEeN9FWyLaB_t0YhlJ', '_location_original': 'http://10.0.1.138:1400/xml/device_description.xml', '_timestamp': datetime.datetime(2021, 7, 16, 9, 41, 50, 75394), '_host': '10.0.1.138', '_port': 56948, '_udn': 'uuid:RINCON_949F3E8A46B601400', '_source': 'search', 'UDN': 'uuid:RINCON_949F3E8A46B601400'} 2021-07-16 09:41:50 DEBUG (SyncWorker_2) [pysonos.core] Created SoCo instance for ip: 10.0.1.138 2021-07-16 09:41:50 DEBUG (SyncWorker_2) [pysonos.services] Dispatching method GetZoneGroupState 2021-07-16 09:41:50 DEBUG (SyncWorker_2) [pysonos.services] Sending GetZoneGroupState [] to 10.0.1.138 2021-07-16 09:41:50 DEBUG (SyncWorker_2) [pysonos.services] Sending {'Content-Type': 'text/xml; charset="utf-8"', 'SOAPACTION': 'urn:schemas-upnp-org:service:ZoneGroupTopology:1#GetZoneGroupState'}, <?xml version="1.0" ?> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <s:Body> <u:GetZoneGroupState xmlns:u="urn:schemas-upnp-org:service:ZoneGroupTopology:1"/> </s:Body> </s:Envelope> 2021-07-16 09:41:50 DEBUG (SyncWorker_2) [pysonos.services] Received {'CONTENT-LENGTH': '3408', 'CONTENT-TYPE': 'text/xml; charset="utf-8"', 'EXT': '', 'Server': 'Linux UPnP/1.0 Sonos/63.2-90210 (ZPS12)', 'Connection': 'close'}, <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetZoneGroupStateResponse xmlns:u="urn:schemas-upnp-org:service:ZoneGroupTopology:1"><ZoneGroupState>&lt;ZoneGroupState&gt;&lt;ZoneGroups&gt;&lt;ZoneGroup Coordinator=&quot;RINCON_949F3EFD33C401400&quot; ID=&quot;RINCON_949F3EFD33C401400:3361762356&quot;&gt;&lt;ZoneGroupMember UUID=&quot;RINCON_949F3E8A46B601400&quot; Location=&quot;http://10.0.1.138:1400/xml/device_description.xml&quot; ZoneName=&quot;Office Speakers&quot; Icon=&quot;x-rincon-roomicon:office&quot; Configuration=&quot;1&quot; SoftwareVersion=&quot;63.2-90210&quot; SWGen=&quot;2&quot; MinCompatibleVersion=&quot;62.0-00000&quot; LegacyCompatibleVersion=&quot;58.0-00000&quot; BootSeq=&quot;60&quot; TVConfigurationError=&quot;0&quot; HdmiCecAvailable=&quot;0&quot; WirelessMode=&quot;1&quot; WirelessLeafOnly=&quot;0&quot; HasConfiguredSSID=&quot;1&quot; ChannelFreq=&quot;2437&quot; BehindWifiExtender=&quot;0&quot; WifiEnabled=&quot;1&quot; Orientation=&quot;0&quot; RoomCalibrationState=&quot;4&quot; SecureRegState=&quot;3&quot; VoiceConfigState=&quot;0&quot; MicEnabled=&quot;0&quot; AirPlayEnabled=&quot;0&quot; IdleState=&quot;1&quot; MoreInfo=&quot;&quot;/&gt;&lt;ZoneGroupMember UUID=&quot;RINCON_7828CA272A0201400&quot; Location=&quot;http://10.0.1.36:1400/xml/device_description.xml&quot; ZoneName=&quot;Main Speakers&quot; Icon=&quot;x-rincon-roomicon:living&quot; Configuration=&quot;1&quot; Invisible=&quot;1&quot; SoftwareVersion=&quot;63.2-90210&quot; SWGen=&quot;2&quot; MinCompatibleVersion=&quot;62.0-00000&quot; LegacyCompatibleVersion=&quot;58.0-00000&quot; ChannelMapSet=&quot;RINCON_949F3EFD33C401400:LF,LF;RINCON_7828CA272A0201400:RF,RF&quot; BootSeq=&quot;52&quot; TVConfigurationError=&quot;0&quot; HdmiCecAvailable=&quot;0&quot; WirelessMode=&quot;1&quot; WirelessLeafOnly=&quot;0&quot; HasConfiguredSSID=&quot;1&quot; ChannelFreq=&quot;2437&quot; BehindWifiExtender=&quot;0&quot; WifiEnabled=&quot;1&quot; Orientation=&quot;0&quot; RoomCalibrationState=&quot;5&quot; SecureRegState=&quot;3&quot; VoiceConfigState=&quot;0&quot; MicEnabled=&quot;0&quot; AirPlayEnabled=&quot;0&quot; IdleState=&quot;1&quot; MoreInfo=&quot;&quot;/&gt;&lt;ZoneGroupMember UUID=&quot;RINCON_949F3EFD33C401400&quot; Location=&quot;http://10.0.1.2:1400/xml/device_description.xml&quot; ZoneName=&quot;Main Speakers&quot; Icon=&quot;x-rincon-roomicon:living&quot; Configuration=&quot;1&quot; SoftwareVersion=&quot;63.2-90210&quot; SWGen=&quot;2&quot; MinCompatibleVersion=&quot;62.0-00000&quot; LegacyCompatibleVersion=&quot;58.0-00000&quot; ChannelMapSet=&quot;RINCON_949F3EFD33C401400:LF,LF;RINCON_7828CA272A0201400:RF,RF&quot; BootSeq=&quot;38&quot; TVConfigurationError=&quot;0&quot; HdmiCecAvailable=&quot;0&quot; WirelessMode=&quot;1&quot; WirelessLeafOnly=&quot;0&quot; HasConfiguredSSID=&quot;1&quot; ChannelFreq=&quot;2437&quot; BehindWifiExtender=&quot;0&quot; WifiEnabled=&quot;1&quot; Orientation=&quot;0&quot; RoomCalibrationState=&quot;4&quot; SecureRegState=&quot;3&quot; VoiceConfigState=&quot;0&quot; MicEnabled=&quot;0&quot; AirPlayEnabled=&quot;0&quot; IdleState=&quot;1&quot; MoreInfo=&quot;&quot;/&gt;&lt;/ZoneGroup&gt;&lt;/ZoneGroups&gt;&lt;VanishedDevices&gt;&lt;/VanishedDevices&gt;&lt;/ZoneGroupState&gt;</ZoneGroupState></u:GetZoneGroupStateResponse></s:Body></s:Envelope> 2021-07-16 09:41:50 DEBUG (SyncWorker_2) [pysonos.services] Received status 200 from 10.0.1.138 2021-07-16 09:41:50 DEBUG (SyncWorker_2) [pysonos.core] Created SoCo instance for ip: 10.0.1.36 2021-07-16 09:41:50 DEBUG (SyncWorker_2) [pysonos.core] Created SoCo instance for ip: 10.0.1.2 2021-07-16 09:41:50 DEBUG (SyncWorker_2) [pysonos.services] Dispatching method GetVolume 2021-07-16 09:41:50 DEBUG (SyncWorker_2) [pysonos.services] Sending GetVolume [('InstanceID', 0), ('Channel', 'Master')] to 10.0.1.138 2021-07-16 09:41:50 DEBUG (SyncWorker_2) [pysonos.services] Sending {'Content-Type': 'text/xml; charset="utf-8"', 'SOAPACTION': 'urn:schemas-upnp-org:service:RenderingControl:1#GetVolume'}, <?xml version="1.0" ?> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <s:Body> <u:GetVolume xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1"> <InstanceID>0</InstanceID> <Channel>Master</Channel> </u:GetVolume> </s:Body> </s:Envelope> 2021-07-16 09:41:50 DEBUG (SyncWorker_2) [pysonos.services] Received {'CONTENT-LENGTH': '288', 'CONTENT-TYPE': 'text/xml; charset="utf-8"', 'EXT': '', 'Server': 'Linux UPnP/1.0 Sonos/63.2-90210 (ZPS12)', 'Connection': 'close'}, <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetVolumeResponse xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1"><CurrentVolume>18</CurrentVolume></u:GetVolumeResponse></s:Body></s:Envelope> 2021-07-16 09:41:50 DEBUG (SyncWorker_2) [pysonos.services] Received status 200 from 10.0.1.138 2021-07-16 09:41:50 DEBUG (SyncWorker_2) [pysonos.services] Cache hit 2021-07-16 09:41:50 DEBUG (SyncWorker_2) [homeassistant.components.sonos] Adding new speaker: {'zone_name': 'Office Speakers', 'player_icon': '/img/icon-S12.png', 'uid': 'RINCON_949F3E8A46B601400', 'serial_number': '94-9F-3E-8A-46-B6:A', 'software_version': '63.2-90210', 'hardware_version': '1.20.1.6-1.2', 'model_number': 'S12', 'model_name': 'Sonos Play:1', 'display_version': '13.1.4', 'mac_address': '94-9F-3E-8A-46-B6'} 2021-07-16 09:41:50 DEBUG (SyncWorker_2) [pysonos.services] Dispatching method GetHouseholdID 2021-07-16 09:41:50 DEBUG (SyncWorker_2) [pysonos.services] Sending GetHouseholdID [] to 10.0.1.138 2021-07-16 09:41:50 DEBUG (SyncWorker_2) [pysonos.services] Sending {'Content-Type': 'text/xml; charset="utf-8"', 'SOAPACTION': 'urn:schemas-upnp-org:service:DeviceProperties:1#GetHouseholdID'}, <?xml version="1.0" ?> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <s:Body> <u:GetHouseholdID xmlns:u="urn:schemas-upnp-org:service:DeviceProperties:1"/> </s:Body> </s:Envelope> 2021-07-16 09:41:50 DEBUG (MainThread) [homeassistant.components.sonos] New discovery uid=RINCON_949F3EFD33C401400: {'CACHE-CONTROL': 'max-age = 1800', 'ssdp_ext': '', 'ssdp_location': 'http://10.0.1.2:1400/xml/device_description.xml', 'ssdp_server': 'Linux UPnP/1.0 Sonos/63.2-90210 (ZPS12)', 'ssdp_st': 'urn:schemas-upnp-org:device:ZonePlayer:1', 'ssdp_usn': 'uuid:RINCON_949F3EFD33C401400::urn:schemas-upnp-org:device:ZonePlayer:1', 'X-RINCON-HOUSEHOLD': 'Sonos_fGNUyyw4ADjewqMgtuyIZbLAI6', 'X-RINCON-BOOTSEQ': '38', 'BOOTID.UPNP.ORG': '38', 'X-RINCON-WIFIMODE': '1', 'X-RINCON-VARIANT': '2', 'HOUSEHOLD.SMARTSPEAKER.AUDIO': 'Sonos_fGNUyyw4ADjewqMgtuyIZbLAI6.TbOEeN9FWyLaB_t0YhlJ', '_location_original': 'http://10.0.1.2:1400/xml/device_description.xml', '_timestamp': datetime.datetime(2021, 7, 16, 9, 41, 50, 510868), '_host': '10.0.1.2', '_port': 58006, '_udn': 'uuid:RINCON_949F3EFD33C401400', '_source': 'search', 'deviceType': 'urn:schemas-upnp-org:device:ZonePlayer:1', 'friendlyName': '10.0.1.2 - Sonos Play:1', 'manufacturer': 'Sonos, Inc.', 'manufacturerURL': 'http://www.sonos.com', 'modelNumber': 'S12', 'modelDescription': 'Sonos Play:1', 'modelName': 'Sonos Play:1', 'modelURL': 'http://www.sonos.com/products/zoneplayers/S12', 'softwareVersion': '63.2-90210', 'swGen': '2', 'hardwareVersion': '1.20.1.6-1.2', 'serialNum': '94-9F-3E-FD-33-C4:1', 'MACAddress': '94:9F:3E:FD:33:C4', 'UDN': 'uuid:RINCON_949F3EFD33C401400', 'iconList': {'icon': {'id': '0', 'mimetype': 'image/png', 'width': '48', 'height': '48', 'depth': '24', 'url': '/img/icon-S12.png'}}, 'minCompatibleVersion': '62.0-00000', 'legacyCompatibleVersion': '58.0-00000', 'apiVersion': '1.24.0', 'minApiVersion': '1.1.0', 'displayVersion': '13.1.4', 'extraVersion': None, 'nsVersion': '26', 'roomName': 'Main Speakers', 'displayName': 'Play:1', 'zoneType': '14', 'feature1': '0x00000000', 'feature2': '0x00403332', 'feature3': '0x0009300e', 'seriesid': 'A200', 'variant': '2', 'internalSpeakerSize': '5', 'bassExtension': '75.000', 'satGainOffset': '6.000', 'memory': '256', 'flash': '256', 'ampOnTime': '10', 'retailMode': '0', 'SSLPort': '1443', 'securehhSSLPort': '1843', 'serviceList': {'service': [{'serviceType': 'urn:schemas-upnp-org:service:AlarmClock:1', 'serviceId': 'urn:upnp-org:serviceId:AlarmClock', 'controlURL': '/AlarmClock/Control', 'eventSubURL': '/AlarmClock/Event', 'SCPDURL': '/xml/AlarmClock1.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:MusicServices:1', 'serviceId': 'urn:upnp-org:serviceId:MusicServices', 'controlURL': '/MusicServices/Control', 'eventSubURL': '/MusicServices/Event', 'SCPDURL': '/xml/MusicServices1.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:DeviceProperties:1', 'serviceId': 'urn:upnp-org:serviceId:DeviceProperties', 'controlURL': '/DeviceProperties/Control', 'eventSubURL': '/DeviceProperties/Event', 'SCPDURL': '/xml/DeviceProperties1.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:SystemProperties:1', 'serviceId': 'urn:upnp-org:serviceId:SystemProperties', 'controlURL': '/SystemProperties/Control', 'eventSubURL': '/SystemProperties/Event', 'SCPDURL': '/xml/SystemProperties1.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:ZoneGroupTopology:1', 'serviceId': 'urn:upnp-org:serviceId:ZoneGroupTopology', 'controlURL': '/ZoneGroupTopology/Control', 'eventSubURL': '/ZoneGroupTopology/Event', 'SCPDURL': '/xml/ZoneGroupTopology1.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:GroupManagement:1', 'serviceId': 'urn:upnp-org:serviceId:GroupManagement', 'controlURL': '/GroupManagement/Control', 'eventSubURL': '/GroupManagement/Event', 'SCPDURL': '/xml/GroupManagement1.xml'}, {'serviceType': 'urn:schemas-tencent-com:service:QPlay:1', 'serviceId': 'urn:tencent-com:serviceId:QPlay', 'controlURL': '/QPlay/Control', 'eventSubURL': '/QPlay/Event', 'SCPDURL': '/xml/QPlay1.xml'}]}, 'deviceList': {'device': [{'deviceType': 'urn:schemas-upnp-org:device:MediaServer:1', 'friendlyName': '10.0.1.2 - Sonos Play:1 Media Server', 'manufacturer': 'Sonos, Inc.', 'manufacturerURL': 'http://www.sonos.com', 'modelNumber': 'S12', 'modelDescription': 'Sonos Play:1 Media Server', 'modelName': 'Sonos Play:1', 'modelURL': 'http://www.sonos.com/products/zoneplayers/S12', 'UDN': 'uuid:RINCON_949F3EFD33C401400_MS', 'serviceList': {'service': [{'serviceType': 'urn:schemas-upnp-org:service:ContentDirectory:1', 'serviceId': 'urn:upnp-org:serviceId:ContentDirectory', 'controlURL': '/MediaServer/ContentDirectory/Control', 'eventSubURL': '/MediaServer/ContentDirectory/Event', 'SCPDURL': '/xml/ContentDirectory1.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:ConnectionManager:1', 'serviceId': 'urn:upnp-org:serviceId:ConnectionManager', 'controlURL': '/MediaServer/ConnectionManager/Control', 'eventSubURL': '/MediaServer/ConnectionManager/Event', 'SCPDURL': '/xml/ConnectionManager1.xml'}]}}, {'deviceType': 'urn:schemas-upnp-org:device:MediaRenderer:1', 'friendlyName': 'Main Speakers - Sonos Play:1 Media Renderer', 'manufacturer': 'Sonos, Inc.', 'manufacturerURL': 'http://www.sonos.com', 'modelNumber': 'S12', 'modelDescription': 'Sonos Play:1 Media Renderer', 'modelName': 'Sonos Play:1', 'modelURL': 'http://www.sonos.com/products/zoneplayers/S12', 'UDN': 'uuid:RINCON_949F3EFD33C401400_MR', 'serviceList': {'service': [{'serviceType': 'urn:schemas-upnp-org:service:RenderingControl:1', 'serviceId': 'urn:upnp-org:serviceId:RenderingControl', 'controlURL': '/MediaRenderer/RenderingControl/Control', 'eventSubURL': '/MediaRenderer/RenderingControl/Event', 'SCPDURL': '/xml/RenderingControl1.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:ConnectionManager:1', 'serviceId': 'urn:upnp-org:serviceId:ConnectionManager', 'controlURL': '/MediaRenderer/ConnectionManager/Control', 'eventSubURL': '/MediaRenderer/ConnectionManager/Event', 'SCPDURL': '/xml/ConnectionManager1.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:AVTransport:1', 'serviceId': 'urn:upnp-org:serviceId:AVTransport', 'controlURL': '/MediaRenderer/AVTransport/Control', 'eventSubURL': '/MediaRenderer/AVTransport/Event', 'SCPDURL': '/xml/AVTransport1.xml'}, {'serviceType': 'urn:schemas-sonos-com:service:Queue:1', 'serviceId': 'urn:sonos-com:serviceId:Queue', 'controlURL': '/MediaRenderer/Queue/Control', 'eventSubURL': '/MediaRenderer/Queue/Event', 'SCPDURL': '/xml/Queue1.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:GroupRenderingControl:1', 'serviceId': 'urn:upnp-org:serviceId:GroupRenderingControl', 'controlURL': '/MediaRenderer/GroupRenderingControl/Control', 'eventSubURL': '/MediaRenderer/GroupRenderingControl/Event', 'SCPDURL': '/xml/GroupRenderingControl1.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:VirtualLineIn:1', 'serviceId': 'urn:upnp-org:serviceId:VirtualLineIn', 'controlURL': '/MediaRenderer/VirtualLineIn/Control', 'eventSubURL': '/MediaRenderer/VirtualLineIn/Event', 'SCPDURL': '/xml/VirtualLineIn1.xml'}]}, 'X_Rhapsody-Extension': {'deviceID': 'urn:rhapsody-real-com:device-id-1-0:sonos_1:RINCON_949F3EFD33C401400', 'deviceCapabilities': {'interactionPattern': {'@type': 'real-rhapsody-upnp-1-0'}}}, 'X_QPlay_SoftwareCapability': 'QPlay:2', 'iconList': {'icon': {'mimetype': 'image/png', 'width': '48', 'height': '48', 'depth': '24', 'url': '/img/icon-S12.png'}}}]}} 2021-07-16 09:41:50 DEBUG (SyncWorker_2) [pysonos.services] Received {'CONTENT-LENGTH': '338', 'CONTENT-TYPE': 'text/xml; charset="utf-8"', 'EXT': '', 'Server': 'Linux UPnP/1.0 Sonos/63.2-90210 (ZPS12)', 'Connection': 'close'}, <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetHouseholdIDResponse xmlns:u="urn:schemas-upnp-org:service:DeviceProperties:1"><CurrentHouseholdID>Sonos_fGNUyyw4ADjewqMgtuyIZbLAI6</CurrentHouseholdID></u:GetHouseholdIDResponse></s:Body></s:Envelope> 2021-07-16 09:41:50 DEBUG (SyncWorker_2) [pysonos.services] Received status 200 from 10.0.1.138 2021-07-16 09:41:50 DEBUG (SyncWorker_2) [pysonos.services] Dispatching method ListAlarms 2021-07-16 09:41:50 DEBUG (SyncWorker_2) [pysonos.services] Sending ListAlarms [] to 10.0.1.138 2021-07-16 09:41:50 DEBUG (SyncWorker_2) [pysonos.services] Sending {'Content-Type': 'text/xml; charset="utf-8"', 'SOAPACTION': 'urn:schemas-upnp-org:service:AlarmClock:1#ListAlarms'}, <?xml version="1.0" ?> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <s:Body> <u:ListAlarms xmlns:u="urn:schemas-upnp-org:service:AlarmClock:1"/> </s:Body> </s:Envelope> [Truncated] <InstanceID>0</InstanceID> <Channel>Master</Channel> </u:GetVolume> </s:Body> </s:Envelope> 2021-07-16 09:43:49 DEBUG (SyncWorker_8) [pysonos.services] Received {'CONTENT-LENGTH': '288', 'CONTENT-TYPE': 'text/xml; charset="utf-8"', 'EXT': '', 'Server': 'Linux UPnP/1.0 Sonos/63.2-90210 (ZPS12)', 'Connection': 'close'}, <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetVolumeResponse xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1"><CurrentVolume>14</CurrentVolume></u:GetVolumeResponse></s:Body></s:Envelope> 2021-07-16 09:43:49 DEBUG (SyncWorker_8) [pysonos.services] Received status 200 from 10.0.1.36 2021-07-16 09:43:49 DEBUG (SyncWorker_8) [pysonos.services] Sending GetZoneGroupState [] to 10.0.1.36 2021-07-16 09:43:49 DEBUG (SyncWorker_8) [pysonos.services] Sending {'Content-Type': 'text/xml; charset="utf-8"', 'SOAPACTION': 'urn:schemas-upnp-org:service:ZoneGroupTopology:1#GetZoneGroupState'}, <?xml version="1.0" ?> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <s:Body> <u:GetZoneGroupState xmlns:u="urn:schemas-upnp-org:service:ZoneGroupTopology:1"/> </s:Body> </s:Envelope> 2021-07-16 09:43:49 DEBUG (SyncWorker_8) [pysonos.services] Received {'CONTENT-LENGTH': '3408', 'CONTENT-TYPE': 'text/xml; charset="utf-8"', 'EXT': '', 'Server': 'Linux UPnP/1.0 Sonos/63.2-90210 (ZPS12)', 'Connection': 'close'}, <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetZoneGroupStateResponse xmlns:u="urn:schemas-upnp-org:service:ZoneGroupTopology:1"><ZoneGroupState>&lt;ZoneGroupState&gt;&lt;ZoneGroups&gt;&lt;ZoneGroup Coordinator=&quot;RINCON_949F3EFD33C401400&quot; ID=&quot;RINCON_949F3EFD33C401400:3361762356&quot;&gt;&lt;ZoneGroupMember UUID=&quot;RINCON_7828CA272A0201400&quot; Location=&quot;http://10.0.1.36:1400/xml/device_description.xml&quot; ZoneName=&quot;Main Speakers&quot; Icon=&quot;x-rincon-roomicon:living&quot; Configuration=&quot;1&quot; Invisible=&quot;1&quot; SoftwareVersion=&quot;63.2-90210&quot; SWGen=&quot;2&quot; MinCompatibleVersion=&quot;62.0-00000&quot; LegacyCompatibleVersion=&quot;58.0-00000&quot; ChannelMapSet=&quot;RINCON_949F3EFD33C401400:LF,LF;RINCON_7828CA272A0201400:RF,RF&quot; BootSeq=&quot;52&quot; TVConfigurationError=&quot;0&quot; HdmiCecAvailable=&quot;0&quot; WirelessMode=&quot;1&quot; WirelessLeafOnly=&quot;0&quot; HasConfiguredSSID=&quot;1&quot; ChannelFreq=&quot;2437&quot; BehindWifiExtender=&quot;0&quot; WifiEnabled=&quot;1&quot; Orientation=&quot;0&quot; RoomCalibrationState=&quot;5&quot; SecureRegState=&quot;3&quot; VoiceConfigState=&quot;0&quot; MicEnabled=&quot;0&quot; AirPlayEnabled=&quot;0&quot; IdleState=&quot;1&quot; MoreInfo=&quot;&quot;/&gt;&lt;ZoneGroupMember UUID=&quot;RINCON_949F3EFD33C401400&quot; Location=&quot;http://10.0.1.2:1400/xml/device_description.xml&quot; ZoneName=&quot;Main Speakers&quot; Icon=&quot;x-rincon-roomicon:living&quot; Configuration=&quot;1&quot; SoftwareVersion=&quot;63.2-90210&quot; SWGen=&quot;2&quot; MinCompatibleVersion=&quot;62.0-00000&quot; LegacyCompatibleVersion=&quot;58.0-00000&quot; ChannelMapSet=&quot;RINCON_949F3EFD33C401400:LF,LF;RINCON_7828CA272A0201400:RF,RF&quot; BootSeq=&quot;38&quot; TVConfigurationError=&quot;0&quot; HdmiCecAvailable=&quot;0&quot; WirelessMode=&quot;1&quot; WirelessLeafOnly=&quot;0&quot; HasConfiguredSSID=&quot;1&quot; ChannelFreq=&quot;2437&quot; BehindWifiExtender=&quot;0&quot; WifiEnabled=&quot;1&quot; Orientation=&quot;0&quot; RoomCalibrationState=&quot;4&quot; SecureRegState=&quot;3&quot; VoiceConfigState=&quot;0&quot; MicEnabled=&quot;0&quot; AirPlayEnabled=&quot;0&quot; IdleState=&quot;1&quot; MoreInfo=&quot;&quot;/&gt;&lt;ZoneGroupMember UUID=&quot;RINCON_949F3E8A46B601400&quot; Location=&quot;http://10.0.1.138:1400/xml/device_description.xml&quot; ZoneName=&quot;Office Speakers&quot; Icon=&quot;x-rincon-roomicon:office&quot; Configuration=&quot;1&quot; SoftwareVersion=&quot;63.2-90210&quot; SWGen=&quot;2&quot; MinCompatibleVersion=&quot;62.0-00000&quot; LegacyCompatibleVersion=&quot;58.0-00000&quot; BootSeq=&quot;60&quot; TVConfigurationError=&quot;0&quot; HdmiCecAvailable=&quot;0&quot; WirelessMode=&quot;1&quot; WirelessLeafOnly=&quot;0&quot; HasConfiguredSSID=&quot;1&quot; ChannelFreq=&quot;2437&quot; BehindWifiExtender=&quot;0&quot; WifiEnabled=&quot;1&quot; Orientation=&quot;0&quot; RoomCalibrationState=&quot;4&quot; SecureRegState=&quot;3&quot; VoiceConfigState=&quot;0&quot; MicEnabled=&quot;0&quot; AirPlayEnabled=&quot;0&quot; IdleState=&quot;1&quot; MoreInfo=&quot;&quot;/&gt;&lt;/ZoneGroup&gt;&lt;/ZoneGroups&gt;&lt;VanishedDevices&gt;&lt;/VanishedDevices&gt;&lt;/ZoneGroupState&gt;</ZoneGroupState></u:GetZoneGroupStateResponse></s:Body></s:Envelope> 2021-07-16 09:43:49 DEBUG (SyncWorker_8) [pysonos.services] Received status 200 from 10.0.1.36 2021-07-16 09:43:49 DEBUG (MainThread) [homeassistant.components.sonos.speaker] Async seen: <SoCo object at ip 10.0.1.138>, was_available: True ``` username_2: Strange, the Vera hub is advertising itself using the Sonos SSDP ST value: `'ssdp_st': 'urn:schemas-upnp-org:device:ZonePlayer:1'`. We'll need to find a way to filter it out. username_3: https://github.com/username_9/pysonos/blob/master/pysonos/discovery.py#L156 Looks like pysonos is dropping anything without b"Sonos" in the payload username_8: I can confirm the same thing. username_2: For anyone that does have a Boost, I'd still like to see debug logs as requested [here](#issuecomment-879180168). username_6: Hope this is right, first attempt... I noticed that even though it loops every minute, the warning only happens every 4 or 5 minutes (13:09:00 in the log below). I'm also only getting the Method Not Allowed error now, the ConnectionReset one has stopped (2021.7.3). 2021-07-21 13:08:41 DEBUG (MainThread) [pysonos.data_structures_entry] pysonos.data_structures_entry imported 2021-07-21 13:08:42 DEBUG (MainThread) [homeassistant.components.sonos] Reached async_setup_entry, config={} 2021-07-21 13:08:43 DEBUG (MainThread) [homeassistant.components.sonos] Adding discovery job 2021-07-21 13:08:46 DEBUG (MainThread) [homeassistant.components.sonos] New discovery uid=RINCON_5CAAFD1E604F01400: {'CACHE-CONTROL': 'max-age = 1800', 'ssdp_ext': '', 'ssdp_location': 'http://192.168.0.28:1400/xml/device_description.xml', 'ssdp_server': 'Linux UPnP/1.0 Sonos/63.2-90210 (ZPS9)', 'ssdp_st': 'urn:schemas-upnp-org:device:ZonePlayer:1', 'ssdp_usn': 'uuid:RINCON_5CAAFD1E604F01400::urn:schemas-upnp-org:device:ZonePlayer:1', 'X-RINCON-HOUSEHOLD': 'Sonos_jBNrsaaUM2A2rqJuAgMdsipH45', 'X-RINCON-BOOTSEQ': '191', 'BOOTID.UPNP.ORG': '191', 'X-RINCON-WIFIMODE': '0', 'X-RINCON-VARIANT': '0', 'HOUSEHOLD.SMARTSPEAKER.AUDIO': 'Sonos_jBNrsaaUM2A2rqJuAgMdsipH45.g9HCZe2WIHXdns_ba8wn', '_location_original': 'http://192.168.0.28:1400/xml/device_description.xml', '_timestamp': datetime.datetime(2021, 7, 21, 13, 8, 45, 895428), '_host': '192.168.0.28', '_port': 52835, '_udn': 'uuid:RINCON_5CAAFD1E604F01400', '_source': 'search', 'deviceType': 'urn:schemas-upnp-org:device:ZonePlayer:1', 'friendlyName': '192.168.0.28 - Sonos Playbar', 'manufacturer': 'Sonos, Inc.', 'manufacturerURL': 'http://www.sonos.com', 'modelNumber': 'S9', 'modelDescription': 'Sonos Playbar', 'modelName': 'Sonos Playbar', 'modelURL': 'http://www.sonos.com/products/zoneplayers/S9', 'softwareVersion': '63.2-90210', 'swGen': '2', 'hardwareVersion': '1.9.1.10-2.0', 'serialNum': '5C-AA-FD-1E-60-4F:G', 'MACAddress': '5C:AA:FD:1E:60:4F', 'UDN': 'uuid:RINCON_5CAAFD1E604F01400', 'iconList': {'icon': {'id': '0', 'mimetype': 'image/png', 'width': '48', 'height': '48', 'depth': '24', 'url': '/img/icon-S9.png'}}, 'minCompatibleVersion': '62.0-00000', 'legacyCompatibleVersion': '58.0-00000', 'apiVersion': '1.24.0', 'minApiVersion': '1.1.0', 'displayVersion': '13.1.4', 'extraVersion': 'OTP:', 'nsVersion': '26', 'roomName': 'Lounge', 'displayName': 'Playbar', 'zoneType': '10', 'feature1': '0x00008000', 'feature2': '0x30206772', 'feature3': '0x00037008', 'seriesid': 'A100', 'variant': '0', 'internalSpeakerSize': '6', 'bassExtension': '50.000', 'satGainOffset': '0.000', 'memory': '128', 'flash': '128', 'ampOnTime': '425', 'retailMode': '0', 'SSLPort': '1443', 'securehhSSLPort': '1843', 'serviceList': {'service': [{'serviceType': 'urn:schemas-upnp-org:service:AlarmClock:1', 'serviceId': 'urn:upnp-org:serviceId:AlarmClock', 'controlURL': '/AlarmClock/Control', 'eventSubURL': '/AlarmClock/Event', 'SCPDURL': '/xml/AlarmClock1.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:MusicServices:1', 'serviceId': 'urn:upnp-org:serviceId:MusicServices', 'controlURL': '/MusicServices/Control', 'eventSubURL': '/MusicServices/Event', 'SCPDURL': '/xml/MusicServices1.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:DeviceProperties:1', 'serviceId': 'urn:upnp-org:serviceId:DeviceProperties', 'controlURL': '/DeviceProperties/Control', 'eventSubURL': '/DeviceProperties/Event', 'SCPDURL': '/xml/DeviceProperties1.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:SystemProperties:1', 'serviceId': 'urn:upnp-org:serviceId:SystemProperties', 'controlURL': '/SystemProperties/Control', 'eventSubURL': '/SystemProperties/Event', 'SCPDURL': '/xml/SystemProperties1.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:ZoneGroupTopology:1', 'serviceId': 'urn:upnp-org:serviceId:ZoneGroupTopology', 'controlURL': '/ZoneGroupTopology/Control', 'eventSubURL': '/ZoneGroupTopology/Event', 'SCPDURL': '/xml/ZoneGroupTopology1.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:GroupManagement:1', 'serviceId': 'urn:upnp-org:serviceId:GroupManagement', 'controlURL': '/GroupManagement/Control', 'eventSubURL': '/GroupManagement/Event', 'SCPDURL': '/xml/GroupManagement1.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:HTControl:1', 'serviceId': 'urn:upnp-org:serviceId:HTControl', 'controlURL': '/HTControl/Control', 'eventSubURL': '/HTControl/Event', 'SCPDURL': '/xml/HTControl1.xml'}, {'serviceType': 'urn:schemas-tencent-com:service:QPlay:1', 'serviceId': 'urn:tencent-com:serviceId:QPlay', 'controlURL': '/QPlay/Control', 'eventSubURL': '/QPlay/Event', 'SCPDURL': '/xml/QPlay1.xml'}]}, 'deviceList': {'device': [{'deviceType': 'urn:schemas-upnp-org:device:MediaServer:1', 'friendlyName': '192.168.0.28 - Sonos Playbar Media Server', 'manufacturer': 'Sonos, Inc.', 'manufacturerURL': 'http://www.sonos.com', 'modelNumber': 'S9', 'modelDescription': 'Sonos Playbar Media Server', 'modelName': 'Sonos Playbar', 'modelURL': 'http://www.sonos.com/products/zoneplayers/S9', 'UDN': 'uuid:RINCON_5CAAFD1E604F01400_MS', 'serviceList': {'service': [{'serviceType': 'urn:schemas-upnp-org:service:ContentDirectory:1', 'serviceId': 'urn:upnp-org:serviceId:ContentDirectory', 'controlURL': '/MediaServer/ContentDirectory/Control', 'eventSubURL': '/MediaServer/ContentDirectory/Event', 'SCPDURL': '/xml/ContentDirectory1.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:ConnectionManager:1', 'serviceId': 'urn:upnp-org:serviceId:ConnectionManager', 'controlURL': '/MediaServer/ConnectionManager/Control', 'eventSubURL': '/MediaServer/ConnectionManager/Event', 'SCPDURL': '/xml/ConnectionManager1.xml'}]}}, {'deviceType': 'urn:schemas-upnp-org:device:MediaRenderer:1', 'friendlyName': 'Lounge - Sonos Playbar Media Renderer', 'manufacturer': 'Sonos, Inc.', 'manufacturerURL': 'http://www.sonos.com', 'modelNumber': 'S9', 'modelDescription': 'Sonos Playbar Media Renderer', 'modelName': 'Sonos Playbar', 'modelURL': 'http://www.sonos.com/products/zoneplayers/S9', 'UDN': 'uuid:RINCON_5CAAFD1E604F01400_MR', 'serviceList': {'service': [{'serviceType': 'urn:schemas-upnp-org:service:RenderingControl:1', 'serviceId': 'urn:upnp-org:serviceId:RenderingControl', 'controlURL': '/MediaRenderer/RenderingControl/Control', 'eventSubURL': '/MediaRenderer/RenderingControl/Event', 'SCPDURL': '/xml/RenderingControl1.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:ConnectionManager:1', 'serviceId': 'urn:upnp-org:serviceId:ConnectionManager', 'controlURL': '/MediaRenderer/ConnectionManager/Control', 'eventSubURL': '/MediaRenderer/ConnectionManager/Event', 'SCPDURL': '/xml/ConnectionManager1.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:AVTransport:1', 'serviceId': 'urn:upnp-org:serviceId:AVTransport', 'controlURL': '/MediaRenderer/AVTransport/Control', 'eventSubURL': '/MediaRenderer/AVTransport/Event', 'SCPDURL': '/xml/AVTransport1.xml'}, {'serviceType': 'urn:schemas-sonos-com:service:Queue:1', 'serviceId': 'urn:sonos-com:serviceId:Queue', 'controlURL': '/MediaRenderer/Queue/Control', 'eventSubURL': '/MediaRenderer/Queue/Event', 'SCPDURL': '/xml/Queue1.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:GroupRenderingControl:1', 'serviceId': 'urn:upnp-org:serviceId:GroupRenderingControl', 'controlURL': '/MediaRenderer/GroupRenderingControl/Control', 'eventSubURL': '/MediaRenderer/GroupRenderingControl/Event', 'SCPDURL': '/xml/GroupRenderingControl1.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:VirtualLineIn:1', 'serviceId': 'urn:upnp-org:serviceId:VirtualLineIn', 'controlURL': '/MediaRenderer/VirtualLineIn/Control', 'eventSubURL': '/MediaRenderer/VirtualLineIn/Event', 'SCPDURL': '/xml/VirtualLineIn1.xml'}]}, 'X_Rhapsody-Extension': {'deviceID': 'urn:rhapsody-real-com:device-id-1-0:sonos_1:RINCON_5CAAFD1E604F01400', 'deviceCapabilities': {'interactionPattern': {'@type': 'real-rhapsody-upnp-1-0'}}}, 'X_QPlay_SoftwareCapability': 'QPlay:2', 'iconList': {'icon': {'mimetype': 'image/png', 'width': '48', 'height': '48', 'depth': '24', 'url': '/img/icon-S9.png'}}}]}} 2021-07-21 13:08:46 DEBUG (SyncWorker_15) [pysonos.core] Created SoCo instance for ip: 192.168.0.28 2021-07-21 13:08:46 DEBUG (SyncWorker_15) [pysonos.services] Dispatching method GetZoneGroupState 2021-07-21 13:08:46 DEBUG (SyncWorker_15) [pysonos.services] Sending GetZoneGroupState [] to 192.168.0.28 2021-07-21 13:08:46 DEBUG (SyncWorker_15) [pysonos.services] Sending {'Content-Type': 'text/xml; charset="utf-8"', 'SOAPACTION': 'urn:schemas-upnp-org:service:ZoneGroupTopology:1#GetZoneGroupState'}, <?xml version="1.0" ?> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <s:Body> <u:GetZoneGroupState xmlns:u="urn:schemas-upnp-org:service:ZoneGroupTopology:1"/> </s:Body> </s:Envelope> 2021-07-21 13:08:46 DEBUG (SyncWorker_15) [pysonos.services] Received {'CONTENT-LENGTH': '6611', 'CONTENT-TYPE': 'text/xml; charset="utf-8"', 'EXT': '', 'Server': 'Linux UPnP/1.0 Sonos/63.2-90210 (ZPS9)', 'Connection': 'close'}, <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetZoneGroupStateResponse xmlns:u="urn:schemas-upnp-org:service:ZoneGroupTopology:1"><ZoneGroupState>&lt;ZoneGroupState&gt;&lt;ZoneGroups&gt;&lt;ZoneGroup Coordinator=&quot;RINCON_5CAAFD1E604F01400&quot; ID=&quot;RINCON_5CAAFD1E604F01400:118&quot;&gt;&lt;ZoneGroupMember UUID=&quot;RINCON_5CAAFD1E604F01400&quot; Location=&quot;http://192.168.0.28:1400/xml/device_description.xml&quot; ZoneName=&quot;Lounge&quot; Icon=&quot;x-rincon-roomicon:living&quot; Configuration=&quot;1&quot; SoftwareVersion=&quot;63.2-90210&quot; SWGen=&quot;2&quot; MinCompatibleVersion=&quot;62.0-00000&quot; LegacyCompatibleVersion=&quot;58.0-00000&quot; HTSatChanMapSet=&quot;RINCON_5CAAFD1E604F01400:LF,RF;RINCON_5CAAFD27911C01400:LR;RINCON_5CAAFD9D07BE01400:RR;RINCON_5CAAFD830F5401400:SW&quot; BootSeq=&quot;191&quot; TVConfigurationError=&quot;0&quot; HdmiCecAvailable=&quot;0&quot; WirelessMode=&quot;0&quot; WirelessLeafOnly=&quot;0&quot; HasConfiguredSSID=&quot;1&quot; ChannelFreq=&quot;2412&quot; BehindWifiExtender=&quot;0&quot; WifiEnabled=&quot;1&quot; Orientation=&quot;0&quot; RoomCalibrationState=&quot;1&quot; SecureRegState=&quot;3&quot; VoiceConfigState=&quot;0&quot; MicEnabled=&quot;0&quot; AirPlayEnabled=&quot;0&quot; IdleState=&quot;0&quot; MoreInfo=&quot;&quot;&gt;&lt;Satellite UUID=&quot;RINCON_5CAAFD830F5401400&quot; Location=&quot;http://192.168.0.29:1400/xml/device_description.xml&quot; ZoneName=&quot;Lounge&quot; Icon=&quot;x-rincon-roomicon:living&quot; Configuration=&quot;1&quot; Invisible=&quot;1&quot; SoftwareVersion=&quot;63.2-90210&quot; SWGen=&quot;2&quot; MinCompatibleVersion=&quot;62.0-00000&quot; LegacyCompatibleVersion=&quot;58.0-00000&quot; HTSatChanMapSet=&quot;RINCON_5CAAFD1E604F01400:LF,RF;RINCON_5CAAFD830F5401400:SW&quot; BootSeq=&quot;193&quot; TVConfigurationError=&quot;0&quot; HdmiCecAvailable=&quot;0&quot; WirelessMode=&quot;0&quot; WirelessLeafOnly=&quot;0&quot; HasConfiguredSSID=&quot;1&quot; ChannelFreq=&quot;5220&quot; BehindWifiExtender=&quot;0&quot; WifiEnabled=&quot;1&quot; Orientation=&quot;0&quot; RoomCalibrationState=&quot;5&quot; SecureRegState=&quot;3&quot; VoiceConfigState=&quot;0&quot; MicEnabled=&quot;0&quot; AirPlayEnabled=&quot;0&quot; IdleState=&quot;0&quot; MoreInfo=&quot;&quot;/&gt;&lt;Satellite UUID=&quot;RINCON_5CAAFD9D07BE01400&quot; Location=&quot;http://192.168.0.31:1400/xml/device_description.xml&quot; ZoneName=&quot;Lounge&quot; Icon=&quot;x-rincon-roomicon:living&quot; Configuration=&quot;1&quot; Invisible=&quot;1&quot; SoftwareVersion=&quot;63.2-90210&quot; SWGen=&quot;2&quot; MinCompatibleVersion=&quot;62.0-00000&quot; LegacyCompatibleVersion=&quot;58.0-00000&quot; HTSatChanMapSet=&quot;RINCON_5CAAFD1E604F01400:LF,RF;RINCON_5CAAFD9D07BE01400:RR&quot; BootSeq=&quot;179&quot; TVConfigurationError=&quot;0&quot; HdmiCecAvailable=&quot;0&quot; WirelessMode=&quot;0&quot; WirelessLeafOnly=&quot;0&quot; HasConfiguredSSID=&quot;1&quot; ChannelFreq=&quot;5220&quot; BehindWifiExtender=&quot;0&quot; WifiEnabled=&quot;1&quot; Orientation=&quot;0&quot; RoomCalibrationState=&quot;5&quot; SecureRegState=&quot;3&quot; VoiceConfigState=&quot;0&quot; MicEnabled=&quot;0&quot; AirPlayEnabled=&quot;0&quot; IdleState=&quot;0&quot; MoreInfo=&quot;&quot;/&gt;&lt;Satellite UUID=&quot;RINCON_5CAAFD27911C01400&quot; Location=&quot;http://192.168.0.30:1400/xml/device_description.xml&quot; ZoneName=&quot;Lounge&quot; Icon=&quot;x-rincon-roomicon:living&quot; Configuration=&quot;1&quot; Invisible=&quot;1&quot; SoftwareVersion=&quot;63.2-90210&quot; SWGen=&quot;2&quot; MinCompatibleVersion=&quot;62.0-00000&quot; LegacyCompatibleVersion=&quot;58.0-00000&quot; HTSatChanMapSet=&quot;RINCON_5CAAFD1E604F01400:LF,RF;RINCON_5CAAFD27911C01400:LR&quot; BootSeq=&quot;216&quot; TVConfigurationError=&quot;0&quot; HdmiCecAvailable=&quot;0&quot; WirelessMode=&quot;0&quot; WirelessLeafOnly=&quot;0&quot; HasConfiguredSSID=&quot;1&quot; ChannelFreq=&quot;5220&quot; BehindWifiExtender=&quot;0&quot; WifiEnabled=&quot;1&quot; Orientation=&quot;0&quot; RoomCalibrationState=&quot;5&quot; SecureRegState=&quot;3&quot; VoiceConfigState=&quot;0&quot; MicEnabled=&quot;0&quot; AirPlayEnabled=&quot;0&quot; IdleState=&quot;0&quot; MoreInfo=&quot;&quot;/&gt;&lt;/ZoneGroupMember&gt;&lt;/ZoneGroup&gt;&lt;ZoneGroup Coordinator=&quot;RINCON_B8E93704C12801400&quot; ID=&quot;RINCON_B8E93704C12801400:3701864020&quot;&gt;&lt;ZoneGroupMember UUID=&quot;RINCON_B8E93704C12801400&quot; Location=&quot;http://192.168.0.34:1400/xml/device_description.xml&quot; ZoneName=&quot;BOOST&quot; Icon=&quot;x-rincon-roomicon:viper&quot; Configuration=&quot;1&quot; Invisible=&quot;1&quot; IsZoneBridge=&quot;1&quot; SoftwareVersion=&quot;63.2-90210&quot; SWGen=&quot;2&quot; MinCompatibleVersion=&quot;62.0-00000&quot; LegacyCompatibleVersion=&quot;58.0-00000&quot; BootSeq=&quot;112&quot; TVConfigurationError=&quot;0&quot; HdmiCecAvailable=&quot;0&quot; WirelessMode=&quot;0&quot; WirelessLeafOnly=&quot;0&quot; HasConfiguredSSID=&quot;1&quot; ChannelFreq=&quot;2412&quot; BehindWifiExtender=&quot;0&quot; WifiEnabled=&quot;1&quot; Orientation=&quot;-1&quot; RoomCalibrationState=&quot;0&quot; SecureRegState=&quot;3&quot; VoiceConfigState=&quot;0&quot; MicEnabled=&quot;0&quot; AirPlayEnabled=&quot;0&quot; IdleState=&quot;1&quot; MoreInfo=&quot;&quot;/&gt;&lt;/ZoneGroup&gt;&lt;ZoneGroup Coordinator=&quot;RINCON_B8E937369D9A01400&quot; ID=&quot;RINCON_B8E937369D9A01400:11&quot;&gt;&lt;ZoneGroupMember UUID=&quot;RINCON_B8E937369D9A01400&quot; Location=&quot;http://192.168.0.32:1400/xml/device_description.xml&quot; ZoneName=&quot;Study&quot; Icon=&quot;x-rincon-roomicon:bedroom&quot; Configuration=&quot;1&quot; SoftwareVersion=&quot;63.2-90210&quot; SWGen=&quot;2&quot; MinCompatibleVersion=&quot;62.0-00000&quot; LegacyCompatibleVersion=&quot;58.0-00000&quot; BootSeq=&quot;110&quot; TVConfigurationError=&quot;0&quot; HdmiCecAvailable=&quot;0&quot; WirelessMode=&quot;0&quot; WirelessLeafOnly=&quot;0&quot; HasConfiguredSSID=&quot;1&quot; ChannelFreq=&quot;2412&quot; BehindWifiExtender=&quot;0&quot; WifiEnabled=&quot;1&quot; Orientation=&quot;0&quot; RoomCalibrationState=&quot;4&quot; SecureRegState=&quot;3&quot; VoiceConfigState=&quot;0&quot; MicEnabled=&quot;0&quot; AirPlayEnabled=&quot;0&quot; IdleState=&quot;1&quot; MoreInfo=&quot;&quot;/&gt;&lt;/ZoneGroup&gt;&lt;/ZoneGroups&gt;&lt;VanishedDevices&gt;&lt;/VanishedDevices&gt;&lt;/ZoneGroupState&gt;</ZoneGroupState></u:GetZoneGroupStateResponse></s:Body></s:Envelope> 2021-07-21 13:08:46 DEBUG (SyncWorker_15) [pysonos.services] Received status 200 from 192.168.0.28 2021-07-21 13:08:46 DEBUG (SyncWorker_15) [pysonos.core] Created SoCo instance for ip: 192.168.0.29 2021-07-21 13:08:46 DEBUG (SyncWorker_15) [pysonos.core] Created SoCo instance for ip: 192.168.0.31 2021-07-21 13:08:46 DEBUG (SyncWorker_15) [pysonos.core] Created SoCo instance for ip: 192.168.0.30 2021-07-21 13:08:46 DEBUG (SyncWorker_15) [pysonos.core] Created SoCo instance for ip: 192.168.0.34 2021-07-21 13:08:46 DEBUG (SyncWorker_15) [pysonos.core] Created SoCo instance for ip: 192.168.0.32 2021-07-21 13:08:46 DEBUG (SyncWorker_15) [pysonos.services] Dispatching method GetVolume 2021-07-21 13:08:46 DEBUG (SyncWorker_15) [pysonos.services] Sending GetVolume [('InstanceID', 0), ('Channel', 'Master')] to 192.168.0.28 2021-07-21 13:08:46 DEBUG (SyncWorker_15) [pysonos.services] Sending {'Content-Type': 'text/xml; charset="utf-8"', 'SOAPACTION': 'urn:schemas-upnp-org:service:RenderingControl:1#GetVolume'}, <?xml version="1.0" ?> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <s:Body> <u:GetVolume xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1"> <InstanceID>0</InstanceID> <Channel>Master</Channel> </u:GetVolume> </s:Body> </s:Envelope> 2021-07-21 13:08:46 DEBUG (SyncWorker_15) [pysonos.services] Received {'CONTENT-LENGTH': '288', 'CONTENT-TYPE': 'text/xml; charset="utf-8"', 'EXT': '', 'Server': 'Linux UPnP/1.0 Sonos/63.2-90210 (ZPS9)', 'Connection': 'close'}, <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetVolumeResponse xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1"><CurrentVolume>14</CurrentVolume></u:GetVolumeResponse></s:Body></s:Envelope> 2021-07-21 13:08:46 DEBUG (SyncWorker_15) [pysonos.services] Received status 200 from 192.168.0.28 2021-07-21 13:08:46 DEBUG (SyncWorker_15) [pysonos.services] Cache hit 2021-07-21 13:08:46 DEBUG (SyncWorker_15) [homeassistant.components.sonos] Adding new speaker: {'zone_name': 'Lounge', 'player_icon': '/img/icon-S9.png', 'uid': 'RINCON_5CAAFD1E604F01400', 'serial_number': '5C-AA-FD-1E-60-4F:G', 'software_version': '63.2-90210', 'hardware_version': '1.9.1.10-2.0', 'model_number': 'S9', 'model_name': 'Sonos Playbar', 'display_version': '13.1.4', 'mac_address': '5C-AA-FD-1E-60-4F'} 2021-07-21 13:08:46 DEBUG (SyncWorker_15) [pysonos.services] Dispatching method GetHouseholdID 2021-07-21 13:08:46 DEBUG (SyncWorker_15) [pysonos.services] Sending GetHouseholdID [] to 192.168.0.28 2021-07-21 13:08:46 DEBUG (SyncWorker_15) [pysonos.services] Sending {'Content-Type': 'text/xml; charset="utf-8"', 'SOAPACTION': 'urn:schemas-upnp-org:service:DeviceProperties:1#GetHouseholdID'}, <?xml version="1.0" ?> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <s:Body> <u:GetHouseholdID xmlns:u="urn:schemas-upnp-org:service:DeviceProperties:1"/> </s:Body> </s:Envelope> 2021-07-21 13:08:46 DEBUG (SyncWorker_15) [pysonos.services] Received {'CONTENT-LENGTH': '338', 'CONTENT-TYPE': 'text/xml; charset="utf-8"', 'EXT': '', 'Server': 'Linux UPnP/1.0 Sonos/63.2-90210 (ZPS9)', 'Connection': 'close'}, <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetHouseholdIDResponse xmlns:u="urn:schemas-upnp-org:service:DeviceProperties:1"><CurrentHouseholdID>Sonos_jBNrsaaUM2A2rqJuAgMdsipH45</CurrentHouseholdID></u:GetHouseholdIDResponse></s:Body></s:Envelope> 2021-07-21 13:08:46 DEBUG (SyncWorker_15) [pysonos.services] Received status 200 from 192.168.0.28 2021-07-21 13:08:46 DEBUG (SyncWorker_15) [pysonos.services] Dispatching method ListAlarms 2021-07-21 13:08:46 DEBUG (SyncWorker_15) [pysonos.services] Sending ListAlarms [] to 192.168.0.28 2021-07-21 13:08:46 DEBUG (SyncWorker_15) [pysonos.services] Sending {'Content-Type': 'text/xml; charset="utf-8"', 'SOAPACTION': 'urn:schemas-upnp-org:service:AlarmClock:1#ListAlarms'}, <?xml version="1.0" ?> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <s:Body> <u:ListAlarms xmlns:u="urn:schemas-upnp-org:service:AlarmClock:1"/> </s:Body> </s:Envelope> 2021-07-21 13:08:46 DEBUG (SyncWorker_15) [pysonos.services] Received {'CONTENT-LENGTH': '2778', 'CONTENT-TYPE': 'text/xml; charset="utf-8"', 'EXT': '', 'Server': 'Linux UPnP/1.0 Sonos/63.2-90210 (ZPS9)', 'Connection': 'close'}, <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:ListAlarmsResponse xmlns:u="urn:schemas-upnp-org:service:AlarmClock:1"><CurrentAlarmList>&lt;Alarms&gt;&lt;Alarm ID=&quot;1&quot; StartTime=&quot;06:30:00&quot; Duration=&quot;02:00:00&quot; Recurrence=&quot;DAILY&quot; Enabled=&quot;0&quot; RoomUUID=&quot;RINCON_5CAAFD27911C01400&quot; ProgramURI=&quot;x-sonosapi-radio:flow?sid=2&amp;amp;flags=8296&amp;amp;sn=3&quot; ProgramMetaData=&quot;&amp;lt;DIDL-Lite xmlns:dc=&amp;quot;http://purl.org/dc/elements/1.1/&amp;quot; xmlns:upnp=&amp;quot;urn:schemas-upnp-org:metadata-1-0/upnp/&amp;quot; xmlns:r=&amp;quot;urn:schemas-rinconnetworks-com:metadata-1-0/&amp;quot; xmlns=&amp;quot;urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/&amp;quot;&amp;gt;&amp;lt;item id=&amp;quot;000c2068flow&amp;quot; parentID=&amp;quot;0&amp;quot; restricted=&amp;quot;false&amp;quot;&amp;gt;&amp;lt;dc:title&amp;gt;Start Flow&amp;lt;/dc:title&amp;gt;&amp;lt;upnp:class&amp;gt;object.item.audioItem.audioBroadcast.#DEFAULT&amp;lt;/upnp:class&amp;gt;&amp;lt;desc id=&amp;quot;cdudn&amp;quot; nameSpace=&amp;quot;urn:schemas-rinconnetworks-com:metadata-1-0/&amp;quot;&amp;gt;SA_RINCON519_X_#Svc519-7483730b-Token&amp;lt;/desc&amp;gt;&amp;lt;/item&amp;gt;&amp;lt;/DIDL-Lite&amp;gt;&quot; PlayMode=&quot;SHUFFLE&quot; Volume=&quot;7&quot; IncludeLinkedZones=&quot;0&quot;/&gt;&lt;Alarm ID=&quot;6&quot; StartTime=&quot;11:00:00&quot; Duration=&quot;&quot; Recurrence=&quot;ONCE&quot; Enabled=&quot;0&quot; RoomUUID=&quot;RINCON_5CAAFD1E604F01400&quot; ProgramURI=&quot;x-sonosapi-radio:flow?sid=2&amp;amp;flags=8296&amp;amp;sn=3&quot; ProgramMetaData=&quot;&amp;lt;DIDL-Lite xmlns:dc=&amp;quot;http://purl.org/dc/elements/1.1/&amp;quot; xmlns:upnp=&amp;quot;urn:schemas-upnp-org:metadata-1-0/upnp/&amp;quot; xmlns:r=&amp;quot;urn:schemas-rinconnetworks-com:metadata-1-0/&amp;quot; xmlns=&amp;quot;urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/&amp;quot;&amp;gt;&amp;lt;item id=&amp;quot;000c2068flow&amp;quot; parentID=&amp;quot;0&amp;quot; restricted=&amp;quot;false&amp;quot;&amp;gt;&amp;lt;dc:title&amp;gt;Start Flow&amp;lt;/dc:title&amp;gt;&amp;lt;upnp:class&amp;gt;object.item.audioItem.audioBroadcast.#DEFAULT&amp;lt;/upnp:class&amp;gt;&amp;lt;desc id=&amp;quot;cdudn&amp;quot; nameSpace=&amp;quot;urn:schemas-rinconnetworks-com:metadata-1-0/&amp;quot;&amp;gt;SA_RINCON519_X_#Svc519-7483730b-Token&amp;lt;/desc&amp;gt;&amp;lt;/item&amp;gt;&amp;lt;/DIDL-Lite&amp;gt;&quot; PlayMode=&quot;SHUFFLE&quot; Volume=&quot;7&quot; IncludeLinkedZones=&quot;0&quot;/&gt;&lt;/Alarms&gt;</CurrentAlarmList><CurrentAlarmListVersion>RINCON_5CAAFD1E604F01400:16</CurrentAlarmListVersion></u:ListAlarmsResponse></s:Body></s:Envelope> 2021-07-21 13:08:46 DEBUG (SyncWorker_15) [pysonos.services] Received status 200 from 192.168.0.28 2021-07-21 13:08:46 DEBUG (SyncWorker_15) [pysonos.services] Cache hit 2021-07-21 13:08:46 DEBUG (SyncWorker_15) [pysonos.services] Cache hit 2021-07-21 13:08:46 DEBUG (SyncWorker_15) [pysonos.services] Dispatching method Browse [Truncated] </s:Envelope> 2021-07-21 13:09:39 DEBUG (SyncWorker_13) [pysonos.services] Received {'CONTENT-LENGTH': '288', 'CONTENT-TYPE': 'text/xml; charset="utf-8"', 'EXT': '', 'Server': 'Linux UPnP/1.0 Sonos/63.2-90210 (ZPS1)', 'Connection': 'close'}, <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetVolumeResponse xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1"><CurrentVolume>14</CurrentVolume></u:GetVolumeResponse></s:Body></s:Envelope> 2021-07-21 13:09:39 DEBUG (SyncWorker_13) [pysonos.services] Received status 200 from 192.168.0.30 2021-07-21 13:09:39 DEBUG (SyncWorker_13) [pysonos.services] Cache hit 2021-07-21 13:09:39 DEBUG (MainThread) [homeassistant.components.sonos] Ignoring device: {'CACHE-CONTROL': 'max-age = 1800', 'ssdp_ext': '', 'ssdp_location': 'http://192.168.0.34:1400/xml/device_description.xml', 'ssdp_server': 'Linux UPnP/1.0 Sonos/63.2-90210 (BR200)', 'ssdp_st': 'urn:schemas-upnp-org:device:ZonePlayer:1', 'ssdp_usn': 'uuid:RINCON_B8E93704C12801400::urn:schemas-upnp-org:device:ZonePlayer:1', 'X-RINCON-HOUSEHOLD': 'Sonos_jBNrsaaUM2A2rqJuAgMdsipH45', 'X-RINCON-BOOTSEQ': '112', 'BOOTID.UPNP.ORG': '112', 'X-RINCON-WIFIMODE': '0', 'X-RINCON-VARIANT': '0', 'HOUSEHOLD.SMARTSPEAKER.AUDIO': 'Sonos_jBNrsaaUM2A2rqJuAgMdsipH45', '_location_original': 'http://192.168.0.34:1400/xml/device_description.xml', '_timestamp': datetime.datetime(2021, 7, 21, 13, 9, 39, 916673), '_host': '192.168.0.34', '_port': 45615, '_udn': 'uuid:RINCON_B8E93704C12801400', '_source': 'search', 'deviceType': 'urn:schemas-upnp-org:device:ZonePlayer:1', 'friendlyName': '192.168.0.34 - Sonos Boost', 'manufacturer': 'Sonos, Inc.', 'manufacturerURL': 'http://www.sonos.com', 'modelNumber': 'BR200', 'modelDescription': 'Sonos Boost', 'modelName': 'Sonos Boost', 'modelURL': 'http://www.sonos.com/store/products/BR200', 'softwareVersion': '63.2-90210', 'swGen': '2', 'hardwareVersion': '1.12.1.2-2.0', 'serialNum': 'B8-E9-37-04-C1-28:3', 'MACAddress': 'B8:E9:37:04:C1:28', 'UDN': 'uuid:RINCON_B8E93704C12801400', 'iconList': {'icon': {'id': '0', 'mimetype': 'image/png', 'width': '48', 'height': '48', 'depth': '24', 'url': '/img/icon-BR200.png'}}, 'minCompatibleVersion': '62.0-00000', 'legacyCompatibleVersion': '58.0-00000', 'displayVersion': '13.1.4', 'extraVersion': None, 'nsVersion': '26', 'roomName': 'BOOST', 'displayName': 'Boost', 'zoneType': '11', 'feature1': '0x00000000', 'feature2': '0x00008173', 'feature3': '0x00031000', 'seriesid': 'A100', 'variant': '0', 'internalSpeakerSize': '-1', 'memory': '64', 'flash': '16', 'SSLPort': '1443', 'securehhSSLPort': '1843', 'serviceList': {'service': [{'serviceType': 'urn:schemas-upnp-org:service:DeviceProperties:1', 'serviceId': 'urn:upnp-org:serviceId:DeviceProperties', 'controlURL': '/DeviceProperties/Control', 'eventSubURL': '/DeviceProperties/Event', 'SCPDURL': '/xml/DeviceProperties1.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:SystemProperties:1', 'serviceId': 'urn:upnp-org:serviceId:SystemProperties', 'controlURL': '/SystemProperties/Control', 'eventSubURL': '/SystemProperties/Event', 'SCPDURL': '/xml/SystemProperties1.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:ZoneGroupTopology:1', 'serviceId': 'urn:upnp-org:serviceId:ZoneGroupTopology', 'controlURL': '/ZoneGroupTopology/Control', 'eventSubURL': '/ZoneGroupTopology/Event', 'SCPDURL': '/xml/ZoneGroupTopology1.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:GroupManagement:1', 'serviceId': 'urn:upnp-org:serviceId:GroupManagement', 'controlURL': '/GroupManagement/Control', 'eventSubURL': '/GroupManagement/Event', 'SCPDURL': '/xml/GroupManagement1.xml'}]}, 'deviceList': ''} 2021-07-21 13:09:39 DEBUG (MainThread) [homeassistant.components.sonos.speaker] Async seen: <SoCo object at ip 192.168.0.32>, was_available: True 2021-07-21 13:09:39 DEBUG (MainThread) [homeassistant.components.sonos.speaker] Async seen: <SoCo object at ip 192.168.0.28>, was_available: True 2021-07-21 13:09:39 DEBUG (SyncWorker_2) [pysonos.services] Sending GetVolume [('InstanceID', 0), ('Channel', 'Master')] to 192.168.0.31 2021-07-21 13:09:39 DEBUG (SyncWorker_2) [pysonos.services] Sending {'Content-Type': 'text/xml; charset="utf-8"', 'SOAPACTION': 'urn:schemas-upnp-org:service:RenderingControl:1#GetVolume'}, <?xml version="1.0" ?> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <s:Body> <u:GetVolume xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1"> <InstanceID>0</InstanceID> <Channel>Master</Channel> </u:GetVolume> </s:Body> </s:Envelope> 2021-07-21 13:09:40 DEBUG (SyncWorker_2) [pysonos.services] Received {'CONTENT-LENGTH': '288', 'CONTENT-TYPE': 'text/xml; charset="utf-8"', 'EXT': '', 'Server': 'Linux UPnP/1.0 Sonos/63.2-90210 (ZPS1)', 'Connection': 'close'}, <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetVolumeResponse xmlns:u="urn:schemas-upnp-org:service:RenderingControl:1"><CurrentVolume>14</CurrentVolume></u:GetVolumeResponse></s:Body></s:Envelope> 2021-07-21 13:09:40 DEBUG (SyncWorker_2) [pysonos.services] Received status 200 from 192.168.0.31 2021-07-21 13:09:40 DEBUG (SyncWorker_2) [pysonos.services] Cache hit username_2: Thanks @username_6, this helps confirm where the failure is occurring. username_6: Unfortunately still there on 2021.7.4, and the ConnectionReset warning is back too... Logger: homeassistant.components.sonos Source: components/sonos/__init__.py:154 Integration: Sonos (documentation, issues) First occurred: 12:17:22 (5 occurrences) Last logged: 12:27:44 Failed to connect to discovered player '192.168.0.34': 405 Client Error: Method Not Allowed for url: http://192.168.0.34:1400/MediaRenderer/RenderingControl/Control Failed to connect to discovered player '192.168.0.34': ("Connection broken: ConnectionResetError(104, 'Connection reset by peer')", ConnectionResetError(104, 'Connection reset by peer'))) [sonos_debug.log](https://github.com/home-assistant/core/files/6868444/sonos_debug.log) username_2: It's not fixed in any release yet. It's a bit annoying to see the repeating warnings but shouldn't actually break functionality. username_6: Ah ok, just saw the .4 notes mentioning pysonos, apologies! Status: Issue closed username_9: A fix has now been merged, it will be available in 2021.8.
dart-lang/dart-pad
603745307
Title: Investigate if POST to /version can be dropped Question: username_0: Context: https://github.com/dart-lang/dart-services/pull/488#discussion_r411772463 Answers: username_1: I think this can be a GET request instead username_0: The backend currently supports both `GET` and `POST` to `/version`. This is a tracking bug to see if I can just turn off POST or if I break stuff in doing that. It’s probably a NOP, but I’d prefer to make sure. 😎 username_1: gotcha, the front-end still uses POST I think username_0: @username_2 I think that'd be stalemate, yeah? username_0: Confirmed, DartPad.dev is requesting https://dart-services.appspot.com/api/dartservices/v2/version via a POST request. Closing out. Status: Issue closed username_2: Yeah, I just took a spin through the code, and all requests go through the same base method, which uses POST for everything. I imagine this is an artifact of the design pattern used for the discoveryapis code. We could certainly rework the front-end to use GET (since it should, IMHO), but since you've already got the backend supporting POST, I don't see much reason to bother. username_2: Well, that'll teach my to leave my GitHub tabs open for four hours before coming back to finish a comment.
semprag/biblatex-sp-unified
106226737
Title: What to do about eprint information? Question: username_0: Here's another one that might make more sense for some sort of working group to discuss. If an entry contains any sort of `eprint` information (such as a JSTOR link), it is printed by the current implementation (2802b8743193c14a97691d4234d515881020da74). For the time being at least, I think the best option would be to not print it (i.e., to set `\ExecuteBibliographyOptions{eprint=false}` in `biblatex-sp-unified.bbx`). It might, however, be worthwhile to print this information in some cases. For example, I don't think *Linguistic Inquiry* articles had DOIs until 1998. Nonetheless, *LI* articles prior to 1998 are still associated with a stable JSTOR URL, so it might make sense to print that just in case an article doesn't have a DOI. If an article does have a DOI, a JSTOR stable URL is sort of superfluous. This would be something for the working group to decide, I suppose. Alternatively, if you think this is a better option than just setting `eprint=false` for the time being, it could be implemented with the bibmacro for `doi+eprint+url` given in the MWE below. Let me know what you think, and I'm happy to open a PR. Or, if you'd prefer, you can just make the changes yourself, too, since this one is pretty short and quick. ### MWE ```tex % !TEX encoding = UTF-8 Unicode % !TEX TS-program = arara % arara: pdflatex % arara: biber % arara: pdflatex \begin{filecontents*}{\jobname.bib} @article{merchant2013:voice, Abstract = {Elided VPs and their antecedent VPs can mismatch in voice, with passive VPs being elided under apparent identity with active antecedent VPs, and vice versa. Such voice mismatches are not allowed in any other kind of ellipsis, such as sluicing and other clausal ellipses. These latter facts appear to indicate that the identity relation in ellipsis is sensitive to syntactic form, not merely to semantic form. The VP-ellipsis facts fall into place if the head that determines voice is external to the phrase being elided, here argued to be vP; such an account can only be framed in approaches that allow syntactic features to be separated from the heads on which they are morphologically realized. Alternatives to this syntactic, articulated view of ellipsis and voice either undergenerate or overgenerate.}, Author = {<NAME>}, Doi = {10.1162/LING_a_00120}, Eprint = {23358089}, Eprinttype = {jstor}, Journaltitle = {Linguistic Inquiry}, Issn = {0024-3892}, Langid = {english}, Langidopts = {variant=american}, Pages = {77--108}, Title = {Voice and Ellipsis}, Volume = {44}, Number = {1}, Date = {2013}} @article{bever1997:unaccusatives, Abstract = {Spanish speakers who scan their syntactic representation to find a word from the subject NP in a just-comprehended sentence recognize the word faster in unaccusative-verb sentences than in unergative-verb sentences. This is consistent with an analysis of unaccusatives as raising verbs with a trace: the trace corresponds to an extra mental representation of its antecedent. Spanish speakers who scan their conceptual representation to find the target word recognize it more slowly in unaccusative-verb sentences: this may indicate that the conceptual representation of unaccusatives is more complex than that of unergatives. Overall, the results give experimental support to linguistic frameworks that differentiate conceptual from linguistic levels of representation and to syntactic models that postulate NP-trace.}, Author = {<NAME>. and <NAME>}, Eprint = {4178965}, Eprinttype = {jstor}, Journaltitle = {Linguistic Inquiry}, Issn = {0024-3892}, Langid = {english}, Langidopts = {variant=american}, Pages = {69--91}, Title = {Empty Categories Access Their Antecedents during Comprehension}, Subtitle = {Unaccusatives in {Spanish}}, Volume = {28}, Number = {1}, Date = {1997}} \end{filecontents*} \documentclass{article} \usepackage{hyperref} % for clickable jstor link \usepackage[ backend=biber, bibstyle=biblatex-sp-unified, citestyle=sp-authoryear-comp, [Truncated] % \iftoggle{bbx:doi} % {\printfield{doi}} % {}% % \newunit\newblock % \iftoggle{bbx:eprint} % {% % \iffieldundef{doi}% only print eprint information if doi doesn't exist % {\usebibmacro{eprint}}% % {}} % {}% % \newunit\newblock % \iftoggle{bbx:url} % {\usebibmacro{url+urldate}} % {}} \begin{document} \textcite{bever1997:unaccusatives,merchant2013:voice} \printbibliography \end{document} ``` Status: Issue closed Answers: username_1: Makes sense. There are no used `eprint` fields in our source materials, and only 1 in my entire set of over 7500 bibliography entries (of which only a fraction are rendered in any given S&P article) from submissions published in the last ~5 years, so it seems to be a relatively rare field anyway. username_0: :+1:
fastify/fastify-http-proxy
580674569
Title: Transform HTML body before to send back to the proxied website Question: username_0: I am trying to proxy any website, do some changes on the returned HTML string from the proxied website and then return it to the Browser. This is how far I've got: ``` const Fastify = require('fastify'); const server = Fastify(); const { ungzip } = require('node-gzip'); const cheerio = require('cheerio'); export default class Proxy { _initProxy(host: string) { server.register(require('fastify-http-proxy'), { upstream: host }); server.addHook('onSend', (request: any, reply: any, payload: any, done: () => void) => { const chunks = []; payload.on('data', (chunk) => { chunks.push(chunk); }); payload.on('end', async () => { const buffer = Buffer.concat(chunks); if (payload.headers['content-encoding'] === 'gzip') { try { const decompressed = await ungzip(buffer); let $ = null; $ = await cheerio.load(decompressed.toString()); const scriptTag = '<script src="my-custom.js"></script>'; $('body').append(scriptTag); } catch (e) { console.log(e); } } }) done(); }) server.listen(5051); } } ``` You can see that I am adding my-custom.js script inside the BODY tag once I have unzipped and parsed the returned payload. It is working fine, the last bit which I can't find yes is: How to return the transformed HTML string to the browser? Answers: username_1: You need to provide the new payload as 2nd parameter in the `done`: https://github.com/fastify/fastify/blob/master/docs/Hooks.md#onsend username_0: @username_1 I tried using **done** to return the new payload but this is actually where I can't see why it is not working as expected. The page will be **blank**: ``` const Fastify = require('fastify'); const server = Fastify(); const { ungzip } = require('node-gzip'); const cheerio = require('cheerio'); export default class Proxy { private newPayload: string = ''; _initProxy(host: string) { server.register(require('fastify-http-proxy'), { upstream: host }); server.addHook('onSend', (request: any, reply: any, payload: any, done: any) => { const err = null; const chunks = []; payload.on('data', (chunk) => { chunks.push(chunk); }); payload.on('end', async () => { const buffer = Buffer.concat(chunks); if (payload.headers['content-encoding'] === 'gzip') { try { const decompressed = await ungzip(buffer); let $ = null; $ = await cheerio.load(decompressed.toString()); const scriptTag = '<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/dom-inspector.min.js"></script>'; $('body').append(scriptTag); this.newPayload = $.html(); } catch (e) { console.log(e); } } }) done(err, this.newPayload); }) server.listen(5051); } } ``` username_0: @username_1 Note that right before the **done** a console.log will show the new payload without any issues. username_0: @username_1 I think the problem I am having is how to get the new payload once done() is called. I want to get it from the API endpoint: ``` _initApi(): void { server.get('/', opts, async (request, reply) => { return { res: '200 - OK' } }); server.get('/start-proxy', opts, async (request, reply) => { this.proxy._initProxy('http://example.org') return { res: '200 - PROXY STARTED' } }); server.listen(5050, (err) => { if (err) { server.log.error(err) process.exit(1) } server.log.info(`server listening on ${server.server.address()}`) }); } ``` username_1: Your code seems ok, we should check if this is a bug managing the streams Would you like to give it a shot? I would start creating a (failing) test for this case and then search for what is not working as expected username_0: @username_1 Sure thing, I let you know how it goes. username_0: @username_1 It appears to me that whenever I am trying to pass some parameters in the done() method, the browser won't render the proxied web app. I am not yet entirely sure how this is happening, but it could be a potential bug to fix. username_1: I understood that you were glad to work on it so I didn't allocate time 😅 username_0: No worries, I'm still on it anyway. So far I have it working very well without using fastify-http-proxy middleware. It's good for progressing on my project but not helpful for that specific issue. Basically I'm just using http-proxy and it is works fine. This let me think that we may have a bug to fix and I will try to find out more in the upcoming days. Status: Issue closed username_0: @username_1 It appears to me that this issue has nothing to do with **fastify-http-proxy** plugin. Basically my proxied connection just hang up due to wrong order of middleware usage. The issue that I have is very similar to this one described here: https://github.com/http-party/node-http-proxy/issues/180#issuecomment-12244852 I suggest to close the ticket for now and will open another one if I feel like there is a proper bug we need to fix. Also as a separate comment, it looks like node-http-proxy dies a lot and it is not reliable. Would like to see an example of production usage of fastify-http-proxy, I may have to consider doing my reverse-proxy server in Java instead. Thanks for your help. username_2: Please provide supporting evidence for such statements and list versions being used. There are plenty of us using this in production without issue. username_0: @username_2 Agreed with you, it was my very personal opinion here, while going through Stackoverflow and Googling around, I found different issues mentioning the one that I raised, where node-http-proxy dies after multiple runs. Most of the time it is related to bad usage (Having wrong order of middleware), so I am not saying this is unusable but quite tricky to get it right. username_3: fastify-http-proxy and node-http-proxy are two seperate modules. username_0: @username_2 I'm pretty sure there is lot of usage for fastify-http-proxy middleware, I was more asking for a solid example of usage in production. username_0: @username_3 Yes, I was originally commenting about node-http-proxy, not fastify-http-proxy. username_0: @username_3 Yes, I was originally commenting about node-http-proxy, not fastify-http-proxy. username_0: @username_3 To be more explicit, using an HTTP proxy is not only for solving CORS issue or just for the sake of proxying an external URL. A common case is to modify the body at the end and I did not succeed with node-http-proxy package. (It works but again it dies after multiple runs). I think it would be great to have a working example of modifying the body, somewhere in the documentation of fastify-http-proxy. If I get it to work, I will be happy to push a PR. username_2: I'd like to see supporting evidence of that as well. A proxy is meant to facilitate communication between two systems. That _can_ mean altering the metadata around the communication (e.g. HTTP headers), but that does not imply the content has been changed. username_0: @username_2 Well, I've got a requirement to inject custom JavaScript in any web app (A lot of testing framework do that to inject selenium drivers, ..). I've went with the approach of using a reverse-proxy since there is not a thousand solution to that problem and the injection works pretty well. Not entirely sure what kind of "supporting evidence" you are looking for here. username_0: @username_2 Please read "Page proxying" section: https://devexpress.github.io/testcafe/documentation/how-it-works/ They use nodeJS to reverse proxy the web app under test and inject their own JS for automation. username_1: I'm using `fastify-reply-from` in prod, that it is used under the hood by this plugin So for sure, we could improve this module by adding new features like: - change the body output for some routes - manage errors in a custom way - hide some headers (these were my needs) username_0: @username_1 Thanks for sharing, it is useful, will have a look at it. And yes, I strongly think we could improve this feature of modifying body output, this is a common case for node http proxy middleware.
MicrosoftDocs/appcenter-docs
515215739
Title: API token associated with personal account or organization? Question: username_0: Hello, I have created appcenter api tokens here https://appcenter.ms/settings/apitokens and read the documentation here https://docs.microsoft.com/en-us/appcenter/api-docs/ It isn't clear to me if the tokens I have created are associated with my personal login account or the organization I work for? If I were to leave the company I work for, and the admins disabled my account, 1. would the api tokens I created still work and 2. would someone else be able to see them listed, so they could delete them and create new ones if needed? Answers: username_1: +1 username_0: anyone? username_0: Bueller.....
react-component/dropzone
138869508
Title: 使用报错 Question: username_0: ERROR in ./~/rc-dropzone/lib/Dropzone.js Module parse failed:/node_modules/rc-dropzone/lib/Dropzone.js Line 69: Unexpected token < You may need an appropriate loader to handle this file type. | var files = this.state.files; | return Object.keys(files).map(function(uid) { | return <DzPreview file={files[uid]} key={uid} />; | }); | }, @ ./~/rc-dropzone/index.js 2:17-42 Answers: username_1: http://ant.design/components/upload/ 推荐用这个吧,这个组件已经好久不更新了。
nervosnetwork/ckb
436228419
Title: Some expected results are unreachable if fix a fee calculation bug Question: username_0: ### Issue The follow function is not right: https://github.com/nervosnetwork/ckb/blob/9d5e2a4d85b3105f9af13db1a89f1565af5ee6d0/core/src/cell.rs#L268-L278 If `inputs_capacity < outputs_capacity` should throw an error. It should be: ```rust pub fn fee(&self) -> ::occupied_capacity::Result<Capacity> { self.inputs_capacity().and_then(|incap| { self.transaction .outputs_capacity() .and_then(|outcap| incap.safe_sub(outcap)) }) } ``` ### Further I can not fix it, because there are several tests base on this wrong function. - [`fn test_transaction_conflict_in_same_block()`](https://github.com/nervosnetwork/ckb/blob/9d5e2a4d85b3105f9af13db1a89f1565af5ee6d0/chain/src/tests/basic.rs#L182) - [`fn test_transaction_conflict_in_different_blocks()`](https://github.com/nervosnetwork/ckb/blob/9d5e2a4d85b3105f9af13db1a89f1565af5ee6d0/chain/src/tests/basic.rs#L261) - [`fn test_dead_cell_in_same_block()`](https://github.com/nervosnetwork/ckb/blob/9d5e2a4d85b3105f9af13db1a89f1565af5ee6d0/chain/src/tests/delay_verify.rs#L9) - [`fn test_dead_cell_in_different_block()`](https://github.com/nervosnetwork/ckb/blob/9d5e2a4d85b3105f9af13db1a89f1565af5ee6d0/chain/src/tests/delay_verify.rs#L107) If I fix the `fee()` function, those tests will throw `CapacityOverflow` error, not `TransactionsConflict` error. **The expected results are unreachable.** Because inputs are dead cells, so their capacity are zero. The conflict cells is dead cells since: https://github.com/nervosnetwork/ckb/blob/9d5e2a4d85b3105f9af13db1a89f1565af5ee6d0/core/src/cell.rs#L188-L194<issue_closed> Status: Issue closed
sanity-io/sanity
416508175
Title: Publish all Question: username_0: **Is your feature request related to a problem? Please describe.** I use web hook API to trigger Jenkins build every time the content is published. But the problem happens when I need to change the text format of multiple posts, and I have to publish one by one, it leads to trigger Jenkins multiple time. <img width="1207" alt="image" src="https://user-images.githubusercontent.com/19520278/53694811-5d623380-3de6-11e9-96bd-6db116845e5c.png"> **Describe the solution you'd like** A `Publish all` button or menu in the header bar or side bar **Describe alternatives you've considered** I'm think of a feature like `debouncePublish`, but I'm not sure about the interval value.<issue_closed> Status: Issue closed
HendrikPN/scigym
475289003
Title: Include travis-ci Question: username_0: Ideally we want to avoid having to run `python -m pytest` every time we want to perform a test. So this is where [Travis CI](https://travis-ci.org/) comes in. We should include a travis implementation for automated testing. We should be able to more or less copy the [gym implementation](https://github.com/openai/gym)<issue_closed> Status: Issue closed
gerhardsletten/react-reader
262175314
Title: find in chapter / current page? Question: username_0: There's any search method? Thanks! Answers: username_1: @username_0 You can inspect the object returned form getRendition method, but I think only current chapter is loaded (and can be search client-side). Else check out [this thread on epub.js about searching](https://github.com/futurepress/epub.js/issues/47) Status: Issue closed
xdebug/vscode-php-debug
1057440146
Title: The debugger stops after the breakpoint Question: username_0: php: 7.4.26 nts vc15 x64 Xdebug version: 3.1.1-7.4-vc15-nts-x86_64 VS Code extension version: v1.22.0 Your launch.json: { "name": "Launch currently open script php", "type": "php", "request": "launch", "program": "${file}", "cwd": "${fileDirname}", "port": 9000, "stopOnEntry":false, "env": { "XDEBUG_TRIGGER": "1" } // Added so it works } Xdebug php.ini config: [xdebug] zend_extension='C:\php\ext\php_xdebug-3.1.1-7.4-vc15-nts-x86_64.dll' xdebug.mode=debug xdebug.start_with_request = yes xdebug.remote_handler=dbgp xdebug.log = "C:\php\xdebug.log" xdebug.client_host=localhost xdebug.client_port=9000 Xdebug logfile (from setting `xdebug.log` in php.ini): [20084] [Step Debug] <- step_over -i 23 [20084] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="step_over" transaction_id="23" status="stopping" reason="ok"></response> [20084] [Step Debug] <- stop -i 24 [20084] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="stop" transaction_id="24" status="stopped" reason="ok"></response> [xdebug.log](https://github.com/xdebug/vscode-php-debug/files/7563587/xdebug.log) VS Code extension logfile (from setting `"log": true` in launch.json): Code snippet to reproduce: ```php echo "Hello world!!!"; echo 'PHP version: ' . phpversion(); //breakpoint phpinfo(); ``` Stops at a breakpoint. When trying to continue debugging. The program stops working. ![изображение_2021-11-18_174321](https://user-images.githubusercontent.com/66425400/142436945-0bd85d74-1f5f-4843-9dbc-6f09d08fd9d6.png) In this example, phpinfo(); is not executed Answers: username_1: Hi! Sorry about the late reply. I looked at the logs you provided and see there are some watches defined that get evaluated. This is a know Xdebug issue in various version combinations. I see that the reserved word "namespace" in one of you watches is causing the issue... There is not much I can do. I can tell you that in PHP 8.0.12/Xdebug 3.1.1 the issue is not present and the code does not stop. https://bugs.xdebug.org/view.php?id=1993 Status: Issue closed
CorfuDB/CorfuDB
481990307
Title: The tutorial uses outdated pom dependency setup Question: username_0: In the last section of the tutorial, it goes: <dependency> <groupId>org.corfudb</groupId> <artifactId>runtime</artifactId> <version>0.1-SNAPSHOT</version> <scope>compile</scope> </dependency> Directly using this setup incurs an error when launching the app, causing the server unable to deserialize the corfumsg, such as follows: io.netty.handler.codec.DecoderException: java.lang.RuntimeException: Attempt to deserialize a message which is not a CorfuMsg, Marker = 0 but expected 0xC0FC0FC0 The fix is to change the pom.xml to latest version: <dependency> <groupId>org.corfudb</groupId> <artifactId>runtime</artifactId> <version>0.3.0-SNAPSHOT</version> <scope>compile</scope> </dependency> Answers: username_1: Thanks Giorgio, we have a recent PR for this issue: #2119 username_0: Thanks. I didn't notice that pull request earlier. Also, the github repo has been difficult to reach from mainland China (unlike apache maven or clojar.org which are mirrored in Alibaba Cloud). Is it possible for CorfuDB mvn repo to be hosted elsewhere? Thanks.
docker/libkv
117250224
Title: Add Irmin as a backend driver Question: username_0: Irmin is a git-like distributed storage written in Ocaml. It implements pretty-much all the relevant calls to be implemented in `libkv` (minus `Compare And Swap` and `Lock/Unlock` that can be implemented using the CAS, see mirage/irmin#288). What's interesting is that Irmin provides the way to directly manipulate the data on remote nodes using Git. This way we can write the data for discovery using `libkv` but we can also manipulate the node list (or any other useful data) directly through git. It makes even more sense to manipulate specific metadata that would impact the cluster behavior (specific labels or feature switches). Everything is also versioned and still available (useful for cluster analysis and pattern detection). We can also do snapshots of the cluster state. Answers: username_0: It's dependent on MagnusS/irmin-go#3 Which I need to investigate first :bowtie: Status: Issue closed
libgit2/git2go
79544718
Title: Remote.Fetch() - unexpected signal during runtime execution Question: username_0: Try running the following snippet of code: ```go package main import ( "fmt" "os" "path/filepath" "github.com/libgit2/git2go" ) func main() { url := "https://github.com/username_0/vagrant-osx.git" path := filepath.Join(os.TempDir(), "test-git2go") cbs := getCallbacks() // fmt.Println("Using", path) if _, err := os.Stat(path); err == nil { repo, err := git.OpenRepository(path) if err != nil { fmt.Printf("Opening repository failed: %#v\n", err) } remote, err := repo.LookupRemote("origin") if err != nil { fmt.Printf("Remote lookup failed: %#v\n", err) } remote.SetCallbacks(cbs) fmt.Println("Fetching remote...") err = remote.Fetch([]string{}, nil, "") if err != nil { fmt.Printf("Fetching remote failed: %#v\n", err) } fmt.Println("Remotes fetched.") } else { repo, err := git.Clone(url, path, &git.CloneOptions{ RemoteCallbacks: cbs, }) if err != nil { fmt.Printf("Cloning repo failed: %#v\n", err) } fmt.Printf("Repo cloned: %#v\n", repo) } } func getCallbacks() *git.RemoteCallbacks { return &git.RemoteCallbacks{ CredentialsCallback: func(url string, username_from_url string, allowed_types git.CredType) (git.ErrorCode, *git.Cred) { ret, cred := git.NewCredUserpassPlaintext("my-username", "**REDACTED**") return git.ErrorCode(ret), &cred }, } } [Truncated] /usr/local/Cellar/go/1.4.2/libexec/src/runtime/asm_amd64.s:2232 +0x1 fp=0xc208067fe8 sp=0xc208067fe0 goroutine 17 [syscall, locked to thread]: runtime.goexit() /usr/local/Cellar/go/1.4.2/libexec/src/runtime/asm_amd64.s:2232 +0x1 exit status 2 ``` but when the `fmt.Println` is uncommented (= it's printing that one line to stdout), it never crashes: ``` $ go run test.go ``` ``` Using /<KEY>git2go Fetching remote... Remotes fetched. ``` It seems like a memory issue coming from the C code? Answers: username_1: It sounds like the moving-GC in 1.4 which forces us to implement handles ourselves. It should be fixed in master. username_2: We're running into this as well. I don't think this is fixed in master - as #196 mentions, remote.go wasn't initially moved over to the new pointer indirection workaround. username_1: You're right, the network stuff did not get ported over, at the time it looked like it wasn't quite triggering it. I've been looking into porting that bit, but the clone test keeps causing quite odd errors in the allocator. Status: Issue closed
FenPhoenix/AngelLoader
464824035
Title: Layout and draw the entire window before showing it Question: username_0: Like it used to be. I changed that a while back to make it easier to run the game type scanner on startup if need be, but it'd be better to have the whole window ready (except possibly the readme of course, but maybe even that?) by the time you see it. Answers: username_0: Having an honest startup delay is better than having a "fast startup" but that opens a half-baked window where you have to wait again anyway. Status: Issue closed
ruby-grape/grape
145991058
Title: Switch from virtus to dry-types Question: username_0: I don't really know what you do with wirtus (I think it's coercion) but I think it could be a good idea to replace `virtus` by `dry-types` (http://dry-rb.org/gems/dry-types/) for many reasons: 1. This reddit post from Solnic, the virtus creator: https://www.reddit.com/r/ruby/comments/3sjb24/virtus_to_be_abandoned_by_its_creator/ 2. Performance (from the dry-types doc): "roughly 10-12x faster than Virtus" Answers: username_1: Thanks for sharing this @username_0! I read the post with great interest. I would be open to a PR that replaces Virtus with something else, we can look at the implications. username_0: I added the PR request to my TODO list but I really don't know the Grape code for now and I don't have a lot of time but it could be a good start for me to contribute to Grape. username_2: Happy to see this proposal. I was also wondering if maybe you could leverage [dry-validation](http://dry-rb.org/gems/dry-validation/) too. username_3: Very good, if possible, I want to get involved @username_1 username_1: Looking forward to pull requests @username_3. username_4: Looks like this enhancement requires a lot of refactoring. Grape tied on `Axiom::Types` and `Virtus` coercion logic. It instantiates `Virtus::Attribute` objects, which I don't sure have `Dry::Types` equivalent. So to achieve success for this issue we need to completely refactor `Grape::Validations` module and it's ancestors. username_2: ``` ruby require 'dry/schema' module Validation class DSL attr_reader :schema OPTS_MAPPING = { regexp: -> v { { format?: v } }, type: -> v { v.name.downcase.to_sym } } def initialize @schema = Dry::Schema::DSL.new(processor_type: Dry::Schema::Params) end def call schema.call end def requires(name, opts) schema.required(name).value(*convert_opts(opts)) self end def optional(name, opts) schema.optional(name).value(*convert_opts(opts)) self end private def convert_opts(opts) opts.each_with_object([]) do |(k, v), arr| arg = OPTS_MAPPING.fetch(k).(v) arr << arg end end end def params(&block) @schema = begin dsl = DSL.new dsl.instance_eval(&block) dsl.call end end def schema @schema end end class Grape extend Validation params do requires :id, type: Integer optional :text, type: String, regexp: /\A[a-z]+\z/ end end puts Grape.schema.(id: '1', text: '123').inspect #<Dry::Schema::Result{:id=>1, :text=>"123"} errors={:text=>["is in invalid format"]}> puts Grape.schema.(id: '1', text: 'foo').inspect #<Dry::Schema::Result{:id=>1, :text=>"foo"} errors={}> ``` 👋 so I just wrote this, as a quick PoC. This uses dry-types under the hood for coercion. username_5: as already mentioned above, `dry-schema`(that extracted from `dry-validation`) looks like something that is more suitable for `grape` needs(coercion/validation of input params). though, it should be checked if the interface of the library can be easily used without its DSL. if something will be refactored, it would be nice to see a solution with an ability to disable/replace validation component at all. I see `params` block as "meta description" of a user input for a specific endpoint. this description can be used by different consumers(validation component/documentation component/tests generator component/etc). as the result, we should have single "cross-cutting" DSL(as we have now) which provides an endpoint schema to consumers(we do not have now). so I don't really like the snippet above, even if it is a POC :) username_6: You may be interested then in the fact dry-schema exposes the definition via AST which can be reused for any purpose you mentioned ```ruby schema = Dry::Schema.Params do required(:user).type(:hash).schema do required(:email).type(:string) required(:age).type(:integer) required(:address).type(:hash).schema do required(:street).type(:string) required(:city).type(:string) required(:zipcode).type(:string) required(:location).type(:hash).schema do required(:lat).type(:float) required(:lng).type(:float) end end end end schema.to_ast => [:set, [[:and, [[:predicate, [:key?, [[:name, :user], [:input, Undefined]]]], [:key, [:user, [:and, [[:predicate, [:hash?, [[:input, Undefined]]]], [:set, [[:predicate, [:key?, [[:name, :email], [:input, Undefined]]]], [:predicate, [:key?, [[:name, :age], [:input, Undefined]]]], [:and, [[:predicate, [:key?, [[:name, :address], [:input, Undefined]]]], [:key, [:address, [:and, [[:predicate, [:hash?, [[:input, Undefined]]]], [:set, [[:predicate, [:key?, [[:name, :street], [:input, Undefined]]]], [:predicate, [:key?, [[:name, :city], [:input, Undefined]]]], [:predicate, [:key?, [[:name, :zipcode], [:input, Undefined]]]], [:and, [[:predicate, [:key?, [[:name, :location], [:input, Undefined]]]], [:key, [:location, [:and, [[:predicate, [:hash?, [[:input, Undefined]]]], [:set, [[:predicate, [:key?, [[:name, :lat], [:input, Undefined]]]], [:predicate, [:key?, [[:name, :lng], [:input, Undefined]]]]]]]]]]]]]]]]]]]]]]]]]]]]]] ``` username_7: Hello community, you are welcome to review [my PR replacing virtus with dry-types](https://github.com/ruby-grape/grape/pull/1920). :slightly_smiling_face: Later we might bring dry-schema as well, but it will require more work and it will bring lots of breaking changes. So, let's start with dry-types :wink: Status: Issue closed
Azure/azure-mobile-apps
1054506701
Title: New Abstraction proj/nuget with interfaces and enum Question: username_0: **Is your feature request related to a problem? Please describe.** To reuse models/dto in different platforms, they should be under netstandard instead of in .netX And free from specific platform dependency like Microsoft.AspNerCore.OData as example **Describe the solution you'd like** Separate interfere and enum in new abstraction project/nuget. https://github.com/Azure/azure-mobile-apps/pull/254 Answers: username_0: in reply at https://github.com/Azure/azure-mobile-apps/pull/254#pullrequestreview-806711421 we can't use EfCore/InMemory Repositories without Core, because "exceptions" have dependencies with Microsoft.AspNetCore.Http and Microsoft.AspNetCore.Mvc username_1: Wouldn't any other repository you define have the same exceptions? Those are core to how the repository pattern works in this library. Also, .NET Standard 2.0 is superceded by .NET 6; in the service side code, you would want to define a net6.0 TargetFramework. What is causing the back-rev to .NET Standard? username_0: sorry ignore "netstandard" it's my mistake, due to the habit of working with .net core 3.1, so it's ok net5.0 TFM, my goal is to have no platform specific dependencies like Microsoft.AspNetCore.* for better code share; I wrote net5.0 because the source code has this, you plan to upgrate to net6.0 in next beta? username_1: Yes - the next beta will be .NET 6.0 now that the .NET team has put the clock on net5.0. I've got a PR in progress for updating this now. (Actually, the same PR to do #255 username_0: ok, I will update #254 to #255 if you decide to accept it. username_1: I think we will be pretty close once I merge in the PR for #255 (which I'm going to do before I merge this one). The changes don't seem to conflict. username_1: Merged in PR #254 Status: Issue closed
Rigellute/spotify-tui
588870005
Title: How to integrate with NCSpot player? Question: username_0: Hi thank you for this awesome tool, I have some question about integrating to ncspot player, is there any way to do that? Answers: username_1: There's no way to integrate `spotify-tui` with `ncspot` currently - `spotify-tui` uses the Connect API from Spotify and provices no audio playback backend, whereas `ncspot`does bring an audio backend with it (which is very cool!) Status: Issue closed
Azure/azure-sdk-for-python
81988054
Title: Can't create vm with exsiting vm image + fix found work for me Question: username_0: Bug found: when I use create_virtual_machine_deployment to create a new virtual machine with a existing vm image, i got this `<bad request : No Configuration Set should be specified while using a VMImage with a specialized OS Disk Configuration>` --------------------------------------------------------------------------------------------- Corrige found in: `azure/servicemanangement/__init__.py` in function role_to_xml, `if system_configuration_set or network_configuration_set:` should be changed to `if (system_configuration_set or network_configuration_set) and not vm_image_name:` Else it will add `<ConfigurationSets>` tag and the api server will refuse this request. Please fixed this in the next update, thankyou! Answers: username_1: That's not going to work for generalized vm images To use a generalized vm image, you have to specify a vm_image_name and a system_configuration_set (to give it admin name+password, computer name, etc). Your code change means that the system config would be ignored. In your scenario, you should pass None for system_configuration_set and network_configuration_set. I don't think we prevent that, but if we do, I think that's what we would have to fix. Status: Issue closed
hydroshare/hydroshare
68940159
Title: Error raised when uploading a bad tif file for raster resource type Question: username_0: This issue results from raster resource type testing by Tian who found error being raised when uploading a bad tif file for raster resource type. Have added validation to address this issue. Will create a pull request shortly to have my fix merged into develop. Answers: username_1: @username_2 please test on alpha.hydroshare.org and close if fixed username_2: It works without showing error info page. The system recognizes the bad tif file as an incomplete tif file and populate the metadata with "NA" value. Status: Issue closed
Homebrew/homebrew-core
145570079
Title: brew install mit-scheme Question: username_0: Seems like you guys are in the middle of a migration, and It's unfortunate that this gets to be the one of the first issues but I've been pulling my hair out for this so I thought I'd just post an issue. mit-scheme fails to build. I'm on 10.11.3 using XCode 7.2.1 ``` configure: error: No MacOSX SDK for version: 10.11 configure: error: ./configure failed for microcode ``` https://gist.github.com/username_0/17a281b90460ecb747cb498eb89c4fbc Related Issues: https://github.com/Homebrew/legacy-homebrew/issues/32070 https://github.com/Homebrew/homebrew-x11/issues/24 Answers: username_1: ``` Warning: You have leftover files from an older version of Xcode. You should delete them using: /Developer/Library/uninstall-developer-folder ``` Try running that, then install Xcode 7.3 and try again. username_0: @username_1 Thing is even if I run that `brew doctor` still shows the warning. username_2: what's the output of ``` xcode-select -p ``` and ``` xcrun xcode-select -p ``` and ``` ls /Applications/|grep Xc ``` username_2: I cannot reproduce this issue. Builds fine on 10.8.5 and 10.11.4 here. username_0: Hmm it's unfortunate that the issue can't be reproduced :( I've showed the output below: `xcode-select -p` /Applications/Xcode.app/Contents/Developer `xcrun xcode-select -p` /Applications/Xcode.app/Contents/Developer `ls /Applications/|grep Xc` Xcode.app Also, any guess why `/Developer/Library/uninstall-developer-folder` doesn't seem to work? Even after I run it (with sudo) brew doctor still says I should run it. username_2: how about ``` $ ls /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ $ xcrun --show-sdk-path $ xcrun --show-sdk-version $ xcrun --show-sdk-build-version $ xcrun --show-sdk-platform-path $ xcrun --show-sdk-platform-version $ pkgutil --pkgs | grep CLT $ pkgutil --pkg-info `pkgutil --pkgs | grep CLT` ``` username_0: ``` ➜ ~ ls /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ MacOSX10.11.sdk ➜ ~ xcrun --show-sdk-path /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk ➜ ~ xcrun --show-sdk-version 10.11 ➜ ~ xcrun --show-sdk-build-version 15C43 ➜ ~ xcrun --show-sdk-platform-path /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform ➜ ~ xcrun --show-sdk-platform-version 1.1 ➜ ~ pkgutil --pkgs | grep CLT com.apple.pkg.CLTools_Executables ➜ ~ pkgutil --pkg-info `pkgutil --pkgs | grep CLT` package-id: com.apple.pkg.CLTools_Executables version: 7.3.0.0.1.1457485338 volume: / location: / install-time: 1458616088 groups: com.apple.FindSystemFiles.pkg-group com.apple.DevToolsBoth.pkg-group com.apple.DevToolsNonRelocatableShared.pkg-group ``` username_2: OK, do you mind trying ``` mkdir ~/Documents/homebrew-20160405 sudo mv /usr/local ~/Documents/homebrew-20160405 /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew install homebrew/x11/mit-scheme brew reinstall mit-scheme --build-from-source ``` username_0: `brew install homebrew/x11/mit-scheme` still fails with: ``` ==> Installing mit-scheme from homebrew/x11 ==> Downloading http://ftpmirror.gnu.org/mit-scheme/stable.pkg/9.2/mit-scheme-c-9.2.tar.gz Already downloaded: /Library/Caches/Homebrew/mit-scheme-9.2.tar.gz ==> etc/make-liarc.sh --prefix=/usr/local/Cellar/mit-scheme/9.2_1 --mandir=/usr/local/Cellar/mit-scheme/9.2_1/share/man Last 15 lines from /Users/username_0/Library/Logs/Homebrew/mit-scheme/01.make-liarc.sh: checking for C/C++ restrict keyword... __restrict checking for working volatile... yes checking for inline... inline checking for preprocessor stringizing operator... yes checking for function prototypes... yes checking for egrep... (cached) /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for GCC>=4... yes checking for native-code support... yes, using portable C code configure: error: No MacOSX SDK for version: 10.11 configure: error: ./configure failed for microcode ``` same thing with: ``` ➜ ~ brew reinstall mit-scheme --build-from-source ==> Reinstalling homebrew/x11/mit-scheme ==> Installing dependencies for homebrew/x11/mit-scheme: pkg-config, makedepend ==> Installing homebrew/x11/mit-scheme dependency: pkg-config ==> Downloading https://pkgconfig.freedesktop.org/releases/pkg-config-0.29.1.tar.gz ######################################################################## 100.0% ==> ./configure --prefix=/usr/local/Cellar/pkg-config/0.29.1 --disable-host-tool --with-internal-glib --with-pc-path=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/pkg ==> make ==> make check ==> make install 🍺 /usr/local/Cellar/pkg-config/0.29.1: 10 files, 631.3K, built in 1 minute 46 seconds ==> Installing homebrew/x11/mit-scheme dependency: makedepend ==> Downloading http://xorg.freedesktop.org/releases/individual/util/makedepend-1.0.5.tar.bz2 ######################################################################## 100.0% ==> Downloading http://xorg.freedesktop.org/releases/individual/proto/xproto-7.0.25.tar.bz2 ######################################################################## 100.0% ==> ./configure --disable-silent-rules --prefix=/private/tmp/makedepend20160405-25698-mju7g0/makedepend-1.0.5/xproto ==> make install ==> Downloading http://xorg.freedesktop.org/releases/individual/util/util-macros-1.18.0.tar.bz2 ######################################################################## 100.0% ==> ./configure --prefix=/private/tmp/makedepend20160405-25698-mju7g0/makedepend-1.0.5/xorg-macros ==> make install ==> ./configure --disable-silent-rules --prefix=/usr/local/Cellar/makedepend/1.0.5 ==> make install 🍺 /usr/local/Cellar/makedepend/1.0.5: 7 files, 72.6K, built in 28 seconds ==> Installing homebrew/x11/mit-scheme ==> Downloading http://ftpmirror.gnu.org/mit-scheme/stable.pkg/9.2/mit-scheme-c-9.2.tar.gz Already downloaded: /Library/Caches/Homebrew/mit-scheme-9.2.tar.gz ==> etc/make-liarc.sh --prefix=/usr/local/Cellar/mit-scheme/9.2_1 --mandir=/usr/local/Cellar/mit-scheme/9.2_1/share/man Last 15 lines from /Users/username_0/Library/Logs/Homebrew/mit-scheme/01.make-liarc.sh: checking for C/C++ restrict keyword... __restrict checking for working volatile... yes checking for inline... inline checking for preprocessor stringizing operator... yes checking for function prototypes... yes checking for egrep... (cached) /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for GCC>=4... yes checking for native-code support... yes, using portable C code configure: error: No MacOSX SDK for version: 10.11 configure: error: ./configure failed for microcode ``` username_2: OK, so I think there's something wrong with your Xcode. Any reason this machine cannot be brought current? ``` HOMEBREW_VERSION: 0.9.9 ORIGIN: https://github.com/Homebrew/brew.git HEAD: 9ae503b107b6c291283fc90d064d5bb68095a99d Last commit: 3 hours ago Core tap ORIGIN: https://github.com/Homebrew/homebrew-core Core tap HEAD: dd7415bafe88e4ed8fdf4ebedc90be4e00211513 Core tap last commit: 3 hours ago HOMEBREW_PREFIX: /usr/local HOMEBREW_REPOSITORY: /usr/local HOMEBREW_CELLAR: /usr/local/Cellar HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com CPU: 8-core 64-bit skylake OS X: 10.11.4-x86_64 Xcode: 7.3 CLT: 7.3.0.0.1.1457485338 Clang: 7.3 build 703 X11: 2.7.8 => /opt/X11 System Ruby: 2.0.0-p648 Perl: /usr/bin/perl Python: /usr/bin/python Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby Java: N/A ``` username_2: @username_0 any progress with this? username_0: Hello @username_2 slr. I've updated my xcode to 7.3 but it still fails. https://gist.github.com/username_0/36bbb6bb60cf0d9971a6984b3f38005e username_1: Something is still funny with your Xcode installation: ``` Warning: You have leftover files from an older version of Xcode. You should delete them using: /Developer/Library/uninstall-developer-folder username_2: @username_0 did you try what @username_1 suggested? username_2: @username_0 just a ping to see if this is sorted out now. username_2: @username_0 Please let us know if you still need help with this. Status: Issue closed
WarEmu/WarBugs
1101936296
Title: Tali Bug Question: username_0: <!--when i try to use tali lvl 25 blue mats it clears the tali [menu](https://youtu.be/HQ7lZpzAtXA) Issues should be unique. Check if someone else reported the issue first, and please don't report duplicates. Only ONE issue in a report. Don't forget screens or a video. --> **Expected behavior and actual behavior:** **Steps to reproduce the problem:** **Testing Screenshots/Videos/Evidences (always needed):** <!-- Drag and drop an image file here to include it directly in the bug report, no need to upload it to another site --> <!-- Note that game critical and game breaking bugs may award a manticore/griffon (realm specific) at the leads discretion however, asking for one instantly disqualifies you from this reward. --> Answers: username_1: maybe related to: #18404
xobotyi/react-scrollbars-custom
372127537
Title: Enabling permanentScrollbar shouldn't cause thumb to disappear Question: username_0: In the demo, enable "always show track", and note that the thumb disappears despite the fact that the content is scrollable. # Root Cause [L716](https://github.com/username_1/react-scrollbars-custom/blob/master/src/index.js#L716) refers to `scrollY`, which isn't a real property. It appears that it was supposed to be referencing `noScrollY`. The same is true for the horizontal property.<issue_closed> Status: Issue closed
everyday-as/gmodstore-issues
607879276
Title: Pre-update applications set bid to budget Question: username_0: *Created by: Greenhourglass* I've noticed that when I view all the applications I've submitted before the update, all of them say the bid is what the job's budget was, even when I know I had bid something lower or higher. This is mainly only an issue because I can't find what price had been agreed upon on jobs that I have been doing since before the update.<issue_closed> Status: Issue closed
GoogleCloudPlatform/google-cloud-eclipse
198337244
Title: change FileAlreadyExistsException to NotDirectoryException in MavenAppEngineStandardWizardPage Question: username_0: On upgrading to the next version of appengine-plugins-core we'll need to change FileAlreadyExistsException to NotDirectoryException in MavenAppEngineStandardWizardPage: @VisibleForTesting static boolean validateLocation(String location, WizardPage page) { if (location.isEmpty()) { page.setMessage(Messages.getString("PROVIDE_LOCATION"), INFORMATION); //$NON-NLS-1$ return false; } else { try { java.nio.file.Path path = Paths.get(location); FilePermissions.verifyDirectoryCreatable(path); return true; } catch (FileAlreadyExistsException ex) { String message = Messages.getString("FILE_LOCATION", location); //$NON-NLS-1$ page.setMessage(message, ERROR); return false; } catch (IOException ex) { String message = Messages.getString( "INVALID_PATH", location, ex.getLocalizedMessage()); //$NON-NLS-1$ page.setMessage(message, ERROR); return false; } } }<issue_closed> Status: Issue closed
gatsbyjs/gatsby
440729412
Title: Improve Gatsbyjs.org without browser JavaScript Question: username_0: ## Description In reviewing Gatsbyjs.org with JavaScript disabled, most of it works! There are two main improvements I'd like to propose (and if anyone finds other low-hanging fruit, feel free to add details here!). - Improve layout with "This app works best with JavaScript enabled" notice and scrolling of the page - The plugins page shows up completely blank It's reasonable that some functionality would not work, particularly things that rely on client-side scripting like calling external APIs. However, the site chrome should still render on all pages with client-side scripting disabled. ### Steps to reproduce Turn JavaScript off in your browser and navigate the site ### Expected result All pages should render and have a decent layout / scrolling experience. ### Actual result The site header looks buggy and the plugins page is blank. ![gatsbyjs. org header](https://user-images.githubusercontent.com/1045233/57232105-ef0a3f00-6fe9-11e9-9f3b-590d345d9624.png) ![gatsbyjs.org plugins page](https://user-images.githubusercontent.com/1045233/57232119-f4678980-6fe9-11e9-8ad0-3bcc0b5a9f35.png) Answers: username_1: is it worth the effort when we're thinking of a complete redesign? We might just want to make sure we do this in our redesign? username_0: For the site chrome issue, that does make sense to do in the scope of the redesign. The plugins page thing seems worth investigating anyway to know why it's happening. username_2: This seems like an issue. It definitely wouldn't work to begin with (e.g. plugins sidebar requires a client-side data call), but we should at least show the layout component in the absence of JavaScript! Status: Issue closed username_3: The JS notice was removed in the meantime and the /plugins page shows a skeleton when having JS disabled. So I'll close this one.
BerkeleyLearnVerify/Scenic
1186392208
Title: [Using Scenic Programmatically] Example code NewtonianSimulator cannot find global parameters Question: username_0: Hello everyone! I wanted to notify a problem experienced by running the 2nd example reported in the [documentation](https://scenic-lang.readthedocs.io/en/latest/api.html). The example is reported here: ``` import scenic from scenic.simulators.newtonian import NewtonianSimulator scenario = scenic.scenarioFromFile('examples/driving/badlyParkedCarPullingIn.scenic', model='scenic.simulators.newtonian.model') scene, _ = scenario.generate() simulator = NewtonianSimulator() simulation = simulator.simulate(scene, maxSteps=10) if simulation: # `simulate` can return None if simulation fails result = simulation.result for i, state in enumerate(result.trajectory): egoPos, parkedCarPos = state print(f'Time step {i}: ego at {egoPos}; parked car at {parkedCarPos}') ``` When running, the NewtonianSimulator is not able to find the global parameter "map" that is defined in the scenario file. The complete error message follows: ``` Traceback (most recent call last): File "/home/luigi/anaconda3/lib/python3.8/code.py", line 90, in runcode exec(code, self.locals) File "<input>", line 1, in <module> File "/home/luigi/.local/share/JetBrains/Toolbox/apps/PyCharm-P/ch-0/213.7172.26/plugins/python/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import module = self._system_import(name, *args, **kwargs) File "/home/luigi/Development/ScenicOriginal/src/scenic/simulators/newtonian/__init__.py", line 17, in <module> from .simulator import NewtonianSimulator File "/home/luigi/.local/share/JetBrains/Toolbox/apps/PyCharm-P/ch-0/213.7172.26/plugins/python/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import module = self._system_import(name, *args, **kwargs) File "/home/luigi/Development/ScenicOriginal/src/scenic/simulators/newtonian/simulator.py", line 15, in <module> import scenic.domains.driving.model as drivingModel File "/home/luigi/.local/share/JetBrains/Toolbox/apps/PyCharm-P/ch-0/213.7172.26/plugins/python/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import module = self._system_import(name, *args, **kwargs) File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 671, in _load_unlocked File "/home/luigi/Development/ScenicOriginal/src/scenic/syntax/translator.py", line 719, in exec_module code, pythonSource = compileStream(stream, module.__dict__, filename=self.filepath) File "/home/luigi/Development/ScenicOriginal/src/scenic/syntax/translator.py", line 290, in compileStream executeCodeIn(code, namespace) File "/home/luigi/Development/ScenicOriginal/src/scenic/syntax/translator.py", line 2175, in executeCodeIn exec(code, namespace) File "/home/luigi/Development/ScenicOriginal/src/scenic/domains/driving/model.scenic", line 47, in <module> raise RuntimeError('need to specify map before importing driving model ' RuntimeError: need to specify map before importing driving model (set the global parameter "map") ``` It would be great to receive any feedback on how to fix this problem. Thanks a lot! Luigi Answers: username_1: Hello Luigi, Thanks for catching this! The example code is fine, but there was an internal issue in the Newtonian simulator which caused this counter-intuitive error message. I've pushed a quick fix, which works on my end -- please let me know if this solves the problem for you. username_0: Thanks a lot, Daniel. It works fine now! Status: Issue closed
ljh7857/moappteamproject
759055637
Title: 회의록 취합 Question: username_0: 이제까지의 회의 취합한 내용 워드로 정리했습니다. 11일 제출 시 필요한 서류입니다. [안심식당_회의록.docx](https://github.com/username_1/moappteamproject/files/5656887/_.docx) Answers: username_1: 누락과 중복 수정했습니다. [안심식당 회의록.docx](https://github.com/username_1/moappteamproject/files/5673055/default.docx)
vi/websocat
599361415
Title: logging proxied traffic Question: username_0: Is it possible to log traffic being proxied to a file? I am trying to debug json-rpc over a websocket and would like to be able to see what is being sent and received. Answers: username_1: Splitting streams to two specifies is not currently supported. Do you maybe have an idea for versatile and composable command line syntax for it and semantics of what exactly would happen? username_1: Note that now there is a `log:` overlay which can be used to log things to stderr (which can be redirected to a file). username_2: `websocat -B 500000 -v -v --text log:ws-listen:127.0.0.1:9943 log:ws://127.0.0.1:9944` this is just a small example with the websocat 1.8.0 version. Don't forget to use your personal ports e.t.c. this one is just proxing all data from 9943 port to 9944 and logs them both. p.s. I have also chosen a huge buffer size username_1: @username_2 Note that such proxy would mangle binary WebSocket messages, converting them into text ones and maybe changing some bytes (such as newlines). To be able to forward both text and binary WebSocket messages reliably you need `--base64`, `--binary-prefix`, `--text-prefix` and maybe `--base64-text` options.
WebHeroSchool/QUIP-layout
794477766
Title: main mobile Question: username_0: Не соответствуют размеры элементов. Высота хэдэра - не соответствует, отступы не соответствуют. Нужно подгонять размеры практически всех элементов на странице. Кнопки - сильно отличаются от тех, что на макете
pytorch/pytorch
775822809
Title: Mypy error when passing None to nn.AdaptiveAvgPool2d or nn.AdaptiveMaxPool2d Question: username_0: ## 🐛 Bug `nn.AdaptiveAvgPool2d` and `nn.AdaptiveMaxPool2d` support passing `None` to keep the input dim after pooling as shown in the docs like [nn.AdaptiveAvgPool2d](https://pytorch.org/docs/stable/generated/torch.nn.AdaptiveAvgPool2d.html) and [nn.AdaptiveMaxPool2d](https://pytorch.org/docs/stable/generated/torch.nn.AdaptiveMaxPool2d.html#torch.nn.AdaptiveMaxPool2d). However, `mypy` shows error that it is incompatible type when passing `None`. ## To Reproduce ```python class Model(nn.Module): def __init__(self): ... self.pool = nn.AdaptiveAvgPool2d((1, None)) def forward(self, inputs): # inputs: [B, C, H, W] outputs = self.pool(inputs) # outputs: [B, C, 1, W] return outputs ``` Mypy Error: ```Argument 1 to "AdaptiveAvgPool2d" has incompatible type "Tuple[int, None]"; expected "Union[int, Tuple[int, ...]]"``` ## Expected behavior No error either `nn.AdaptiveAvgPool2d((1, None))` or `nn.AdaptiveAvgPool2d((None, 1))` ## Environment - PyTorch Version: 1.7 - OS: Ubuntu 20.04 - How you installed PyTorch (`conda`, `pip`, source): conda - Python version: 3.8.5 Answers: username_1: Thanks @username_0, that's indeed a bug. Looks like it only affects `AdaptiveAvgPool2d`, `AdaptiveAvgPool3d`, `AdaptiveMaxPool2d` and `AdaptiveMaxPool3d`. I checked that there are tests for using `None`, they're the ones with `desc='tuple_none',` in `torch/testing/_internal/common_nn.py`. Running `mypy` over `test_nn.py` wouldn't have caught this though I think, because of the way test cases are generated. username_0: When I look at the common types defined in file `torch/nn/common_types.py`, these sizes used in Pytorch are required to be `int` or `Tuple[int, int]`. There is no definition for sizes that have an optional number like the one above (i.e. `(1, None)` or `(None, 1)`). Therefore, to keep things concise, I think we could introduce a new types, like `_size_n_opt_t` (e.g. `_size_2_opt_t`) and place it where we accept the optional size like such cases. So, I suggest adding to `common_types.py` file: ```python _size_any_opt_t = _scalar_or_tuple_any_t[Optional[int]] _size_1_opt_t = _scalar_or_tuple_1_t[Optional[int]] _size_2_opt_t = _scalar_or_tuple_2_t[Optional[int]] _size_3_opt_t = _scalar_or_tuple_3_t[Optional[int]] _size_4_opt_t = _scalar_or_tuple_4_t[Optional[int]] _size_5_opt_t = _scalar_or_tuple_5_t[Optional[int]] _size_6_opt_t = _scalar_or_tuple_6_t[Optional[int]] ``` So that we can annotate the type for `_MaxPoolNd` (and similar classes as well) like this: ```python class _MaxPoolNd(Module): ... def __init__(self, kernel_size: _size_any_opt_t, stride: Optional[_size_any_t] = None, padding: _size_any_t = 0, dilation: _size_any_t = 1, return_indices: bool = False, ceil_mode: bool = False) -> None: ... ``` Any thoughts? username_1: `_size_any_opt_t` naming and putting it in `common_types.py` sounds good. I would prefer to not define types that aren't used at all though, I think we need only `_size_any_opt_t`, `_size_2_opt_t` and `_size_3_opt_t`.
suriyun-production/mmorpg-kit-docs
694247206
Title: SqLiteDatabase missing Question: username_0: When u create a new project with version 1.58 and build mmo using Sqlite database. it used to create a Sqldatabase in ur folder so u can use Atm it doesnt create any database anymore at all. is this something else i gotta do now for it to make it ? did the command line to start server properly changed? or this a bug? Answers: username_1: Now server architecture changes, you have to run database management server, did you add `-startDatabaseServer` to run it yet? ![mmo_arch](https://user-images.githubusercontent.com/2697550/92322935-befc0180-f05e-11ea-8696-c4b6144868a3.png) username_0: ah no i was using old command line still there need to be info on this somewhere so others can know too cuase i wouldnt have known if i didnt ask username_0: What should it look like ? path.exe -startDatabaseServer -startMapSpawnServer -spawnExePath "path.exe " -startCentralServer -startChatServer -machineAddress "127.0.0.1" Like this ? or path.exe -startDatabaseServer -startMapSpawnServer -spawnExePath "path.exe " -startCentralServer -startChatServer -machineAddress "127.0.0.1" username_0: tried putting it multiple locations, and i keep getting map server not ready ![image](https://user-images.githubusercontent.com/7702658/92330306-266d7d80-f06e-11ea-8094-52fd7fe3db2c.png) But it did create the sqlite db username_1: Your `-spawnExePath` is full path ? username_0: yes C:\Users\Clifford\Documents\UnityBuilds\NewTest\NewTest.exe -startMapSpawnServer -spawnExePath "C:\Users\Clifford\Documents\UnityBuilds\NewTest\NewTest.exe" -startCentralServer -startChatServer -startDatabaseServer username_0: C:\Users\Clifford\Documents\UnityBuilds\NewTest\NewTest.exe -startMapSpawnServer -spawnExePath "C:\Users\Clifford\Documents\UnityBuilds\NewTest\NewTest.exe" -startCentralServer -startChatServer -startDatabaseServer -machineAddress "127.0.0.1" And tried this one username_1: Try set exe path to "C:\\Users\\Clifford\\Documents\\UnityBuilds\\NewTest\\NewTest.exe" Or try create `config` folder, inside this folder create file name `serverConfig.json` open it and put configs ``` { "databaseOptionIndex" : 0, "centralAddress" : "localhost", "centralPort" : 6000, "centralMaxConnections" : 1100, "machineAddress" : "localhost", "mapSpawnPort" : 6001, "mapSpawnMaxConnections" : 2, "spawnExePath" : "C:\\Users\\Clifford\\Documents\\UnityBuilds\\NewTest\\NewTest.exe", "notSpawnInBatchMode" : true, "spawnStartPort" : 8000, "spawnMaps" : ["Map001","Map002"], "chatPort" : 6002, "chatMaxConnections" : 1100, "databaseManagerAddress" : "localhost", "databaseManagerPort" : 6003 } ``` Then let's see what's happen. username_0: ![image](https://user-images.githubusercontent.com/7702658/92333362-1f059e80-f085-11ea-858e-0f9276481526.png) This is the same as i had before, the same exe path. And i tried serverconfig and still Map not ready ![image](https://user-images.githubusercontent.com/7702658/92333377-49575c00-f085-11ea-9a30-d6f3797c2ceb.png) ![image](https://user-images.githubusercontent.com/7702658/92333385-52482d80-f085-11ea-86ec-c5c8c557e660.png) username_0: when i run with config files it opens 3 windows is this correct? ![image](https://user-images.githubusercontent.com/7702658/92333480-16619800-f086-11ea-9c81-57ac82175a5b.png) username_0: ok after rebooting it all again it worked ![image](https://user-images.githubusercontent.com/7702658/92333500-3729ed80-f086-11ea-8a5e-690c720e9a3c.png) username_0: ill go test without config files and see if that fixed it username_0: Only works With Config file, just command line and no serverconfig u get map server not ready username_1: Try set exe path to `C:\\Users\\Clifford\\Documents\\UnityBuilds\\NewTest\\NewTest.exe` ( 2 slashes ) username_0: ![image](https://user-images.githubusercontent.com/7702658/92333688-c1bf1c80-f087-11ea-88f8-c63451da3e06.png) username_0: C:\Users\Clifford\Documents\UnityBuilds\NewTest\NewTest.exe -startMapSpawnServer -spawnExePath "C:\\Users\\Clifford\\Documents\\UnityBuilds\\NewTest\\NewTest.exe" -startCentralServer -startChatServer -startDatabaseServer -machineAddress "127.0.0.1" username_0: C:\\Users\\Clifford\\Documents\\UnityBuilds\\NewTest\\Newtest.exe -startMapSpawnServer -spawnExePath "C:\\Users\\Clifford\\Documents\\UnityBuilds\\NewTest\\Newtest.exe" -startCentralServer -startChatServer -startDatabaseServer -machineAddress "127.0.0.1" I even renamed everything from NewTest to Newtest to see if it was the capital letter making it not work username_0: ^ the code above has 2 // but idk why it shows only 1 lol ![image](https://user-images.githubusercontent.com/7702658/92333813-b02a4480-f088-11ea-8364-a25a1c8ffe75.png) i edited it 3 times it tells me 2 but only shows 1 in the message username_2: I have the same error. But I have a server on vps. I also use sqllite. ![img1](https://user-images.githubusercontent.com/56482598/92333958-51c28d80-f0ab-11ea-89d3-1187b742ccd1.png) ![img2](https://user-images.githubusercontent.com/56482598/92333976-79b1f100-f0ab-11ea-9b61-3bbec33b2c09.png) username_0: i only managed to make it work with config files on a new project.. my own game still dont work with sqlite on local. i havent tested my vps yet but that one uses mysql username_2: And this is a new project. But the server is on linux. username_0: @username_2 i found ur problem Check his config file above.. urs is different.. i went to check my games config file and noticed it wasnt same 2 i fixed it now my game runs fine with config file ur missing the top part ![image](https://user-images.githubusercontent.com/7702658/92334179-f03ef680-f08b-11ea-8180-d25447767983.png) aka this "databaseOptionIndex" : 0, this made mine work fine.. But still cant start without config file.. i used to always test local build without file cuase was handy.. i only used config files for mysql linux server builds username_2: No, it does not work ![img3](https://user-images.githubusercontent.com/56482598/92334310-72401700-f0ae-11ea-9fd1-b8ad33694467.png) username_0: why is ur databasemanager on local ? and the others above on an ip put all on same ip username_3: same problem username_0: i tried linux server 2 and i couldnt start it i used /root/TestServer/TestServer.x86_64 -startCentralServer -startChatServer -startMapSpawnServer -startDatabaseServer AS command line and fixed serverconfig files but nothing username_1: Map server not spawn, Fix it by add () cover inline conditional codes in `MapSpawnNetworkManager.cs` at line `250` from `Arguments = !NotSpawnInBatchMode ? "-batchmode -nographics " : string.Empty +` to `Arguments = (!NotSpawnInBatchMode ? "-batchmode -nographics " : string.Empty) +` So, From line `250` codes will be ``` Arguments = (!NotSpawnInBatchMode ? "-batchmode -nographics " : string.Empty) + $"{MMOServerInstance.ARG_MAP_ID} {mapId} " + ``` username_0: ok i will try this, Question how do we start linux server build ? cuase i tried /root/TestServer/TestServer.x86_64 -startCentralServer -startChatServer -startMapSpawnServer -startDatabaseServer and it doesnt work i used to be /root/TestServer/TestServer.x86_64 -startCentralServer -startChatServer -startMapSpawnServer username_0: @username_1 ![image](https://user-images.githubusercontent.com/7702658/92346788-24d3a200-f0ce-11ea-8004-ac78beda0217.png) This worked perfectly ty username_4: Did this. Also tried to create the serverConfig.json and double checked my shortcut parameters. Shortcut Parameters `"P:\Test\New Unity Project\Build\New Unity Project.exe" -startMapSpawnServer -spawnExePath "P:\Test\New Unity Project\Build\New Unity Project.exe" -startCentralServer -startChatServer -startDatabaseServer` serverConfig.Json `{ "databaseOptionIndex" : 0, "centralAddress" : "localhost", "centralPort" : 6000, "centralMaxConnections" : 1100, "machineAddress" : "localhost", "mapSpawnPort" : 6001, "mapSpawnMaxConnections" : 2, "spawnExePath" : "P:\\GarbageTest\\New Unity Project\\Build\\New Unity Project.exe", "notSpawnInBatchMode" : true, "spawnStartPort" : 8000, "spawnMaps" : ["Map001","Map002"], "chatPort" : 6002, "chatMaxConnections" : 1100, "databaseManagerAddress" : "localhost", "databaseManagerPort" : 6100 }` Two things are occuring. 1) I can't register or login, exception happens on the server `(Exception) MultiplayerARPG.MMO.CentralNetworkManager+<HandleRequestUserLoginRoutine>d__62.MoveNext () (at <119f75f9efb444cfbe6aad26e46387b1>:0) UnityEngine.Debug:LogException(Exception) Cysharp.Threading.Tasks.UniTaskScheduler:PublishUnobservedTaskException(Exception) MultiplayerARPG.MMO.<HandleRequestUserLoginRoutine>d__62:MoveNext() Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskVoidMethodBuilder:Start(<HandleRequestUserLoginRoutine>d__62&) MultiplayerARPG.MMO.CentralNetworkManager:HandleRequestUserLoginRoutine(LiteNetLibMessageHandler) MultiplayerARPG.MMO.CentralNetworkManager:HandleRequestUserLogin(LiteNetLibMessageHandler) LiteNetLibManager.TransportHandler:ReadPacket(Int64, NetDataReader) LiteNetLibManager.LiteNetLibServer:OnServerReceive(TransportEventData) LiteNetLibManager.LiteNetLibServer:Update() LiteNetLibManager.LiteNetLibManager:LateUpdate()` 2) Both map servers receive errors and never load up. `(Exception) MultiplayerARPG.MMO.MapNetworkManager+<PreSpawnEntities>d__84.MoveNext () (at <119f75f9efb444cfbe6aad26e46387b1>:0) --- End of stack trace from previous location where exception was thrown --- System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <fb001e01371b4adca20013e0ac763896>:0) Cysharp.Threading.Tasks.UniTask+ExceptionResultSource.GetResult (System.Int16 token) (at <17aa5125c4544a82a13b7a57c6fdaf46>:0) MultiplayerARPG.BaseGameNetworkManager+<SpawnEntities>d__117.MoveNext () (at <119f75f9efb444cfbe6aad26e46387b1>:0) UnityEngine.Debug:LogException(Exception) Cysharp.Threading.Tasks.UniTaskScheduler:PublishUnobservedTaskException(Exception) MultiplayerARPG.<SpawnEntities>d__117:MoveNext() Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskVoid`1:Run() Cysharp.Threading.Tasks.Internal.ContinuationQueue:RunCore() Cysharp.Threading.Tasks.Internal.ContinuationQueue:Run()` username_1: Are you testing on windows?, when you build you build with `Server Build` enabled?, it's `x86` or `x86_64`? username_0: @username_1 Whats command line to boot server on linux ? i tried this /root/TestServer/TestServer.x86_64 -startCentralServer -startChatServer -startMapSpawnServer -startDatabaseServer and it doesnt work, Server starts but not database server.. i cant even login or create account cuase no db it used to be /root/TestServer/TestServer.x86_64 -startCentralServer -startChatServer -startMapSpawnServer username_4: Did not try Server Build, never have but I can try it if you want me to. x86. Have not tried x86_64 username_5: Going to join here. Did tests with x86 and x86_64 with and without server build. Same issues, can't register or login. Actually i tested all that has been said here before i was told there was a "issue open"... except the json config username_4: `x86_64` seems to do the trick. Running into a whole 'nother issue now though. Map Instance sometimes throws This is with `"databaseOptionIndex" : 0,` ``` (Exception) System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <fb001e01371b4adca20013e0ac763896>:0) System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) (at <fb001e01371b4adca20013e0ac763896>:0) System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) (at <fb001e01371b4adca20013e0ac763896>:0) System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) (at <fb001e01371b4adca20013e0ac763896>:0) System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () (at <fb001e01371b4adca20013e0ac763896>:0) MultiplayerARPG.MMO.MapNetworkManager+<PreSpawnEntities>d__84.MoveNext () (at <a801a819f8ab486cac4399f42d2a68a0>:0) --- End of stack trace from previous location where exception was thrown --- System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <fb001e01371b4adca20013e0ac763896>:0) Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask`1[TStateMachine].GetResult (System.Int16 token) (at <9574ea5d20f1429e950f9e740c24c125>:0) MultiplayerARPG.BaseGameNetworkManager+<SpawnEntities>d__117.MoveNext () (at <a801a819f8ab486cac4399f42d2a68a0>:0) UnityEngine.Debug:LogException(Exception) Cysharp.Threading.Tasks.UniTaskScheduler:PublishUnobservedTaskException(Exception) MultiplayerARPG.<SpawnEntities>d__117:MoveNext() Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskVoid`1:Run() Cysharp.Threading.Tasks.AwaiterActions:Continuation(Object) Cysharp.Threading.Tasks.UniTaskCompletionSourceCore`1:TrySetException(Exception) Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask`1:SetException(Exception) MultiplayerARPG.MMO.<PreSpawnEntities>d__84:MoveNext() Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask`1:Run() UnityEngine.UnitySynchronizationContext:ExecuteTasks() ``` This is with `"databaseOptionIndex" : 1,` ``` (Exception) System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <fb001e01371b4adca20013e0ac763896>:0) System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) (at <fb001e01371b4adca20013e0ac763896>:0) System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) (at <fb001e01371b4adca20013e0ac763896>:0) System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) (at <fb001e01371b4adca20013e0ac763896>:0) System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () (at <fb001e01371b4adca20013e0ac763896>:0) MultiplayerARPG.MMO.MapNetworkManager+<PreSpawnEntities>d__84.MoveNext () (at <a801a819f8ab486cac4399f42d2a68a0>:0) --- End of stack trace from previous location where exception was thrown --- System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <fb001e01371b4adca20013e0ac763896>:0) Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask`1[TStateMachine].GetResult (System.Int16 token) (at <9574ea5d20f1429e950f9e740c24c125>:0) MultiplayerARPG.BaseGameNetworkManager+<SpawnEntities>d__117.MoveNext () (at <a801a819f8ab486cac4399f42d2a68a0>:0) UnityEngine.Debug:LogException(Exception) Cysharp.Threading.Tasks.UniTaskScheduler:PublishUnobservedTaskException(Exception) MultiplayerARPG.<SpawnEntities>d__117:MoveNext() Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskVoid`1:Run() Cysharp.Threading.Tasks.AwaiterActions:Continuation(Object) Cysharp.Threading.Tasks.UniTaskCompletionSourceCore`1:TrySetException(Exception) Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask`1:SetException(Exception) MultiplayerARPG.MMO.<PreSpawnEntities>d__84:MoveNext() Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask`1:Run() UnityEngine.UnitySynchronizationContext:ExecuteTasks() ``` username_1: Just uploaded 1.58b, please try it. username_0: Will do TY username_0: Downloading right now username_0: @username_1 i only managed to start server without config files.. /root/TestServer/TestServer.x86_64 -startMapSpawnServer -spawnExePath "/root/TestServer/TestServer.x86_64" -startCentralServer -startChatServer -startDatabaseServer -machineAddress "192.168.127.12" This worked fine and i could login and start game and walk all good i tried config files and /root/TestServer/TestServer.x86_64 -startDatabaseServer -startCentralServer -startChatServer -startMapSpawnServer it didnt work, same issue as before ![image](https://user-images.githubusercontent.com/7702658/92421578-7ab15400-f179-11ea-9ab9-c5c7ddfb05a9.png) is this correct? username_0: [Log_Map(Map002) Instance().txt](https://github.com/suriyun-production/mmorpg-kit-docs/files/5185455/Log_Map.Map002.Instance.txt) [Log_Database_Central_Chat_MapSpawn.txt](https://github.com/suriyun-production/mmorpg-kit-docs/files/5185456/Log_Database_Central_Chat_MapSpawn.txt) [Log_Map(Map001) Instance().txt](https://github.com/suriyun-production/mmorpg-kit-docs/files/5185457/Log_Map.Map001.Instance.txt) Log files username_0: Think my config files are bad.. it works fine without it whenever i try use it i cant login username_4: So all my issues are gone. Biggest thing seems you HAVE to build in `x86_64` not sure if that was intended. username_1: Ahhh, yes, I've included only Grpc plugins for x86_64 platforms Status: Issue closed
kalexmills/github-vet-tests-dec2020
758837131
Title: homingway/hickwall: newcore/fanout.go; 23 LoC Question: username_0: [Click here to see the code in its original context.](https://github.com/homingway/hickwall/blob/2e1063aa3cf5eeee29adc3a494c3633ec8fc4e0c/newcore/fanout.go#L118-L140) <details> <summary>Click here to show the 23 line(s) of Go which triggered the analyzer.</summary> ```go for idx, bk := range f.bks { // closing consuming of each backend consuming_errc := make(chan error) f.closing_list[idx] <- consuming_errc <-consuming_errc // close backend. go func() { consuming_errc <- bk.Close() }() timeout := time.After(time.Duration(1) * time.Second) wait_bk_close: for { select { case <-consuming_errc: break wait_bk_close case <-timeout: logging.Errorf("backend(%s) is blocking the fanout closing process!\n", bk.Name()) break wait_bk_close } } } ``` </details> Leave a reaction on this issue to contribute to the project by classifying this instance as a **Bug** :-1:, **Mitigated** :+1:, or **Desirable Behavior** :rocket: See the descriptions of the classifications [here](https://github.com/github-vet/rangeclosure-findings#how-can-i-help) for more information. commit ID: 2e1063aa3cf5eeee29adc3a494c3633ec8fc4e0c
electron/electron
368555919
Title: wrong window size after minimize and restore when setting BrowserWindow's resizable to false Question: username_0: * Output of `node_modules/.bin/electron --version`: 3.0.3 * Operating System (Platform and Version): windows 10 * Output of `node_modules/.bin/electron --version` on last known working Electron version (if applicable): 2.x.x **Expected Behavior** A clear and concise description of what you expected to happen. mainWindow = new BrowserWindow({ resizable: false }) Minimize and restore main windows by click app icon on the taskbar, the window is getting smaller and smaller. **Actual behavior** A clear and concise description of what actually happened. The main window keeps the same size. **To Reproduce** Your best chance of getting this bug looked at quickly is to provide a REPOSITORY that can be cloned and run. You can fork [electron-quick-start](https://github.com/electron/electron-quick-start) and include a link to the branch with your changes. If you provide a URL, please list the commands required to clone/setup/run your repo e.g. ```sh $ git clone $YOUR_URL -b $BRANCH $ npm install $ npm start || electron . ``` It's easy to start from electron-quick-start repo, just add the resizable: false to reproduce it. **Screenshots** If applicable, add screenshots to help explain your problem. **Additional Information** Add any other context about the problem here. Answers: username_1: Thank you for taking the time to report this issue and helping to make Electron better. The version of Electron you reported this on has been superseded by newer releases. If you're still experiencing this issue in Electron v4.2.x or later, please add a comment specifying the version you're testing with and any other new information that a maintainer trying to reproduce the issue should know. I'm setting the `blocked/need-info` label for the above reasons. This issue will be closed 7 days from now if there is no response. Thanks in advance! Your help is appreciated. Status: Issue closed username_1: Thank you for your issue! We haven't gotten a response to our questions in our comment above. With only the information that is currently in the issue, we don't have enough information to take action. I'm going to close this but don't hesitate to reach out if you have or find the answers we need, we'll be happy to reopen the issue. username_2: I have same issue, after restoring from minimize the size expands about 10 pixel . I set min width and min height and use getCurrentWindow().minimize(); getCurrentWindow().unmaximize(); functions . if windows was set to min width and min height after recovering from minimize state it expands the size about 10 pixel
Disfactory/Disfactory
703207280
Title: 無法新增點位 Question: username_0: **Describe the bug** 上傳照片正常,但點了送出之後,pin沒有出現在地圖上 **To Reproduce** 1.新增可疑工廠 2.上傳照片(成功) 3.按下送出 **Expected behavior** pin正常出現 **Screenshots** 有人透過問題表單反映,我剛剛用筆電+chrome測試上傳也不行 <img width="342" alt="截圖 2020-09-17 上午10 01 33" src="https://user-images.githubusercontent.com/60970217/93411171-1efb6f00-f8cd-11ea-9ac2-dd968ba3c95a.png"> Answers: username_1: 我用 Firefox 80.0.1 desktop 版也無法成功新增點位,在 production 和 dev 都不行 以下是 error message `Error: [vue-composition-api] "onUnmounted" get called outside of "setup()" f vue-composition-api.module.js:32 x vue-composition-api.module.js:79 ht vue-composition-api.module.js:746 qt useBackPressed.ts:14 P Map.vue:340 VueJS 4 get vue-composition-api.module.js:706 a AppButton.vue:44 VueJS 3 vue.runtime.esm.js:1888:12 XHRPOSThttps://staging.disfactory.tw/api/factories [HTTP/2 400 Bad Request 242ms] Error: Request failed with status code 400 exports createError.js:16 exports settle.js:17 onreadystatechange xhr.js:59 exports xhr.js:34 exports xhr.js:11 exports dispatchRequest.js:59 promise callback*0a06/c.prototype.request Axios.js:53 t Axios.js:78 exports bind.js:9 Vt index.ts:117 i tslib.es6.js:73 i tslib.es6.js:69 Vt app.efaf7747.js:1 submitFactory FormPage.vue:440 i tslib.es6.js:73 i tslib.es6.js:69 submitFactory app.efaf7747.js:1 click FormPage.vue:1 VueJS 4 get vue-composition-api.module.js:706 a AppButton.vue:44 VueJS 33 index.ts:121:12 TypeError: t.setCreateFactorySuccessModal is not a function submitFactory FormPage.vue:454 s tslib.es6.js:71 promise callback*c tslib.es6.js:72 i tslib.es6.js:73 i tslib.es6.js:69 submitFactory app.efaf7747.js:1 click FormPage.vue:1 VueJS 4 get vue-composition-api.module.js:706 a AppButton.vue:44 VueJS 33` username_2: 改變行為的 commit: https://github.com/Disfactory/Disfactory/commit/5d62f1785cd83a7c63a126b4a984e8f34bdeb967#diff-fb36a04053b51badba99fc2aea0abf29R89 前端未選擇類型的時候會送 '0',若不填送出後端目前會回 `This field is required.`,因為工廠類型欄位非必填,這邊後端行為會需要修改 Status: Issue closed
nyu-devops-echo/shopcarts
278813040
Title: Flassger Reset all Shopcarts Question: username_0: **As a** developer **I need** docs for my service **So that** people understand how to use it **Assumptions:** * Using Flassger **Acceptance Criteria:** ``` When I visit the documentation page Then I should see Flassger docs for resetting all shopcarts ```<issue_closed> Status: Issue closed
Informasjonsforvaltning/fdk-issue-tracker
934603946
Title: Metadatakvalitet vises ikke på datasett fra Tolletaten Question: username_0: Det gjelder alle datasett fra denne katalogen: https://data.norge.no/datasets?catalog_name=Toll%20%C3%A5pne%20data Eksempel: Denne feilmelding kommer for https://data.norge.no/datasets/a4c20971-700c-3a29-8543-b2fb843d7e2a: main.vendor.axios.7fc2cac8.bbf0b5d8023605da8d28.js:1 GET https://metadata-quality.fellesdatakatalog.digdir.no/assessments/entities/a4c20971-700c-3a29-8543-b2fb843d7e2a 404 Status: Issue closed Answers: username_0: Lukker saken. Problemet løste seg ved hard refresh. Ingen andre har opplevd det samme.
kblincoe/elasticsearch
213937661
Title: Group JAH: Fixing 18348 Question: username_0: <!-- GitHub is reserved for bug reports and feature requests. The best place to ask a general question is at the Elastic Discourse forums at https://discuss.elastic.co. If you are in fact posting a bug report or a feature request, please include one and only one of the below blocks in your new issue. Note that whether you're filing a bug report or a feature request, ensure that your submission is for an [OS that we support](https://www.elastic.co/support/matrix#show_os). Bug reports on an OS that we do not support or feature requests specific to an OS that we do not support will be closed. --> <!-- If you are filing a bug report, please remove the below feature request block and provide responses for all of the below items. --> **Elasticsearch version**: **Plugins installed**: [] **JVM version**: **OS version**: **Description of the problem including expected versus actual behavior**: **Steps to reproduce**: 1. 2. 3. **Provide logs (if relevant)**: <!-- If you are filing a feature request, please remove the above bug report block and provide responses for all of the below items. --> **Describe the feature**:
qjebbs/vscode-markdown-extended
794732539
Title: Not work in Windows 10 (fonts) Question: username_0: I have installed many fonts on windows and linus, but in windows not work (in preview, html and pdf generated) ![image](https://user-images.githubusercontent.com/1284875/105938138-ba4be000-6035-11eb-8cc5-1f41cf5c7c3d.png) Answers: username_1: Just a wild guess here because I have seen it with other programs on Windows10 (inkscape for example): Did you install the fonts in windows system wide or just for the current user? If it's the latter, please install them system wide, rectart vscode and try again.
HenrikBengtsson/illuminaio
611272882
Title: ROBUSTNESS: Add explicit 'stringsAsFactors' arguments [data.frame] Question: username_0: ```sh $ for pkg in $pkgs; do echo "$pkg:"; (cd "$pkg"; grep -E "^[ \t]*[^#].*data[.]frame" -- */*.R | grep -vF stringsAsFactors;); echo; read -r -p "Press ENTER to continue ..."; done illuminaio: R/readIDAT_enc.R: Quants=as.data.frame(data), ```<issue_closed> Status: Issue closed
expressjs/multer
704605170
Title: Line Break Requirements - Empty Request Body Question: username_0: I'm in a situation where I have to construct multipart/form-data request bodies manually. I have been struggling, at my wits end, for the past two days to get Multer to parse the data instead of giving me an empty object. I have finally discovered that the issue was that the line breaks in my request body were `\n` while they apparently need to be `\r\n`. A couple of quick searches through the [multipart/form-data spec](https://www.ietf.org/rfc/rfc2388.txt) didn't yield any results, nor did I find anything in the documentation here. I'd happily submit a pull request, but I don't know what the rules actually are. Also, thanks for the great library! It made handling multipart form data very easy until I recently had to move away from using FormData on my front end. Answers: username_1: RFC 2388 was not well written back in 1998. Thankfully is is irrelevant as it has been obsoleted by https://tools.ietf.org/html/rfc7578 which I believe has the rules you were looking to find. username_0: "As with other multipart types, the parts are delimited with a boundary delimiter, constructed using **CRLF**, '--', and the value of the 'boundary' parameter." — RFC 7578 You are correct. Thanks for the response! Status: Issue closed
bridgeatwaterloo/david
167350726
Title: Create a view switcher Question: username_0: Any time the user lands on the holding view, clicking the button should check the current view in firebase, and redirect them if it changes #### Acceptance Criteria - [ ] App keeps track of current view - [ ] Button on holding page gets next view from firebase - [ ] If current view and next view are the same, user is told to look at the dance - [ ] If current view and next view are different, redirect user to the next view Answers: username_1: DONE, THANKS ALL THAT HELPED Status: Issue closed
yym-yumeng123/Interview
249544177
Title: type=hidden隐藏域有什么作用? 举例说明 Question: username_0: 一句话,你在页面中是看不到hidden在哪里。最有用的是hidden的值。 ``` <form name="form1"> your hidden info here: <input type="hidden" name="yourhiddeninfo" value="cnbruce.com"> </form> <script> alert("隐藏域的值是 "+document.form1.yourhiddeninfo.value) </script> ```
YIZHUANG/react-multi-carousel
563331467
Title: Arrow style not coming proper(can be checked at bikersdunia.com) Question: username_0: <div> <picture> <source type="image/webp" srcSet="/static/images/bikersDuniaBackground1.webp" /> <source type="image/jpeg" srcSet="/static/images/bikersDuniaBackground1.jpg" /> <img src="/static/images/bikersDuniaBackground1.jpg" /> </picture> <p className="legend">Bike 1</p> </div> <div> <picture> <source type="image/webp" srcSet="/static/images/bikersDuniaBackground1.webp" /> <source type="image/jpeg" srcSet="/static/images/bikersDuniaBackground1.jpg" /> <img src="/static/images/bikersDuniaBackground1.jpg" /> </picture> <p className="legend">Bike 2</p> </div> <div> <picture> <source type="image/webp" srcSet="/static/images/bikersDuniaBackground1.webp" /> <source type="image/jpeg" srcSet="/static/images/bikersDuniaBackground1.jpg" /> <img src="/static/images/bikersDuniaBackground1.jpg" /> </picture> <p className="legend">Bike 3</p> </div> <div> <picture> <source type="image/webp" srcSet="/static/images/bikersDuniaBackground1.webp" /> <source type="image/jpeg" srcSet="/static/images/bikersDuniaBackground1.jpg" /> <img src="/static/images/bikersDuniaBackground1.jpg" /> </picture> <p className="legend">Bike 4</p> </div> </Carousel>` Answers: username_1: You need to add something like this https://github.com/webpack-contrib/url-loader username_0: Already added. Check my Package.json ` { "name": "bikewalevlog", "version": "1.0.0", "description": "", "scripts": { "dev": "next", "build": "next build", "start": "next start", "export": "next export", "analyze": "cross-env ANALYZE=true next build" }, "keywords": [], "author": "", "license": "ISC", "dependencies": { "@material-ui/core": "^4.9.0", "@material-ui/icons": "^4.5.1", "@next/bundle-analyzer": "^9.2.1", "@zeit/next-css": "^1.0.1", "axios": "^0.19.2", "cross-env": "^7.0.0", "material-ui": "^0.20.2", "material-ui-search-bar": "^0.4.2", "next": "^9.1.5", "next-compose-plugins": "^2.2.0", "next-fonts": "^1.0.3", "next-images": "^1.3.0", "next-routes": "^1.4.2", "nodemon": "^2.0.2", "nprogress": "^0.2.0", "react": "^16.12.0", "react-dom": "^16.12.0", "react-jss": "^8.0.0", "react-multi-carousel": "^2.5.0", "react-redux": "^7.1.3", "react-responsive-carousel": "^3.1.51", "redux": "^4.0.5", "redux-devtools-extension": "^2.13.8", "redux-thunk": "^2.3.0", "ua-parser-js": "^0.7.21" }, "devDependencies": { "css-loader": "^3.4.2", "file-loader": "^5.0.2", "url-loader": "^3.0.0" } } ` username_0: Any findings on the above. Please let me know. username_2: Some me your `next.config.js` file username_0: next.cofig.js- `const withCSS = require('@zeit/next-css'); const withSass = require('@zeit/next-sass'); const withLess = require('@zeit/next-less'); // Update these to match your package scope name. const internalNodeModulesRegExp = /@zeit(?!.*node_modules)/; const externalNodeModulesRegExp = /node_modules(?!\/@zeit(?!.*node_modules))/; module.exports = withCSS(withSass(withLess({ onDemandEntries: { // on dev, since our pages are so expensive, lets keep them for 24 hours maxInactiveAge: 1000 * 60 * 60 * 24 }, publicRuntimeConfig: { RUNNER_URL: process.env.RUNNER_URL }, webpack: (config, { defaultLoaders }) => { config.resolve.symlinks = false; config.externals = config.externals.map(external => { if (typeof external !== 'function') { return external; } return (ctx, req, cb) => (internalNodeModulesRegExp.test(req) ? cb() : external(ctx, req, cb)); }); config.module.rules.push({ test: /\.+(js|jsx)$/, loader: defaultLoaders.babel, include: [internalNodeModulesRegExp] }); config.module.rules.push({ test: /\.(png|jpg|gif|svg|eot|ttf|woff|woff2)$/, use: { loader: 'url-loader', options: { limit: 100000 } } }); const originalEntry = config.entry; config.entry = async () => { const entries = await originalEntry(); if (entries['main.js']) { entries['main.js'].unshift('./polyfills.js'); } return entries; }; return config; }, webpackDevMiddleware: config => { const ignored = [config.watchOptions.ignored[0], externalNodeModulesRegExp]; config.watchOptions.ignored = ignored; return config; }, useFileSystemPublicRoutes: false })));` username_2: ``` const withPlugins = require("next-compose-plugins"); const withCSS = require("@zeit/next-css"); const withFonts = require("next-fonts"); module.exports = withPlugins([withFonts, withCSS], {}); ``` Replace the whole file with this snippet. Make sure you clear your browser cache and restart you nextjs server. The icon will be visible now. username_0: Thanks for your reply. Is there no need for a config object which imports 'url-loader'?. Though, I will test with above configurations and let you know soon. username_2: `next-fonts` will do it internally you don't need to do it manually check the last line in my code you forgot to add withFonts username_0: I have checked but it is not working. After checking the example code, the arrow is appearing via an ASCII code in the style element 'content'. next-fonts is of no help to resolve the issue. The arrow is coming in a rectangular shape as can be checked on my website [https://bikersdunia.com] username_2: Wait I will give you a very minimal example in codesandbox username_0: I tried again with the above configurations. It is working now. I wanted to understand the reason for config object issue. username_2: It is not an issue you don't need to do anything manually `next-fonts` imports fonts properly and automatically. You need to clear your cache to check the changes. username_0: Thank you for your help. I am closing the issue. Status: Issue closed username_3: @username_0 This closed because it was solved? If that is the case, please tell us if you followed the previous recommendations? or had to do some extra steps username_0: I had to do write custom arrow styles to fix the issue. username_2: @username_3 did you try my fix, because that fixed my issue. username_3: @username_2 I followed the path of @username_0 and adding custom arrows. username_0: Hello @username_2 you have created unnecessary follow backlinks to my website on the URL " https://githubmemory.com/@username_2". Please remove those backlinks immediately. username_0: Hi, I am using Carousel in one of my Next.js applications and arrow style is not coming in an arrow shape. The same can be checked on my website https://bikersdunia.com/ under section Featured Bikes and then Popular bikes. I am using the below code: ` <Carousel arrows={true} showDots={true} responsive={responsive} ssr={true} keyBoardControl={true} containerClass="carousel-container" deviceType={props.deviceType} dotListClass="custom-dot-list-style" itemClass="carousel-item-padding-40-px" partialVisbile> <div> <picture> <source type="image/webp" srcSet="/static/images/bikersDuniaBackground1.webp" /> <source type="image/jpeg" srcSet="/static/images/bikersDuniaBackground1.jpg" /> <img src="/static/images/bikersDuniaBackground1.jpg" /> </picture> <p className="legend">Bike 1</p> </div> <div> <picture> <source type="image/webp" srcSet="/static/images/bikersDuniaBackground1.webp" /> <source type="image/jpeg" srcSet="/static/images/bikersDuniaBackground1.jpg" /> <img src="/static/images/bikersDuniaBackground1.jpg" /> </picture> <p className="legend">Bike 2</p> </div> <div> <picture> <source type="image/webp" srcSet="/static/images/bikersDuniaBackground1.webp" /> <source type="image/jpeg" srcSet="/static/images/bikersDuniaBackground1.jpg" /> <img src="/static/images/bikersDuniaBackground1.jpg" /> </picture> <p className="legend">Bike 3</p> </div> <div> <picture> <source type="image/webp" srcSet="/static/images/bikersDuniaBackground1.webp" /> <source type="image/jpeg" srcSet="/static/images/bikersDuniaBackground1.jpg" /> <img src="/static/images/bikersDuniaBackground1.jpg" /> </picture> <p className="legend">Bike 4</p> </div> </Carousel>` username_2: I didn't create any. I don't even have an account on githubmemory. You can contact GitHub memory to resolve this issue. username_2: @username_0 you can do this to solve the issue https://support.google.com/webmasters/answer/2648487?hl=en. Also, remove your website link from the title & also delete the edit history of the OP. username_0: I don't know if that's your profile or not - https://githubmemory.com/@username_2 but the backlink is created from this URL. I Disavowed it for now but check with the website why they are creating profile without your knowledge, username_2: They also have your profile https://githubmemory.com/@username_0. They are scrapping GitHub's data. Maybe they are using GitHub API for that. username_0: @username_2 When are you planning to launch version 3?
modoboa/modoboa-amavis
201883287
Title: Spamfilter improvements Question: username_0: These are things I'd like to see with the spamfilter if possible in future releases. 1) Notification don't appear to work at the moment, means manually logging in and checking the quarantine, ideally an email sent at a certain time showing an quarantine summery 2) Feedback loop, there doesn't seem to be any obvious way to tell the spam filter it missed something, I don't want all clean emails in the quarantine and I've been led to believe the plugin to support learning from the junk folder in IMAP isn't suitable for production use. 3) Trusted IP's, So if using an external spam filtering service you can turn it off for any email that came through the service, but keep it on for anything else (Might not be possible to firewall SMTP if the modboa server hosts other domains) Answers: username_1: About 1., are you talking about a notification sent to administrators and giving them a summary of the quarantine content ? About 2., I personally use the spam plugin of dovecot to learn from my Junk folder and it seems to work well but I don't have a lot of traffic. Why do you say it is not ready for production ? About 3., I guess you're talking about amavis builtin white/black lists ? username_0: 1) Self service mode is on so in this case I'd expect the users to get them, I'd also expect the time they are sent to be configurable. 2) This is was the response to me from the service provider (The server in question is managed by them) 3) Indeed but I don't believe there is a frontend for this at the moment, it's possible I just missed it. username_1: So, I think 1. corresponds to #3 and 3. corresponds to #2. About 3., I don't have any other idea to achieve the learning yet... username_0: Maybe a Spam@domain mailbox, that said most people would forward to that so headers are unlikely to be preseved username_1: Looks a bit complicated for regular users... Maybe a button added to the webmail would be a better answer? username_0: Fine if people are actually using the webmail, but if they're using a 3rd party webmail or IMAP that won't really work. username_1: Indeed. I suggest you give a try at the spam plugin for dovecot, it's pretty simple to setup and you'll make your own opinion. do you have a lot of users? username_0: I'll ask the host (I don't have SSH access to that box to do it myself) username_2: Hi @username_1 Self service mode is not working as expected. Can confirm the settings in admin panel are being applied correctly since there are no errors in the console output with debug turned on. The actions aren't performed probably because the background job fails. Nothing of note in mail/uwsgi logs. Any thoughts on troubleshooting this? :) username_1: @username_2 I've made some fixes about self service last week. Have you tested them? (last modoboa-amavis release) username_2: Yes, applied [fix 43](https://github.com/modoboa/modoboa-amavis/issues/43) and still no emails sent. username_1: Can you describe the modifications you've done to your amavis config? Are you running 2.8 at least? username_2: No mods to amavis other than a few lower SA thresholds & whitelist in 50-user; syntax & config files are correct. Version: amavisd-new-2.10.1 (20141025) username_1: Ok, so it means notifications are disabled. Look at ``$warnbannedrecip`` or ``$warnviruscecip`` flags as examples of notification. username_2: Ty! That fixes it :) username_1: @username_0 any news? username_0: Spam seems to be going to the spam folder and thus manageable via my IMAP client and I don't really get much else so Haven't seen notifications other than when we used a testing service. I don't login to quarantine nearly as much these days Slowly but surely training the spamfilter to my preferences. Status: Issue closed username_1: Ok, so I'll close this issue since others already exist to cover your questions.
mmehr2/Msw4
306533020
Title: Crash after Logout Question: username_0: Scenario: You've started MSW. You open the Remote Installations dialog and press Connect, but then decide you don't want to. You press Logout and Close. Sometime later, up to 5 minutes or so, MSW crashes. Answers: username_0: Happened to me in my last testing. This is due to the Subscribe loop's ongoing transaction not being canceled by the disconnection procedures. Should be an easy fix, involving a kDisconnecting state (perhaps) while we wait for the pubnub_cancel() to happen. No freeing of the context should be required if we do everything correctly. This may also require cancellation of publish operations in progress as well, such as the new Script (not File) Transfer feature. (The Rich Edit control contents should be able to be copied directly into my transfer buffer and back, rather than needing a file. Might save some time starting up scroll mode, too.) username_0: This was actually fixed in code on Mon 3/19. Forgot to update here. No kDisconnecting implemented so far tho. Lowering priority, converting to enhancement. username_0: Description of work: Login and Logout, Connect and Disconnect functions need to be reworked with my new design of separate Sender and Receiver channels in mind. These can be asynchronous sometimes (especially Logout and Disconnect, when an operation is being canceled), so they definitely need to have a decoupled UI in that the buttons that start the function need to be disabled while it is going on. Then at the end, a message is posted to the parent window (of the remote comm class) designating that the operation completed and containing a status code and message. This can be used to re-enable the action buttons and display a status result to the user. Most of the work is in getting the state machine correct. The UI work should be a simple matter of implementing the disable/re-enable, and then adding a way to display the return status, perhaps with a different status message designed for users. username_0: NOTE: Once in a connected conversation, in many cases it may not be necessary (or desirable) to treat every transaction as "modal" as described above. For simplicity and speed, I'll rely on event logging for data, and just signal the UI with a code number. During scrolling, all these would be ignored. During script file transfer phase (preceding scrolling) there may be some benefit of displaying the transfer progress, but this is an extra feature not envisioned for the initial release. username_0: This level of activity is now coded and finally working. Closing this, will file bugs as separate issues. Status: Issue closed
krtnstk/loginOnly
694875509
Title: [欠陥]ユーザー名が正しく表示されない Question: username_0: ## 詳細 ## ステータス - [ ] **未解決** - [ ] **修正中** ## 欠陥の場所 ## 欠陥が発見されたPRリンク,バージョン #13 ## 優先度 - [ ] 高 - [ ] 中 - [ ] 低 ## 欠陥の重要度 - [ ] 軽微な修正が必要 - [ ] 修正後、検証が必要であり、PRを新しく建てる必要がある - [ ] 重大な欠陥 ## ソフトウェア品質のどこにあたるか ## タイプ(Interface,classなど) ## 欠陥の形式 - [ ] 欠落 - [ ] 誤り ## 修正方法 ## 検出方法
nusskylab/nusskylab
145901519
Title: public view of user should list roles per cohort-year Question: username_0: It'd be great if in the user public view (if allowed), a listing of all the roles per cohort were viewable. e.g. * Year X - Role 1 - Role 2 * Year X-1 - Role 3 Answers: username_0: For mentors it should list their mentored team. For advisers it should list their advised team. In projects, the listings should have hyperlinks to the person's profile if public. Actually, I don't see public profiles per person. Were they there before? username_1: Nope. Have not implemented yet Status: Issue closed
confluentinc/confluent-kafka-python
946692784
Title: Consumer doesn't seem to ever commit stored offsets Question: username_0: Description =========== I have a single topic with a single partition. I am trying to read from this topic with a single consumer. Every time the consumer subscribes to the topic, regardless of `auto.offset.reset` the assignment returns -1001 for offset. How to reproduce ================ ```python c = Consumer({ 'bootstrap.servers': 'kafka:9092', 'group.id': 'test-group', 'auto.offset.reset': 'latest' }) def on_assignment(consumer, partitions: List[TopicPartition]): assignment = {} for tp in partitions: if tp.topic not in assignment: assignment[tp.topic] = [] assignment[tp.topic].append((tp.partition, tp.offset)) print( "Assigned Topics:\n\t{}".format( "\n\t".join( [ "{}:{}".format( topic, ",".join(["({},{})".format(*tp) for tp in tps]) ) for topic, tps in assignment.items() ] ) ) ) c.subscribe(['test-topic'], on_assign=on_assignment) while True: msg = c.poll(1.0) if msg is None: continue if msg.error(): print("Consumer error: {}".format(msg.error())) continue print('Received message: {}'.format(msg.value().decode('utf-8'))) c.close() ``` When I run this code, I always receive this same output even when using `auto.offset.reset=earliest` Output: ``` Assigned Topics: test-topic:(0,-1001) ``` [Truncated] %7|1626490071.162|FETCHADD|rdkafka#consumer-1| [thrd:kafka:9092/bootstrap]: kafka:9092/1: Removed test-topic [0] from fetch list (0 entries, opv 4): forced removal %7|1626490071.162|TOPBRK|rdkafka#consumer-1| [thrd:kafka:9092/bootstrap]: kafka:9092/1: Topic test-topic [0]: leaving broker (0 messages in xmitq, next broker (none), rktp 0x7f20a4006e30) %7|1626490071.162|TOPBRK|rdkafka#consumer-1| [thrd:kafka:9092/bootstrap]: kafka:9092/1: Topic test-topic [0]: no next broker, failing 0 message(s) in partition queue %7|1626490071.162|TOPPARREMOVE|rdkafka#consumer-1| [thrd:kafka:9092/bootstrap]: Removing toppar test-topic [0] 0x7f20a4006e30 %7|1626490071.162|DESTROY|rdkafka#consumer-1| [thrd:kafka:9092/bootstrap]: test-topic [0]: 0x7f20a4006e30 DESTROY_FINAL %7|1626490071.163|MEMBERID|rdkafka#consumer-1| [thrd:app]: Group "test-group": updating member id "rdkafka-3a743fed-4381-4ba9-843b-28aba5409317" -> "(not-set)" ``` Checklist ========= Please provide the following information: - [ ] confluent-kafka-python and librdkafka version (`confluent_kafka.version()` and `confluent_kafka.libversion()`): ('1.7.0', 17235968) and ('1.7.0', 17236223) - [ ] Apache Kafka broker version: 2.6.0 (Commit:62abe01bee039651) - [ ] Client configuration: See above code example - [ ] Operating system: Debian GNU/Linux 10 (buster) - [ ] Provide client logs (with `'debug': '..'` as necessary): See above - [ ] Provide broker log excerpts - [ ] Critical issue Answers: username_1: This is expected behavior - at the time of the `on_assign` callback, committed offsets have not yet been retrieved for the assigned partitions. At this point in the rebalance, you have a chance to set them, or do nothing and they will be fetched following the callback returning. username_0: Hmm okay. Has this always been the case? I could have sworn this functioned differently in the past. But maybe I am mistaken. username_1: Yes, it's always been the case. It would be better if the API made this obvious IMO, you're not the first to be confused by it. username_0: Haha alright then. Thanks for the clarification! Status: Issue closed
Rigellute/spotify-tui
517499331
Title: How to connect on spotify on a headless machine Question: username_0: I'm running spotify-tui on a headless machine, and I'm having some troubles connecting spt to spotify. I did this successfully on an earlier version of spt, but I cannot get it working now. On my Windows machine (which is the only machine with a browser), created a new app, and I've got access to my client ID and client secret. When I launch spt on my remote linux machine, I get the instructions about how to create a new app, though I've already done this. So I enter in my Client ID and my Client Secret. Next, spt opens an elinks browser to `https://accounts.spotify.com/login?continue=https://accounts.spotify.com/authorize?scope=...` (I've elided the full URL here). The rendered page in elinks is blank, likely because javascript is required to display the login form. When I press <kbd>q</kbd> to quit elinks, spt says this in the terminal: ``` Opened https://accounts.spotify.com/authorize?scope=playlist-read-collaborative%20playlist-read-private%20user-follow-read%20user-library-modify%20user-library-read%20user-modify-playback-state%20user-read-currently-playing%20user-read-playback-state%20user-read-private%20user-read-recently-played&redirect_uri=http:%2F%2Flocalhost:8888%2Fcallback&state=lEklynq5RcRgzKtG&client_id={editedout}&response_type=code& in your browser ``` Now it just hangs here doing nothing (presumably waiting for my local browser to make the request to the localhost callback. So now I seem stuck and unsure what to do next. Thanks for the help! Answers: username_1: Sorry to hear this! I think I get it. This sounds like a problem predicted by @username_2 when implementing auto handling redirect URL https://github.com/username_1/spotify-tui/pull/98#issue-331131912. When you get the redirect URL back in your browser on Windows, it won't connect to the localhost of the remote linux machine. Currently the localhost webserver will wait forever for a response. To fix this we could - Set a timeout on the server to fallback to manual url insertion in the console (as suggested by @username_2) Or - Look into not needing to open the browser at all - make the get request for redirect URI from within `spotify-tui` and parse the response. The latter solution is more involved but might be best. ## Potential workaround In the meantime, you could try making a manual get request on your remote linux machine. In a separate terminal process try doing something like `curl <the url the from the browser>` username_0: Ahh, great idea on the workaround. That worked perfectly. username_2: @username_1 I think it's difficult to implement the second solution since we would need to handle the authentication with spotify.com (username, password). Even if we reliably reconstruct the requests for logging in to spotify.com and get it to work it can fail when changes occur on the spotify.com webpage/login process. username_1: @username_2 on reflection you're right. We can't do that! Instead of the timout, perhaps we could show the manual URL prompt while the server is running? So both methods are valid simultaneously? username_2: @username_1 That would be a nice solution but I don't know if it is possible to cancel io::stdin().read_line from the webserver thread when a GET request is received. username_1: Would be nice if we could somehow `race` the webserver vs `read_line` 🤔
serengil/deepface
759028791
Title: crash when using ssd Question: username_0: align_face require eye_detector but initialize_detector dont have it Answers: username_1: Right! eye_detector was initialized for opencv backend only. I had to initialize it ssd as well. This is fixed in 0.0.45 release recently. Thank you for your contribution. Status: Issue closed
openatx/stf-binaries
348940263
Title: When will there be a release of minicap.so for API 28 Question: username_0: May know when will there be a release of mincap.so for API 28? It seems that should be able to build out minicap successfully for Android P (API 28) now. Most uiautomator2 agent initialization relies on this repository, so we will be grateful if minicap.so for API 28 could be released in these days. Thanks Status: Issue closed Answers: username_0: Really thanks for your prompt release.
PaddlePaddle/Paddle
832352649
Title: FLuid版本如何输出学习率 Question: username_0: - PaddlePaddle 1.8.5 - FLuid 如下,怎么让它输出学习率 ```python import paddle.fluid as fluid place = fluid.CPUPlace() exe = fluid.Executor(place) exe.run(fluid.default_startup_program()) optimizer = fluid.optimizer.AdamOptimizer( learning_rate=fluid.layers.exponential_decay( learning_rate=0.1, decay_steps=100, decay_rate=0.83, staircase=True)) for i in range(1000): lr = exe.run(program=fluid.default_main_program(), fetch_list=[]) print(lr) ``` Answers: username_1: 可以通过fetch_list来获取for i in range(1000): lr = exe.run(program=fluid.default_main_program(), fetch_list=[optimizer.name]) print(lr) username_0: @username_1 我现在要的就是fetch_list中应该填什么,optimizer.name这个属性不存在。 ``` fetch_list=[optimizer.name]) AttributeError: 'AdamOptimizer' object has no attribute 'name' ``` username_1: 试试learning_rate.name username_0: @username_1 没有learning_rate,这个对象哪里来? username_1: learning_rate=fluid.layers.exponential_decay( learning_rate=0.1, decay_steps=100, decay_rate=0.83, staircase=True) optimizer = fluid.optimizer.AdamOptimizer( learning_rate=learning_rate) username_0: 好的,谢谢 Status: Issue closed
spacetelescope/poppy
354359595
Title: Fix display FINALLY correct Question: username_0: <a href="https://github.com/maciekgroch"><img src="https://avatars3.githubusercontent.com/u/22051728?v=4" align="left" width="96" height="96" hspace="10"></img></a> **Issue by [maciekgroch](https://github.com/maciekgroch)** _Sunday Apr 02, 2017 at 09:20 GMT_ _Originally opened as https://github.com/username_0/poppy/pull/217_ ---- I guess I didn't pay much attention to the latest fix (it seemed so easy..) ---- _**[maciekgroch](https://github.com/maciekgroch)** included the following code: https://github.com/username_0/poppy/pull/217/commits_ Answers: username_0: <a href="https://github.com/coveralls"><img src="https://avatars1.githubusercontent.com/u/2354108?v=4" align="left" width="48" height="48" hspace="10"></img></a> **Comment by [coveralls](https://github.com/coveralls)** _Sunday Apr 02, 2017 at 09:34 GMT_ ---- [![Coverage Status](https://coveralls.io/builds/10890221/badge)](https://coveralls.io/builds/10890221) Coverage remained the same at 64.81% when pulling **85feaa8af2e9eb0896e7d23d5839447dbb903dc7 on maciekgroch:display_amp** into **058fb679e0534846a93bce03a16cda8203b24d7f on username_0:master**. Status: Issue closed
CocoaPods/CocoaPods
602828260
Title: pod error Question: username_0: 🌈 ## What did you do? execute pod install ## What did you expect to happen? Install all pod dependencies correctly. ## What happened instead? ``` JSON::ParserError - 767: unexpected token at '' /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/json/common.rb:156:in `parse' /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/json/common.rb:156:in `parse' /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.9.1/lib/cocoapods-core/specification/json.rb:61:in `from_json' /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.9.1/lib/cocoapods-core/specification.rb:742:in `from_string' /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.9.1/lib/cocoapods-core/specification.rb:716:in `from_file' /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.9.1/lib/cocoapods-core/source.rb:186:in `specification' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/resolver/lazy_specification.rb:37:in `specification' /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/delegate.rb:348:in `block in delegating_block' /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/delegate.rb:349:in `block in delegating_block' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/resolver.rb:178:in `dependencies_for' /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/delegates/specification_provider.rb:18:in `block in dependencies_for' /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/delegates/specification_provider.rb:70:in `with_no_such_dependency_error_handling' /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/delegates/specification_provider.rb:17:in `dependencies_for' /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:807:in `block in group_possibilities' /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:806:in `reverse_each' /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:806:in `group_possibilities' /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:778:in `possibilities_for_requirement' /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:761:in `push_state_for_requirements' /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:746:in `require_nested_dependencies_for' /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:729:in `activate_new_spec' /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:686:in `attempt_to_activate' /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:254:in `process_topmost_state' /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:182:in `resolve' /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolver.rb:43:in `resolve' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/resolver.rb:94:in `resolve' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer/analyzer.rb:1065:in `block in resolve_dependencies' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/user_interface.rb:64:in `section' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer/analyzer.rb:1063:in `resolve_dependencies' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer/analyzer.rb:124:in `analyze' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer.rb:410:in `analyze' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer.rb:235:in `block in resolve_dependencies' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/user_interface.rb:64:in `section' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer.rb:234:in `resolve_dependencies' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer.rb:156:in `install!' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/command/install.rb:52:in `run' /Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/command.rb:52:in `run' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/bin/pod:55:in `<top (required)>' /usr/local/bin/pod:23:in `load' /usr/local/bin/pod:23:in `<main>' ``` Answers: username_1: dup of https://github.com/CocoaPods/CocoaPods/issues/9672 Status: Issue closed username_0: duplicate yes, but the , I have not resolved this yet on my own, I already have tried the recommendation from #9672 and other user with the same error, but nothing works for me
microsoft/jacdac
906596335
Title: it4generator asserting when moving a block Question: username_0: when you pick up a block and move it in blockly, debug assert raised here in it4generator. ``` } else { const def = serviceBlocks.find(def => def.type === type) assert(!!def) ``` The generator shouldn't be run when moving a block. Answers: username_0: Error: Assertion failed at assert (utils.ts:387) at eval (VM24426 it4generator.ts:268) at Array.map (<anonymous>) at workspaceJSONToIT4Program (VM24426 it4generator.ts:250) at eval (VM24381 VMBlockEditor.tsx:151) at invokePassiveEffectCreate (react-dom.development.js:23488) at HTMLUnknownElement.callCallback (react-dom.development.js:3946) at Object.invokeGuardedCallbackDev (react-dom.development.js:3995) at invokeGuardedCallback (react-dom.development.js:4057) at flushPassiveEffectsImpl (react-dom.development.js:23575) username_1: Fixed by https://github.com/microsoft/jacdac-docs/commit/cb02e269a5872d6cf0cb37d442d0b47ac60a8551 Status: Issue closed
tchang46343/Coeus-Systems-Inc.-
503679825
Title: New user: I want to also assigned my level access within the program Question: username_0: Overall: User should be able to set their user level access. Technical features: - In creation of profile the user should be able to choose their access level, which is then validated by the admin Time to Complete: - 1 hours (Includes coding design and updating data to users table) Importance: - low
VocaDB/vocadb
829355687
Title: User profile contains field for Discord Question: username_0: Requested/Feedback of the survey: Just like the specific Twitter field, there could be a field to put in ones Discord account/name containing: "name hashtag number". You can not "link" your Discord account so a specific field to put in that name would be useful (Since we even have an active Discord server now). Answers: username_1: You can get a link to a Discord profile by following [these steps](https://www.swipetips.com/how-to-send-a-link-to-a-discord-profile/). Status: Issue closed
ooni/probe
739130626
Title: Add more countly events Question: username_0: We should discuss about what to record with the countly events system. Answers: username_0: I don't know why but I saw this coming: "Funnels are available for Enterprise Edition users." https://support.count.ly/hc/en-us/articles/360037997052-Funnels Status: Issue closed
UbiquityRobotics/ubiquity_main
1113100744
Title: Temporary LS lidar mount, getting it into production Question: username_0: Aight so, here are some pictures of the bottom plate for reference, and a reasonably accurate STL of it: https://workdrive.zohoexternal.com/folder/pykvle29eeb8d8c784bc584da07d6e40484bb ![20220131_152640](https://user-images.githubusercontent.com/9977799/151815530-115b7753-f383-4fc4-a3a5-de8bba25e7bb.jpg) ![20220131_152700](https://user-images.githubusercontent.com/9977799/151815536-986b454e-37cc-4dc8-a2d0-fa401ad4bc07.jpg) ![20220131_152710](https://user-images.githubusercontent.com/9977799/151815524-015cef54-4ad5-4a99-b2d4-7c4c1ac0ab85.jpg) Note that arrow on the side in the last pic, that's the URDF forward direction for the lidar. I hope that helps. Answers: username_1: @username_2 currently the design of the small lidar holder is like this: ![image](https://user-images.githubusercontent.com/8426792/151754640-dbf8c92b-e09f-4a5d-8057-b11c6f456f97.png) We need to rearrange the small holes to fit the new mounting holes of the LD lidar (green circles) @username_0 can you provide measures for those holes and a couple of pics of the lidar with the bottom plate? @username_2 I think those will become holes with M3 thread inserts, which is going to be easier to produce and easier to find the screws for. Stephen that wants to produce these wants this fairly soon, so if we could do it in the beginning of this week, it would be great, thanks! username_0: Aight so, here are some pictures of the bottom plate for reference, and a reasonably accurate STL of it: https://workdrive.zohoexternal.com/folder/pykvle29eeb8d8c784bc584da07d6e40484bb ![20220131_152640](https://user-images.githubusercontent.com/9977799/151815530-115b7753-f383-4fc4-a3a5-de8bba25e7bb.jpg) ![20220131_152700](https://user-images.githubusercontent.com/9977799/151815536-986b454e-37cc-4dc8-a2d0-fa401ad4bc07.jpg) ![20220131_152710](https://user-images.githubusercontent.com/9977799/151815524-015cef54-4ad5-4a99-b2d4-7c4c1ac0ab85.jpg) Note that arrow on the side in the last pic, that's the URDF forward direction for the lidar. I hope that helps. username_2: Can you send me step file? With this file the scale is a bit f***** up. Just want to really get the correct measurement. ![LIDAR direction](https://user-images.githubusercontent.com/87651656/151838283-ebdd100e-5031-4729-a088-ae4ab31437e4.GIF) username_2: Is the orientation correct? I will send you more pics when this is confirmed. username_0: There actually is no step file, I threw this together in tinkercad last week when I needed a printed mount for my test robot. But that scale does look roughly right that you have there. This lidar is rather tiny. Holes should be M3, and here are the two main dimensions: ![image](https://user-images.githubusercontent.com/9977799/151844558-76d3507b-b7b6-4cb5-a910-2b110209b139.png) username_2: Ok. This is good enough. I just needed a scale. Thx username_1: A bit unrelated but still: @username_2 after this is done, would it be also possible to fit this into breadcrumb lidar holder? username_2: Please confirm the orientation of the lidar in both cases. ![ORIENT+CHARGING HOLE](https://user-images.githubusercontent.com/87651656/152018457-7793ec1b ![LIDAR HOLDER MOUNT2](https://user-images.githubusercontent.com/87651656/152018477-d6939a96-d73b-4dd1-a3f5-5ca21078e7f7.GIF) ![LIDAR HOLDER MOUNT](https://user-images.githubusercontent.com/87651656/152018474-774f53b6-caa5-4956-8f56-f3109c19e63a.GIF) ![ORIENT+CHARGING HOLE2](https://user-images.githubusercontent.com/87651656/152018470-710fab0a-8453-4cd0-a90b-17652a07c2fd.GIF) -50ac-4614-b8e5-a9d670f2f336.GIF) username_2: ![ORIENT+CHARGING HOLE](https://user-images.githubusercontent.com/87651656/152018683-287e8de3-5363-4931-bd90-51a6f8258ce8.GIF) username_2: Regarding new/old matter- charging hole. Are there any changes( dimension vise)? username_2: ![right orientation](https://user-images.githubusercontent.com/87651656/152027426-dce1c9c0-0c27-4e9e-9c55-b8bf24e89672.GIF) This is the right orientation. Am i right? username_2: Both username_1: @username_2 I think that yes, the forward arrow on lidar should be pointing into forward direction of the robot, so i think that this image is correct. but please @username_0 confirm this. ![image](https://user-images.githubusercontent.com/8426792/152119957-dfeb5cf1-cdc7-4780-9b1d-7e69d3f8276d.png) This is not good, the lidar holder for small LD lidar will be mounted upside down. This way the small ld lidar will also be able to see between the bottom shelf and shell. ![image](https://user-images.githubusercontent.com/8426792/152120337-72a9096c-2b87-4c33-a487-630d8b3b074f.png) username_0: Yeah that looks good for the top pic, the red indicator should be facing the opposite way the LS lidar cable does. username_2: The pictures show how much LIDAR mean is intersected in both aplications. I think with the LIDAR N30105B v7 there is no problem. With LIDAR 19, there is a lot of intersection. My solution: I would lower the holes for LIDAR mount( shelf) on main cover for 9 mm. In that case there would be no beam intersection ![LIDAR BEAM PATH](https://user-images.githubusercontent.com/87651656/152559274-de7eabfd-3c12-46f0-a5bb-a0d7e982abb5.GIF) . Please correct me if i am wrong or my 3D model is different from phisical MAGNI 5 ![LIDAR DTOF LD 19 BEAM](https://user-images.githubusercontent.com/87651656/152559285-bfdb6550-8593-40f8-bfbc-505301169afa.GIF) . username_2: https://workdrive.zoho.com/home/g9vop387248f4f5304dde876eb982824d88c5/ws/g9vop0ead768c4254422e9332d4e4fd4a414<KEY> username_1: This is not the correct termporary lidar holder, its breadcrumb lidar holder. What i need is the straight holder that goes into the lidar box username_1: the "small temporary lidar holder_TEST_HEX_NUT" you can probably remove from there since that holder is ment for breadcrumb and not for magni username_1: Status update: stephen from leishen has recieved the 3d file and we are in discussions about producing it username_2: I have shaped a a mount JUST for LIDAR LD19. Its smaller and less rivets with a lot of clearance. Tell me what you think ![LIDAR 19 MOUNT](https://user-images.githubusercontent.com/87651656/153578569-e434c9f8-52f6-4134-9015-3e45ca47a033.GIF) ![LIDAR 19 MOUNT_1](https://user-images.githubusercontent.com/87651656/153578579-5e33cc94-a509-4582-bd4a-f34d4e5db718.GIF) ![LIDAR 19 MOUNT_2](https://user-images.githubusercontent.com/87651656/153578587-dba6b3c2-cea4-4e6f-b026-f02a23ab5c1a.GIF) . username_1: @username_2 this i think its safe to say its unrelated to the original issue of the temporary lidar mount, I opened up an issue here https://github.com/UbiquityRobotics/breadcrumb/issues/353 which is going to be specifically for the breadcrumb ls lidar mount
alanxz/rabbitmq-c
153222428
Title: CMake install, win32 library name Question: username_0: In rabbitmq-c\librabbitmq\CMakeLists.txt (154) the library name concatenated with RMQ_SOVERSION this is the reason that the [FindRabbitmqc.cmake](https://github.com/username_1/SimpleAmqpClient/blob/master/Modules/FindRabbitmqc.cmake): ``` FIND_LIBRARY(Rabbitmqc_LIBRARY NAMES rabbitmq HINTS ${Rabbitmqc_DIR}/lib ) ``` can`t find the rabbitmq.4.lib If library name must contain version or some extended suffix/prefix text than install directory must have RabbitMQConfigure.cmake, like how OpenCV does for it`s custom named libraries, for example. Answers: username_1: Did you intend to file this in the [username_1/SimpleAmqpClient](https://github.com/username_1/SimpleAmqpClient) repository? username_0: Yes, I have in mind FindRabbitmqc.cmake in [username_1/SimpleAmqpClient](https://github.com/username_1/SimpleAmqpClient) repository. I used copy of FindRabbitmqc.cmake for load settings for an external project. But [find_package](https://cmake.org/cmake/help/v3.5/command/find_package.html) did not find rabbitmq.lib on win32 and I had to hardcode rabbitmq.4. Most external cmake projects have it`s own _< name >Config.cmake_ files and it is best way, I think, because the developers of those projects can make a file names or path in package contents how they want.
ziglang/zig
451730437
Title: fastcc calling convetion does not support var args Question: username_0: and yet the zig compiler still uses fastcc for var args functions. ``` 33344 call fastcc void @std.debug.warn.132(float %0), !dbg !12799 ``` Answers: username_1: You're mixing up LLVM's notion of var args and zig's. The llvm function call you pasted above has exactly 1 llvm argument. Status: Issue closed
golang/vscode-go
771833890
Title: gopls: automated issue report (initialization) Question: username_0: gopls version: v0.6.1 gopls flags: ATTENTION: PLEASE PROVIDE THE DETAILS REQUESTED BELOW. Describe what you observed. <ANSWER HERE> <pre>Starting client failed Message: unsupported URI schemes: [{vsls:/ neptune}] (gopls only supports file URIs) Code: 0 </pre> OPTIONAL: If you would like to share more information, you can attach your complete gopls logs. NOTE: THESE MAY CONTAIN SENSITIVE INFORMATION ABOUT YOUR CODEBASE. DO NOT SHARE LOGS IF YOU ARE WORKING IN A PRIVATE REPOSITORY. <OPTIONAL: ATTACH LOGS HERE> Answers: username_1: Are you using the latest version of the VS Code Go extension? Please update if not. I believe this crash should be fixed with 0.19.1. username_2: v0.20.0 is released. @username_0 please open a new issue the crash still occurs after update. Thanks! Status: Issue closed username_0: Yeah it is being solved after updated the go version manually.
database-rider/database-rider
944133065
Title: Cannot clear table after test is executed due to autoCommit is true Question: username_0: Getting the following error when running a test method with `cleanAfter = true`. Looking through DBUnitExtension it seems like it requires the connections to be in autoCommit = false mode since the code doesn't take care of it. This must be wrong. The code should handle the situation and manage the commits and reset the autoCommit value to whatever it was prior it was running. ``` java.lang.RuntimeException: Could not clear table test.table at com.github.database.rider.core.dataset.DataSetExecutorImpl.clearDatabase(DataSetExecutorImpl.java:677) at com.github.database.rider.core.RiderRunner.teardown(RiderRunner.java:97) at com.github.database.rider.junit5.DBUnitExtension.afterTestExecution(DBUnitExtension.java:119) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeAfterTestExecutionCallbacks$8(TestMethodTestDescriptor.java:229) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeAllAfterMethodsOrCallbacks$12(TestMethodTestDescriptor.java:269) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeAllAfterMethodsOrCallbacks$13(TestMethodTestDescriptor.java:269) at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeAllAfterMethodsOrCallbacks(TestMethodTestDescriptor.java:268) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeAfterTestExecutionCallbacks(TestMethodTestDescriptor.java:228) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:133) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 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:129) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 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:143) 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:129) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) 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:143) 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:129) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 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.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) .... Caused by: java.sql.SQLException: Can't call commit when autocommit=true at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:67) at com.mysql.cj.jdbc.ConnectionImpl.commit(ConnectionImpl.java:794) at com.zaxxer.hikari.pool.ProxyConnection.commit(ProxyConnection.java:387) at com.zaxxer.hikari.pool.HikariProxyConnection.commit(HikariProxyConnection.java) at com.github.database.rider.core.dataset.DataSetExecutorImpl.clearDatabase(DataSetExecutorImpl.java:674) ... 55 more ``` The test method is annotated like this `@DataSet(value = "data.yml", cleanAfter = true)` Running with a connection pool set to autoCommit = false makes the test fail because for some reason the data isn't visible to the spring boot app. Running the test without `cleanXXXX` works, but then it's not cleaned up for the next test and that will fail. The project is using: Spring boot 2.4.2 HikariCP 4.0.3 Mysql-connection-java 8.0.22 java 11.0.11 dbRider 1.22.0 Answers: username_1: Note that tables present in dataset will be cleaned by dbunit but anyway I'll try to add HikariCP config to our SpringBoot sample project to reproduce the issue Thanks username_1: Hi again @username_0, Can you try again with v`1.26.1-SNAPSHOT` ([check here ](https://github.com/database-rider/database-rider#snapshots) how to enable rider snapshots)? We did some changes in #262 related to autoCommit which might fix your issue. If not, can you provide a reproducer (like the one in issue #262)? Thank you username_0: Hi @username_1. I tried the version out and it didn't solve my problem. I've been writing a test for this which can be found [here](https://github.com/username_0/database-rider-problems). I also found that setting up `@DbUnit` annotations for `@BeforeXXX` and `@AfterXXX` don't work due to another bug when I tried to setup tests for showing that connections are leaking. This is also shown in the showcase I linked. I was supposed to validate that there was no leaking going on with this test but stopped since there were other problems. I will revisit these things after those things are fixed. username_1: Hi @username_0, thank you for the sample! The first problem should be fixed now but I couldn't understand the second one (`NotFindingMethodsTest`). Maybe you can create another issue for it? Don't forget to use `U` flag to update the rider snapshot on your build. Thank you again! username_1: Alright, I think I got the second issue and using `getDeclaredMethods()` solves it, can you test it as well? username_0: I think it should follow JUnit5 rules here, and it allows all modifiers but private, and I believe that `getDeclaredMethods` also pickup methods with private modifier so I think it needs additional filtering here. Even fixing that, the `LeakingConnectionsTest` crashes with a: ``` java.lang.RuntimeException: Could not create dataset to compare. at com.github.database.rider.core.dataset.DataSetExecutorImpl.compareCurrentDataSetWith(DataSetExecutorImpl.java:823) at com.github.database.rider.junit5.DBUnitExtension.executeExpectedDataSetForCallback(DBUnitExtension.java:212) at com.github.database.rider.junit5.DBUnitExtension.afterEach(DBUnitExtension.java:135) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeAfterEachCallbacks$11(TestMethodTestDescriptor.java:253) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeAllAfterMethodsOrCallbacks$12(TestMethodTestDescriptor.java:269) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeAllAfterMethodsOrCallbacks$13(TestMethodTestDescriptor.java:269) at java.base/java.util.ArrayList.forEach(ArrayList.java:1540) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeAllAfterMethodsOrCallbacks(TestMethodTestDescriptor.java:268) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeAfterEachCallbacks(TestMethodTestDescriptor.java:252) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:137) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) 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:129) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) at java.base/java.util.ArrayList.forEach(ArrayList.java:1540) 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:143) 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:129) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) at java.base/java.util.ArrayList.forEach(ArrayList.java:1540) 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:143) 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:129) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) 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.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:84) at org.eclipse.jdt.internal.junit5.runner.JUnit5TestReference.run(JUnit5TestReference.java:98) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:40) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:529) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:756) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:452) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:210) Caused by: java.lang.RuntimeException: Could not get driver information from provided connection. at com.github.database.rider.core.util.DriverUtils.getDriverName(DriverUtils.java:50) at com.github.database.rider.core.connection.RiderDataSource.checkDbType(RiderDataSource.java:175) at com.github.database.rider.core.connection.RiderDataSource.init(RiderDataSource.java:96) at com.github.database.rider.core.connection.RiderDataSource.<init>(RiderDataSource.java:53) at com.github.database.rider.core.dataset.DataSetExecutorImpl.getRiderDataSource(DataSetExecutorImpl.java:918) at com.github.database.rider.core.dataset.DataSetExecutorImpl.compareCurrentDataSetWith(DataSetExecutorImpl.java:812) ... 55 more Caused by: java.sql.SQLException: Connection is closed at com.zaxxer.hikari.pool.ProxyConnection$ClosedConnection.lambda$getClosedConnection$0(ProxyConnection.java:515) at com.sun.proxy.$Proxy78.getMetaData(Unknown Source) at com.zaxxer.hikari.pool.ProxyConnection.getMetaData(ProxyConnection.java:380) at com.zaxxer.hikari.pool.HikariProxyConnection.getMetaData(HikariProxyConnection.java) at com.example.springboot.LeakingConnectionsTest$WrappingConnection.getMetaData(LeakingConnectionsTest.java:286) at com.github.database.rider.core.util.DriverUtils.getDriverName(DriverUtils.java:48) ... 60 more ``` username_1: If you can declare junit5 hooks in non-public methods (as in your example `NotFindingMethodsTest`) then we need to use `getDeclaredMethods`. I'll have a look at the leak hunter issue username_1: Hi again, it should be fixed now unfortunately the rider snapshot could not be deployed on maven central (I'm checking with them) so to test it you'll have to checkout rider locally and run `mvn install -DskipTests` username_1: Now 1.26.1-SNAPSHOT is deployed on maven central, let me know if this issue is fixed. Thanks username_0: Hi, Hmm... The test still fails. The `@BeforeEach` is annotated with a start.yml which should insert a row with id=1 into the db. The actual test will then run inserting a value. The `@AfterEach` should then validate that there's two elements in the db, `1` and `2`. The `test1` method should be failing since after it has been run there should be `1` and `3` in the db which the assertion on `@AfterEach` should catch? If everything is working `test2` and `test3` should be passing. username_1: That's what I get when I comment out the `assertEquals(1, wrappingDataSource.liveConnections.get());`, which's not related to dbrider <img width="1080" alt="Screenshot 2021-08-01 at 12 01 11" src="https://user-images.githubusercontent.com/1592273/127766987-0f51e5bc-e7e8-431f-ad3a-3fab6d3074ca.png"> I also enable dbrider leak under (`@DBUnit(caseInsensitiveStrategy = Orthography.LOWERCASE, cacheConnection = false, leakHunter = true)` and the tests are passing meaning that the number of open connections before the tests are the same after the tests username_0: You were right about the tests, I was looking at the wrong assertion. I've pushed a new test that verifies that dbrider is leaking connections. The test should run as declared but fails since the connections are not properly closed. I've added stacktraces which should show where the connections are checked out but a close is never called on them. Each stack with getConnection should have a corresponding close, which it doesn't. The leak hunter seems to not find these connections leaking. username_1: Can you please open a new issue so we can diacuss that? Thank you! username_1: By the way, just checked your latest commit and again, removing your assertion makes it pass: ``` assertEquals(0, wrappingDataSource.liveConnections.get()); ``` looks like `wrappingDataSource.liveConnections.get()` is leaving connections opened Status: Issue closed username_1: The fix was release in v`1.27.0`, thank you @username_0 for all the input on this issue!
facebook/react
517362100
Title: JSX syntax proposal: <Component {props}> to be interpreted as <Component props={props}> Question: username_0: **What is the expected behavior?** <Clock {time}> would become \<Clock time={time}> but \<Clock time> would still be \<Clock time={true}> **Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?** Answers: username_0: move to jsx issues Status: Issue closed
Shopify/bootsnap
391042225
Title: bootsnap hiding LoadErrors Question: username_0: Hey guys, I'm not really sure what the right solution is here, but I recently came across this issue when forgetting to include the `pg` gem in my Gemfile: When there is a `LoadError` raised during the app initialization, `bootsnap` utlimately rescues and re-raises here: https://github.com/Shopify/bootsnap/blob/master/lib/bootsnap/load_path_cache/core_ext/active_support.rb#L83 The problem is that if `Thread.current[:without_bootsnap_cache]` is false, the error is ignored and the app continues to load and ultimately fails in another place which hides the actual error. So, in my case I was getting this: ``` Traceback (most recent call last): 102: from bin/rails:3:in `<main>' 101: from bin/rails:3:in `load' 100: from /Users/kyle/src/github.com/fitbod/api_v2/bin/spring:15:in `<top (required)>' 99: from /Users/kyle/src/github.com/fitbod/api_v2/bin/spring:15:in `require' 98: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/spring-2.0.2/lib/spring/binstub.rb:31:in `<top (required)>' 97: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/spring-2.0.2/lib/spring/binstub.rb:31:in `load' 96: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/spring-2.0.2/bin/spring:49:in `<top (required)>' 95: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/spring-2.0.2/lib/spring/client.rb:30:in `run' 94: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/spring-2.0.2/lib/spring/client/command.rb:7:in `call' 93: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/spring-2.0.2/lib/spring/client/rails.rb:28:in `call' 92: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/spring-2.0.2/lib/spring/client/rails.rb:28:in `load' 91: from /Users/kyle/src/github.com/fitbod/api_v2/bin/rails:9:in `<top (required)>' 90: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `require' 89: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in `load_dependency' 88: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `block in require' 87: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:29:in `require' 86: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:20:in `require_with_bootsnap_lfi' 85: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:65:in `register' 84: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `block in require_with_bootsnap_lfi' 83: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require' 82: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/railties-5.2.2/lib/rails/commands.rb:18:in `<main>' 81: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/railties-5.2.2/lib/rails/command.rb:46:in `invoke' 80: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/railties-5.2.2/lib/rails/command/base.rb:65:in `perform' 79: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch' 78: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command' 77: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/thor-0.20.3/lib/thor/command.rb:27:in `run' 76: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/railties-5.2.2/lib/rails/commands/server/server_command.rb:142:in `perform' 75: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/railties-5.2.2/lib/rails/commands/server/server_command.rb:142:in `tap' 74: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/railties-5.2.2/lib/rails/commands/server/server_command.rb:147:in `block in perform' 73: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/railties-5.2.2/lib/rails/commands/server/server_command.rb:53:in `start' 72: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/rack-2.0.6/lib/rack/server.rb:283:in `start' 71: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/rack-2.0.6/lib/rack/server.rb:354:in `wrapped_app' 70: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/railties-5.2.2/lib/rails/commands/server/server_command.rb:27:in `app' 69: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/rack-2.0.6/lib/rack/server.rb:219:in `app' 68: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/rack-2.0.6/lib/rack/server.rb:319:in `build_app_and_options_from_config' 67: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/rack-2.0.6/lib/rack/builder.rb:40:in `parse_file' 66: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/rack-2.0.6/lib/rack/builder.rb:49:in `new_from_string' 65: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/rack-2.0.6/lib/rack/builder.rb:49:in `eval' 64: from config.ru:in `<main>' 63: from config.ru:in `new' 62: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/rack-2.0.6/lib/rack/builder.rb:55:in `initialize' 61: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/rack-2.0.6/lib/rack/builder.rb:55:in `instance_eval' 60: from config.ru:3:in `block in <main>' 59: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:44:in `require_relative' 58: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `require' 57: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in `load_dependency' 56: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `block in require' 55: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:29:in `require' [Truncated] 7: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `block in require' 6: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:29:in `require' 5: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:20:in `require_with_bootsnap_lfi' 4: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:65:in `register' 3: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `block in require_with_bootsnap_lfi' 2: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require' 1: from /Users/kyle/.rvm/gems/ruby-2.5.3/gems/activerecord-5.2.2/lib/active_record/connection_adapters/postgresql_adapter.rb:4:in `<main>' /Users/kyle/.rvm/gems/ruby-2.5.3/gems/bundler-1.17.1/lib/bundler/rubygems_integration.rb:408:in `block (2 levels) in replace_gem': Error loading the 'postgresql' Active Record adapter. Missing a gem it depends on? pg is not part of the bundle. Add it to your Gemfile. (LoadError) ``` ## Environment - Rails version 5.2.3 ## Steps to reproduce: ``` rails new bar cd bar mv config/database.yml config/database.yml.old sed 's/sqlite3/postgresql/g' config/database.yml.old > config/database.yml RAILS_ENV=production rails s ``` Answers: username_1: (sorry for the huge delay in response) I can't figure out how this would be an issue: ```ruby def depend_on(*) super rescue LoadError # If we already had cache disabled, there's no use retrying raise if Thread.current[:without_bootsnap_cache] CoreExt::ActiveSupport.without_bootsnap_cache { super } end ``` ...inlining that call: ```ruby def depend_on(*) super rescue LoadError # If we already had cache disabled, there's no use retrying raise if Thread.current[:without_bootsnap_cache] begin prev = Thread.current[:without_bootsnap_cache] || false Thread.current[:without_bootsnap_cache] = true super ensure Thread.current[:without_bootsnap_cache] = prev end end ``` In the case that the first call to `super` raises a `NameError`, it *should* still raise a `NameError` the second time we call it, right? Maybe not? username_0: Hey @username_1 , Thanks for looking into this. It's been a while since I've looked at it myself. Were you able to reproduce it with the steps I listed? username_2: I just ran into it while attempting to run some Rails benchmark applications. I had not configured Rails to use a JRuby adapter, but when it tried to load the native CRuby adapter (which was not available of course) it failed in a completely different way, exactly like sferik/rails_admin#3025. Removing bootsnap allowed me to see the original error. username_1: I suspect https://github.com/Shopify/bootsnap/pull/247 will solve this issue but I haven't found the time to build a reproduction to prove it to myself yet. username_1: 1.4.2.rc1 is out, I *think* it fixes this issue. username_0: Were you able to reproduce with: ``` rails new bar cd bar mv config/database.yml config/database.yml.old sed 's/sqlite3/postgresql/g' config/database.yml.old > config/database.yml RAILS_ENV=production rails s ``` username_1: Ah, still showing the wrong error but at least I have an easy reproduction now. I'll try to get it fixed today. Thanks! Status: Issue closed username_1: If this is not fixed by 1.4.2.rc2, please reopen.
googleapis/google-cloud-dotnet
501284325
Title: Google.Cloud.Dialogflow.V2 (C sharp) missing property enable_fuzzy_extraction Question: username_0: Hi, I am using Google.Cloud.Dialogflow.V2 from nuget and am unable to find the property enable_fuzzy_extraction on the EntityType object. Please could you provide me an example of how to set it Thanks Steve Answers: username_1: Right, that property was added since we last did a release of Dialogflow. I'll try to sort out a new release to go out today. username_1: Google.Cloud.Dialogflow.V2 version 1.1.0, including EntityType.EnableFuzzyExtraction, is now available. Thanks! Status: Issue closed
ewohltman/pool
371798522
Title: Memory usage is very large Question: username_0: When I use this tool to query a lot of urls,urls will put the result to groutines,finally i find ` resp, err := reqPool.PooledClient.Do(req) ` will create a a lot of groutines,and memory is fastly Growing。 Answers: username_1: It looks like it's leaking goroutines: ``` goroutine profile: total 12101 8340 @ 0x432df0 0x406cfb 0x406cd1 0x406ab5 0x935303 0xa34f3e 0xa34f22 0x460901 # 0x935302 github.com/ewohltman/pool.(*PClient).DoPool+0x132 /src/vendor/github.com/ewohltman/pool/pool.go:92 # 0xa34f3d github.com/ewohltman/pool.(*PClient).Do+0x28d /src/vendor/github.com/ewohltman/pool/pool.go:79 3576 @ 0x432df0 0x406cfb 0x406cd1 0x406ab5 0x935303 0xa341da 0xa341be 0x460901 # 0x935302 github.com/ewohltman/pool.(*PClient).DoPool+0x132 /src/vendor/github.com/ewohltman/pool/pool.go:92 # 0xa341d9 github.com/ewohltman/pool.(*PClient).Do+0x679 /src/vendor/github.com/ewohltman/pool/pool.go:79 ``` username_1: It actually could be that it's not handling backpressure at all, and just spinning up goroutines until it OOMs.
openxc/openxc-android
99272543
Title: java.lang.NullPointerException in GEL Question: username_0: ## New exception in OpenXC Android Enabler **java.lang.NullPointerException** in **GEL** Attempt to invoke virtual method &#x27;java.lang.String android.content.Context.getPackageName()&#x27; on a null object reference [View on Bugsnag](https://bugsnag.com/openxc/openxc-android-enabler/errors/55c25b47f1726aac68f10ed2?event_id=55c25b493bdff68233677ce4) ## Stacktrace PreferenceManager.java:374 - android.preference.PreferenceManager.getDefaultSharedPreferencesName PreferenceManager.java:369 - android.preference.PreferenceManager.getDefaultSharedPreferences PipelineStatusUpdateTask.java:87 - com.openxc.enabler.PipelineStatusUpdateTask.traceEnabled [View full stacktrace](https://bugsnag.com/openxc/openxc-android-enabler/errors/55c25b47f1726aac68f10ed2?event_id=55c25b493bdff68233677ce4) Status: Issue closed Answers: username_0: ## New exception in OpenXC Android Enabler **java.lang.NullPointerException** in **GEL** Attempt to invoke virtual method &#x27;java.lang.String android.content.Context.getPackageName()&#x27; on a null object reference [View on Bugsnag](https://bugsnag.com/openxc/openxc-android-enabler/errors/55c25b47f1726aac68f10ed2?event_id=55c25b493bdff68233677ce4) ## Stacktrace PreferenceManager.java:374 - android.preference.PreferenceManager.getDefaultSharedPreferencesName PreferenceManager.java:369 - android.preference.PreferenceManager.getDefaultSharedPreferences PipelineStatusUpdateTask.java:87 - com.openxc.enabler.PipelineStatusUpdateTask.traceEnabled [View full stacktrace](https://bugsnag.com/openxc/openxc-android-enabler/errors/55c25b47f1726aac68f10ed2?event_id=55c25b493bdff68233677ce4) username_0: ## Resolved error re-occurred in OpenXC Android Enabler **java.lang.NullPointerException** in **PreferenceManager.java:374** [View on Bugsnag](https://bugsnag.com/openxc/openxc-android-enabler/errors/55c25b47f1726aac68f10ed2?event_id=562e2386764496b041696901) ## Stacktrace PreferenceManager.java:374 - android.preference.PreferenceManager.getDefaultSharedPreferencesName PreferenceManager.java:369 - android.preference.PreferenceManager.getDefaultSharedPreferences PipelineStatusUpdateTask.java:83 - com.openxc.enabler.PipelineStatusUpdateTask.traceEnabled [View full stacktrace](https://bugsnag.com/openxc/openxc-android-enabler/errors/55c25b47f1726aac68f10ed2?event_id=562e2386764496b041696901) username_1: This issue is fixed and the code is in next branch . Status: Issue closed
mapbox/mapbox-navigation-android
651718212
Title: IllegalStateException: Missing required properties: muteVoiceGuidance Question: username_0: When testing `master` run into the following 💥 ``` 07-06 13:46:46.955 29660-29660/com.mapbox.navigation.examples E/Mbgl-MapChangeReceiver: Exception in onDidFinishLoadingStyle java.lang.IllegalStateException: Missing required properties: muteVoiceGuidance at com.mapbox.navigation.ui.AutoValue_NavigationViewOptions$Builder.build(AutoValue_NavigationViewOptions.java:557) at com.mapbox.navigation.examples.ui.NavigationViewFragment.onNavigationReady(NavigationViewFragment.kt:110) at com.mapbox.navigation.ui.NavigationView.updateNavigationReadyListeners(NavigationView.java:636) at com.mapbox.navigation.ui.NavigationView.access$700(NavigationView.java:74) at com.mapbox.navigation.ui.NavigationView$1.onStyleLoaded(NavigationView.java:244) at com.mapbox.mapboxsdk.maps.MapboxMap.notifyStyleLoaded(MapboxMap.java:959) at com.mapbox.mapboxsdk.maps.MapboxMap.onFinishLoadingStyle(MapboxMap.java:221) at com.mapbox.mapboxsdk.maps.MapView$MapCallback.onDidFinishLoadingStyle(MapView.java:1328) at com.mapbox.mapboxsdk.maps.MapChangeReceiver.onDidFinishLoadingStyle(MapChangeReceiver.java:198) at com.mapbox.mapboxsdk.maps.NativeMapView.onDidFinishLoadingStyle(NativeMapView.java:1106) at android.os.MessageQueue.nativePollOnce(Native Method) at android.os.MessageQueue.next(MessageQueue.java:323) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5417) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) 07-06 13:46:46.955 29660-29660/com.mapbox.navigation.examples W/System.err: java.lang.IllegalStateException: Missing required properties: muteVoiceGuidance 07-06 13:46:46.956 29660-29660/com.mapbox.navigation.examples W/System.err: at com.mapbox.navigation.ui.AutoValue_NavigationViewOptions$Builder.build(AutoValue_NavigationViewOptions.java:557) 07-06 13:46:46.956 29660-29660/com.mapbox.navigation.examples W/System.err: at com.mapbox.navigation.examples.ui.NavigationViewFragment.onNavigationReady(NavigationViewFragment.kt:110) 07-06 13:46:46.956 29660-29660/com.mapbox.navigation.examples W/System.err: at com.mapbox.navigation.ui.NavigationView.updateNavigationReadyListeners(NavigationView.java:636) 07-06 13:46:46.956 29660-29660/com.mapbox.navigation.examples W/System.err: at com.mapbox.navigation.ui.NavigationView.access$700(NavigationView.java:74) 07-06 13:46:46.956 29660-29660/com.mapbox.navigation.examples W/System.err: at com.mapbox.navigation.ui.NavigationView$1.onStyleLoaded(NavigationView.java:244) 07-06 13:46:46.956 29660-29660/com.mapbox.navigation.examples W/System.err: at com.mapbox.mapboxsdk.maps.MapboxMap.notifyStyleLoaded(MapboxMap.java:959) 07-06 13:46:46.956 29660-29660/com.mapbox.navigation.examples W/System.err: at com.mapbox.mapboxsdk.maps.MapboxMap.onFinishLoadingStyle(MapboxMap.java:221) 07-06 13:46:46.956 29660-29660/com.mapbox.navigation.examples W/System.err: at com.mapbox.mapboxsdk.maps.MapView$MapCallback.onDidFinishLoadingStyle(MapView.java:1328) 07-06 13:46:46.956 29660-29660/com.mapbox.navigation.examples W/System.err: at com.mapbox.mapboxsdk.maps.MapChangeReceiver.onDidFinishLoadingStyle(MapChangeReceiver.java:198) 07-06 13:46:46.956 29660-29660/com.mapbox.navigation.examples W/System.err: at com.mapbox.mapboxsdk.maps.NativeMapView.onDidFinishLoadingStyle(NativeMapView.java:1106) 07-06 13:46:46.956 29660-29660/com.mapbox.navigation.examples W/System.err: at android.os.MessageQueue.nativePollOnce(Native Method) 07-06 13:46:46.956 29660-29660/com.mapbox.navigation.examples W/System.err: at android.os.MessageQueue.next(MessageQueue.java:323) 07-06 13:46:46.956 29660-29660/com.mapbox.navigation.examples W/System.err: at android.os.Looper.loop(Looper.java:135) 07-06 13:46:46.956 29660-29660/com.mapbox.navigation.examples W/System.err: at android.app.ActivityThread.main(ActivityThread.java:5417) 07-06 13:46:46.956 29660-29660/com.mapbox.navigation.examples W/System.err: at java.lang.reflect.Method.invoke(Native Method) 07-06 13:46:46.956 29660-29660/com.mapbox.navigation.examples W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) 07-06 13:46:46.956 29660-29660/com.mapbox.navigation.examples W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) 07-06 13:46:46.957 29660-29660/com.mapbox.navigation.examples A/libc: /usr/local/google/buildbot/src/android/ndk-release-r20/external/libcxx/../../external/libcxxabi/src/abort_message.cpp:73: abort_message: assertion "terminating with uncaught exception of type jni::PendingJavaException" failed 07-06 13:46:46.957 29660-29660/com.mapbox.navigation.examples A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 29660 (gation.examples) 07-06 13:46:47.012 200-200/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 07-06 13:46:47.012 200-200/? A/DEBUG: Build fingerprint: 'google/hammerhead/hammerhead:6.0.1/M4B30Z/3437181:user/release-keys' 07-06 13:46:47.012 200-200/? A/DEBUG: Revision: '11' 07-06 13:46:47.013 200-200/? A/DEBUG: ABI: 'arm' 07-06 13:46:47.013 200-200/? A/DEBUG: pid: 29660, tid: 29660, name: gation.examples >>> com.mapbox.navigation.examples <<< 07-06 13:46:47.013 200-200/? A/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- 07-06 13:46:47.084 200-200/? A/DEBUG: Abort message: '/usr/local/google/buildbot/src/android/ndk-release-r20/external/libcxx/../../external/libcxxabi/src/abort_message.cpp:73: abort_message: assertion "terminating with uncaught exception of type jni::PendingJavaException" failed' 07-06 13:46:47.084 200-200/? A/DEBUG: r0 00000000 r1 000073dc r2 00000006 r3 b6fc7b7c 07-06 13:46:47.084 200-200/? A/DEBUG: r4 b6fc7b84 r5 b6fc7b34 r6 0000000b r7 0000010c 07-06 13:46:47.084 200-200/? A/DEBUG: r8 00000000 r9 bef59e08 sl 8f768600 fp bef59de0 07-06 13:46:47.084 200-200/? A/DEBUG: ip 00000006 sp bef597c8 lr b6d36b61 pc b6d38f50 cpsr 400f0010 07-06 13:46:47.105 200-200/? A/DEBUG: backtrace: 07-06 13:46:47.105 200-200/? A/DEBUG: #00 pc 00041f50 /system/lib/libc.so (tgkill+12) 07-06 13:46:47.105 200-200/? A/DEBUG: #01 pc 0003fb5d /system/lib/libc.so (pthread_kill+32) 07-06 13:46:47.105 200-200/? A/DEBUG: #02 pc 0001c30f /system/lib/libc.so (raise+10) 07-06 13:46:47.106 200-200/? A/DEBUG: #03 pc 000194c1 /system/lib/libc.so (__libc_android_abort+34) 07-06 13:46:47.106 200-200/? A/DEBUG: #04 pc 000174ac /system/lib/libc.so (abort+4) 07-06 13:46:47.106 200-200/? A/DEBUG: #05 pc 0001af23 /system/lib/libc.so (__libc_fatal+16) [Truncated] 07-06 13:46:47.108 200-200/? A/DEBUG: #23 pc 00012f63 /system/lib/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+130) 07-06 13:46:47.108 200-200/? A/DEBUG: #24 pc 00081d05 /system/lib/libandroid_runtime.so (_ZN7android18NativeMessageQueue8pollOnceEP7_JNIEnvP8_jobjecti+22) 07-06 13:46:47.108 200-200/? A/DEBUG: #25 pc 72e6d56d /data/dalvik-cache/arm/system@[email protected] (offset 0x1ed6000) 07-06 13:46:47.233 1557-1723/? I/PeriodicStatsRunner: PeriodicStatsRunner.call():180 call() 07-06 13:46:47.233 1557-1723/? I/PeriodicStatsRunner: PeriodicStatsRunner.call():184 No submit PeriodicStats since input started. 07-06 13:46:48.031 200-200/? W/debuggerd: type=1400 audit(0.0:37306): avc: denied { read } for name="kgsl-3d0" dev="tmpfs" ino=5754 scontext=u:r:debuggerd:s0 tcontext=u:object_r:gpu_device:s0 tclass=chr_file permissive=0 07-06 13:46:48.031 200-200/? W/debuggerd: type=1400 audit(0.0:37307): avc: denied { read } for name="kgsl-3d0" dev="tmpfs" ino=5754 scontext=u:r:debuggerd:s0 tcontext=u:object_r:gpu_device:s0 tclass=chr_file permissive=0 07-06 13:46:49.122 822-945/? E/NativeCrashListener: Exception dealing with report android.system.ErrnoException: read failed: EAGAIN (Try again) at libcore.io.Posix.readBytes(Native Method) at libcore.io.Posix.read(Posix.java:169) at libcore.io.BlockGuardOs.read(BlockGuardOs.java:230) at android.system.Os.read(Os.java:367) at com.android.server.am.NativeCrashListener.consumeNativeCrashData(NativeCrashListener.java:240) at com.android.server.am.NativeCrashListener.run(NativeCrashListener.java:138) ``` Regression from https://github.com/mapbox/mapbox-navigation-android/pull/3283 cc @username_1 Answers: username_0: ### Steps to trigger behavior 1. Run `examples` test app 2. Open `NavigationViewActivity` example 3. Close `NavigationViewActivity` example 4. Open `NavigationViewFragmentActivity` example 5. 💥 username_1: thanks @username_0 , it's missing a default value in the builder. I will have a fix for it now. username_1: closed by #3289 Status: Issue closed
Bit-Nation/BITNATION-Pangea-mobile
335501984
Title: [upsteam] handle upstream call Question: username_0: ## Feature / Issue Hi. We are using [protobuf](https://developers.google.com/protocol-buffers/) to serialize / deserialize information. Those information is send from panthalassa to pangea. Via the bridge (more later on). You need to deserialize the information in react native. There is a protobuf JS library. You will have to compile the protobuf file from panthalassa to the [json representation](https://github.com/dcodeIO/ProtoBuf.js/#using-json-descriptors) in order to use it. You have to [subscribe to Panthalassa events](https://facebook.github.io/react-native/docs/native-modules-ios.html#sending-events-to-javascript) in order catch the requests send by panthalassa. ```js import { NativeEventEmitter, NativeModules } from 'react-native'; const { Panthalassa } = NativeModules; ``` After you got a request [(which looks like this)](https://github.com/Bit-Nation/panthalassa/blob/develop/api/pb/request.proto): Every request contains a request id. After your processed a the call you have to call `Panthalassa.PanthalassaSendResponse` with: - id (the request id) - data (a [response](https://github.com/Bit-Nation/panthalassa/blob/develop/api/pb/response.proto) - can be an empty `Response` if there is no need to return data to panthalassa) - error (if something is wrong with the received data pass in an error or an empty string) - timeout (timeout for the processing the response in seconds) ## Acceptance criteria - [ ] Handle current protbuf requests - [ ] should display error if program is unable to handle request Answers: username_1: @username_0 1. where should i save the message data?, in Realm or just the in key-value local 2. how do i get messageKey from dRKeyStoreGet: { drKey: 1, messageNumber: 2, } username_0: 1. in realm. 2. What exactly do you mean? The messageKey is not in the protobuf since it's a get request. If you are asking for how to get be message key based on the `dRKeyStoreGet` request, then you have to understand how they are persisted (which you can read in the issue) username_0: I will close this. It's done. Status: Issue closed
lobodol/2minutesDuPeuple
711978543
Title: Add link to share a track Question: username_0: Add a link to share a track including stating time (like YouYube) Answers: username_0: It's now possible to target a specific track & start time like this: `?e=123&t=42` which means track n° 123 & start time 42 sec. Status: Issue closed username_0: Already done in https://github.com/username_0/2minutesDuPeuple/commit/fa1dbd1ceef6ea81e79c98bb46f682cc5eeb3ec2.
JurneeT/Insta
834507417
Title: Project Feedback! Question: username_0: It looks like the following features are not reflected on your GIF walkthrough: - User sees app icon in home screen and styled launch screen - User can sign up to create a new account. Since the extension period is over, we will no longer regrade any resubmissions made after this date. We just want to let you know so that you make sure to reflect the features on your GIF for future submissions
DoctorMcKay/node-steamcommunity
160666407
Title: getConfirmations returning none confirmations Question: username_0: I'm trying to use getConfirmations, my code works until some time, now it's just returning an empty array with confirmations. When I lookup the response from Steam, it's return `<div>Nothing to confirm</form>` Code is here: ```javascript var unixTime = SteamTotp.time(); var confirmationKey = SteamTotp.getConfirmationKey(bot.maFile.identity_secret, unixTime, "conf"); community.getConfirmations(unixTime, confirmationKey, (err, confirmations) => { if (err) { console.log(err); return; } console.log(confirmations); ... ``` Anyway, on my another app where where I opening the same inventory but in browser, it's return all confirmations, where my query generator is: ```javascript var generateConfirmationQueryString = function(tag) { var p = encodeURIComponent(SteamTotp.getDeviceID(bot.maFile.Session.SteamID)); var a = bot.info.steamid; var m = "android"; var t = SteamTotp.time(); var k = encodeURIComponent(SteamTotp.getConfirmationKey(bot.maFile.identity_secret, t, tag)); return "?p="+p+"&a="+a+"&k="+k+"&t="+t+"&m="+m+"&tag="+tag; } //tag == conf ``` I'm sure I using the same user datas (I copied user datas from working app to this and anyway it's same). I'm using latest version of steamcommunity. Any ideas? Answers: username_0: Okay, now working both, maybe steam have some issues! Status: Issue closed
evanhsu/rescuecircle
118429536
Title: Add token authentication capability to allow third-party apps/sites to submit resource status updates Question: username_0: Separate the functionality of this site into 2 modules: 1. A module that lives on the EGP server and has direct access to the EGP database for reading/writing data. This module would provide a REST API and implement a token-auth system to allow third-party apps/sites to submit resource status updates. 2. A front-end module that provides the web-based data-entry form. This module would be issued an API key and would rely on the 1st module (above) for database interaction. This module could be hosted on any server, internal or external, but would require a secure connection (TLS) to protect the API key. Answers: username_0: Consider using this library:
rebuy-de/aws-nuke
551750048
Title: Unable to delete EBS snapshot when Fast Snapshot Restore (FSR) is enabled Question: username_0: I had an issue with deleting an EBS snapshot when the _Fast Snapshot Restore_ feature is enabled on it. The error message is: `InvalidSnapshot.InUse: The snapshot snap-00e4b125ff8f080bf is currently enabled for fast restores in eu-west-1b. Fast snapshot restores must be disabled within all Availability Zones before the snapshot may be deleted.` The Fast Snapshot Restore is a new AWS feature (Nov. 2019) About the feature: https://aws.amazon.com/blogs/aws/new-amazon-ebs-fast-snapshot-restore-fsr/
danielcardeenas/sulla
648917874
Title: Download Audio Question: username_0: Hi. It's possible download audio files or get whatsapp url? Already tried but unsuccessful Answers: username_1: this repository is no longer supported, is out of date, has been migrated to what is now functional: [Venom-Bot](https://github.com/username_1/venom) Please leave us a star, there too, encourages us to keep you updated
thought-machine/please
276030053
Title: IRC Channel Question: username_0: Hello, is there an IRC-channel for please? It would be great to have one for discussing issues, ideas, etc :-) Answers: username_1: There isn't; we've had a little discussion but are currently unsure what the best option is. I'd rather avoid something proprietary like Slack if possible, but it is popular... In the meantime I've set up a mailing list: https://groups.google.com/forum/#!forum/please-build / <EMAIL> for general questions. username_2: Something like Gitter could be a good option - while I like the idea of IRC it could be more of an impediment to new users. username_3: Please, let's have a community chat thingy for please!!!! username_1: We have a gitter now: https://gitter.im/please-build/Lobby That will do for now; we can always add more / change later. Status: Issue closed
thpatch/thcrap
16434698
Title: thcrap_configure: Link `thcrap_update` dynamically Question: username_0: ## Dynamic linking of `thcrap_update` in the configuration tool #### Description We want users to opt out of any automatic updating functionality of both the patches and thcrap itself by simply deleting `thcrap_update.dll`. This is no problem as far as the base engine is concerned, but the configuration tool has a static link to this DLL. #### Prerequisites None. #### Implementation Answers: username_1: Done in 103f3433594cb48ef099d28be6c8c223230a49fc Status: Issue closed
d3/d3-dsv
131429651
Title: Renames for better compatibility. Question: username_0: In D3 3.x, the request-and-parse methods were renamed: * d3.csv ↦ d3.requestCsv * d3.html ↦ d3.requestHtml * d3.json ↦ d3.requestJson * d3.text ↦ d3.requestText * d3.tsv ↦ d3.requestTsv * d3.xml ↦ d3.requestXml This was needed in part because this repo, d3-dsv, defines two objects: * d3.csv * d3.tsv And these expose methods: * d3.csv.parse * d3.csv.parseRows * d3.csv.format * d3.csv.formatRows * d3.tsv.parse * d3.tsv.parseRows * d3.tsv.format * d3.tsv.formatRows The downside of this renaming is that the commonly used methods were renamed (and longer), while the less commonly used methods stayed the same. However, another option would be to retain the short names for requests: * d3.csv * d3.html * d3.json * d3.text * d3.tsv * d3.xml And rather than exposing d3.csv and d3.tsv objects, expose the methods directly: * d3.csvParse * d3.csvParseRows * d3.csvFormat * d3.csvFormatRows * d3.tsvParse * d3.tsvParseRows * d3.tsvFormat * d3.tsvFormatRows<issue_closed> Status: Issue closed
ytmdesktop/ytmdesktop
776393913
Title: YTM andoid app connection problems. Question: username_0: - [ X ] I understand that **YTMDesktop have NO affiliation with Google or YouTube**. - [ X ] I verified that there is no open issue for the same subject. **Is your feature request related to a problem? Please describe.** I got frustrated trying to connect YTM android app to my PC. First It wouldn't connect at all. Then I allowed YTM desktop through the windows firewall (only as an app.) The mobile app connected but couldn't display any information about what was playing and the desktop app would get crash errors. The issue was solved when I went into the advanced settings of windows firewall and manually allowed the port 9863 through. **Describe the solution you'd like** Maybe a f.a.q. section would be helpful for connectivity issues I can imagine other people also being frustrated with this. Maybe a way for the app to allow its ports through automatically? I don't know if windows can be forgiving like that. **Additional context** Adding port 9863 TCP for Inbound and Outbound rules to windows firewall was enough. Win 10 pro Version 10.0.19041 Build 19041 p.s. I really like the app. the keyboard shortcuts are a really big thing for me even Spotify's native desktop app doesn't allow for volume adjustment keys that work alt-tabbed. Thanks for the efforts gone into this! Answers: username_0: Just realized this issue (#438) is going through exactly my problem. "However, I can only play and pause, nothing more is possible." can be solved by allowing those ports through. username_1: Thanks for your review, i will create a FAQ to help people who are experiencing these problems
GeotrekCE/Geotrek-admin
14008390
Title: None Question: username_0: Depuis la 2.22.9 le module et les tables signalétiques ont été séparés et sortis des aménagements. A priori les 2 catégories de type d'aménagement restantes (Ouvrages et Equipements) ne sont pas définies dans une table ? Pertinence de garder ces catégories à discuter.
rubyforgood/abalone
704973222
Title: As a user, I can view a list of all families in my organization Question: username_0: Acceptance Criteria - [ ] A new route is added that maps to `Families#index` - [ ] A new view is added that lists all `Family` records. This list should be scoped to the organization that the `current_user` `belongs_to` There is some prior art for how we want index pages in our application to look. See `Facilities#index` and `Animals#index`. Some of the links that will exist on this page, (new, show, edit, delete). Its fine to leave this blanks and fill those links in later as a separate task, or as a part of the task to add those actions.<issue_closed> Status: Issue closed
ReactiveX/RxJava
198677812
Title: 2.1.0 major feature additions Question: username_0: I've been adding extra features to my [RxJava 2 Extensions](https://github.com/username_0/RxJava2Extensions#features) project, some of which may be added to RxJava 2.x proper. Here is a table of major features I propose to have in RxJava 2.1 |Feature | Est. method cost | Description | |-------|-------|------------| | `SingleSubject` | ~20 | Hot variant of `Single` | | `MaybeSubject` | ~20 | Hot variant of `Maybe` | | `CompletableSubject` | ~20 | Hot variant of `Completable` | | `ParallelFlowable` | ~700 | Support for parallel execution via `Flowable.parallel()` fluently | In addition, I'm open for moving [custom operators](https://github.com/username_0/RxJava2Extensions#custom-operators-and-transformers) directly into `Flowable` and `Observable` (which requires creating some missing operator variants for `Observable` at the moment). Answers: username_0: Closing via #4967 and #4974. Status: Issue closed
fex-team/fis-plus
142031736
Title: fisp server init error Question: username_0: install [pc@latest] [ERROR] unable to download component [smarty@latest] from [http://fis.baidu.com/repos/server/smarty/latest.tar], error [302] 但是直接输入这个链接(http://fis.baidu.com/repos/server/smarty/latest.tar)可以下载,请问是什么原因 Answers: username_1: 这个应该是网络问题,点击这个链接看看是否能下载到东西。 username_0: 不是呀,直接点连接可以下载的 username_0: 确实是网络问题 换一个地方就OK了 Status: Issue closed