text:
Cannot seem to nail down dependencies

Running on Centos 7.3 (company standard) and have it to this point:
`vncdesk 2 xfig
Traceback (most recent call last):
File "/usr/bin/vncdesk", line 3, in
import vncdesk
File "/usr/lib/python3.4/site-packages/vncdesk/init.py", line 1, in
from .main import main
File "/usr/lib/python3.4/site-packages/vncdesk/main.py", line 5, in
gi.require_version('GtkVnc', '2.0')
File "/usr/lib64/python3.4/site-packages/gi/init.py", line 103, in require_version
(namespace, version))
ValueError: Namespace GtkVnc not available for version 2.0
'
Obviously still missing something, but what?

Does the issue persist?
Sorry for not replying earlier!

Thanks for the report!
Can you please describe step by step how you installed Vncdesk? (incl. gtk-vnc 0.5 or compatible with Python GTK+ 3 bindings)
Then I can try reproducing the issue in a virtual machine with Mint (first need to set that up).

Hi Felix,
I already have python 2.7 and 3.5 installed.
I installed tigervnc 1.8.0-1ubuntu1_amd64, libgtk-vnc-2.0-0 0.5.3-1.3ubuntu2.1
and python-gtk-vnc 0.5.3-1.3ubuntu2.1
After downloading vncdesk I ran sudo python3 setup.py install
running install
running bdist_egg
running egg_info
writing dependency_links to vncdesk.egg-info/dependency_links.txt
writing vncdesk.egg-info/PKG-INFO
writing top-level names to vncdesk.egg-info/top_level.txt
reading manifest file 'vncdesk.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'vncdesk.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/vncdesk
copying build/lib/vncdesk/__init__.py -> build/bdist.linux-x86_64/egg/vncdesk
copying build/lib/vncdesk/d3des.py -> build/bdist.linux-x86_64/egg/vncdesk
copying build/lib/vncdesk/main.py -> build/bdist.linux-x86_64/egg/vncdesk
copying build/lib/vncdesk/util.py -> build/bdist.linux-x86_64/egg/vncdesk
copying build/lib/vncdesk/version.py -> build/bdist.linux-x86_64/egg/vncdesk
copying build/lib/vncdesk/vnc_server.py -> build/bdist.linux-x86_64/egg/vncdesk
byte-compiling build/bdist.linux-x86_64/egg/vncdesk/__init__.py to __init__.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/vncdesk/d3des.py to d3des.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/vncdesk/main.py to main.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/vncdesk/util.py to util.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/vncdesk/version.py to version.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/vncdesk/vnc_server.py to vnc_server.cpython-35.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
installing scripts to build/bdist.linux-x86_64/egg/EGG-INFO/scripts
running install_scripts
running build_scripts
creating build/bdist.linux-x86_64/egg/EGG-INFO/scripts
copying build/scripts-3.5/vncdesk -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts
changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/vncdesk to 755
copying vncdesk.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying vncdesk.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying vncdesk.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying vncdesk.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying vncdesk.egg-info/zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO
creating 'dist/vncdesk-1.7.0-py3.5.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing vncdesk-1.7.0-py3.5.egg
Removing /usr/local/lib/python3.5/dist-packages/vncdesk-1.7.0-py3.5.egg
Copying vncdesk-1.7.0-py3.5.egg to /usr/local/lib/python3.5/dist-packages
vncdesk 1.7.0 is already the active version in easy-install.pth
Installing vncdesk script to /usr/local/bin

Installed /usr/local/lib/python3.5/dist-packages/vncdesk-1.7.0-py3.5.egg
Processing dependencies for vncdesk==1.7.0
Finished processing dependencies for vncdesk==1.7.0

Running vncdesk gives
Traceback (most recent call last):
  File "/usr/local/bin/vncdesk", line 4, in <module>
    __import__('pkg_resources').run_script('vncdesk==1.7.0', 'vncdesk')
  File "/usr/local/lib/python3.5/dist-packages/pkg_resources/__init__.py", line 750, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/local/lib/python3.5/dist-packages/pkg_resources/__init__.py", line 1518, in run_script
    .format(**locals()),
pkg_resources.ResolutionError: Script 'scripts/vncdesk' not found in metadata at '/usr/local/lib/python3.5/dist-packages/vncdesk-1.7.0-py3.5.egg-info'

I then tried reinstalling using pip3 sudo -H pip3 install .
Processing /home/adjco/Downloads/Software/vncdesk
Installing collected packages: vncdesk
  Found existing installation: vncdesk 1.7.0
    Uninstalling vncdesk-1.7.0:
      Successfully uninstalled vncdesk-1.7.0
  Running setup.py install for vncdesk ... done
Successfully installed vncdesk-1.7.0

Now running vncdesk gives
Traceback (most recent call last):
  File "/usr/local/bin/vncdesk", line 3, in <module>
    import vncdesk
  File "/usr/local/lib/python3.5/dist-packages/vncdesk/__init__.py", line 1, in <module>
    from .main import main
  File "/usr/local/lib/python3.5/dist-packages/vncdesk/main.py", line 5, in <module>
    gi.require_version('GtkVnc', '2.0')
  File "/usr/lib/python3/dist-packages/gi/__init__.py", line 102, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace GtkVnc not available

So the installation does not show any errors, but vncdesk does not run. I just
have your xfig example in ~/.vncdesk/1/
Alan

Thanks, Alan!
In the description of python-gtk-vnc 0.5.3-1.3ubuntu2.1 it says: VNC viewer widget for GTK+2 (Python binding)
However, in the requirements of Vncdesk, it says: gtk-vnc 0.5 or compatible, with Python GTK+ 3 bindings.
vncdesk-git, package for Arch Linux depends on Arch's package gtk-vnc. Build instructions can be found in PKGBUILD.
Does that help?

Hi Felix
I downloaded the gtk-vnc 0.7.2, built as per instructions in PKGBUILD and the result was the same as before. gtk-vnc depends on GTK+ 3, but if one builds it for GTK+ 3 it does not create the python bindings.
Configure summary:
        Compiler ...................:  gcc
        Compiler Flags .............:  -g -O2
        Extra Link Flags ...........:  -Wl,--version-script= -Wl,--no-undefined
        Prefix......................:  /usr

        Python binding .............:  no
        Install example programs ...:  yes
        SASL support................:  yes
        PulseAudio support..........:  yes
        GTK+ version................:  3.0
        TLS priority................:  NORMAL

The configure script contains:
PYTHON_REQUIRED=2.4
-snip-
if test "$with_gtk" = "3.0"
then
  WITH_PYTHON=no
else
  WITH_PYTHON=$withval
fi

It looks like vncdesk has a dependency that is impossible to satisfy.
Alan

I rebuilt gtk-vnc according to your instructions. Unfortunately it does not create the GIRepository entries. However, a quick apt-file search turned up the package gir1.2-gtk-vnc-2.0 0.5.3-1.3ubuntu2.1 which does provide them. I installed this and bingo! a working vncdesk.
Thank you very much for your help. I could not have done it without you.
Regards
Alan

I'm glad that we resolved this issue together! Now I updated the documentation accordingly.

authors: adjco feklee snhirsch

repo: feklee/vncdesk

license: WTFPL


text:
Use util and scope modules without explicit import

From #117. Unlike all other submodules, util and scope cannot be used without an explicit import.
import spotipy
spotipy.util  # Raises

import spotipy.util
spotipy.util  # Works

from spotipy import util
util  # Works

I think this is because of the fact that they are not used elsewhere on the project. Every other submodule is used in some way when importing the top level package for the first time through client.Spotify or auth.Credentials.
Adding imports to the missing modules at the top level made it possible to use them:
import spotipy.util

But we should figure out if that's the best way to make it happen.

Actually, this works too.
from spotipy import util
import spotipy
spotipy.util

If we were to add to __init__:
import spotipy.util

It would make
import spotipy
spotipy.spotipy.util

possible, which is not desired. So we'll go with from spotipy import util.

source: gharchive/issue

repo: felix-hilden/spotipy

license: MIT

license_type: permissive

license_source: github-api


text:
Is there a way to add additional dependencies to the MSI?

My electron app requires vc_redistx64 and Python27.dll in order to run. I was wondering if there was a way to include these in the installation. E.g. a checkbox at the end of the installation that runs the vc_redist installer. I'm not sure if this is possible with this tool, so any direction would be helpful.
Thanks!

did you found solution for it?

repo: felixrieseberg/electron-wix-msi


text:
Cast button doesn't do anything

Summary
When Cast Button is pressed nothing happens. Every button press logs only prints the following:
I/ViewRootImpl@271b807[MainActivity](17358): ViewPostIme pointer 0
I/ViewRootImpl@271b807[MainActivity](17358): ViewPostIme pointer 1
I/SessionManager(17358): End session for com.felnanuke.google_cast_example

Expected
When Cast Button is pressed, the dialog with available cast devices should appear
Steps to reproduce

Clone repository
Go to example directory
flutter run
Click on Cast Button inside the running application (Android)

Flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.10.4, on Microsoft Windows [Version 10.0.22621.1778], locale en-US)
[✓] Windows Version (Installed version of Windows is version 10 or higher)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0-rc4)
[✓] Visual Studio - develop for Windows (Visual Studio Community 2022 17.6.2)
[✓] Android Studio (version 2022.2)
[✓] VS Code (version 1.79.0)
[✓] Connected device (2 available)
[✓] Network resources

• No issues found!

yea, that's the current behavior.
@Gnitry to make it work, you need to call GoogleCastDiscoveryManager.instance.startDiscovery(); first somewhere in your code and then from the list of found cast devices, pick one and then click on the floating action to play a media (set the autoplay attribute to true).

Hello @alr2413  would you please give me hints/instructions how to make this package run correctly

Hello, i have same issue
flutter_google_cast-master\example>flutter run
Launching lib\main.dart on Realme 8 in debug mode...
You are applying Flutter's app_plugin_loader Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/go/flutter-gradle-plugin-apply

You are applying Flutter's main Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/go/flutter-gradle-plugin-apply

Running Gradle task 'assembleDebug'...                              6,1s
√  Built build\app\outputs\flutter-apk\app-debug.apk.
I/CastDynamiteModuleImpl( 4427): xi created by ClassLoader dalvik.system.DelegateLastClassLoader[DexPathList[[zip file "/data/app/~~d_GlrDtYPaKOglYcsUEh4w==/com.google.android.gms-WGwN7Go1VVtTuWEB5FGZsQ==/split_DynamiteModulesC.apk"],nativeLibraryDirectories=[/data/app/~~d_GlrDtYPaKOglYcsUEh4w==/com.google.android.gms-WGwN7Go1VVtTuWEB5FGZsQ==/split_DynamiteModulesC.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]].
W/le_cast_example( 4427): Accessing hidden method Ldalvik/system/VMStack;->getStackClass2()Ljava/lang/Class; (unsupported, reflection, allowed)
V/MediaRouter( 4427): Selecting route: RouteInfo{ name=Phone, description=null, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO  groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
W/MobStoreFlagStore( 4427): Unable to update local snapshot for com.google.android.gms.cast_dynamite#com.felnanuke.google_cast_example, may result in stale flags.
W/MobStoreFlagStore( 4427): java.util.concurrent.ExecutionException: java.lang.SecurityException: GoogleCertificatesRslt: not allowed: pkg=com.felnanuke.google_cast_example, sha256=[2203a1459aa85c4445e23a53c388ba597b842d436710d1fab1d3a2b694e60d89], atk=false, ver=242335039.true (go/gsrlt)
W/MobStoreFlagStore( 4427):     at m.cbd.s(:com.google.android.gms.dynamite_dynamitemodulesc@242335039@24.23.35 (190408-0):21)
W/MobStoreFlagStore( 4427):     at m.cbd.get(:com.google.android.gms.dynamite_dynamitemodulesc@242335039@24.23.35 (190408-0):3)
W/MobStoreFlagStore( 4427):     at m.cco.g(:com.google.android.gms.dynamite_dynamitemodulesc@242335039@24.23.35 (190408-0):8)
W/MobStoreFlagStore( 4427):     at m.bkr.d(:com.google.android.gms.dynamite_dynamitemodulesc@242335039@24.23.35 (190408-0):1)
W/MobStoreFlagStore( 4427):     at m.bkj.run(:com.google.android.gms.dynamite_dynamitemodulesc@242335039@24.23.35 (190408-0):5)
W/MobStoreFlagStore( 4427):     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:463)
W/MobStoreFlagStore( 4427):     at java.util.concurrent.FutureTask.run(FutureTask.java:264)
W/MobStoreFlagStore( 4427):     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:307)
W/MobStoreFlagStore( 4427):     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
W/MobStoreFlagStore( 4427):     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
W/MobStoreFlagStore( 4427):     at java.lang.Thread.run(Thread.java:1012)
W/MobStoreFlagStore( 4427): Caused by: java.lang.SecurityException: GoogleCertificatesRslt: not allowed: pkg=com.felnanuke.google_cast_example, sha256=[2203a1459aa85c4445e23a53c388ba597b842d436710d1fab1d3a2b694e60d89], atk=false, ver=242335039.true (go/gsrlt)
W/MobStoreFlagStore( 4427):     at android.os.Parcel.createExceptionOrNull(Parcel.java:3011)
W/MobStoreFlagStore( 4427):     at android.os.Parcel.createException(Parcel.java:2995)
W/MobStoreFlagStore( 4427):     at android.os.Parcel.readException(Parcel.java:2978)
W/MobStoreFlagStore( 4427):     at android.os.Parcel.readException(Parcel.java:2920)
W/MobStoreFlagStore( 4427):     at m.rv.c(:com.google.android.gms.dynamite_dynamitemodulesc@242335039@24.23.35 (190408-0):11)
W/MobStoreFlagStore( 4427):     at m.apg.a(:com.google.android.gms.dynamite_dynamitemodulesc@242335039@24.23.35 (190408-0):39)
W/MobStoreFlagStore( 4427):     at m.adt.e(:com.google.android.gms.dynamite_dynamitemodulesc@242335039@24.23.35 (190408-0):11)
W/MobStoreFlagStore( 4427):     at m.aeq.u(:com.google.android.gms.dynamite_dynamitemodulesc@242335039@24.23.35 (190408-0):10)
W/MobStoreFlagStore( 4427):     at m.aeq.v(:com.google.android.gms.dynamite_dynamitemodulesc@242335039@24.23.35 (190408-0):22)
W/MobStoreFlagStore( 4427):     at m.aeq.g(:com.google.android.gms.dynamite_dynamitemodulesc@242335039@24.23.35 (190408-0):30)
W/MobStoreFlagStore( 4427):     at m.aeq.h(:com.google.android.gms.dynamite_dynamitemodulesc@242335039@24.23.35 (190408-0):84)
W/MobStoreFlagStore( 4427):     at m.aeq.b(:com.google.android.gms.dynamite_dynamitemodulesc@242335039@24.23.35 (190408-0):15)
W/MobStoreFlagStore( 4427):     at m.afz.c(:com.google.android.gms.dynamite_dynamitemodulesc@242335039@24.23.35 (190408-0):97)
W/MobStoreFlagStore( 4427):     at m.aft.d(:com.google.android.gms.dynamite_dynamitemodulesc@242335039@24.23.35 (190408-0):7)
W/MobStoreFlagStore( 4427):     at m.afu.handleMessage(:com.google.android.gms.dynamite_dynamitemodulesc@242335039@24.23.35 (190408-0):277)
W/MobStoreFlagStore( 4427):     at android.os.Handler.dispatchMessage(Handler.java:106)
W/MobStoreFlagStore( 4427):     at android.os.Looper.loopOnce(Looper.java:201)
W/MobStoreFlagStore( 4427):     at android.os.Looper.loop(Looper.java:288)
W/MobStoreFlagStore( 4427):     at android.os.HandlerThread.run(HandlerThread.java:67)
Syncing files to device Realme 8...                                128ms

Flutter run key commands.
r Hot reload.
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).

A Dart VM Service on Realme 8 is available at: http://127.0.0.1:59835/Nad9UvCAejc=/
The Flutter DevTools debugger and profiler on Realme 8 is available at:
http://127.0.0.1:9104?uri=http://127.0.0.1:59835/Nad9UvCAejc=/
E/ion     ( 4427): ioctl c0044901 failed with code -1: Invalid argument
I/SessionManager( 4427): End session for com.felnanuke.google_cast_example
I/SessionManager( 4427): End session for com.felnanuke.google_cast_example
I/SessionManager( 4427): End session for com.felnanuke.google_cast_example```

authors: Gnitry alr2413 majusss slimgharbi-cyber


text:
Incorrect CLAMP parameters

The README document describes the following in the following section

glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP);

Do you probably want GL_CLAMP_TO_EDGE for these texture_wrap parameters?
https://www.khronos.org/opengl/wiki/Common_Mistakes

Never use GL_CLAMP; what you intended was GL_CLAMP_TO_EDGE. Indeed, GL_CLAMP was removed from core GL 3.1+, so it's not even an option anymore.

My bad, thanks!!

authors: fendevel tim-rex


text:
[Request] Making crop area movable without making the image movable

First things first, great work with the plugin!
I need to create a cropper where the image will not be zoomable and movable but the crop area will need to be movable and resizeable. However, I don't want to create a new crop area when clicked outside the current one.
So, I enabled strict, disabled dragCrop and zoomable but I can still move the image. Is there a way to keep the image position locked while keeping the crop area movable?
Thanks a lot

Hi @hasandogu!
Did you try to prevent dragMove event with dragType == 'move'?

Thanks @filipp-qoma,
That was exactly what I needed. In my options, I defined the following
dragmove: function (event) {
    if (event.dragType == 'move') {
        event.preventDefault();
    }
},

For your other note:
I just tested on the demo page again without zooming or rotating the image without the following options and I can move both the image and the cropper area.

authors: filipp-qoma hasandogu

repo: fengyuanchen/cropper

license: mit

license_source: bigquery


text:
cannot build on windows

I cannot build it on Windows. I get this error message.
  = note: LINK : fatal error LNK1181: cannot open input file 'Packet.lib'

Looks like this is known behavior for pnet, the underlying library used for networking. https://github.com/libpnet/libpnet/issues/278
I'll update the readme with instructions for building on windows.

In light of the added difficulties, I'll test if building on a machine with those steps complete produces binaries which work on machines w/o them. If it does, I'll post binaries on this repo!
Unsure what is possible very much a windows noob.

just let me know and i can test it on windows pretty easily

yup, I got it to build finally. I made some changes to it and make a fork of it in my repo. I hope you don't mind. Good work! Here's mine if you want to take a peak. https://github.com/fdncred/nu_plugin_pnet

authors: fdncred fennewald


text:
Can’t npm install youtube-dl on Mac yosemite 10.10.1

execute command and error message list below.
$  npm -v
2.1.17

$  node -v
v0.10.35

$   npm install youtube-dl
-
> youtube-dl@1.6.0 preinstall /Users/taian/tmp/node_modules/youtube-dl
> node ./scripts/download.js

Downloading latest youtube-dl

/Users/taian/tmp/node_modules/youtube-dl/scripts/download.js:19
  throw err;
        ^
Error: CERT_UNTRUSTED
    at SecurePair.<anonymous> (tls.js:1381:32)
    at SecurePair.emit (events.js:92:17)
    at SecurePair.maybeInitFinished (tls.js:980:10)
    at CleartextStream.read [as _read] (tls.js:472:13)
    at CleartextStream.Readable.read (_stream_readable.js:341:10)
    at EncryptedStream.write [as _write] (tls.js:369:25)
    at doWrite (_stream_writable.js:226:10)
    at writeOrBuffer (_stream_writable.js:216:5)
    at EncryptedStream.Writable.write (_stream_writable.js:183:11)
    at write (_stream_readable.js:602:24)
npm ERR! Darwin 14.0.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "youtube-dl"
npm ERR! node v0.10.35
npm ERR! npm  v2.1.17
npm ERR! code ELIFECYCLE

npm ERR! youtube-dl@1.6.0 preinstall: `node ./scripts/download.js`
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the youtube-dl@1.6.0 preinstall script 'node ./scripts/download.js'.
npm ERR! This is most likely a problem with the youtube-dl package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node ./scripts/download.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls youtube-dl
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/taian/tmp/npm-debug.log

Not sure why this would happen, it works for me when I install it or run the scripts/download.js script.
Try some of the solutions here
http://stackoverflow.com/questions/21855035/ssl-error-cert-untrusted-while-using-npm-command

update?

I am opening this issue as I am facing some error in installing the youtube-dl
Error: read ECONNRESET
at errnoException (net.js:905:11)
at TCP.onread (net.js:559:19)
npm ERR! youtube-dl@1.10.5 preinstall: node ./scripts/download.js
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the youtube-dl@1.10.5 preinstall script.
npm ERR! This is most likely a problem with the youtube-dl package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node ./scripts/download.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls youtube-dl
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\Program Files (x86)\nodejs\\node.exe" "C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js" "install" "youtube-dl"
Any help is really appreciated.

Can you try again? Might have been a temporary error

Thank you for your response. Still it did not work. I am getting ConnectionReset error when "Downloading latest youtube-dl" starts.

:/
Downloading the latest binary works for me. Deleting the current one in the bin folder and redownloading also works. Can you test if it works on another computer?

authors: Subha fent wokuang

repo: fent/node-youtube-dl


text:
Container Boot Faild - logs : VolumeDriver.Mount: exit status 1%!(EXTRA []interface {}=[])

docker container boof faild caused by docker-volume-davfs bug, there are the logs:
Failure error while mounting volume Failure error while mounting volume '/var/lib/docker/plugins/66235d61a6c4b16d936c6c2369e343665e65b90fc83cabc9770c3525483c5632/rootfs': VolumeDriver.Mount: exit status 1%!(EXTRA []interface {}=[])
I got this problem after I rebooted my vps. To reproduce the bug, I've tried several times on different vps. It reproduced randomly.
To figure out this bug I attached inside of the plugin rootfs sh by "Debugging plugins"
I read the main.go and simulated the action of mount function by shell
mount.davfs http://x.x.x.x:xx/xx /mnt/volumes/223bce26d5145548e9980f5738087c80 -o uid=1000 -o gid=1000
and got those msg:
found PID file /var/run/mount.davfs/mnt-volumes-223bce26d5145548e9980f5738087c80.pid.
Either /mnt/volumes/223bce26d5145548e9980f5738087c80 is used by another process,
or another mount process ended irregular

As so far, the bug is clear.  And there're two enhanced features can be discussed:

The different (name) webdav volumes with the same url cannot be support by now due to the same davfs pid name confliction . Could we do some works to support？
The davfs pid file conflicted probabilistically after the physical machines of docker rebooted .

Thanks for your great jobs !

nice job :+1:
Hm do you think pid consists from the davfs url? I would say it reflects the docker volume id, so a problem could be a multi mount of the same volume (would guess volumes - pids - are also mounted for stopped container ~ would explain that it consists after reboot).
We have to look into this. :eyes:

I thought this project is no longer maintained, so I forked and modified the code a few hours before. ^_^
The major changes :
line:324
cmd_full := exec.Command(fmt.Sprintf("kill -0 $(cat %s) > /dev/null 2>&1;if [ $? -ne 0 ];then rm %s -f && %s;fi", pidFile, pidFile, mountCmd))
https://github.com/Loongel/docker-volume-davfs/blob/master/main.go

Just sideproject. : )
Hm you just kill pid (webdav mount) mounted or not and then remount.
Maybe better way would be to check if mounted and if so just let it be or mount if it is not there?

Yes. The code  kill -0 is a simple and crude method for checking mounted.

I've got hit by this error after a system upgrade and a necessary reboot.
Now it is not possible anymore to have two docker volumes with the same webdav server, but two different subdirectories, to be used by one container.
How do I solve this?

authors: Loongel fentas pstorch

repo: fentas/docker-volume-davfs


text:
Split out trigger specific functionality from spin-http crate into spin-http-trigger

This would allow us to share HTTP code more easily with other crates as well as manage shared dependencies.

Closed by https://github.com/fermyon/spin/pull/1320

repo: fermyon/spin


text:
spin deploy is using application name from the bindle rather than from the application manifest

https://github.com/fermyon/spin/blob/b1ac4d8307948bbcd833fc689be3471f8fa174a0/src/commands/deploy.rs#L231
This is a problem in the following scenario:

Change application name in spin.toml
Run spin deploy
Uses old name to find the app id when we expected it to use the new name

Although users will typically need to run spin build before deploying anyways, this is a subtle and confusing bug I think we should avoid.
CC @bacongobbler

#1141 as a ref

authors: calebschoepp mikkelhegn


text:
fancy readme title

Playing around with a https://github.com/sindresorhus/awesome style readme header since I noticed @feross trying to fancy it up with the new logo.
Check out what it looks like at https://github.com/feross/webtorrent-app/tree/readme-alt#readme.

looks v nice to me

Wow, very nice! Going to copy this style over to the main webtorrent repo, as well as standard.

source: gharchive/pull-request

authors: dcposch feross ungoldman

repo: feross/webtorrent-app


text:
Tests don't work on Windows

Got this email from a user:
Hi feross,

I have been looking at the WebTorrent library and I am interested in being a part of it. However I am having some issues getting set up.

This is on windows. Once I have clone the repo and I try npm install it runs but it doesn’t install everything.

I think ran a loop to loop thru the sub directories and run npm install on them.

I got that to work but when running npm test it doesn’t seem to be working correctly.

Output

C:\Users\Shavaunh\Documents\webtorrent>npm test

> webtorrent@0.62.0 test C:\Users\Shavaunh\Documents\webtorrent

> standard && node ./bin/test.js

events.js:85

      throw er; // Unhandled 'error' event

            ^

Error: spawn npm ENOENT

    at exports._errnoException (util.js:746:11)

    at Process.ChildProcess._handle.onexit (child_process.js:1053:32)

    at child_process.js:1144:20

    at process._tickCallback (node.js:355:11)

    at Function.Module.runMain (module.js:503:11)

    at startup (node.js:129:16)

    at node.js:814:3

npm ERR! Test failed.  See above for more details.

Any help would be lovely

Thanks

Without doing any investigation, my guess is that tests don't work on Windows because we're using / instead of path.join all over the tests.

So i found the problem and solved it. Just needed to use path.resolve and also do child.spawn("node"...[CMD,....,...]
This is because a windows system doesn't use the shebang so it might not know how to execute a js file. Spawning using node and node will understand how to read this.
Small issue silly as it sounds, is i don't know how to send a pull request.

My curiosity got the best of me and I tried this out in a Window 10 VM:

It turns out this is a long-standing issue, but cross-spawn-async provides a workaround. I'll be submitting a PR shortly :)

authors: feross joseph-onsip shavyg2

repo: feross/webtorrent


text:
Use #[track_caller] attribute

I sometimes get panics like this:
thread 'tests::test_verify_fn' panicked at 'range ..22 out of bounds: 10', .../.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitvec-1.0.1/src/slice/api.rs:2702:1

It is not very helpful error because it doesn't show where error happened in my code (which is the most likely cause of such errors.
Rust has #[track_caller] that can make error point to the code that user of the library wrote instead and it would be a significant improvement for developer experience.

A change adding #[track_caller] got merged a few weeks ago. This should be resolved by the next release.

Actually I've opened https://github.com/ferrilab/bitvec/pull/230 after running into another crash without the attribute.

authors: connorskees nazar-pc

repo: ferrilab/bitvec


text:
Pass child elements in as a third argument to component's body

Allows you to write the following code
local Button = froact.c({}, function(props, hooks, children)
    return froact.ImageButton({
        BackgroundColor3 = props.color
     }, children)
end)
local element = Button({}, {
    UIScale = froact.UIScale({ Scale = 2 })
})

rather than having to get children via props[froact.Roact.Children]
This also removes that key from props, so you must use children via the third argument from now on.

We should probably do the same thing for templates, by passing a second arg to the onUpdate callback functions with the children

turns out this broke everything somehow? I should of noticed earlier...

repo: fewkz/froact


text:
能否提供dist下载啊

因为众所周知的原因，npm下载经常出错，grunt没法编译运行

我也是，java环境明明有，但是install时还是会自动安装，但是又下载不到原文件结果失败了。

后续会支持

authors: Phinome kazaff sunphy

repo: fex-team/ueditor


text:
如何取消UE在粘贴的时候自动添加默认style

网页上复制的内容，粘贴进去 就自动改成了p标签，头疼的是加上了默认的style，在手机上显示是不正常的，如何去掉这个默认的style

参考文档：前端配置 中的 pasteplain  这项。

authors: Phinome aimatwinning


text:
🛑 Hacker News is down

In 58ac363, Hacker News (https://news.ycombinator.com) was down:

HTTP code: 502
Response time: 277 ms

Resolved: Hacker News is back up in c70f739.


text:
Is this compatible with tensorflow 2 ?

Hi, has someone made an update to that implementation to make it compatible with tensorflow 2 ?
I cannot really afford to downgrade my version for other parts of my project

Hello, Phased-LSTM-Keras user here. I'm using containerization and a custom PC for the project as needed for what I'm doing.
I don't know the scope of what you're doing, but it doesn't look like the author is good about documenting the project much at all. I would look into using Anaconda Containers (possibly docker as well) if it's at all possible (The former is exactly what I'm doing).

@AutoUpdatingBSoD I'm not familiar with Anaconda containers, how can they make this code work with implementations in tensorflow 2 ?

@AutoUpdatingBSoD I'm not familiar with Anaconda containers, how can they make this code work with implementations in tensorflow 2 ?

@nk-fouque Answer: you don't. containerized environments are, by definition, locked to specific versions of packages that are known to work with those packages. That's why Anaconda, Docker, VMs, make/cmake, etc. is so popular. You have to set up the container to work with the package versions you know work.
I'll see if I can find the link, but I remember seeing a setup tutorial for Python 3.5 and Anaconda Containers with the versions of Tensorflow and Keras PhasedLSTM-Keras demands.
The issue I have with the package, and it's why I need to stop working on it right now, is that after fixing a bunch of other problems with the library, I've found the Sequential model broken with training and testing data, as modified from example code in the Repository. Maybe I'm doing something wrong here (and that's always a possibility) but I'm not seeing much hope on the Repository.

Hello, PhasedLSTM-Keras user here. I'm using containerization and a custom PC for the project as needed for what I'm doing.
I don't know the scope of what you're doing, but it doesn't look like the author is good about documenting the project much at all. I would look into using Anaconda Containers (possibly docker as well) if it's at all possible (The former is exactly what I'm doing).

I was half-awake when I read this and thought you were referring to other projects. What exactly are you referring to by "other parts of the project"? Are you referring to code within the same functional environment that has Dependency hell issues between TF 1 and 2? If that's the case, I'm not sure Anaconda will help you.
That said, with an anaconda container, the only problem I had running the example code was when I tried to use a Tensorflow/Keras combination higher than like 2.1.5 or something like that. It was when I modified the example that the Sequential model threw a fit.
What methods exactly are you trying to call?

Indeed, I cannot manage to create a sequential model, currently I get
TypeError: The added layer must be an instance of class Layer. Found: <phased_lstm_keras.PhasedLSTM.PhasedLSTM object at 0x7f1979d1f450>

But a few weeks ago I had managed to do this kind of things somehow (can't remember how) and I still had trouble feeding it data in the form of a TFRecordDataset, so knowing that, I was trying to find a new implementation altogether, one that would use the Tensorflow 2 implementations and would hopefully solve all my problems at once

This is a long shot, but have you tried Tensorflow's Functional Model? Everywhere I'm reading is saying as a general rule, that one's better.
I'm no ML expert, granted.

Yes I have, I usually prefer that too, but the person who showed me this package had had trouble with the functional model and managed to do it with the sequential, so I tried it that way
When I use the functional model, what I get is
AttributeError: 'Node' object has no attribute 'output_masks'

How did they manage to use the Sequential model, because it's obvious that the Sequential Model works to some extent with Keras/TF 2+ (if it didn't the example code wouldn't run).

What I think is the real issue, for clarity, is that we're both not defining the model properly.

Sorry, I wasn't clear. What I meant was what does the statement look like where you're actually adding the model?

The reason I ask is because I get the same thing even with a similar setup, that's why I suspect it's something else.

Sorry, I wasn't clear. What I meant was what does the statement look like where you're actually adding the model?
I.E. The part where the program actually crashes.

I'm not sure what you are asking, my code is this :
    ipt = Input(shape=(seconddim, thirddim), dtype='float32', name='input')
    x = PLSTM(128, activation='sigmoid', return_sequences=True)(ipt) # <-- This is where it crashes
    out = TimeDistributed(Dense(1, activation='sigmoid'))(x)

    model = Model(inputs=ipt, outputs=out)

    loss = Huber()
    optimizer = Adam(lr=0.0001)
    metrics = ['accuracy']

    model.compile(optimizer=optimizer, loss=loss, metrics=metrics)

I think it is pretty standard

What I'm saying is this:
TF Version: 1.15.0
Keras Version: 2.1.5
tf.keras Version: 2.2.4-tf
WARNING:tensorflow:From C:\Users\unrea\anaconda3\envs\tf15\lib\site-packages\keras\backend\tensorflow_backend.py:68: The name tf.get_default_graph is deprecated. Please use tf.compat.v1.get_default_graph instead.

Traceback (most recent call last):
  File "c:/Users/unrea/Desktop/model.py", line 182, in <module>
    main()
  File "c:/Users/unrea/Desktop/model.py", line 152, in main
    model_PLSTM.add(PLSTM(units=32, input_shape=(X_train.shape[1], X_train.shape[2]), implementation=2))
  File "C:\Users\unrea\AppData\Roaming\Python\Python37\site-packages\tensorflow_core\python\training\tracking\base.py", line 457, in _method_wrapper
    result = method(self, *args, **kwargs)
  File "C:\Users\unrea\AppData\Roaming\Python\Python37\site-packages\tensorflow_core\python\keras\engine\sequential.py", line 157, in add
    'Found: ' + str(layer))
TypeError: The added layer must be an instance of class Layer. Found: <phased_lstm_keras.PhasedLSTM.PhasedLSTM object at 0x000001B7825F33C8>```

I got a similar error message to you from modifying the source's examples to add my own Pandas dataframes, the code fails before it even gets to pandas, but my TF/Keras are exactly the same as your acquaintance.

I'm saying I'm not entirely sure the versioning you're saying is the issue here.

That said, I'm no expert.

Sorry, I wasn't clear. What I meant was what does the statement look like where you're actually adding the model?
I.E. The part where the program actually crashes.

I'm not sure what you are asking, my code is this :
    ipt = Input(shape=(seconddim, thirddim), dtype='float32', name='input')
    x = PLSTM(128, activation='sigmoid', return_sequences=True)(ipt) # <-- This is where it crashes
    out = TimeDistributed(Dense(1, activation='sigmoid'))(x)

    model = Model(inputs=ipt, outputs=out)

    loss = Huber()
    optimizer = Adam(lr=0.0001)
    metrics = ['accuracy']

    model.compile(optimizer=optimizer, loss=loss, metrics=metrics)

I think it is pretty standard

I could be wrong, but this looks like TF's Functional API. Input() as opposed to Sequential() is what tells me that

Yes yes, this one is the functional one, I thought that was what you wanted to see
my sequential version is this :
    model = Sequential()
    model.add(Input(shape=(seconddim, thirddim), dtype='float32', name='input'))
    model.add(PLSTM(128, activation='sigmoid', return_sequences=True))
    model.add(TimeDistributed(Dense(1, activation='sigmoid')))

    loss = Huber()
    optimizer = Adam(lr=0.0001)
    metrics = ['accuracy']

    model.compile(optimizer=optimizer, loss=loss, metrics=metrics)
    return model

It's not exactly the same as my model, that's for sure. There's a couple similarities.
When I have time (which probably won't happen for a while) I'll have to look into why the sequential model is misbehaving. I suspect several things are wrong here. Starting with what you said here:

But a few weeks ago I had managed to do this kind of things somehow (can't remember how)

A number of things could have changed since then. Bad update to some package comes to mind (That's why containerization is important!!!)
You were clearly able to get it working at one point, regardless. Can you do us all a huge favor and document your steps? There is technically another version of this package but it's in even worse shape than this one ATM.

Even if you don't manage to get anything working, the fact that you tried something and failed means we (the internet) know not to try that thing again. And this thread probably constitutes more actual documentation than what's on any of the project pages.

@nk-fouque when I get time, what I might do is fork the code and try to get the library working for real. As it stands I can't do that ATM because I have other priorities but if it's at all possible to document anything you find out about this library here, tha'td be a huge help ok? Thanks!

Ah I finally found what made it almost work the first time, the secret was in the imports
This package is built by importing "pure" keras functions (i.e. not from tensorflow.keras) so the other layers must be imported from keras.layers and not tensorflow.keras.layers too
from phased_lstm_keras.PhasedLSTM import PhasedLSTM as PLSTM
from keras.layers import Input, TimeDistributed, Dense
from keras.models import Model
from tensorflow.keras.losses import Huber
from keras.optimizers import Adam

But now I do have a problem that comes from Dataset and tensorflow versioning :
Traceback (most recent call last):
  File "implementation.py", line 78, in <module>
    model.fit(X_y_train, epochs=20)
  File "/home/nfouque/Documents/Thesis/Implementation/venv/lib/python3.7/site-packages/keras/engine/training.py", line 952, in fit
    batch_size=batch_size)
  File "/home/nfouque/Documents/Thesis/Implementation/venv/lib/python3.7/site-packages/keras/engine/training.py", line 751, in _standardize_user_data
    exception_prefix='input')
  File "/home/nfouque/Documents/Thesis/Implementation/venv/lib/python3.7/site-packages/keras/engine/training_utils.py", line 92, in standardize_input_data
    data = [standardize_single_array(x) for x in data]
  File "/home/nfouque/Documents/Thesis/Implementation/venv/lib/python3.7/site-packages/keras/engine/training_utils.py", line 92, in <listcomp>
    data = [standardize_single_array(x) for x in data]
  File "/home/nfouque/Documents/Thesis/Implementation/venv/lib/python3.7/site-packages/keras/engine/training_utils.py", line 27, in standardize_single_array
    elif x.ndim == 1:
AttributeError: 'DatasetV1Adapter' object has no attribute 'ndim'

For those interested, I took a stab yesterday at porting Phased LSTM to Pytorch.  It does succeed in training on the basic sin wave classification task from the paper, using asychronously-sampled data points, and it's a fairly minor modification.  If there's interest or pull requests, happy to do more to help out.
https://github.com/dannyneil/pytorch_plstm

@dannyneil I'm going to have to take a look at this in when I have time. I only used this library because it was the only thing available that was somewhat working at the time.
No attacks or criticism intended to be directed at the repository owners of PhasedLSTM-Keras either. I get that other priorities come in the way of doing things and I myself have some projects I need to get further ahead on developing.
It was more so a commentary of the fact that there are some apparently simple-to-solve issues on the repository dating back to 2017 that haven't been closed yet.

Ah I finally found what made it almost work the first time, the secret was in the imports
This package is built by importing "pure" keras functions (i.e. not from tensorflow.keras) so the other layers must be imported from keras.layers and not tensorflow.keras.layers too
from phased_lstm_keras.PhasedLSTM import PhasedLSTM as PLSTM
from keras.layers import Input, TimeDistributed, Dense
from keras.models import Model
from tensorflow.keras.losses import Huber
from keras.optimizers import Adam

But now I do have a problem that comes from Dataset and tensorflow versioning :
Traceback (most recent call last):
  File "implementation.py", line 78, in <module>
    model.fit(X_y_train, epochs=20)
  File "/home/nfouque/Documents/Thesis/Implementation/venv/lib/python3.7/site-packages/keras/engine/training.py", line 952, in fit
    batch_size=batch_size)
  File "/home/nfouque/Documents/Thesis/Implementation/venv/lib/python3.7/site-packages/keras/engine/training.py", line 751, in _standardize_user_data
    exception_prefix='input')
  File "/home/nfouque/Documents/Thesis/Implementation/venv/lib/python3.7/site-packages/keras/engine/training_utils.py", line 92, in standardize_input_data
    data = [standardize_single_array(x) for x in data]
  File "/home/nfouque/Documents/Thesis/Implementation/venv/lib/python3.7/site-packages/keras/engine/training_utils.py", line 92, in <listcomp>
    data = [standardize_single_array(x) for x in data]
  File "/home/nfouque/Documents/Thesis/Implementation/venv/lib/python3.7/site-packages/keras/engine/training_utils.py", line 27, in standardize_single_array
    elif x.ndim == 1:
AttributeError: 'DatasetV1Adapter' object has no attribute 'ndim'

Thank you for doing that and reminding me of one of the issues I was facing. I had forgotten about this myself. I had also gotten my code further ahead with using pure Keras, but I was having issues with Keras's implementation accepting my pandas dataframe shape. It was fine with the fact that pandas was a parameter, so that's not the issue.
In any case, I'm probably going to take up @dannyneil if I consider writing code with this. No offense or attacks directed or intended towared the repo holder, I just don't feel now's the best time to develop for PhasedLSTM-Keras

authors: AutoUpdatingBSoD dannyneil nk-fouque

repo: fferroni/PhasedLSTM-Keras


text:
Pesquisar sobre sonarqube

Objetivo?
Pesquisa sobre sonarqube
Tarefas // Criterios de aceitação

[ ] Fazer a pesquisa
[ ] Colocar  a pesquisa aqui

Comentários

##Para que serve? O que é?
o SonarQube é uma ferramenta de análise de código que auxilia na detecção de problemas que podem ocorrer no código, sejam eles problemas com code smells, segurança ou bugs. Também faz testes unitários.
Como utilizar
Primeiro tem que que o fazer a validação do código, é necessário um relatório que será considerado para levar a análise e a valorização ao quality gate.
Tem que baixar um scanner para o código ou até mesmo deixar a dependência instalada.
Vantagens
O SonarQube tem uma interface de análise gráfica, que facilita a visualização dos dados e métricas do projeto.
##Links úteis
Site oficial
Documentação
Tutorial de download e instalação

authors: Beatrizvn Mylena-angelica


text:
FT - Refatoração do front-end

Descrição
Eu, como desenvolvedor, desejo melhorar a interface, para proporcionar uma melhor experiencia de usuario
Tarefas

[ ] implementar os componentes da tela de landing
[ ] implementar os componentes da tela de login
[ ] implementar os componentes da tela de registro
[ ] implementar os componentes da tela de resultados de busca
[ ] implementar os componentes da tela de workspace
[ ] implementar os componentes da tela de projetos
[ ] implementar os componentes da tela de dashboards
[ ] implementar os componentes da tela de dados

Critérios de aceitação

[ ] Implementar de acordo com o protótipo mais recente
[ ] componentes reutilizáveis

@RochaCarla
Devido ao épico se tratar de refatoração do front-end e considerando que foi alterado o framework css (materialize-css ~> bootstrap), foi concluído que seria inviável realizar o deploy contínuo, já que isso resultaria em uma interface extremamente "quebrada" no ambiente de produção.
Porém, para mostrar progresso e agregar valor durante o processo de refatoração do front-end, decidimos dividir o processo de refatoração em duas partes, sendo a primeira realizada nesta sprint (13) e a final na sprint que se segue (14).
Durante esta sprint o foco seria refatorar a interface o suficiente para que se torne utilizável, para que na próxima sprint possamos já implementar o front-end seguindo 'fielmente' os conceitos de deploy e melhora contínua.


text:
Metadata as tags only

Updated ops formatter to only include metadata as tags, not fields. I believe this is the expected behavior, since it was originally included as part of #8
In certain ops metrics, metadata was being included as fields AND tags, rather than just tags. This can confuse older versions of influx, as well as metrics UIs like Grafana, as it requires queries to specify <name>::field or <name>::tag.
Removing metadata from fields will slightly reduce the data size, and will also speed up queries by metadata, since influx indexes on tags.
Great project btw, it's saved us lots of time and effort :)

@fhemberger agreed, major version bump is probably best. I believe influx defaults to using name::field if a type isn't specified, so removing these fields could break existing influx queries if the fields already exist in storage.

Published good-influx@3.0.0.

Awesome thanks @fhemberger !!

authors: fhemberger ian-harshman-ck

repo: fhemberger/good-influx


text:
PORT environment variable

A PORT environment variable is necessary to deploy on environments like Heroku.

Done: https://github.com/fibo/dflow/commit/c2b92ff553a6177d820d3fd6785ffe9f91ab9c36

repo: fibo/dflow


text:
[BUG] Erroneous retrieval of Camera's intrinsic matrix camera_matrix_ [ROS Noetic]

Upon adding a few lines to the function callback_image(in aruco_tracker.cpp) for logging as follows:
  void callback_image(const sensor_msgs::ImageConstPtr &img_msg) {
    ROS_INFO_STREAM("distortion_coeffs_:");
    ROS_INFO_STREAM(distortion_coeffs_);
    ROS_INFO_STREAM("camera_matrix_:");
    ROS_INFO_STREAM(camera_matrix_);
    ROS_INFO_STREAM("marker_obj_points_:");
    ROS_INFO_STREAM(marker_obj_points_);

It was observed that the program was retrieving the camera's intrinsic matrix in a wrong way
the float64[12] P field(in 'sensor_msgs::CameraInfo') is supposed to be a 3x4 matrix whereas the program is assuming it as a 3x3 matrix
console log:
[ INFO] [1717179696.576882516]: camera_matrix_:
[ INFO] [1717179696.576928720]: [933.15867, 0, 657.59;
 0, 0, 933.1586;
 400.36993, 0, 0]
[ INFO] [1717179696.576959502]: marker_obj_points_:
[ INFO] [1717179696.577009891]: [-0.0055, 0.0055, 0;
 0.0055, 0.0055, 0;
 0.0055, -0.0055, 0;
 -0.0055, -0.0055, 0]
[ INFO] [1717179696.640044745]: distortion_coeffs_:
[ INFO] [1717179696.640184108]: [0;
 0;
 0;
 0]

published camera info(output of rostopic echo /cv_camera/camera_info):
header:
  seq: 308
  stamp:
    secs: 1717179691
    nsecs: 133644523
  frame_id: "camera"
height: 480
width: 640
distortion_model: "plumb_bob"
D: []
K: [933.15867, 0.0, 657.59, 0.0, 933.1586, 400.36993, 0.0, 0.0, 1.0]
R: [1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0]
P: [933.15867, 0.0, 657.59, 0.0, 0.0, 933.1586, 400.36993, 0.0, 0.0, 0.0, 1.0, 0.0]
binning_x: 0
binning_y: 0
roi:
  x_offset: 0
  y_offset: 0
  height: 0
  width: 0
  do_rectify: False

This issue is solved in this Pull Request: https://github.com/fictionlab/ros_aruco_opencv/pull/45


text:
Spatie Media Library - Image not uploading during filament resource create page but works on edit page

Package
filament/spatie-laravel-media-library-plugin
Package Version
v3.0.101
Laravel Version
v10.33.0
Livewire Version
No response
PHP Version
PHP 8.1
Problem description
I'm experiencing the same issue as described in #6143
When i upload images on resource creating page - it does not work
So here is my form:
public static function form(Form $form): Form
{
    return $form
        ->schema(
            [
                Forms\Components\TextInput::make('title')
                                          ->required()
                                          ->maxLength(255)
                                          ->columnSpanFull(),
                Forms\Components\RichEditor::make('text')
                                           ->required()
                                           ->columnSpanFull()
                                           ->fileAttachmentsDisk(config('media-library.disk_name'))
                                           ->fileAttachmentsDirectory('news-attachments')
                                           ->fileAttachmentsVisibility('public'),

                SpatieMediaLibraryFileUpload::make('images')
                                            ->label('Зображення')
                                            ->collection('default')
                                            ->multiple()
                                            ->image()
                                            ->disk(config('media-library.disk_name'))
                                            ->conversion('thumb')
                                            ->columnSpanFull()
            ]
        );
}

The model has all the necessary info:
class News extends Model implements HasMedia
{
    use HasFactory, InteractsWithMedia, HasComments;

I tried to debug it and I came up with the thing that $this->getState() is considered blank so images are not saved
\Filament\Forms\Components\BaseFileUpload::saveUploadedFiles:
public function saveUploadedFiles(): void
{
  if (blank($this->getState())) {
      $this->state([]);

      return;
  }
}
...

Here are the queries executed on save:

Expected behavior
The images are uploaded along with model creation
Steps to reproduce
Resource created with image on Laravel filament admin panel using Spatie Media Library
Reproduction repository
https://github.com/SerhiiMandrykin/filament-media-library-bug-report
Relevant log output
No response

Can you please send a screen recording showing what is happening?

@danharrin here is the recording, sorry for such delay
https://github.com/filamentphp/filament/assets/25152924/ba06f92f-a3a9-43fb-9f9a-6c966e79fe89

The problem is your beforeValidate(). Do you need mutateFormDataBeforeCreate() instead, check the docs?
This is why we ask you put time into making a proper reproduction repository from scratch. This could have been found weeks ago if you had built this again instead of copying code from your project.

I've removed the beforeValidate() and it seems to work fine. I don't know why you are calling form->fill() there

@danharrin i've done the same thing and still no result.
However, I'll try to rebuild it. Maybe I missed sth.

Start from a new Laravel project, create a resource with only a media field, and see if it works.

authors: SerhiiMandrykin danharrin

repo: filamentphp/filament


text:
Closure support to forms method on CanBeValidated trait

Description
This PR implements support for closure evaluation in the ->forms($closure) method on classes that use the CanBeValidated trait. While closure evaluation already exists for individual rules, there is currently no implementation that returns an array of rules. For our use case, this implementation allows us to dynamically modify the rules for a specific field. Centralizing the rules on an Enum.
Visual changes
Before

After

Enum

Functional changes

[x] Changed Trait vendor/filament/forms/src/Components/Concerns/CanBeValidated.php
[x] Test passed

Thanks


text:
Add default value fallback for $get()

And maybe move the $default parameter to the 2nd parameter so it's similar to data_get() for v3?

Moving the $default parameter would be a breaking change so we can't do that. I'm sure adding an optional 3rd one is fine though.

Thanks, but I'm going to say no. The default parameters in Laravel were added before ?? was really a thing in PHP. Now, it's really easy to specify a default like $get('field') ?? 'default', which is clearer to people who are familiar with PHP.

authors: NathanaelGT danharrin ryangjchandler


text:
Enhancement: Sidebar open/close classes

Adds classes to sidebar and filament main to allow css targeting of sidebar open/closed state

Why move custom classes to middle or end of classes list?
I think @zepfietje change orders of custom classes to first.

Weird. those shouldn't have changed. Let me see what happened.
Good catch.

Looks like there was an extension overriding the sort order. Latest push corrects the order.

Why move custom classes to middle or end of classes list?
I think @zepfietje change orders of custom classes to first.

Thanks for noticing this! (Always nice to have an extra pair of eyes making sure the order stays correct in the codebase. 👀)

authors: awcodes themahdavi zepfietje


text:
Default currency in money format

This currently doesn't work in production. When configs are cached then env() method will always return null and therefore the default option will always be selected.
https://laravel.com/docs/9.x/deployment#optimizing-configuration-loading
I have notified akaunting/laravel-money and suggested that they add a default_currency to their config.

Please reopen the PR when the config option gets merged into https://github.com/akaunting/laravel-money/issues/75, but since it doesn't work right now I'm not going to merge it
For now, just pass in the currency manually

I understand why you would close this but it still is bad practice to use the env() function outside of config files.
If passing in the currency manually is the solution, then why not just remove the env() function altogether?

Because at least this way, it works on some machines. And we can replace it with the config option when available.

authors: ashleyhood danharrin


text:
Docs: alignment for columns

Noticed that this tweet wasn't in the docs: https://twitter.com/filamentphp/status/1673358563316584452
Sorry, first contribution, so not sure if the correct branch and section/wording for the docs.

Thanks for taking the time to add this, @PovilasKorop! 🙏
I think you meant to target the 2.x branch though?

@zepfietje no I actually meant looking into the future :) or did I miss and this feature was removed?

Oh, no the feature is definitely still there for v3.
Fine by me since v3 is pretty close anyway. 😄

@zepfietje my pleasure! Not the last one :)

Thanks!

authors: PovilasKorop danharrin zepfietje


text:
Client Allocation Request for: denchance

Client Allocation Questions
Core Information

Name: denchance
Website / Social Media: https://github.com/denchance
Region: Greater China
DataCap Requested: 5TiB
Addresses to be Notarized: f13vxumwujwwu3xpcrv2xrwjx5ni2thcv4jn7ruma
Notary Requested: steven004

@denchance Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

Closed


text:
Bug: Issue with Compression Progress Display in "Ongoing Tasks" for Elements

Description
Hello, I have encountered an issue related to the compression of folders. When I attempt to compress a folder of varying size and check the "Ongoing Tasks" section to monitor the compression progress, it shows 0% or just 50% progress even though the compression is actually taking place. Ideally, there should be a progress indicator similar to file extraction (for example, 500/1000: 50% or just for example 47% only) to reflect the ongoing compression progress.
Steps To Reproduce

Open Files
Compress a large file

Requirements
Identify the cause of the incorrect progress display in the "Ongoing Tasks" section during folder compression.
Files Version
Version : 2.4.84.0
Windows Version
Windows 11 22H2 22621.1778
Log file

Thank you for reporting this issue

This bug might not be caused by Files itself but rather by SevenSipSharp library.
I remember a few months ago I found out that the library isn't updating the progress of single elements. I tried to work on it but it was out of my knowledge

This bug might not be caused by Files itself but rather by SevenSipSharp library. I remember a few months ago I found out that the library isn't updating the progress of single elements. I tried to work on it but it was out of my knowledge

In this case you should ask SevenZipSharp to fix the bug ?

There's already an open issue:
https://github.com/squid-box/SevenZipSharp/issues/77

Ok thank you

repo: files-community/Files


text:
Dragging Dropping files

I can't drag drop files from:
DESKTOP to FILES-APP
EML(from MAIL CLIENT) to FILES-APP

Please fill all the info in the issue template. What Files version? What email client?..


text:
Discrepancy between file shown by win explorer and Files

Description
While using Files to browse through folders on my phone i noticed that i could only see the folders or zipped files. Images and videos had disappeared.
But if i use win explorer i can clearly see the folders, pictures and videos, so the cable is not the issue. Also if i search for a video or image that i know is there nothing comes up.
Actually as i finished writting this, tried copying a couple images onto my phone using Files, it failed. Apparently it is failing to make any changes on my phone. Maybe a permission i did not give to files i really dont know, but i did give it the permission for file access
Steps To Reproduce
Go to files
Click on poco f3
Internal storage
Try to delete or paste anything onto the phone
Expected behavior
I expected to see all my images and videos like i do with win file explorer. Also to be able to modify the files on the phone, that fails using Files.
Files Version
Version: 2.3.0.0
Windows Version
Windows 10 1909 18363.719
Relevant Assets/Logs

debug_fulltrust.log
debug.log

@yaichenbaum

@gave92

Can't repro but seem to happen for some people.

@Laniz is this an issue on a regular install of Windows without any patches to File Explorer?

Its a 3rd party windows theme and icons too, but explorer still stock.

@Laniz can you reproduce this issue on a fresh install of Windows? I'm wondering if the theme is messing with file permissions.

@yaichenbaum Ive done what i suggested above, still getting the same problem. Fails to make any changes to the phone storage.
I might be able to do a fresh install in the near future if this is not resolved.


text:
Code Quality: Update dependencies - part 1

I don't think these are the cause of the crash.
Resolved / Related Issues
To prevent extra work, all changes to the Files codebase must link to an approved issue marked as Ready to build. Please insert the issue number following the hashtag with the issue number that this Pull Request resolves.

Closes #

Steps used to test these changes
Stability is a top priority for Files and all changes are required to go through testing before being merged into the repo. Please include a list of steps that you used to test this PR.

Opened Files ...
...

LGTM


text:
Fix async Progress updates not firing

For some reason these aren't getting output correctly. Needs more diagnosing.

Moved to internal tracker: https://filestack.atlassian.net/browse/FS-3347

repo: filestack/filestack-java


text:
typo fix in ScalaDoc

path[Long] -> path[String] for string

Codecov Report

Merging #848 into master will decrease coverage by 0.68%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #848      +/-   ##
==========================================
- Coverage   81.43%   80.74%   -0.69%
==========================================
  Files          50       50
  Lines         727      727
  Branches       33       33
==========================================
- Hits          592      587       -5
- Misses        135      140       +5

Impacted Files
Coverage Δ

core/src/main/scala/io/finch/endpoint/path.scala
82.85% <ø> (ø)
:arrow_up:

core/src/main/scala/io/finch/Input.scala
87.5% <0%> (-12.5%)
:arrow_down:

Continue to review full report at Codecov.

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

Thanks!

authors: ImLiar codecov-io vkostyukov

repo: finagle/finch


text:
Don't load default values when opening form in edit mode

As it messes up for example editing old transactions and balances.

Still happening it seems

repo: finance-app/finance-ui


text:
Update schema

add local git hooks
add commit analyze github action
fix backtick problems
update schema

:tada: This PR is included in version 3.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


text:
Dont working in Firefox

I installed on NextJS, the latest version, it works great for google Chmmo, Vivaldi, Brave and Opera, but on FireFox of the following error:
error.message FPJSAgentError: Error: Network connection error
And:
Requisição cross-origin bloqueada: A diretiva de mesma origem (same origin policy) impede a leitura do recurso remoto em https://api.fpjs.io/?ci=js/3.6.1 (motivo: falha na requisição CORS). Código de status: (null).

Hi @JonhnyDev, thanks for trying our integration!
The problem that you get is mostly about our FingerprintJS Pro Agent. It makes XHR requests to our servers for better device identification. And adblocking and tracking prevention mechanisms don't allow it for privacy reasons as Firefox does in your case. You can read more about it on the official Firefox support page. And you can turn it off for you the development environment if you just want to test something.
Identification still works with blocked requests, but with decreased accuracy. We have subdomain integration to fix this problem. To use it you need to make some configurations on your side. More info you can find in the documentation.
To configure this integration you need to pass an additional option endpoint to FpjsProvider loadOptionsas in the example below:
<FpjsProvider
    loadOptions = {{
      apiKey: 'your-fpjs-public-api-key',
      endpoint: 'https://fp.yourdomain.com'
    }}
  >
    <App />
  </FpjsProvider>

But according using integration with NextJS, we have the problem with exceptions on the server-side, that we fixed in #23.

Dont working...

even configured with the right DNS "A" and propagated, it continues to give error.
IP: 15.197.245.112
Erros:
error.message FPJSAgentError: Error: Network connection error
trycatch.js:220          POST https://fp.chatcomposer.com/?ci=js/3.6.1 net::ERR_NAME_NOT_RESOLVED

working, thank you

@JonhnyDev if the proposed solution has worked for you, please consider closing this issue. Thanks

authors: JonhnyDev Valve ilfa

repo: fingerprintjs/fingerprintjs-pro-react


text:
Unhandled exception during the execution: The type initializer for 'Gdip' threw an exception.

Fingers10.ExcelExport works fine on my windows machine, but when run in docker container, I have an exception which says
Unhandled exception during the execution: The type initializer for 'Gdip' threw an exception.
How do I resolve this ?

@nabeelmhd This is because you are running your app inside Linux container. You need to install few apks in your docker image build step to resolve this error. This is not packager related. Refer below link for solution or try googling on similar error. The fix should be added in docker image build.
https://stackoverflow.com/questions/67091719/system-drawing-common-the-type-initializer-for-gdip-threw-an-exception

Im also running the app in the linux container, working just fine in my w10 local env, but when i deploy my app to the test env, that excel download api wont work. returns cors error from react but from swagger returns Error: Internal Server Error. My .net version is 6.

@can123oz  does this help? - https://stackoverflow.com/a/73055366/10851213
This is because of System.Drawing in non windows environment.


text:
Dynamic Question Mark

Hey there, I was wondering whether your update mentioned on April 24th includes a dynamic question mark, which would allow me to pass a lambda function to conditionally change the question mark like so:
🐳 Your Docker username:
📍 Your location:
# and so on

I haven't looked into the code, but I could provide a PR if wanted.
Cheers,
D

Just placed a PR at #20

repo: finklabs/whaaaaat


text:
Db contrib/waltz 5244 set issued by attestation run pending create

#5244

In order to trigger job to run and issue instances for pending runs. The job key in the settings table ('ATTESTATION_ISSUE_INSTANCES) must be updated to 'RUNNABLE'.

repo: finos/waltz


text:
SMTP password "There was an error creating a secret"

[REQUIRED] Step 2: Describe your configuration

Extension name: firestore-send-email
Extension version: 0.1.28

[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
I am trying to configure the extension. I am assuming that I am supposed to enter my SMTP password into the field for it and then click "Create secret", but when I click the button, a small box pops up saying: "There was an error creating a secret".
I see the same error whether on the initial install attempt or if I install the extension and try to add the password via Manage Configuration later.
Expected result
Secret would be created when clicking "Create secret", or additional information/documentation should be available on how to correct the error.
Actual result
Error message

Looks like this is the error message associated with it:
Constraint constraints/gcp.resourceLocations violated for [orgpolicy:projects/############] attempting to create a secret in [global]. For more information, see https://cloud.google.com/resource-manager/docs/organization-policy/defining-locations."

Hello @cganoe
Is the project ipath-dev-blaze under an organization?

Yes. I'm guessing from what I'm reading elsewhere is that the extension is trying to create the secret globally, but the organizational constraints on the locations where secrets can be created is causing the issue.

Secrets are accessed globally across Google Cloud. But since you have a location constraint, you can create a secret with a User Managed replication policy. This allows you to select a location where you want the secret to be stored. Before creating a secret, you can select the location as shown below.

Since you have location constraints, try creating a secret firestore-send-email-SMTP_PASSWORD and manually add the locations where you want the secrets to be stored. But they should match the locations in the Resource Location Restriction Policy for your organization.

Yep that's the right idea. Note that you'll have to use the manifest workflow (adding an 'extensions' section to your firebase.json and running firebase deploy or firebase deploy --only=extensions). There isn't a way to customize the secret via Console installation.

Seems like we should mention this in the documentation maybe, thanks @marknesh

authors: cabljac cganoe huangjeff5 marknesh

repo: firebase/extensions


text:
How can I get ID Token from custom token?

How can I get ID Token from custom token?
[Fact]
public void Get_ID_Token_For_Service_Account_Test()
{
    using (Stream stream = new FileStream(ServiceAccountJsonKeyFilePath, FileMode.Open, FileAccess.Read))
    {
        ServiceAccountCredential credential = ServiceAccountCredential.FromServiceAccountData(stream);
        FirebaseApp.Create(new AppOptions
        {
            Credential = GoogleCredential.FromServiceAccountCredential(credential),
            ServiceAccountId = ServiceAccountId,
        });
        var uid = "Some UID";
        var additionalClaims = new Dictionary<string, object>
        {
            {"dmitry", "pavlov"}
        };
        string customToken = FirebaseAuth.DefaultInstance.CreateCustomTokenAsync(uid, additionalClaims).Result;

        string rawToken = null; // How to get this?

        FirebaseToken token = FirebaseAuth.DefaultInstance.VerifyIdTokenAsync(customToken, CancellationToken.None).Result;

        Assert.NotNull(token);
        Assert.True(token.Claims.ContainsKey("dmitry"));
    }
}

I see samples for some other languages/platforms but not for C# - how to get ID token via current user here - Retrieve ID tokens on clients. But for C# neither UserRecord nor FirebaseAuth provides ID Token. Any pointers are much appreciated.

I see in the tests source code this method:
private static async Task<string> SignInWithCustomTokenAsync(string customToken) { ... }
but I don't understand how can I use it with my service account JSON key file.

Paised this on Stack Overflow as well https://stackoverflow.com/questions/57788286/how-can-i-get-id-token-from-custom-token

IDToken exist in client device. The library in this repo is C# dotnet on the server side. For client we might use C# in unity but we don't have firebase for xamarin yet

I have found the way to get the ID token in FirebaseAdmin integration tests - see method SignInWithCustomTokenAsync. The only thing I have to adjust was base URL: according to Firebase Auth REST API documentation it should be
https://identitytoolkit.googleapis.com/v1/accounts:signInWithCustomToken
The API KEY refers to the Web API Key, which can be obtained on the project settings page in your admin console.
So the adjusted code looks like this:
    private static async Task<string> SignInWithCustomTokenAsync(string customToken)
    {
        string apiKey = "..."; // see above where to get it.
        var rb = new Google.Apis.Requests.RequestBuilder
        {
            Method = Google.Apis.Http.HttpConsts.Post,
            BaseUri = new Uri($"https://identitytoolkit.googleapis.com/v1/accounts:signInWithCustomToken")
        };
        rb.AddParameter(RequestParameterType.Query, "key", apiKey);
        var request = rb.CreateRequest();
        var jsonSerializer = Google.Apis.Json.NewtonsoftJsonSerializer.Instance;
        var payload = jsonSerializer.Serialize(new SignInRequest
        {
            CustomToken = customToken,
            ReturnSecureToken = true,
        });
        request.Content = new StringContent(payload, Encoding.UTF8, "application/json");
        using (var client = new HttpClient())
        {
            var response = await client.SendAsync(request);
            response.EnsureSuccessStatusCode();
            var json = await response.Content.ReadAsStringAsync();
            var parsed = jsonSerializer.Deserialize<SignInResponse>(json);
            return parsed.IdToken;
        }
    }

The issue is now addressed. So I am closing it.

I would propose to add to FirebaseAuth something like:
var idToken = FirebaseAuth.DefaultInstance.SignInWithCustomTokenAsync(accessToken, apiKey);
P.S. I was thinking of contributing such change, forked repo... But folks, codebase looks over complicated than it should be in my humble opinion. So I am not sure I should to add one more 'alien' design approach to the existing architecture.

I am using it in ASP.NET Core application

Hi @dmitry-pavlov, I'm Jack. I am currently working on Mobile Pay Integration that use .net for MP service. I created a customToken with nodejs in the server but I don't know how to signInWithCustomToken from .net Client. I'm also not familiar with the syntax. Can you please with me with the steps?

@jackle991 you need to perform the POST request to "https://identitytoolkit.googleapis.com/v1/accounts:signInWithCustomToken" as I described above but in JS.

authors: Thaina dmitry-pavlov jackle991

repo: firebase/firebase-admin-dotnet


text:
Add a retry decorator to the GitHub log downloader.

Description

Provide details of the change, and generalize the change in the PR title above.

This should fix the flaky GMA iOS "crash/timeout" test, as the error is often just that it's unable to fetch the test results (possibly because that test runs so quickly). Example log

Testing

Describe how you've tested these changes. Link any manually triggered Integration tests or CPP binary SDK Packaging Github Action workflows, if applicable.

Ran GMA integration test on iOS a number of times without issues. Considering this usually flakes at least every other day, I'm willing to say this helps.
Also running integration tests in this PR, and packaging workflow, to ensure that the added Python module dependency doesn't break any  of our build/test environments.

Type of Change
Place an x the applicable box:

[ ] Bug fix. Add the issue # below if applicable.
[ ] New feature. A non-breaking change which adds functionality.
[X] Other, such as a build process or documentation change.

Notes

Bug fixes and feature changes require an update to the Release Notes section of release_build_files/readme.md.
Read the contribution guidelines CONTRIBUTING.md.
Changes to the public API require an internal API review. If you'd like to help us make Firebase APIs better, please propose your change in a feature request so that we can discuss it together.

All tests and packaging passed, this is ready for review.

repo: firebase/firebase-cpp-sdk


text:
[Firebase 11]: Delete deprecated Swift extension SDKs

Description
In Firebase 10.17.0, the following SDKs were deprecated because their API surface was combined into the respective base SDKs they extended.

FirebaseAnalyticsSwift
FirebaseRemoteConfigSwift
FirebaseDatabaseSwift
FirebaseInAppMessagingSwift
FirebaseFirestoreSwift

In Firebase 11, they can therefore be removed.

Create one, collective API proposal for the deletion of all five extension SDKs.
Delete each extension SDK's podspec
Delete each extension SDK's library/target definitions in Package.swift
Delete all references within this repo/qs repo
Delete each extension SDK's sources

API Proposal
The following namespaces disappear:

FirebaseAnalyticsSwift
FirebaseRemoteConfigSwift
FirebaseDatabaseSwift
FirebaseInAppMessagingSwift
FirebaseFirestoreSwift

Firebase Product(s)
Analytics, Database, Firestore, In-App Messaging, Remote Config

Closed via:

#13085
#13076
#13057
#13056
#13052

repo: firebase/firebase-ios-sdk


text:
Undefined symbol: _FIREmailPasswordAuthProviderID

I upgraded to last version and when i try to build the project i get this error:
Undefined symbols for architecture arm64:
"_FIREmailPasswordAuthProviderID", referenced from:
___35-[FIREmailEntryViewController next]_block_invoke in FirebaseAuthUI(FIREmailEntryViewController.o)
___74-[FIRAuthPickerViewController handleAccountLinkingForEmail:newCredential:]_block_invoke in FirebaseAuthUI(FIRAuthPickerViewController.o)
I tried reinstalling the pods, but still got the error.

@nightroadcosplay Thank you for the report. Will it be possible to share your Podfile and Podfile.lock or (even better) a test project to reproduce the issue?

Podfile.zip
Here are Podefile and Podfile.lock

Looks like the project is picking up an old version of FirebaseUI because of the pod 'FBSDKCoreKit', '~> 4.44.1' requirement. The new version of FirebaseUI requires 5.0 or above. I'm not sure why the version of FirebaseUI you're getting is so old, though.
Relevant Podspec:
https://github.com/firebase/FirebaseUI-iOS/blob/36860d6241737d015d65a34e301953d6297a300e/FirebaseUI.podspec#L112

Looks like the project is picking up an old version of FirebaseUI because of the pod 'FBSDKCoreKit', '~> 4.44.1' requirement. The new version of FirebaseUI requires 5.0 or above. I'm not sure why the version of FirebaseUI you're getting is so old, though.
Relevant Podspec:
https://github.com/firebase/FirebaseUI-iOS/blob/36860d6241737d015d65a34e301953d6297a300e/FirebaseUI.podspec#L112

Thank you, it was from that pod. Now i got the 7.0.0 FirebaseUI version.

Great! Is the issue resolved for you then?

Yes! Thank you for your help.

You're very welcome. Closing the issue now, if you run into anything else please open another one!


text:
Firebase/Analytics: Data loss. Cannot record event metadata

Step 0: Are you in the right place?

For issues or feature requests related to the code in this repository
file a Github issue.

If this is a feature request please use the Feature Request template.

For general technical questions, post a question on StackOverflow
with the firebase tag.
For general (non-iOS) Firebase discussion, use the firebase-talk
google group.
For backend issues, console issues, and other non-SDK help that does not fall under one
of the above categories, reach out to
Firebase Support.
Once you've read this section and determined that your issue is appropriate for
this repository, please delete this section.

[REQUIRED] Step 1: Describe your environment

Xcode version: 13.0 (13A233)
Firebase SDK version: 8.8.0
Installation method: CocoaPods
Firebase Component: Analytics
Target platform(s): iOS
Swift version: 4.2

[REQUIRED] Step 2: Describe the problem
Steps to reproduce:

Integrate Firebase/Analytics in swift project as described in the docs.
FirebaseApp().configure()
Run the app
Observed the console with the following error messages:

[Firebase/Analytics][I-ACS023068] Data loss. Cannot record event metadata. Error: Error Domain=com.google.gmp.measurement.ErrorDomain Code=3 "Received empty measurement bundle metadata for getting dictionary representation" UserInfo={NSLocalizedDescription=Received empty measurement bundle metadata for getting dictionary representation}
[Firebase/Analytics][I-ACS012056] Transaction failed. Transaction failed

Based on https://github.com/firebase/quickstart-ios/issues/229, this could be an issue with the nanopb library linked into the app.  Are there any duplicate symbol warnings in the console at app startup? Is the app linking a version of nanopb different from the version required by Firebase?


text:
Test grpc 1.62 via SPM

Test https://github.com/grpc/grpc-ios/pull/236

Succeeded by #12520


text:
Fix VisionOS and WatchOS CI

The -sdk option was for xcodebuild causing the builds and tests to run for macOS instead.

One of the failing tests is due to visionOS not being available for Firestore binary: https://github.com/firebase/firebase-ios-sdk/actions/runs/9084812253/job/24966694977?pr=12966#step:6:438
One option is to set the env var to build it from source for the visionOS flow.

Thanks @ncooke3 - I'll make the update when I have a fix for the other Messaging Watch Sample app build problem.


text:
Fix calloc calls, which had the argument order reversed

Also, maybe I should resign from software engineering
From man calloc, which was not the source I used (dumb).
     void *
     calloc(size_t count, size_t size);

The implementation likely just multiplies the two values anyway.

I'd expect so: https://github.com/rofl0r/musl/blob/master/src/malloc/calloc.c
But we were seeing weird kind-of corrupt memory bugs parsing the data on the backend.


text:
[Minor] Fixed a typo in The InAppMessaging Swift test

Without this change the dismess button was never added, creating a
modal dialog that cannot be closed if the message have no action

@christibbs I guess this is your area

@ptxmac Thanks for the PR! Would you describe the issue that the PR addresses and why this PR solves it?

rereading the original code and comments, I'm actually not sure if my fix makes sense. I think perhaps the original test was never written with button-less in-app modals, thus there's a 3rd code path that has never been added.
The original code is "correct" under the assumption that all in-app messages have an action URL

Can you add a test for the new behavior?

This code is part of a sample project - the whole code is the test :)

Please fix the formatting. See https://github.com/firebase/firebase-ios-sdk#code-formatting

I think this problem is better solved by the firebase team itself, perhaps by adding documentation for in-app-messaging with swiftui, which is currently only present as the example I attempted to improve here

@ptxmac, do you mind if I reopen this PR and take on the rest of the changes necessary? Your existing commits will end up in the SDK, but you won't be responsible for subsequent updates.

Please do!