Failure to install on RPi 4B

When I try to install the plugin, this is what is displayed:
Installing plugin "OctoPrint Anywhere" from https://github.com/kennethjiang/OctoPrint-Anywhere/archive/master.zip...
/home/pi/oprint/bin/python2 -m pip --disable-pip-version-check install file:///tmp/tmpt7AkID/master.zip --no-cache-dir
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Processing /tmp/tmpt7AkID/master.zip
Requirement already satisfied: OctoPrint>=1.2.4 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-Anywhere==1.1.1) (1.5.3)
Requirement already satisfied: backoff>=1.4.3 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-Anywhere==1.1.1) (1.10.0)
Requirement already satisfied: raven in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-Anywhere==1.1.1) (6.10.0)
Collecting picamera==1.13
Downloading https://files.pythonhosted.org/packages/79/c4/80afe871d82ab1d5c9d8f0c0258228a8a0ed96db07a78ef17e7fba12fda8/picamera-1.13.tar.gz (143kB)
Requirement already satisfied: Flask-Babel<2,>=1.0 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (1.0.0)
Requirement already satisfied: watchdog==0.10.4 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (0.10.4)
Requirement already satisfied: OctoPrint-FileCheck>=2020.08.07 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (2020.8.7)
Requirement already satisfied: psutil<6,>=5.7 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (5.8.0)
Requirement already satisfied: emoji<1,>=0.5.4 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (0.5.4)
Requirement already satisfied: monotonic<2,>=1.5; python_version < "3" in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (1.5)
Requirement already satisfied: filetype<2,>=1.0.7 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (1.0.7)
Requirement already satisfied: PyYAML<6,>=5.3.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (5.4.1)
Requirement already satisfied: feedparser<6,>=5.2.1; python_version < "3" in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (5.2.1)
Requirement already satisfied: netifaces<1,>=0.10.9 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (0.10.9)
Requirement already satisfied: future<1,>=0.18.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (0.18.2)
Requirement already satisfied: enum34<1.2,>=1.1.10; python_version < "3" in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (1.1.10)
Requirement already satisfied: netaddr<1,>=0.7.19 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (0.7.19)
Requirement already satisfied: requests<3,>=2.23.0 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (2.25.1)
Requirement already satisfied: Click<8,>=7.1.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (7.1.2)
Requirement already satisfied: itsdangerous<2,>=1.1.0 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (1.1.0)
Requirement already satisfied: blinker<2,>=1.4 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (1.4)
Requirement already satisfied: Jinja2<3,>=2.11.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (2.11.2)
Requirement already satisfied: frozendict<2,>=1.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (1.2)
Requirement already satisfied: Flask-Login<0.6,>=0.5 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (0.5.0)
Requirement already satisfied: flask<2,>=1.1.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (1.1.2)
Requirement already satisfied: rsa==4.0 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (4.0)
Requirement already satisfied: semantic-version<3,>=2.8.5 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (2.8.5)
Requirement already satisfied: unidecode<0.05,>=0.04.14 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (0.4.21)
Requirement already satisfied: pkginfo<2,>=<IP_ADDRESS> in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (<IP_ADDRESS>)
Requirement already satisfied: futures<4,>=3.3; python_version < "3" in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (3.3.0)
Requirement already satisfied: websocket-client<1,>=0.57 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (0.57.0)
Requirement already satisfied: scandir<2,>=1.10; python_version < "3" in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (1.10.0)
Requirement already satisfied: tornado==5.1.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (5.1.1)
Requirement already satisfied: pyserial<4,>=3.4 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (3.4)
Requirement already satisfied: markupsafe<2.0,>=1.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (1.1.1)
Requirement already satisfied: markdown<3.2,>=3.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (3.1.1)
Requirement already satisfied: regex!=2018.11.6 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (2019.8.19)
Requirement already satisfied: chainmap<2,>=1.0.3; python_version < "3" in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (1.0.3)
Requirement already satisfied: typing<4,>=<IP_ADDRESS>; python_version < "3" in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (<IP_ADDRESS>)
Requirement already satisfied: sarge==0.1.5post0 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (0.1.5.post0)
Requirement already satisfied: OctoPrint-FirmwareCheck>=2020.09.23 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (2020.9.23)
Requirement already satisfied: sentry-sdk<1,>=0.15.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (0.19.5)
Requirement already satisfied: pylru<2,>=1.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (1.2.0)
Requirement already satisfied: werkzeug<2,>=1.0.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (1.0.1)
Requirement already satisfied: wrapt<2,>=1.12.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (1.12.1)
Requirement already satisfied: Flask-Assets<3,>=2.0 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (2.0)
Requirement already satisfied: cachelib<1,>=0.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (0.1)
Requirement already satisfied: contextlib2; python_version < "3.2" in /home/pi/oprint/lib/python2.7/site-packages (from raven->OctoPrint-Anywhere==1.1.1) (0.6.0.post1)
Requirement already satisfied: Babel>=2.3 in /home/pi/oprint/lib/python2.7/site-packages (from Flask-Babel<2,>=1.0->OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (2.7.0)
Requirement already satisfied: pytz in /home/pi/oprint/lib/python2.7/site-packages (from Flask-Babel<2,>=1.0->OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (2019.3)
Requirement already satisfied: pathtools>=0.1.1 in /home/pi/oprint/lib/python2.7/site-packages (from watchdog==0.10.4->OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (0.1.2)
Requirement already satisfied: idna<3,>=2.5 in /home/pi/oprint/lib/python2.7/site-packages (from requests<3,>=2.23.0->OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (2.8)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/pi/oprint/lib/python2.7/site-packages (from requests<3,>=2.23.0->OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (1.25.6)
Requirement already satisfied: certifi>=2017.4.17 in /home/pi/oprint/lib/python2.7/site-packages (from requests<3,>=2.23.0->OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (2019.9.11)
Requirement already satisfied: chardet<5,>=3.0.2 in /home/pi/oprint/lib/python2.7/site-packages (from requests<3,>=2.23.0->OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (3.0.4)
Requirement already satisfied: pyasn1>=0.1.3 in /home/pi/oprint/lib/python2.7/site-packages (from rsa==4.0->OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (0.4.7)
Requirement already satisfied: six in /home/pi/oprint/lib/python2.7/site-packages (from websocket-client<1,>=0.57->OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (1.12.0)
Requirement already satisfied: backports-abc>=0.4 in /home/pi/oprint/lib/python2.7/site-packages (from tornado==5.1.1->OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (0.5)
Requirement already satisfied: singledispatch in /home/pi/oprint/lib/python2.7/site-packages (from tornado==5.1.1->OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (<IP_ADDRESS>)
Requirement already satisfied: setuptools>=36 in /home/pi/oprint/lib/python2.7/site-packages (from markdown<3.2,>=3.1->OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (41.5.1)
Requirement already satisfied: webassets>=2.0 in /home/pi/oprint/lib/python2.7/site-packages (from Flask-Assets<3,>=2.0->OctoPrint>=1.2.4->OctoPrint-Anywhere==1.1.1) (2.0)
Building wheels for collected packages: OctoPrint-Anywhere, picamera
Building wheel for OctoPrint-Anywhere (setup.py): started
Building wheel for OctoPrint-Anywhere (setup.py): finished with status 'done'
Created wheel for OctoPrint-Anywhere: filename=OctoPrint_Anywhere-1.1.1-cp27-none-any.whl size=9025843 sha256=270767134d1ffc94820a228a5636190e42d258899ef031442b4501304bcb830c
Stored in directory: /tmp/pip-ephem-wheel-cache-mTaVv5/wheels/dd/a0/95/4a317ad84c08533b1f7d5998edfad2aeb6defb0f8f1f21a959
Building wheel for picamera (setup.py): started
ERROR: Command errored out with exit status 1:
command: /home/pi/oprint/bin/python2 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-7UoGL3/picamera/setup.py'"'"'; file='"'"'/tmp/pip-install-7UoGL3/picamera/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-bixqHC --python-tag cp27
cwd: /tmp/pip-install-7UoGL3/picamera/
Complete output (54 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-2.7
creating build/lib.linux-armv7l-2.7/picamera
copying picamera/mmalobj.py -> build/lib.linux-armv7l-2.7/picamera
copying picamera/array.py -> build/lib.linux-armv7l-2.7/picamera
copying picamera/frames.py -> build/lib.linux-armv7l-2.7/picamera
copying picamera/camera.py -> build/lib.linux-armv7l-2.7/picamera
copying picamera/renderers.py -> build/lib.linux-armv7l-2.7/picamera
copying picamera/init.py -> build/lib.linux-armv7l-2.7/picamera
copying picamera/bcm_host.py -> build/lib.linux-armv7l-2.7/picamera
copying picamera/mmal.py -> build/lib.linux-armv7l-2.7/picamera
copying picamera/encoders.py -> build/lib.linux-armv7l-2.7/picamera
copying picamera/display.py -> build/lib.linux-armv7l-2.7/picamera
copying picamera/color.py -> build/lib.linux-armv7l-2.7/picamera
copying picamera/streams.py -> build/lib.linux-armv7l-2.7/picamera
copying picamera/exc.py -> build/lib.linux-armv7l-2.7/picamera
running egg_info
writing requirements to picamera.egg-info/requires.txt
writing picamera.egg-info/PKG-INFO
writing top-level names to picamera.egg-info/top_level.txt
writing dependency_links to picamera.egg-info/dependency_links.txt
reading manifest file 'picamera.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'debian'
no previously-included directories found matching 'docs'
writing manifest file 'picamera.egg-info/SOURCES.txt'
installing to build/bdist.linux-armv7l/wheel
running install
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-7UoGL3/picamera/setup.py", line 145, in
main()
File "/tmp/pip-install-7UoGL3/picamera/setup.py", line 140, in main
cmdclass             = {'install': CustomInstallCommand},
File "/home/pi/oprint/local/lib/python2.7/site-packages/setuptools/init.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/home/pi/oprint/local/lib/python2.7/site-packages/wheel/bdist_wheel.py", line 228, in run
self.run_command('install')
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/tmp/pip-install-7UoGL3/picamera/setup.py", line 109, in run
raise ValueError('This system does not appear to be a Raspberry Pi')
ValueError: This system does not appear to be a Raspberry Pi
ERROR: Failed building wheel for picamera
Building wheel for picamera (setup.py): finished with status 'error'
Running setup.py clean for picamera
Successfully built OctoPrint-Anywhere
Failed to build picamera
Installing collected packages: picamera, OctoPrint-Anywhere
Running setup.py install for picamera: started
ERROR: Command errored out with exit status 1:
command: /home/pi/oprint/bin/python2 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-7UoGL3/picamera/setup.py'"'"'; file='"'"'/tmp/pip-install-7UoGL3/picamera/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-lY7CJK/install-record.txt --single-version-externally-managed --compile --install-headers /home/pi/oprint/include/site/python2.7/picamera
cwd: /tmp/pip-install-7UoGL3/picamera/
Complete output (18 lines):
running install
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-7UoGL3/picamera/setup.py", line 145, in
main()
File "/tmp/pip-install-7UoGL3/picamera/setup.py", line 140, in main
cmdclass             = {'install': CustomInstallCommand},
File "/home/pi/oprint/local/lib/python2.7/site-packages/setuptools/init.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/tmp/pip-install-7UoGL3/picamera/setup.py", line 109, in run
raise ValueError('This system does not appear to be a Raspberry Pi')
ValueError: This system does not appear to be a Raspberry Pi
ERROR: Command errored out with exit status 1: /home/pi/oprint/bin/python2 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-7UoGL3/picamera/setup.py'"'"'; file='"'"'/tmp/pip-install-7UoGL3/picamera/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-lY7CJK/install-record.txt --single-version-externally-managed --compile --install-headers /home/pi/oprint/include/site/python2.7/picamera Check the logs for full command output.
Running setup.py install for picamera: finished with status 'error'
Error!
Could not parse output from pip, see plugin_pluginmanager_console.log for generated output

Are you using OctoPi 0.18 RC 64-bit build? If so, it's known to have issues.

Are you using OctoPi 0.18 RC 64-bit build? If so, it's known to have issues.

I am using the following:
OctoPrint 1.5.3 Python 2.7.16 OctoPi 0.17.0 on a Raspberry Pi 4 Model B Rev 1.1
I get notices to upgrade to OctoPi 0.18.0 but have avoided applying the update.
Any suggestions?
Regards
Dale
Dale A. Chamberlain
15210 Humbert Rd
Brighton, IL 62012-1955
Ph.<PHONE_NUMBER>
Email<EMAIL_ADDRESS>On January 24, 2021 5:54:45 PM Kenneth Jiang<EMAIL_ADDRESS>wrote:

Are you using OctoPi 0.18 RC 64-bit build? If so, it's known to have issues.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

I am using the following:
OctoPrint 1.5.3 Python 2.7.16 OctoPi 0.17.0 on a Raspberry Pi 4 Model B Rev 1.1
I get notices to upgrade to OctoPi 0.18.0 but have avoided applying the update.
Any suggestions?
Regards
Dale
Dale A. Chamberlain
15210 Humbert Rd
Brighton, IL 62012-1955
Ph.<PHONE_NUMBER>
Email<EMAIL_ADDRESS>On January 24, 2021 5:54:45 PM Kenneth Jiang<EMAIL_ADDRESS>wrote:

Are you using OctoPi 0.18 RC 64-bit build? If so, it's known to have issues.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

I am using Octopi 0.17.0 64-bit
From: Kenneth Jiang<EMAIL_ADDRESS>Sent: Sunday, January 24, 2021 5:55 PM
To: kennethjiang/OctoPrint-Anywhere<EMAIL_ADDRESS>Cc: dchamb55<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [kennethjiang/OctoPrint-Anywhere] Failure to install on RPi 4B (#113)
Are you using OctoPi 0.18 RC 64-bit build? If so, it's known to have issues.
—
You are receiving this because you authored the thread.
Reply to this email directly,  https://github.com/kennethjiang/OctoPrint-Anywhere/issues/113#issuecomment-766463145 view it on GitHub, or  https://github.com/notifications/unsubscribe-auth/AOK5HL7CQNUI4OYKYWYWDYDS3SXLTANCNFSM4WQ5TH2A unsubscribe.  https://github.com/notifications/beacon/AOK5HL4WUPL2XNYRSW3XQZLS3SXLTA5CNFSM4WQ5TH2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFWXUZKI.gif

Sorry for whatever reason your comments fell through the cracks in my inbox.
I'm pretty sure this is caused by the stability issues with OctoPi 0.18 RC builds. Now OctoPi 0.18 stable build is released. Please re-flash your SD card with the stable build image from https://octoprint.org/download/. Let me know if you still have issues.

I could understand that if I was running Octopi 0.18 but I have never installed it or any RC builds of it. I am running 0.17.
From: Kenneth Jiang<EMAIL_ADDRESS>Sent: Thursday, February 18, 2021 7:51 PM
To: kennethjiang/OctoPrint-Anywhere<EMAIL_ADDRESS>Cc: dchamb55<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [kennethjiang/OctoPrint-Anywhere] Failure to install on RPi 4B (#113)
Sorry for whatever reason your comments fell through the cracks in my inbox.
I'm pretty sure this is caused by the stability issues with OctoPi 0.18 RC builds. Now OctoPi 0.18 stable build is released. Please re-flash your SD card with the stable build image from https://octoprint.org/download/. Let me know if you still have issues.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/kennethjiang/OctoPrint-Anywhere/issues/113#issuecomment-781757972 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AOK5HL2T2F6ATHWJHO3E23DS7W7WVANCNFSM4WQ5TH2A .  https://github.com/notifications/beacon/AOK5HL74PFNLC4HNOKH3OO3S7W7WVA5CNFSM4WQ5TH2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF2MK4FA.gif

@dchamb55 I'm under the impression that only 0.18 RC has a 64-bit. 0.17 never did. But I could be wrong.


Ability to set working directory

Is your feature request related to a problem? Please describe.
I am calling cue from a makefile, but the cue files might be in a subdirectory. Usually with a makefile I have paths to input and output files, but I might be in the root of a project.
Cue seems to always think it's going to be invoked either explicitly with files, or via being in the working directory. Usually tools that work that way, have commands to specify the working directory, eg git -C. With cue it appears I will need to CD that directory, then manipulate all the file paths to be absolute or from that directory.
Note: with 1 file, it's fine, you can call cue export path/to/my.cue, but as I am now trying to break this into multiple files, it appears I either need to track all the files that are in the folder, or to change the working directory
Describe the solution you'd like
An extra flag --working-dir much like https://git-scm.com/docs/git#Documentation/git.txt--Cltpathgt
Describe alternatives you've considered
There's probably the ability to rewrite into modules, or understand the package system, though the package system is currently quite confusing to me. Alternatively I can cd first and rewrite paths of output files in make.
There could be other ways too, but it's just seems to be bits of magic with working-directories that make it all a bit harder to understand, maybe if cue didn't automatically load the current dir, and you needed to provide a 'directory' context instead of files, that would unify behaviour, eg you always need to pass 'what' you want it to load, files or a directory, not files, unless nothing, then load CWD, and or have to change to CWD then load CWD.
Additional context
Add any other context or screenshots about the feature request here.

Just as a quick drive-by comment: the info in cue help inputs is your friend, here.
To process (i.e. export/eval/etc) a specific CUE package, you can use either an absolute or relative "import path" as a positional parameter to the relevant cue command, instead of changing into the directory containing that package.
For instance, cue export ./foo/bar is the same as cd foo/bar; cue export. And if there's more than one package in that directory, a colon-separated suffix can be used to specify the package you're interested in:
cue export ./foo/bar:wibble # export package "wibble"

Ah yes, @jpluscplusm thanks for that!. You are correct.
Its helpful to know that it does work that way, as the error messages can be interesting, the leading '.' is very important, if not it gets treated as an in-built and the error message is a bit confusing, which made me end up thinking it didn't work that way.


Unable to brew Spyder, Python 2.7, PyQt5 on macOS Sierra

Description of your problem
I'm trying to install Spyder using pip install spyder on macOs Sierra with brewed python 2.7.
When launching spyder I get the following error:

File "/usr/local/bin/spyder", line 11, in
sys.exit(main())
File "/usr/local/lib/python2.7/site-packages/spyder/app/start.py", line 103, in main
from spyder.app import mainwindow
File "/usr/local/lib/python2.7/site-packages/spyder/app/mainwindow.py", line 49, in
requirements.check_qt()
File "/usr/local/lib/python2.7/site-packages/spyder/requirements.py", line 39, in check_qt
import qtpy
File "/usr/local/lib/python2.7/site-packages/qtpy/init.py", line 125, in
raise PythonQtError('No Qt bindings could be found')
qtpy.PythonQtError: No Qt bindings could be found

I tried the following:
brew update
brew install pyqt
Which fails with:

qt:
This formula either does not compile or function as expected on macOS
versions newer than El Capitan due to an upstream incompatibility.
Error: An unsatisfied requirement failed this build.`

I'm able to do: brew install pyqt5, but Spyder is still failing with the same error.
pip install pyqt5 fails with

Collecting pyqt5
Could not find a version that satisfies the requirement pyqt5 (from versions: )
No matching distribution found for pyqt5

The same goes for pip install pyqt.
From your release site I see that you have only compiled a dmg file for Python 3.5. I'm I correct when assuming that brewed Spyder does no longer work on Sierra with Python 2.7 (since qt4 support has been removed by brew), or is there something I can do to make it work?
Versions and main components

Spyder Version: 3.0.1
Python Version: 2.7.12 (brew)
Operating system: macOS Sierra (10.12.1)

Ok. This seems to fix this issue:
brew install pyqt5 --with-python --without-python3


List of "Cloud apps"

How can we get a list of all "Cloud apps"? The UI only shows the first few, then you have to already know them to do a search.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 625bb1b2-81fd-9804-c0b5-3cd2904decd9
Version Independent ID: e4468b05-200e-24ae-75e9-29fb2b3a6ddc
Content: Conditions in Azure Active Directory conditional access
Content Source: articles/active-directory/active-directory-conditional-access-conditions.md
Service: active-directory
Product: unspecified
GitHub Login: @MarkusVi
Microsoft Alias: markvi

@NickDorak Thanks for your feedback! We will investigate and update as appropriate.

That is the silliest reply I have heard in a long time. You intentionally limit discovering applications you can secure?
This is a security risk for us to have applications which we can control access to but we have no way to discover them. It leaves unknown applications at risk.
It sounds like you need to reconsider your design. I will provide feedback on the site you listed.

@NickDorak The page does not display all applications at a time however the applications are discoverable through the Search but I can understand your concern and thus request you to provide your feedback on Product Feedback page so that it can be acknowledged by the community and the product team.

@NickDorak We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Add Bot as Channel Admin (Handler)

hi every body .
i have channel and i want add this bot as channel admin and send message to channel with this bot .
how can i get Channel Message ID for sending Pm ?
please help me .

i got it. i can send message/video/audio and....
but i have to use "@mychannelUser" as MessageChatID


fixed #44713 Please enhance the section description at at tutorials/stateful-application/basic-stateful-set/#on-delete

fixed #44713
from
kubectl patch statefulset web -p '{"spec":{"updateStrategy":{"type":"OnDelete"}}}'
to
kubectl patch statefulset web -p '{"spec":{"updateStrategy":{"type":"OnDelete","rollingUpdate":null}}}'

Hi @PrashantDesale2004, sign EasyCLA first, it will help reviewers to review and approve your PR.
You can find details here -

https://lfx.linuxfoundation.org/tools/easycla

Sign here -

https://contributor.easycla.lfx.linuxfoundation.org/#/cla/project/d8cead54-92b7-48c5-a2c8-b1e295e8f7f1/user/c57ec339-631b-11ec-ba90-92044a4ddd9f?redirect=https:%2F%2Fgithub.com%2Fkubernetes%2Fwebsite%2Fpull%2F43506

Also ,

Keywords which can automatically close issues and at(@) or hashtag(#) mentions are not allowed in commit messages.
The list of commits with invalid commit messages:

31e0a17 fixed Please enhance the section description at tutorials/stateful-application/basic-stateful-set/#on-delete #44713 Please enhance the section description at tutorials/stateful-application/basic-stateful-set/#on-delete

Update your current PR, with respect to the given message here, choose a commit message which doesn't contain -

Issue no. or its description
Do not use any hastag

Write clear commit message, so that it can be short and understable, u can look at this article for your next commit messages also look at this piece of content which will help you on your next PR.
Thanks for raising the PR for the issue #44713.

Also ,

Keywords which can automatically close issues and at(@) or hashtag(#) mentions are not allowed in commit messages.
The list of commits with invalid commit messages:

31e0a17 fixed Please enhance the section description at tutorials/stateful-application/basic-stateful-set/#on-delete #44713 Please enhance the section description at tutorials/stateful-application/basic-stateful-set/#on-delete

Update your current PR, with respect to the given message here, choose a commit message which doesn't contain -

Issue no. or its description
Do not use any hastag

Write clear commit message, so that it can be short and understable, u can look at this article for your next commit messages also look at this piece of content which will help you on your next PR.
Thanks for raising the PR for the issue #44713

Also ,

Keywords which can automatically close issues and at(@) or hashtag(#) mentions are not allowed in commit messages.
The list of commits with invalid commit messages:

31e0a17 fixed Please enhance the section description at tutorials/stateful-application/basic-stateful-set/#on-delete #44713 Please enhance the section description at tutorials/stateful-application/basic-stateful-set/#on-delete

Update your current PR, with respect to the given message here, choose a commit message which doesn't contain -

Issue no. or its description
Do not use any hastag

Write clear commit message, so that it can be short and understable, u can look at this article for your next commit messages also look at this piece of content which will help you on your next PR.
Thanks for raising the PR for the issue #44713.

will i have to raise PR again ?

/retitle Revise body of patch request in StatefulSet tutorial

will i have to raise PR again ?

No. You can edit what you have sent in. However, if you are not sure how to edit an existing commit and would prefer to open a new pull request, you could do that instead.


Switch to somacore 0.0.0a10.

This does not include any behavior changes relative to current code but will make for smoother sailing for changes that depend upon it by ensuring that the native libraries are cached for the new setup.py.

Codecov Report
Base: 79.29% // Head: 79.20% // Decreases project coverage by -0.09% :warning:

Coverage data is based on head (9be82de) compared to base (d55706f).
Patch coverage: 100.00% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #825      +/-   ##
==========================================
- Coverage   79.29%   79.20%   -0.09%
==========================================
  Files          69       69
  Lines        3501     3501
==========================================
- Hits         2776     2773       -3
- Misses        725      728       +3

Flag
Coverage Δ

python
90.39% <100.00%> (-0.17%)
:arrow_down:

r
66.31% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

apis/python/src/tiledbsoma/experiment.py
100.00% <100.00%> (ø)

apis/python/src/tiledbsoma/measurement.py
100.00% <100.00%> (ø)

apis/python/src/tiledbsoma/collection.py
91.23% <0.00%> (-1.55%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


How do we use base64 data as an audio source?

Is it possible to use base64 encoded data for the source file.
For example, using the audio tag, it is very possible to do the following:
<audio preload="auto">
<source src="data:audio/mp3;base64,{base64_string}" />
</audio>
The above will work in Safari. You can also add an another source tag for ogg for Firefox.
Is it possible to do this with JPlayer? Also, can we use mp4 instead of mp3?
Thanks.

Did you have any luck with this? I was looking into this as well. But also thinking of using http://plugins.jquery.com/files/jquery.base64.js_1.txt to decrypt the encoded files. Wondering if I could paste code into my JS extension or has to go into the core plugin?

Figured it out: see http://stackoverflow.com/questions/7972197/base64-decode-a-jquery-object-array-parts


Extend CLI to allow consuming prebuilt app

I will use both these flags together with our Nix build pipeline.
We will still read the config from the Cargo.toml, because that is the
metadata source of truth, but the ELF exe will already be prebuilt and
in a read-only location. We'll therefore have the json and hex
side-by-side, and then move then together to the output location.
Now that the CLI is more complex, I took the opportunity to convert it
to the declarative style of Clap --- it's really nice!
Contains #4

Thanks!


Rename AddJsonConsole extension method

Microsoft introduced their own AddJsonConsole extension, which produces conflicts with current naming
Suggested alternatives:

AddConsoleJson
AddJsonParametersConsole (since the logging does not store a logging message itself)

Done, now it'sAddStateJsonConsole


loot@ too big images

Hey, how to re-size the creature list shown at loot@ and also how to remove unnecesary stuff like exp/hr, loot, profit, waste... since I am seeing them all at summary.
Also how to remove the gold coins from the profit earned... I am ms hunting at banuta and I dont have cap to loot gps xD

This is because the loot screen start to grow up and then it pass over the cooldown icons and also over the chat.

Hello,
take a look at the wiki
https://github.com/Mytherin/Tibialyzer/wiki/Settings-Guide#database-tab
There you can find all information how to remove gold coins and other items from your counted loot.
You can't remove anything in the loot@ notification.
The only way to resize it is this:

Just leftclick "-" or "+" with your mouse.

I pressed it but keep growing up and growing up.... Having where the "-" let me has it the smallest size on the screen. But keep growing till it covers the coold down skils and the chat... I have a 1920x900 screen and is not enought. The size of the monsters is too big... There should be an option to resize them.

Yeah it grows in y-axis but not x-axis. But you can see near all the information in<EMAIL_ADDRESS>Maybe you can send a screenshot of your problem because I can't figure out exactly what is the problem. Maybe you just need to change the position or something else.

Using summary@ right now, since loot@ was growing up so much that goes up the chat and cooldown bar.

Ok, check this Image to check this.... It has the lower size it could be.
http://i.imgur.com/gu4486O.jpg

Take a look at this:

Play around with these options. It should help you I guess.


Support for Symfony 7.0

Checklist

[X] I have looked into the Readme and have not found a suitable solution or answer.
[X] I have searched the issues and have not found a suitable solution or answer.
[X] I have searched the Auth0 Community forums and have not found a suitable solution or answer.
[X] I agree to the terms within the Auth0 Code of Conduct.

Describe the problem you'd like to have solved
Possibility to install package with Symfony 7.0
Describe the ideal solution
Just bump dependency in composer.json - at this point im not sure if there are any bc breaks that needs to be solved.
Alternatives and current workarounds
No response
Additional context
No response

We do not currently support Symfony 7, as stated in the README; however, we are working on it.


address fatal errors on core plugins

Address fatal errors (mostly due to uses of create_function) caused by PHP 8 for plugins running on base organizational sites.

Tainacan: https://github.com/MESH-Research/knowledge-commons-wordpress/commit/bcb1418fca0f1b64dea1bd1c788ac6784ac43874
BuddyPress Group Email Subscription: https://github.com/MESH-Research/knowledge-commons-wordpress/commit/beedb271020832c42d8115b9fffbc002cc0117f3
BuddyPress Event Organizer: https://github.com/MESH-Research/knowledge-commons-wordpress/commit/f29a3615b0ab6fde5cd9255863108d0ae21b7a6d


Support Cairo 1 Compiler 2.0

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Would be nice if this can be done rather sooner than later 🙏 In that case many Dapps and wallets could skip cairo1 with compiler v1 entirely, and integrate with cairo1 with compiler v2 directly

I found an example in the Cairo 1 repo, version 2.0.0-rc5.
You have the .cairo, .sierra.json and the .casm.json here :
https://github.com/starkware-libs/cairo/blob/v2.0.0-rc5/crates/cairo-lang-starknet/test_data/new_syntax_test_contract.cairo

So, we have now :

abi from a cairo 0 contract
abi from a cairo 1 v0.6.0 or v1.1.0 contract
abi from a cairo 1 v2.0.0
And there is no field to indicate the version of the abi format...
The situation become rather complicated!

Outdated, Resolved


Add Czech translation files for authentication, validation and pagination

I'm going to translate the relevant UI text to the Czech language.

Closed by #118


Scheduled Task - Can't contact LDAP server

Laravel Version: 5.8.35
Adldap2-Laravel Version: 6.0.8
PHP Version: 7.3.8
LDAP Type: ActiveDirectory

Description:
I know this isn't a macOS support forum, but hear me out... it's very specific to Adldap2-Laravel! I upgraded to Catalina today, and I have a Laravel app that uses Adldap2-Laravel, and my function works great when I manually run the Command from the cli. I also have a Scheduled Task as part of this Laravel application. This task simply runs the Command I mentioned earlier, and the task was running on its schedule just fine before the upgrade. After the upgrade, this was the first app I checked. Running via cli is successful, and it does LDAP queries as you'd expect. However, when the Scheduled Task runs the Command, those same Adldap2-Laravel function calls fail. I am seeing this in my laravel log:
[2019-10-14 15:00:00] local.WARNING: LDAP (ldaps://domaincontroller.core.gtri.org:3269) - Connection: default - Operation: Failed - Username<EMAIL_ADDRESS>- Reason: Can't contact LDAP server
The odd part about this is that it works when run manually. Does anyone know if there is some fundamental difference between Laravel running a controller's method as part of a Command on the cli, versus running it as part of a Scheduled Task? Does the Adldap2-Laravel package handle these two scenarios in some different way that would break down the communication to my AD server?

Hi @nspaul,
The difference here seems to be the account that the command is running under. When you specifically run the command yourself, it's using your accounts permissions. When you run the command as a scheduled task it's running under the systems account.
It seems maybe some privileges got changed with the system account that is running your scheduled task where it cannot connect to network resources? I know this is an issue with Windows, as I have created scheduled tasks in the past that to do not run successfully if the account running them does not have permission to connect to network resources (such as shared drives).
I don't know enough about MacOS unfortunately - I'm primarily developing on Windows. ☹

Oh, and to answer your question, there is no difference to how the command is executed with Adldap2-Laravel. It is executed identically no matter where you execute it from, such as calling it from command line, calling it via the Artisan facade, or even executing it manually via a controller method.

I think this line of thinking is correct. There is some recent discussion on Twitter (here: https://twitter.com/DaveWoodX/status/1184235412509941761) about Catalina cron jobs not being about to touch certain files/folders in Catalina, and it is because of the new security measures put in place. The fix for this file/folder access issue is to drag /usr/sbin/cron into the Full Disk Access area in System Preferences.
However, I don't yet know the equivalent of this for network access, if there even is one. I wonder if Catalina is blocking the cron job from making network requests, specifically LDAP requests. I am posting this here in case someone else is reading this and has come across something similar. Meanwhile I am still hunting down a fix myself, and if I find one, I will report back.


SQLite : foreign key as string provide null relation

Laravel Version: 6.9.0
PHP Version: 7.3.7
Database Driver & Version: SQLite (in memory)

Description:
With SQLite (in memory), relation is null when is loaded with "with" or "load" method, only when using a "string" as foreign key. The request is weird (see log).
It works well with Laravel 6.9 & MySQL.
It also works on Laravel 5.8.* & SQLite/MySQL.
Steps To Reproduce:
Create a roles table :
Schema::create('roles', function (Blueprint $table) {
            $table->string('code', 64)->primary();
            $table->string('name', 64);
});

Add a foreign key for users table :
Schema::table('users', function (Blueprint $table) {
            $table->string('role_code', 64)->default('USER');

            $table->foreign('role_code')->references('code')->on('roles')->onUpdate('restrict')->onDelete('restrict');
});

Add relation :
/**
* @return BelongsTo
*/
public function role(): BelongsTo
{
        return $this->belongsTo(Role::class);
}

Create and attach some data in seeders.
Test the code:
$user1 = User::first();
$user2 = User::with('role')->first();
$user3 = User::first()->load('role');

$this->assertNotNull($user1->role);  // OK
$this->assertNotNull($user2->role); // FAILED
$this->assertNotNull($user3->role); // FAILED

Log :
[2019-12-23 09:29:36] testing.INFO: $user1 :
[2019-12-23 09:29:36] testing.INFO: select * from "users" limit 1

[2019-12-23 09:29:36] testing.INFO: $user2 :
[2019-12-23 09:29:36] testing.INFO: select * from "users" limit 1
[2019-12-23 09:29:36] testing.INFO: select * from "roles" where "roles"."code" in (0)

[2019-12-23 09:29:36] testing.INFO: $user3 :
[2019-12-23 09:29:36] testing.INFO: select * from "users" limit 1
[2019-12-23 09:29:36] testing.INFO: select * from "roles" where "roles"."code" in (0)

[2019-12-23 09:29:36] testing.INFO: $user1 :
[2019-12-23 09:29:36] testing.INFO: select * from "roles" where "roles"."code" = ? limit 1

Did you set protected $keyType = 'string'; in the Role model?

@staudenmeir Indeed, it works with:
protected $keyType = 'string';
But why does it work with MySQL even without this attribute?
Thank you anyway!

I have no idea, it shouldn't work either.
What do the executed queries look like on MySQL?

With MySQL I have this:
[2019-12-24 10:26:39] local.INFO: $user1
[2019-12-24 10:26:39] local.INFO: select * from `users` limit 1

[2019-12-24 10:26:39] local.INFO: $user2
[2019-12-24 10:26:39] local.INFO: select * from `user` limit 1
[2019-12-24 10:26:39] local.INFO: select * from `roles` where `roles`.`code` in (?)

[2019-12-24 10:26:39] local.INFO: $user3
[2019-12-24 10:26:39] local.INFO: select * from `user` limit 1
[2019-12-24 10:26:39] local.INFO: select * from `roles` where `roles`.`code` in (?)

[2019-12-24 10:26:39] local.INFO: $user1
[2019-12-24 10:26:39] local.INFO: select * from `roles` where `roles`.`code` = ? limit 1

Param (?) contains "USER" role code.

It "works" because of MySQL's odd comparison logic (PHP has the same issue):
0 is equal to any string that doesn't start with a digit.
In your case, select * from "roles" where "roles"."code" in (0) fetches all roles from the database and Laravel matches them to their parent models.
Other DBMS like SQLite behave differently and show that your model is not set up correctly:
https://laravel.com/docs/6.x/eloquent#eloquent-model-conventions

Oh I see, thanks for your help & your explanations.
Have a good day !


fix(Divider|FormInput): fix the broken typings

Fixes #1180.

Current coverage is 95.88% (diff: 100%)

Merging #1179 into master will not change coverage

@@             master      #1179   diff @@
==========================================
  Files           879        879
  Lines          4888       4888
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           4687       4687
  Misses          201        201
  Partials          0          0

Powered by Codecov. Last update 9fe3fca...4b6189e

Will this not throw the same error in FormInput about duplicate onChange props with different signatures?

@levithomason nope, problem was there:
(176,11): error TS2320: Interface 'FormInputProps' cannot simultaneously extend types 'InputProps' and 'ReactFormEvents<HTMLInputElement>'.
  Named property 'onChange' of types 'InputProps' and 'ReactFormEvents<HTMLInputElement>' are not identical.

FormInputProps extended InputProps and  ReactFormEvents, while the last two have the same onChange method, but with different signatures. After changes in this PR, FormInputProps will extend only InputProps.

Can someone merge this? Am stuck with this error! :-)

Released in<EMAIL_ADDRESS>


Feature/scheduled txs/state/merkle schedule

Related issue(s):
Closes #72
Summary of the change:

Add MerkleSchedule
Add new FCMap<MerkleEntityId, MerkleSchedule>

External impacts:
None.
Applicable documentation

[ ] Javadoc
[ ] HAPI protobuf comments
[ ] README

We can discuess whether naming should be Scheduled or Schedule


Intermittently not working in notebook

In windows, using notebook (not lab), it works most of the time but eventually stops working.
Just a tracking issue while I try to sort this out.
I wonder if it has to do with re-running cells, or perhaps cells that cause an error (e.g. black doesn't yet support match).

Also, if an users come across this, I'd appreciate if you can post here -- especially if you can reliably reproduce the issue!

I actually copy and pasted your json into code prettifier and had a similar issue. I'll see if I can fix it. Also, I think for some reason your release is pinning the ipython and black version:
Collecting jupyter-black
Downloading jupyter_black-0.3.1-py3-none-any.whl (7.7 kB)
Collecting black<23,>=21.9b0
Downloading black-22.8.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.5 MB)
|████████████████████████████████| 1.5 MB 3.0 MB/s
Collecting ipython<8,>=7.27.0
Downloading ipython-7.34.0-py3-none-any.whl (793 kB)
|████████████████████████████████| 793 kB 2.2 MB/s

I'm not using notebook anymore with any regularity. If anyone is seeing this issue and would like to reopen please let me know.


Open in same terminal without vi mode?

When entering mvim it will open a new window. How do I prevent this? I want the same behavior as with the vim command.
Vi mode (i.e. the -v flag) prevents this, but it disables other things like setting a custom font.

mvim opens a GUI, which means it necessarily opens a window not in your terminal.

Ah okay. Thought it was possible to somehow get it to display in the terminal. Just to understand, what I open with mvim -v is then not Macvim?

There's two executables in the MacVim.app bundle, Vim and MacVim. The first one is a terminal-based MacVim, and MacVim is a graphical UI.
mvim will run MacVim binary and mvim -v will open Vim.

@eirnym That explains it, thanks!

@eirnym That explains it, thanks!
But why does the terminal based MacVim use Vi mode (which makes not possible to e.g. set a custom font)?

Terminal based MacVim is like an original Vim.
The font option is an option for GUI only as you can open a text terminal in text mode like 80x25 and there's no option to recognise it. You should tweak settings of your terminal to change font.

@eirnym thanks!


Update company details

Company representative can see and edit company details on the Team Management page

Looks good, but we were thinking of removing the ability to change the name, so I'll leave it currently on a standby until we have a decision on what the company rep should be able to edit

I don't think this poses an issue for now. I'll approve and if needed this should be an easy fix.


[FIX] Notifications: Sort transcations on meta.TransactionIndex

(RLJS-253)

Previous fix was incorrectly sorting on Sequence, but that can only
sort transactions submitted by the same account

LGTM


Debianization

Hello!
Do you know something about packaging for Debian?
AFAIK only v2 is packaged although lib v3 is available but that cannot be used directly in Apache 2.4.x
Thanks.

@inittab ?

Hi, either @airween or myself will eventually look at it, yes. Since Debian Buster is frozen now and no new packages will make it past testing, I'm taking a break on packaging new stuff. Regards, Alberto

The Apache connector is not production ready, please do not use it.

@airween  is correct. please do not generate a package for it as it is not yet ready for production. That may lead the user to think that it is ready and it is not.

@szepeviktor, @inittab note, that there is the package ready Nginx version:
https://salsa.debian.org/airween-guest/nginx/tree/modsecurity
and I've asked the Nginx maintainers to add this patch, but no aswer till 3 months... :(

When will the modsecurity-apache connector be ready for production? I was able to do this build on Ubuntu 16.04 as follows with no problem:
This will downloads the ModSecurity-apache connector into the /opt directory from GitHub repo at https://github.com/SpiderLabs/ModSecurity-apache. The ModSecurity-apache connector will be build after apache2 is configured to use the connector.
cd /opt &&
git clone https://github.com/SpiderLabs/ModSecurity-apache.git
Configure Apache2 to use the ModSecurity-apache connector.
cd /opt/httpd-2.4.39 &&
./configure --with-libmodsecurity=/opt/ModSecurity-apache
--enable-cgi
--enable-info
--enable-speling
--enable-usertrack
--enable-deflate
--enable-ssl
--enable-proxy
--enable-proxy-connect
--enable-proxy-ftp
--enable-expires
--enable-headers
--enable-proxy-http
--enable-rewrite
--enable-so
--enable-proxy-balancer
--with-included-apr
Build Apache2 with the ModSecurity-apache connector.
sh /opt/ModSecurity-apache/autogen.sh &&
cd /opt/httpd-2.4.39 &&
./configure &&
make && make install

@ericloveacp Could you enclose your output in tripple backticks? ```
it will look nice

When will the modsecurity-apache connector be ready for production?

sorry, don't know :)

I was able to do this build on Ubuntu 16.04 as follows with no problem:

yes, but after this:

sh /opt/ModSecurity-apache/autogen.sh &&
cd /opt/httpd-2.4.39 &&
./configure &&
make && make install

type:
make test
and - perhaps - you can see the problem (I don't know, which commits are in the master branch).
The request body handling isn't completed yet.

I performed the make test when I did build. I did not see any errors. But when I build another dev environment, I will do test and put the output here. But I can see the modsecurity-apache connector running and the version in logs after restarting apache as follows:
grep ModSecurity-Apache error_log
[Thu Jun 27 11:58:49.123977 2019] [:notice] [pid 31980:tid<PHONE_NUMBER>76000] ModSecurity: ModSecurity-Apache v0.1.1-beta configured.
[Thu Jun 27 12:00:32.535170 2019] [:notice] [pid 32087:tid<PHONE_NUMBER>97216] ModSecurity: ModSecurity-Apache v0.1.1-beta configured.
[Fri Jun 28 11:14:23.538484 2019] [:notice] [pid 12685:tid<PHONE_NUMBER>84640] ModSecurity: ModSecurity-Apache v0.1.1-beta configured.
[Fri Jun 28 11:42:58.240207 2019] [:notice] [pid 13061:tid<PHONE_NUMBER>03808] ModSecurity: ModSecurity-Apache v0.1.1-beta configured.
[Fri Jun 28 13:14:04.382257 2019] [:notice] [pid 14411:tid<PHONE_NUMBER>74912] ModSecurity: ModSecurity-Apache v0.1.1-beta configured.
[Fri Jun 28 13:16:49.681327 2019] [:notice] [pid 14532:tid<PHONE_NUMBER>14400] ModSecurity: ModSecurity-Apache v0.1.1-beta configured.
[Mon Jul 01 14:49:10.265871 2019] [:notice] [pid 21486:tid<PHONE_NUMBER>23328] ModSecurity: ModSecurity-Apache v0.1.1-beta configured.
It would be nice to get an eta on when the modsecurity-apache connector will be ready for production. A lot of us want to take advantage of using ModSecurity v3 (libmodsecurity) for apache2. Can't really do this without the modsecurity-apache connector.

The apache connector is still experimental. We are currently short in effort to make it production-ready.

Hi @ericloveacp,
yes, the code successfully build, and everything works as well - seemingly. But when you start to run the tests (eg. CRS test - here), then you will see the errors. And some errors occur by Apache connector (wrong request handling) not by libmodsecurity3.
Here is the last version of the code, I think this contains the most less error (less than the other versions :)). With this version, the most regression tests of CRS will passed, but the connector own test will failed.

Important to mention that the link posted by @airween is not the latest version of this project, but the latest version of what he is working with. The code for this project is not in the state to be put in production.

Important to mention that the link posted by @airween is not the latest version of this project, but the latest version of what he is working with. The code for this project is not in the state to be put in production.

Sure, of course - sorry for the ambiguous post :)

Ok, I understand. But the updated ModSecurity v3 (libmodsecurity) along with using it with different connectors is evolutionary and a game changer. Been waiting for something like this for a very longtime. It would be nice to some resources behind the modsecurity-apache connector since the majority of us are using apach2.

@ericloveacp without a doubt. Thank you for recognizing the work that we have been doing atop of libModSecurity; I appreciate. I wish we had the effort to make this project happen. However, as of now, we do not have. At least, not to delivery with the excellent quality that our users deserve.

Many thanks to you and team!!!! The work that you all are doing is desperately needed more than ever before. I guess I have no other choice but to revert back to older version of ModSecurity until I am able to use ModSecurity v3 with modsecurity-apache connector. But the wait is well worth it. Hopefully we get this sooner than later. :)

Any chance Debian packages for nginx could be made available? :) We'd like to use the v3 with nginx, but cannot find it in the default repo. Extending it with custom compile isn't very update proof as far as I remember previous tests.

Hi, @HOSTED-POWER
Unfortunately, we don't have the necessary effort to maintain packages for any distribution. But, v3 library is already available on debian. With the library installed, you need the nginx connector.

I see it, but why don't they maintain the nginx as well there, that would be perfect :/
Is it hard to get it in their repo? Never tried it, but It's something we could do some effort for otherwise :)

Note: I'm a Debian Maintainer, and I tried to add the ModSecurity3 module to Debian's nginx - but I never got any answer from the developer. That was in December of 2018, and there was an another try from @moschlar here, but as I know he also didn't get any answer.
Also note, that here is a non-up-to-date repository:
https://salsa.debian.org/airween-guest/nginx/tree/modsecurity
what can helps to you to lead, how can you build an own package. Before you start it, please upgrade all components.
Summary: it's not clear what's the statement of Debian about the nginx modules: it would be part of any package(s), eg nginx-extra, or all extra modules will be a unique module, eg. libnginx-mod-security3.

Wow that would be terrific, we're wanting this modsec nginx module supported for ages on Debian.
Anything we can do to get this going? :)

Any update perhaps? Something we could help with somehow?

I'm afraid you (and me) can't help :).
I think the best thing what you can do now is just prepare a package for yourself, and distribute it on your servers.

@airween why can't you help?
Just asking to understand, is there no way to get it into the debian packages now? It would have been so great to support it out of the box :| :)

is there no way to get it into the debian packages now?
No, there isn't - for now. Debian has a very strict restrictions how to apply a new package into the system. These restrictions does not allow that we put a new package or component for the released versions, only the bugfixes allowed.
If we could make the package now, then that would be a part of the version Sid (Still In Developing), and a bit later the testing (Debian Bullseye - the next stable) version, and when it will freeze and release as stable (like now the Debian Buster), then (and only then) you could install it. But then you will only get the current upstream version. Then the next version of ModSecurity or Nginx connector will available in the next version, and so on...
I think if you're using ModSecurity and Nginx in a self-managed production environment, then the best choose is that you make an own building system (with a good testing framework), fetch the updates from the upstream repositories (ModSecurity and Nginx) regurarly, and keep up-to-date all of your components.

I was expecting something like that and indeed that's pretty logical if you think about it, thanks a lot for all explanations!!
Maybe we need to get it into the future versions indeed before it's too late :)
(In the meanwhile I think we will indeed create some packages for ourselves)

Debian has a very strict restrictions

I do love Debian policies.
Many packages use the -backports mechanism for new versions.

Yes, I know the -backports solution, but the adoption is not trivial.

@inittab : I guess the next step is to open a libapache2-mod-security3 at https://salsa.debian.org/ in order to maintain a /debian/ directory... or is this something which is going to be bundled inside this very repository?

@drzraf ModSecurity v3 connector for Apache is not yet ready for production. A lot of work needs to be done in order for it to be released. Let's wait for a stable release afterward we can think in a package. I am going to close this issue. Let's have it re-open whenever we have a release for this project.


Rename CytoSmartAxionFormat  to AnnotationManager

Thank you for your contribution to the Tomni package.
Before submitting/accepting this Pull Request, please make sure:
Contributor of code

[ ] Version number is updated
[x] HISTORY.rst is updated
[x] Function is tested
[x] (docstring) is added or updated
[ ] All needed package are in requirements.txt

For new function

[ ] Functions are named based on Python naming conventions
[ ] Function is added to apidocx.rst
[ ] New feature is added to README.md subsection Features
[ ] New function is imported in all __init__.py that are needed

For bugfix

[ ] Unit test is added that covers the bug (if possible)
[ ] You cursed at the person that introduced the bug

Reviewer

[ ] Version number is updated
[ ] HISTORY.rst is updated
[ ] Function is tested
[ ] (docstring) is added or updated
[ ] All needed package are in requirements.txt

For new function

[ ] Functions are named based on Python naming conventions
[ ] Function is added to apidocx.rst
[ ] New feature is added to README.md subsection Features
[ ] New function is imported in all __init__.py that are needed

For bugfix

[ ] Unit test is added that covers the bug (if possible)

ImportError: /lib/x86_64-linux-gnu/libz.so.1: version `ZLIB_1.2.9' not found (required by /home/vsts_azpcontainer/.local/lib/python3.7/site-packages/cv2/../opencv_python_headless.libs/libpng16-186fce2e.so.16.37.0)
test seem to fail because of this. this can be solved with setting the opencv-python to <<IP_ADDRESS>
see issue


updating files from server

Hi! and thanks for this interesting directive.
I'm working on a form wich contains an upload part and when i submit my form, i save all the files in a server folder.
After that, i want to display these files in a form to update it. How can use the same scope variables to store these files ?
Now, i can retrieve my files from server (array of bytes) but i don't know how can i convert it to your directive variable "files".
thanks

You don't need to put them back in the files variable. Just have a separate model like fileUrls and put the url of the uploaded files in there and to show them you can use:
<img ngf-src="files[i] || fileUrls[i]">
You cannot set the value of the file input programmatically because of the security reasons so even if you convert that byte array into a file object you cannot set it for the file input in the form.

ok. Thank you.
But my files aren't only img files. I have a lot of extensions.
can i put a link (href) on each file to download it ?

If you don't care about form file input value being set you can do
$http({url: url, method: 'get', responseType: 'arraybuffer'}).then(function (resp) {
            var arrayBufferView = new Uint8Array(resp.data);
            var type = resp.headers('content-type') || 'application/octet-stream';
            var blob = new window.Blob([arrayBufferView], {type: type});
            files.push(blob);
});

Thanks a lot ! :+1:


Disable sidewards/horizontal scrolling

Is your feature request related to a problem? Please describe.
I am really frustrated, because ghidra is pretty much unusable for me on a laptop. Everytime I am scrolling through code, I am accidentially scrolling sidewards (it just happens on a touchpad) and the threshold is so low, that I am instantly going back or forward thus jumping through code.
See: https://www.reddit.com/r/ghidra/comments/1fv1uzh/jumping_to_different_places_when_scrolling/?rdt=48158
Describe the solution you'd like
Option to disable sidewards forward/backwards going.
Thank you!

Are you on a mac?

No, on kde linux. There is no option to disable horizontal scrolling easily on wayland.

This seems to be a duplicate of #7024.  Can you please read through that thread to see if any of the suggestions work for you?

Yes, that is an exect duplicate. However the workaround does work, but only for the decompiler and not for the disassembler.


[BUG]: self-hosted agent - We stopped hearing from agent agent - when running ReadyAPI tests in parallel

What happened?
I used DevOps pipeline and self-hosted Windows agents to run ReadyAPI tests in parallel.
The self-hosted agents were set up on our on-premise Windows Server.
Agent version is 3.239.1.
Windows Server 2019 Standard.
This issue happened multiple times this week.
The agent seems to have accepted the job request, but the pipeline process got stuck at "initialize job" stage.
After about 13 minutes, the pipeline failed with error below:
##[error]We stopped hearing from agent agentTFSServer4. Verify the agent machine is running and has a healthy network connection. Anything that terminates an agent process, starves it for CPU, or blocks its network access can cause this error. For more information, see: https://go.microsoft.com/fwlink/?linkid=846610
The agent log shows this message below is repeated for about 11 minutes:
"Sent GetAgentMessage to keep alive agent 80,"
Then we got this Visual Studio Service error:
PATCH request to https://dev.azure.com/cccgovtnz/_apis/distributedtask/pools/35/jobrequests/19344 failed. HTTP Status: BadRequest, AFD Ref: Ref A: F32BF2EFB8EF4E7A9CD5388CA79CD0B7 Ref B: AKL30EDGE0210 Ref C: 2024-05-20T03:30:39Z
the logging afterwards shows the job request is no longer valid to be renewed:
[2024-05-20 03:30:39Z INFO JobDispatcher] TaskAgentJobTokenExpiredException received renew job request 19344, job is no longer valid, stop renew job request.
[2024-05-20 03:30:39Z INFO JobDispatcher] Unable to renew job request for job 275f1d19-1bd8-5591-b06b-07d489ea915a for the first time, stop dispatching job to worker.
Versions
Azure DevOps self hosted agents version 3.239.1, windows
Environment type (Please select at least one enviroment where you face this issue)

[X] Self-Hosted
[ ] Microsoft Hosted
[ ] VMSS Pool
[ ] Container

Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Windows Server 2019 Standard
Version controll system
No response
Relevant log output
[2024-05-20 03:19:21Z INFO RSAEncryptedFileKeyManager] Loading RSA key parameters from file C:\agentDevOps4\.credentials_rsaparams
[2024-05-20 03:19:21Z INFO MessageListener] Message '43' received from session '89294bff-b3eb-417a-afb0-2f951587c456'.
[2024-05-20 03:19:21Z INFO JobDispatcher] Job request 19344 for plan d75273f5-3cc3-42c7-9095-dcc1f355a53a job 275f1d19-1bd8-5591-b06b-07d489ea915a received.
[2024-05-20 03:19:21Z INFO Terminal] WRITE LINE: 2024-05-20 03:19:21Z: Running job: Agent job - parallel readyAPI Test Use Repo3 - DEV - CCOTFSDPLYUI01
[2024-05-20 03:19:52Z INFO MessageListener] Sent GetAgentMessage to keep alive agent 80, session '89294bff-b3eb-417a-afb0-2f951587c456'.
[2024-05-20 03:20:23Z INFO MessageListener] Sent GetAgentMessage to keep alive agent 80, session '89294bff-b3eb-417a-afb0-2f951587c456'.
[2024-05-20 03:20:54Z INFO MessageListener] Sent GetAgentMessage to keep alive agent 80, session '89294bff-b3eb-417a-afb0-2f951587c456'.
[2024-05-20 03:21:25Z INFO MessageListener] Sent GetAgentMessage to keep alive agent 80, session '89294bff-b3eb-417a-afb0-2f951587c456'.
[2024-05-20 03:21:56Z INFO MessageListener] Sent GetAgentMessage to keep alive agent 80, session '89294bff-b3eb-417a-afb0-2f951587c456'.
[2024-05-20 03:22:27Z INFO MessageListener] Sent GetAgentMessage to keep alive agent 80, session '89294bff-b3eb-417a-afb0-2f951587c456'.
[2024-05-20 03:22:58Z INFO MessageListener] Sent GetAgentMessage to keep alive agent 80, session '89294bff-b3eb-417a-afb0-2f951587c456'.
[2024-05-20 03:23:29Z INFO MessageListener] Sent GetAgentMessage to keep alive agent 80, session '89294bff-b3eb-417a-afb0-2f951587c456'.
[2024-05-20 03:24:00Z INFO MessageListener] Sent GetAgentMessage to keep alive agent 80, session '89294bff-b3eb-417a-afb0-2f951587c456'.
[2024-05-20 03:24:31Z INFO MessageListener] Sent GetAgentMessage to keep alive agent 80, session '89294bff-b3eb-417a-afb0-2f951587c456'.
[2024-05-20 03:25:02Z INFO MessageListener] Sent GetAgentMessage to keep alive agent 80, session '89294bff-b3eb-417a-afb0-2f951587c456'.
[2024-05-20 03:25:33Z INFO MessageListener] Sent GetAgentMessage to keep alive agent 80, session '89294bff-b3eb-417a-afb0-2f951587c456'.
[2024-05-20 03:26:04Z INFO MessageListener] Sent GetAgentMessage to keep alive agent 80, session '89294bff-b3eb-417a-afb0-2f951587c456'.
[2024-05-20 03:26:35Z INFO MessageListener] Sent GetAgentMessage to keep alive agent 80, session '89294bff-b3eb-417a-afb0-2f951587c456'.
[2024-05-20 03:27:06Z INFO MessageListener] Sent GetAgentMessage to keep alive agent 80, session '89294bff-b3eb-417a-afb0-2f951587c456'.
[2024-05-20 03:27:37Z INFO MessageListener] Sent GetAgentMessage to keep alive agent 80, session '89294bff-b3eb-417a-afb0-2f951587c456'.
[2024-05-20 03:28:09Z INFO MessageListener] Sent GetAgentMessage to keep alive agent 80, session '89294bff-b3eb-417a-afb0-2f951587c456'.
[2024-05-20 03:28:40Z INFO MessageListener] Sent GetAgentMessage to keep alive agent 80, session '89294bff-b3eb-417a-afb0-2f951587c456'.
[2024-05-20 03:29:11Z INFO MessageListener] Sent GetAgentMessage to keep alive agent 80, session '89294bff-b3eb-417a-afb0-2f951587c456'.
[2024-05-20 03:29:42Z INFO MessageListener] Sent GetAgentMessage to keep alive agent 80, session '89294bff-b3eb-417a-afb0-2f951587c456'.
[2024-05-20 03:30:13Z INFO MessageListener] Sent GetAgentMessage to keep alive agent 80, session '89294bff-b3eb-417a-afb0-2f951587c456'.
[2024-05-20 03:30:39Z INFO AgentServer] Refresh JobRequest VssConnection to get on a different AFD node.
[2024-05-20 03:30:39Z INFO AgentServer] Establish connection with 30 seconds timeout.
[2024-05-20 03:30:39Z INFO VisualStudioServices] Starting operation Location.GetConnectionData
[2024-05-20 03:30:39Z INFO VisualStudioServices] Finished operation Location.GetConnectionData
[2024-05-20 03:30:39Z INFO JobDispatcher] Start renew job request 19344 for job 275f1d19-1bd8-5591-b06b-07d489ea915a.
[2024-05-20 03:30:39Z ERR  VisualStudioServices] PATCH request to https://dev.azure.com/cccgovtnz/_apis/distributedtask/pools/35/jobrequests/19344 failed. HTTP Status: BadRequest, AFD Ref: Ref A: F32BF2EFB8EF4E7A9CD5388CA79CD0B7 Ref B: AKL30EDGE0210 Ref C: 2024-05-20T03:30:39Z
[2024-05-20 03:30:39Z INFO JobDispatcher] TaskAgentJobTokenExpiredException received renew job request 19344, job is no longer valid, stop renew job request.
[2024-05-20 03:30:39Z INFO JobDispatcher] Unable to renew job request for job 275f1d19-1bd8-5591-b06b-07d489ea915a for the first time, stop dispatching job to worker.

Hi @LeaCCC, Thanks for the feedback! I suspect that might be connected with the worker stuck job from the issue https://github.com/microsoft/azure-pipelines-agent/issues/4812, We'll try to figure out the problem soon, but now we have more prioritized items.

Hi Dmitrii, thank you for triaging this issue. I did see the same issue being mentioned a few times by other users as well ( please see urls below) I hope the priority can be raised in the future. thanks, lea
https://learn.microsoft.com/en-us/answers/questions/1179302/(error)we-stopped-hearing-from-agent-azure-pipelin?comment=question#newest-question-comment
https://github.com/microsoft/azure-pipelines-agent/issues/3994
https://github.com/microsoft/azure-pipelines-agent/issues/4313

Hi Dmitrii, just a comment that bug 4813 did not happen with bug 4812 during my trials. thanks, lea


Remove line numbers in environment.yml at installation page

In GitLab by @evaschoonderwoerd on May 31, 2021, 12:01
At the installation page of imod.xyz (https://imod.xyz/installation.html#id1), the environment.yml file still has file numbers. When you copy & save the text, these numbers are saved as text so conda won't understand the yml.

In GitLab by @Huite on Nov 1, 2021, 18:07
Fixed by 89c680f11e9da6f62dfddcaf648c78ac16a1d45c


[Help needed] Hana Studio JRE 16

Hi and thank you for nice product.
Could you help me to enable it on Hana Studio?
Looks like it is JRE version issue. Could you help me to find the way to execute it with 16+ please?

Hi,
it looks like that your HANA Studio still uses Java JRE 11.
There should be a file hdbstudio.ini in the path of your HANA Studio  (looks like C:\SAP\hdbstudio) .
This file should contain an entry under -vm with the path to the used JRE. You must adjust it to the path of your new JRE bin folder.
It should look like this example, but with your path. Please be aware, that you must use / instead of \ in the path.

A restart of the HANA Studio is required after this adjustment.
Kind regards
Frank

Perfect, thanks a lot. It works now!


Results sticky header

Before
https://user-images.githubusercontent.com/40412372/111373795-93835080-8659-11eb-9e9e-0ef86bd8d817.mov
After
https://user-images.githubusercontent.com/40412372/111373831-9da54f00-8659-11eb-911c-3fdd02ff3e5e.mov
I also made the table style consistent with what's on the data display page. I can revert this back; I just wanted to see what you both think. If we like the changes, I can update the style naming in constants.js and figure out what to do with the grey border.

You can see a outer set of scrollbars:

Remove these lines from Results.jsx to get rid of them:

And then those scrollbars will go away:


Fix: wasm files target path

Fix the target path for *.wasm files in workspace-optimizer.
This also fixes cosmasm-plus #273.
Update: Will revert the change of shells in another PR, along with changing the echo -ns

Looks good. Can you add a section to the 0.11.2 CHANGELOG about this fix?

Sure. Let's do it in main directly, as this is an outdated branch.


@cap-js/hana corrupts the large zip file ( zip files on read gives Corrupted zip or invalid signature)

I am working on a multitenant CAP application the dependencies are as below

pr
https://github.com/<your/repo>

@cap-js/asyncapi
1.0.2

@cap-js/audit-logging
0.8.0

@cap-js/cds-types
0.2.0

@cap-js/hana
1.1.1

@cap-js/openapi
1.0.5

@cap-js/telemetry
0.2.3

@sap/cds
8.1.1

@sap/cds-common-conten
2.1.0

@sap/cds-compiler
5.1.2

@sap/cds-dk
8.1.2

@sap/cds-dk (global)
7.9.4

@sap/cds-fiori
1.2.4

@sap/cds-foss
5.0.1

@sap/cds-indexer
1.0.14

@sap/cds-mtxs
2.0.6

@sap/cds-odata-v2-adap
1.9.21

@sap/cds-shim
0.6.6

@sap/eslint-plugin-cds
3.0.4

Node.js
v20.15.0

home
/Users/payann/Documents/ace/ace/node_modules/@sap/cds

in the file @cap-js/hana/lib/drivers/hana-client.js at function streamBlob, because the binary buffer is assigned to 65536 ( 1 << 16).
if the file is large, then the first 65536 bytes are read and then the next read overwrites the first few bytes which corrupts the file signature.
for now i was able to fix with a patch something like this
-async function* streamBlob(rs, rowIndex = -1, columnIndex, binaryBuffer = Buffer.allocUnsafe(1 << 16)) { +async function* streamBlob(rs, rowIndex = -1, columnIndex, binaryBuffer = Buffer.allocUnsafe(1 << 25)) {

i am also facing this issue using @sap/hana-client. document stream retrieved from SELECT and converted to Blob ends up with errors when passed to Langchain's document loaders.
this does not happen with hdb driver (there's an unrelated issue with that driver regarding streams and draft activation)


Revert HMCTS form import

The HMCTS forms have been imported, so the rake task is no longer
needed.
This reverts these commits from PRs #3792 and #3847:

224860eb2e6b09fcab46703c3525c71d2bbfe986
310918619dbcea78ae5405d6106278b353d33639
bd689f87d6831d3e086874be21c8ce697789cb0c
1adeab5551084f9f64f1ef731f038b0c7e76a671
6eb2a06d0e4e1a78a8ce7908ad7623ddeb4a148f
071c64bb4f98bdfee5908af83a1422fc653a7db2
98319ae8c7c159f8945e05d05b5e70682084c1d2
584b4692779905c4b06fb2160ea85bcfd6a2c2e4
2de9646e06aff9442333f2c05c245709d3931a9b
21ffc0dc63739ca28a11a3cc528a8baf2f07dd64
e32d99e7933deb0c2979b20a41005e9fc3b3992f
55779dd3c55ea1f58ee55a4406c3ea3b8b2861f3
4d7e6df17d092026b0243851481607204aed4c84
3af69543b8664f66ae5a1e5d868ad23d78dd750b

https://trello.com/c/edrMeMOO/119-hmcts-step-3c-help-hmcts-publish-the-documents
Marked as "do not merge" until all the forms have been published.

Everything's been published, so I've removed the "do not merge" label.


[Feature request] selected form input value as data-value attribute for styling w/ CSS

Is your feature request related to a problem? Please describe.
No problem, just a nice to have.
Describe the solution you'd like
I would like to style the modal form based on selected values.
This could be achieved by setting data-value parameter on the inputs corresponding to the selected value, something like oninput="this.dataset.value=this.value"[^credit-connexo-so] should make that work easy squeezy.
[^credit-connexo-so]: credit: user connexo on Stack Overflow from a quick searchy search
Additional context

Example:

In this form, I would like to apply a color mapping by the Subjective Unit of Distress value, ranging from green to blue to red, and prefix the description input with a cute little temperature icons from Font Awesome.
With the described potential implementation, I could likely achieve what I'm imagining here w/ CSS by matching [data-value="N"] (where N is 0-10).
Thank you for considering this Feature Request

that is an interesting use case, and can definitely add nice touches to certain forms.
Let me think about it.
Adding every field as a property to the form can very quickly bloat it, so it will need to be an optional thing, and will probably not make sense for all the input types.


KinFu constant reset

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
D455

Firmware Version
<IP_ADDRESS>

Operating System & Version
Win (10)

Platform
PC

SDK Version
<IP_ADDRESS>

Language
{C++ }

Segment
Robot

Issue Description
Hi, am trying to compile the rs-kinfu.cpp but the program fails to capture pointclouds due to if (!kf->update(frame)) always staying false.
Is there an explanation for this problem ?

Hi @Amayess  The first step in diagnosing problems with rs-kinfu is always to comment out the line of rs-kinfu.cpp that loads the High Accuracy camera configuration preset.  Does the reset error still occur if this line is commented out, please?
https://github.com/IntelRealSense/librealsense/blob/master/wrappers/opencv/kinfu/rs-kinfu.cpp#L204

Okay, is there any alternative to the Kinfu algorithm ? after some research i found two alternatives Open3D and INFINITAM.
Which one is the best alternative to the kinfu ?
ps : my goal is to make a continous scan with the D455 and generate a solide mesh at the end.

As you are using Windows, if you are able to use commercial software then you could look at the DotProduct Dot3D RealSense-compatible 3D modelling software that is D455 compatible and can scan a room.
https://www.dotproduct3d.com/dot3d.html

HI @Amayess  Do you require further assistance with this case, please?  Thanks!

Hi @MartyG-RealSense, no thank you ! I am actually exploring other solutions like Infinitam and Open3D as @dorodnic mentionned it here https://github.com/IntelRealSense/librealsense/issues/6418#issuecomment-630690427

Thanks very much for the update!  As you do not require further assistance, I will close the case.  Thanks again!


not display Symmetric key

Description
What's new?

Mask the symmetric key
Add copy to clipboard button

What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Tests
[ ] Other

Hi @ChristopheRib63 ,
I provide you a change to get the data correctly copied to the clipboard.
I added a Clipboard service to the Blazor engine, and now you're able to copy to the clipboard by adding:
OnAdornmentClick="@(() => ClipboardService.WriteTextAsync(Credentials.SymmetricKey))" to the text field.
See [https://github.com/CGI-FR/IoT-Hub-Portal/pull/382/commits/669b65fb14f75ef87c8593fd29c77bf16726489b#diff-5688a452801b70df5c2bea6548e6e58b78b47434289d62254d2244ccb230a261] to know what I changed


SREP-1754: Prefer native types

This makes a couple changes:

ClusterPermissions now is an array of strings (not a bespoke object)
Refer to the constants for states instead of strings

Signed-off-by: Lisa Seelye<EMAIL_ADDRESS>

/lgtm


SMS-Deliver decoding fails with Alphanumeric TP-OA

The unmarshal code appears to miscalculate the length of the address. Will submit a PR

Your report is too light on detail for me to accept the change.
The address encoding/decoding follows the standard 3GPP TS 23.040 version 9.3.0 Release 9 Section <IP_ADDRESS>.
Specifically as per this abridged extract:
The Type-of-Address field format is as follows:
Type-of-number:
Bits 6 5 4
1 0 1      Alphanumeric, (coded according to 3GPP TS 23.038 [9] GSM 7-bit default alphabet)
I take that to mean that the address is 7bit encoded.  That applies to the whole field - including the length field, and so the length in the address is the number of septets.  Your change uses the same length as semi-octet encoding, which the other ToNs use, but that is not Alphanumeric encoding as defined in the spec.
Can you provide a reference that shows that the length should be interpreted as per your change?
Otherwise I have to conclude you are dealing with a non-compliant encoder.
(I also note you haven't changed MarshalBinary which still encodes as per the spec.  If there is a bug then you need to change both.)

You are in the correct place in the standard, but you need to read a bit further. The Address-Length field does not change meaning based on the Type-of-number, it is always represented the same way. "The Address-Length field is an integer representation of the number of useful semi-octets within the Address-Value
field, i.e. excludes any semi octet containing only fill bits. "
Here is a TP-OA from a mt-forwardsm message captured off an actual mobile network.
0ed0d637396c7ebbcb
and a screenshot of wireshark correctly decoding it.

The MarshalBinary is probably also incorrect. I didn't look into that because I'm only using the decoding portions of the library. Do you want a different PR for that?

Nuts - the section you reference is actually a bit earlier, not a bit further.
The encode and decode should both be fixed in the one PR - they are the two sides of the one problem.
Your decode fix is incomplete due to the "excludes any semi octet containing only fill bits" clause - it doesn't allow for that and will drop a semi-octet when l is odd.
And the tests need to be extended to cover the semi-octet of fill bits case - in both directions.
I'll take a look at it shortly.

I've committed a fix in 690ae30206.
See if that works for you.

Seems fine on the decoding side. Could you tag a new patch release please.

Fix in v0.1.2.


fix(java): add potential missing bean class-loader

As found with previous context class-loaders add Fury class-loader as a fallback instance.

Hi @Maurice-Betzel , thanks for contributing to Fury, could you format the java code by mvn spotless:apply? The code style check CI is failing


Wrap git/hg detectors in try-catch. See #905.

In #905 it was reported that people without mercurial had some trouble with jest -o. I fixed that initially but on some system it seems like childProcess.spawn can throw. It doesn't seem to happen on OS X locally but based on what I read about childProcess.spawn I do believe it can throw. I think it is best to wrap it in a try-catch now – the worst thing that can happen is to report back as not a git or not an hg repo, which it won't be if the commands fail.
I also took a note to write an integration test for this, now that we have integration tests. I will add a few in a follow up.
Test Plan:
Run jest -o with changed files both in a git and hg repo.

@facebook-github-bot import

Thanks for importing. If you are an FB employee go to Phabricator to review.


[GPT-4] Prettier: Format Handlebars

We should be formatting Handlebars files, but there's no good Prettier formatter for them currently.
GPT-4

Closing as won't fix - when some good formatter for Handlebars (Ghost flavoured) comes out, we can revisit this.


CRA Typescript generates "undefined" in HTML for CSS class names from imported styles from non-module CSS/SCSS

Is this a bug report?
Yes.
Did you try recovering your dependencies?
Yes I did the steps, yes I still see my issue.
npm version: 6.9.0
Which terms did you search for in User Guide?
css, typescript, importing stylesheets, importing css, typescript css, css definition, definition, d.ts, etc...
Environment
npx create-react-app --info
npx: installed 91 in 16.462s

Environment Info:

  System:
    OS: Windows 10
    CPU: (8) x64 Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
  Binaries:
    Node: 10.15.3 - C:\Program Files\nodejs\node.EXE
    Yarn: Not Found
    npm: 6.9.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: 42.17134.1.0
    Internet Explorer: 11.0.17134.1
  npmPackages:
    react: ^16.8.6 => 16.8.6
    react-dom: ^16.8.6 => 16.8.6
    react-scripts: 3.0.1 => 3.0.1
  npmGlobalPackages:
    create-react-app: Not Found

Steps to Reproduce
I originally encountered this issue with CRA 2.1.8 and .scss/.module.scss files, but have reproduced it with .css/.module.css files on CRA 2.1.8 and CRA 3.0.1.
The .d.ts files generated by awesome-typed-sass-modules for both a plain .css and the .module.css file are identical. Since all ATSM does is generate the .d.ts files, I believe the issue is on the CRA side as opposed to the ATSM side.

npx create-react-app test-app --typescript
npm i -D awesome-typed-sass-modules
Add test.css and test.module.css, both with a single class definition, ie .test { color: blue; }
Modify package.json to add a script to generate the css definition files "atsm": "atsm -s -c -p \"/src/**/**?(.module).?(s)css\"",
npm run atsm to generate test.css.d.ts and test.module.css.d.ts
Modify App.tsx to import the 2 stylesheets import * as styles from './test.css; import * as moduleStyles from './test.module.css;
Modify the App.tsx to <div className={`${styles.test} ${moduleStyles.test}`}>Test Div

npm start

Expected Behavior

Generated html should contain the proper class names pulled from both the .css and the .module.css files.

Test Div

Actual Behavior
Generated html contains undefined for the non-module css class name. The generated css styles do include an unscoped .test css class, so modifying the html to properly reference test in the class attribute does function correctly. It's just the generated html that is incorrect.

Test Div

Reproducible Demo
Link

We only support .module.(s)css files as CSS Modules. Take a look at https://facebook.github.io/create-react-app/docs/adding-a-css-modules-stylesheet.

@ianschmitz Right, the file I'm working with specifically on this issue I don't want to be a css module that's scoped. That's how I've had it along with a number of other module stylesheets working as expected. I need to switch this one file because it's causing a problem with Javascript interactions.
This is specifically for a non scoped css file that's imported into my tsx.


minor edit for Python3 needed for section'Evaluate the model using another dataset' block 3

[Enter feedback here]
Great demo, minor edit for Python3 needed for section'Evaluate the model using another dataset' block 3. Should be as below:
(a) print statements to 'print()'
(b) add a format to percent so it reads better (second print line)

numSuccesses = predictionsDf.where("""(prediction = 0 AND results = 'Fail') OR
(prediction = 1 AND (results = 'Pass' OR
results = 'Pass w/ Conditions'))""").count()
numInspections = predictionsDf.count()
print("There were", numInspections, "inspections and there were", numSuccesses, "successful predictions")
print("This is a", str('%.2f' % (float(numSuccesses) / float(numInspections) * 100)) + "%", "success rate")

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: cd021b8b-8939-da49-37ee-3889fd8597f3
Version Independent ID: b96a0722-8617-f549-e740-e84bc7db7bd2
Content: Machine learning example with Spark MLlib on HDInsight - Azure
Content Source: articles/hdinsight/spark/apache-spark-machine-learning-mllib-ipython.md
Service: hdinsight
GitHub Login: @sreekzz
Microsoft Alias: v-sreiyer

#reassign:v-akarnase

@rendzina
Thank you for bringing this to our attention.
I've delegated this to content author @v-akarnase, who will review it and offer their insightful opinions.

@apurbasroy , is working on this issue,

#assign:apurbasroy

#unassign:v-akarnase
#assign:sreekzz


Add wasmer-compiler-cranelift

[x] I read the conda-forge documentation and could not find the solution for my problem there.

Issue:

Environment (conda list):

$ conda list

Details about  conda and system ( conda info ):

$ conda info

Embedding the Wasmer runtime in other contexts requires a compiler backend - cranelift is one of the three (llvm and singlepass are the two other ones) and is the only one with reasonable speed that can be used in Windows. It would be awesome if can can add it - happy to do so myself with some guidance 🙏  Thank you! 😄

Yes, there are many other build options, and the matrix of what works (well) with what else is very complicated, and likely to change over time.

https://github.com/wasmerio/wasmer/blob/master/Makefile#L12-L18
https://github.com/wasmerio/wasmer/blob/master/PACKAGING.md

I'd like to see us get to where we had:

the embeddable part
the smallest/lightest CLI-enabled package available that most packages that just needed if they wanted to run some pre-compiled wasm
a reasonable set of options, preferably without having to resort to too many weird things like variants, etc. for the different backends

this could be multiple build numbers, etc.

robust tests

probably not the full upstream suite

Also (and as separate feedstocks) we would also want the language runtimes, starting with https://github.com/wasmerio/wasmer-python, probably.
But, as I said, there's a lot. If you step back through the history of meta.yaml, there were some additional backend tests in, but I had taken them out... if I personally was making a real run of it, due to the matrix of things, i'd probably start with the tests:

pytest
a bunch of fixtures to get an idea of what we don't have


Extended Advertising API

This adds host GAP support for all features provided by Extended Advertising:

multiple advertising instances
advertising TX power configuration
alternate PHYs configuration
large advertising data

Applications are now able to control multiple advertising instances and configure them separately.
btshell application is also extended with support for all new functionalities.

Hi Chris,
thanks for review! I think I've fixed all the issues mentioned, and few other bugs as well that I found while working on your comments:-)
some notes:
in ble_hs_hci_evt_le_adv_set_terminated() I left ble_gap_rx_conn_complete without error check as we need to terminate instance regardless of it (TBH I was thinking on making all HCI event handlers return void as there is nothing we can do on such errors anyway). For clarity, I added comment that this check is omitted on purpose.


DelimitedList API should expose "getListElements" function

Currently, consumers have to do the work of ignoring delimiter tokens in order to extract these elements.

https://github.com/Microsoft/tolerant-php-parser/blob/master/src/Node/DelimitedList.php#L23


Add EOF rule if needed

I added some logic to have EOF (end of file) as a token. The logic is "if there is a terminal rule named 'EOF', checks if the content of the rule is /\z/ and converts it into a Chevrotain-EOF."
WDYT? Is it good like this? Something too much or too less?
CC @msujew

Looking at this PR, I think I should add a test to see whether EOF is working O.o...

@Lotes Thanks! I that was my question in #1048.
Replying on if needed part:

Sounds like we could add EOF as a built-in keyword to the grammar language?
https://github.com/eclipse-langium/langium/discussions/1048#discussioncomment-5912344


Add devcontainer + base config

While doing some development around this plugin I found it nice to have a pre-configured development environment.
Not sure if that's something you'd want this merged, but opening this up as a PR just in case 😉.

I haven't tested (or worked) with devcontainer, let me have a look ;-)


Policy question: changes for platform consistency

We have a couple PRs proposing something that makes platforms more consistent, but isn't exactly true to the C API. Two examples:

stat has a field st_dev on almost all platforms, but on Hurd it is st_fsid. https://github.com/rust-lang/libc/pull/3785 proposes renaming this field to st_dev.
Event APIs in FreeBSD are part of the default C API in Linux, but in a separate package for BSD. https://github.com/rust-lang/libc/pull/3756 proposes adding these anyway.

The reasoning for these suggestions is that it is pretty unlikely for library authors to special case Hurd or BSD, meaning builds will just break on these platforms. By making something consistent with Linux, it is more likely that things work out of the box without library authors needing to test these less common platforms.
I think an argument could be made in either direction, so I am bringing this up as a more general policy question.

@joshtriplett do you have any thoughts here?

but on Hurd it is st_fsid. https://github.com/rust-lang/libc/pull/3785 proposes renaming this field to st_dev.

Note: the Hurd C API also provides the st_dev alias for the st_fsid field. So from the point of view of C, Hurd does provide the st_dev name for the field too.

And also, in the struct stat, it's already st_dev which is defined in libc, it's struct stat64 which wasn't fixed yet to follow the common practice of calling it st_dev.

(put another way: if rust could support different names for the same field, we could ideally provide both st_dev and st_fsid. Otherwise, I'd say better provide the most standard variant, st_dev)

Are there any news on this?

Personally I'm against it.  Attempting to provide compatibility shims in libc would obscure the crate's true purpose.  We've tried the same thing in the Nix crate a few times, and it never turned out well.  Compatibility layers are best built at a higher level than this.


this project not found redis config

hello,this project use postgres database,not found redis config.There is support  use redis store metadata at the back.

Noted, will update.


Problem on Rviz2 map warning

This is my error info:
[INFO] [launch]: All log files can be found below /home/edoardo/.ros/log/2024-11-05-16-55-24-350495-Edo-64923
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [async_slam_toolbox_node-1]: process started with pid [64946]
[ERROR] [launch_ros.actions.lifecycle_node]: Failed to make transition 'TRANSITION_CONFIGURE' for LifecycleNode '/slam_toolbox'
[async_slam_toolbox_node-1] [INFO] [1730822124.630566847] [slam_toolbox]: Node using stack size 40000000

how can I solve It?

Please open questions like this on https://robotics.stackexchange.com/questions/tagged/ros, which is our central Question and Answer site.  You'll get a better answer there, and it will be searchable for the future.
Make sure to include a lot of information on what platform you are using, which ROS distribution you are using, and the exact steps you took.


Fix clean-repo-tabs wiki count calculating

The code assumes the page counter always exists in a wiki, which is not the case if a page named "Home" doesn't exist (and thus failing back to a simple list view).
Test URLs

Wiki with "Home" page: https://github.com/pixiebrix/pixiebrix-extension/wiki
Wiki without "Home" page: https://github.com/refined-github/refined-github/wiki

Screenshot

Don’t mind me I’m just passively QAing Refined GitHub 😌

I would say that's expected. Writing our wiki means we'll be dogfooding our features there more, so it's expected these stuff comes up

Let's never use Projects then.


Maximum downlink sizes are enforced when downlinks are enqueued, not when they are sent

Describe the bug
When you queue a downlink to Helium, the network checks it against the current maximum downlink size, and rejects it if it is oversized. This appears to be the last size policing that happens. If the device subsequently uplinks at a higher spreading factor, with a smaller maximum packet size, the network doesn't police the size, and can send an oversize packet. This might violate local RF regulations, and might lead to the packet being rejected by the end node.
To Reproduce
These steps verified in AU915 - but presumably will work in other regions too.

Send an uplink at a high datarate, such as SF7, so the network knows your end node is at SF7
Queue a large uplink (ie. 201 bytes), and verify that it was not rejected, and is waiting in the queue
Send an uplink at a low datarate, such as SF12, for which the max payload in RX1 is smaller (ie. 53)
You should see the network send the oversized packet, and the gateway dutifully transmit it. But the end-node may or may not receive it, depending on its radio driver.

Expected behavior
The packet size should be validated when the downlink is removed from the queue, and after any FOpts have been added to it. If it is oversized for both RX windows, you can then decide whether to drop it (safest - then the queue can't stall) or attempt it later. You probably shouldn't police the packet size on queue entry at all, other than to make sure it is <= 242.
Device Info

Environment: Production
Console Device ID: c83da7c6-67e1-4fe3-b1c6-9b027d252028
Device dev eui: 0016C001F000ABA0
Region: AU915
Hotspots: Perfect Chambray Panther

Example of the issue:
{
    "category": "downlink",
    "data": {
      "devaddr": "07000048",
      "fcnt": 3,
      "hotspot": {
        "channel": 69,
        "frequency": 926.3,
        "id": "11Dss6gB8cnDbiVJY3594qvMkJ1oMKCCsWKRLDBgVW9rUKtr7EQ",
        "lat": -31.94758088674867,
        "long":<PHONE_NUMBER>7824264,
        "name": "perfect-chambray-panther",
        "rssi": 27,
        "snr": 0,
        "spreading": "SF12BW500"      <------------------------------------------ Large spreading factor
      },
      "integration": {
        "id": "console_websocket",
        "name": "Console downlink tool",
        "status": "success"
      },
      "mac": [],
      "payload": "YAcAAEgAAwB<....redacted....>TEVUWSdw==",
      "payload_size": 214,                 <------------------------------------------ Payload much larger than 53
      "port": 64
    },
    "description": "Unconfirmed data down sent",
    "device_id": "c83da7c6-67e1-4fe3-b1c6-9b027d252028",
    "frame_down": 3,
    "frame_up": null,
    "id": "30e32722-3606-4525-85a0-d044f5b0d1fb",
    "organization_id": "fa4a5087-c79c-4f12-9567-edcd313297d7",
    "reported_at": "1650604612608",
    "router_uuid": "896d5a74-c63c-42be-8ffe-009e36798894",
    "sub_category": "downlink_unconfirmed"
  },

@jdgemm Is this fixed now? I know the maximum packets sizes etc. are being fixed with the new erlang-lorawan library, but I didn't expect that to solve this problem.