ImportError: /usr/local/lib/python3.7/dist-packages/cv2/cv2.cpython-37m-arm-linux-gnueabihf.so: undefined symbol: __atomic_fetch_add_8

Raspberry 4
python 3.7
tensorflow 2.0
i follow your guidence , and this issues happended at last ,

how should i do ?

rp3b+,same error.

Same error using Raspbian Buster

$ LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/libatomic.so.1.2.0 python3 Object_detection_picamera.py  --usbcam

Tried this workaround:
$ LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/libatomic.so.1.2.0 python3 Object_detection_picamera.py  --usbcam

Getting a new error now:
Traceback (most recent call last):
  File "Object_detection_picamera.py", line 27, in <module>
    import tensorflow as tf
ModuleNotFoundError: No module named 'tensorflow'

Not sure if they are relevant.
Edit: Not relevant. The workaround should work.

No help..

Tried this workaround:
$ LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/libatomic.so.1.2.0 python3 Object_detection_picamera.py  --usbcam

Getting a new error now:
Traceback (most recent call last):
  File "Object_detection_picamera.py", line 27, in <module>
    import tensorflow as tf
ModuleNotFoundError: No module named 'tensorflow'

Not sure if they are relevant.
Edit: Not relevant. The workaround should work.

No help..

Getting the same error?

I'm seeing this as well.

Hey, this is because the latest version of openCV doesn't work with RPi. Instead of pip3 install opencv-python try pip3 install opencv-python==<IP_ADDRESS>
You will need to uninstall the latest version first. pip3 uninstall opencv-python

i used another way to solve this issue yesterday, but it's  not  convenient
i first install opencv follow other guidence
https://www.pyimagesearch.com/2019/09/16/install-opencv-4-on-raspberry-pi-4-and-raspbian buster/  ,
then  i  skep  the  step  of  installing opencv  in this  guidence   .
the result is  i need  to execute  some  extra code  everytime  i run the  "Object_detection_picamera.py",  they are  :

sudo find / -type f -name ‘atom.so*’
LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/libatomic.so.1.2.0    python3   Object_detection_picamera.py

i tried your way today ,  and it  did  works .
thank   you  for  taking  the  time  to   solve  this  issue   @Zach-OP

Hey, this is because the latest version of openCV doesn't work with RPi. Instead of pip3 install opencv-python try pip3 install opencv-python==<IP_ADDRESS>
You will need to uninstall the latest version first. pip3 uninstall opencv-python

thank you so much Zach-Op

Hey, this is because the latest version of openCV doesn't work with RPi. Instead of pip3 install opencv-python try pip3 install opencv-python==<IP_ADDRESS>
You will need to uninstall the latest version first. pip3 uninstall opencv-python

When i try this, i get the error ''Could not install packages due to an EnvironmentError: 404 Client Error: Not found for url: https://pypi.org/simple/opencv-pyhton/''
Do you have any idea to achieve this problem?

Hey, this is because the latest version of openCV doesn't work with RPi. Instead of pip3 install opencv-python try pip3 install opencv-python==<IP_ADDRESS>
You will need to uninstall the latest version first. pip3 uninstall opencv-python

NICE !!!

Hey, this is because the latest version of openCV doesn't work with RPi. Instead of pip3 install opencv-python try pip3 install opencv-python==<IP_ADDRESS>
You will need to uninstall the latest version first. pip3 uninstall opencv-python

i have same error.. but is not helped. i try this solution and this. but also it doesnt work.. anybody plz help me 😭

Hey, this is because the latest version of openCV doesn't work with RPi. Instead of pip3 install opencv-python try pip3 install opencv-python==<IP_ADDRESS>
You will need to uninstall the latest version first. pip3 uninstall opencv-python

it did work with previous versions of opencv.. thanks

Thanks you so much @Zach-OP  It really useful !!!

Hey, this is because the latest version of openCV doesn't work with RPi. Instead of pip3 install opencv-python try pip3 install opencv-python==<IP_ADDRESS>
You will need to uninstall the latest version first. pip3 uninstall opencv-python
It gives me this when i install the older version

2020-02-09 05:51:42.552137: E tensorflow/core/platform/hadoop/hadoop_file_system.cc:132] HadoopFileSystem load error: libhdfs.so: cannot open shared object file: No such file or directory
mmal: mmal_vc_port_enable: failed to enable port vc.null_sink:in:0(OPQV): ENOSPC
mmal: mmal_port_enable: failed to enable connected port (vc.null_sink:in:0(OPQV))0x2948490 (ENOSPC)
mmal: mmal_connection_enable: output port couldn't be enabled
Traceback (most recent call last):
File "Object_detection_picamera.py", line 124, in
camera = PiCamera()
File "/usr/lib/python3/dist-packages/picamera/camera.py", line 433, in init
self._init_preview()
File "/usr/lib/python3/dist-packages/picamera/camera.py", line 513, in _init_preview
self, self._camera.outputs[self.CAMERA_PREVIEW_PORT])
File "/usr/lib/python3/dist-packages/picamera/renderers.py", line 558, in init
self.renderer.inputs[0].connect(source).enable()
File "/usr/lib/python3/dist-packages/picamera/mmalobj.py", line 2212, in enable
prefix="Failed to enable connection")
File "/usr/lib/python3/dist-packages/picamera/exc.py", line 184, in mmal_check
raise PiCameraMMALError(status, prefix)
picamera.exc.PiCameraMMALError: Failed to enable connection: Out of resources

Hey, this is because the latest version of openCV doesn't work with RPi. Instead of pip3 install opencv-python try pip3 install opencv-python==<IP_ADDRESS>
You will need to uninstall the latest version first. pip3 uninstall opencv-python

Thank you sooooooo much

Hey, this is because the latest version of openCV doesn't work with RPi. Instead of pip3 install opencv-python try pip3 install opencv-python==<IP_ADDRESS>
You will need to uninstall the latest version first. pip3 uninstall opencv-python

It worked for me on RPI 3 B.   It uninstalled my opencv_python-<IP_ADDRESS> now it's ok with opencv-python==<IP_ADDRESS>

rp3b+,same error.

Use OpenCV contrib with the right version.
pip install opencv-contrib-python==<IP_ADDRESS>

Hey, this is because the latest version of openCV doesn't work with RPi. Instead of pip3 install opencv-python try pip3 install opencv-python==<IP_ADDRESS>
You will need to uninstall the latest version first. pip3 uninstall opencv-python

i excecuted the same python <IP_ADDRESS> was installed but againg showing the same error

Okay thank you very much! Have a great day!
On Sun, Feb 16, 2020, 1:16 AM modarm-e<EMAIL_ADDRESS>wrote:

Hey, this is because the latest version of openCV doesn't work with RPi.
Instead of pip3 install opencv-python try pip3 install
opencv-python==<IP_ADDRESS>
You will need to uninstall the latest version first. pip3 uninstall
opencv-python
Thank you sooooooo much
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/EdjeElectronics/TensorFlow-Object-Detection-on-the-Raspberry-Pi/issues/67?email_source=notifications&email_token=ANXCQKELI5E4DJX4YB2YJ6DRDDR53A5CNFSM4JPNARM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL37TKI#issuecomment-586676649,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANXCQKDEJXGAVBPC4243DL3RDDR53ANCNFSM4JPNARMQ
.

Hey, this is because the latest version of openCV doesn't work with RPi. Instead of pip3 install opencv-python try pip3 install opencv-python==<IP_ADDRESS>
You will need to uninstall the latest version first. pip3 uninstall opencv-python

it works well for me thanks

Hey, this is because the latest version of openCV doesn't work with RPi. Instead of pip3 install opencv-python try pip3 install opencv-python==<IP_ADDRESS>
You will need to uninstall the latest version first. pip3 uninstall opencv-python
It gives me this when i install the older version

2020-02-09 05:51:42.552137: E tensorflow/core/platform/hadoop/hadoop_file_system.cc:132] HadoopFileSystem load error: libhdfs.so: cannot open shared object file: No such file or directory
mmal: mmal_vc_port_enable: failed to enable port vc.null_sink:in:0(OPQV): ENOSPC
mmal: mmal_port_enable: failed to enable connected port (vc.null_sink:in:0(OPQV))0x2948490 (ENOSPC)
mmal: mmal_connection_enable: output port couldn't be enabled
Traceback (most recent call last):
File "Object_detection_picamera.py", line 124, in
camera = PiCamera()
File "/usr/lib/python3/dist-packages/picamera/camera.py", line 433, in init
self._init_preview()
File "/usr/lib/python3/dist-packages/picamera/camera.py", line 513, in _init_preview
self, self._camera.outputs[self.CAMERA_PREVIEW_PORT])
File "/usr/lib/python3/dist-packages/picamera/renderers.py", line 558, in init
self.renderer.inputs[0].connect(source).enable()
File "/usr/lib/python3/dist-packages/picamera/mmalobj.py", line 2212, in enable
prefix="Failed to enable connection")
File "/usr/lib/python3/dist-packages/picamera/exc.py", line 184, in mmal_check
raise PiCameraMMALError(status, prefix)
picamera.exc.PiCameraMMALError: Failed to enable connection: Out of resources

Did you solve this? I have same issue

I tried Zac's approach to uninstall and then install OpenCV. I tried using LD_PRELOAD. I tried using VIRTUALWRAPPER_PYTHON. I tried mkvirtualenv cv2. None of them worked.
I use Pi 4, 4GB and Intel Movidius NCS2, Python 3.7. Any other suggestions are much appreciated. This has taken much too much time to get resolved. Hopefully there is an easy solution.
Many thanks, Martin from NZ

Hey, this is because the latest version of openCV doesn't work with RPi. Instead of pip3 install opencv-python try pip3 install opencv-python==<IP_ADDRESS>
You will need to uninstall the latest version first. pip3 uninstall opencv-python

thanks

I tried Zac's approach to uninstall and then install OpenCV. I tried using LD_PRELOAD. I tried using VIRTUALWRAPPER_PYTHON. I tried mkvirtualenv cv2. None of them worked.
I use Pi 4, 4GB and Intel Movidius NCS2, Python 3.7. Any other suggestions are much appreciated. This has taken much too much time to get resolved. Hopefully there is an easy solution.
Many thanks, Martin from NZ
I am also getting the same issue on rpi 4 . Someone plz help

I tried Zac's approach to uninstall and then install OpenCV. I tried using LD_PRELOAD. I tried using VIRTUALWRAPPER_PYTHON. I tried mkvirtualenv cv2. None of them worked.
I use Pi 4, 4GB and Intel Movidius NCS2, Python 3.7. Any other suggestions are much appreciated. This has taken much too much time to get resolved. Hopefully there is an easy solution.
Many thanks, Martin from NZ

Did you found any solution please post it

$ vi .bashrc (or nano .bashrc  under root)
add：export LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/libatomic.so.1
exit with save file.
$ source .bashrc
$ python3
Python 3.7.3 (default, Dec 20 2019, 18:57:59)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

import cv2

It will work.

Update following @Zach-OP advice to stay away from the latest version:
On a Pi4 today :

OpenCV <IP_ADDRESS>  KO
OpenCV <IP_ADDRESS> imports properly and seems to run fine so far
=> Install with pip3 install opencv-python==<IP_ADDRESS>

Dear Sir,
I have tried both the ways you have suggested me, but it seems
none of them to be working, i am attaching the screeshots of the rpi
terminal,
od_problem_1) - It shows that the code doesn't run with sudo command.
od_problem_2) - It shows that the code does run without sudo command.
I am calling this code using another code which requires
administrative rights for working as it contains flask api to connect to
another api in another computer/laptop, so sudo needs to put there before
working. please help.
On Thu, May 14, 2020 at 6:32 AM Yoann Hervieux<EMAIL_ADDRESS>wrote:

Update following @Zach-OP https://github.com/Zach-OP advice to stay
away from the latest version:
On a Pi4 today :

OpenCV <IP_ADDRESS> KO
OpenCV <IP_ADDRESS> imports properly and seems to run fine so far
=> Install with pip3 install opencv-python==<IP_ADDRESS>

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/EdjeElectronics/TensorFlow-Object-Detection-on-the-Raspberry-Pi/issues/67#issuecomment-628324734,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AND7QXLTQZGGRB45VUOGI73RRM7LJANCNFSM4JPNARMQ
.

Hey, this is because the latest version of openCV doesn't work with RPi. Instead of pip3 install opencv-python try pip3 install opencv-python==<IP_ADDRESS>
You will need to uninstall the latest version first. pip3 uninstall opencv-python

god bless you

Hey, this is because the latest version of openCV doesn't work with RPi. Instead of pip3 install opencv-python try pip3 install opencv-python==<IP_ADDRESS>
You will need to uninstall the latest version first. pip3 uninstall opencv-python

thank you bro, it worked for me

$ vi .bashrc (or nano .bashrc under root)
add：export LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/libatomic.so.1
exit with save file.
$ source .bashrc
$ python3
Python 3.7.3 (default, Dec 20 2019, 18:57:59)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

import cv2

It will work.

Thanks worked like charm with 4.1.1 😍

how to export LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/libatomic.so.1
for sudo command ?
I want to use framebuffer over ssh, if invoke without sudo , it complain
pygame.error: Unable to open a console terminal

Hey, this is because the latest version of openCV doesn't work with RPi. Instead of pip3 install opencv-python try pip3 install opencv-python==<IP_ADDRESS>
You will need to uninstall the latest version first. pip3 uninstall opencv-python

i excecuted the same python <IP_ADDRESS> was installed but againg showing the same error

same here. please resolve this :(

Hey, this is because the latest version of openCV doesn't work with RPi. Instead of pip3 install opencv-python try pip3 install opencv-python==<IP_ADDRESS>
You will need to uninstall the latest version first. pip3 uninstall opencv-python

i excecuted the same python <IP_ADDRESS> was installed but againg showing the same error

hi bharath4284
i too tried the same and same error i got again. did you install tensorflow ? if u did it then please tell me the command.

Hey, this is because the latest version of openCV doesn't work with RPi. Instead of pip3 install opencv-python try pip3 install opencv-python==<IP_ADDRESS>
You will need to uninstall the latest version first. pip3 uninstall opencv-python
THANKS A TON! THIS WORKED!

This happens when I try uninstalling any ideas?
pi@raspberrypi:~ $ pip3 uninstall opencv-python
Uninstalling opencv-python-<IP_ADDRESS>:
  Would remove:
    /usr/local/lib/python3.7/dist-packages/cv2/*
    /usr/local/lib/python3.7/dist-packages/opencv_python-<IP_ADDRESS>.dist-info/*
Proceed (y/n)? y
Exception:
Traceback (most recent call last):
  File "/usr/lib/python3.7/shutil.py", line 563, in move
    os.rename(src, real_dst)
PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.7/dist-packages/cv2/LICENSE-3RD-PARTY.txt' -> '/tmp/pip-uninstall-wr2v2c8q/usr/local/lib/python3.7/dist-packages/cv2/LICENSE-3RD-PARTY.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 143, in main
    status = self.run(options, args)
  File "/usr/lib/python3/dist-packages/pip/_internal/commands/uninstall.py", line 75, in run
    auto_confirm=options.yes, verbose=self.verbosity > 0,
  File "/usr/lib/python3/dist-packages/pip/_internal/req/req_install.py", line 683, in uninstall
    uninstalled_pathset.remove(auto_confirm, verbose)
  File "/usr/lib/python3/dist-packages/pip/_internal/req/req_uninstall.py", line 224, in remove
    renames(path, new_path)
  File "/usr/lib/python3/dist-packages/pip/_internal/utils/misc.py", line 280, in renames
    shutil.move(old, new)
  File "/usr/lib/python3.7/shutil.py", line 578, in move
    os.unlink(src)
PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.7/dist-packages/cv2/LICENSE-3RD-PARTY.txt'

This happens when I try uninstalling any ideas?
pi@raspberrypi:~ $ pip3 uninstall opencv-python
Uninstalling opencv-python-<IP_ADDRESS>:
  Would remove:
    /usr/local/lib/python3.7/dist-packages/cv2/*
    /usr/local/lib/python3.7/dist-packages/opencv_python-<IP_ADDRESS>.dist-info/*
Proceed (y/n)? y
Exception:
Traceback (most recent call last):
  File "/usr/lib/python3.7/shutil.py", line 563, in move
    os.rename(src, real_dst)
PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.7/dist-packages/cv2/LICENSE-3RD-PARTY.txt' -> '/tmp/pip-uninstall-wr2v2c8q/usr/local/lib/python3.7/dist-packages/cv2/LICENSE-3RD-PARTY.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 143, in main
    status = self.run(options, args)
  File "/usr/lib/python3/dist-packages/pip/_internal/commands/uninstall.py", line 75, in run
    auto_confirm=options.yes, verbose=self.verbosity > 0,
  File "/usr/lib/python3/dist-packages/pip/_internal/req/req_install.py", line 683, in uninstall
    uninstalled_pathset.remove(auto_confirm, verbose)
  File "/usr/lib/python3/dist-packages/pip/_internal/req/req_uninstall.py", line 224, in remove
    renames(path, new_path)
  File "/usr/lib/python3/dist-packages/pip/_internal/utils/misc.py", line 280, in renames
    shutil.move(old, new)
  File "/usr/lib/python3.7/shutil.py", line 578, in move
    os.unlink(src)
PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.7/dist-packages/cv2/LICENSE-3RD-PARTY.txt'

It says "permission denied" - you forgot to use sudo:
pip3 uninstall opencv-python

ImportError                               Traceback (most recent call last)
 in ()
4 import pybind11
5 import astropy
----> 6 import pygedm
1 frames
/usr/local/lib/python3.7/dist-packages/pygedm/ne2001_wrapper.py in ()
3 from functools import wraps
4 from astropy import units as u
----> 5 from . import dmdsm     # f2py FORTRAN object
6 from . import density   # f2py FORTRAN object
7
ImportError: /usr/local/lib/python3.7/dist-packages/pygedm/dmdsm.so: undefined symbol: PyCObject_Type
Please help resolve this

Update following @Zach-OP advice to stay away from the latest version:
On a Pi4 today :

OpenCV <IP_ADDRESS>  KO
OpenCV <IP_ADDRESS> imports properly and seems to run fine so far
=> Install with pip3 install opencv-python==<IP_ADDRESS>

Thanks a lot, it still works today and I needed it soooo much !!!!


Fix the id passing to form fields.

The ID attributes was not passed to finalFormFiels components. The id prop is not part of the Field input  prop by default.
Thanks to @chalettu for discovering it!

@miq-bot  assing @karelhala
@miq-bot add_label bug
@miq-bot add_reviewer @chalettu

@miq-bot assign @karelhala

@miq-bot assign @karelhala

@martinpovolny cen we get this merged?


Email support

No sure if this would be useful, but I would love the option to add an email field that way people have a receipt from when they donate or if they use low fees get alerted when the payment gets confirmed.

Thanks a lot for your suggestion! I will think about it (or how to achieve similar goals) but some immediate concerns regarding email come to mind.
CypherpunkPay could optionally collect some contact details (like email or twitter handle) but it probably shouldn't on its own send out emails. It's not obvious but reliable email sending is infrastructure heavy and would make the software harder to install and configure. Using 3rd party mailing services like mailgun is easy but out of question for privacy reasons.
I need to give it more thought.

Ah ok, thank you for your response. I use AWS SES for everything. I understand your concern. I would add a disclaimer where people can input their email, but let it be known it might be used by 3rd parties, example sent email via AWS SES.

While I agree it would be nice to receive some kind of asynchronous confirmation on a successful donation, at the moment this is not actionable for me.
I grow sceptical about email viability for any privacy related use cases.
I will keep this in mind and maybe one day CypherpunkPay will add asynchronous user communication with some modern p2p IM.
Meanwhile, user can bookmark the URL as a status / receipt page.


npm install will not install q library

While I run npm install
The console will appear Error: Cannot find module 'q'
I should run npm install --save q after the error message
Every time this is happend

Q (uppercase)


Add condition on upstream grafana chart

Towards https://github.com/giantswarm/giantswarm/issues/24677
Need to be able to enable/disable grafana upstream chart from other chart (such as prometheus-operator-app).

TBH I'm not sure it make sense considering this chart is empty. We can configure grafana.enabled condition on prometheus-operator-app instead. WDYT?

I'm ok with this but it also means that we will have to add condition for every other chart using this one as dependency whereas by directly updating grafana we only have to write the condition once.

This is usually how it's done in the other charts anyway (cf. https://github.com/prometheus-community/helm-charts/blob/e09e9879ad75f1e787eadbeb9d73f1aafb86c226/charts/kube-prometheus-stack/Chart.yaml#L51)

Oh ok nvm then. I'll close this PR and branch


Missing export_presets.cfg

I'm trying to package openseeface-gd for nixOS.
When building, godot complains about a missing export_presets.cfg file.
Other godot based project I've packaged always had that file in the repo but here I couldn't find one.
I've seen that you've added the export_presets.cfg to the gitignore, on purpose, I assume.
Since I'm not too familiar with godot, can I just copy that file from a different project or could you please provide me one to build for Linux.

I believe you need a custom one for this project, there should be another repo from Youwin for it

An exports_presets.cfg should be created by manually exporting the project from the editor once. I blacklisted the config so people wouldn't try to export the application using a default Godot template.
I would use the export templates provided here in order to create a release build.

Okay, I'll take a look at it... I've just never used the editor... so far I've only used godot-headless --export...

I thought about this further, and I think for CICD purposes I will need to include the exports_presets.cfg file anyways. I'll try and get this pushed at some point.

Would make packaging it way easier.

Added back in 8a2ea0837fa81708b744c3308699653c1a9f1efa
Closing


locale setting for the datepicker does not seem to be working properly

The JavaScript:
     // formatted with YYYY-MM-DD format
     $('#datepicker3').datepicker(
     {
        locale: 'de-de',
        format: 'yyyy-mm-dd',
        showOtherMonths: true,
        selectOtherMonths: true
     });

(And it doesn't matter, I can leave out the format, and other settings and just use "locale" as shown, copied from the configuration documentation page, and the same thing happens.)
When I reload the page, and click the button or put focus on the control defined as:
        <input name="datepicker3" id="datepicker3" width="276" value="2021-01-15" />

(And again, it doesn't matter if there is a value there or not) I cannot get the control to open. In Firefox, if I click the control, nothing happens. So going to the menus and selecting "Web Developer", and then "Web Console", I see this:
Uncaught TypeError: gj.core.messages[(intermediate value)] is undefined
formatDate file:///F:/Apache/htdocs/WebTutorial/js/gijgo.js:445
updateHeader file:///F:/Apache/htdocs/WebTutorial/js/gijgo.js:14666
selectDay file:///F:/Apache/htdocs/WebTutorial/js/gijgo.js:15096
dayClickHandler file:///F:/Apache/htdocs/WebTutorial/js/gijgo.js:15067
value file:///F:/Apache/htdocs/WebTutorial/js/gijgo.js:15264
value file:///F:/Apache/htdocs/WebTutorial/js/gijgo.js:15402
open file:///F:/Apache/htdocs/WebTutorial/js/gijgo.js:15128
initialize file:///F:/Apache/htdocs/WebTutorial/js/gijgo.js:14558
jQuery 2
gijgo.js:445:21
If I remove the "locale:" option, everything else works exactly as it should, reloading the page I can open the calendar and all is good.

Turns out there are specific language files that need to be loaded if using the localization. But the information about this is not where expected, and there's no reference to it in the main documentation.

Turns out there are specific language files that need to be loaded if using the localization. But the information about this is not where expected, and there's no reference to it in the main documentation.

For those who are stuck on this problem, here is a solution :
download your file langage https://github.com/atatanasov/gijgo/tree/master/dist/combined/js/messages
and then just add  at the end of your header


Question: how do I use google as my search engine with autocomplete?

I know.. I know... don't use google hahaha.
I got google as a custom search engine, but autocomplete doesn't work (it does in regular chromium) - I don't know the autocomplete url. Would someone be so kind as to provide this to me?
Thanks in advance :smiley:

In chrome://settings/searchEngines create a new search engine with the following parameters:
Search engine: Google
Keyword: google
URL with %s in place of query: https://www.google.com/search?client=chrome&q=%s
Suggestions URL with %s in place of query: https://www.google.com/complete/search?client=chrome&q=%s
And save it.
After that, go to chrome://settings/syncSetup and turn on Auto-complete searches and URLs.
Done.

Thank you!


Update spring-boot-starter-camunda to 8.5.10

About this PR
📦 Updates io.camunda.spring:spring-boot-starter-camunda from 8.5.9 to 8.5.10
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.camunda.spring", artifactId = "spring-boot-starter-camunda" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "io.camunda.spring", artifactId = "spring-boot-starter-camunda" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #112.


zip-compressed files support

Please, evaluate and add attached code to support zip-compressed log-files as well.
zip-support.zip
.

Code as compressed attachment in an issue ... on Github?

Sorry, I'm kind a new to this. Trying to do it proper way.

Ah, okay.
The right way to do it would be

Fork the repository. (there’s a button on the from page on the upper
right)
Use command line git or the Github Desktop client to clone that forked
repository to your local system. (
https://desktop.github.com/)
Commit and push the changes that you‘ve made to your forked repository
Create a pull request to my repository (this can also be done from the
main page of the repository by using „Compare“ or „Pull Request“)
--
Florian Roth

Key material (Keybase, S/MIME, PGP, Threema):
https://keybase.pub/johngalt/

Yes, done this. Thank you for your patience.


Enable eslint space-before-function-paren

Anonymous are set to ignore as I couldn't decide. No current violations.
Rule docs: https://eslint.style/rules/js/space-before-function-paren

If people agree to anonymous: never, I'd gladly push it, would be a 93-line diff.


Chaos Rings II [PCSG00498]

App summary

App name: Chaos Rings II
App serial: PCSG00498
App version: 1.00

Vita3K summary

Version: v0.1.5
Build number: 2668
Commit hash: https://github.com/vita3k/vita3k/commit/01948553
CPU backend: Dynarmic

Test environment summary

Tested by: gymzatan
OS: Windows 11
CPU: AMD Ryzen 7 5800H
GPU: AMD Radeon(TM) Graphics
RAM: 16 GB

Issues
Game runs at full speed (20 FPS). No issue detected.
Screenshots

Log
vita3k.log
Recommended labels

Playable

Test environment summary

Tested by: Virens7
OS: Windows 10
CPU: Intel Core i7-9700K
GPU: Nvidia GeForce RTX 3060
RAM: 32 GB

Issues
Multiple texture and shader loading problems, major and minor. Backgrounds not loading at all, occasional blackscreening. See captures for examples. Framerate is fine, as mentioned before, light screentearing as well.
Screencaptures
https://github.com/Vita3K/compatibility/assets/147438798/5bcfa80e-f216-48cc-9747-203db0e6ced4
https://github.com/Vita3K/compatibility/assets/147438798/ab623943-222a-4dcd-8d0e-7ee3b63f66d6
https://github.com/Vita3K/compatibility/assets/147438798/286ba175-8b8a-444c-9f5c-ac1ea6789aa3
https://github.com/Vita3K/compatibility/assets/147438798/90752a1a-256b-4f58-a9c3-38de4687213c
https://github.com/Vita3K/compatibility/assets/147438798/435302b6-0cca-412b-a89e-2065b6af7d17

Same issues arise on Vulkan instead of OpenGL:
https://github.com/Vita3K/compatibility/assets/147438798/4c6837e0-7ee3-43bf-aa1c-175da4e8578a
vita3k.log

The white boss issue should be partially fixed (it's still white but "less"), you need to clear your shader cache to see it.

Okay, I gave it another whirl on the same specs with the update installed. I can see the improvement on my end, too!!
https://github.com/Vita3K/compatibility/assets/147438798/51320e1e-f595-4582-ac0b-8ca87b5fe3ae
vita3k.log
It's definitely working. I'll check on the ophan orlando model in a bit, too.

The Ophan Orlando model seems perfectly fine, now!
https://github.com/Vita3K/compatibility/assets/147438798/f6b5e23c-7656-4791-897d-3fe2bc0ee9b7
So I think that could be considered fixed.

https://github.com/Vita3K/compatibility/assets/147438798/93dc142b-d24a-4683-9b80-e15c2b8aba7c
vita3k.log
Graphic issue still persists on most current build, same test environment.

App summary

App name: Chaos Rings II
App serial: PCSG00498
App version: 1.00

Vita3K summary

Version: v0.2.0
Build number: 3646
Commit hash: https://github.com/vita3k/vita3k/commit/e70999adcdd0537e882f8d5afe54843bc770d8b2
CPU backend: Dynamic
GPU backend: OpenGL & Vulkan

Test environment summary

Tested by: antoniodesousa
OS: Windows 11 Pro 23H2
CPU: Ryzen 9 6900HX
GPU: Radeon RX 6600M
RAM: 64 GB

Issues

Major graphical glitches on Vulkan
No issues on OpenGL

Screenshots
OpenGL

Vulkan

Log
vita3k.log
Recommended labels

Playable


[FEATURE]: Document SELECT FOR UPDATE and its variants

Describe what you want
Drizzle has SELECT FOR UPDATE support as pointed out by @ryanagillie but this is not documented anywhere.

I can't find any documentation on it, but there is a .for() method that does what you're looking for

I totally missed this @ryanagillie!
I should rename this issue to "Document SELECT FOR UPDATE"

@benkingcode - like this:
const results = await db
  .select()
  .from(queue)
  .for('update', { skipLocked: true });

See below the full type definitions for PostgreSQL and MySQL:
PostgreSQL types:
https://github.com/drizzle-team/drizzle-orm/blob/6c4c3c50d3d6d4dda421c514c76e66c400120264/drizzle-orm/src/pg-core/query-builders/select.types.ts#L129-L144
MySQL types:
https://github.com/drizzle-team/drizzle-orm/blob/6c4c3c50d3d6d4dda421c514c76e66c400120264/drizzle-orm/src/mysql-core/query-builders/select.types.ts#L127-L138

It'd be nice if we had PERFORM instead of SELECT for stuff like this in postgres, as PERFORM doesn't return anything.


List move transitions are missing transition CSS styles

The examples in the Guide under List Move Transitions are not working the way that I'm guessing they should – at least compared to how these examples are described in the text.
This is what the first example looks like (showing no transition at all), but the lazy sudoku isn't working either:

From what I can tell, they are missing the relevant CSS styles to define start and end of their transition states.

Strange, they're working on my end. Can you share the browser you're using?

I started in Safari 11.0, but Firefox 56.0 and Chrome 61.0 aren't working either.
All on macOS 10.13.

@fsaenger Thanks! I just started seeing it too. Investigating now.

It turned out to be a regression in v2.5.0, now fixed in v2.5.1. Thanks for the report!

👌
Sorry about the very vague bug report through, I’m not yet familiar enough with Vue to debug that myself.

Nothing to be sorry about! 🙂  You provided all the information I needed to replicate the issue and start hunting down the cause.


question related to log_filters change

I'm having issues getting the log_filters to work properly - not sure how else to ask for input on this one.
hiera config:
rsyslog::client::log_filters:
  'foo':
    expression: '$programname == "foo"'
    action: /var/log/foo.log

puppet output
==> app1: Error: Evaluation Error: Error while evaluating a Function Call, Failed to parse template rsyslog/client/config.conf.erb:
==> app1:   Filepath: /tmp/vagrant-puppet/environments/production/modules/rsyslog/templates/client/config.conf.erb
==> app1:   Line: 22
==> app1:   Detail: no implicit conversion of String into Integer
==> app1:  at /tmp/vagrant-puppet/environments/production/modules/rsyslog/manifests/client.pp:67:21 on node app1

I am pretty sure this is the erb section:
<% scope.lookupvar('rsyslog::client::log_filters').each do |log_filter| -%>
if <%= log_filter['expression'] %> then <%= log_filter['action'] %>
<% end -%>

Am I defining that right? I read that as taking all elements of the log_filters hash discarding the key name - only using expression and action of each key
This is using v4.0.3 tag / release

It is misleading, but rsyslog::client::log_filters expects an array, not sure why the readme mentions using an hash.
rsyslog::client::log_filters:
  - expression: '$programname == "foo"'
    action: /var/log/foo.log

I've added an example to the README.
https://github.com/saz/puppet-rsyslog#log-filter-example-for-hiera
Let me know, if there is still more informationen needed.


Appstudio update test-component-pac-avrk

Pipelines as Code configuration proposal

Pipelines as Code CI/test-component-pac-avrk-on-pull-request has failed.

StatusDurationName

✅ Succeeded
22 seconds
init

✅ Succeeded
21 seconds
clone-repository

❌ Failed
1 minute
build-container

✅ Succeeded
11 seconds
show-summary

Failure reasontask build-container has the status "Failed":
2023/02/27 15:10:29 Skipping step because a previous step failed


Matlab doesn't like double quotes

fem = WorldFEM('neohookean_linear_tetrahedra', V, T); works
fem = WorldFEM("neohookean_linear_tetrahedra", V, T); makes matlab very sad

Fixed


only facebook doesn't work with custom title,description

new ShareButton({
        url:'http://lala',
        title:'custom',
        description:'custom descr',
          networks: {
            facebook: {
              app_id: appConfig.facebookId,
              load_sdk:true
            }
        },
    });

I don't understand why the correct title and description works for all networks except for facebook. Any help?

With the Facebook SDK make sure your permissions are properly set on your facebook app dashboard. Similar issues have come up in the past with the sdk and share-button, also it might be worth adding the title/description as meta tags to that page so share-button grabs from their and all web crawlers can access the same information you're passing into the config object.

Which persmissions exactly do I need to change on the facebook dashboard?
I am implementing a list of products each one of them with it's unique title and description that's why I am not using the open graph meta tags but hoped to do it with this software. Works ok for all networks though except fb so I won't give up yet!
Is there a problem because of the many instances with different titles,descriptions you think? a bug?

any ideas? I can't do it with meta tags on the page.

I am closing this after doing research. It is not possible to make facebook work programmatically but it needs to be written in the docs.

@arisAlexis would you be willing to add a PR with the doc update?

@kylemac with pleasure but I am not sure if I fail to use it properly still. noone else responded.

I'm thinking if we have your solution in the form of a PR - it'll help us investigate. i apologize for the delay, however, we just have not had enough time to dedicate to addressing each issue lately.

Of course not, this is provided for free and we appreciate it :) but I really ended up putting a normal facebook button and using this software for the rest of the social networks.
The thing is that sharer.php doesn't accept custom parameters and goes to the URL and actually parses it. If this is generated from an SPA then the metatags will not be there. What I did is to prerender my page only for the facebook user-agent and serve that. But that means that the description and title fields in the configuration options are not valid for facebook.

Final comment for this. The custom description and url is working only if the link points to a page that has the open graph headers (ie you need to prerender it if you have an SPA). If you want this in the docs I will make a PR.

I am facing the same issue can you add a description on the needed og headers ?

@tagrudev yes sure. What I did is I serve a blank page with only the meta headers if the user agent hitting the url is facebook's and if not the normal page.
The blank page only contains this (with handlbars markup):

        {{#with data}}

         {{/with}}

</body>

this is the only way to get facebook to share the correct data because unlike the rest of the networks when you press the button it crawls the page.


Fixed compare icon which is missing in mobile view #4589

BUGS:
Link: https://github.com/bagisto/bagisto/issues/4589

@devansh-webkul
compare icon in mobile is same as wishlist https://prnt.sc/yxt2l8, please fix

@vaishaliwebkul,
Mentioned changes have been done.


Websocket

Getting:
Installing collected packages: websocket
Successfully installed websocket-0.2.1
Robins-MacBook-Air:scriptedforms robincole$ scriptedforms quick-start.md --token boo
Traceback (most recent call last):
  File "/anaconda3/bin/scriptedforms", line 11, in <module>
    load_entry_point('scriptedforms==0.5.7', 'console_scripts', 'scriptedforms')()
  File "/anaconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 570, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/anaconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2751, in load_entry_point
    return ep.load()
  File "/anaconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2405, in load
    return self.resolve()
  File "/anaconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2411, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/anaconda3/lib/python3.6/site-packages/scriptedforms-0.5.7-py3.6.egg/scriptedforms/__init__.py", line 27, in <module>
    from .scriptedforms import load, main
  File "/anaconda3/lib/python3.6/site-packages/scriptedforms-0.5.7-py3.6.egg/scriptedforms/scriptedforms.py", line 33, in <module>
    from websocket import create_connection
ImportError: cannot import name 'create_connection'

Tried:
Robins-MacBook-Air:scriptedforms robincole$ pip install websocket-client
Collecting websocket-client
  Downloading websocket_client-0.47.0-py2.py3-none-any.whl (200kB)
    100% |████████████████████████████████| 204kB 3.3MB/s
Requirement already satisfied: six in /anaconda3/lib/python3.6/site-packages (from websocket-client)
Installing collected packages: websocket-client
Successfully installed websocket-client-0.47.0

Getting:
Robins-MacBook-Air:scriptedforms robincole$ scriptedforms quick-start.md --token boo
Traceback (most recent call last):
  File "/anaconda3/bin/scriptedforms", line 11, in <module>
    load_entry_point('scriptedforms==0.5.7', 'console_scripts', 'scriptedforms')()
  File "/anaconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 570, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/anaconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2751, in load_entry_point
    return ep.load()
  File "/anaconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2405, in load
    return self.resolve()
  File "/anaconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2411, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/anaconda3/lib/python3.6/site-packages/scriptedforms-0.5.7-py3.6.egg/scriptedforms/__init__.py", line 27, in <module>
    from .scriptedforms import load, main
  File "/anaconda3/lib/python3.6/site-packages/scriptedforms-0.5.7-py3.6.egg/scriptedforms/scriptedforms.py", line 43, in <module>
    from notebook.notebookapp import NotebookApp
  File "/anaconda3/lib/python3.6/site-packages/notebook/notebookapp.py", line 38, in <module>
    from jinja2 import Environment, FileSystemLoader
  File "/anaconda3/lib/python3.6/site-packages/jinja2/__init__.py", line 81, in <module>
    _patch_async()
  File "/anaconda3/lib/python3.6/site-packages/jinja2/__init__.py", line 77, in _patch_async
    from jinja2.asyncsupport import patch_all
  File "/anaconda3/lib/python3.6/site-packages/jinja2/asyncsupport.py", line 13, in <module>
    import asyncio
  File "/anaconda3/lib/python3.6/asyncio/__init__.py", line 21, in <module>
    from .base_events import *
  File "/anaconda3/lib/python3.6/asyncio/base_events.py", line 17, in <module>
    import concurrent.futures
  File "/anaconda3/lib/python3.6/site-packages/concurrent/futures/__init__.py", line 8, in <module>
    from concurrent.futures._base import (FIRST_COMPLETED,
  File "/anaconda3/lib/python3.6/site-packages/concurrent/futures/_base.py", line 381
    raise exception_type, self._exception, self._traceback
                        ^
SyntaxError: invalid syntax

Hehe, let me make a requirements.txt so you can make an exact copy of my environment. I'll leave the requirements.txt around as it seems to help with issues like these. Give me an hour or so until after I get the kids to bed :)

I think the key is I didn't install any packages, I uses the standard lib websocket...

Fixed in https://github.com/SimonBiggs/scriptedforms/commit/cd02ad9a413db8ba2fdaa948ba6bac49f2591323
Can you re-download, then re-run pip install -e . and let me know if it is fixed.

Now getting:
Robins-MacBook-Air:scriptedforms robincole$ scriptedforms quick-start.md --token boo
Traceback (most recent call last):
  File "/anaconda3/bin/scriptedforms", line 11, in <module>
    load_entry_point('scriptedforms==0.5.7', 'console_scripts', 'scriptedforms')()
  File "/anaconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 570, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/anaconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2751, in load_entry_point
    return ep.load()
  File "/anaconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2405, in load
    return self.resolve()
  File "/anaconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2411, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/anaconda3/lib/python3.6/site-packages/scriptedforms-0.5.7-py3.6.egg/scriptedforms/__init__.py", line 27, in <module>
    from .scriptedforms import load, main
  File "/anaconda3/lib/python3.6/site-packages/scriptedforms-0.5.7-py3.6.egg/scriptedforms/scriptedforms.py", line 43, in <module>
    from notebook.notebookapp import NotebookApp
  File "/anaconda3/lib/python3.6/site-packages/notebook/notebookapp.py", line 38, in <module>
    from jinja2 import Environment, FileSystemLoader
  File "/anaconda3/lib/python3.6/site-packages/jinja2/__init__.py", line 81, in <module>
    _patch_async()
  File "/anaconda3/lib/python3.6/site-packages/jinja2/__init__.py", line 77, in _patch_async
    from jinja2.asyncsupport import patch_all
  File "/anaconda3/lib/python3.6/site-packages/jinja2/asyncsupport.py", line 13, in <module>
    import asyncio
  File "/anaconda3/lib/python3.6/asyncio/__init__.py", line 21, in <module>
    from .base_events import *
  File "/anaconda3/lib/python3.6/asyncio/base_events.py", line 17, in <module>
    import concurrent.futures
  File "/anaconda3/lib/python3.6/site-packages/concurrent/futures/__init__.py", line 8, in <module>
    from concurrent.futures._base import (FIRST_COMPLETED,
  File "/anaconda3/lib/python3.6/site-packages/concurrent/futures/_base.py", line 381
    raise exception_type, self._exception, self._traceback
                        ^
SyntaxError: invalid syntax

Most recent commit adds the requirements.txt file:
https://github.com/SimonBiggs/scriptedforms/commit/d1538f1aec2d61f3c53ef0e3f9d556293a57758d
Can you let me know if installing with that makes a difference? If it does would you be able to work out what dependency is causing the issue so that I can force it within setup.py

Same error I believe - perhaps jijna is the cause?
Robins-MacBook-Air:scriptedforms robincole$ scriptedforms quick-start.md --token boo
Traceback (most recent call last):
  File "/anaconda3/bin/scriptedforms", line 11, in <module>
    load_entry_point('scriptedforms==0.5.7', 'console_scripts', 'scriptedforms')()
  File "/anaconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 570, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/anaconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2751, in load_entry_point
    return ep.load()
  File "/anaconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2405, in load
    return self.resolve()
  File "/anaconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2411, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/anaconda3/lib/python3.6/site-packages/scriptedforms-0.5.7-py3.6.egg/scriptedforms/__init__.py", line 27, in <module>
    from .scriptedforms import load, main
  File "/anaconda3/lib/python3.6/site-packages/scriptedforms-0.5.7-py3.6.egg/scriptedforms/scriptedforms.py", line 43, in <module>
    from notebook.notebookapp import NotebookApp
  File "/anaconda3/lib/python3.6/site-packages/notebook/notebookapp.py", line 38, in <module>
    from jinja2 import Environment, FileSystemLoader
  File "/anaconda3/lib/python3.6/site-packages/jinja2/__init__.py", line 81, in <module>
    _patch_async()
  File "/anaconda3/lib/python3.6/site-packages/jinja2/__init__.py", line 77, in _patch_async
    from jinja2.asyncsupport import patch_all
  File "/anaconda3/lib/python3.6/site-packages/jinja2/asyncsupport.py", line 13, in <module>
    import asyncio
  File "/anaconda3/lib/python3.6/asyncio/__init__.py", line 21, in <module>
    from .base_events import *
  File "/anaconda3/lib/python3.6/asyncio/base_events.py", line 17, in <module>
    import concurrent.futures
  File "/anaconda3/lib/python3.6/site-packages/concurrent/futures/__init__.py", line 8, in <module>
    from concurrent.futures._base import (FIRST_COMPLETED,
  File "/anaconda3/lib/python3.6/site-packages/concurrent/futures/_base.py", line 381
    raise exception_type, self._exception, self._traceback
                        ^
SyntaxError: invalid syntax

The weird thing is I'm not personally using Jinja...
On Sun., 25 Feb. 2018, 8:23 pm Robin<EMAIL_ADDRESS>wrote:

Same error I believe - perhaps jijna is the cause?
Robins-MacBook-Air:scriptedforms robincole$ scriptedforms quick-start.md --token boo
Traceback (most recent call last):
File "/anaconda3/bin/scriptedforms", line 11, in
load_entry_point('scriptedforms==0.5.7', 'console_scripts', 'scriptedforms')()
File "/anaconda3/lib/python3.6/site-packages/pkg_resources/init.py", line 570, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/anaconda3/lib/python3.6/site-packages/pkg_resources/init.py", line 2751, in load_entry_point
return ep.load()
File "/anaconda3/lib/python3.6/site-packages/pkg_resources/init.py", line 2405, in load
return self.resolve()
File "/anaconda3/lib/python3.6/site-packages/pkg_resources/init.py", line 2411, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/anaconda3/lib/python3.6/site-packages/scriptedforms-0.5.7-py3.6.egg/scriptedforms/__
init__.py", line 27, in
from .scriptedforms import load, main
File "/anaconda3/lib/python3.6/site-packages/scriptedforms-0.5.7-py3.6.egg/scriptedforms/scriptedforms.py", line 43, in
from notebook.notebookapp import NotebookApp
File "/anaconda3/lib/python3.6/site-packages/notebook/notebookapp.py", line 38, in
from jinja2 import Environment, FileSystemLoader
File "/anaconda3/lib/python3.6/site-packages/jinja2/init.py", line 81, in
_patch_async()
File "/anaconda3/lib/python3.6/site-packages/jinja2/init.py", line 77, in _patch_async
from jinja2.asyncsupport import patch_all
File "/anaconda3/lib/python3.6/site-packages/jinja2/asyncsupport.py", line 13, in
import asyncio
File "/anaconda3/lib/python3.6/asyncio/init.py", line 21, in
from .base_events import *
File "/anaconda3/lib/python3.6/asyncio/base_events.py", line 17, in
import concurrent.futures
File "/anaconda3/lib/python3.6/site-packages/concurrent/futures/init.py", line 8, in
from concurrent.futures._base import (FIRST_COMPLETED,
File "/anaconda3/lib/python3.6/site-packages/concurrent/futures/_base.py", line 381
raise exception_type, self._exception, self._traceback
^
SyntaxError: invalid syntax
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/SimonBiggs/scriptedforms/issues/79#issuecomment-368295069,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGQVe7AMVtH7cKNDjW8TxRqGP6dqRCIMks5tYSZ3gaJpZM4SSNZP
.

Could you try a Python 3.5 conda environment. See if that does the trick?
On Sun., 25 Feb. 2018, 8:43 pm Simon Biggs<EMAIL_ADDRESS>wrote:

The weird thing is I'm not personally using Jinja...
On Sun., 25 Feb. 2018, 8:23 pm Robin<EMAIL_ADDRESS>wrote:

Same error I believe - perhaps jijna is the cause?
Robins-MacBook-Air:scriptedforms robincole$ scriptedforms quick-start.md --token boo
Traceback (most recent call last):
File "/anaconda3/bin/scriptedforms", line 11, in
load_entry_point('scriptedforms==0.5.7', 'console_scripts', 'scriptedforms')()
File "/anaconda3/lib/python3.6/site-packages/pkg_resources/init.py", line 570, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/anaconda3/lib/python3.6/site-packages/pkg_resources/init.py", line 2751, in load_entry_point
return ep.load()
File "/anaconda3/lib/python3.6/site-packages/pkg_resources/init.py", line 2405, in load
return self.resolve()
File "/anaconda3/lib/python3.6/site-packages/pkg_resources/init.py", line 2411, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/anaconda3/lib/python3.6/site-packages/scriptedforms-0.5.7-py3.6.egg/scriptedforms/__
init__.py", line 27, in
from .scriptedforms import load, main
File "/anaconda3/lib/python3.6/site-packages/scriptedforms-0.5.7-py3.6.egg/scriptedforms/scriptedforms.py", line 43, in
from notebook.notebookapp import NotebookApp
File "/anaconda3/lib/python3.6/site-packages/notebook/notebookapp.py", line 38, in
from jinja2 import Environment, FileSystemLoader
File "/anaconda3/lib/python3.6/site-packages/jinja2/init.py", line 81, in
_patch_async()
File "/anaconda3/lib/python3.6/site-packages/jinja2/init.py", line 77, in _patch_async
from jinja2.asyncsupport import patch_all
File "/anaconda3/lib/python3.6/site-packages/jinja2/asyncsupport.py", line 13, in
import asyncio
File "/anaconda3/lib/python3.6/asyncio/init.py", line 21, in
from .base_events import *
File "/anaconda3/lib/python3.6/asyncio/base_events.py", line 17, in
import concurrent.futures
File "/anaconda3/lib/python3.6/site-packages/concurrent/futures/init.py", line 8, in
from concurrent.futures._base import (FIRST_COMPLETED,
File "/anaconda3/lib/python3.6/site-packages/concurrent/futures/_base.py", line 381
raise exception_type, self._exception, self._traceback
^
SyntaxError: invalid syntax
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/SimonBiggs/scriptedforms/issues/79#issuecomment-368295069,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGQVe7AMVtH7cKNDjW8TxRqGP6dqRCIMks5tYSZ3gaJpZM4SSNZP
.

Given the error type around async stuff I just did a stab in the dark change, there was something I had in there that didn't need to be in there. Could you try the most recent commit:
https://github.com/SimonBiggs/scriptedforms/commit/9a7de3b27ae1c65d689c48302f094a76f5e9e935
Let me know if you have any luck.
Also, try run pip install -e . --upgrade
and see if that fixes it...

OK doing this properly and creating a venv now

For that, you just need to follow the development install instruction:
https://github.com/SimonBiggs/scriptedforms#installing-scriptedforms-from-the-github-source

OK up an running, will try the API


cropArea like a aperture

https://github.com/wulkano/aperture-node#croparea

This an example of crop with ffmpeg command
ffmpeg -y -video_size 1920x1080 -r 30 -f x11grab -i :1 -pix_fmt yuv420p -vf crop=960:540:240:450 /tmp/test.mp4
https://video.stackexchange.com/questions/22000/how-can-i-crop-part-of-a-video-while-recording-from-desktop-in-real-time-using-f

Thanks for the suggestion @ripper2hl.
I've added the new videoFilter option and released version 3.12.0.
You can use the crop filter the following way:
const recording = recordScreen(videoFile, {
  resolution: '1440x900',
  // See https://ffmpeg.org/ffmpeg-filters.html#crop
  videoFilter: 'crop=480:300:960:600'
})

okay thanks , wtfq ? , really fast xD
this is my code for this feature but you went ahead of me.
  if (options.cropArea){
    args.push('-vf', `crop=${options.cropArea.width}:${options.cropArea.height}:${options.cropArea.x}:${options.cropArea.y}`)
  }


Make prepublish script work on GNU

Fixes #1717

Very nice. I just ran this on OS X and can confirm that it works.
🌳

Yes, it also runs on my Ubuntu 14.04, but that's not a surprise.


Is "application.name" in application.conf necessary?

The application.conf file contains the following line:
application.name=computer-database

This variable is never referenced anyplace and I am not sure of its function. Could it be documented inside application.conf or else removed to avoid confusion?

Sample configuration: https://github.com/playframework/playframework/blob/master/framework/src/play/src/main/resources/reference.conf
I cannot see application.name,  I have never used it nor seen it before.


Replace Metaswitch copyright statements with Tigera.

According to the lawyers, we need to update the existing copyrights too.

@tomdee Not sure how I can have caused the circle CI failure.  Is that a known intermittent one?

@fasaxc I believe that's just an issue caused by a change upstream in libcalico. We've made a downstream fix in this repo to resolve it. A quick rebase off later master should pass. I know the docs are unrelated, so I don't mind merging, but it should also be pretty quick to get this passing

Rebased...


Error: "Expected object, received string" on all uses

Hi! Thanks for making this, unfortunately I was not able to get it working. I tested on a large production Airtable base as well as a new Airtable with only a couple cells filled with text but kept getting the same error:
Fetching Airtable metadata
    ZodError: [
      {
        "code": "invalid_type",
        "expected": "object",
        "received": "string",
        "path": [],
        "message": "Expected object, received string"
      }
    ]

Steps to reproduce:

Install with yarn add -D airtable-typegen
Add AIRTABLE_TYPEGEN_ACCESS_TOKEN with read permission to .env
Run airtable-typegen <BASE ID> on a minimal Airtable base

System info:
System Software Overview:

  System Version: macOS 13.5 (22G74)
  Kernel Version: Darwin 22.6.0
  Boot Volume: Macintosh HD
  Boot Mode: Normal
  Secure Virtual Memory: Enabled
  System Integrity Protection: Enabled
  Time since boot: 14 days, 2 hours, 1 minute

Hardware Overview:

  Model Name: MacBook Pro
  Model Identifier: Mac14,10
  Model Number: Z174000EBLL/A
  Chip: Apple M2 Pro
  Total Number of Cores: 12 (8 performance and 4 efficiency)
  Memory: 32 GB
  System Firmware Version: 8422.141.2
  OS Loader Version: 8422.141.2

Did you make sure you gave access to the base when creating a token and setting its scope?
Last section here:

Yes I did. Tried in a couple bases with a token with that scope added. One of the bases I used a token I regularly use with read access so I know it works.


ci: add plotly to downstream tests

What type of PR is this? (check all applicable)

[ ] 💾 Refactor
[ ] ✨ Feature
[ ] 🐛 Bug Fix
[ ] 🔧 Optimization
[ ] 📝 Documentation
[ ] ✅ Test
[x] 🐳 Other

If you have comments or can explain your changes, please do so below.
Since yesterday the PR to narwhalify plotly express got merged, we should start to include (some) plotly tests in our ci as promised!
Opening this as draft because it was not fully decided which tests should be run.
@emilykl this is along the lines of how we would test that each commit does not end up breaking plotly via its unit tests
Associated plotly issue: https://github.com/plotly/plotly.py/issues/4864

@FBruzzesi shall we ship this?

Sure let's merge this as is for now and adjust later if plotly comes back with another plan for test suite we should care about 👌


scExpression landing page changes

We'd like to increase the percent of people who click Add Tissue or Add Gene and get to a fully loaded dot plot. This ticket captures the work to update the landing page for scExpression.
Full design here.
Work includes:

[ ] Removing right side bar, moving legends to the main visualization and methodology to help and documentation. Also add links to methodology in legend hover overs.
[ ] Add skeletons for genes, tissues, and main plot
[ ] Updated styling for Add Tissues and Add Genes Buttons

FYI @hthomas-czi created this ticket and linked the design. If there are any design changes please update the link. Thanks!

Thanks so much, @signechambers1 and @hthomas-czi !
@hthomas-czi we also need to add source data to right panel when the new "Source Data" button is clicked, right? And the Source Data panel will list out all selected tissues and their corresponding datasets in sections? If so, it'd probably be very helpful for Seve and Andrew to see what that will look like in Figma 🙏 Thank you!

@ashin-czi what is the status of this ticket?
@hthomas-czi i think you addressed @tihuan's comment above in the figma link but @ashin-czi let us know if you have any questions.

@signechambers1 Still working on this ticket, there is a PR out right now that removed the right sidebar: https://github.com/chanzuckerberg/single-cell-data-portal/pull/3220
Still working on the skeleton feature

thanks @ashin-czi ! Do you have an ETA? Download images is a higher priority but I'd like this to be in production by the end of the month if possible.

By end of the month is possible, I'm estimating either sometime next week or the week after I should be finished

great thanks!

Hi all
I'm so sorry this has been taking as long as it is, had some unexpected delays.
I am thinking this will get done at some point next week since there's still a bit to do, specifically the source data and methodology sidebar and moving the footer links to the help and docs dropdown.
Just wanted to let everyone know!
Here's how it looks currently though:

fyi @hthomas-czi to review, @ashin-czi it looks great to me from the screenshot! what is your plan for merging in?

@signechambers1 I'm trying to figure out how to deploy to rdev right now, but I recorded a video of the functionality in my local instance
https://user-images.githubusercontent.com/109984998/192336213-44dddb59-457d-437a-af9e-4ba95ab09812.mov
Hope this helps!

thanks @ashin-czi will review! fyi @hthomas-czi and @ainfeld

@ashin-czi it looks really good. 2 questions:


UI-8070 - Differentiate saved filters/widgets from filters/widgets within a dashboard

Some renaming to avoid any ambiguity.

Looks good ! What do you think about changing the names in the MigrationFunction type ?
https://github.com/activeviam/activeui-migration/blob/63d5bf8462bffeb0eb835f8560f43db196c36ed9/src/migration.types.ts#L159-L163

@RaspberryChaos actually I already did it. Did you have another place in mind ?

@RaspberryChaos actually I already did it. Did you have another place in mind ?

Sorry, my mistake. I missed that 😬


I confuse about some code in MessageQueue._genMethod

Hi, I am studying the source code. When called NativeModules with callback params,  the first is success and the second is fail, but  the function  _genMethod handle with those params reversedly, and __nativeCall did it too. There is none problem when we called because reversed twice, but it is so strange!
_genMethod
let lastArg = args.length > 0 ? args[args.length - 1] : null;
let secondLastArg = args.length > 1 ? args[args.length - 2] : null;
let hasSuccCB = typeof lastArg === 'function';
 let hasErrorCB = typeof secondLastArg === 'function';

lastArg  we set logError, and secondLastArg is the callback function, such as:
RCTAppState.getCurrentAppState(
  (appStateData) => {
    AppState.currentState = appStateData.app_state;
  },
  logError
);

@facebook-github-bot stack-overflow

Hey @MegatronKing and thanks for posting this! @damusnet tells me this issue looks like a question that would be best asked on StackOverflow. StackOverflow is amazing for Q&A: it has a reputation system, voting, the ability to mark a question as answered. Because of the reputation system it is likely the community will see and answer your question there. This also helps us use the GitHub bug tracker for bugs only. Will close this as this is really a question that should be asked on SO.


[docs] Add steps for installing chart with image built from local branch

@jsanda, please resolve the conflicts

/ok-to-test


Fixed numbers not highlighting after space

Fix for numbers not being highlighted after spaces, as mentioned here.

:+1:


User Profile Showing Non-owned Projects

Issue in Prod, it seems the wrong query was being used. However will make a new one with pagination taking into account our memory issues.

I tested my project in giveth.io and only my one single test project showed up
how else can I test this issue?

This was mostly a bug, there was no filter per user. So any user was seeing every project on giveth.
It should only show now your own projects.

okay well then looks to be resolved on production!


Add setZoomOnPitch method to enable/disable zoom

Hi @oscarcpozas , if I were to implement this feature, I would also want:
(1) User is able to configure through xml, e.g. app:enableZoom="false" with a default value of true;
(2) We shall save and restore mZoomOnPitch in onSavedInstanceState and onRestoredInstanceState as well.
(3) I would prefer naming the variable mZoomEnabled.
The rest are good to go. Thank you!

I've added a new commit whit these changes.

Perfect. Thanks!


Fix - Bested async virtual fields

Description
Related issue: https://github.com/payloadcms/payload/issues/5505
Because of how async traversal is done, nested virtual async fields push their promises too late, which results in these promises being ignored.

[x] I have read and understand the CONTRIBUTING.md document in this repository.

Type of change

[x] Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] I have added tests that prove my fix is effective or that my feature works
[x] Existing test suite passes locally with my changes

Hey @yuriyyakym — thank you for the find and the PR!
Here are my thoughts. There really should be a few things done here to fix this fully.

Instead of pushing promises from nested fields to the root level array, parent promise could resolve only after its children's promises are resolved.

100%. Our beforeValidate and beforeChange hooks do exactly what you describe (a parent waits for its children promises to resolve) but up to now, afterRead uses all top-level promises as you've found. This is for performance, but clearly it's causing issues.
We could convert afterRead to function more similarly to beforeValidate / beforeChange, but that will take some work and we likely won't get to that for a bit yet. It will also come with a performance penalty, so that's not 100% ideal.
But luckily I think there is another simple solution here. Really, the problem stems from the fact that field promises and population promises are executed in parallel. The promises both run at similar times, but it's a race condition to see which promise (fieldPromise or populationPromise) finishes first. In your example, your populationPromise is finishing first before the fieldPromise, which is bad.
So we could fix that by instead of adding a promise directly to populationPromises, we instead push an anonymous function to the populationPromises array, and then once field promises are all resolved, then we loop the populationPromises, calling each anonymous function. This would actually start the population promises, and we could guarantee that all population promises are started and will finish after the field promises finish.
You could take a crack at updating this PR to reflect what I've said above, and I think that will fix the issue. We will happily merge. But another note is that for some reason, on our 3.0 alpha branch, we can't replicate this issue. I have no idea what part of 3.0 would have fixed this issue but regardless, we can't reproduce it after trying briefly.
What do you think? We can get back to this shortly in any case if you can't investigate the solution I've suggested above.


Can't move out of Vim, TmuxPaneCurrentCommand gives 'open terminal failed: not a terminal'

On tmux 2.5, running in Gnome-terminal (as well as Guake and tilix), copied the snippet into the tmux config (though I've changed the shortcut to Alt-Arrow keys). Moving from a standard tmux terminal into vim is fine, but moving out doesn't happen. On using :TmuxNavigateLeft (and right, up and down), nothing happens. Running :TmuxPaneCurrentCommand gives 'open terminal failed: not a terminal'.
Running on Arch Linux (up to date).

Entering Debug mode.  Type "cont" to continue.
cmd: TmuxPaneCurrentCommand
>
cmd: call s:TmuxPaneCurrentCommand()
>
function <SNR>32_TmuxPaneCurrentCommand
line 1: echo s:TmuxCommand("display-message -p '#{pane_current_command}'")
>
function <SNR>32_TmuxPaneCurrentCommand[1]..<SNR>32_TmuxCommand
line 1: let cmd = s:TmuxOrTmateExecutable() . ' -S ' . s:TmuxSocket() . ' ' . a:args
>
function <SNR>32_TmuxPaneCurrentCommand[1]..<SNR>32_TmuxCommand[1]..<SNR>32_TmuxOrTmateExecutable
line 1: return (match($TMUX, 'tmate') != -1 ? 'tmate' : 'tmux')
>
function <SNR>32_TmuxPaneCurrentCommand[1]..<SNR>32_TmuxCommand[1]..<SNR>32_TmuxOrTmateExecutable
line 1: End of function
>
function <SNR>32_TmuxPaneCurrentCommand[1]..<SNR>32_TmuxCommand[1]..<SNR>32_TmuxSocket
line 2: return split($TMUX, ',')[0]
>
function <SNR>32_TmuxPaneCurrentCommand[1]..<SNR>32_TmuxCommand[1]..<SNR>32_TmuxSocket
line 2: End of function
>
function <SNR>32_TmuxPaneCurrentCommand[1]..<SNR>32_TmuxCommand
line 2: return system(cmd)
>
function <SNR>32_TmuxPaneCurrentCommand[1]..<SNR>32_TmuxCommand
line 2: End of function
>
open terminal failed: not a terminal
function <SNR>32_TmuxPaneCurrentCommand
line 1: End of function

and
ps -o state= -o comm= -t '$TMUX_PANE'
error:TTY could not be found

The TmuxPaneCurrentCommand debug helper is unfortunately out of date, but could you try the following and share the output:
# run this in the tmux command prompt, which you can start with `prefix-:`
run-shell "tmux display-message -p '#{pane_tty}' | xargs ps -o state= -o comm= -t"

The pane should temporarily be taken over by the process tree listing. If possible, can you try while the current pane is running vim, as well as with the current pane as a shell session?

My apologies, just realized I forgot to mention I'm using neovim and not vim.
In neovim, running the command gives me:
S fish
S nvim

In just a shell, it gives me only S fish.

Hmm, that looks fine to me. The pattern match has logic to support nvim in place of vim as the process name, so no worries there.
Just to make sure we've checked the more obvious bits first, you've configured both tmux and the vim side of the keybindings to support your use of the alt keys, correct?

Yeah, I have - but the problem isn't the key bindings, when I enter :TmuxNavigateLeft (or the other navigate-somethings) into neovim, nothing happens.

Thanks for clarifying that. Always good to double check the basics.
When you say

when I enter :TmuxNavigateLeft (or the other navigate-somethings) into neovim, nothing happens.

Can you clarify a bit? Specifically, are you able to navigate within Vim, but not put to tmux, or do the TmuxNavigate* commands do nothing regardless of which Vim pane is active?

:TmuxNavigate* works just fine within Vim splits, both up/down and left/right - just moving to other Tmux panes that doesn't work.
Also it seems Alt-Arrow keybinds aren't working, but that's likely because I've messed around A LOT with my terminal/tmux/vim settings so I should be able to fix that on my own later.

Interesting. Based on what you're describing, it sounds like the issues is when the Vim plugin calls back out to tmux to try to navigate.
Reading back through your comments, this might be due to the $TMUX-PANE variable not being set in your shell. Can you check on this by running :echo $TMUX_PANE in vim, and echo $TMUX_PANE in a a shell? You should see something like: %28.
You can also try running the navigate command directly by running the following in vim. :echo system("tmux select-pane -t $TMUX_PANE -R"). You should see no output (if you do, please share), but the tmux pane should change.

echo $TMUX_PANE gives %4 or another number depending on what terminal window or tmux pane. :echo $TMUX_PANE gives the same thing in a vim panel (also the same number as when I do it in the shell of the same pane).
:echo system("tmux select-pane -t $TMUX_PANE -R") inside vim gives me ```open terminal failed: not a terminal ``.

Hi @jackel119, it sounds like the open terminal failed: not a terminal error is the source of the problem. Keybindings and the $TMUX_PANE env var all seem to be working fine, so I don't think there is any issue with the plugin / configuration, unfortunately.
I did a quick google of open terminal failed: not a terminal and there are a handful of results, but I wasn't able to figure anything out from them from my side. Unfortunately I think you'll have to sort that out (I'd recommend looking into your terminal as well as shell, and how terminal + tmux + shell + vim are all interacting) and I can't offer too much more help.
I'm going to close this now as I believe the issue is outside the scope of this plugin, but please feel free to comment or re-open if you think I missed anything. Also, please do share if you're able to resolve this, in the event that others run into this in the future.

Was just tinkering around with some other plugins and came to this conclusion myself - my apologies, I should have tested around this a bit more before posting a bug report. Thanks for your time.

Hi @christoomey
Another plugin that kind of broke during my move to neovim was Syntastic - the helptags and everything worked but there was no syntax checking, after some further testing I found the common problem:
It turns out that running :echo system() within neovim through the fish shell doesn't work - I'm a little bit surprised as of why that is, considering that Syntastic worked just fine on normal Vim (on fish as well). Not sure if that's because neovim is lagging behind Vim in this aspect or something behind the scenes broke when I was tinkering around.
Anyways, the fix is merely telling Vim/Neovim to use a bash shell by adding this line to .vimrc:
set shell=/bin/bash


Try to use ujson instead of json

I found the low proformance of library json.
There are about 1441440 data in my single series.
When I try to query select host,last(value) from node_cpu group by host, I found it is ultra slow to parse the json body in the response. It takes me about 30s to solve the query.
When I modified the source code, using library ujson instead of json， I found it is ultra fast to parse the http response.
Here is the patchfile
use_ujson_instead_of_json.txt

I'm not sure that is a good idea, whether uJSON or JSON performs better is really dependent on what Python run-time you are using and the size of the payloads.   If I'm using cPython then uJSON will be a good choice, however if I'm using pypy then the JIT will cause JSON to exceed the performance of uJSON.
I'd like to see the library configurable at runtime, let us chose between uJSON and JSON depending on our use-case and chosen run-time.

That' a good idea. I agree with that.


Request: Select slot for Tesco

Howdi,
I'm sure I saw an issue way back, but did you ever get round to implementing slot reservation for Tesco home delivery ?

i'm not sure how complex tesco home delivery is; but for collection at least you have to add an item to basket and checkout which involves entering card pin number & authenticating the card transaction using verifided by visa etc.
is there a way around all that and just booking a slot at all?

For home delivery you can book a slot for, I think, two hours before you have to put something in the trolley and pay for it. The ability to reserve a slot would be cool because it would save a lot of panicked scrabbling on being woken by Pushover at 6 am.
My wife makes me wash all our shopping before putting it away. If the bot could do this it would be a bonus.

ok i will try that next time i checkout, and attempt to save the html, but only once a slot appears ;-)
only on click and collect here though

yeah click and collect is the same - you can 'reserve' the slot immediately without any need to put items in basket or checkout, but you must checkout within 2 hours of that to retain it

Yes, thats the feature I thought would be possible to do. I've seen it done in python code of similar functions to this, it's really just issuing a click to the box where the time is, which I think we alreadyk now as we report the delivery slot times.


fix(dtfs2-none): update use of promises inside map and for each

Introduction :pencil2:
Some legacy code is not awaiting promises inside forEach and map
Resolution :heavy_check_mark:
Updated these to work correctly
Miscellaneous :heavy_plus_sign:
Refactored a few functions to reduce complexity

closed as raised with ticket number


Developing a Payment Control Plugin guide

PaymentControlPluginApi overview
Overview of some of the use-cases:
Payment routing
Payments pre-processing
Invocation and pipelining using JAX-RS and the clients

Section developer

See http://docs.killbill.io/0.20/payment_control_plugin.html.


Add interface names into NSM metrics

Issue
https://github.com/networkservicemesh/sdk-vpp/issues/768
Original PR
https://github.com/networkservicemesh/sdk-vpp/pull/771

LGTM


Running mix test does not work on the first run (needs to compile twice)

[Modify the `mix.exs` file]

$ mix test
Compiling NIF crate :rustler_test (native/rustler_test)...
    Finished dev [unoptimized + debuginfo] target(s) in 0.0 secs
Compiling 221 files (.ex)

13:15:37.820 [warn]  The on_load function for module Elixir.RustlerTest returned:
{:error, {:upgrade, 'Upgrade not supported by this NIF library.'}}

[Tests fail]

[Then, running again works]

$ mix test

[Tests succeed]

To make it work in travis CI I had to compile before running the tests:
 - MIX_ENV=test mix compile
 - mix test || travis_terminate 1

Same issue happens when trying to open the console with: iex -S mix
Rustler compiler is in the recommended order:
compilers: [:rustler, :phoenix, :gettext] ++ Mix.compilers,

@scrogson I'm in the same boat, tried the .keep hack and it still fails. Any suggestions? Can I give you some additional info?

Just noticed that I said priv/.keep but it most likely should have been priv/native/.gitkeep. I am not running into this issue on either Linux or MacOS with this in place.

Hmmm...nope...I guess I was correct the first time: https://github.com/hansihe/rustler/tree/master/rustler_tests/priv
@scohen can you share versions? OS and Rustler?

@scrogson I sure can. I'm running:
OS: OSX mojave and Ubuntu 18.10. Elixir
Rustler: 0.18.0
Elixir: 1.7.4
Erlang: 21.1
The easiest test case I came up with is:
code - master! ❯ touch mix.exs
code - master! ❯ mix compile
Compiling NIF crate :column_store (native/column_store)...
    Finished dev [unoptimized + debuginfo] target(s) in 0.02s
Compiling 47 files (.ex)

20:34:12.608 [warn]  The on_load function for module Elixir.ColumnStore.FrozenColumn returned:
{:error, {:upgrade, 'Upgrade not supported by this NIF library.'}}

== Compilation error in file lib/column_store/column.ex ==
** (CompileError) lib/column_store/column.ex:4: module ColumnStore.FrozenColumn is not loaded and could not be found
    (stdlib) erl_eval.erl:680: :erl_eval.do_apply/6
    (elixir) lib/kernel/parallel_compiler.ex:206: anonymous fn/4 in Kernel.ParallelCompiler.spawn_workers/6

To be clear, I've put .keep and .gitkeep in
<PROJECT_ROOT>/priv/.gitkeep

Been looking at this off and on for that last few days as well. Another way to trigger the bug, this fails with "upgrade not supported" every other time you run it:
touch mix.exs && mix compile

Seems like what's happening is if the .beam file for our NIF-backed Elixir module exists under _build, it gets loaded at startup and calls its @on_load, which calls :erlang.load_nif. Then Elixir recompiles the module and calls :code.load to bring in the new version, which triggers @on_load again, and this time :erlang.load_nif wants to do an upgrade rather than a load. I can work around the problem by patching this into the init generated by Rustler:
if __MODULE__ in :erlang.loaded() do
  :ok
else
  :erlang.load_nif(so_path, load_data)
end

@pguillory I think you're on the right track. I wonder if it would be potentially better to have the rustler compile task purge the module before, so that it will be recompiled after the new shared object is available?

Yeah, that could work.
FYI the code I pasted above was not a good fix. (Got test failures with Erlang error: :nif_not_loaded error. The second load_nif call was failing with the upgrade error. So the NIF was loaded but it wasn't connected to the reloaded version of the module.)

@scrogson can you repro, or should we submit a patch?

@scohen yes, I have been able to reproduce with the same steps you all have provided. I haven't yet been able to find a legit fix. If you have something, feel free to PR. :+1:


Deployment on Azure cloud?

Please provide ability to deploy on Azure.
Here are some links for your reference:

http://blogs.msdn.com/b/holgerkenn/archive/2014/03/20/azure-from-the-linux-command-line-part-1.aspx
http://blogs.msdn.com/b/holgerkenn/archive/2014/04/15/azure-from-the-linux-command-line-part-2.aspx
https://github.com/Azure/azure-xplat-cli
https://github.com/Azure/azure-cli-docker
https://github.com/Azure/azure-docker-extension
https://github.com/Azure/azure-linux-automation
https://github.com/Azure/azure-linux-extensions
https://github.com/Azure/WALinuxAgent

On a bright side, it will provide additional opportunities for service consumers IMO.

@jasonwilliams200OK all deployment functionality (as well as notifications, reporting, etc) is being moved to external plugins that sit outside this project. The expectation is, for the most part, that these plugins are community contributed since the core Drone team (which is just me) can focus on making the core Drone server excellent.
If you have an immediate need for an Azure plugin I encourage you to read about our plugin model and contribute. Otherwise perhaps someone else in the community will see this issue and will contribute.
Documentation for creating plugins:
http://readme.drone.io/docs/plugin/

thanks to @tboerger we now have a plugin for this. See http://readme.drone.io/plugins/azure_web_apps/


Properly implement StdErr redirection

Redirection of the standard error stream using ProcessSettings.RedirectStandardError currently doesn't work since redirection is not enabled at all.

Hi @pascalberger, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

@pascalberger Can you rebase your branch against develop and I'll merge asap.

@patriksvensson Done

Relates to #1379

@pascalberger thanks for fixing this! 👍


CLI merge fails on fresh index

Maybe this is just a usage error since I'm new to tantivy but I created a fresh index, added some data and then attempted to merge all the segments and received an error.
$ tantivy --help | head -1
Tantivy 0.15.0
$ tantivy new --index new
$ cat input.json | tantivy index --index ./new/
$ tantivy merge --index ./new
Merge failed : SystemError("Merge failed:oneshot canceled")

The ingest created 4 segments.
{
  "index_settings": {
    "docstore_compression": "lz4"
  },
  "segments": [
    {
      "segment_id": "52078824-8755-477f-95c7-4713bb380f36",
      "max_doc": 35682,
      "deletes": null
    },
    {
      "segment_id": "4374a9ec-8123-4678-a687-e97aa2d6b0bd",
      "max_doc": 33667,
      "deletes": null
    },
    {
      "segment_id": "9405027a-8458-447b-90d7-755fa9484789",
      "max_doc": 30651,
      "deletes": null
    },
    {
      "segment_id": "ebce0f85-f706-4914-b474-22033fdd15cc",
      "max_doc": 1,
      "deletes": null
    }
  ],
  "schema": [
    {
      "name": "station_id",
      "type": "text",
      "options": {
        "indexing": {
          "record": "basic",
          "tokenizer": "raw"
        },
        "stored": true
      }
    },
    {
      "name": "name",
      "type": "text",
      "options": {
        "indexing": {
          "record": "freq",
          "tokenizer": "en_stem"
        },
        "stored": true
      }
    },
    {
      "name": "temperature_c",
      "type": "f64",
      "options": {
        "indexed": true,
        "fast": "single",
        "stored": true
      }
    }
  ],
  "opstamp": 100005
}

I found that single doc segment to look suspect so I reduced the input size by 1 record and the merge succeeded. So with 100,000 input docs merge failed, succeeded with 99,999.

Sorry, missed the questions here.
I was able to repeatedly reproduce this with tantivy 0.15.0 but I've since tried tantivy built from source and have not been able to reproduce it. Newer versions don't create the single doc segment and I haven't seen any further merge failures.
As you suggested I also tried just adding a single document to an existing index and then merging and that does not appear to be a problem either.
It seems whatever the issue was it has likely been fixed somewhere along the way. I'm going close this, if I find a scenario where it occurs again I'll reopen and add more detail.


ADS: Framework related colors 2

Task/Issue URL:
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

Current dependencies on/for this PR:

feature/david/ads_release

PR #2574   👈

This comment was auto-generated by Graphite.


Opening Mat-dialog on iOS Safari causes the hidden browser 'chrome' to reappear

Bug, feature request, or proposal:
Opening a mat-dialog on iOS Safari when the browser chrome has 'auto-hidden' causes the URL bar and bottom bars to reappear which has a very jarring feel.
What is the expected behavior?
The dialog should open but the browser chrome should not change unless you scroll back up the page.
What is the current behavior?

Browser nav bar appears
Browser bottom toolbar appears
Area available to the dialog is reduced unnecesarily
Bad and jarring user experience
The opening dialog animation competes with the browser resizing the viewport.
If you initiated the dialog by clicking on a button then that button jumps down the screen because it is pushed by the browser's top navbar.

What are the steps to reproduce?
No stackblitz provided. It's a pretty simple concept to understand.
The change occurs in Safari due to the combination of css properties applied.
What is the use-case or motivation for changing an existing behavior?
Bad user experience
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Material latest. iOS Safari. Android Chrome browser is not affected.
Is there anything else we should know?
This only occurs if the browser chrome has been hidden after scrolling down the page. If you initiate the dialog when the browser chrome hasn't auto-hidden then behavior is fine.

Looks like this can be solved by disabling the scroll strategy (which prevents the 'offending' class being added to html).
// Get reference to Overlay in the component/service that triggers the dialog
constructor(private overlay: Overlay ....)

// when you open the dialog
dialog.open(MyComponent, { ...,
                                                scrollStrategy: this.overlay.scrollStrategies.noop()
                                              });

As far as I can tell, this happens because the page detects that it has been "scrolled to the top" once we block scrolling. I don't think we can do much about it while keeping scroll blocking turned on, because it is controlled at the OS level. As mentioned above, it can be worked around by disabling scroll blocking.


Hi there,
I thought that explicit was a keyword and I didn't know hot to create a second symlink. Maybe it will be nice to replace this explicit by theNameYouWant or something like this (for people who are new to grunt structure).
Best,
Thanks for the lib btw!

Feel free to edit the docs and submit a PR here: https://github.com/gruntjs/grunt-contrib-symlink/blob/master/docs/symlink-examples.md Thanks!


App doesn't show up in the menu

Trying to run it locally but the app doesn't show up in the menu
start electron app...

API server started on port 4000

Starting PHP server... /Users/saeed.vaziry/Fun/iptracker/vendor/nativephp/electron/resources/js/resources/php/php artisan serve /Users/saeed.vaziry/Fun/iptracker

Making sure app folders are available

Skipping Database migration while in development.

You may migrate manually by running: php artisan native:migrate

PHP Server started on port:  8100

Skip checkForUpdates because application is not packed and dev update config is not forced

checkForUpdatesAndNotify called, downloadPromise is null

Do you have a v6 ip address? If not it could be a result of #2 . A new release should be out shortly.

See if the latest release fixes it for you. https://github.com/modernben/iptracker/releases/

It was the ipv6 case

Awesome. Thanks for the contribution!


Added missing server platform checks to template dir and shared lib copy in mono_configure.py

The mono_configure.py was missing checks for the server platform. These checks prevented compiling mono enabled servers outright and/or did not copy over the required libs.

CC @neikeq

Thanks! :)

I was happy to help. Thank you all for this awesome engine!

Cherry-picked for 3.1.2 via #33692.


Forge script cant deploy due to prevrandao not set

Component
Forge
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
forge 0.2.0 (3ff3d0562 2024-10-01T08:39:18.585271000Z)
What command(s) is the bug in?
forge script script/deploy.s.sol --private-key   --broadcast --legacy --rpc-url https://rpc.testnet.5ire.network/
Operating System
macOS (Apple Silicon)
Describe the bug
My script :
forge script script/deploy.s.sol --private-key <my private key>  --broadcast --legacy --rpc-url https://rpc.testnet.5ire.network/

Network: 5ireChain testnet
My issue:
- Error #0: header validation error: `prevrandao` not set
- Error #1: `prevrandao` not set

My forge version is : forge 0.2.0 (3ff3d0562 2024-10-01T08:39:18.585271000Z)
Note:

5ireChain is using Frontier to integrate EVM-layer in Polkadot SDK
Current 5ireChain Client Version is not adding prevrandao number in block

Relevant Issue:
https://github.com/foundry-rs/foundry/issues/4232

@dung5ire you need to set london evm version either in foundry.toml evm_version = "london" or pass it to forge verify as --evm-version london, similar with https://github.com/foundry-rs/foundry/issues/9161
Closing this for now, thank you

Thanks so much @grandizzy


Allow headers to be supplied to the StreamProcessor

For example, allow Accept gzip encoding as an option.

done in #128. Note that gzip is set automatically, see StreamProcessorTest.java#L98-L98


Process multiple nodes with one watch function

Added send_path parameter for ChildrenWatch and DataWatch  which allows to process multiple nodes with one watch function as it will recieve node path parameter on call. See  #226

Looks good, but will need some tests first. I'd be happy to merge when those are added, you can open a new PR or re-open this one after rebasing. Thanks!


Question: Messages with Quoting still NotSupported

Hello!
On 28th October Telegram presented "Quote Formatting". As I can see,  1.8.20 still can't process messages with quotes - we get such messages as NotSupported.
Are there any plans or ideas to get a such messages accessible via TdLib?
Thanks

They are supported in TDLib 1.8.21, which will be publicly released soon. No ETA though.

Thanks, Aliaksei!

Thanks, Aliaksei!


hopeless.ml best name

so hopeless orz

Hi,
I can help you if you ask me a specific question.
Thank you.


HCL support incl. tests

implemented #65
HCL support for utron. Let me know if something is missing

Coverage decreased (-0.3%) to 65.815% when pulling 6a3b0cd8eec2a20082c0f969606cc0111f2b77e1 on patdhlk:hcl-support into fcd6fbbb96fddac3a8c1d8c868a8ec9bfc55883f on gernest:master.

@patdhlk cool. I just went through the changes, they look legit tome. Just one question before I merge this, did you test this on your local developmnt env? It seems okay, since the CI passed, but I don't have to check it locally now.

@gernest thanks for merging :)  i've run the tests on my local dev env and will do some deeper testing know

@patdhlk cool work. happy to hear you are using this.


Dynamic picker postion

Is there any option or way to change the picker position dynamically, say if current position is top and I am scrolling then automatically position get change to bottom and vise verse.

This would be really useful. I would like mine normally to be below but change to being above if not enough room below, like bootstrap popover does when you set it to auto.

Failing that, is there a way to update the picker position depending on how much space is available onscreen when/before the picker is launched?

Not yet I am afraid but you can implement it :)

+1

A workaround for me
            $('#SettingsForm .minute-picker').each(function( i ) {
                var position = (i > 10) ? 'top-right' : 'bottom-right';
                $(this).datetimepicker({
                    format: 'hh:ii',
                    autoclose: true,
                    startView: 'day',
                    language: 'zh-CN',
                    pickerPosition: position
                });
            });

You can implement it like this way