FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/python3'

Hello there, and thanks for the great library! (I love that it's cross platform and has no dependencies!)
I'm on NixOS 20.09. When I tried the basic example:
import playsound from playsound
playsound(AUDIO_FILE) # path to file

There was an error:
Traceback (most recent call last):
  File "main.py", line 34, in <module>
    playsound(AUDIO_FILE)
  File "/home/cheshire/CODE/project/.venv/lib/python3.8/site-packages/playsound.py", line 254, in <lambda>
    playsound = lambda sound, block = True: _playsoundAnotherPython('/usr/bin/python3', sound, block, macOS = False)
  File "/home/cheshire/CODE/project/.venv/lib/python3.8/site-packages/playsound.py", line 229, in _playsoundAnotherPython
    t.join()
  File "/home/cheshire/CODE/project/.venv/lib/python3.8/site-packages/playsound.py", line 218, in join
    raise self.exc
  File "/home/cheshire/CODE/project/.venv/lib/python3.8/site-packages/playsound.py", line 211, in run
    self.ret = self._target(*self._args, **self._kwargs)
  File "/home/cheshire/CODE/project/.venv/lib/python3.8/site-packages/playsound.py", line 226, in <lambda>
    t = PropogatingThread(target = lambda: check_call([otherPython, playsoundPath, _handlePathOSX(sound) if macOS else sound]))
  File "/nix/store/z65l1jqvxa58zzwwa3bvglb6asj4y8cv-python3-3.8.5/lib/python3.8/subprocess.py", line 359, in check_call
    retcode = call(*popenargs, **kwargs)
  File "/nix/store/z65l1jqvxa58zzwwa3bvglb6asj4y8cv-python3-3.8.5/lib/python3.8/subprocess.py", line 340, in call
    with Popen(*popenargs, **kwargs) as p:
  File "/nix/store/z65l1jqvxa58zzwwa3bvglb6asj4y8cv-python3-3.8.5/lib/python3.8/subprocess.py", line 854, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/nix/store/z65l1jqvxa58zzwwa3bvglb6asj4y8cv-python3-3.8.5/lib/python3.8/subprocess.py", line 1702, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/python3'

It looks like it's trying to use /usr/bin/python, which doesn't exist on my system. But even if it did, it would've still used the wrong python, since I'm running this from inside a virtual env. (The correct python would be the virtual env's python, that is, /home/cheshire/CODE/project/.venv/bin/python)
This might be fixed by locating the current python on the system (e.g. which python) and using that instead of a hard-coded /usr/bin/python3 value.

Hello,
Do you have gstreamer installed? I believe it’s part of the standard gnome desktop installation.
It wasn’t able to find the gi module, which should be installed in the system python if you have gstreamer, so it’s looking for the system Python.
Handling linux is difficult because there’s so many millions of different ways everything could be setup. For now, it’s more focused on Linux with gnome… in the future, I’d like to add in kde stuff, although that may be difficult to test in Travis-CI.
Taylor
Sent from my iPhone

On Aug 1, 2021, at 20:15, C. Yang @.***> wrote:

Hello there, and thanks for the great library! (I love that it's cross platform and has no dependencies!)
I'm on NixOS 20.09. When I tried the basic example:
import playsound from playsound
playsound(AUDIO_FILE) # path to file
There was an error:
Traceback (most recent call last):
File "main.py", line 34, in
playsound(AUDIO_FILE)
File "/home/cheshire/CODE/project/.venv/lib/python3.8/site-packages/playsound.py", line 254, in
playsound = lambda sound, block = True: _playsoundAnotherPython('/usr/bin/python3', sound, block, macOS = False)
File "/home/cheshire/CODE/project/.venv/lib/python3.8/site-packages/playsound.py", line 229, in _playsoundAnotherPython
t.join()
File "/home/cheshire/CODE/project/.venv/lib/python3.8/site-packages/playsound.py", line 218, in join
raise self.exc
File "/home/cheshire/CODE/project/.venv/lib/python3.8/site-packages/playsound.py", line 211, in run
self.ret = self._target(*self._args, **self._kwargs)
File "/home/cheshire/CODE/project/.venv/lib/python3.8/site-packages/playsound.py", line 226, in
t = PropogatingThread(target = lambda: check_call([otherPython, playsoundPath, _handlePathOSX(sound) if macOS else sound]))
File "/nix/store/z65l1jqvxa58zzwwa3bvglb6asj4y8cv-python3-3.8.5/lib/python3.8/subprocess.py", line 359, in check_call
retcode = call(*popenargs, **kwargs)
File "/nix/store/z65l1jqvxa58zzwwa3bvglb6asj4y8cv-python3-3.8.5/lib/python3.8/subprocess.py", line 340, in call
with Popen(*popenargs, **kwargs) as p:
File "/nix/store/z65l1jqvxa58zzwwa3bvglb6asj4y8cv-python3-3.8.5/lib/python3.8/subprocess.py", line 854, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/nix/store/z65l1jqvxa58zzwwa3bvglb6asj4y8cv-python3-3.8.5/lib/python3.8/subprocess.py", line 1702, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/python3'
It looks like it's trying to use /usr/bin/python, which doesn't exist on my system. But even if it did, it would've still used the wrong python, since I'm running this from inside a virtual env. (The correct python would be the virtual env's python, that is, /home/cheshire/CODE/project/.venv/bin/python)
This might be fixed by locating the current python on the system (e.g. which python) and using that instead of a hard-coded /usr/bin/python3 value.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Oh, it looks like I misunderstood the error entirely. Thank you! Yeah, I'm using KDE, so that would be why.
Maybe I can try to add that support then. Do you happen to know how it would be implemented for KDE?

I believe the name of KDE's media component is phonon. Take a look here for an example of it being used:
https://techbase.kde.org/Phonon/Python
The delayedInit method creates a Phonon.MediaObject and Phonon.AudioOutput and then links them together with Phonon.createPath(self.m_media, audioOutput). Then in the play method it uses setCurrentSource(Phonon.MediaSource(self.m_model.filePath(index)) and then calls play.
Check out playsound and try to modify it until you can get the unit tests (python test.py) to pass on your own machine.
Then I'd like .travis.yml to be modified so that Travis-CI is automatically testing that this runs on both gnome and kde (in addition to Mac and Windows).
Once it's all working, I'll be happy to look at a PR, pull it in, and make an updated release on pypi.

I am experiencing same error and I couldn't understand the solution. I understood that I need to install gstreamer in order to make plugins works. I tried to install it on backend python container but it failed via apt
Here is the error trace
backend   | Internal Server Error: /
backend   | Traceback (most recent call last):
backend   |   File "/usr/local/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
backend   |     response = get_response(request)
backend   |   File "/usr/local/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
backend   |     response = wrapped_callback(request, *callback_args, **callback_kwargs)
backend   |   File "/usr/local/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
backend   |     return self.dispatch(request, *args, **kwargs)
backend   |   File "/usr/local/lib/python3.9/site-packages/django/views/generic/base.py", line 98, in dispatch
backend   |     return handler(request, *args, **kwargs)
backend   |   File "/app/apps/main/views.py", line 16, in get
backend   |     paginator= Paginator(play_audio(), 1)
backend   |   File "/app/apps/main/service.py", line 5, in play_audio
backend   |     return playsound(f'{settings.BASE_DIR}/media/example.mp3', True)
backend   |   File "/usr/local/lib/python3.9/site-packages/playsound.py", line 254, in <lambda>
backend   |     playsound = lambda sound, block = True: _playsoundAnotherPython('/usr/bin/python3', sound, block, macOS = False)
backend   |   File "/usr/local/lib/python3.9/site-packages/playsound.py", line 229, in _playsoundAnotherPython
backend   |     t.join()
backend   |   File "/usr/local/lib/python3.9/site-packages/playsound.py", line 218, in join
backend   |     raise self.exc
backend   |   File "/usr/local/lib/python3.9/site-packages/playsound.py", line 211, in run
backend   |     self.ret = self._target(*self._args, **self._kwargs)
backend   |   File "/usr/local/lib/python3.9/site-packages/playsound.py", line 226, in <lambda>
backend   |     t = PropogatingThread(target = lambda: check_call([otherPython, playsoundPath, _handlePathOSX(sound) if macOS else sound]))
backend   |   File "/usr/local/lib/python3.9/subprocess.py", line 368, in check_call
backend   |     retcode = call(*popenargs, **kwargs)
backend   |   File "/usr/local/lib/python3.9/subprocess.py", line 349, in call
backend   |     with Popen(*popenargs, **kwargs) as p:
backend   |   File "/usr/local/lib/python3.9/subprocess.py", line 951, in __init__
backend   |     self._execute_child(args, executable, preexec_fn, close_fds,
backend   |   File "/usr/local/lib/python3.9/subprocess.py", line 1821, in _execute_child
backend   |     raise child_exception_type(errno_num, err_msg, err_filename)
backend   | FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/python3'
backend   | [07/Jan/2022 03:32:51] "GET / HTTP/1.0" 500 121859

I tried to install pygobject but it failed to install
 pip install pygobject

My related code in service.py
from django.conf import settings
from playsound import playsound

def play_audio():
    return playsound(f'{settings.BASE_DIR}/media/example.mp3')

Related code in views.py
from django.shortcuts import render
from django.views.generic import ListView
from .service import play_audio

class mainView(ListView):
    template_name = 'index.html'

    def get(self, request):
        context={"file":play_audio()}
        return render(request, self.template_name, context)

Related code in template/index.html
<html>
    <header>
        {% load static %}
        <title>website Title</title>
    </header>
    <body>
        <audio id="Player" autoplay>
            <source src="{{file}}"/>
        </audio>
    </body>
    <script src="{% static './script.js' %}" />
</html>

BASE_DIR value is /app and there is a file in both containers nginx and backend at the same path which is `media/example.mp3'
Eventually it will be via model layer


False PD013 with pymc

To reproduce this false warning it should be sufficient:
import pymc as pm
pm.math.stack()

Can you tell me what Ruff version you're using? We recently shipped an improvement that reduces the false-positives for the pandas rule and it seems to address your example: I don't see a warning here


Github commit on every delta

Would be great if we could specify (for every chat), a github URL, branch, access token, and username. Then each time a change is made to code, its committed to the repo automatically
Describe alternatives you've considered:
Allow us to specify the github details in a local config file
Additional context:
Been using GPTEngineer for a few weeks. It does this very well and completely seemlessly.

#111


win+shift+s shortcut gone.

Environment
Windows build number: Microsoft Windows [versão 10.0.19631.1]
PowerToys version: v0.18.1

Steps to reproduce
press win+shift(left)+s
Expected behavior
Would bring up the screenshot tool.
Actual behavior
Pressing the keys won't dim the screen with the screenshot tool.
Screenshots
giggles

I am running a build of Windows a little before yours, 18363.836 but same version of powertoys, so perhaps may be worth trying to roll back and see if that helps?

I've been having the same issue ever since I started using PowerToys too.

For what is worth, it works for me.
Didn't even know about this feature before reading this issue.

newest Microsoft Windows [10.0.19635.1] seems to have hotfixed it somehow. This feature is a old goodie one haha... i use it so extensively i couldn't bear not to have it

This isn't related to PT, I believe it is a Windows bug.
reopen if uninstalling PT fixes this bug.


Link List item not using same height

Detailed description

Describe in detail the issue you're having.
We use a different web component for the link (dds-link-list-item-cta) but same problem is with dds-link-list-item. I found that if i chnge the a-tag inside the linklist item to flex !important it works. But on storybook it works without. No idea why the flex is not working for us no matter if we use the same link list item as storybook or our.

Is this a feature request (new component, new icon), a bug, or a general
issue?
Bug

Is this issue related to a specific component?
Link List

What did you expect to happen? What happened instead? What would you like to
see changed?
Items should use same height and center text

What browser are you working in?
Chrome, Safari, Firefox

What version of Carbon for IBM.com are you using?
1.21

What offering/product do you work on? Any pressing ship or release dates we
should be aware of?
IBM CMS

Steps to reproduce the issue

add link list
In one item add as much text as needed to create a second line

Additional information
As said this works in storybook but not for us even with the web component version used in sotrybook

Because this bug are visible for everyone i can not post a link to the page with the problem. But please contact me over Slack (Christian Schimanski) if you have questions or need the link to the sample page

@skycryer Anna will reach out to you for more information.

Confirmed by Sandeep in the aem support slack channel that the issue is on hover/focus, user can see the link does not take the full height when other links in the link-list have more than one line of copy

Ooof! I see. Yes 🐛 I vote sev 3 @jeffchew @RobertaJHahn

@RobertaJHahn Here's the link to the JIRA ticket (https://jsw.ibm.com/browse/HC-2139) that we're tracking on our board.
HC Engineer Assignee: @andy-blum

@proeung Ignacio is the DDS consulting engineer on this one.
cc:  @IgnacioBecerra


incomplete support for role management

Currently starrocks's role management has some obvious bugs or bad designs.
Steps to reproduce the behavior (Required)

CREATE ROLE 'somerole'
DROP ROLE 'somerole'
SHOW GRANTS FOR 'somerole'

Expected behavior (Required)

Create role successfully.
Drop role successfully.
Report an error with message suggesting user does not exist.

Real behavior (Required)

Create failed, role name must come without quote.

mysql> create role 'somerole';
ERROR 1064 (HY000): Syntax error in line 1:
create role 'somerole'
            ^
Encountered: STRING LITERAL
Expected: IDENTIFIER

mysql> create role somerole;
Query OK, 0 rows affected (0.03 sec)

Drop failed, role name must come without quote.

mysql> drop role 'somerole';
ERROR 1064 (HY000): Syntax error in line 1:
drop role 'somerole'
          ^
Encountered: STRING LITERAL
Expected: IDENTIFIER

mysql> drop role somerole;
Query OK, 0 rows affected (0.01 sec)

Report no error yet show an empty table.

mysql> show grants for 'somerole';
+--------------------------------+----------+------------+-------------------+-------------+---------------+------------+---------------+
| UserIdentity                   | Password | AuthPlugin | UserForAuthPlugin | GlobalPrivs | DatabasePrivs | TablePrivs | ResourcePrivs |
+--------------------------------+----------+------------+-------------------+-------------+---------------+------------+---------------+
| 'default_cluster:somerole'@'%' | NULL     | NULL       | NULL              | NULL        | NULL          | NULL       | NULL          |
+--------------------------------+----------+------------+-------------------+-------------+---------------+------------+---------------+
1 row in set (0.00 sec)

StarRocks version (Required)
main


problem with preprocessing smiles in FABind+

Hi,
In FABind+ the processing of the ligand give me this error:
(fabind) christian@christian-linux01:/media/christian/VS/VS/VS_FABind_plus/fabind$ python inference_preprocess_mol_confs.py --index_csv ../inference_examples/example.csv --save_mols_dir ../inference_examples/temp_files
Traceback (most recent call last):
File "inference_preprocess_mol_confs.py", line 22, in
smiles, pdb = line.strip().split(',')
ValueError: too many values to unpack (expected 2)
I think that originally the name of the molecule was not indicated in the smiles, now it contains 3 columns
If I preprocess a library of smiles and I want to reuse it with other targets, I guess I do not have to reprocess it again?
Thanks,
Christian

Hi, @CLG68
Thank you for pointing out this problem we haven't noticed yet!
I have fixed it by adding one more value named 'ligand_id' to unpack and it works.
As you can see, the '.pt' file contains a conformation generated with SMILES and a torch tensor 'molecule_info' containing information about the molecule( using 'extract_torchdrug_feature_from_mol' function ). So if you'd like to reuse them for some other purposes, no reprocessing is needed!
Thanks,
Gongbo Zhang

This issue will be closed marked as solved.


Improve ui for tensors and color map selection

Show all details about a tensor, including its meaning, meter and encoding:

Also simplify the color maps selection for backprojected depth. Previously there was a superfluous checkbox gatekeeping the selection, even though there was always a color map (it just defaulted to gray). Speaking of: I changed the default to Turbo:

Checklist

[x] I have read and agree to Contributor Guide and the Code of Conduct
[x] I've included a screenshot or gif (if applicable)

I'll get an easier repro for you asap but in the mean time, has something changed so we don't use turbo by default for depth images? We set turbo as default for depth images here:

https://github.com/rerun-io/rerun/issues/351


How to reduce Consul  Logs

Within a week with 4 services running with max of 2 nodes on/off threw log size of more than 110 MB, There needs to be a log rotation to keep in check the log size.
[root@localhost log]# ls -rlth consul.log
-rw-r--r--. 1 root root 114M Aug 31 14:33 consul.log
[root@localhost log]#

Added logrotate configuration:
$  vim /etc/logrotate.conf
/var/log/consul.log {
        size 100M
        copytruncate
        rotate 4
        compress
}

apply changes logrotate for the /etc/logrotate.conf starting logrotate
$logrotate  /etc/logrotate.conf

After running the logrotate against logrotate.conf, the result show consul logs are copied and trucncated.
$ls -rlth consul.log*
-rw-r--r--. 1 root root 3.3M Sep  2 15:12 consul.log-20160902.gz
-rw-r--r--. 1 root root 106K Sep  2 15:19 consul.log


map shorthand - BaseNode#from - TypeError: this is not a constructor

When attempting to shorthand map over BaseNode.from, you receive the following error:

Occurs when:
[{ uuid: "asd", text: "my text", completed: false }].map(BaseNode.from)
Does not occur when:
[{ uuid: "asd", text: "my text", completed: false }].map(item => BaseNode.from(item))
An example of where I'm using this is in the persistance deserializer:
export const persistence = new LocalStorage<Todos>({
  key: "todoist.todos",
  debounceBy: 300,
  deserialize: (items) => {
    const todos = Object.values(items?.todos || {}).map(Todo.from)
    return Todos.from<Todos>({
      todos: new Repository(...todos)
    })
  },
})

Closing this since BaseNode has been removed in recent versions.


Don't cache the gravity response in /auctions

Slack
context: https://artsy.slack.com/archives/C02BC3HEJ/p1550251913148600
Fixes https://artsyproduct.atlassian.net/browse/AUCT-224
In brief:

Recently turned on Rate limiting in force
Previously, caching at /auctions endpoint was broken
Enabling rate limiting fixed this cache

but we don't want to cache auctions response, so remove cache
option in auctions.fetch

Some evidence of (undesired) caching going into effect:

Data Dog trace showing queries to Gravity:
https://app.datadoghq.com/apm/trace/1497793948768870733

Note how all traces in the future of this trace respond very quickly,
and don't integrate with Force's HTTP service or Gravity.

Not too experienced with force, but I don't believe there are existing tests to update here? Plz LMK if there are some though!

👍 to returning to the status quo.


Add metric - subscribers per language

@imsickofmaps Please review.

:+1: if travis happy when the .only removed


Invalid Selector Passes - Change Text Inside an Element Using jQuery

Challenge Change Text Inside an Element Using jQuery has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

jQuery Playground

#left-well

        <button class="btn btn-default target" id="target1">#target1</button>
        <button class="btn btn-default target" id="target2">#target2</button>
        <button class="btn btn-default target" id="target3">#target3</button>

#right-well

        <button class="btn btn-default target" id="target4">#target4</button>
        <button class="btn btn-default target" id="target5">#target5</button>
        <button class="btn btn-default target" id="target6">#target6</button>

If challenge was looking for .text   the code would be fine.  With .html the code above should NOT have passed.

The tags would be rendered as text if using .text() was the correct answer.

@Brian13206 I'm not understanding the concern. The challenge asks to use the .html code to complete the challenge and your code correctly uses the .html method. Are you pointing at $(target4) and how this shouldn't be able to target the button at all?

@Brian13206 Closing as stale.
Please clarify in the comments below if you are not clear on this challenges instruction.

To claify,inaddition to the correct procedure ...an INCORRECT procedure will pass as well,which should have errored. I did and do understand the instructions. I was pointing out that passing what should have not passed might not be the best teaching method.

Okay, this is still not clear. :confused:
@erictleung says:

The challenge asks to use the .html code to complete the challenge and your code correctly **uses **the .html method

The tests state:

Make sure you are using .html() and **not **.text()

You state:

If challenge was looking for .text the code would be fine. With .html the code above should **NOT **have passed.

So are you stating that .html is NOT supposed to be used here? Meaning instructions are incorrect?

I ...don't enough to argue this..if you look at the code I said should not have passed(but did)..and say that that is also correct..I simply d
I stand by my original post.. I don't care enough to argue about a free program

Marking 2+2=5 as correct is a hole in the codes logic...you answer to that is well it asked you to add 2+2.....

@erictleung
I am afraid I now get what the issue creator actually meant, after checking your comment.

$(target4).html("#target4");

The tests should check this.

$("#target4").html("#target4");
do like this

$("#target4").html("#target4");
do like this

$(#target4).html("#target4");
add #

Ok...guys. I know how the correct code went. Thanks anyways..if you re-read the op you'll see that it was because incorrect code would also pass.

@Brian13206 @Saurabh-Bishnoi @bkayaarda Thanks, you are correct!


wagtailgmaps and "snippets"

Does this library work in both Pages and Snippets?
I'm trying to make it work into a Snippet and the Google Map does not appear...

Hi Christian. Yes it should work as long as your FieldPanel is nested in a MultiFieldPanel as mentioned somewhere in the docs.
Otherwise make sure  you include wagtailgmaps before all the wagtail.* apps in the INSTALLED_APPS definition of your settings.py.

@jordij Why?
Is needed put this in the lastest wagtail version?

@christiancabizza I'm not too sure at the moment. I'll update you on that matter as soon as I get a change to look at it.
@SalahAdDin This was because the project overwrites some wagtail templates. This is no longer the case as of f490c0be7a2539da26b063bdd3c81e4b0315a7b4.

This definitely works with snippets.
Example of an implementation we currently use:
from django.db import models
from wagtail.wagtailsnippets.models import register_snippet
from wagtailgmaps.edit_handlers import MapFieldPanel

@register_snippet
class Location(models.Model):
    address = models.CharField(max_length=255, blank=True)

    panels = [
        MapFieldPanel('address', classname="gmap"),
    ]

@loicteixeira Oh, thank you!


standardize blockquote styling & make simpler

Blockquotes should look the same everywhere, on all courses.
Designs and Mockups
As a first pass, just replicate the styling from Studio, i.e. a simple bar to the left of the blockquote text. For example:

Acceptance Criteria:

[ ] course-v2 theme only
[ ] Pure CSS implementation, applies to all <blockquote> tags
[ ] Works with output from ocw studio, and with instructor insights

Ferdi suggested we might want to go with a more toned-down style for the blockquotes, where we keep the same text styling as normal text and just do an indent + a visual element along the left hand side, similar to how

blockquotes here on Github are styled

@Wassaf-Shahzad what's the status for this?

@Wassaf-Shahzad what's the status for this?

This PR is on hold


[backport] Useful error message for parameterized tests

Backport of #3661

We should backport #3954 after merging this.

#3876, too.

LGTM!


Cater for fields which contain multiple values

e.g. the last few from this .dfn file:
DEFN 10 ST=RECD,RT=;HEIGHT:F10.2:NULL=-99999.99,UNIT=m,Laser altimeter measured height of Tx loop centre above ground
DEFN 11 ST=RECD,RT=;INVHEI:F10.2:NULL=-99999.99,UNIT=m,Calulated inversion height
DEFN 12 ST=RECD,RT=;DOI:F10.2:NULL=-99999.99,UNIT=m,Calculated depth of investigation
DEFN 13 ST=RECD,RT=;Elev:30F12.2:NULL=-9999999.99,UNIT=m,Elevation to the top of each layer
DEFN 14 ST=RECD,RT=;Con:30F15.5:NULL=-9999999.99999,UNIT=mS/m,Inverted Conductivity for each layer
DEFN 15 ST=RECD,RT=;Con_doi:30F15.5:NULL=-9999999.99999,UNIT=mS/m, Inverted conductivity for each layer, masked to the depth of investigation
DEFN 16 ST=RECD,RT=;RUnc:30F12.3:NULL=-999999.999,Relative uncertainty of conductivity layer;END DEFN

Remaining things which need to be fixed:

Allow the use of usecols kwarg to pandas (if 'Elev' is passed, then it needs to be expanded into 'Elev[0]' etc.)
Write regression tests for all aspects

Get two multidimensional field data - eg list of arrays - from one call to pandas
I am thinking gdf.get_fields()

Done - just regression tests and an additional kwarg  on engine.df needed now


Sponsors

Description
Added sponsors from this year, and removed images from last year. Also, after checking the mock-ups for the home page, and remembering feedback from last year (companies weren't happy that their logo wasn't being shown at all times), I decided to remove the carousel from the sponsors section. I'd like to get your feedback on this.
Tasks

[x] Remove sponsor images from last year
[x] Add sponsors available so far
[x] Remove carousel from sponsors section
[ ] Add BPI (logo is in .ai)
[ ] Add Jumia and Deloitte (logos not available)

There is a mistake with the gold sponsor, it is BPI not Accenture.
Also, I find it hard to differentiate between the different tiers of sponsors as they are all inside the same white background.

There is a mistake with the gold sponsor, it is BPI not Accenture.

According to the drive Accenture and BPI are both gold sponsors.

Also, I find it hard to differentiate between the different tiers of sponsors as they are all inside the same white background.

The mock-ups had the tiers differentiated by size and space between tiers. We can bring back the tier title we had last year, but I'd leave that decision to @SantosAntero.

According to the drive Accenture and BPI are both gold sponsors.

Oh ok, I was concerned since Accenture still wasn't announced in social media, is it expected to be announced before the website launches?

Even if it isn't, there isn't any problem with deploying it as it is, it's
no secret :smiley:
On Wed, Oct 7, 2020, 22:33 Moisés Rocha<EMAIL_ADDRESS>wrote:

According to the drive Accenture and BPI are both gold sponsors.
Oh ok, I was concerned since Accenture still wasn't announced in social
media, is it expected to be announced before the website launches?
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/semanadeinformatica/website-2020/pull/10#issuecomment-705206169,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIBRGRXN3H5XMVVXAA24QYLSJTND7ANCNFSM4SHHC36Q
.


Run tests on M1 MacOS runners

GitHub has introduced runners for M1 Macs.
We should consider adding them to the test matrix.
We should also discuss whether we want to test on the older Mac runners. the new M1 runners, or both.

I think both for now. Intel macs were still sold last year.

Crosslinking equivalent BrainGlobe issue

As I figured out in this movement PR, M1 runners can just be added to the test matrix on the package side, which makes sense, because each package should make that decision independently.
So, there is not much to do about it in this repo. We could close the issue, or we could simply add the M1 runner in the example workflow file here.


[MethodDataSource] analyzer improvement

Consider the following:
public sealed class Dummy
{
    [Test]
    [MethodDataSource(nameof(GetValues), Arguments = [new[] { 1, 2 }])]
    public async Task DoSomething(int value)
    {
    }

    public static IEnumerable<int> GetValues(IEnumerable<int> x) => x;
}

TUnit0006 is triggered on the method data source, even though int[] is assignable to IEnumerable<int>.

You can assign this to me


Gui doesn't reappear after reload

As the title says, the gui doesn't reappear after reloading mods. Rejoining the game fixes this.
I thought the issue might be caused due to the order in which the mods load, however after adding a dependency to vu-debug-gui the gui still doesn't reappear

Maybe you are registering some controls after they've been requested by the client.
I'll look into it but for now try calling DebugGUI:Show() after registering the controls.

I updated the code, download it from here if you want the precompiled ui.vuic. Please let me know if this fixed your issue.


Set up initial HTML

[ ] Initial setup (! Tab)
[ ] Set up Hero Bar (header with title)
[ ] Set up Form with text inputs
[ ] Set up first text input to receive city info
[ ] Set up second text input to receive star/planet/constellation name
[ ] Set up second text input to autocomplete above info
[ ] Set up results area to display screenshot and fact(s)

The autocomplete bullet point will be difficult to handle without a set list (array?) of stars, planets, and constellations from where we can get their names.  I could have sworn that we saw something in the documentation about autocomplete being a features for certain input fields in Bulma, but I have not seen it since Friday afternoon.


Fix #124

Fix #124
Refactor: return err with db.Close() method.
Added log printer after tearing down tests for showing network errors

Hi @ElecTwix , the changes look good.


[BUG] IKEA E1812 shortcut button does not use quirks

Describe the bug
I have two IKEA E1812 Tradfri shortcut buttons that started to behave differently. ZHA claims that they have the same firmware (I also bought them together), but they now have different clusters: The one that is not picked up correctly has an extra in_cluster with ID 0xfc7c in its device signature. This causes zhaquirks.ikea.shortcutbtn.IkeaTradfriShortcutBtn to not pick this button up, producing a Fail because input cluster mismatch on at least one endpoint message in the log.
The zha_event still fires as it should, so by using the raw event one can work around this, but maybe there's a way to get the quirks to work.
To Reproduce

pair a shortcut button that has the 0xfc7c input cluster
go to the device page and see that no quirks are applied
try to add an automation, see that triggers for button press are missing

(Unfortunately I have no clue what caused the two buttons to present different signatures)
Expected behavior
The quirks should still apply
Additional context
signature of the button with the extra cluster (this is the only difference between my buttons)
EDIT: The WindowCovering output cluster is also missing on the weird button
{
  "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4476, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
  "endpoints": {
    "1": {
      "profile_id": 260,
      "device_type": "0x0820",
      "in_clusters": [
        "0x0000",
        "0x0001",
        "0x0003",
        "0x0009",
        "0x0020",
        "0x1000",
        "0xfc7c"
      ],
      "out_clusters": [
        "0x0003",
        "0x0004",
        "0x0006",
        "0x0008",
        "0x0019",
        "0x1000"
      ]
    }
  },
  "manufacturer": "IKEA of Sweden",
  "model": "TRADFRI SHORTCUT Button",
  "class": "zigpy.device.Device"
}

The IKEA manufacture cluster is one real mystery !!
The E1812 dont need it then its not being used for pairing devices with touch link (Ikea pairing).
I can being that the factory have doing bad data settings in the device and its working different, It have happening with the Open/Close button and some lights before.
Im curious which version your devices is having and if updating then can helping (if not on the last version).
(dont configure IKEA OTA if you have other controllers then they is loosing group binding if being updated to last firmware)
The "strange" one shall working OK but  you is getting 1/2 battery and no device automations then the quirk is not loading.
You can doing one more device class in the quirk with the same as the normal and adding the missing cluster and it shall working.
Also possible flashing one working "user data" = hardware config in the device with SWD probe but its little to advance for most user.
(I have one working and have dumped all flash and also reflashing it with older FW and its working OK)

Both of the buttons run the 0x23080631 firmware (different FW was my first thought as well, but that doesn't seem to be the case). The zigpy logs say that this is the newest version when I try to force an update. Maybe a botched firmware update?
The quirk definitely didn't load. The signature shows zigpy.device.Device as the class, I'm seeing incorrect battery readings, and triggers don't work.
I have the necessary equipment to dig into this with SWD, but I'm afraid I'll not have the time for this for a while, especially if adding an extra quirk fixes things on the software side.

SWD flashing  is only some minutes is having one working probe and some cables that is fitting the test points. Look on this https://github.com/zigpy/zigpy/discussions/660#discussioncomment-1563280.
You only need on user data" that you can getting from my or you is dumping it for the working one.
But i think its easier installing one patches local quirk for your device that adding  one device class with  the extra cluster. I have making one that  you can testing by configuring local quirks in HA and putting the file in the quirk folder.
Instruction for local quirk: https://github.com/zigpy/zha-device-handlers/discussions/693#discussioncomment-857274
Patched quirk:
shortcutbtn2.zip
Unzip the quirk and putting it in the local quirk derectory and restarting HA.

Oh this is awesome, thank you so much! With the instructions for the local quirk it works flawlessly!
I had to make one minor change, since I missed an extra difference yesterday -- the "weird" button also doesn't have the WindowCovering output cluster, so I had to remove that from the signature.

My bad i was not looking thru you log as i was doing yesterday and was missing it :-((
Great that you was fixing it !!
If no more user is having the problem we can letting it there and you is having the local quirk for getting it working OK and its not being away then updating  HA.
If more user is having the problem i think its better making one PR for adding the "weird" version of the device in the main branch.

Hi,
I have the same problem, 1 button works and the other button does not.
The button that doesn't work has been updated with the Tradfri gateway. The other button that does work comes straight out of the package.
manufacturer_specific:0xFC7C and no WindowCovering.
Thanks for this solution.

I have two buttons here, both report firmware 0x23080631. One is showing the "weird" behavior and one works as expected. So whatever the difference is, the FW seems not to be the cause. However I can confirm that the patched quirk, with everything related to WindowCovering removed, fixes the issue for me.

Hi everyone.
So glad I found this thread :)
Also been pulling my hair out with the shortcut button. I updated the firmware on it, and I can get events but no trigger actions. I guess it's the exact same issue here.
What's the solution? use the local quirk mentioned? @RenWal  can you provide the final working file?
Thanks.

shortcutbtn_extracluster_fixed.zip

shortcutbtn_extracluster_fixed.zip

I'm very new to ZigBee, but having issues with these shortcut buttons showing up in HA, but not creating zha_event events when you press the button, so wanted to try the local quirk fix.  Is the .py file in your zip the file that I should put in /config/custom_zha_quirks/ directory?

If you is getting  "class": "zigpy.device.Device" on the device card / device signature  = no name of the device in the quirk then the system have not matching the quirk and mot loading it.
Both posted quirks is zipped and need being unzipped and putting in the local quirk folder.
If your device have one quirk loaded and not getting any zha_events try using "configure device" from the device card and its fixing the binding and reporting (dont forgetting waking up the device the sending commands to it).

The fixed quirk does fix my buttons not registering press events with HA after they were updated to 2.3.080.

@RenWal  Its looks its more the only some device with different setting that is making problems for user and its looks the updated signature is working well for this user.
Do like making one PR for adding it as one alternative version (IkeaTradfriShortcutBtn2 ?)so user dont need adding local quirks in the future ?
If you dont like i can doing it but i have not one device with the strange setting for testing and its better then have it verified for getting merged.


yadcf mdbootstrap compatibility

Apparently, yadcf does not integrate well with material design bootstrap.
when using the "mdb-select" style class for a "multi_select" filter, i get very strange behaviors. The options for the dropdown never populate, and the checkboxes dont work.
I'm trying to achieve the "standard multiselect" style as shown in the example on this page ---->
https://mdbootstrap.com/docs/jquery/forms/multiselect/
yadcf.init(table, [
{
column_number: 1,
filter_type: "multi_select",
filter_reset_button_text: false,
style_class: "mdb-select",
}];
$('.mdb-select').materialSelect();

@user199226 please read about initSelectPluginCustomTriggers first and play with it... then in case of issue post a link to a test case


docs: Format auto-generated docs for Hugo

This PR should be merged after the website conversion PR. It will format the auto-generated documentation for Hugo instead of Docusaurus.

Superceded by #2315


Scrolling for layer panel

Hi,
Is there a way to scroll down the layer panel when we have a lot of layers?
Thanks,
Daniel

I think it is a bad idea to add so many layers.  Try out the timeseries inspector and time slider.

https://geemap.org/notebooks/20_timeseries_inspector
https://geemap.org/notebooks/62_time_slider


[Refactoring] Simplify in doc.c

Points:

In emitComment and emitDitto, highlightCode is unnecessarily conditionally called. Remove the conditions will make code flow simpler.
Change eponymous template handling to be consistent.

Additionally fix code indentation.

Required by #4632 and further ddoc improvements - I'm working on enhancement 13270.

lgtm according to my sketchy understanding of the code involved

@WalterBright I removed local scope additions that you don't like. Is this OK to merge?

Auto-merge toggled on

Thank you, Kenji!

Thanks for toggling auto-merge, but currently it doesn't work because it's blocked by the random druntime failure...

This pull request introduced a regression:
https://issues.dlang.org/show_bug.cgi?id=14594


Adding checkstyle write-mode?

I couldn't find any previous issues about this, but was wondering if there was any interest in adding a checkstyle write mode?
Checkstyle is an XML output format that is supported by a number of continuous integration tools like Jenkins, and would allow rustfmt to easily integrate with plugins like Violations or Checkstyle. It would also provide a machine readable output for rustfmt.
If there is interest in this, I'm happy to try and implement this write mode.

Sure, that sounds like it would be great to have!

Cool, I'll try to cobble something together.

This is related to https://github.com/rust-lang-nursery/rustfmt/issues/656
Regarding the format, unified diff format is a popular one: https://www.artima.com/weblogs/viewpost.jsp?thread=164293

This is related to https://github.com/rust-lang-nursery/rustfmt/issues/656
Regarding the format, unified diff format is a popular one: https://www.artima.com/weblogs/viewpost.jsp?thread=164293

I've made some progress on this. I just have to address XML entity encoding and then I will be able to put a pull request up for review. I'm also happy to poke at outputting a unified diff format after getting a yes/no on the checkstyle output.

I've made some progress on this. I just have to address XML entity encoding and then I will be able to put a pull request up for review. I'm also happy to poke at outputting a unified diff format after getting a yes/no on the checkstyle output.

I think this can be closed now.

This is great.
But when Rustfmt failed, it writes the logs to stdout which makes it hard to parse checkstyle xml ouput because checkstyle output is on stdout too.

BTW, I think when write mode is checkstyle, rustfmt should act like a code linter and it shouldn't fail when line exceeded maximum length occurred.

@messense The fail messages must be a more recent change. I don't remember seeing those when I worked on the checkstyle output.


[        ] [ 35%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/App.framework/flutter_assets/Resources/Images/flags/gb.png to device
[        ] [ 35%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/App.framework/flutter_assets/Resources/Images/flags/sg.png to device
[        ] [ 36%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/App.framework/flutter_assets/Resources/Images/flags/se.png to device
[        ] [ 36%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/App.framework/flutter_assets/Resources/Images/flags/jp.png to device
[        ] [ 36%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/App.framework/flutter_assets/Resources/Images/flags/hu.png to device
[        ] [ 36%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/App.framework/flutter_assets/Resources/Images/flags/kz.png to device
[        ] [ 36%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/App.framework/flutter_assets/Resources/Images/flags/ro.png to device
[        ] [ 36%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/App.framework/flutter_assets/Resources/Images/flags/eu.png to device
[        ] [ 36%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/App.framework/flutter_assets/Resources/Images/flags/tm.png to device
[        ] [ 36%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/App.framework/flutter_assets/Resources/Images/flags/am.png to device
[        ] [ 37%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/App.framework/flutter_assets/Resources/Images/flags/az.png to device
[        ] [ 37%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/App.framework/flutter_assets/Resources/Images/flags/br.png to device
[        ] [ 37%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/App.framework/flutter_assets/Resources/Images/flags/ca.png to device
[        ] [ 37%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/App.framework/flutter_assets/Resources/Images/flags/uz.png to device
[        ] [ 37%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/App.framework/flutter_assets/Resources/Images/flags/bg.png to device
[        ] [ 37%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/App.framework/flutter_assets/Resources/Images/flags/za.png to device
[        ] [ 37%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/App.framework/flutter_assets/Resources/Images/flags/tj.png to device
[        ] [ 38%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/App.framework/flutter_assets/Resources/Images/clear.png to device
[        ] [ 38%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/App.framework/flutter_assets/Resources/Images/tab_calc.png to device
[        ] [ 38%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/App.framework/flutter_assets/Resources/Images/apple.png to device
[        ] [ 38%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/App.framework/flutter_assets/Resources/Images/star.png to device
[        ] [ 38%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/App.framework/flutter_assets/Resources/Images/1px-clear.png to device
[        ] [ 38%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/App.framework/flutter_assets/Resources/Images/oil64.png to device
[        ] [ 38%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/App.framework/flutter_assets/AssetManifest.json to device
[        ] [ 38%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/App.framework/flutter_assets/kernel_blob.bin to device
[ +604 ms] [ 43%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/App.framework/flutter_assets/FontManifest.json to device
[        ] [ 43%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/App.framework/flutter_assets/packages/ to device
[        ] [ 43%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/App.framework/flutter_assets/packages/cupertino_icons/ to device
[        ] [ 43%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/App.framework/flutter_assets/packages/cupertino_icons/assets/ to device
[        ] [ 43%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/App.framework/flutter_assets/packages/cupertino_icons/assets/CupertinoIcons.ttf to device
[   +2 ms] [ 43%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/App.framework/flutter_assets/fonts/ to device
[        ] [ 43%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/App.framework/flutter_assets/fonts/MaterialIcons-Regular.ttf to device
[   +1 ms] [ 43%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/App.framework/Info.plist to device
[        ] [ 44%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/libswiftDarwin.dylib to device
[  +13 ms] [ 44%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/libswiftQuartzCore.dylib to device
[  +53 ms] [ 44%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/libswiftCoreAudio.dylib to device
[  +12 ms] [ 44%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/libswiftAVFoundation.dylib to device
[  +58 ms] [ 45%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/libswiftFoundation.dylib to device
[ +295 ms] [ 47%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/libswiftCoreMedia.dylib to device
[  +10 ms] [ 48%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/libswiftSwiftOnoneSupport.dylib to device
[ +104 ms] [ 48%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Frameworks/libswiftsimd.dylib to device
[  +66 ms] [ 49%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/AppIcon20x20~ipad.png to device
[        ] [ 49%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/embedded.mobileprovision to device
[        ] [ 49%] Copying<EMAIL_ADDRESS>to device
[        ] [ 49%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/Info.plist to device
[        ] [ 49%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/PkgInfo to device
[        ] [ 49%] Copying /Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app/AppIcon76x76~ipad.png to device
[ +396 ms] [ 52%] CreatingStagingDirectory
[        ] [ 57%] ExtractingPackage
[        ] [ 60%] InspectingPackage
[  +61 ms] [ 60%] TakingInstallLock
[  +17 ms] [ 65%] PreflightingApplication
[   +4 ms] [ 65%] InstallingEmbeddedProfile
[        ] [ 65%] InstallingEmbeddedProfile
[  +14 ms] [ 70%] VerifyingApplication
[ +116 ms] [ 75%] CreatingContainer
[   +6 ms] [ 80%] InstallingApplication
[   +8 ms] [ 85%] PostflightingApplication
[  +10 ms] [ 90%] SandboxingApplication
[  +43 ms] [ 95%] GeneratingApplicationMap
[  +86 ms] [100%] Installed package build/ios/iphoneos/Runner.app
[ +403 ms] ------ Debug phase ------
[        ] Starting debug of 6b3c1596d17dad9b8728abe8f280c6362c483281 (N69AP, iPhone SE, iphoneos, arm64) a.k.a. 'iPhone' connected through USB...
[ +368 ms] [  0%] Looking up developer disk image
[  +19 ms] [ 95%] Developer disk image mounted successfully
[ +199 ms] [100%] Connecting to remote debug server
[        ] -------------------------
[  +29 ms] (lldb) command source -s 0 '/tmp/E76FBCA2-6E8C-4247-9D33-CCDAE2EF9FCD/fruitstrap-lldb-prep-cmds-6b3c1596d17dad9b8728abe8f280c6362c483281'
[        ] Executing commands in '/tmp/E76FBCA2-6E8C-4247-9D33-CCDAE2EF9FCD/fruitstrap-lldb-prep-cmds-6b3c1596d17dad9b8728abe8f280c6362c483281'.
[        ] (lldb)     platform select remote-ios --sysroot '/Users/aleks/Library/Developer/Xcode/iOS DeviceSupport/12.1.1 (16C50)/Symbols'
[        ]   Platform: remote-ios
[        ]  Connected: no
[        ]   SDK Path: "/Users/aleks/Library/Developer/Xcode/iOS DeviceSupport/12.1.1 (16C50)/Symbols"
[        ] (lldb)     target create "/Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app"
[+5805 ms] Current executable set to '/Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos/Runner.app' (arm64).
[        ] (lldb)     script fruitstrap_device_app="/private/var/containers/Bundle/Application/B12185EF-E645-4EF0-9FD8-9005AEBA9306/Runner.app"
[        ] (lldb)     script fruitstrap_connect_url="connect://<IP_ADDRESS>:50419"
[        ] (lldb)     target modules search-paths add /usr "/Users/aleks/Library/Developer/Xcode/iOS DeviceSupport/12.1.1 (16C50)/Symbols/usr" /System "/Users/aleks/Library/Developer/Xcode/iOS DeviceSupport/12.1.1 (16C50)/Symbols/System" "/private/var/containers/Bundle/Application/B12185EF-E645-4EF0-9FD8-9005AEBA9306" "/Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos" "/var/containers/Bundle/Application/B12185EF-E645-4EF0-9FD8-9005AEBA9306" "/Users/aleks/Projects/Flutter/currency_courses/build/ios/iphoneos" /Developer "/Users/aleks/Library/Developer/Xcode/iOS DeviceSupport/12.1.1 (16C50)/Symbols/Developer"
[  +94 ms] (lldb)     command script import "/tmp/E76FBCA2-6E8C-4247-9D33-CCDAE2EF9FCD/fruitstrap_6b3c1596d17dad9b8728abe8f280c6362c483281.py"
[   +3 ms] (lldb)     command script add -f fruitstrap_6b3c1596d17dad9b8728abe8f280c6362c483281.connect_command connect
[        ] (lldb)     command script add -s asynchronous -f fruitstrap_6b3c1596d17dad9b8728abe8f280c6362c483281.run_command run
[        ] (lldb)     command script add -s asynchronous -f fruitstrap_6b3c1596d17dad9b8728abe8f280c6362c483281.autoexit_command autoexit
[        ] (lldb)     command script add -s asynchronous -f fruitstrap_6b3c1596d17dad9b8728abe8f280c6362c483281.safequit_command safequit
[        ] (lldb)     connect
[  +26 ms] (lldb)     run
[ +206 ms] success
[        ] (lldb)     safequit
[ +111 ms] Process 16447 detached
[  +50 ms] Application launched on the device. Waiting for observatory port.
[ +215 ms] Configuring the default Firebase app...
[ +119 ms] Configured the default Firebase app __FIRAPP_DEFAULT.
[ +112 ms] Observatory URL on device: http://<IP_ADDRESS>:50621/
[   +1 ms] attempting to forward device port 50621 to host port 1024
[        ] executing: /usr/local/bin/iproxy 1024 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[   +7 ms] 5.17.0 - [Firebase/Core][I-COR000004] App with name __FIRAPP_DEFAULT does not exist.
[        ] 5.17.0 - [Firebase/Messaging][I-FCM001000] FIRMessaging Remote Notifications proxy enabled, will swizzle remote notification receiver handlers. If you'd prefer to manually integrate Firebase Messaging, add "FirebaseAppDelegateProxyEnabled" to your Info.plist, and set it to NO. Follow the instructions at:
[        ] https://firebase.google.com/docs/cloud-messaging/ios/client#method_swizzling_in_firebase_messaging
[        ] to ensure proper integration.
[   +3 ms] attempting to forward device port 50621 to host port 1025
[        ] executing: /usr/local/bin/iproxy 1025 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[   +6 ms] attempting to forward device port 50621 to host port 1026
[        ] executing: /usr/local/bin/iproxy 1026 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[   +5 ms] attempting to forward device port 50621 to host port 1027
[        ] executing: /usr/local/bin/iproxy 1027 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[   +7 ms] 5.17.0 - [Firebase/Analytics][I-ACS023007] Analytics v.50600000 started
[        ] 5.17.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
[   +1 ms] attempting to forward device port 50621 to host port 1028
[        ] executing: /usr/local/bin/iproxy 1028 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[   +5 ms] attempting to forward device port 50621 to host port 1029
[        ] executing: /usr/local/bin/iproxy 1029 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[   +6 ms] attempting to forward device port 50621 to host port 1030
[        ] executing: /usr/local/bin/iproxy 1030 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[   +6 ms] attempting to forward device port 50621 to host port 1031
[        ] executing: /usr/local/bin/iproxy 1031 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[   +5 ms] attempting to forward device port 50621 to host port 1032
[        ] executing: /usr/local/bin/iproxy 1032 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[   +6 ms] attempting to forward device port 50621 to host port 1033
[        ] executing: /usr/local/bin/iproxy 1033 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[   +5 ms] attempting to forward device port 50621 to host port 1034
[        ] executing: /usr/local/bin/iproxy 1034 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[   +6 ms] attempting to forward device port 50621 to host port 1035
[        ] executing: /usr/local/bin/iproxy 1035 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[   +6 ms] attempting to forward device port 50621 to host port 1036
[        ] executing: /usr/local/bin/iproxy 1036 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[   +6 ms] attempting to forward device port 50621 to host port 1037
[        ] executing: /usr/local/bin/iproxy 1037 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[   +9 ms] attempting to forward device port 50621 to host port 1038
[        ] executing: /usr/local/bin/iproxy 1038 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[   +6 ms] attempting to forward device port 50621 to host port 1039
[        ] executing: /usr/local/bin/iproxy 1039 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[   +7 ms] attempting to forward device port 50621 to host port 1040
[        ] executing: /usr/local/bin/iproxy 1040 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[   +5 ms] attempting to forward device port 50621 to host port 1041
[        ] executing: /usr/local/bin/iproxy 1041 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[   +5 ms] attempting to forward device port 50621 to host port 1042
[        ] executing: /usr/local/bin/iproxy 1042 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[   +7 ms] attempting to forward device port 50621 to host port 1043
[        ] executing: /usr/local/bin/iproxy 1043 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[   +5 ms] attempting to forward device port 50621 to host port 1044
[        ] executing: /usr/local/bin/iproxy 1044 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[   +6 ms] attempting to forward device port 50621 to host port 1045
[        ] executing: /usr/local/bin/iproxy 1045 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[   +5 ms] attempting to forward device port 50621 to host port 1046
[        ] executing: /usr/local/bin/iproxy 1046 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[   +5 ms] attempting to forward device port 50621 to host port 1047
[        ] executing: /usr/local/bin/iproxy 1047 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[   +6 ms] attempting to forward device port 50621 to host port 1048
[        ] executing: /usr/local/bin/iproxy 1048 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[   +5 ms] attempting to forward device port 50621 to host port 1049
[        ] executing: /usr/local/bin/iproxy 1049 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[   +5 ms] attempting to forward device port 50621 to host port 1050
[        ] executing: /usr/local/bin/iproxy 1050 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[   +6 ms] attempting to forward device port 50621 to host port 1051
[        ] executing: /usr/local/bin/iproxy 1051 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[   +5 ms] attempting to forward device port 50621 to host port 1052
[        ] executing: /usr/local/bin/iproxy 1052 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[  +12 ms] attempting to forward device port 50621 to host port 1053
[        ] executing: /usr/local/bin/iproxy 1053 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[  +12 ms] attempting to forward device port 50621 to host port 1054
[        ] executing: /usr/local/bin/iproxy 1054 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[   +5 ms] attempting to forward device port 50621 to host port 1055
[        ] executing: /usr/local/bin/iproxy 1055 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[   +7 ms] attempting to forward device port 50621 to host port 1056
[        ] executing: /usr/local/bin/iproxy 1056 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[   +7 ms] attempting to forward device port 50621 to host port 1057
[        ] executing: /usr/local/bin/iproxy 1057 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[   +6 ms] attempting to forward device port 50621 to host port 1058
[        ] executing: /usr/local/bin/iproxy 1058 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[   +7 ms] attempting to forward device port 50621 to host port 1059
[        ] executing: /usr/local/bin/iproxy 1059 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[   +5 ms] attempting to forward device port 50621 to host port 1060
[        ] executing: /usr/local/bin/iproxy 1060 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[   +7 ms] attempting to forward device port 50621 to host port 1061
[        ] executing: /usr/local/bin/iproxy 1061 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[   +5 ms] attempting to forward device port 50621 to host port 1062
[        ] executing: /usr/local/bin/iproxy 1062 50621 6b3c1596d17dad9b8728abe8f280c6362c483281
[+1008 ms] Forwarded port ForwardedPort HOST:1062 to DEVICE:50621
[        ] Forwarded host port 1062 to device port 50621 for Observatory
[   +5 ms] Connecting to service protocol: http://<IP_ADDRESS>:1062/
[ +167 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:1062/
[   +2 ms] Sending to VM service: getVM({})
[   +7 ms] Result: {type: VM, name: vm, architectureBits: 64, targetCPU: dbc, hostCPU: Unknown, version: 2.1.2-dev.0.0.flutter-0a7dcf17eb (Tue Feb 12 01:59:15 2019 +0000) on "ios_dbc", _profilerMode: VM, _nativeZoneMemoryUsage: 0, pid: 16447, startTime:<PHONE_NUMBER>12...
[   +5 ms] Sending to VM service: getIsolate({isolateId: isolates/166702821})
[   +2 ms] Sending to VM service: _flutter.listViews({})
[   +4 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0x121d0c918, isolate: {type: @Isolate, fixedId: true, id: isolates/166702821, name: main.dart$main-166702821, number: 166702821}}]}
[   +6 ms] DevFS: Creating new filesystem on the device (null)
[        ] Sending to VM service: _createDevFS({fsName: currency_courses})
[  +32 ms] Result: {type: Isolate, fixedId: true, id: isolates/166702821, name: main.dart:main(), number: 166702821, _originNumber: 166702821, startTime:<PHONE_NUMBER>147, _heaps: {new: {type: HeapSpace, name: new, vmName: Scavenger, collections: 0, avgCollectionPeriod...
[   +9 ms] Result: {type: FileSystem, name: currency_courses, uri: file:///private/var/mobile/Containers/Data/Application/263E4C7D-1637-4C9F-A8FE-765FB02A245F/tmp/currency_coursesHAeAZO/currency_courses/}
[        ] DevFS: Created new filesystem on the device (file:///private/var/mobile/Containers/Data/Application/263E4C7D-1637-4C9F-A8FE-765FB02A245F/tmp/currency_coursesHAeAZO/currency_courses/)
[   +2 ms] Updating assets
[ +189 ms] DevFS: Starting sync from LocalDirectory: '/Users/aleks/Projects/Flutter/currency_courses'
[        ] Scanning project files
[   +7 ms] Scanning package files
[ +111 ms] Scanning asset files
[   +3 ms] Scanning for deleted files
[  +14 ms] Compiling dart to kernel with 647 updated files
[   +5 ms] /Users/aleks/Documents/flutter/bin/cache/dart-sdk/bin/dart /Users/aleks/Documents/flutter/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root /Users/aleks/Documents/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --strong --target=flutter --output-dill build/app.dill.track.dill --packages /Users/aleks/Projects/Flutter/currency_courses/.packages --track-widget-creation
[+1399 ms] Updating files
[ +117 ms] DevFS sync failed. Lost connection to device: SocketException: OS Error: Connection reset by peer, errno = 54, address = <IP_ADDRESS>, port = 50436
Exited (sigterm)

Here is Dart Capture Logs result
1111.txt

By the way. After closing VS Code I still see many processes iproxy, dart, and others

[   +5 ms] /Users/aleks/Documents/flutter/bin/cache/dart-sdk/bin/dart /Users/aleks/Documents/flutter/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root /Users/aleks/Documents/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --strong --target=flutter --output-dill build/app.dill.track.dill --packages /Users/aleks/Projects/Flutter/currency_courses/.packages --track-widget-creation
[+1399 ms] Updating files
[ +117 ms] DevFS sync failed. Lost connection to device: SocketException: OS Error: Connection reset by peer, errno = 54, address = <IP_ADDRESS>, port = 50436

Seems like the connection is being lost with the device, I'm not sure what could be causing that. Could you try temporarily switching to the beta channel and seeing if you still it there on newer code?

I am having the same problem. The problem seems to be the same. It just loses connection to the server.
I see this line a bunch of times -
[1:05:14 PM] [Analyzer] [Info] <== {"event":"server.status","params":{"analysis":{"isAnalyzing":true}}}
and then it ends with
[1:05:14 PM] [Analyzer] [Info] <== {"event":"server.status","params":{"analysis":{"isAnalyzing":false}}}
This is where it terminates. Is there a solution to this?

@SidhantUnnithan this issue is about Flutter losing its connection to the device, but the snippets from your logs are for the analysis server. If your issue is different, please open a new issue. If it's related to the analysis server, please open it in the https://github.com/Dart-Code/Dart-Code repo.
@alex9153 there are somefixes in the next version of Dart-Code that may fix issues with process not being cleaned up correctly - please try the build from https://github.com/Dart-Code/Dart-Code/releases/tag/v3.3.0-beta.3 and see if it solves your issue.

@alex9153 I got a solution for this issue. I fixed it by simply running the app on another Virtual Device. Just make a new Virtual Device with Android Pie (API 28 - this one worked for me) and run your app in debugging mode from VS Code.
This fixed the issue. However, there doesn't seem to be an explanation as to why it isn't working with specific APIs.

@SidhantUnnithan if you previously were using API29, there's an open issue about that at https://github.com/flutter/flutter/issues/33050.

@DanTup Thank you for letting me know about that. I am also trying to figure out as to what is the root cause of this issue.

Feel free to close this issue if it's related to the emulator running Android Q.

@alex9153 does switching to API v29 solve your issue? If so, we should close this as a dupe of #33050.
@SidhantUnnithan If you mean the API 29 issue, see #33050 - the issue is understood and has been fixed in latest builds (though I don't know how accessible they  are yet - some people seem to have them and the issue is gone, but others don't seem to be able to).

Please reopen this. I keep seeing this and it's killing my time. Sometimes it takes hours before I can finally deploy an debug (killall dart, killall iproxy, restarting....).
Launching lib/main.dart on xxxxx's iPhone in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: 9Z2E3PCTD6
Xcode build done.                                           90.5s
Exited (sigterm)

How do I at least configure VSC plugin to run flutter with -v and output complete log? I tried logging  to log file, but it's not verbose at all.
Flutter doctor is ok. usbmuxd has been updated to supposedly fixed version. Sorry, but as awesome as flutter is, tooling sucks (for me).
[✓] Flutter (Channel stable, v1.9.1+hotfix.2, on Mac OS X 10.13.6 17G3025,
    locale en-SI)
    • Flutter version 1.9.1+hotfix.2 at
      /Volumes/DataHD/MacOs/xxxxxx/Developer/flutter
    • Framework revision 2d2a1ffec9 (4 weeks ago), 2019-09-06 18:39:49 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.1)
    • Android SDK at /Users/xxxxxx/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling
      support)
    • Platform android-29, build-tools 29.0.1
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    • CocoaPods version 1.7.5

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 39.0.3
    • Dart plugin version 191.8423
    • Java version OpenJDK Runtime Environment (build
      1.8.0_202-release-1483-b49-5587405)

[✓] IntelliJ IDEA Community Edition (version 2019.1.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 37.1.3
    • Dart plugin version 191.7830

[✓] VS Code (version 1.38.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.5.1

[✓] Connected device (1 available)
    • xxxxxx's iPhone • 6e17b7d8fe5061131b05a3564cf3b041e3fb3a86 • ios • iOS
      12.4.1

• No issues found!

@TheKashe there are several different issues discussed in this issue so please open a new issue rather than re-opening this one to avoid any confusion.
To generate a full log in VS Code you can run the Dart: Capture Logs command. You probably want to tick only Flutter Run and Observatory/Debugger options. Then run your app with F5, and it will capture the logs. When you click Cancel on the logging dialog, it'll open up the log file, and you can copy/paste it into a Gist or similar to post the link in an issue.

This seems to be an issue with VS Code for me, and was able to run my app using flutter run. Restarting your computer should resolve the issue.

@alex9153
https://medium.com/front-end-weekly/how-to-test-your-flutter-ios-app-on-your-ios-device-75924bfd75a8#:~:text=You need to go to,app on your local device.

flutter clean  solve my problem


[DPG] Full CADL-Ranch coverage

Title is self explanatory :)

Note: One blocker I can see to reach to 100% coverage is that some cases not applicable to specific language, like model Inheritance for .net and java, fixed enum putUnknown for java etc.

Another is possible wrong mockapi. I am still waiting this fix to be released to enable some tests https://github.com/Azure/cadl-ranch/pull/249
@haolingdong-msft But just start with things that works.

Another is some wrong mockapi. e.g. I am still waiting this fix to be released to enable some tests Azure/cadl-ranch#249
@haolingdong-msft But just start with things that works.

of course, I will start on the workable ones.

@haolingdong-msft
Enums/Fixed/putUnknownValue
this is just compile error?

@haolingdong-msft
Enums/Fixed/putUnknownValue
this is just compile error?

Yes, in other word, we just don't allow passing unkown value to fixed enum: https://github.com/Azure/autorest.java/blob/main/typespec-tests/src/test/java/com/enums/fixed/FixedClientTest.java#L26

Hi @XiaofeiCao, could you please try to add more cadl-ranch cases, https://azure.github.io/cadl-ranch/ this report shows the tests we don't supoprt yet.

@haolingdong-msft please be more specific, as you are familiar with this. Please just list the row that you want Xiaofei to help.

@haolingdong-msft please be more specific, as you are familiar with this. Please just list the row that you want Xiaofei to help (and exclude things that known not work).
I know Dictionary -> NullableFloatValue does not work.

Update on  my comment above.

I think I said Dictionary -> NullableFloatValue not work?

Does Resiliency work?

@weidongxu-microsoft  These are in Not workable ones list.

Ok, so we had more not workable than TODO...
For Internal, anyone does this https://github.com/Azure/autorest.java/issues/2067 will add it.

For Models/Property/Nullable, I'll wait for their release. Last release was 10 days ago.
I'll take Internal first.

This one actually not added test https://github.com/Azure/cadl-ranch/tree/main/packages/cadl-ranch-specs/http/server/path
please wait for PR https://github.com/Azure/autorest.java/pull/2074, as cadl-ranch 0.11 changed some of it


Error in init container

Nginx ingress controller is already installed as well. Now trying to install the gateway on the same cluster but getting this error in init container (busybox):
mkdir: can't create directory '/etc/nginx/conf.d': File exists
mkdir: can't create directory '/etc/nginx/secrets': File exists

Aha! Link: https://nginx.aha.io/features/NKG-49

I have the same error on one node cluster, Nginx gateway works fine, but the moment I restart the machine, exactly this error appears and you have to delete the deployment object to regenerate again and then it works

Hi @mehrdadsilver
I wasn't able to reproduce this issue on Kind. Can you provide the following information:

Version of the NGINX Kubernetes Gateway - release version or a specific commit. The first line of the nginx-gateway container logs includes the commit info.
Version of NGINX Ingress Controller
Version of Kubernetes
Kubernetes platform (e.g. Mini-kube or GCP)
Steps to reproduce

Thanks!

@growdelan this commit should fix the restart error.

@mehrdadsilver are you still experiencing this issue?


Uploads with multipart

Uploads with multipart instead of sending bytes
#[server(input = MultipartFormData,)]
pub async fn upload_file(data: MultipartData) -> Result<(), ServerFnError> {

https://github.com/leptos-rs/leptos/blob/main/examples/server_fns_axum/src/app.rs#L470
https://github.com/leptos-rs/leptos/issues/2616

not planned for now, as current approach works


Blinded signatures revision

As it is right now, the commitment mechanic (blinded signatures) could lead to some inconsistencies and possible forged signatures. For example, if the Issuer signs the messages m1, m2, a "standard" (non-blinded) signature would be, (A, e, s) with
A = (g0 + h0 * s + h1 * m1 + h2 * m2)*(1/(SK+e))

If the Holder commits a message m3 using h1, i.e.,
commit = h0 * s’ + h1 * m3

The blinded signature, created by the Issuer, would be
A_blind = (commit + g0 + h0 * s + h1 * m1 + h2 * m2)*(1/(SK+e)) =
  = (g0 + h0 * (s+s’) + h1 * (m1+m3) + h2 * m2) * (1/(SK+e)).

Notice that (A_blind, s+s’, e) is a valid BBS+ signature in the messages (m1+m3) and m2, which is not the desired outcome and a potential forgery (A_blind, s, s’ and e are known to the Holder).
The main problem is that currently there is no mechanism for the Issuer to validate that the Holder does not create commitments using the same G2 elements as themself (h1 in the example above). My proposal is (at least for now) to define a blinded signature that would only contain committed from the Holder messages.

This is exactly why the commitment proof of knowledge needs to be verified by the issuer prior to creating a signature using the commitment.

Thank you for your answer. I had misunderstood BlindMessagesProofGen. I think we should also mention that the Issuer should check that the used generators for the commitment are not also used for the signature, (i don't think it would be obvious to an implementer). I can make a pr for that and i think we can close this issue.


update readme to included external storage

I'm using a Hap ax3 and the internal storage wasn't enough to unpack the container. I looked at the logs and saw the error no space to extract layer.
Following this guide I set up external storage using the following command.
https://help.mikrotik.com/docs/display/ROS/Disks
/disk format-drive usb1 file-system=ext4 label=usb-flash mbr-partition-table=yes

I then had to adjust the mount command to point to the external usb.
/container mounts
add name="tailscale" src="usb1-part1/tailscale" dst="/var/lib/tailscale"

And I had to adjust the container create command to point to the external usb.
/container add remote-image=fluent-networks/tailscale-mikrotik:latest interface=veth1 envlist=tailscale root-dir=usb1-part1/containers/tailscale mounts=tailscale start-on-boot=yes hostname=mikrotik dns=<IP_ADDRESS>,<IP_ADDRESS>

Hi
Thanks for that, I'll include a link to the external storage page.
To use external storage for unpacking see Step 6a (in your case tmpdir=usb1-part1/pull):
set registry-url=https://ghcr.io tmpdir=disk1/pull

The mount hopefully should be fine as as it only uses a small amount of storage:
bash-5.1#  du -sk /var/lib/tailscale/
24	/var/lib/tailscale/

README updated in 0.1.25


Update docs for github.com being down

Disabling security is trivial in newer versions of Jenkins, so this should be our emergency process if github.com is down. The Jenkins UI should still be protected by IP whitelisting.
/cc @boffbowsh
https://trello.com/c/5TGUzAGn/743-find-alternative-way-to-login-to-jenkins-if-github-is-down

@boffbowsh I updated the docs with this note.

I think @boffbowsh's points have been addressed, but he's not here to ok them so I'm going to dismiss his review as it'll block pushing these changes live.


Chrome extension fails to render properly attachment file name in encoded utf-8

Attach (recommended) or Link to PDF file here:
Configuration:

Web browser and its version:
Chrome 65.0.3325.181
Operating system and its version:
OSX 10.13.3
PDF.js version:
2.0.466
Is a browser extension:
Chrome extension

Steps to reproduce the problem:

Make server return properly encoded file name in a header. For example, use this value for header Content-Disposition=attachment; filename="test-a-test.pdf"; filename*=UTF-8''test-%C3%A4-%D1%82%D0%B5%D1%81%D1%82.pdf
Open the file in a browser tab.

What is the expected behavior?
File name should be properly decoded and showed correctly in browser tab header or after file has been download using 'Download' button. For example from above, file name in the browser tab should be "test-ä-тест.pdf".
What went wrong?
File name is wrongly decoded:

But if file is saved from the chrome incognito tab (no plugin used), name will be decoded properly

Content-Disposition=attachment; filename="test-a-test.pdf"; filename*=UTF-8''test-%C3%A4-%D1%82%D0%B5%D1%81%D1%82.pdf

@Rob--W Since you implemented the Content-Disposition parser used in PDF.js, is this issue something that can be easily fixed? And if so, should that perhaps happen upstream in https://github.com/Rob--W/open-in-browser/blob/master/extension/content-disposition.js first?

The upstream library works fine. I made some mistakes at converting the library, but fixed them in #9773 . Please check and merge it @Snuffleupagus

The upstream library works fine. I made some mistakes at converting the library, but fixed them in #9773

Thank you; great that this was so easy to fix!
Slightly off-topic here, but would it make sense to try and reduce the differences between https://github.com/mozilla/pdf.js/blob/master/src/display/content_disposition.js and upstream, to make updates easier?
For example, it seems that https://github.com/mozilla/pdf.js/blob/5053d02ba446e3c491bfd0e62633f7db46fb385c/src/display/content_disposition.js#L21-L22 aren't strictly necessary, since it should be possible to just add the necessary core-js polyfills in src/shared/compatibility.js instead.

Please check and merge it @Snuffleupagus

Well I'm no longer actively involved in the PDF.js project, hence I don't have commit access anymore.[1]
Anyway that PR is already merged, so we should be good here :-)

[1] Please note that no one revoked, or even asked me to give up, my commit access. However, personnally, it didn't seem necessary/correct to still have commit access when I'm no longer actively involved in the project.


Can you open source the code of ADMM training ?

Hi. We're going to release the source code this month.

Also looking forward to it.

Code released.


Add link to SaaS

I've been asked to add a link to this. @smeinecke what do you think
https://www.block-disposable-email.com

I think we should list all sources in README - would be fair, right?


Audit function parameter and return types (3/2)

Follow-up from https://github.com/color-js/color.js/pull/457:

Adjusts src and types so that Color.set(), Color.setAll(), and Color.toGamut() consistently return Color objects.
Uses getColor for space.from and space.to

@MysteryBlokHed Would you have a minute to review this PR? I think it's the last PR I'd ideally like to merge before a new release.

@MysteryBlokHed Would you have a minute to review this PR? I think it's the last PR I'd ideally like to merge before a new release.

I'm busy right now, but I'll take a look in a few hours


'module' object has no attribute 'QtOpenGL'

maya 2017
from Qt import *
Error: AttributeError: file  line 1: 'module' object has no attribute 'QtOpenGL'

Thanks for reporting this @jonntd.
This stems from an issue (bug) with the version of PySide2 in 2017, it has QtOpenGL in it's __all__ variable, but no access to it physically.
That is, you get the same result with PySide2.
from PySide2 import *
# Error: AttributeError: file <maya console> line 1: 'module' object has no attribute 'QtOpenGL' #

That said, there is a solution and fix for this in a recent PR here: #173
Once this is merged, this problem should be no more.

As a workaround, you can call this.
from Qt import QtWidgets, QtCore, QtGui

Fixed in 1.0.0.b1


DUO104 is used by eval and format string checks

It looks like DUO104 is used both for eval and format strings and I am not sure if this is intentional.
https://github.com/duo-labs/dlint/blob/master/dlint/linters/bad_eval_use.py#L20
https://github.com/duo-labs/dlint/blob/master/dlint/linters/format_string.py#L24

Good catch! The format string check was an experiment of mine - I'll remove it until something more concrete is created (if at all).


'package:flutter/src/painting/text_painter.dart': Failed assertion: line 975 pos 12: '!_debugNeedsLayout': is not true.

Steps to Reproduce

Set up project with code below in an integration test, against a basic login form (one Image, two TextFormFields, and one ElevatedButton)
Follow the instructions at https://github.com/flutter/flutter/tree/main/packages/integration_test#android-device-testing
Run android/gradlew app:connectedAndroidTest -Ptarget=integration_tests/screenshot_test.dart to run tests

Expected results: All tests passing.
Actual results: Test failure with the below output recommending filing a bug here.

Code sample

import 'dart:io');

import 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:integration_test/integration_test.dart';

import 'package:story_lines/main.dart' as app;

void main() {
  final binding = IntegrationTestWidgetsFlutterBinding.ensureInitialized();

  testWidgets('screenshots', (WidgetTester tester) async {
    // Build the app.
    app.main();

    if (Platform.isAndroid) {
      // This is required prior to taking the screenshot (Android only).
      await binding.convertFlutterSurfaceToImage();
    }

    // Login Screen
    await tester.pumpAndSettle();

    final emailAddress = find.bySemanticsLabel('Email Address');
    final image = find.byType(Image);
    final password = find.bySemanticsLabel('Password');
    final signIn = find.widgetWithText(ElevatedButton, "Sign In");

    while (findsNothing.matches(emailAddress, {})) {
      await tester.pumpAndSettle();
    }

    expect(emailAddress, findsOneWidget);

    await binding.takeScreenshot('01Login');

    await tester.tap(emailAddress);
    await tester.enterText(emailAddress, 'tester@insidiouslogic.systems');
    await tester.pumpAndSettle();

    await tester.tap(image);

    await tester.tap(password);
    await tester.enterText(password, 'rats plowing mural bases');
    await tester.pumpAndSettle();

    await tester.tap(image);

    await tester.tap(signIn);
    await tester.pumpAndSettle();

    // Dashboard
  });
}

Logs

java.lang.Exception: ══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞═════════════════
The following assertion was thrown running a test:
'package:flutter/src/painting/text_painter.dart': Failed
assertion: line 975 pos 12: '!_debugNeedsLayout': is not true.

Either the assertion indicates an error in the framework itself,
or we should provide substantially more information in this error
message to help you determine and fix the underlying cause.

No issues found! (ran in 11.3s)

[✓] Flutter (Channel stable, 3.3.8, on Pop!_OS 22.04 LTS 6.0.3-76060003-generic, locale en_US.UTF-8)
    • Flutter version 3.3.8 on channel stable at /home/hennik/flutter
    • Upstream repository https://github.com/flutter/flutter
    • Framework revision 52b3dc25f6 (6 days ago), 2022-11-09 12:09:26 +0800
    • Engine revision 857bd6b74c
    • Dart version 2.18.4
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /home/hennik/Android/Sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /home/hennik/Public/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • Ubuntu clang version 14.0.0-1ubuntu1
    • cmake version 3.22.1
    • ninja version 1.10.1
    • pkg-config version 0.29.2

[[✓] Android Studio (version 2021.2)
    • Android Studio at /home/hennik/Public/android-studio
    • Flutter plugin version 71.0.2
    • Dart plugin version 212.5744
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.73.1)
    • VS Code at /usr/share/code
    • Flutter extension version 3.52.0

[✓] Connected device (4 available)
    • sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64    • Android 13 (API 33) (emulator)
    • sdk gphone64 x86 64 (mobile) • emulator-5556 • android-x64    • Android 13 (API 33) (emulator)
    • Linux (desktop)              • linux         • linux-x64      • Pop!_OS 22.04 LTS 6.0.3-76060003-generic
    • Chrome (web)                 • chrome        • web-javascript • Google Chrome 107.0.5304.110

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Hi @danhunsaker, please provide a minimal complete reproducible code sample, preferably in a repo (with an open-source license) that we can clone and test without needing to make any major changes so that we can investigate this.
Thank you

See https://github.com/ILSystems/LoginTest

Hi @danhunsaker, your code sample is too large and contains a lot of third-party packages/plugins. We will need a minimal sample without any third-party packages/plugins for us to properly investigate the issue.
Thank you

Sorry, that was the quickest way to build such a sample. Let me slim things down.

Updated. Though now I'm not getting the error anymore, either in the simplified app or in my own. It seems like a flaky scenario.

maybe related to https://github.com/flutter/flutter/issues/84650. https://github.com/flutter/flutter/pull/96911

Updated. Though now I'm not getting the error anymore, either in the simplified app or in my own. It seems like a flaky scenario.

I also cannot reproduce the issue and without a reproducible sample, the issue is not actionable. Looking at the logs in
https://github.com/flutter/flutter/issues/84650, it would appear that these issues might be related.
However, since neither you nor I can reproduce this issue at the present time, I'll be closing this issue as unactionable. If you do manage to come up with a scenario that reproduces the issue. Kindly leave a comment below and I will reopen this.
Thank you


Dynamic URLs don't use basePath correctly

Are you reporting a bug?
Yes
The basePath (and stagingBasePath and devBasePath) works fine for the static URLs that are generated in .html files, but URLs that are dynamically created via JavaScript don't use basePath correctly.  Sometimes they leave it off altogether.  Other times they repeat it twice.
Related (but different) issues:

Issue #926
Issue #972

Environment

react-static -V: 6.2.0
node -v:  10.11.0
npm -v:  6.4.1
Operating system:  Windows 10
Browser and version (if relevant):  Chrome 71

Steps to Reproduce the problem

Create a new project using the "basic" template

Add the following to the static.config.json

  basePath: "PRODUCTION",
  stagingBasePath: "STAGING",
  devBasePath: "DEV",

Run the dev server (npm start) and see that everything works correctly

(although it's served from / not /DEV see Issue #972)

Do a staging build (npm run stage)

Move the contents of the dist folder to dist/STAGING to match our site config

mv dist STAGING
mkdir dist
mv STAGING dist/STAGING

Remove the -s option from the serve script in package.json.  That option causes problems due to the 404 issue that I'm demonstrating here.

Run the static server (npm run serve)

The site is served from /STAGING and not from /. This is good because it accurately tests whether our site will work correctly in a non-root directory.  :+1:

Open your browser dev tools and look at the "Network" tab.

Try to browse to a few different pages of the site.  You'll see a lot of 404 errors.

All the URLs in the .html files are correctly prefixed with /STAGING and work correctly

URLs that are loaded dynamically via JavaScript are mostly broken.

Some are missing the base path (e.g. /templates/src-pages-404.xxxxx.js)

Some have the base path twice (e.g. /STAGING/STAGING/about/routeinfo.json)

@tannerlinsley, Please reopen when you get the chance, thanks!
We're also experiencing this issue and seemingly-related basePath bugs with both React-Static 5.9.12 and 6.x. I'm a huge fan of react-static, I've migrated projects from other SSR libraries and it's been a great experience overall, but unfortunately this is a showstopping blocker. I really appreciate all the work you've done though, using React-Static has been like a breath of fresh air!
I'd like to help out as well and I'll take the information above as a jumping off point for my own attempts to root cause this cluster of issues. In terms of branch(es) to work against, is master the preferred branch or could it also be worthwhile to look at v5 and v7?

Master is up to date for v6 so use that one! Thanks for your willingness to
help!
On Thu, Feb 28, 2019 at 3:32 PM Duncan<EMAIL_ADDRESS>wrote:

@tannerlinsley https://github.com/tannerlinsley, Please reopen when you
get the chance, thanks!
We're also experiencing this issue and seemingly-related basePath bugs
with both React-Static 5.9.12 and 6.x. I'm a huge fan of react-static, I've
migrated projects from other SSR libraries and it's been a great experience
overall, but unfortunately this is a showstopping blocker. I really
appreciate all the work you've done though, using React-Static has been
like a breath of fresh air!
I'd like to help out as well and I'll take the information above as a
jumping off point for my own attempts to root cause this cluster of issues.
In terms of branch(es) to work against, is master the preferred branch or
could it also be worthwhile to look at v5 and v7?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/nozzle/react-static/issues/975#issuecomment-468465800,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFUmCddgi0lHxlDKkwLcWM0liqQeJB_Nks5vSFkGgaJpZM4aFEZi
.

I'm also experiencing problems with this issue. Who has made the most progress here?


File linking broken

This is the only epub to markdown converter that I found that actually works, even pandoc didn't work for my text book, but the links don't link. They have some weird htmx link
Result:
[Chapter 2](fileP7000497027000000000000000000279.xhtml#P7000497027000000000000000000279)

Expected:
[[Chapter 2 Representing and Manipulating Information |Chapter 2]]

essentially it works by converting html to md files, so the section headings need to rely on the html's A-link headings, but the links should be correct. You could send send me your text book，I will check it.

I'm using obsidian for my markdown so the linking between files is done differently (my bad), but yes.
After running epub2md -m ... again it outputs a epub file thats larger than the original

https://file.io/fyIuStCENNm3


Force ssh to use specific key

Generally this issue and community answer described at https://superuser.com/questions/1610623/why-ssh-always-using-first-key-accepted-by-server.
I force to ssh using specific key via dirty hack:
if (\Deployer\Support\str_contains($command, '/usr/bin/git clone')) {
     $ssh = "ssh-agent ssh -A -tt -o AddKeysToAgent=yes -i ~/.ssh/id_rsa $host $command";
 } else {
     $ssh = "ssh $sshArguments $host $command";
 }

Should we realize this behavior by default if user add identityFile to config?
I can try to prepare pull request after discussion.
@antonmedv

I didn’t get it. You can specify key for ssh.

I didn’t get it. You can specify key for ssh.

@antonmedv You can specify key  but command ssh -i ~/.ssh/id_rsa user@ip does not guarantee that this particular key will be used if you have several ssh for current server.

@antonmedv You can specify key  but command ssh -i ~/.ssh/id_rsa user@ip does not guarantee that this particular key will be used if you have several ssh for current server.

Did not get it, can you show an example?

Did not get it, can you show an example?

For example, I have 3 keys -  ssh-add -L:
ecdsa-sha2-nistp521....
ssh-rsa-github...
ssh-rsa2...

All this keys can be used for access current_host, but only one of them can be used for remote repository access. If I want use agent-forwarding and run
ssh -A -tt -i ~/.ssh/ssh_rsa_github user@current_host 'git clone...'

ssh whatever use first key are accepted by the remote server. So I can not clone repository because wrong key is used.

For example, I have 3 keys -  ssh-add -L:
ecdsa-sha2-nistp521....
ssh-rsa-github...
ssh-rsa2...

All this keys can be used for access current_host, but only one of them can be used for remote repository access. If I want use agent-forwarding and run
ssh -A -tt -i ~/.ssh/ssh_rsa_github user@current_host 'git clone...'

ssh whatever use first key are accepted by the remote server. So I can not clone repository because wrong key is used.

What if you disable forwardAgent?

What if you disable forwardAgent?

But I can't do it. I need forwardAgent to access my remote repository.

But I can't do it. I need forwardAgent to access my remote repository.

@shvlv could this be done outside of deployer?  You can start multpile ssh-agents.  So you could start a new ssh-agent, and add only the key that you want to it, and then use that in the terminal/script that you're running deployer from.

@shvlv could this be done outside of deployer?  You can start multpile ssh-agents.  So you could start a new ssh-agent, and add only the key that you want to it, and then use that in the terminal/script that you're running deployer from.

@johnorourke I think this can resolve my problem. Could you provide quick code example?

@johnorourke I think this can resolve my problem. Could you provide quick code example?

@shvlv something like this (assuming you are using ssh-agent as your agent - I am using Keepass, other people might be using Pageant)
[user@host:~]  eval `ssh-agent`   # start new agent and set environment variables SSH_AUTH_SOCK and SSH_AGENT_PID in *this* terminal
[user@host:~] ssh-add ~/.ssh/ssh_rsa_github  # prompt for pass-phrase if required
[user@host:~] dep ssh -vvv
...now deployer can only use that key...

[user@host:~] kill $SSH_AGENT_PID # clean up by removing our temporary agent

@shvlv something like this (assuming you are using ssh-agent as your agent - I am using Keepass, other people might be using Pageant)
[user@host:~]  eval `ssh-agent`   # start new agent and set environment variables SSH_AUTH_SOCK and SSH_AGENT_PID in *this* terminal
[user@host:~] ssh-add ~/.ssh/ssh_rsa_github  # prompt for pass-phrase if required
[user@host:~] dep ssh -vvv
...now deployer can only use that key...

[user@host:~] kill $SSH_AGENT_PID # clean up by removing our temporary agent

@johnorourke Yes, it works. Thank you for explanation.

@johnorourke Yes, it works. Thank you for explanation.


Bug 1151024 - Show correct tootip on starred events - For review only

@peterbe I'm stuck on this one. Will you look it over and tell me what I am doing incorrectly?

I guess the reason it's not working is because of the case sensitivity. See comments within...

Looking very promising! However, it concerns me of all all the looping over jQuery elements and then sending them each in to setToolTip which needs it back as a jQuery object.
A much better approach would be to solve this with a local jQuery plugin. That way you should be able to do things like $('a.star').setStarToolTip().
A plugin could look something like this:
$.fn.setStarToolTip = function() {
    var title;
    if (this.hasClass('star-on')) {
      title = this.data('star-on');
    } else {
      title = this.data('star-off');
   }
   this.attr('title', title);
   return this;
};

var Stars = (function() {
    ...
})();

$(function() {
    ...
});

This is also going to be much faster since we're not extracting the original DOM nodes as it loops over the jquery internal arrays.

This got rebased and "embaked" in https://github.com/mozilla/airmozilla/pull/479


Viewing other places (add peek anywhere)

The list of colleges or places is getting smaller. The iPhone version of Yik yak has a greater  list. I would like to be able to see the neighboring college's yaks or just any other yaks from other schools.I also can't see top yaks from my location.
Not a big deal. It would just be a nice feature to have on this app.

wait, so in the 1.0 update, are you adding a feature where we can search/ save places we want to peek from? like the iphone app

Yes, that's right. Whether or not it will make the 1.0 release, I'm not sure yet.

Ok thank you
-----Original Message-----
From: "Nicholas Narsing"<EMAIL_ADDRESS>Sent: 2/27/2015 10:58 PM
To: "soren121/yodel"<EMAIL_ADDRESS>Cc: "dbeck21"<EMAIL_ADDRESS>Subject: Re: [yodel] Viewing other places (add peek anywhere) (#38)
Yes, that's right. Whether or not it will make the 1.0 release, I'm not sure yet.
—
Reply to this email directly or view it on GitHub.

I'd really like to see ~"peek anywhere" or something similar since there's not much Yak activity in my area... Please prioritize this or a similar feature. Thanks.