Issue running xadmin

Hi all,
I'm can't run django admin with xadmin module installed :(
Unhandled exception in thread started by <function wrapper at 0x105ca8488>
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/django/utils/autoreload.py", line 226, in wrapper
fn(_args, *_kwargs)
File "/Library/Python/2.7/site-packages/django/core/management/commands/runserver.py", line 109, in inner_run
autoreload.raise_last_exception()
File "/Library/Python/2.7/site-packages/django/utils/autoreload.py", line 249, in raise_last_exception
six.reraise(__exception)
File "/Library/Python/2.7/site-packages/django/utils/autoreload.py", line 226, in wrapper
fn(_args, **kwargs)
File "/Library/Python/2.7/site-packages/django/init.py", line 18, in setup
apps.populate(settings.INSTALLED_APPS)
File "/Library/Python/2.7/site-packages/django/apps/registry.py", line 85, in populate
app_config = AppConfig.create(entry)
File "/Library/Python/2.7/site-packages/django/apps/config.py", line 90, in create
module = import_module(entry)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/init.py", line 37, in import_module
import(name)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django_xadmin-0.5.0-py2.7.egg/xadmin/init.py", line 1, in
from xadmin.sites import AdminSite, site
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django_xadmin-0.5.0-py2.7.egg/xadmin/sites.py", line 342, in
site = AdminSite()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django_xadmin-0.5.0-py2.7.egg/xadmin/sites.py", line 42, in init
self.check_dependencies()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django_xadmin-0.5.0-py2.7.egg/xadmin/sites.py", line 163, in check_dependencies
from django.contrib.contenttypes.models import ContentType
File "/Library/Python/2.7/site-packages/django/contrib/contenttypes/models.py", line 161, in
class ContentType(models.Model):
File "/Library/Python/2.7/site-packages/django/db/models/base.py", line 94, in new
app_config = apps.get_containing_app_config(module)
File "/Library/Python/2.7/site-packages/django/apps/registry.py", line 239, in get_containing_app_config
self.check_apps_ready()
File "/Library/Python/2.7/site-packages/django/apps/registry.py", line 124, in check_apps_ready
raise AppRegistryNotReady("Apps aren't loaded yet.")
django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
Some help? any idea?

(goooke)[user02@dj01 ccs]$ python manage.py makemigrations
Traceback (most recent call last):
File "manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/home/user02/.virtualenvs/goooke/lib/python2.7/site-packages/django/core/management/init.py", line 350, in execute_from_command_line
utility.execute()
File "/home/user02/.virtualenvs/goooke/lib/python2.7/site-packages/django/core/management/init.py", line 324, in execute
django.setup()
File "/home/user02/.virtualenvs/goooke/lib/python2.7/site-packages/django/init.py", line 18, in setup
apps.populate(settings.INSTALLED_APPS)
File "/home/user02/.virtualenvs/goooke/lib/python2.7/site-packages/django/apps/registry.py", line 85, in populate
app_config = AppConfig.create(entry)
File "/home/user02/.virtualenvs/goooke/lib/python2.7/site-packages/django/apps/config.py", line 90, in create
module = import_module(entry)
File "/usr/lib64/python2.7/importlib/init.py", line 37, in import_module
import(name)
File "/home/user02/.virtualenvs/goooke/lib/python2.7/site-packages/django_xadmin-0.5.0-py2.7.egg/xadmin/init.py", line 1, in
from xadmin.sites import AdminSite, site
File "/home/user02/.virtualenvs/goooke/lib/python2.7/site-packages/django_xadmin-0.5.0-py2.7.egg/xadmin/sites.py", line 342, in
site = AdminSite()
File "/home/user02/.virtualenvs/goooke/lib/python2.7/site-packages/django_xadmin-0.5.0-py2.7.egg/xadmin/sites.py", line 42, in init
self.check_dependencies()
File "/home/user02/.virtualenvs/goooke/lib/python2.7/site-packages/django_xadmin-0.5.0-py2.7.egg/xadmin/sites.py", line 163, in check_dependencies
from django.contrib.contenttypes.models import ContentType
File "/home/user02/.virtualenvs/goooke/lib/python2.7/site-packages/django/contrib/contenttypes/models.py", line 159, in
class ContentType(models.Model):
File "/home/user02/.virtualenvs/goooke/lib/python2.7/site-packages/django/db/models/base.py", line 94, in new
app_config = apps.get_containing_app_config(module)
File "/home/user02/.virtualenvs/goooke/lib/python2.7/site-packages/django/apps/registry.py", line 239, in get_containing_app_config
self.check_apps_ready()
File "/home/user02/.virtualenvs/goooke/lib/python2.7/site-packages/django/apps/registry.py", line 124, in check_apps_ready
raise AppRegistryNotReady("Apps aren't loaded yet.")
django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.

https://github.com/sshwsfc/xadmin/issues/247

I've run into this issue myself and solved it by installing django-reversion with pip install django-reversion.
I didn't installed it because it said [OPTION] but it looks like it is required.
Maybe this can help you or someone running into this same issue


Histone exchange things

Address these issues on histone exchange as this process will be replaced by a function and the BPs need to be re-annotated.
http://amigo.geneontology.org/amigo/term/GO:0035093#display-lineage-tab
https://docs.google.com/spreadsheets/d/13Sys5a4tYDCtXJKzwZ29K-0VCCN_IMl9SGMchl_QLGM/edit#gid=0

For PMID:34478447 atlas is described as:
"everal lines of evidence suggest that Atlas is a transition protein that facilitates the change from
histone-based to protamine-based chromatin packaging in spermatid nuclei. Atlas localizes
throughout spermatid nuclei (Fig 6) and has biochemical properties consistent with direct
DNA interaction. The protein appears specifically at the late canoe stage of nuclear compaction
(Fig 5). Its lack of overlap with testis-specific histones (Fig 5B), partial overlap with Mst35Bb
(Fig 5D), removal from needle-stage nuclei (Fig 6) and absence from mature sperm (Figs 5 and
6) are all consistent with the expression profile of a transition protein. Several other transition
proteins have been characterized in D. melanogaster, including Tpl94D, thmg-1, thmg-2, and
Mst84B [53,58,59]. Collectively, the transition proteins vary in the stage of nuclear condensation
at which they first appear and the range of nuclear shapes over which they are found [79], but
otherwise match Atlas in their biochemical properties, transient expression, and localization
throughout the nucleus. Compared to these other transition proteins, Atlas is present over a
fairly narrow range of nuclear condensation stages and reaches its peak expression just prior to
the onset of individualization. Atlas is also the only transition protein gene characterized to date
whose removal disrupts fertility, as Tpl94D, thmg-1, thmg-2 and Mst84B mutants are all fertile
[53,58,59]. This may reflect the relatively later timing of Atlas’s expression in spermatid nuclei,
reduced functional redundancy between DNA-binding proteins at the later stages of condensa-
tion, a potential interaction between Atlas and an essential protamine-like protein, and/or a
more stringent requirement for DNA binding at these stages"
Need to understand more about mechanism to give an MF. Can move BP from " spermatogenesis, exchange of chromosomal proteins" to "sperm DNA condensation".

HIRA - replication independent
CAF1 - replication dependent Review: Chromatin and DNA Replication


DDP USERS

Hello,
Can you tell me what the DDP Users panel is? And the panels available in DDP Rate Limiter.
Thank you in advance

Yeah.
In general it would be sooo nice if there is was detailed information about all RC metrics and how to interpret them.

Yeah.
In general it would be sooo nice if there is was detailed information about all RC metrics and how to interpret them.

The "DDP Users" are basically all connected and authenticated sessions established (including mobile clients, API, bots, etc.).
The "DDP Rate Limiter" shows data about rate limiter violations (in case you have them enabled in the admin UI → Rate Limiter → DDP Rate Limiter).
I'll currently working on a docs that'll explain each graph/value a bit more in detail.

Docs can be found here: https://github.com/RocketChat/Rocket.Chat.Metrics/blob/master/metrics.md#ddp-users


Add open long line

https://mathoverflow.net/questions/314611/is-every-uncountable-homogeneous-connected-t-2-space-isomorphic-to-a-subspace/314615#314615
Adds counterexample to this empty search https://topology.pi-base.org/spaces?q=~First Countable %2B %24T_2%24 %2B Connected %2B Homogeneous

See space S153, deleted for lack of references in https://github.com/pi-base/data/commit/3d06643.
I can give it a go, unless one of you wants to work on it.

Recreating as S153 sounds like a plan to me. I will post here if I get to it before you do; otherwise go for it.


No stream to harmann kardon AVR265

Hi @dheijl
I try your new SWYH-RS, but I've got error 👍
SSDP discovery started
Renderer at : http://<IP_ADDRESS>:80/dd.xml
Getting renderer descriptions
Renderer Harman Kardon AVR265 None <IP_ADDRESS> has 3 services
SSDP discovery complete
Default audio output device: Speakers (Intel SST Audio Device (WDM))
Default config SupportedStreamConfig { channels: 2, sample_rate: SampleRate(48000), buffer_size: Unknown, sample_format: F32 }
Serving on <IP_ADDRESS>:5901
The wave_reader is receiving samples
Error relative URL without a base parsing url
Start playing on Harman Kardon AVR265 host=<IP_ADDRESS> port=0 from <IP_ADDRESS>
With classic SWYH I manage to send the sound to my amp but after a while I lost the connection, having to restart everything.
I found another opensource software which is older but works without disconnection, maybe it can help you in the development of this new swyh-rs ..
https://github.com/protyposis/LocalAudioBroadcast
Thank for all..

Hi @MX10-AC2N ,
Thanks for trying it out.
It would be a big help if you could run the debug exe from the zip file.
You will get a console window with loads of debug information, including the Harman Kardon service description.
This debug info will allow me to see why I can't decode the OpenHome Control Url, and hopefully I can provide a quick fix.

Debug info from v0.6
log: SSDP discovery started
Textbox data SSDP discovery started
UDP response at 8 from <IP_ADDRESS>:56697:
HTTP/1.1 200 OK
CACHE-CONTROL: max-age=1800
EXT:
LOCATION: http://<IP_ADDRESS>:80/dd.xml
SERVER: POSIX, UPnP/1.0, Intel MicroStack/1.0.2777
ST: urn:schemas-upnp-org:service:RenderingControl:1
USN: uuid:3dcc7100-f76c-11dd-87af-002261a59896::urn:schemas-upnp-org:service:RenderingControl:1
log: Renderer at : http://<IP_ADDRESS>:80/dd.xml
Textbox data Renderer at : http://<IP_ADDRESS>:80/dd.xml
log: Getting renderer descriptions
Get service description for http://<IP_ADDRESS>:80/dd.xml
Textbox data Getting renderer descriptions
Service description:

1
0

urn:schemas-upnp-org:device:MediaRenderer:1
/web
VEN_2A2D&DEV_0001&SUBSYS_0001&REV_01 VEN_0033&DEV_0005&REV_01
MS_DigitalMediaDeviceClass_DMR_V001
MediaDevices
Multimedia.DMR
0
1
DMR-1.50
Harman Kardon AVR265
Harman Kardon
http://www.harmankardon.com
ir-ser-FS2026-0200-0149_V<IP_ADDRESS>060-10
None
None
http://www.radioharmankardon.com
0b04070303101f2701003e00ffff4dff
uuid:3dcc7100-f76c-11dd-87af-002261a59896

image/png
48
48
32
/icon.png

image/jpeg
48
48
32
/icon.jpg

image/png
120
120
32
/icon2.png

image/jpeg
120
120
32
/icon2.jpg

urn:schemas-upnp-org:service:AVTransport:1urn:upnp-org:serviceId:AVTransportAVTransport/scpd.xmlAVTransport/controlAVTransport/eventurn:schemas-upnp-org:service:ConnectionManager:1urn:upnp-org:serviceId:ConnectionManagerConnectionManager/scpd.xmlConnectionManager/controlConnectionManager/eventurn:schemas-upnp-org:service:RenderingControl:1urn:upnp-org:serviceId:RenderingControlRenderingControl/scpd.xmlRenderingControl/controlRenderingControl/event
log: Renderer Harman Kardon AVR265 None <IP_ADDRESS> has 3 services
.. urn:schemas-upnp-org:service:AVTransport:1 urn:upnp-org:serviceId:AVTransport AVTransport/control
.. urn:schemas-upnp-org:service:ConnectionManager:1 urn:upnp-org:serviceId:ConnectionManager ConnectionManager/control
.. urn:schemas-upnp-org:service:RenderingControl:1 urn:upnp-org:serviceId:RenderingControl RenderingControl/control
**Textbox data** Renderer Harman Kardon AVR265 None <IP_ADDRESS> has 3 services
log: SSDP discovery complete
**Textbox data** SSDP discovery complete
Got 1 renderers
Try capturing system audio
log: Default audio output device: Speakers (Intel SST Audio Device (WDM))
**Textbox data** Default audio output device: Speakers (Intel SST Audio Device (WDM))
log: Default config SupportedStreamConfig { channels: 2, sample_rate: SampleRate(48000), buffer_size: Unknown, sample_format: F32 }
log: Serving on <IP_ADDRESS>:5901
**Textbox data** Default config SupportedStreamConfig { channels: 2, sample_rate: SampleRate(48000), buffer_size: Unknown, sample_format: F32 }
log: The wave_reader is receiving samples
**Textbox data** Serving on <IP_ADDRESS>:5901
**Textbox data** The wave_reader is receiving samples
Pushed renderer #0 None Harman Kardon AVR265, state = ON
log: Error relative URL without a base parsing url
**Textbox data** Error relative URL without a base parsing url
log: Start playing on Harman Kardon AVR265 host=<IP_ADDRESS> port=0 from <IP_ADDRESS>
OHPlaylist server URL: http://<IP_ADDRESS>:5901/stream/swyh.wav
url: http://<IP_ADDRESS>:0, SOAP Action: urn:av-openhome-org:service:Playlist:1#DeleteAll, SOAP xml body

resp: Connection Failed: L’adresse demandée n’est pas valide dans son contexte. (os error 10049)
url: http://<IP_ADDRESS>:0, SOAP Action: urn:av-openhome-org:service:Playlist:1#Insert, SOAP xml body
0http://<IP_ADDRESS>:5901/stream/swyh.wav<DIDL-Lite><item><DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/"><item id="1" parentID="0" restricted="0"><dc:title>swyh-rs</dc:title><res bitsPerSample="16" nrAudioChannels="2" protocolInfo="http-get:*:audio/wav:*" sampleFrequency="44100">http://<IP_ADDRESS>:5901/stream/swyh.wav</res><upnp:class>object.item.audioItem.musicTrack</upnp:class></item></DIDL-Lite></item></DIDL-Lite>
resp: Connection Failed: L’adresse demandée n’est pas valide dans son contexte. (os error 10049)
SeekId:
url: http://<IP_ADDRESS>:0, SOAP Action: urn:av-openhome-org:service:Playlist:1#SeekId, SOAP xml body

resp: Connection Failed: L’adresse demandée n’est pas valide dans son contexte. (os error 10049)
url: http://<IP_ADDRESS>:0, SOAP Action: urn:av-openhome-org:service:Playlist:1#Play, SOAP xml body

resp: Connection Failed: L’adresse demandée n’est pas valide dans son contexte. (os error 10049)
Textbox data Start playing on Harman Kardon AVR265 host=<IP_ADDRESS> port=0 from <IP_ADDRESS>

I try V0.7 and it's better but no sound again.. See the debug info
log: SSDP discovery started
Textbox data SSDP discovery started
UDP response at 1014 from <IP_ADDRESS>:56697:
HTTP/1.1 200 OK
CACHE-CONTROL: max-age=1800
EXT:
LOCATION: http://<IP_ADDRESS>:80/dd.xml
SERVER: POSIX, UPnP/1.0, Intel MicroStack/1.0.2777
ST: urn:schemas-upnp-org:service:RenderingControl:1
USN: uuid:3dcc7100-f76c-11dd-87af-002261a59896::urn:schemas-upnp-org:service:RenderingControl:1
log: Renderer at : http://<IP_ADDRESS>:80/dd.xml
Textbox data Renderer at : http://<IP_ADDRESS>:80/dd.xml
log: Getting renderer descriptions
Get service description for http://<IP_ADDRESS>:80/dd.xml
Textbox data Getting renderer descriptions
Service description:

1
0

urn:schemas-upnp-org:device:MediaRenderer:1
/web
VEN_2A2D&DEV_0001&SUBSYS_0001&REV_01 VEN_0033&DEV_0005&REV_01
MS_DigitalMediaDeviceClass_DMR_V001
MediaDevices
Multimedia.DMR
0
1
DMR-1.50
Harman Kardon AVR265
Harman Kardon
http://www.harmankardon.com
ir-ser-FS2026-0200-0149_V<IP_ADDRESS>060-10
None
None
http://www.radioharmankardon.com
0b04070303101f2701003e00ffff4dff
uuid:3dcc7100-f76c-11dd-87af-002261a59896

image/png
48
48
32
/icon.png

image/jpeg
48
48
32
/icon.jpg

image/png
120
120
32
/icon2.png

image/jpeg
120
120
32
/icon2.jpg

urn:schemas-upnp-org:service:AVTransport:1urn:upnp-org:serviceId:AVTransportAVTransport/scpd.xmlAVTransport/controlAVTransport/eventurn:schemas-upnp-org:service:ConnectionManager:1urn:upnp-org:serviceId:ConnectionManagerConnectionManager/scpd.xmlConnectionManager/controlConnectionManager/eventurn:schemas-upnp-org:service:RenderingControl:1urn:upnp-org:serviceId:RenderingControlRenderingControl/scpd.xmlRenderingControl/controlRenderingControl/event
log: Renderer Harman Kardon AVR265 None <IP_ADDRESS> has 3 services
.. urn:schemas-upnp-org:service:AVTransport:1 urn:upnp-org:serviceId:AVTransport AVTransport/control
.. urn:schemas-upnp-org:service:ConnectionManager:1 urn:upnp-org:serviceId:ConnectionManager ConnectionManager/control
.. urn:schemas-upnp-org:service:RenderingControl:1 urn:upnp-org:serviceId:RenderingControl RenderingControl/control
**Textbox data** Renderer Harman Kardon AVR265 None <IP_ADDRESS> has 3 services
log: SSDP discovery complete
**Textbox data** SSDP discovery complete
Got 1 renderers
Try capturing system audio
log: Default audio output device: Speakers (Intel SST Audio Device (WDM))
**Textbox data** Default audio output device: Speakers (Intel SST Audio Device (WDM))
log: Default config SupportedStreamConfig { channels: 2, sample_rate: SampleRate(48000), buffer_size: Unknown, sample_format: F32 }
log: Serving on <IP_ADDRESS>:5901
**Textbox data** Default config SupportedStreamConfig { channels: 2, sample_rate: SampleRate(48000), buffer_size: Unknown, sample_format: F32 }
log: The wave_reader is receiving samples
**Textbox data** Serving on <IP_ADDRESS>:5901
**Textbox data** The wave_reader is receiving samples
Pushed renderer #0 None Harman Kardon AVR265, state = ON
log: Start playing on Harman Kardon AVR265 host=<IP_ADDRESS> port=56697 from <IP_ADDRESS>
**Textbox data** Start playing on Harman Kardon AVR265 host=<IP_ADDRESS> port=56697 from <IP_ADDRESS>
OHPlaylist server URL: http://<IP_ADDRESS>:5901/stream/swyh.wav
url: http://<IP_ADDRESS>:56697, SOAP Action: urn:av-openhome-org:service:Playlist:1#DeleteAll, SOAP xml body

resp: Connection Failed: Aucune connexion n’a pu être établie car l’ordinateur cible l’a expressément refusée. (os error 10061)
url: http://<IP_ADDRESS>:56697, SOAP Action: urn:av-openhome-org:service:Playlist:1#Insert, SOAP xml body
0http://<IP_ADDRESS>:5901/stream/swyh.wav<DIDL-Lite><item><DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/"><item id="1" parentID="0" restricted="0"><dc:title>swyh-rs</dc:title><res bitsPerSample="16" nrAudioChannels="2" protocolInfo="http-get:*:audio/wav:*" sampleFrequency="44100">http://<IP_ADDRESS>:5901/stream/swyh.wav</res><upnp:class>object.item.audioItem.musicTrack</upnp:class></item></DIDL-Lite></item></DIDL-Lite>
resp: Connection Failed: Aucune connexion n’a pu être établie car l’ordinateur cible l’a expressément refusée. (os error 10061)
SeekId:
url: http://<IP_ADDRESS>:56697, SOAP Action: urn:av-openhome-org:service:Playlist:1#SeekId, SOAP xml body

resp: Connection Failed: Aucune connexion n’a pu être établie car l’ordinateur cible l’a expressément refusée. (os error 10061)
url: http://<IP_ADDRESS>:56697, SOAP Action: urn:av-openhome-org:service:Playlist:1#Play, SOAP xml body

resp: Connection Failed: Aucune connexion n’a pu être établie car l’ordinateur cible l’a expressément refusée. (os error 10061)

I think my old Harmann Kardon AVR265 it's not openhome compatibility..
When I use LocalAudioBroadcast I can't use wav, it's only work with pcm..

You are right: no OpenHome service present, only AVTransport.
So you'll have to wait until I implement playing with the old AVTransport service, probably sometime next week.
Also, my URLBase substitution is wrong (wrong port number), that's why the player refuses the OpenHome connection attempts...

I fixed the URLBase problem (but still no AVTransport support).
Would you be prepared to run the debug build once again for me so that I can check my correction in the log? Thanks!

See the debug from v0.7 beta 2
log: SSDP discovery started
Textbox data SSDP discovery started
UDP response at 2014 from <IP_ADDRESS>:56697:
HTTP/1.1 200 OK
CACHE-CONTROL: max-age=1800
EXT:
LOCATION: http://<IP_ADDRESS>:80/dd.xml
SERVER: POSIX, UPnP/1.0, Intel MicroStack/1.0.2777
ST: urn:schemas-upnp-org:service:RenderingControl:1
USN: uuid:3dcc7100-f76c-11dd-87af-002261a59896::urn:schemas-upnp-org:service:RenderingControl:1
log: Renderer at : http://<IP_ADDRESS>:80/dd.xml
Textbox data Renderer at : http://<IP_ADDRESS>:80/dd.xml
log: Getting renderer descriptions
Get service description for http://<IP_ADDRESS>:80/dd.xml
Textbox data Getting renderer descriptions
Service description:

1
0

urn:schemas-upnp-org:device:MediaRenderer:1
/web
VEN_2A2D&DEV_0001&SUBSYS_0001&REV_01 VEN_0033&DEV_0005&REV_01
MS_DigitalMediaDeviceClass_DMR_V001
MediaDevices
Multimedia.DMR
0
1
DMR-1.50
Harman Kardon AVR265
Harman Kardon
http://www.harmankardon.com
ir-ser-FS2026-0200-0149_V<IP_ADDRESS>060-10
None
None
http://www.radioharmankardon.com
0b04070303101f2701003e00ffff4dff
uuid:3dcc7100-f76c-11dd-87af-002261a59896

image/png
48
48
32
/icon.png

image/jpeg
48
48
32
/icon.jpg

image/png
120
120
32
/icon2.png

image/jpeg
120
120
32
/icon2.jpg

urn:schemas-upnp-org:service:AVTransport:1urn:upnp-org:serviceId:AVTransportAVTransport/scpd.xmlAVTransport/controlAVTransport/eventurn:schemas-upnp-org:service:ConnectionManager:1urn:upnp-org:serviceId:ConnectionManagerConnectionManager/scpd.xmlConnectionManager/controlConnectionManager/eventurn:schemas-upnp-org:service:RenderingControl:1urn:upnp-org:serviceId:RenderingControlRenderingControl/scpd.xmlRenderingControl/controlRenderingControl/event
log: Renderer Harman Kardon AVR265 None ip <IP_ADDRESS> at urlbase http://<IP_ADDRESS>:80/ has 3 services
.. urn:schemas-upnp-org:service:AVTransport:1 urn:upnp-org:serviceId:AVTransport AVTransport/control
.. urn:schemas-upnp-org:service:ConnectionManager:1 urn:upnp-org:serviceId:ConnectionManager ConnectionManager/control
.. urn:schemas-upnp-org:service:RenderingControl:1 urn:upnp-org:serviceId:RenderingControl RenderingControl/control
log: SSDP discovery complete
**Textbox data** Renderer Harman Kardon AVR265 None ip <IP_ADDRESS> at urlbase http://<IP_ADDRESS>:80/ has 3 services
**Textbox data** SSDP discovery complete
Got 1 renderers
Try capturing system audio
log: Default audio output device: Speakers (Intel SST Audio Device (WDM))
**Textbox data** Default audio output device: Speakers (Intel SST Audio Device (WDM))
log: Default config SupportedStreamConfig { channels: 2, sample_rate: SampleRate(48000), buffer_size: Unknown, sample_format: F32 }
log: Serving on <IP_ADDRESS>:5901
**Textbox data** Default config SupportedStreamConfig { channels: 2, sample_rate: SampleRate(48000), buffer_size: Unknown, sample_format: F32 }
log: The wave_reader is receiving samples
**Textbox data** Serving on <IP_ADDRESS>:5901
**Textbox data** The wave_reader is receiving samples
Pushed renderer #0 None Harman Kardon AVR265, state = ON
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src\openhome\avmedia.rs:162:35
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Thanks for testing again! I fixed the panic (caused by port 80) and will publish a new beta when the AV transport is implemented. AV should be automatically used if OpenHome is not present in the device.

Thanks to you dheijl, you do a great job with these SWYH updates .. maybe you should think about giving your software a new name  ;-)

I published a new release (https://github.com/dheijl/swyh-rs/releases/tag/0.7.3).
It works with AVtransport on my Volumios (if I disable OpenHome).

See the debug from v0.7.3
log: SSDP discovery started
UDP response at 12 from <IP_ADDRESS>:56697:
HTTP/1.1 200 OK
CACHE-CONTROL: max-age=1800
EXT:
LOCATION: http://<IP_ADDRESS>:80/dd.xml
SERVER: POSIX, UPnP/1.0, Intel MicroStack/1.0.2777
ST: urn:schemas-upnp-org:service:RenderingControl:1
USN: uuid:3dcc7100-f76c-11dd-87af-002261a59896::urn:schemas-upnp-org:service:RenderingControl:1
log: Renderer at : http://<IP_ADDRESS>:80/dd.xml
log: Getting renderer descriptions
Get service description for http://<IP_ADDRESS>:80/dd.xml
Service description:

1
0

urn:schemas-upnp-org:device:MediaRenderer:1
/web
VEN_2A2D&DEV_0001&SUBSYS_0001&REV_01 VEN_0033&DEV_0005&REV_01
MS_DigitalMediaDeviceClass_DMR_V001
MediaDevices
Multimedia.DMR
0
1
DMR-1.50
Harman Kardon AVR265
Harman Kardon
http://www.harmankardon.com
ir-ser-FS2026-0200-0149_V<IP_ADDRESS>060-10
None
None
http://www.radioharmankardon.com
0b04070303101f2701003e00ffff4dff
uuid:3dcc7100-f76c-11dd-87af-002261a59896

image/png
48
48
32
/icon.png

image/jpeg
48
48
32
/icon.jpg

image/png
120
120
32
/icon2.png

image/jpeg
120
120
32
/icon2.jpg

urn:schemas-upnp-org:service:AVTransport:1urn:upnp-org:serviceId:AVTransportAVTransport/scpd.xmlAVTransport/controlAVTransport/eventurn:schemas-upnp-org:service:ConnectionManager:1urn:upnp-org:serviceId:ConnectionManagerConnectionManager/scpd.xmlConnectionManager/controlConnectionManager/eventurn:schemas-upnp-org:service:RenderingControl:1urn:upnp-org:serviceId:RenderingControlRenderingControl/scpd.xmlRenderingControl/controlRenderingControl/event
log: Renderer Harman Kardon AVR265 None ip <IP_ADDRESS> at urlbase http://<IP_ADDRESS>:80/ has 3 services
log:   => OpenHome Playlist control url: '', AvTransport url: 'AVTransport/control'
.. urn:schemas-upnp-org:service:AVTransport:1 urn:upnp-org:serviceId:AVTransport AVTransport/control
.. urn:schemas-upnp-org:service:ConnectionManager:1 urn:upnp-org:serviceId:ConnectionManager ConnectionManager/control
.. urn:schemas-upnp-org:service:RenderingControl:1 urn:upnp-org:serviceId:RenderingControl RenderingControl/control
log: SSDP discovery complete
Got 1 renderers
Try capturing system audio
log: Default audio output device: Speakers (Intel SST Audio Device (WDM))
log: Default config SupportedStreamConfig { channels: 2, sample_rate: SampleRate(48000), buffer_size: Unknown, sample_format: F32 }
log: The streaming server is listening on http://<IP_ADDRESS>:5901/stream/swyh.wav
log: The wave_reader is receiving samples
Pushed renderer #0 None Harman Kardon AVR265, state = ON
log: AV Start playing on Harman Kardon AVR265 host=<IP_ADDRESS> port=80 from <IP_ADDRESS> using AvTransport Play
AvTransport server URL: http://<IP_ADDRESS>:5901/stream/swyh.wav
url: http://<IP_ADDRESS>:80AVTransport/control, SOAP Action: urn:schemas-upnp-org:service:AVTransport:1#SetAVTransportURI, SOAP xml body
0http://<IP_ADDRESS>:5901/stream/swyh.wav<DIDL-Lite><item><DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/"><item id="1" parentID="0" restricted="0"><dc:title>swyh-rs</dc:title><res bitsPerSample="16" nrAudioChannels="2" protocolInfo="http-get:*:audio/wav:*" sampleFrequency="44100">http://<IP_ADDRESS>:5901/stream/swyh.wav</res><upnp:class>object.item.audioItem.musicTrack</upnp:class></item></DIDL-Lite></item></DIDL-Lite>

resp: Bad URL: invalid port number
url: http://<IP_ADDRESS>:80AVTransport/control, SOAP Action: urn:schemas-upnp-org:service:AVTransport:1#Play, SOAP xml body
01
resp: Bad URL: invalid port number

At least AV transport is recognized now, but somehow I can't determine the correct port to send the AV SOAP requests to.
Food for tought...
Thanks for the testing!

With pleasure..
When I use SWYH I don't have this port problem, nor with LocalAudioBroadcast .. Maybe you can find the solution there ..
Thanks for coding ..!
Good night..

Hopefully fixed in https://github.com/dheijl/swyh-rs/releases/tag/0.7.4
Bonne soirée!

Unfortunately it is not the right one yet. Good luck..
log: SSDP discovery started
UDP response at 1037 from <IP_ADDRESS>:64771:
HTTP/1.1 200 OK
CACHE-CONTROL: max-age=1800
EXT:
LOCATION: http://<IP_ADDRESS>:80/dd.xml
SERVER: POSIX, UPnP/1.0, Intel MicroStack/1.0.2777
ST: urn:schemas-upnp-org:service:RenderingControl:1
USN: uuid:3dcc7100-f76c-11dd-87af-002261a59896::urn:schemas-upnp-org:service:RenderingControl:1
log: Renderer at : http://<IP_ADDRESS>:80/dd.xml
log: Getting renderer descriptions
Get service description for http://<IP_ADDRESS>:80/dd.xml
Service description:

1
0

urn:schemas-upnp-org:device:MediaRenderer:1
/web
VEN_2A2D&DEV_0001&SUBSYS_0001&REV_01 VEN_0033&DEV_0005&REV_01
MS_DigitalMediaDeviceClass_DMR_V001
MediaDevices
Multimedia.DMR
0
1
DMR-1.50
Harman Kardon AVR265
Harman Kardon
http://www.harmankardon.com
ir-ser-FS2026-0200-0149_V<IP_ADDRESS>060-10
None
None
http://www.radioharmankardon.com
0b04070303101f2701003e00ffff4dff
uuid:3dcc7100-f76c-11dd-87af-002261a59896

image/png
48
48
32
/icon.png

image/jpeg
48
48
32
/icon.jpg

image/png
120
120
32
/icon2.png

image/jpeg
120
120
32
/icon2.jpg

urn:schemas-upnp-org:service:AVTransport:1urn:upnp-org:serviceId:AVTransportAVTransport/scpd.xmlAVTransport/controlAVTransport/eventurn:schemas-upnp-org:service:ConnectionManager:1urn:upnp-org:serviceId:ConnectionManagerConnectionManager/scpd.xmlConnectionManager/controlConnectionManager/eventurn:schemas-upnp-org:service:RenderingControl:1urn:upnp-org:serviceId:RenderingControlRenderingControl/scpd.xmlRenderingControl/controlRenderingControl/event
log: Renderer Harman Kardon AVR265 None ip <IP_ADDRESS> at urlbase http://<IP_ADDRESS>:80/ has 3 services
log:   => OpenHome Playlist control url: '', AvTransport url: '/AVTransport/control'
.. urn:schemas-upnp-org:service:AVTransport:1 urn:upnp-org:serviceId:AVTransport /AVTransport/control
.. urn:schemas-upnp-org:service:ConnectionManager:1 urn:upnp-org:serviceId:ConnectionManager /ConnectionManager/control
.. urn:schemas-upnp-org:service:RenderingControl:1 urn:upnp-org:serviceId:RenderingControl /RenderingControl/control
log: SSDP discovery complete
Got 1 renderers
Try capturing system audio
log: Default audio output device: Speakers (Intel SST Audio Device (WDM))
log: Default config SupportedStreamConfig { channels: 2, sample_rate: SampleRate(48000), buffer_size: Unknown, sample_format: F32 }
log: The streaming server is listening on http://<IP_ADDRESS>:5901/stream/swyh.wav
log: The wave_reader is receiving samples
Pushed renderer #0 None Harman Kardon AVR265, state = ON
log: AV Start playing on Harman Kardon AVR265 host=<IP_ADDRESS> port=80 from <IP_ADDRESS> using AvTransport Play
AvTransport server URL: http://<IP_ADDRESS>:5901/stream/swyh.wav
url: http://<IP_ADDRESS>:80/AVTransport/control, SOAP Action: urn:schemas-upnp-org:service:AVTransport:1#SetAVTransportURI, SOAP xml body
0http://<IP_ADDRESS>:5901/stream/swyh.wav<DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/"><item id="1" parentID="0" restricted="0"><dc:title>swyh-rs</dc:title><res bitsPerSample="16" nrAudioChannels="2" protocolInfo="http-get:*:audio/wav:*" sampleFrequency="44100">http://<IP_ADDRESS>:5901/stream/swyh.wav</res><upnp:class>object.item.audioItem.musicTrack</upnp:class></item></DIDL-Lite>
resp:

url: http://<IP_ADDRESS>:80/AVTransport/control, SOAP Action: urn:schemas-upnp-org:service:AVTransport:1#Play, SOAP xml body
01
resp: s:ClientUPnPError705Transport is locked

Thanks for testing!
ClientUPnPError 705 Transport is locked  : I don't know what this means,  time for some studying the standard I guess...
It's possible that PCM audio/l16 is not supported by Harma, Kardon.

Hi, when I use LocalAudioBroadcast there is 2 format for streaming LPCM and WAV, that only work in LPCM, when I try WAV there is an error
See the information give by localaudiobroacast
Consultez la fin de ce message pour plus de détails sur l'appel du débogage
juste-à-temps (JIT) à la place de cette boîte de dialogue.
************** Texte de l'exception **************
OpenSource.UPnP.UPnPInvokeException:  Internal
à OpenSource.UPnP.UPnPService.InvokeSync(String MethodName, UPnPArgument[] InVarArr)
à LocalAudioBroadcast.ControlPoint.Play()
à LocalAudioBroadcast.MainForm.btnPlay_Click(Object sender, EventArgs e)
à System.Windows.Forms.Control.OnClick(EventArgs e)
à System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
à System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
à System.Windows.Forms.Control.WndProc(Message& m)
à System.Windows.Forms.ButtonBase.WndProc(Message& m)
à System.Windows.Forms.Button.WndProc(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Assemblys chargés **************
mscorlib
Version de l'assembly : <IP_ADDRESS>
Version Win32 : 2.0.50727.9151 (WinRelRS6.050727-9100)
CodeBase : file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
LocalAudioBroadcast
Version de l'assembly : 1.0.5651.25125
Version Win32 : 1.0.*
CodeBase : file:///C:/Users/Asus-AC2N/Desktop/Local%20Audio%20Broadcast/LocalAudioBroadcast.exe
System.Windows.Forms
Version de l'assembly : <IP_ADDRESS>
Version Win32 : 2.0.50727.9136 (WinRelRS6.050727-9100)
CodeBase : file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/<IP_ADDRESS>__b77a5c561934e089/System.Windows.Forms.dll
System
Version de l'assembly : <IP_ADDRESS>
Version Win32 : 2.0.50727.9147 (WinRelRS6.050727-9100)
CodeBase : file:///C:/WINDOWS/assembly/GAC_MSIL/System/<IP_ADDRESS>__b77a5c561934e089/System.dll
System.Drawing
Version de l'assembly : <IP_ADDRESS>
Version Win32 : 2.0.50727.9136 (WinRelRS6.050727-9100)
CodeBase : file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/<IP_ADDRESS>__b03f5f7f11d50a3a/System.Drawing.dll
UPnP
Version de l'assembly : 1.0.5329.22108
Version Win32 : 1.0.5329.22108
CodeBase : file:///C:/Users/Asus-AC2N/Desktop/Local%20Audio%20Broadcast/UPnP.DLL
HttpServer
Version de l'assembly : <IP_ADDRESS>
Version Win32 : <IP_ADDRESS>
CodeBase : file:///C:/Users/Asus-AC2N/Desktop/Local%20Audio%20Broadcast/HttpServer.DLL
System.Configuration
Version de l'assembly : <IP_ADDRESS>
Version Win32 : 2.0.50727.9153 (WinRelRS6.050727-9100)
CodeBase : file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/<IP_ADDRESS>__b03f5f7f11d50a3a/System.Configuration.dll
System.Xml
Version de l'assembly : <IP_ADDRESS>
Version Win32 : 2.0.50727.9136 (WinRelRS6.050727-9100)
CodeBase : file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/<IP_ADDRESS>__b77a5c561934e089/System.Xml.dll
Accessibility
Version de l'assembly : <IP_ADDRESS>
Version Win32 : 2.0.50727.9136 (WinRelRS6.050727-9100)
CodeBase : file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/<IP_ADDRESS>__b03f5f7f11d50a3a/Accessibility.dll
mscorlib.resources
Version de l'assembly : <IP_ADDRESS>
Version Win32 : 2.0.50727.9151 (WinRelRS6.050727-9100)
CodeBase : file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
NAudio
Version de l'assembly : <IP_ADDRESS>
Version Win32 : <IP_ADDRESS>
CodeBase : file:///C:/Users/Asus-AC2N/Desktop/Local%20Audio%20Broadcast/NAudio.DLL
System.Web
Version de l'assembly : <IP_ADDRESS>
Version Win32 : 2.0.50727.9154 (WinRelRS6.050727-9100)
CodeBase : file:///C:/WINDOWS/assembly/GAC_64/System.Web/<IP_ADDRESS>__b03f5f7f11d50a3a/System.Web.dll
System.resources
Version de l'assembly : <IP_ADDRESS>
Version Win32 : 2.0.50727.9136 (WinRelRS6.050727-9100)
CodeBase : file:///C:/WINDOWS/assembly/GAC_MSIL/System.resources/<IP_ADDRESS>_fr_b77a5c561934e089/System.resources.dll
System.Windows.Forms.resources
Version de l'assembly : <IP_ADDRESS>
Version Win32 : 2.0.50727.9136 (WinRelRS6.050727-9100)
CodeBase : file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/<IP_ADDRESS>_fr_b77a5c561934e089/System.Windows.Forms.resources.dll
************** Débogage JIT **************
Pour activer le débogage juste-à-temps (JIT), le fichier de configuration pour cette
application ou cet ordinateur (machine.config) doit avoir la valeur
jitDebugging définie dans la section system.windows.forms.
L'application doit également être compilée avec le débogage
activé.
Par exemple :

Lorsque le débogage juste-à-temps est activé, les exceptions non gérées
seront envoyées au débogueur JIT inscrit sur l'ordinateur
plutôt que d'être gérées par cette boîte de dialogue.

I don't know the difference between LPCM and WAV, but with SWYH and LocalAudioBroadcast i can stream to my Harmann Kardon only with LPCM.. Strange..

I am already sending in pcm format (audio/l16), the actual streaming url name swyh.wav is not relevant AFAIK.
I also know now what causes the upnp error 705, I'll fix that later today when I get home or tomorrow.
And thanks for helping me debug this!

An attempt to fix the error 705: https://github.com/dheijl/swyh-rs/releases/tag/0.7.5

And shit, this version 0.7.5 bug and closes directly at startup, I can't even copy the debug info ...

I have missed the biggest problem in your debug log: SOAP xml body 0
Instead of 0 there should have been valid xml, the problem was there all the time and yet I did not see it ("stront in de ogen" as we say in Flemish) because I searched in another direction.
Somehow on your system the formatting of the xml fails. I have added error checking to see why it fails.
Another release: https://github.com/dheijl/swyh-rs/releases/tag/0.7.6

And the new debub info
log: SSDP discovery started
UDP response at 2011 from <IP_ADDRESS>:56697:
HTTP/1.1 200 OK
CACHE-CONTROL: max-age=1800
EXT:
LOCATION: http://<IP_ADDRESS>:80/dd.xml
SERVER: POSIX, UPnP/1.0, Intel MicroStack/1.0.2777
ST: urn:schemas-upnp-org:service:RenderingControl:1
USN: uuid:3dcc7100-f76c-11dd-87af-002261a59896::urn:schemas-upnp-org:service:RenderingControl:1
log: Renderer at : http://<IP_ADDRESS>:80/dd.xml
log: Getting renderer descriptions
Get service description for http://<IP_ADDRESS>:80/dd.xml
Service description:

1
0

urn:schemas-upnp-org:device:MediaRenderer:1
/web
VEN_2A2D&DEV_0001&SUBSYS_0001&REV_01 VEN_0033&DEV_0005&REV_01
MS_DigitalMediaDeviceClass_DMR_V001
MediaDevices
Multimedia.DMR
0
1
DMR-1.50
Harman Kardon AVR265
Harman Kardon
http://www.harmankardon.com
ir-ser-FS2026-0200-0149_V<IP_ADDRESS>060-10
None
None
http://www.radioharmankardon.com
0b04070303101f2701003e00ffff4dff
uuid:3dcc7100-f76c-11dd-87af-002261a59896

image/png
48
48
32
/icon.png

image/jpeg
48
48
32
/icon.jpg

image/png
120
120
32
/icon2.png

image/jpeg
120
120
32
/icon2.jpg

urn:schemas-upnp-org:service:AVTransport:1urn:upnp-org:serviceId:AVTransportAVTransport/scpd.xmlAVTransport/controlAVTransport/eventurn:schemas-upnp-org:service:ConnectionManager:1urn:upnp-org:serviceId:ConnectionManagerConnectionManager/scpd.xmlConnectionManager/controlConnectionManager/eventurn:schemas-upnp-org:service:RenderingControl:1urn:upnp-org:serviceId:RenderingControlRenderingControl/scpd.xmlRenderingControl/controlRenderingControl/event
log: Renderer Harman Kardon AVR265 None ip <IP_ADDRESS> at urlbase http://<IP_ADDRESS>:80/ has 3 services
log:   => OpenHome Playlist control url: '', AvTransport url: '/AVTransport/control'
.. urn:schemas-upnp-org:service:AVTransport:1 urn:upnp-org:serviceId:AVTransport /AVTransport/control
.. urn:schemas-upnp-org:service:ConnectionManager:1 urn:upnp-org:serviceId:ConnectionManager /ConnectionManager/control
.. urn:schemas-upnp-org:service:RenderingControl:1 urn:upnp-org:serviceId:RenderingControl /RenderingControl/control
log: SSDP discovery complete
Got 1 renderers
Try capturing system audio
log: Default audio output device: Speakers (Intel SST Audio Device (WDM))
log: Default config SupportedStreamConfig { channels: 2, sample_rate: SampleRate(48000), buffer_size: Unknown, sample_format: F32 }
log: The streaming server is listening on http://<IP_ADDRESS>:5901/stream/swyh.wav
log: The wave_reader is receiving samples
Pushed renderer #0 None Harman Kardon AVR265, state = ON
log: AV Stop playing on Harman Kardon AVR265 host=<IP_ADDRESS> port=80
url: http://<IP_ADDRESS>:80/AVTransport/control,
=>SOAP Action: urn:schemas-upnp-org:service:AVTransport:1#Stop,
=>SOAP xml:
0
<=SOAP response:

log: AV Start playing on Harman Kardon AVR265 host=<IP_ADDRESS> port=80 from <IP_ADDRESS> using AvTransport Play
AvTransport server URL: http://<IP_ADDRESS>:5901/stream/swyh.wav
url: http://<IP_ADDRESS>:80/AVTransport/control,
=>SOAP Action: urn:schemas-upnp-org:service:AVTransport:1#SetAVTransportURI,
=>SOAP xml:
0http://<IP_ADDRESS>:5901/stream/swyh.wav<DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/"><item id="1" parentID="0" restricted="0"><dc:title>swyh-rs</dc:title><res bitsPerSample="16" nrAudioChannels="2" protocolInfo="http-get:*:audio/wav:*" sampleFrequency="44100">http://<IP_ADDRESS>:5901/stream/swyh.wav</res><upnp:class>object.item.audioItem.musicTrack</upnp:class></item></DIDL-Lite>
<=SOAP response:
<s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><u:SetAVTransportURIResponse xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"></u:SetAVTransportURIResponse></s:Body></s:Envelope>
url: http://<IP_ADDRESS>:80/AVTransport/control,
=>SOAP Action: urn:schemas-upnp-org:service:AVTransport:1#Play,
=>SOAP xml:
01
<=SOAP response: <s:Envelope
xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><s:Fault>s:ClientUPnPError705Transport is locked</s:Fault></s:Body></s:Envelope>

Apparently the xml formatting fails but the formatting function does not return any error, it just returns "0"...
Also the html encoding of the DIDL_Lite fragment fails (the xml is not escaped), and the service description return by the Harman Kardon is not shown : "Service description: 1 0".  It is as if Rust is using some system dll that fails on your system.
I have no idea what is happening.
Another thing: if the program "vanishes" without a message, you can start it from a command prompt, this way you staill have all the debug output available in the console window.

Decidedly it's always on me that it falls ... Maybe we should add the .dll directly with the application, I see that with LocalAudioBroadcast I have 3 .dll files : HttpServer.dll  NAudio.dll and UPnP.dll
Good luck..

I have now tested with Windows 10 20H1 and Windows 10 19H2 (2004) and Ubuntu 20.04LTS and they all work without any problem.
I don't know where to look...

Hi, my system run with Windows 10 Family version 1909, version du système d'exploitation 18363.1082
I don't know how can I help you, but if you need tester I'm here..

That's very kind of you, thanks!
Meanwhile I have an idea: all the problems on your system are with formatting large strings in a seperate thread. Rust tries to use the stack as much as possible to avoid heap allocations, stack allocations are much faster. So perhaps the default thread stack size is too small. Maybe be related to this: https://github.com/golang/go/issues/8233, it's go not Rust, but looks similar.
I'll make a new build later and try to set the thread stack size to a larger value, but I'll run some tests first to see if I can reproduce the problem hare by formatting strings that get longer and longer until it fails.
And thanks for your help!

Here's an attempt to decrease stack use and increase thread stacksize: https://github.com/dheijl/swyh-rs/files/5340431/swyh-rs-V0.7.7.zip

PULL UP !! It works..!
See the debug info
log: SSDP discovery started
UDP response at 8 from <IP_ADDRESS>:56697:
HTTP/1.1 200 OK
CACHE-CONTROL: max-age=1800
EXT:
LOCATION: http://<IP_ADDRESS>:80/dd.xml
SERVER: POSIX, UPnP/1.0, Intel MicroStack/1.0.2777
ST: urn:schemas-upnp-org:service:RenderingControl:1
USN: uuid:3dcc7100-f76c-11dd-87af-002261a59896::urn:schemas-upnp-org:service:RenderingControl:1
log: Renderer at : http://<IP_ADDRESS>:80/dd.xml
log: Getting renderer descriptions
Get service description for http://<IP_ADDRESS>:80/dd.xml
Service description:

1
0

urn:schemas-upnp-org:device:MediaRenderer:1
/web
VEN_2A2D&DEV_0001&SUBSYS_0001&REV_01 VEN_0033&DEV_0005&REV_01
MS_DigitalMediaDeviceClass_DMR_V001
MediaDevices
Multimedia.DMR
0
1
DMR-1.50
Harman Kardon AVR265
Harman Kardon
http://www.harmankardon.com
ir-ser-FS2026-0200-0149_V<IP_ADDRESS>060-10
None
None
http://www.radioharmankardon.com
0b04070303101f2701003e00ffff4dff
uuid:3dcc7100-f76c-11dd-87af-002261a59896

image/png
48
48
32
/icon.png

image/jpeg
48
48
32
/icon.jpg

image/png
120
120
32
/icon2.png

image/jpeg
120
120
32
/icon2.jpg

urn:schemas-upnp-org:service:AVTransport:1urn:upnp-org:serviceId:AVTransportAVTransport/scpd.xmlAVTransport/controlAVTransport/eventurn:schemas-upnp-org:service:ConnectionManager:1urn:upnp-org:serviceId:ConnectionManagerConnectionManager/scpd.xmlConnectionManager/controlConnectionManager/eventurn:schemas-upnp-org:service:RenderingControl:1urn:upnp-org:serviceId:RenderingControlRenderingControl/scpd.xmlRenderingControl/controlRenderingControl/event
log: Renderer Harman Kardon AVR265 None ip <IP_ADDRESS> at urlbase http://<IP_ADDRESS>:80/ has 3 services
log:   => OpenHome Playlist control url: '', AvTransport url: '/AVTransport/control'
.. urn:schemas-upnp-org:service:AVTransport:1 urn:upnp-org:serviceId:AVTransport /AVTransport/control
.. urn:schemas-upnp-org:service:ConnectionManager:1 urn:upnp-org:serviceId:ConnectionManager /ConnectionManager/control
.. urn:schemas-upnp-org:service:RenderingControl:1 urn:upnp-org:serviceId:RenderingControl /RenderingControl/control
log: SSDP discovery complete
Got 1 renderers
Try capturing system audio
log: Default audio output device: Speakers (Intel SST Audio Device (WDM))
log: Default config SupportedStreamConfig { channels: 2, sample_rate: SampleRate(48000), buffer_size: Unknown, sample_format: F32 }
log: The streaming server is listening on http://<IP_ADDRESS>:5901/stream/swyh.wav
log: The wave_reader is receiving samples
Pushed renderer #0 None Harman Kardon AVR265, state = ON
log: AV Stop playing on Harman Kardon AVR265 host=<IP_ADDRESS> port=80
url: http://<IP_ADDRESS>:80/AVTransport/control,
=>SOAP Action: urn:schemas-upnp-org:service:AVTransport:1#Stop,
=>SOAP xml:
0
<=SOAP response:

log: AV Start playing on Harman Kardon AVR265 host=<IP_ADDRESS> port=80 from <IP_ADDRESS> using AvTransport Play
AvTransport server URL: http://<IP_ADDRESS>:5901/stream/swyh.wav
url: http://<IP_ADDRESS>:80/AVTransport/control,
=>SOAP Action: urn:schemas-upnp-org:service:AVTransport:1#SetAVTransportURI,
=>SOAP xml:
0http://<IP_ADDRESS>:5901/stream/swyh.wav<DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/"><item id="1" parentID="0" restricted="0"><dc:title>swyh-rs</dc:title><res bitsPerSample="16" nrAudioChannels="2" protocolInfo="http-get:*:audio/l16;rate=48000;channels=2:DLNA.ORG_PN=LPCM" sampleFrequency="48000">http://<IP_ADDRESS>:5901/stream/swyh.wav</res><upnp:class>object.item.audioItem.musicTrack</upnp:class></item></DIDL-Lite>
<=SOAP response:
<s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><u:SetAVTransportURIResponse xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"></u:SetAVTransportURIResponse></s:Body></s:Envelope>
url: http://<IP_ADDRESS>:80/AVTransport/control,
=>SOAP Action: urn:schemas-upnp-org:service:AVTransport:1#Play,
=>SOAP xml:
01
<=SOAP response:
<s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><u:PlayResponse xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"></u:PlayResponse></s:Body></s:Envelope>
log: Received request /stream/swyh.wav from <IP_ADDRESS>:50011
log: Streaming to <IP_ADDRESS>:50011 has ended
log: Received request /stream/swyh.wav from <IP_ADDRESS>:50012

That's good news!!
However, the "large" xml strings (the SOAP requests to the Harman Kardon, => SOAP xml:) are still not printed in your debug output, they show as "0" or "01". Only the small xml responses  are shown. So there definitely is some problem on your system, but I don't have a clue what it could be...
So I must have been more or less on the right track, but why those xml's are not shown as soon as they a bit larger, I have absolutely no clue...
Thanks for your patience with me!

Well done it has been working well for a long time.
In addition it requires very few system resources, only 5% of the processor and 2.6MB of ram. Very very good job ...
Another small question, can swyh-rs send the info about the file being played, artist, album so that my amp displays what is being read on my computer ..
Thank you again for all..!!

I'm sorry but info about the file being played is not present in the audio stream. I know that Local Audio Broadcast can do this for Spotify by "stealing" the information from the title bar in the Spotify Window, but this is not guaranteed to continue to work for new Spotify releases, and is not possibly for other music playing applications, as there is no "API" for this. It is just a "hack" for Spotify.

Ok I understand, too bad it would have been really nice for the amplifier to display what is being broadcast .. I use Deezer via my internet browser and stream to my amplifier, I have windows notifications displayed At each beginning of a piece, perhaps the beginning of a solution ...
Ah and your software is still running, always the same processor and ram values, really on top ..! There's more to work on the audio resolution settings and the display of the software but it's really a good job ..!

Deezer HiFI (with FLAC support) uses 44.1 kHz 16 bit audio, and if you configure your audio driver in Windows to use the same parameters you can enjoy that exact same quality on your Harman Kardon without any resampling.
swyh-rs uses the sample rate of your audio driver (and 16 bit audio, just like Deezer FLAC).

I will close this issue tomorrow, if you have any other problems/questions/suggestions you are welcome to open (a) new issue(s)!

Thanks again @dheijl


Aspnet-User-Identity layout renderer throws on asp.net core 2.1

NLog version: NLog.Web.AspNetCore 4.5.4
Platform: ASP.NET Core 2.1
Current NLog config (xml or C#, if relevant)
<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      autoReload="true">

  <extensions>
    <add assembly="NLog.Web.AspNetCore"/>
  </extensions>

  <targets>
    <target xsi:type="File"
            name="allfile"
            layout="${longdate}|${event-properties:item=EventId_Id}|${logger}|${aspnet-mvc-controller}|${aspnet-mvc-action}|${aspnet-request-method}|${aspnet-user-indentity}|${uppercase:${level}}|${message} ${exception:format=tostring}"
            fileName="logs\logfile-all.log"
            archiveFileName="logs\logfile-all.{#}.log"
            archiveEvery="Day"
            archiveNumbering="DateAndSequence"
            archiveDateFormat="yyyy-MM-dd"
            maxArchiveFiles="31"
            keepFileOpen="true" />
    <target xsi:type="File"
            name="file"
            layout="${longdate}|${event-properties:item=EventId_Id}|${logger}|${aspnet-mvc-controller}|${aspnet-mvc-action}|${aspnet-request-method}|${aspnet-user-indentity}|${uppercase:${level}}|${message} ${exception:format=tostring}"
            fileName="logs\logfile.log"
            archiveFileName="logs\logfile.{#}.log"
            archiveEvery="Day"
            archiveNumbering="DateAndSequence"
            archiveDateFormat="yyyy-MM-dd"
            maxArchiveFiles="31"
            keepFileOpen="true" />
  </targets>

  <rules>
    <logger name="*" minlevel="Trace" writeTo="allfile" />
    <logger name="Microsoft.*" maxLevel="Info" final="true" />
    <logger name="*" minlevel="Trace" writeTo="file" />
  </rules>
</nlog>

public class Program
{
    public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
        WebHost.CreateDefaultBuilder(args)
            .UseStartup<Startup>()
            .ConfigureLogging((context, logging) =>
            {
                logging.ClearProviders();
                logging.SetMinimumLevel(LogLevel.Trace);

                if (context.HostingEnvironment.IsDevelopment())
                {
                    logging.AddDebug();
                }
            })
            .UseNLog();
    // ...
}
public class Startup
{
    // ...
    public void ConfigureServices(IServiceCollection services)
    {
        services.AddSingleton<IHttpContextAccessor, HttpContextAccessor>();
        // ...
    }
}

What is the current result?
The layout renderer does not populate the value.
What is the expected result?
The value is populated.
Did you checked the Internal log?
Yes
Please post full exception details (message, stacktrace, inner exceptions)

2018-06-12 12:57:06.1501 Error Error parsing layout aspnet-user-indentity will be ignored. Exception: System.ArgumentException: LayoutRenderer cannot be found: 'aspnet-user-indentity'. Is NLog.Web not included?
   at NLog.Config.Factory`2.CreateInstance(String name)
   at NLog.Layouts.LayoutParser.GetLayoutRenderer(ConfigurationItemFactory configurationItemFactory, String name)

Are there any workarounds?
None that I am aware. The NLog.Web package lists the NLog.Web.AspNetCore as the correct package to use. The dependencies on nuget.org list NLog.Extensions.Logging as required, however that package states its not applicable.
Is there a version in which it did work?
I have not tried other versions. What is the correct set of dependencies, and is this is an asp.net core 2.1 issue or am I missing a package that was not automatically resolved by the VS package manager?

@jcasale You have a small spelling error: ${aspnet-user-indentity} should be ${aspnet-user-identity}

Words cannot convey the level of personal failure and shame:) It's now logging the account name...


Conda kivy package doesn't print its own version

Software Versions

Python: 3.7
OS: Arch Linux
Kivy: ?
Kivy installation method: conda install -c conda-forge kivy

Describe the bug
The current conda forge kivy package doesn't print its own version like the pip package.
Expected behavior
It is supposed to print something like:
[INFO   ] [Kivy        ] v1.11.1

To Reproduce

install the package: conda install -c conda-forge kivy
python -c "import kivy; print(kivy._KIVY_RELEASE)"

Code and Logs and screenshots
$ python -c "import kivy; print(kivy._KIVY_RELEASE)"
[INFO   ] [Logger      ] Record log in /home/tito/.kivy/logs/kivy_20-11-06_3.txt
[INFO   ] [Kivy        ] Installed at "/home/tito/.conda/envs/glitter2/lib/python3.7/site-packages/kivy/__init__.py"
[INFO   ] [Python      ] v3.7.8 | packaged by conda-forge | (default, Jul 31 2020, 02:25:08)
[GCC 7.5.0]
[INFO   ] [Python      ] Interpreter at "/home/tito/.conda/envs/glitter2/bin/python"
False

The kivy/base.py code check either if it's a RELEASE version, on a development version that have a git hash. But conda package don't have.
So i guess we are missing the RELEASE tag?

Can you check for sure which version you're using? Because I'm looking at https://anaconda.org/conda-forge/kivy/1.11.1/download/linux-64/kivy-1.11.1-py36hb227714_3.tar.bz2 and the code looks correct.
I suspect you installed 2.0.0rc4, which does seem to have this issue since we don't add a git hash or date for conda. However, I'm concerned that conda would install a rc version automatically. I had believed that stable is always considered larger than rc!?


Admin Theme - JS - Keep getting hover error in console

When I hover main menu

Answer found at the end of this:
http://stackoverflow.com/questions/8981463/detect-if-hovering-over-element-with-jquery/8981521#8981521
Basically you can't do :hover on a collection, only on single items, so you have to use extra code to check each one.


Ability to select Default Context in Chat

Validations

[X] I believe this is a way to improve. I'll try to join the Continue Discord for questions
[X] I'm not able to find an open issue that requests the same enhancement

Problem
Right now we have to select a context from the dropdown with nearly every message in order for the changes in the current file to be reflected in the prompt.
Co-pilot (altho limited), solves this issue quite elegantly by passing the current file with every chat prompt.
Solution
I believe the ability to set a default contextProvider for the chat, that can easily be overwritten, could greatly improve UX. If no context is selected from the dropdown, it falls back to the default, defined in the config.
{       "name": "open",       "params": {},       "default": true     },
Thanks for the incredible tool!

@Rockstage Love this idea! Definitely something we can do

Hi any update with this? agree with the OP, there should be some option(s) to set default context. Having the extension to load the current active file by default once the user hits "Enter" (like in Cursor) would be ideal.

This is a massive UX trick to reduce friction and stay in flow. Having to add context every single time is kind of tiresome.
I'd suggest giving the user several default options:

A few updates on this:

You can use option+enter to include the currently open file. We originally tried doing the opposite (open file by default), but overwhelmingly received feedback that this wasn't desirable
Because we understand that this might be preferred for some users still, there's an "experimental.defaultContext" option in config.json, which allows you to select the current file or other context providers


how to use rake tasks for webhook

i am confused about using your rake tasks for creating hooks.
-how can i call your tasks ?

where should i use these calls ?  i cannot call them rake yourtask
-how to pass the parameters, address and topic of hook ?

I've updated the docs, have a look and let me know if you have additional questions.


automatically wait job termination

currently, manually call wait method.
but in some situation (create too many disowned background job), exhaust process IDs.
due to prevent this, automatically wait job termination

related to #295


Proposal: Social Sharing of modules

Enable a social sharing for users like twitter facebook etc.
Just an idea and not sure if really needed. Please tell us your thoughts on this.

can we use addthis to implement this feature?
IMO this feature is not interested.. but this addthis is very easy to implement..

I kinda hate this stuff, as I block all social sharing links via ghostery anyway :-P

IMO we can close this issue.. :P but this is a democracy.. maybe

0d31b7d

Your pick. I don't think social links add anything at all to any website (except for the additional css/js/markup), but that's my opinion.

Not sure about fb, but twitter sounds good. What about an addthis button? It supports many sharing features?

In my opinion to share on twitter the flow is too much easy..
copy paste link :)
That is only my opinion


Newline and font size

Is it possible to render a newline?
When I type \r\n or \n, it renders a space instead of a newline.
Is it possible to set font size of text?

Thanks, but that doesn't work either

Then it might not be implemented.

For now, neither of that was implemented. Hopefully we'll be able to implement them sooner or later. Best you can do to help is to implement the feature yourself and send a pull request :)
But mentioning that it is an important feature for you is already good enough, I'll prioritize the task.

Hello, i tried everything to display multiline equations. Is it possible with wpfmath ?

@hbadi, for now, you could try a matrix:

Will that work for you?
A proper newline implementation (in form of a freely-available \\ command) is in the works right now.

Newline (aka \\ command) support has been merged in #222.
As discussion here was mostly about that feature, I've decided to close this issue and open a new one focused on font sizes: #239.

The best you can do regarding font size is to apply a ScaleTransform to the FormulaControl. This will increase/decrease the size of entire formula.


Add space before the hyperlink

What type of PR is this?

[ ] enhancement

What problem(s) does this PR solve?
Description:
In the README-CN.md file, there is a place where there is no space between ordinary text and hyperlinks, which affects the user's reading experience.
How do you solve it?
Add a space between plain text and hyperlinks.
Special notes for your reviewer, ex. impact of this fix, design document, etc:

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

Thanks @DiligenceLai for the contribution!


Improve package log documentation.

My take on improving the docs on package log's core pieces with style cues taken from Go's standard library.

I like it! Thanks!


Prediction shape mismatch with GroundTruth

Hi,
Thanks a lot for sharing your work and instructions for training and inference. I have been trying to train 'dino_vit_small_reg.dpt_raft' on a mini-dataset of my own. I basically modeled it almost like KITTI, except ofcourse the differences in original image size, focal_length, metric_scale. I also don't have any semantic maps so those are basically just left empty. There are also no normals pre-calculated so those are just arrays of zeros(the way the base dataset initializes them from NONE)
This is the relevant part of dataset config:-

The depthmap i use basically has all the depth values in metric space and 8m is the max detection range
The process_depth part:-

I clip between 0.3 - 3.5 m and normalize to (0 - 1) for canonical transformation.
Now i get that this might not be the most desirable dataset with such small sized images, so i wasn't expecting any impressive results. But atleast i was expecting to train on these without introducing any errors in data-loading/ pre-processing. I can't figure out why but a single FORWARD() pass thru the network generates predictions that are not of the same shape as GroundTruth and so the loss calculation and hence the training basically fails at the very beginning.
Here's a bunch of debug prints from prediction and GT shapes:-

I have also tried shutting down almost all the augmentations except HorizontalFlip:-

Since some operations in the network involve splitting into patches and up/down sampling, you need to ensure that the input's width and height are divisible by 28.

First, the ViT encoder splits the image into 14*14 patches, so the width and height should be divisible by 14, otherwise they will be padded;
Second, the encoded tokens will be further encoded into features at four resolutions of the original image: 1/14, 1/14, 1/7, 1/4, to provide to the RAFT decoder. Therefore, the padded width and height should also be divisible by 4, otherwise they will be truncated.

When your input size is (132,176), this is what happens:
$\lfloor \lceil 132/14 \rceil * 14 / 4 \rfloor * 4 = 140$
$\lfloor \lceil 176/14 \rceil * 14 / 4 \rfloor * 4 = 180$
Therefore, the recommended practice is to always include RandomCrop in the pipeline to ensure the input always complies (if the crop size is larger than the image size, padding will be applied; our implementation will automatically handle padding and unpadding).
Additionally, given that ViT is sensitive to input size, and our training uses (616, 1064) as input, if you plan to fine-tune based on the pre-trained model, it's recommended to maintain consistent input sizes for better performance.

Thanks, the random cropping resolves the problem. But the losses don't seem right, Specially this early during the training:-

BTW!! Can the algorithm even be trained without GT Normals and GT Semantic Masks ?

Nevermind. Was using the wrong clipping-range, so GT depth was all -1. Fixed that and now losses are non-zero.

should i use fine-tuning or train from scratch.
Is the absence of any GT normals or GT semantic masks ok?
Would i get worse results using a greyscale image as RGB?
Should i use the same data-normalization mean and std as used in most dataset configs: mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375]),
Since, I have no sky masks, does it make sense to turn off the Sky Regularization?
Should i use all the following recommended masks for ViT.Raft.small:-

Here are my thoughts:

I suggest you try fine-tuning the pre-trained model first. You can refer to the finetuning protocols in Section 1.2 of the Metric3Dv2 paper appendix.
The GT semantic mask is used for sky regularization, and GT normals are used for optimizing normals. It's okay if you don't have GT semantic masks and normals; the training pipeline will only optimize depth. However, if none of all training data has GT normals, consider whether it's necessary to use depth-normal consistency loss for joint optimization. You should experiment to find the best practice.
I think it should be.
Yes, if you use RGB input.
If you don't have sky masks, whether you enable it or not, there will be no additional regularization of the sky, and this loss will be 0.
The configuration looks okay. However, as discussed in 2, whether to use DeNoConsistencyLoss is worth considering and experimenting with.

我应该使用微调还是从头开始训练。
没有任何 GT 法线或 GT 语义掩码可以吗？
使用灰度图像作为 RGB 图像会得到更差的结果吗？
我是否应该使用与大多数数据集配置相同的数据标准化平均值和标准差：平均值=[123.675, 116.28, 103.53]，标准差=[58.395, 57.12, 57.375]），
由于我没有天空蒙版，关闭天空规则化是否有意义？
我是否应该对 ViT.Raft.small 使用以下所有推荐的掩码：-

以下是我的想法：

我建议您先尝试微调预训练模型。您可以参考 Metric3Dv2 论文附录第 1.2 节中的微调协议。
GT 语义蒙版用于天空正则化，GT 法线用于优化法线。如果您没有 GT 语义蒙版和法线，也没关系；训练管道只会优化深度。但是，如果所有训练数据都没有 GT 法线，请考虑是否有必要使用深度法线一致性损失进行联合优化。您应该进行实验以找到最佳实践。
我认为应该如此。
是的，如果您使用 RGB 输入。
如果您没有天空遮罩，无论您是否启用它，都不会对天空进行额外的规则化，并且此损失将为 0。
配置看起来还不错。但是，正如 2 中讨论的那样，是否使用DeNoConsistencyLoss值得考虑和试验。

@ZachL1 Hello, Thank you members for answering my questions earlier, the data structure requirements of kitti data given by your training example, I want to fine-tune your model to suit my use case:

I want to know if I have GT- depth map, GT-RGB image and GT- surface normal map in my dataset, what kind of dataset should I refer to for fine-tuning;
I want to try to debug the scene in a bird's eye view( (because you said that the model lacks a bird's eye view), like the corner view of an elevator, I don't know if I still need a GT -surface normal map. Thank you in advance for your answer, thank you!

@ZachL1 So, after training for 30 epochs on the dataset i have, i do get a decent drop in loss apparently.

I get roughly the same accuracy on test images. But then i save the output images using 'do_test.py' and i get some output like this:-

Top: Greyscale immage, Middle: Prediction, bottom: GT depth.
I looked at the ranges of values in GT and predicted depth. It seems like the network takes as input, GT depth normalized between 0 and 1 while outputs a prediction which is normalized between 0 and 200. Does this immediately indicate some mistake i might be making, or is this by design supposed to be.

Hi, @oywenjun11

All dataset classes inherit from BaseDataset. You can check how it loads data and inherit from it to implement your own Dataset class. If you do this, you can refer to Matterport3DDataset or any other derived class. Basically, you just need to ensure that load_batch() loads data as expected (note that you need to appropriately override some methods).
Alternatively, you can build your own Dataset from scratch in the way you prefer.
As I mentioned in my previous comment, GT normal is not necessary; you can optimize the model by directly relying on GT depth.

Hi, @saadehmd
I think this might primarily be a visualization issue. The lower left corner seems to be incorrectly predicted as sky. Referring to some existing discussions, you can try clipping the predicted depth first, and then see how the visualization results look.

...
the visualization doesn't look very good due to the very large depth values in the sky. You can set the part exceeding a certain threshold to zero before color mapping. The pre-trained Metric3D should predict the sky depth as 200m or 150m as I recall, and in general setting the threshold to 100m should work for most scenes.
Originally posted by @ZachL1 in https://github.com/YvanYin/Metric3D/issues/109#issuecomment-2159812386

@ZachL1 Thank you so much for taking the time out of your busy schedule to answer my questions, Solved my doubts in this regard.I have recently started using my own dataset to try to fine-tune your model, and I have the following questions:

The data I use is synthetic data, so the RGB image of the dataset is not real enough, of course, the depth image is more standard,I don't know if this kind of RGB image has a big impact on my fine-tuning model.
When I was training in the format of the kitti dataset with the dataset I described above, I first tried to train the pre-trained model of large(vit) (about 1.7G), max_iters=40000, I found that the size of the model in ckpt changed to 4.7G, the size of the change was more than I imagined, I want to know if this is due to a problem with the parameter settings of my dataset, or because I have too many training rounds.
The result of the pre-trained model of the large is fine-tuned by inference, and the effect is far worse than your original small model, I wonder if this is due to the poor quality of the RGB images in my dataset or the number is not enough (about 1k images) (virtual synthetic data), or it has actually been fitted. because I found that the loss will bounce back and forth in the later stage of training.

The good thing is to use the large and small pre-trained model, and the bad is to use the fine-tuned model (large),RGB image shows a person standing outside the door, holding a calibration board.

Thank you very much for answering my newbie questions;
I don't know if I can add your contact information, if you agree, you can send your contact information to my email<EMAIL_ADDRESS>or keep in touch by email.
Thank you in advance for answering my question, thank you

Hi, @oywenjun11

Synthetic data is also okay;
The model weights will not increase during training; they should always remain constant;
I will contact you via email for more details.

Hi, Im trying to use your model for outdoor scene to get metric depth to eventually get a sense of scale at the specific location, but the depth values are too varied, can you help me with this more details here

I did manage to finally train it on my dataset without any scale ambiguities on the output and tried to visualize data as pointcloud (instead of depth images) to make more sense. In the GIF attached. The green ones are the GT points in one of the test samples and the red ones are red points. While there's quite a good overlap between the True positives i.e.; The plane patches in the GT are also present in the predicted cloud, there's also a lot of noise i.e. scattered False-positive points around those patches.
I am thinking following could be the reasons (what are your suggestions on these?):-

Since i am not actually training on RGB images but instead a single channel Gray image the mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375] are probably creating problem instead of properly normalizing the three channels. (do you think skipping this normalization of RGB would help?)

Maybe more epochs of training and with the larger ViT might help.

I have removed most all the resize, crop, distortion augmentations from current training, just kept the bare minimum for canonical resize and padding. Maybe training with more augmentations helps ?

Trained again by masking out the dark regions in the rgb image and applying some outlier removal to the pointcloud (projected from predicted depth image) and it looks much better now. Thanks for all the help :)


[Feature] integration with uno platform

** I find that the Microcharts lib cannot work with uno platform, maybe as i am a freshmen to .net platform, if there is an easy way to achieve, thx for let me known it.
The base class cannot work with uno platform and compile failed.

It's not built for that at all, it's designed to be used by xamarin projects and I don't see that changing, the biggest shift I do see in Microchart's future is adding support for MAUI because that's the next generation of xamarin.
Unless an uno expert joins the team, I don't see support for that framework coming to the library any time soon.


Stories | TextInput with all the gadgets | Cannot type more than one character

From the storybook page http://localhost:9009/?path=/story/textinput--text-input-with-all-the-gadgets , not able to type more than one character at a time on this storybook page (TextInput with all the gadgets)
Hint: From the storybook page, if you look at the actions tab it is only calling onChange and not any of the others you see in the basic text input.
A/C
Should be able to type multiple characters.

TextInput story with all the gadgets was removed, so closing this related ticket.


DocsArchive-<IP_ADDRESS>Auto archive content

Auto archive content from https://github.com/OPS-E2E-PPE/docs-archive-test-source

Docs Build status updates of commit 26a9f00:
:clock10: Pending: waiting for processors (6 builds ahead of you)
:warning: Docs Build is busy, currently there are 6 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 26a9f00:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Cannot sync git repo to specified commit because branch Archive_master_2019-11-14-08-36-13 has been deleted or has been force pushed: fatal: Couldn't find remote ref Archive_master_2019-11-14-08-36-13

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


Incomplete graphs

I was going through some of the examples in the training set and I noticed some incomplete graphs. For example this on that is form 'rom': 'afflicted':
'graph': [['', 'in', ''], ['you', 'have', ''], ['you', 'in', '']]

Is there a particular reason for incomplete graphs like that, or is this a bug?

Also sometimes the graph is empty, where it shouldn't be based on the flow of the game steps and the observations.  For example this one produces an empty graph:
with open('/path/train.json', 'r') as fi:
    td = json.load(fi)
td[2][4]['state']['graph']
# []


[BEAM-2240] Cherry Pick #3012 onto release-2.0.0

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[ ] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[ ] Make sure tests pass via mvn clean verify.
[ ] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

R: @aaltay @davorbonaci
https://github.com/apache/beam/pull/3012 has not yet been merged into master, but has LGTM and just waiting on Jenkins. Starting this PR to parallelize the Jenkins latency.

LGTM. (Assuming that there will be no more changes on the original PR)

Master-targeted CL passed all tests and has been merged.

Changes Unknown when pulling 617eeb272591c5197b5c325a341e19f695be7a28 on robertwb:py-exceptions-cp into ** on apache:release-2.0.0**.

Green and merged.


Permissive Open Source License

Original author: Suminda Dharmasena
Original issue: https://charm.cs.illinois.edu/redmine/issues/840

Can you more to a permissive open source license.

Original date: 2015-10-06 20:29:15

This isn't a bug in the code. If you want to discuss this, please start a discussion on our mailing list.


scatter_add in float32 may be inaccurate when accumulating large numbers of entries

Originally reported in #18393; here's an example:
In [1]: import jax

In [2]: vals = jax.random.uniform(jax.random.key(0), (100_000_000,))

In [3]: idx = jax.numpy.zeros(len(vals), dtype=int)

In [4]: jax.numpy.zeros(1).at[idx].add(vals)
Out[4]: Array([16777216.], dtype=float32)

In [5]: vals.sum()
Out[5]: Array(50004288., dtype=float32)

In terms of real-valued math, these two should match.
The mismatch comes from the fact that scatter_add adds elements in sequence, and so for large numbers of elements accumulating at the same index it can hit catastrophic floating point rounding errors (topping out at $2^{24}$, because $2^{24} + 1$ is not exactly representable in float32)
This affects all APIs that make use of scatter_add, including jnp.bincount, weighted jnp.histogram, and many others.
We should think about how to mitigate this issue. Some possible options:

Make scatter_add accumulate at higher precision. Probably not feasible because float64 is usually not available.
Sort the updates to scatter_add so that smaller entries are accumulated first. This would address the issue in some (but not all) cases, but could make distributed/batched code less efficient as it could require an all-to-all for the global sort.
Depending on the dtype and the number of accumulated values, we could raise a warning if we think the result might be inaccurate. Unfortunately, it would be hard to do this without frequent false positives.

None of these fixes strikes me as a good route to fixing this issue in general; it might be that the best we can do is document the potential problem.

Hi Jake,
I was thinking you could do this using a staging 'accu' tensor of the same shape as the destination, and then do the summation in nested fashion.  That is, compute the scatter_add on chunks of vals and idx, then sum those chunks element-wise.
I would guess it could be implemented very efficiently at a low level, and would also shard across devices without any particular difficulty.
I tested it and a chunk size of 1 million works.  The safe chunk size would depend on an assumption of how widely varying the exponent of the summands are.  If they are more or less uniformly distributed on any scale, I think it would still work.
This jax scan-based pseudocode works, but only if I insert the print statement, which presumably prevents the compiler from optimizing out the accu buffer.
import jax

def staged_scatter_add(vals, idx, chunk_size):
    def scan_fn(carry, item):
        vals, idx = item
        accu = jax.numpy.zeros_like(carry).at[idx].add(vals)
        out = carry + accu
        # this print statement is needed (I guess to prevent 'accu' from being optimized out?)
        # jax.debug.print('accu: {}', accu)
        return out, 0

    num_chunks = len(vals) // chunk_size
    vals = vals.reshape(num_chunks, chunk_size)
    idx = idx.reshape(num_chunks, chunk_size)
    out, _ = jax.lax.scan(scan_fn, jax.numpy.zeros(1), (vals, idx))
    return out

vals = jax.random.uniform(jax.random.key(0), (100_000_000,))
idx = jax.numpy.zeros(len(vals), dtype=int)
staged = staged_scatter_add(vals, idx, 1_000_000)
print(vals.sum(), staged[0])
# 50004290.0 50004410.0

I'll note that we have support for bucketing accumulation in segment_sum to solve a variant of this problem: https://github.com/google/jax/blob/03cae62c78349f4e8a0ede08c0955fdb32070052/jax/_src/ops/scatter.py#L224


no space left on device

since two days i have a lot of problems with nodes : no space left on device
 [WARNING SystemVerification]: docker version is greater than the most recently validated version. Docker version: 18.06.1-ce. Max validated version: 17.03
        [WARNING SystemVerification]: failed to parse kernel config: unable to load kernel module "configs": output - "", err - exit status 1
[preflight/images] Pulling images required for setting up a Kubernetes cluster
[preflight/images] This might take a minute or two, depending on the speed of your internet connection
[preflight/images] You can also perform this action in beforehand using 'kubeadm config images pull'
        [WARNING ImagePull]: failed to pull image [k8s.gcr.io/kube-apiserver-amd64:v1.11.10]: exit status 1
        [WARNING ImagePull]: failed to pull image [k8s.gcr.io/kube-controller-manager-amd64:v1.11.10]: exit status 1
        [WARNING ImagePull]: failed to pull image [k8s.gcr.io/kube-scheduler-amd64:v1.11.10]: exit status 1
        [WARNING ImagePull]: failed to pull image [k8s.gcr.io/kube-proxy-amd64:v1.11.10]: exit status 1
        [WARNING ImagePull]: failed to pull image [k8s.gcr.io/etcd-amd64:3.2.18]: exit status 1
        [WARNING ImagePull]: failed to pull image [k8s.gcr.io/coredns:1.1.3]: exit status 1
[preflight] WARNING: unable to stop the kubelet service momentarily: [exit status 1]
[kubelet] Writing kubelet environment file with flags to file "/var/lib/kubelet/kubeadm-flags.env"
error writing a dynamic environment file for the kubelet: failed to write kubelet configuration to the file "/var/lib/kubelet/kubeadm-flags.env": write /var/lib/kubelet/kubeadm-flags.env: no space left on device

node1 ~]$ df -h
Filesystem      Size  Used Avail Use% Mounted on
overlay          10G   28K   10G   1% /
tmpfs            64M     0   64M   0% /dev
tmpfs            16G     0   16G   0% /sys/fs/cgroup
/dev/sdb         64G   64G   20K 100% /etc/hosts
shm              64M     0   64M   0% /dev/shm

should be fixed now

I'm seeing this error right now when I try to pull  Wordpress image.
node1] (local<EMAIL_ADDRESS>~
$ df -h
Filesystem                Size      Used Available Use% Mounted on
overlay                  10.0G    116.0K     10.0G   0% /
tmpfs                    64.0M         0     64.0M   0% /dev
tmpfs                    15.7G         0     15.7G   0% /sys/fs/cgroup
/dev/sdb                 64.0G     63.7G    293.7M 100% /etc/resolv.conf
/dev/sdb                 64.0G     63.7G    293.7M 100% /etc/hostname
/dev/sdb                 64.0G     63.7G    293.7M 100% /etc/hosts
shm                      64.0M         0     64.0M   0% /dev/shm
/dev/sdb                  4.7G    160.0K      4.7G   0% /var/lib/docker


IndexError: arrays used as indices must be of integer (or boolean) type

Hello there,
I try to analyze ECG and EDA data with your gr8 tool. Unfortunately I ran into a problem.
What I've done so far:

Downloaded working winpython distrib. as outlined here (http://neurokit.readthedocs.io/en/latest/tutorials/Python.html)
Run the following Code (see attached file for review input data
Data.xlsx)

# Import packages
import neurokit as nk
import pandas as pd
import numpy as np
import biosppy as biosppy

# Plotting preferences
%matplotlib inline

import matplotlib
matplotlib.rcParams['figure.figsize'] = [14.0, 10.0]  # Bigger figures
import seaborn as sns
sns.set_style("whitegrid")  # White background
sns.set_palette(sns.color_palette("colorblind"))  # Better colours

df = pd.read_csv("C:/Users/.../Data.csv", sep=';')
df=df.rename(columns = {'Input2':'EDA'})
df=df.rename(columns = {'Input3':'ECG'})

bio = nk.bio_process(ecg=df["ECG"], eda=df["EDA"])

However, execution ends with an error
bio = nk.bio_process(ecg=df["ECG"], eda=df["EDA"])
Traceback (most recent call last):

  File "<ipython-input-40-84efa8150f06>", line 1, in <module>
    bio = nk.bio_process(ecg=df["ECG"], eda=df["EDA"])

  File "C:\Users\...\Desktop\neuropython\WinPython-64bit-<IP_ADDRESS>Zero\python-3.5.3.amd64\lib\site-packages\neurokit\bio\bio_meta.py", line 95, in bio_process
    eda = eda_process(eda=eda, sampling_rate=sampling_rate, use_cvxEDA=use_cvxEDA)

  File "C:\Users\...\Desktop\neuropython\WinPython-64bit-<IP_ADDRESS>Zero\python-3.5.3.amd64\lib\site-packages\neurokit\bio\bio_eda.py", line 94, in eda_process
    scr_onsets[biosppy_eda['onsets']] = 1

IndexError: arrays used as indices must be of integer (or boolean) type

...With all other input data, it worked fine. Only this data-set seems to make problems but I cannot figure out why. Would be nice if you could help me to resolve this.
Thanks in advance

@Raphael-Rissler, could you send me this file? You can either attach it here or send it to me<EMAIL_ADDRESS>if you don't want it to go public. I'll try to figure out what's going on 😉

Sorry I did not see your file, I'll have a look this evening or tomorrow!

@Raphael-Rissler The excel file you provided seems to work just fine (see attached picture).
Maybe something went wrong when you converted it to a csv. If the separators are ";", are you sure decimal delimiters are "." and not ","? If you do not succeed to fix it, could you send me the csv with which neurokit throws an error. Thanks!

Hello,
first sorry for my late response, was travling... :)
I doublechecked again but the error occured again in some other files. I've send you a CSV, which I cannot analyse unfortunately due to the error mentioned above.
2_a02_Bioplux.zip

@Raphael-Rissler I will answer also your other issue (#27) here as I think the problem is related.
So, I did the following:
import neurokit as nk
import pandas as pd

df = pd.read_csv("2_a02_Bioplux.csv", sep=";")

df["Input1"].plot()
df["Input2"].plot()
df["Input3"].plot()

"""
I believe that Input3 is the ECG channel (with reversed polarity) while Input2 looks like EDA signal. As for Input1, I've no idea what it is. Note that units of the ECG are unusual (not in mV).
"""

df["Input3"][0:10000].plot()

"""
I plotted a subset of 10,000 timepoints. As we can see, there's about 13 heart beats, which is plausible for a 10 seconds window. That suggests that the signal is sampled at 1000Hz.
"""

# Let's see if preprocessing works:
processed = nk.ecg_preprocess(ecg=df["Input3"])

rpeaks = processed["ECG"]["R_Peaks"]

nk.plot_events_in_signal(signal=df["Input3"][0:10000], events=rpeaks[0:13])  # the segmenter correctly identified the R peaks.

While the preprocessing works, the "ecg_process" function does not (ie takes much longer than it should). This might be caused, indeed, by the polarity reversal you mentionned in #27. However, many things (including HRV, RSA, heart rate, and stuff) rely on the R peaks location list. So if those are correct, than the computation should be correct. However, other indices might not be correct.
I suggest you to 1) indentify which features are of interest to you, 2) See in the code on what indices they rely (here you can see, for example, that ecg_hrv only requires r_peaks) 3) If they rely on indices that were correctly computed by preprocessing, apply the required functions
Let me know how it goes 😉


Hiding credentials and API URL's

Describe the bug
The API URL and the backend credentials are visible to all.
To Reproduce
Steps to reproduce the behavior:

Go to 'config files'
See the credentials.

Expected behavior
The credentials should be hidden
Screenshots
None
Have you read the Code of Conduct?
Yes
Please assign this issue to me under GSSoC 21'.

I have finished the code and ready for PR.
But I'm getting the issue for commiting.


Add 'README.md' files to 'lib' and 'src/lib'.

:+1:

:+1:

can you add this to .npmignore as well


Pass video frames to InputImage

@bharat-biradar is there a way to convert the video frames to InputImage object and then pass it to perform the recognition on a video?

@sbis04 Take a look at this plugin it might be of help to you. Let me know if it works


Packaging change: Separate Conmon package for Podman on Fedora

As of right now, we share conmon with CRI-O via the conmon subpackage of CRI-O. However, we've been running into issues recently with podman specific fixes for conmon landing in CRI-O master. The CRI-O maintainers are reluctant to backport these to the release branches the package (and conmon subpackage) are built from, as the new features landing in conmon could break CRI-O releases.
We are presently blocked on introducing several new features as conmon is too old to include them (and, given conmon is a very limited executable with almost no versioning, we cannot reliably determine what features the host conmon supports). A conmon package with support may not become available until the F29 timeframe (would be tied to CRI-O 1.10, which depending on Kube 1.10's schedule may not make F28). This is a very long time to hold off on adding critical features like container restart and proper cleanup.
Given this, we'd like to bundle conmon in our podman in Fedora to hold a more up-to-date version of conmon while not risking breakage in CRI-O. This will allow us to control what version of conmon we ship against and guarantee the features we need are available. This will hopefully be a temporary measure until development slows down and the two can unify again.
Specific steps to fix:

Check out CRI-O repository's master and build conmon when building podman. Include this conmon in the package, installing to /usr/libexec/podman/conmon (alongside the normal conmon located at /usr/libexec/crio/conmon)
Install the libpod config file libpod.conf located in the root of the repository to /usr/share/containers so we can specify which conmon path we want to use via configuration file once installed

We need to update the README with this information.

Done

Once Podman has a requirement on a specific commit or range of commit, would you mention that in the release notes? Currently, there is no specific podman-conmon package for openSUSE and I'd like to defer it unless really necessary.

@vrothberg Sure, we should probably keep track of that in the readme.

@mheon Thanks :-)