Control for OS/Package/Compiler differences

Would it make sense to create a "canonical" .VHD (and docker image) to include in with PerfKitBenchmarker that has all the appropriate libraries, compilers, and benchmark packages pre-installed?
Since it's possible to upload and use your own VHD/Container with all the cloud providers, this would make it possible to eliminate base OS differences as a source of problems with the benchmarks, and a source of argument for benchmark variability.
A pre-req for using perfkitbenchmarker could then be to upload the canonical image into your account/subscription for use by the tool.
(There's nothing really stopping individuals from doing this today, I suppose.  Just wondering if a "blessed" version makes sense)

We are staying away from custom images because we want to see the perf of
the vendor provided images.
The hiccups in config are things we can communicate to Canonical to fix on
their end.
On Mar 6, 2015 12:53 AM, "Tim Harris"<EMAIL_ADDRESS>wrote:

Would it make sense to create a "canonical" .VHD (and docker image) to
include in with PerfKitBenchmarker that has all the appropriate libraries,
compilers, and benchmark packages pre-installed?
Since it's possible to upload and use your own VHD/Container with all the
cloud providers, this would make it possible to eliminate base OS
differences as a source of problems with the benchmarks, and a source of
argument for benchmark variability.
A pre-req for using perfkitbenchmarker could then be to upload the
canonical image into your account/subscription for use by the tool.
(There's nothing really stopping individuals from doing this today, I
suppose. Just wondering if a "blessed" version makes sense)
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/PerfKitBenchmarker/issues/150.

Fair enough.  The biggest hits I'm seeing to end-to-end runtime right now are coming from "getting the environment set up" -- because of packages not being installed correctly on the vendor supplied images.

Which in itself is interesting in a way.
On Mar 7, 2015 7:00 PM, "Tim Harris"<EMAIL_ADDRESS>wrote:

Fair enough. The biggest hits I'm seeing to end-to-end runtime right now
are coming from "getting the environment set up" -- because of packages not
being installed correctly on the vendor supplied images.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/PerfKitBenchmarker/issues/150#issuecomment-77701096
.

Before I close this out I should mention there is a --image option for using custom images.
Should we change this to a feature request to ignore installing packages to allow truly custom images?

I am planning to use the --image option to handle this for own use case, yes :-)
I think there are two ways to go:

A flag to not install packages -- this would be fine for me.
Check to see if a package is already installed, and only attempt installation if it's not.  -- This would also work for me, and would probably be a little more robust.

Let's go the check if already installed route.  Thought we already did this.

We do verify that packages aren't installed multiple times during the same
run, and package installs will be a noop if the system already has it.
Anything compiled from source will always be installed, however.

It might... (or it may just rely on the package installer to say "I already have this")
I'm looking for a way to make it easy to compare results between different instance types and know that what went into the end to end runtime is the same... i.e. I don't want to compare a result where I have the overhead of package installs on one instance and not on another....
For my use case, taking the --image route will solve this problem.


ES5 compatibility in latest version

We updated to version 0.6.53 and noticed that the new dependency of locale-codes is ES6.
This is causing problems similar to https://github.com/d3plus/d3plus-common/issues/100 with ES5 compatibility.
Not a problem as we have pinned to an older version but wanted to make you aware.
Many thanks :)

Ahhh yikes, good catch. We're only using a very small part of that library, so it should be easy for us to fix this.

Oh that is great news, I will look out for the update. Thank you for your work on this.

@cheryllaird I just released v0.6.54 with a fix, let me know if that doesn't work for you!

Great, we are now on the latest version and all looks good. Thanks.


feature patients list

@fzaninotto @tony-shannon
This is PR for Patients list / create / edit / show page:

Patient list was changed as children part for custom ListTemplate-component;
Create, Show and Edit pages for the patient were created as children for corresponded templates;
New patient list can be used as a homepage (like in the Scotland version)

Results on the video:

for Scotland-version:
https://drive.google.com/file/d/1v-0DybmK9B6mSxaHvigo78ob9Gt5zbZv/view?usp=sharing
for Showcase-version:
https://drive.google.com/file/d/1dLpRiXqR-dnvSB5W48M_kYvtFcrH6Zl5/view?usp=sharing

What should be done later:

Now Patients and Charts use dummy data. Required methods should be added to the server side:

to GET patients list;
to GET information about one patient
to CREATE new patient
to UPDATE info about the patient

When these API methods will be added to the server side we should remove dummyData using from the frontend
Styles fixing

@fzaninotto
Francois, I fixed all notes, besides:

notes about ShowButton (it doesn't work with theme - I don't understand why?)
note about dummyData in Chart page

Could you please look at my answers for these notes and answer on them?

@fzaninotto
Francois, I fixed note in dataProvider. Only issue with ShowButton left

@fzaninotto
Hi, Francois. The last issue isn't actual more, because Tony decided to change behavior of the button. It isn't ShowButton more.
Could you please approve this PR?
Button sizes in theme will be added in the next PR, for styling changes.

Done

thank you @fzaninotto and @BogdanScherban


"Thailand" Hotstar

Checklist

[X] I'm reporting a new site support request
[X] I've verified that I'm running yt-dlp version 2021.12.27. (update instructions)
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that none of provided URLs violate any copyrights or contain any DRM to the best of my knowledge
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and am willing to share it if required

Region
Thailand
Example URLs
https://www.hotstar.com/th/tv/snowdrop/1260075599/episode-5/1260075826
Description
Requesting support for "Thailand" Hotstar, I used the same command as India and was told "ERROR: Unsupported URL"
Verbose log
C:\Users\Administrator\Desktop\mp4jiemi>yt-dlp -k --allow-unplayable-formats --cookies-from-browser edge "https://www.hotstar.com/th/tv/snowdrop/1260075599/episode-5/1260075826"
WARNING: You have asked for UNPLAYABLE formats to be listed/downloaded. This is a developer option intended for debugging.
         If you experience any issues while using this option, DO NOT open a bug report
[Cookies] Extracting cookies from edge
[Cookies] Extracted 2090 cookies from edge
[generic]<PHONE_NUMBER>: Requesting header
WARNING: [generic] Falling back on generic information extractor.
[generic]<PHONE_NUMBER>: Downloading webpage
[generic]<PHONE_NUMBER>: Extracting information
ERROR: Unsupported URL: https://www.hotstar.com/th/tv/snowdrop/1260075599/episode-5/1260075826

You are using auf

You are using auf

What is 'auf'? Is there any way to download it?

--allow-unplayable-formats

--allow-unplayable-formats

But I deleted '--allow-unplayable-formats' and was told it was not supported
C:\Users\Administrator\Desktop\mp4jiemi>yt-dlp -vU -k --cookies-from-browser edge "https://www.hotstar.com/th/tv/snowdrop/1260075599/episode-5/1260075826"
[debug] Command-line config: ['-vU', '-k', '--cookies-from-browser', 'edge', 'https://www.hotstar.com/th/tv/snowdrop/1260075599/episode-5/1260075826']
.
.
.
[debug] [generic] Extracting URL: https://www.hotstar.com/th/tv/snowdrop/1260075599/episode-5/1260075826
[generic]<PHONE_NUMBER>: Requesting header
WARNING: [generic] Falling back on generic information extractor.
[generic]<PHONE_NUMBER>: Downloading webpage
[generic]<PHONE_NUMBER>: Extracting information
[debug] Looking for video embeds
**ERROR: Unsupported URL: https://www.hotstar.com/th/tv/snowdrop/1260075599/episode-5/1260075826**
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1353, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1423, in __extract_info
  File "yt_dlp\extractor\common.py", line 599, in extract
  File "yt_dlp\extractor\generic.py", line 3829, in _real_extract
yt_dlp.utils.UnsupportedError: Unsupported URL: https://www.hotstar.com/th/tv/snowdrop/1260075599/episode-5/1260075826

It does seem like Hotstar Thailand support might be missing, but that particular show is part of Disney+ Hotstar so it probably has DRM anyway.

It does seem like Hotstar Thailand support might be missing, but that particular show is part of Disney+ Hotstar so it probably has DRM anyway.

Ok, I see what you mean, thanks for the answer

I thought of generalizing hs earlier this year but Wikipedia said they were going to expand aggressively in 2021. Now that the year has ended, I'll think about doing it in first quarter of 2022.
That being said, this issue helps no one.
A proper issue would be movie, episode and series urls atleast for each country and all urls must be free.


Can't import tensorflow

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): just tried to import it.
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10 x64
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): tried 1.10 down to 1.4, none worked, only cpu versions.
Python version: 3.7 (also tried with 3.6)
CPU model and memory: Intel core-i3 6100 - Skylake architecture [Tried on another system with the same OS and even more advanced cpu, still didn't work.]
Exact command to reproduce: import tensorflow

Describe the problem
Can't import. I double checked everything. From github and stackoverflow issues to whether or not my cpu supports avx instructions (it does) and even enabled intel virutalization option from boot. (Please consider these lines before tagging this as a duplicate.)
Source code / logs
Traceback (most recent call last):
File "FlowTest.py", line 15, in
import tensorflow
File "C:\Users\there\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_init_.py", line 22, in
from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
File "C:\Users\there\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python_init_.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "C:\Users\there\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "C:\Users\there\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper
fp, pathname, description = imp.find_module('_pywrap_tensorflow_internal', [dirname(file)])
File "C:\Users\there\AppData\Local\Programs\Python\Python37\lib\imp.py", line 297, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named '_pywrap_tensorflow_internal'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\there\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\there\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\there\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_import_helper
import _pywrap_tensorflow_internal
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/install_sources#common_installation_problems
for some common reasons and solutions.  Include the entire stack trace
above this error message when asking for help.

I am inclined to think this is an installation issue.
Could you check C:\Users\there\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\ if it actually has `_pywrap_tensorflow_internal.dll" ?

I am inclined to think this is an installation issue.
Could you check C:\Users\there\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\ if it actually has `_pywrap_tensorflow_internal.dll" ?

I checked, and it wasn't there.

Then there is our problem. What command did you use to install?

Trying pip install didn't work, then I found this which recommends using pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-0.12.0-py3-none-any.whl, tried to get a little creative and changed the version to 1.10, 1.9 and so on, all resulting in the same problem.

The URL you used is the macos URL, it definitely wont work.
Could you share the full output of pip install tensorflow using pastebin?

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

Are you using 32 bit python by any chance?
Could you share the output of pip --version

No, I'm using 65 bit python.

Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32
And as for pip,
pip 18.0 from c:\users\there\appdata\local\programs\python\python37\lib\site-packages\pip (python 3.7)

Ah, it is because this is python 3.7.
The same package we have for python 3.6 should work fine.
Could you try
pip install --upgrade https://files.pythonhosted.org/packages/04/7e/a484776c73b1431f2b077e13801531e966113492552194fe721e6ef88d5d/tensorflow-1.10.1-cp36-cp36m-manylinux1_x86_64.whl

I tried.

tensorflow-1.10.1-cp36-cp36m-manylinux1_x86_64.whl is not a supported wheel on this platform.

I am so sorry, I linked the linux package.
This is the package you need:
https://files.pythonhosted.org/packages/0e/2a/c3fe6035f0a8726e5b210680af3ccaf826f4a64ce7306e57017aba749447/tensorflow-1.10.0-cp36-cp36m-win_amd64.whl
If this also does not work could you:

Download the file
rename by replacing all 36 fields with 37
install the renamed whl file, by providing its path to the pip install command.

I did, but it opened another entire can of worms. (I have importlib listed in my pip packages)
`Traceback (most recent call last):
File "C:\Users\there\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 14, in swig_import_helper
return importlib.import_module(mname)
File "C:\Users\there\AppData\Local\Programs\Python\Python37\lib\importlib_init_.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 670, in _load_unlocked
File "", line 583, in module_from_spec
File "", line 1043, in create_module
File "", line 219, in _call_with_frames_removed
ImportError: DLL load failed: The specified module could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\there\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\there\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 17, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\there\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 16, in swig_import_helper
return importlib.import_module('pywrap_tensorflow_internal')
File "C:\Users\there\AppData\Local\Programs\Python\Python37\lib\importlib_init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "FlowTest.py", line 15, in
import tensorflow
File "C:\Users\there\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_init_.py", line 22, in
from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
File "C:\Users\there\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python_init_.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "C:\Users\there\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "C:\Users\there\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 14, in swig_import_helper
return importlib.import_module(mname)
File "C:\Users\there\AppData\Local\Programs\Python\Python37\lib\importlib_init_.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 670, in _load_unlocked
File "", line 583, in module_from_spec
File "", line 1043, in create_module
File "", line 219, in _call_with_frames_removed
ImportError: DLL load failed: The specified module could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\there\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\there\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 17, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\there\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 16, in swig_import_helper
return importlib.import_module('pywrap_tensorflow_internal')
File "C:\Users\there\AppData\Local\Programs\Python\Python37\lib\importlib_init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/install_sources#common_installation_problems
for some common reasons and solutions.  Include the entire stack trace
above this error message when asking for help.`

Uhhh, guys?

With python 3.7, the issue may be a duplicate of https://github.com/tensorflow/tensorflow/issues/20517

I did the same with Python 3.6 and it imports successfully, but now the script doesn't run completely (I'm using the code used by google here
and instead, gives me this error [Tried on both anaconda and outside of it, got the same result]
2018-09-26 19:52:12.039502: I T:\src\github\tensorflow\tensorflow\core\platform\cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
I even tried to install it from source so I could config it with my current cpu instructions, but I ran into a problem when I ran this command from powershell.
bazel build --config=opt //tensorflow/tools/pip_package:build_pip_package
Gave
ERROR: Analysis of target '//tensorflow/tools/pip_package:build_pip_package' failed; build aborted: no such package '@gif_archive//': java.io.IOException: Error downloading [https://mirror.bazel.build/ufpr.dl.sourceforge.net/project/giflib/giflib-5.1.4.tar.gz, http://pilotfiber.dl.sourceforge.net/project/giflib/giflib-5.1.4.tar.gz] to C:/users/there/_bazel_there/5v74hkvm/external/gif_archive/giflib-5.1.4.tar.gz: All mirrors are down: [GET returned 403 Forbidden]

Nagging Assignee @gunan: It has been 15 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Hello?
Guys?

This message is not an error message, it just informs you that TF can run faster on your machine:
2018-09-26 19:52:12.039502: I T:\src\github\tensorflow\tensorflow\core\platform\cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2

So if this is the only error you see, TF is running fine on your system.
About the URLs, I manually verified that all of them are accessible and online. It is probably some issue with your internet connection, or a firewall if you are behind one.

Nagging Assignee @gunan: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @gunan: It has been 32 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @gunan: It has been 46 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

I experienced this issue when I installed tensorflow using conda. Then I uninstalled tensorflow and installed it using pip3 command. The issue has been resolved.

Hello there,
I'm installing tensorflow on anaconda but I get the compiler error, please help me regarding this issue
ImportError                               Traceback (most recent call last)
~\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in
57
---> 58   from tensorflow.python.pywrap_tensorflow_internal import *
59   from tensorflow.python.pywrap_tensorflow_internal import version
~\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py in
27             return _mod
---> 28     _pywrap_tensorflow_internal = swig_import_helper()
29     del swig_import_helper
~\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py in swig_import_helper()
23             try:
---> 24                 _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
25             finally:
~\Anaconda3\lib\imp.py in load_module(name, file, filename, details)
241         else:
--> 242             return load_dynamic(name, filename, file)
243     elif type_ == PKG_DIRECTORY:
~\Anaconda3\lib\imp.py in load_dynamic(name, path, file)
341             name=name, loader=loader, origin=path)
--> 342         return _load(spec)
343
ImportError: DLL load failed with error code -1073741795
During handling of the above exception, another exception occurred:
ImportError                               Traceback (most recent call last)
 in
----> 1 import tensorflow as tf
2 a= tf.constant(10)
3 b= tf.constant(10)
4 print(sess.run(a+b))
~\Anaconda3\lib\site-packages\tensorflow_init_.py in
22
23 # pylint: disable=g-bad-import-order
---> 24 from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
25
26 from tensorflow._api.v1 import app
~\Anaconda3\lib\site-packages\tensorflow\python_init_.py in
47 import numpy as np
48
---> 49 from tensorflow.python import pywrap_tensorflow
50
51 # Protocol buffers
~\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in
72 for some common reasons and solutions.  Include the entire stack trace
73 above this error message when asking for help.""" % traceback.format_exc()
---> 74   raise ImportError(msg)
75
76 # pylint: enable=wildcard-import,g-import-not-at-top,unused-import,line-too-long
ImportError: Traceback (most recent call last):
File "C:\Users\w\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\w\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\w\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\w\Anaconda3\lib\imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\w\Anaconda3\lib\imp.py", line 342, in load_dynamic
return _load(spec)
ImportError: DLL load failed with error code -1073741795

Looks like the issue was resolved?
@theerfan could you confirm?

Yeah, it was.
My apologies for forgetting to close the issue.

so @theerfan what's the solution to that problem.I'm getting the same error.

Guys I'm having same issue,

I have Cuda v10.0 installed
created a path CUDA_PATH
moved cudnn64_7.dll in cuda/lib
installed tensorflow-gpu

I'm using py -3.7, and nvidia 1050Ti
but still getting this error
import tensorflow as tf
`Traceback (most recent call last):
File "C:\Users\Elton1021\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\platform\self_check.py", line 87, in preload_check
ctypes.WinDLL(build_info.cudnn_dll_name)
File "C:\Users\Elton1021\AppData\Local\Programs\Python\Python37\lib\ctypes_init_.py", line 364, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\Elton1021\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow_init_.py", line 28, in
from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
File "C:\Users\Elton1021\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python_init_.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "C:\Users\Elton1021\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 30, in
self_check.preload_check()
File "C:\Users\Elton1021\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\platform\self_check.py", line 97, in preload_check
% (build_info.cudnn_dll_name, build_info.cudnn_version_number))
ImportError: Could not find 'cudnn64_7.dll'. TensorFlow requires that this DLL be installed in a directory that is named in your %PATH% environment variable. Note that installing cuDNN is a separate step from installing CUDA, and this DLL is often found in a different directory from the CUDA DLLs. You may install the necessary DLL by downloading cuDNN 7 from this URL: https://developer.nvidia.com/cudnn`
I'd really appreciate your help, Thank you

Hi, could anyone help with the problem below? :( It'd be a great booster as im really just a newby. Similar or same problem may have shared with the community but im really new with this.
ImportError                               Traceback (most recent call last)
d:\python\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py in swig_import_helper()
13         try:
---> 14             return importlib.import_module(mname)
15         except ImportError:
d:\python\lib\importlib_init_.py in import_module(name, package)
125             level += 1
--> 126     return _bootstrap._gcd_import(name[level:], package, level)
127
d:\python\lib\importlib_bootstrap.py in _gcd_import(name, package, level)
d:\python\lib\importlib_bootstrap.py in find_and_load(name, import)
d:\python\lib\importlib_bootstrap.py in find_and_load_unlocked(name, import)
d:\python\lib\importlib_bootstrap.py in _load_unlocked(spec)
d:\python\lib\importlib_bootstrap.py in module_from_spec(spec)
d:\python\lib\importlib_bootstrap_external.py in create_module(self, spec)
d:\python\lib\importlib_bootstrap.py in _call_with_frames_removed(f, *args, **kwds)
ImportError: DLL load failed: The specified module could not be found.
During handling of the above exception, another exception occurred:
ModuleNotFoundError                       Traceback (most recent call last)
d:\python\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in
57
---> 58   from tensorflow.python.pywrap_tensorflow_internal import *
59   from tensorflow.python.pywrap_tensorflow_internal import version
d:\python\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py in
16             return importlib.import_module('_pywrap_tensorflow_internal')
---> 17     _pywrap_tensorflow_internal = swig_import_helper()
18     del swig_import_helper
d:\python\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py in swig_import_helper()
15         except ImportError:
---> 16             return importlib.import_module('_pywrap_tensorflow_internal')
17     _pywrap_tensorflow_internal = swig_import_helper()
d:\python\lib\importlib_init_.py in import_module(name, package)
125             level += 1
--> 126     return _bootstrap._gcd_import(name[level:], package, level)
127
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'
During handling of the above exception, another exception occurred:
ImportError                               Traceback (most recent call last)
 in
4 import sys
5 import tarfile
----> 6 import tensorflow as tf
7 import zipfile
8
d:\python\lib\site-packages\tensorflow_init_.py in
20
21 # pylint: disable=g-bad-import-order
---> 22 from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
23
24 try:
d:\python\lib\site-packages\tensorflow\python_init_.py in
47 import numpy as np
48
---> 49 from tensorflow.python import pywrap_tensorflow
50
51 # Protocol buffers
d:\python\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in
72 for some common reasons and solutions.  Include the entire stack trace
73 above this error message when asking for help.""" % traceback.format_exc()
---> 74   raise ImportError(msg)
75
76 # pylint: enable=wildcard-import,g-import-not-at-top,unused-import,line-too-long
ImportError: Traceback (most recent call last):
File "d:\python\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 14, in swig_import_helper
return importlib.import_module(mname)
File "d:\python\lib\importlib_init_.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 658, in _load_unlocked
File "", line 571, in module_from_spec
File "", line 922, in create_module
File "", line 219, in _call_with_frames_removed
ImportError: DLL load failed: The specified module could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "d:\python\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "d:\python\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 17, in
_pywrap_tensorflow_internal = swig_import_helper()
File "d:\python\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 16, in swig_import_helper
return importlib.import_module('pywrap_tensorflow_internal')
File "d:\python\lib\importlib_init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'
Failed to load the native TensorFlow runtime.

Now I am using tensorflow as a backend with Keras.
Best regards,
Khalil Ur Rehman
Student at Jiangsu University, China

From: azrnzhrl<EMAIL_ADDRESS>Sent: Sunday, October 27, 2019 5:43:14 PM
To: tensorflow/tensorflow<EMAIL_ADDRESS>Cc: khaliltalib277<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [tensorflow/tensorflow] Can't import tensorflow (#22300)
Hi, could anyone help with the problem below? :( It'd be a great booster as im really just a newby. Similar or same problem may have shared with the community but im really new with this.
ImportError Traceback (most recent call last)
d:\python\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py in swig_import_helper()
13 try:
---> 14 return importlib.import_module(mname)
15 except ImportError:
d:\python\lib\importlib_init_.py in import_module(name, package)
125 level += 1
--> 126 return _bootstrap._gcd_import(name[level:], package, level)
127
d:\python\lib\importlib_bootstrap.py in _gcd_import(name, package, level)
d:\python\lib\importlib_bootstrap.py in find_and_load(name, import)
d:\python\lib\importlib_bootstrap.py in find_and_load_unlocked(name, import)
d:\python\lib\importlib_bootstrap.py in _load_unlocked(spec)
d:\python\lib\importlib_bootstrap.py in module_from_spec(spec)
d:\python\lib\importlib_bootstrap_external.py in create_module(self, spec)
d:\python\lib\importlib_bootstrap.py in _call_with_frames_removed(f, *args, **kwds)
ImportError: DLL load failed: The specified module could not be found.
During handling of the above exception, another exception occurred:
ModuleNotFoundError Traceback (most recent call last)
d:\python\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in
57
---> 58 from tensorflow.python.pywrap_tensorflow_internal import *
59 from tensorflow.python.pywrap_tensorflow_internal import version
d:\python\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py in
16 return importlib.import_module('_pywrap_tensorflow_internal')
---> 17 _pywrap_tensorflow_internal = swig_import_helper()
18 del swig_import_helper
d:\python\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py in swig_import_helper()
15 except ImportError:
---> 16 return importlib.import_module('_pywrap_tensorflow_internal')
17 _pywrap_tensorflow_internal = swig_import_helper()
d:\python\lib\importlib_init_.py in import_module(name, package)
125 level += 1
--> 126 return _bootstrap._gcd_import(name[level:], package, level)
127
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'
During handling of the above exception, another exception occurred:
ImportError Traceback (most recent call last)
in
4 import sys
5 import tarfile
----> 6 import tensorflow as tf
7 import zipfile
8
d:\python\lib\site-packages\tensorflow_init_.py in
20
21 # pylint: disable=g-bad-import-order
---> 22 from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
23
24 try:
d:\python\lib\site-packages\tensorflow\python_init_.py in
47 import numpy as np
48
---> 49 from tensorflow.python import pywrap_tensorflow
50
51 # Protocol buffers
d:\python\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in
72 for some common reasons and solutions. Include the entire stack trace
73 above this error message when asking for help.""" % traceback.format_exc()
---> 74 raise ImportError(msg)
75
76 # pylint: enable=wildcard-import,g-import-not-at-top,unused-import,line-too-long
ImportError: Traceback (most recent call last):
File "d:\python\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 14, in swig_import_helper
return importlib.import_module(mname)
File "d:\python\lib\importlib_init_.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 658, in _load_unlocked
File "", line 571, in module_from_spec
File "", line 922, in create_module
File "", line 219, in _call_with_frames_removed
ImportError: DLL load failed: The specified module could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "d:\python\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "d:\python\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 17, in
_pywrap_tensorflow_internal = swig_import_helper()
File "d:\python\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 16, in swig_import_helper
return importlib.import_module('pywrap_tensorflow_internal')
File "d:\python\lib\importlib_init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'
Failed to load the native TensorFlow runtime.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/tensorflow/tensorflow/issues/22300?email_source=notifications&email_token=AGK4XPYUZ7EHXE7WM4UL3D3QQVPDFA5CNFSM4FVLZ222YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECK2FSY#issuecomment-546677451, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGK4XP2CU5EHP2DMPJT5BLLQQVPDFANCNFSM4FVLZ22Q.

Traceback (most recent call last):
File "", line 1, in
File "C:\Users\Robuca\Anaconda3\envs\finalthesis\lib\site-packages\tensorflow_init_.py", line 24, in
from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
File "C:\Users\Robuca\Anaconda3\envs\finalthesis\lib\site-packages\tensorflow\python_init_.py", line 59, in
from tensorflow.core.framework.graph_pb2 import *
File "C:\Users\Robuca\Anaconda3\envs\finalthesis\lib\site-packages\tensorflow\core\framework\graph_pb2.py", line 15, in
from tensorflow.core.framework import node_def_pb2 as tensorflow_dot_core_dot_framework_dot_node__def__pb2
File "C:\Users\Robuca\Anaconda3\envs\finalthesis\lib\site-packages\tensorflow\core\framework\node_def_pb2.py", line 15, in
from tensorflow.core.framework import attr_value_pb2 as tensorflow_dot_core_dot_framework_dot_attr__value__pb2
File "C:\Users\Robuca\Anaconda3\envs\finalthesis\lib\site-packages\tensorflow\core\framework\attr_value_pb2.py", line 15, in
from tensorflow.core.framework import tensor_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__pb2
File "C:\Users\Robuca\Anaconda3\envs\finalthesis\lib\site-packages\tensorflow\core\framework\tensor_pb2.py", line 15, in
from tensorflow.core.framework import resource_handle_pb2 as tensorflow_dot_core_dot_framework_dot_resource__handle__pb2
File "C:\Users\Robuca\Anaconda3\envs\finalthesis\lib\site-packages\tensorflow\core\framework\resource_handle_pb2.py", line 91, in
module = 'tensorflow.core.framework.resource_handle_pb2'
TypeError: expected bytes, Descriptor found
plsss help me to fix this..
Im using tensorflow cpu, I dont have graphics card..

Traceback (most recent call last):
File "", line 1, in
File "C:\Users\ASLAM\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow_init_.py", line 24, in
from tensorflow.python import *
File "C:\Users\ASLAM\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python_init_.py", line 52, in
from tensorflow.core.framework.graph_pb2 import *
File "C:\Users\ASLAM\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\core\framework\graph_pb2.py", line 6, in
from google.protobuf import descriptor as _descriptor
File "C:\Users\ASLAM\AppData\Local\Programs\Python\Python36\lib\site-packages\google\protobuf\descriptor.py", line 47, in
from google.protobuf.pyext import _message
ImportError: DLL load failed: The specified procedure could not be found.
pls help anyone

Locking as resolved. See the rest of the comment and if that doesn't help please open a new issue, filling in the issue template
https://github.com/tensorflow/tensorflow/issues/36167#issuecomment-577886156
#36167 #36151 #36138 #36054 #36045 #36020 #36003 #35988 #35903 #35880 #35865 #35805 #35789 #35773 #35772 #35767 #35766 #35749 #35721 #35618 #35204


Migrate to ESM and Move generated into a .kita folder

.kita folder would follow the dotfolder convention like many other frameworks, e.g .next and .astro. This would solve many other problems related to files inside node_modules and the generated reference.

Maybe go back to a generated file inside source is a better idea.

Related: https://github.com/orgs/pnpm/discussions/7844


Add logging to the BigtableConnection constructor.

This adds error-level log lines when an exception is raised from the
BigtableConnection constructor. This is intended primarily to aid in
debugging hbase shell issues.

LGTM


Help explain GUI.

Here there. Can you explain how to set up a GUI for this please

Hey @deepsynthsec, can you specify what you mean? This program is designed to work with a GUI (your computer screen, for example). You just need to run the code with a browser driver like ChromeDriver installed and you shouldn't run into any issues

Yes I figured that out thank you. But it stilo has a trackback error after trying to run it.
It executes fine until you press any key after you are in the chat.
Basically says that the log file doesn't exist

@deepsynthsec yes, someone else also mentioned this error in https://github.com/jasperan/whatsapp-osint/issues/6#event-7280769674
We're on it and fixing it, make sure to turn notifications for the other issue and we'll give updates there

Thank you so much. This project has massive potential. Is there anything I can do to help

now i am just getting the log error
   whatsapp-osint   git:(master) sudo python whatsappbeacon.py
Traceback (most recent call last):
File "/home/prophecy/Documents/git/whatsapp-osint/whatsappbeacon.py", line 11, in
from utils.logs_manager import Logs

@deepsynthsec mind pulling and trying again? Pull request #7 has been merged


Dynamic data loading

Fixed a bug where the total number of enemies killed stat would not increment if all quests were completed for the enemy you are killing
Moved the test data into one file and made them more explicit in what they are changing
Added command parsing to chat
Added load command for loading test data dynamically
Usage: /load name-of-test-data

Looks interesting! I tried to use the command parsing with the /load command but chat kept repeating the message and nothing happened. I was on Linux and tested with both Firefox and Chromium. I'll test on Windows later.

None of this should be OS dependent. Are you sure you had the branch checked out and up to date? It shouldn't treat any text as a normal message if it starts with a forward slash

I did git status and git pull again to double check, but I'm in the right branch "dynamic-data-loading". Maybe I'm looking in the wrong place? I click on the green log button near the bottom left and type my command there. Is that correct? Is there another chat?

I got the load command to work on windows. I'm not sure what's up with my Linux environment. There is an issue with Firefox in that you can't type dashes "-", but everything works fine in Google Chrome.

@EthanVieira I could look into the Firefox issue to see if what's up with the dashes if you are fine with that. I would do it on this branch.

@EthanVieira I could look into the Firefox issue to see if what's up with the dashes if you are fine with that. I would do it on this branch.

You can if you'd like. Ultimately I don't think it's that huge of a deal as long as those who are testing it are using chrome.

It has been nearly three weeks, so I'm merging.


Add monadic operations to Lazy

i.e. add map, flatMap, flatten... and ensure the monadic laws are fulfilled.

I'm not sure about this. Is this useful?
Will push this issue to the backlog.

Done with #411


Simplify side conditions

Fixes #1416

Review checklist
The author performs the actions on the checklist. The reviewer evaluates the work and checks the boxes as they are completed.

[ ] Summary. Write a summary of the changes. Explain what you did to fix the issue, and why you did it. Present the changes in a logical order. Instead of writing a summary in the pull request, you may push a clean Git history.
[ ] Documentation. Write documentation for new functions. Update documentation for functions that changed, or complete documentation where it is missing.
[ ] Tests. Write unit tests for every change. Write the unit tests that were missing before the changes. Include any examples from the reported issue as integration tests.
[ ] Clean up. The changes are already clean. Clean up anything near the changes that you noticed while working. This does not mean only spatially near the changes, but logically near: any code that interacts with the changes!

To debug the performance regression, you can try the Kore-level profiler with speedscope: https://github.com/kframework/kore/wiki/Profiling#kore-profiling

Error on test/sidecondition/remove-12-spec.k:
kore-exec: [1929158] Error (ErrorException):
    Internal error: expected simplified results, but found:
        \and{_PREDICATE{}}(
            /* term: */
            /* D Sfa */ \top{_PREDICATE{}}(),
        \and{_PREDICATE{}}(
            /* predicate: */
            \and{_PREDICATE{}}(
                /* Sfc */
                \equals{SortBool{}, _PREDICATE{}}(
                    /* Fl Fn D Sfa Cl */ \dv{SortBool{}}("false"),
                    /* Fl Fn D Sfc */
                    Lbl'Unds'in'Unds'keys'LParUndsRParUnds'MAP'Unds'Bool'Unds'KItem'Unds'Map{}(
                        /* Fl Fn D Sfc */
                        /* Inj: */ inj{SortMyId{}, SortKItem{}}(
                            /* Fl Fn D Sfa */ RuleVarY:SortMyId{}
                        ),
                        /* Fl Fn D Sfa */ RuleVarMAP:SortMap{}
                    )
                ),
            \and{_PREDICATE{}}(
                /* Sfc */
                \forall{_PREDICATE{}}(
                    Rulex:SortKItem{},
                    /* Sfc */
                    \ceil{SortMap{}, _PREDICATE{}}(
                        /* Fn Spc */
                        /* InternalMap: */ Lbl'Unds'Map'Unds'{}(
                            /* element: */ Lbl'UndsPipe'-'-GT-Unds'{}(
                                /* Fl Fn D Sfc */
                                /* Inj: */ inj{SortMyId{}, SortKItem{}}(
                                    /* Fl Fn D Sfa */ RuleVarX:SortMyId{}
                                ),
                                /* Fl Fn D Sfa */ Rulex:SortKItem{}
                            ),
                            /* opaque child: */ /* Fl Fn D Sfa */
                            RuleVarMAP:SortMap{}
                        )
                    )
                ),
                /* Sfa */
                \not{_PREDICATE{}}(
                    /* Spa */
                    \equals{SortMyId{}, _PREDICATE{}}(
                        /* Fl Fn D Sfa */ RuleVarX:SortMyId{},
                        /* Fl Fn D Sfa */ RuleVarY:SortMyId{}
                    )
                )
            )),
            /* substitution: */
            \top{_PREDICATE{}}()
        ))
      while simplifying:
        /* Spa */
        \equals{SortBool{}, _PREDICATE{}}(
            /* Fn Spa */
            LblnotBool'Unds'{}(
                /* Fn Spa */
                Lbl'Unds'in'Unds'keys'LParUndsRParUnds'MAP'Unds'Bool'Unds'KItem'Unds'Map{}(
                    /* Fl Fn D Spa */
                    /* Inj: */ inj{SortMyId{}, SortKItem{}}(
                        /* Fl Fn D Sfa */ RuleVarY:SortMyId{}
                    ),
                    /* Fn Spa */
                    /* InternalMap: */ Lbl'Unds'Map'Unds'{}(
                        /* element: */ Lbl'UndsPipe'-'-GT-Unds'{}(
                            /* Fl Fn D Spa */
                            /* Inj: */ inj{SortMyId{}, SortKItem{}}(
                                /* Fl Fn D Sfa */ RuleVarX:SortMyId{}
                            ),
                            /* Fl Fn D Sfa Cli */
                            /* Inj: */ inj{SortInt{}, SortKItem{}}(
                                /* Fl Fn D Sfa Cl */ \dv{SortInt{}}("1")
                            )
                        ),
                        /* opaque child: */ /* Fl Fn D Sfa */ RuleVarMAP:SortMap{}
                    )
                )
            ),
            /* Fl Fn D Sfa Cl */ \dv{SortBool{}}("true")
        )
      with side condition:
        /* Spa */
        \and{_PREDICATE{}}(
            /* Spa */
            \equals{SortBool{}, _PREDICATE{}}(
                /* Fl Fn D Spa */
                Lbl'UndsEqlsEqls'K'Unds'{}(
                    /* Fl Fn D Spa */
                    kseq{}(
                        /* Fl Fn D Spa */
                        /* Inj: */ inj{SortMyId{}, SortKItem{}}(
                            /* Fl Fn D Sfa */ VarZ:SortMyId{}
                        ),
                        /* Fl Fn D Sfa Cl */ dotk{}()
                    ),
                    /* Fl Fn D Spa */
                    kseq{}(
                        /* Fl Fn D Spa */
                        /* Inj: */ inj{SortMyId{}, SortKItem{}}(
                            /* Fl Fn D Sfa */ VarY:SortMyId{}
                        ),
                        /* Fl Fn D Sfa Cl */ dotk{}()
                    )
                ),
                /* Fl Fn D Sfa Cl */ \dv{SortBool{}}("true")
            ),
            /* Spa */
            \equals{SortGeneratedCounterCell{}, _PREDICATE{}}(
                /* Fl Fn D Sfa */ Var'Unds'DotVar0:SortGeneratedCounterCell{},
                /* Fl Fn D Spa */
                Lbl'-LT-'generatedCounter'-GT-'{}(
                    /* Created: Kore.Step.Rule.Expand.maybeNewVariable */
                    /* Fl Fn D Sfa */
                    Var'Unds'DotVar1:SortInt{}
                )
            )
        )
    CallStack (from HasCallStack):
      error, called at src/Kore/Step/Simplification/TermLike.hs:485:6 in kore-<IP_ADDRESS>-DgV0ei696gh4fIMAGEIAtF:Kore.Step.Simplification.TermLike


useRef multiple sliders

Hi, I'm using a functional component to display the slider, adding a scroll event listener and calling the slickNext or slickPrev based on some conditions, my issue is that all the sliders getting effected. is there is a way to only move content in one slider and not all using the event listeners?

Maybe you can use some of the solutions in https://github.com/akiran/react-slick/issues/1747


piv: only call PINPrompt when required

Fixes #35
fyi @FiloSottile
For some reason this doesn't work:
% go test -v -run=TestPINPrompt . -wipe-yubikey
=== RUN   TestPINPrompt
    TestPINPrompt: key_test.go:124: expected PINPrompt to only be called once got: 2
--- FAIL: TestPINPrompt (1.96s)
FAIL
FAIL    github.com/go-piv/piv-go/piv    2.253s
FAIL

May PINPolicyOnce still only applies to the smartcard transaction? Will investigate.

Okay yeah, the PINPolicy only applies to the smartcard transaction. Which implies that we'd have to hold a transaction to the smartcard for this to work.
Maybe we can refactor the YubiKey struct to hold a transaction instead just a connection? It'd mean you couldn't have multiple open... but 🤷


system reboot itself while reporting "gap_event_handler:157: fail reason = 0x66" (IDFGH-6960)

Environment

Development Kit:      [ESP32-Wrover-Kit|ESP32-DevKitC|ESP32-PICO-Kit|ESP32-LyraT|ESP32-LyraTD-MSC|none]
Kit version (for WroverKit/PicoKit/DevKitC): [v1|v2|v3|v4]
Module or chip used:  [ESP32-WROOM-32|ESP32-WROOM-32D|ESP32-WROOM-32U|ESP32-WROVER|ESP32-WROVER-I|ESP32-WROVER-B|ESP32-WROVER-IB|ESP32-SOLO-1|ESP32-PICO-D4|ESP32]
IDF version (run git describe --tags to find it): 3.3
// v3.2-dev-1148-g96cd3b75c
Build System:        :idf.py
Compiler version (run xtensa-esp32-elf-gcc --version to find it):
// 1.22.0-80-g6c4433a
Operating System:     Windows
(Windows only) environment type:PowerShell
Using an IDE?: NO
Power Supply:         external 5V

Problem Description
Hello Dear,
I encountered a problem. Esp32 is often restarted itself
ble_2022-03-09_17_29_48.txt
. The serial port prompts the following error when restarting：
what is the "fail reason = 0x66"? and when it will be reported?  Is this the key reason for the rebooting issue? and how can I solve this issue?
[ Debug]: 2022-03-09 17:30:11, hidd_event_callback:100: start_advertising......
disc Mac:7C,89,CB,96,C0,B0,[ Debug]: 2022-03-09 17:30:11, hidd_event_callback:110: ESP_HIDD_EVENT_BLE_DISCONNECT
[ Debug]: 2022-03-09 17:30:11, APPMqtt_evtTask:203: HT_BLE_DISCONNECTED_BIT
[ Debug]: 2022-03-09 17:30:11, gap_event_handler:141: remote BD_ADDR: 7c89cb96c0b0
[ Debug]: 2022-03-09 17:30:11, gap_event_handler:142: address type = 1
[ Debug]: 2022-03-09 17:30:11, gap_event_handler:143: pair status = fail
ble_2022-03-09_17_29_48.txt
[ Debug]: 2022-03-09 17:30:11, gap_event_handler:157: fail reason = 0x66
Guru Meditation Error: Core  0 panic'ed (StoreProhibited). Exception was unhandled.
Core  0 register dump:
PC      : 0x4000c46c  PS      : 0x00060430  A0      : 0x800ebfc4  A1      : 0x3ffe8e40
A2      : 0x00000000  A3      : 0x00000000  A4      : 0x00000148  A5      : 0x00000000
A6      : 0x0000004b  A7      : 0x00000014  A8      : 0x800ebf77  A9      : 0x3ffe8e10
A10     : 0x00000000  A11     : 0x00000001  A12     : 0x3ffe8ea0  A13     : 0x00000013
A14     : 0x000000ce  A15     : 0x0000006a  SAR     : 0x0000000c  EXCCAUSE: 0x0000001d
EXCVADDR: 0x00000000  LBEG    : 0x4000c46c  LEND    : 0x4000c477  LCOUNT  : 0x00000013
Backtrace:0x4000c469:0x3ffe8e40 0x400ebfc1:0x3ffe8e50 0x4010de81:0x3ffe8e70 0x4010dfed:0x3ffe8e90 0x400e73eb:0x3ffe8ef0 0x400e76a5:0x3ffe8f10 0x4010e0ae:0x3ffe8f30 0x400f2569:0x3ffe8f90 0x400f2f08:0x3ffe8fb0 0x400f3256:0x3ffe8fd0 0x40106e65:0x3ffe8ff0 0x40093d0d:0x3ffe9010
ELF file SHA256: 239023e171bd7cea
Rebooting...
ets Jun  8 2016 00:22:57
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:6900
load:0x40078000,len:14308
load:0x40080400,len:3716
entry 0x40080680
I (27) boot: ESP-IDF v4.3.1-dirty 2nd stage bootloader
I (27) boot: compile time 18:33:52
I (27) boot: chip revision: 1
I (30) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (37) boot.esp32: SPI Speed      : 40MHz
I (42) boot.esp32: SPI Mode       : DIO
ble_2022-03-09_17_29_48.txt

IDF version (run git describe --tags to find it): 3.3

3.3 is already EOL, do you want to try reproducing the issue with newer sdk version?

which version is the latest?

which version is the latest?

https://github.com/espressif/esp-idf/releases/tag/v4.4

@EWang78 Does this problem still exist with the latest IDF version?

Thanks for reporting, will close now, feel free to reopen with more updates.


How to implement it KMP project

Hi, thank you for this library. I'm trying to implement it on my my KMP project but I don't understand how to do that, is there any simple tutorial? I'm new in KMP

Where to add BuildConfig.API_KEY, BuildConfig.API_SECRET

Hi, the README has a Download section to help you add this library to your Kotlin Multiplatform project (just add the dependency under commonMain dependencies, and make sure you have mavenCentral() repository in your repositories declaration).
BuildConfig isn't part of this library, it is just a convenient way to access values that change between builds or sensitive info (API_KEY, API_SECRET in this case) that shouldn't be part of your git repository, you can read more about Build Config here
You're free to use whatever mechanism to securely access your API_KEY & API_SECRET or even include them directly in code(if that what you want), as far as this library is concerned it just needs valid credentials, how to secure & provide those credentials is your responsibility and beyond the scope of this project.
If you want a full example that you can directly run and follow, here it is: https://github.com/mr3y-the-programmer/PodcastIndexSDKSample
clone the repo, and add your credentials obtained from PodcantIndex org to your local.properties file like this:
API_KEY=your API key
API_SECRET=your API secret

Thanks you.


Migration guide from v2 to v3

Description
Adding migration guide from v2 to v3
Fixes #304
How Has This Been Tested?
NA
Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have added tests to cover my changes
[ ] I have made corresponding changes to the documentation

Disclaimer
By sending us your contributions, you are agreeing that your contribution is made subject to the terms of our Contributor Ownership Statement

@gsferreira how do you think we should organize the migration in the documentation site?
Guides -> Migration -> Migrate from KafkaFlow v2 to v3?

@gsferreira how do you think we should organize the migration in the documentation site?
Guides -> Migration -> Migrate from KafkaFlow v2 to v3?

@joelfoliveira I like that.
Small suggestion: > Guides -> Migration -> From v2 to v3

@gsferreira added the migration to the site docs. Please check.


[POA-2003] Set obfuscation enum in witness method meta

In this PR, we have added support to identify whether a witness payload is obfuscated or not.
We are setting Obfuscation attribute to ZERO_VALUE in obfuscation() function. The default enum value is NONE
Also updated the observability-ir version.

* We are setting `Obfuscation` attribute to `ZERO_VALUE` in `obfuscation()` function. The default enum value is `NONE`

Please see https://github.com/postmanlabs/observability-ir/pull/15#discussion_r1791898934.


How to use this library ? please help

hi, i am very newbie in recyclerview, i'm totally don't know how to start with this library. i followed your tutorial in readme.md , but i still don't understand the step by step to use this library.
what i don't understand is :

in section 1. Implement your item (the easy way) i don't know what that class is what that for especially the method getType()  i don't know what should i return
in section 2. Set the Adapter to the RecyclerView i don't know how this means fastAdapter.add(ITEMS); . i don't know what is ITEMS parameter in there and what exactly is ITEMS is ?

please add some more explanations in details so that a newbie like me can understand how to use this library. or (if you don't mind) you can create a video explanations about how to use this library (because i'm type a video learner guy)
thank you before, for this great library 👍

@baadillahnabil Please have a look at the included sample app.

@baadillahnabil

create a file called "ids.xml" and put it in the "values" folder. in that file you define your item type id's.
here is an example:

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <item name="fastadapter_id_checkedItem" type="id"/>
    <item name="fastadapter_id_dateTimeItem" type="id"/>
    <item name="fastadapter_id_personalNoteItem" type="id"/>
    <item name="fastadapter_id_spinnerCheckedItem" type="id"/>
    <item name="fastadapter_id_spinnerItem" type="id"/>
    <item name="fastadapter_id_mainItem" type="id"/>
    <item name="fastadapter_id_regularItem" type="id"/>
</resources>

and then:
	@Override
	public int getType()
	{
		return R.id.fastadapter_id_spinnerItem;
	}

the "add()" method has several variations - for simplicity i will refer to this one: public FastItemAdapter<Item> add(List<Item> items).
"ITEMS", as you call it, is a list of objects that you wish to add to the adapter and display to the user.
for example lets say i have a class called "Item" and it contains 1 variable String itemName; (and the rest of the necessary codefor this library as described in the ReadMe file).

so here is an example of how i would use it:
Item item1 = new Item("first");
Item item2 = new Item("second");
Item item3 = new Item("third");

ArrayList<Item> itemList = new ArrayList();
itemList.add(item1);
itemList.add(item2);
itemList.add(item3);

FastItemAdapter<Item> adapter = new FastItemAdapter<>();
adapter.add(itemList);

@Rainer-Lang i did, but i'm confused in from where should i start looking because i really new on RecyclerView and i'm still learning it, but i do appreciate your answer. Thanks
@or-dvir Thank you very much man, i do now understand how it works, i'll try it.
your explanation seems good to me, i think tutorial in readme.md should be added more explanation like your answer (just my opinion).. appreciate it man, Thanks 👍

@baadillahnabil glad that you figured out with the help of @or-dvir .
In general the code + the APIs + the javaDoc + annotations make the whole library very self describing. So using the code + reading the code + looking at the JavaDoc should be quite obvious.
I know the documentation is not written for beginners, but with a bit of experience in Java programming it should be fine.
In any case. as @Rainer-Lang pointed out, you can at any point check out the sample application which shows full working samples how to use the FastAdapter.


When users pass compound objects (arrays or non-Date objects), don't …

…mess with
the key key name.  Existing behavior makes the key become "undefined," which
isn't what the user wants, causes collisions if there's more than one, and isn't
a valid name to FullStory anyway.
Even with this change, FullStory isn't going to accept the compound value,
because it doesn't support objects or arrays, but this way it can whine about
the correct name and the user can understand what is going on.

@f2prateek or whomever gets this (Github won't let me assign it), this is the I-hope-uncontroversial half of https://github.com/segment-integrations/analytics.js-integration-fullstory/pull/6

New customer report of this bug, we see it not only for object types (such as account_details: { billing: "monthly", status: "premier" }), but also for null, which is a JS object.  The one I'm looking at is, for a new profile, passing traits including { ... first_name: null, last_name: null, ... }
And the buggy version passes that---both of them---to FullStory as { ... undefined: null, ... }

Hey @fka3 sorry for the long delay in responding to this PR.
Hmm if FS doesn't support nested objects or arrays, we should be flattening and stringifying.
I just fixed the same issue we had with Heap integration. I'm thinking maybe we can do something like this?
https://github.com/segment-integrations/analytics.js-integration-heap/pull/2
@f2prateek

I had actually lobbied for flattening first, but we decided we weren't comfortable with that because of how it might affect our indexing.
So, for example, let's take the Segment "addr" trait, which you document as taking an object of { city, country, postalCode, state, street }.  (And let's set aside the point of how terribly that would fail in Japan...)  If FullStory were to allow compound objects, we would want to "understand" them and be able to index so you could, for example, query by postal code.  And if we flattened "for now" but wanted to more deeply understand addresses later... that'd be Bad in database terms; old entries would have flattened strings, while newer ones had deep objects, but you'd need to be able to run one query against both.  And arrays are ugly, too; we'd want to understand that it was a list, and search for lists containing something.  And how deep do you flatten?
Anyway, I wasn't able to sell that without a lot more thought, and I wanted to fix the "undefined" thing quickly... right now, users get an error message that FullStory doesn't accept "undefined" as a variable name, and it's super confusing because they never used that for anything!

@fka3 just deployed this! Thanks for submitting :)

Thanks!
On Thu, Feb 18, 2016, 3:06 PM Han<EMAIL_ADDRESS>wrote:

@fka3 https://github.com/fka3 just deployed this! Thanks for submitting
:)
—
Reply to this email directly or view it on GitHub
https://github.com/segment-integrations/analytics.js-integration-fullstory/pull/7#issuecomment-185973787
.


Form support

Grav already support forms. But need some styles.

Done (enough for my needs anyways).


test: removing deprecated EvaluateSnippet function

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


colorblind mode

not a complaint but i love the colorblind mode im not colorblind but it is sick

Glad you like it!


Change image pattern in kyverno policy.

How to categorize this PR?

/area dev-productivity
/kind bug
What this PR does / why we need it:
This PR fixes the kyverno policy which adds imagePullSecrets to the pods in provider-extension setup.
The change is required because we switched from GCR to artifact registry in PR #8968.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

NONE

@dimitar-kostadinov , this should be the issue from today with the extensions setup.


v-model not working without default values

http://jsfiddle.net/5sH6A/101/
Only if an initial value is set (for checkbox three), the output is working properly. For the other checkboxes the selected Object is changed, but nothing changes on the output.

There seems to be a general problem with new properties in $set: http://jsfiddle.net/5sH6A/102/

This is a limitation of the current path parser, which doesn't handle dynamic path segments, thus not being able to call $add for keys that do not exist.
This will be improved in the future, but the best practice is to prefer always providing default values, and only use $set sparingly.

Ok, I understand. But in my second fiddle, if I change the $set to $add - it also does not change the output. Or is this the bug you fixed yesterday in https://github.com/yyx990803/vue/commit/5a0de87805540c7c4128341c84e2e7d6fc9fcea2 ?

Interesting, if you $add before $set, it works: http://jsfiddle.net/azamatsharapov/5sH6A/103/ (using 0.12.0-beta5).

@uwe that's an unrelated fix. $set simply calls $add under the hood if a key is not present, but only when the path is static and can be checked "step by step". If the path is dynamic, $set will just evaluate it as an expression.

This is now supported in dev branch via https://github.com/yyx990803/vue/commit/34da031bdc6a01f276a2d3482174323ea00ab8b7. However there will also be a warning suggesting you to pre-initialize the fields.


Fix forced user agent in js side

This PR fixes a couple of issues with the previous release, regarding the optional headers in scala-js environments.
Could you please review, @juanpedromoreno? Thanks!!

Current coverage is 86.60% (diff: 0.00%)

Merging #43 into master will decrease coverage by 0.04%

@@             master        #43   diff @@
==========================================
  Files            21         21
  Lines           307        306     -1
  Methods         305        304     -1
  Messages          0          0
  Branches          2          2
==========================================
- Hits            266        265     -1
  Misses           41         41
  Partials          0          0

Powered by Codecov. Last update bb9441e...75a9d51


Fix notebook outline filters breaking outline view entirely

Re: #208923

cc @Tyriar re: using const value vs literal 7


[Storage] Migrate test_large_file.py to test proxy

This PR migrates test_large_file.py and test_large_file_async.py to test proxy.
TODO:

[ ] Run live test pipeline after CI passes (previously reported that live test pipeline was failing on Linux)

API change check
API changes are not detected in this pull request.

/azp run python - storage - tests

/azp run python - storage - tests


ArrayIndexOutOfBounds & NullPointerException in ReversePurgeItemHashMap

Hi all,
I am using datasketches-java 2.0.0 and Java 17.0.2
I encounter some ArrayIndexOutOfBounds and NullPointerException when using ReversePurgeItemHashMap
In my use case, my system is calling
freq.getLowerBound(term)  // freq is ItemsSketch
with high qps every 5 minutes.
Then, when reaching line 332
https://github.com/apache/datasketches-java/blob/7cda6ed20ca63ff1ff7164d9c7af641cace2deed/src/main/java/org/apache/datasketches/frequencies/ReversePurgeItemHashMap.java#L329-L336
I occasionally (~1 time/day) encounter the following error:
java.lang.ArrayIndexOutOfBoundsException: Index 63717 out of bounds for length 32768
	at org.apache.datasketches.frequencies.ReversePurgeItemHashMap.hashProbe(ReversePurgeItemHashMap.java:332)
	at org.apache.datasketches.frequencies.ReversePurgeItemHashMap.get(ReversePurgeItemHashMap.java:85)
	at org.apache.datasketches.frequencies.ItemsSketch.getLowerBound(ItemsSketch.java:346)

or
java.lang.NullPointerException: Cannot invoke "Object.equals(Object)" because "this.keys[probe]" is null
	at org.apache.datasketches.frequencies.ReversePurgeItemHashMap.hashProbe(ReversePurgeItemHashMap.java:332)
	at org.apache.datasketches.frequencies.ReversePurgeItemHashMap.get(ReversePurgeItemHashMap.java:85)
	at org.apache.datasketches.frequencies.ItemsSketch.getLowerBound(ItemsSketch.java:346)

This error is unable to be reproduced, so I apologize that I cannot provide more context now.
Do you have any idea on this error or have you encountered a similar problem before?
thank you

Is there a chance that you run this in a multithreaded environment? The library is not thread-safe.

hi Alexander,
thank you for the hint! Yes it's possible to run in multithreaded in our system
I think we found the root cause and I will close the issue once we verify our guess


Changed OidcBrowser url from <IP_ADDRESS> to localhost. Fixes #301.

Fix #301 affecting pre-Windows 10 devices. I know Windows 7 is out-of-support, but in this case the fix is trivial.
Changes the redirect URL for Oidc to use 'localhost' instead of '<IP_ADDRESS>'.
Windows seems to block opening the port prior to Windows 10 if it uses anything other than localhost.
I've tested on two machines, one with Win7 and the other with Win10.

Also fixes #347 and most likely fixes #365.

@Kyrodan , thanks for looking into this. I don't mind adding the version check. But I did have another idea today. What about trying "<IP_ADDRESS>" first, and let its success or failure decide?
Like
foreach (var host in ["<IP_ADDRESS>", "localhost"]) {
    foreach (var port in ports) {
        redirectUri = CreateRedirectUri(host, port);
...
private static string CreateRedirectUri(string host, int port) {
    return "http://" + host + ":" + port + "/";
}

To me this is nicer than scattering OS-version-specific special cases into the code.
What do you think?

@Kyrodan I have it implemented now. I have tested it in Windows 10 and Windows 7. Both are working.
Win10 goes to "<IP_ADDRESS>" as desired:

Only Win7 will fall back to "localhost":


feat(config): add ABUS SHRM10000

added support for abus shrm10000

@zwave-js-bot fix lint

@zwave-js-bot fix lint

Too slow ;) Also, the bot currently only listens to me.


Update README.md

Note: Installing the phpiredis extension requires php to install both the APC and APCU extensions in addition to Hiredis, otherwise the dynamic library cannot be loaded. Many developers in the installation process will appear the following errors, some solve the problem for a few days can not find the reason, in fact, php parsing phpiredis is the need to rely on apc and acpu extension, phpiredis compilation is also the need for the library of hiredis.
[root@localhost /data/wwwroot/code/_example/app]#php index.php
PHP Fatal error:  Call to undefined function phpiredis_connect() in /data/wwwroot/code/library/includes/class/memcachedb.php on line 75

I have not experienced this. I have never installed or enabled them and the extension seems to work fine on armv6,7 and x64

APC and APCu do not have anything to do with phpiredis and hiredis, how is it even possible? If a phpiredis function cannot be found, it's a misconfiguration of PHP or phpiredis was not installed to begin with.


Security: Currently used Method to sanitize XML to protect against XXE fails when using different encoding

See https://security-tracker.debian.org/tracker/CVE-2015-5161 and this is the fix: https://github.com/zendframework/ZendXml/commit/54edb3875aba5b45f02824f65f311c9fb2743a38
Since picoFeed basically copies this stuff entirely, this should also be fixed. It seems quite complicated, so I'd vote for simply shipping ZendXML as a dependency in the composer.json

Here's the full description http://framework.zend.com/security/advisory/ZF2015-06

If you have time to send a PR to use ZendXML that should be awesome :)

Will take a look this weekend :)


Specify attributes inside #if before any unconditional attributes

Looks like the Swift 5.7 compiler errors if unconditional attributes are before attributes inside #if.
Fixes #2546
rdar://124979624

@swift-ci Please test

Maybe you should consider adding testing older compilers to your CI


Update form field borders

What are you changing?
Reducing the border width on form fields to 1px and updating their border radius to 4px. Form fields refer to Text input, Text area, Radio button, Checkbox, Select box, Choice card, and User Feedback.
Why?
These changes reflect styling updates made to these components by the Design System Team.
Their reason is the following:
"The existing form fields had a much thicker border. The impact of this was that the fields dominated the page and affected the visual hierarchy. That’s why we have decided to make field borders 1px across the board and update corner radius in all instances."

Looks great, thanks Anna!


Windows fix

replace symlink with copy of entire distributive into bin folder
fix prepublish script for multiplatform usage
some fixes in code

sorry i lost track of this... do you edits work for your purposes?


WARNING] --- Your harvester appears to be offline! No events for the past 901 seconds. (keep_alive_monitor.py:83)

WARNING] --- Your harvester appears to be offline! No events for the past 901 seconds. (keep_alive_monitor.py:83)
I get this error every 5 minutes, even if the harvester is up and running. Sometimes it helps to kill the chiadog process, rm debug.log.offset and restart everything.
Environment:

OS: Linux uranian 5.10.39-v8+ #1421 SMP PREEMPT Tue May 25 11:04:26 BST 2021 aarch64 GNU/Linux
Python version: Python 3.7.3
PIP version: pip 18.1 from /usr/lib/python3/dist-packages/pip (python 3.7)
Chia version: 1.1.7

I had the same problem after sudden PC reboot, an garbage has been written into logs and log consumer has been confused and throwing exception at start:
Exception in thread Thread-1:
Traceback (most recent call last):
  File "C:\Users\lukas\AppData\Local\Programs\Python\Python37\lib\threading.py", line 926, in _bootstrap_inner
    self.run()
  File "C:\Users\lukas\AppData\Local\Programs\Python\Python37\lib\threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\lukas\AppData\Local\Programs\Python\Python37\lib\site-packages\decorator.py", line 232, in fun
    return caller(func, *(extras + args), **kw)
  File "C:\Users\lukas\AppData\Local\Programs\Python\Python37\lib\site-packages\retry\api.py", line 74, in retry_decorator
    logger)
  File "C:\Users\lukas\AppData\Local\Programs\Python\Python37\lib\site-packages\retry\api.py", line 33, in __retry_internal
    return f()
  File "D:\ProgramData\chiadog\src\chia_log\log_consumer.py", line 77, in _consume_loop
    for log_line in Pygtail(self._expanded_log_path, read_from_end=True, offset_file=self._offset_path):
  File "C:\Users\lukas\AppData\Local\Programs\Python\Python37\lib\site-packages\pygtail\core.py", line 87, in __init__
    [int(line.strip()) for line in offset_fh]
  File "C:\Users\lukas\AppData\Local\Programs\Python\Python37\lib\site-packages\pygtail\core.py", line 87, in <listcomp>
    [int(line.strip()) for line in offset_fh]
ValueError: invalid literal for int() with base 10: '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'

It looks like the consumer thread is crashed, so for chiadog it looks like there is no changes in the chia logs, so offline state assumed?

I had the same problem after sudden PC reboot, an garbage has been written into logs and log consumer has been confused and throwing exception at start:
Exception in thread Thread-1:
Traceback (most recent call last):
  File "C:\Users\lukas\AppData\Local\Programs\Python\Python37\lib\threading.py", line 926, in _bootstrap_inner
    self.run()
  File "C:\Users\lukas\AppData\Local\Programs\Python\Python37\lib\threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\lukas\AppData\Local\Programs\Python\Python37\lib\site-packages\decorator.py", line 232, in fun
    return caller(func, *(extras + args), **kw)
  File "C:\Users\lukas\AppData\Local\Programs\Python\Python37\lib\site-packages\retry\api.py", line 74, in retry_decorator
    logger)
  File "C:\Users\lukas\AppData\Local\Programs\Python\Python37\lib\site-packages\retry\api.py", line 33, in __retry_internal
    return f()
  File "D:\ProgramData\chiadog\src\chia_log\log_consumer.py", line 77, in _consume_loop
    for log_line in Pygtail(self._expanded_log_path, read_from_end=True, offset_file=self._offset_path):
  File "C:\Users\lukas\AppData\Local\Programs\Python\Python37\lib\site-packages\pygtail\core.py", line 87, in __init__
    [int(line.strip()) for line in offset_fh]
  File "C:\Users\lukas\AppData\Local\Programs\Python\Python37\lib\site-packages\pygtail\core.py", line 87, in <listcomp>
    [int(line.strip()) for line in offset_fh]
ValueError: invalid literal for int() with base 10: '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'

It looks like the consumer thread is crashed, so for chiadog it looks like there is no changes in the chia logs, so offline state assumed?

This is a known bug for which a fix is in the pipeline.
Meanwhile, deleting the debug.log.offset file from the Chiadog directory will fix this issue.
More here:
https://github.com/martomi/chiadog/discussions/241
Pull request here:
https://github.com/martomi/chiadog/pull/214

Bugfix is now released to main in release 0.6.1


Development error: Could not resolve "astro-dynamic-import:internal"

The Problem
I am using the astro-dynamic-import library.
My project used to work in development. I built, and then I restarted my development server and I got the following error:
✘ [ERROR] Could not resolve "astro-dynamic-import:internal"

    node_modules/.pnpm/astro-dynamic-import@1.1.0_astro@4.7.0/node_modules/astro-dynamic-import/runtime/virtual-module.ts:13:52:
      13 │ import { srcDirName, lookupMap as _lookupMap } from "astro-dynamic-import:internal"
         ╵                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  You can mark the path "astro-dynamic-import:internal" as external to exclude it from the bundle,
  which will remove this error and leave the unresolved path in the bundle.

08:00:31 [ERROR] [UnhandledRejection] Astro detected an unhandled rejection. Here's the stack trace:
Error: Build failed with 1 error:
node_modules/.pnpm/astro-dynamic-import@1.1.0_astro@4.7.0/node_modules/astro-dynamic-import/runtime/virtual-module.ts:13:52: ERROR: Could not resolve "astro-dynamic-import:internal"

Replication
If you need to replicate it, here is my StackBlitz project.
Simply run npm install && npm run dev to see the error.
An item to note:

A the default Astro integration for the astro-dynamic-import was modified for this project

Versions
Astro version: ^4.7.0
astro-dynamic-import version: ^1.1.0
pnpm version: 8.15.1
About the Error
I did some extensive testing and the only correlation I found was once I build the project and then run the dev server, this error triggers. For me, it happens once, and then I reload my page, and most things return to normal. Tailwind seems to fail whenever I reload with this error occurring. I tried deleting the dist folder, that did nothing.
I was able to avoid the error when I reverted back to an old commit, then reverted back to the new commit, and then ran the dev server without building the project. Oh, and the project builds successfully. I could not replicate this fix on the sandbox.

Same for me, in dev mode the error is triggered but when the project is compiled successfully the error does not appear

Thanks for the reproduction. I see the error on startup of the dev server.

I believe it's something in vite when optimizing dependencies in dev mode

That's a good observation. I notice the error on page request in addition to startup, which is when vite optimization takes place, but this might be helpful in pointing in the right direction.

i guess that a good call should be using the octal numbers ids and virtual name for the imports like the doc says

Yeah, that's a good idea. It didn't make a difference for this error, however.

Tailwind seems to fail whenever I reload with this error occurring.

Do tailwind styles remain broken after page reloads?

Do tailwind styles remain broken after page reloads?
Yes even after reloading the styles remained broken. Not sure if this actually has anything to do with this error, just something I noticed.
try this
That seemed to make the error go away, even after I built and then started the dev server again. Not sure how long it will last or if this is the best solution, but it works for the time being. Thanks.

I don't understand the root cause, but the fix is safe, it will not have any side-effects.
@evertonadame Do you want to open a PR? It can go here, inside the updateConfig() call:
https://github.com/lilnasy/gratelets/blob/8615d2a20a9489aedf6248de67af355fc2dff24e/packages/dynamic-import/integration.ts#L13-L17

Pull request opened in https://github.com/lilnasy/gratelets/pull/97


fix missing thumbnails +remove duplicate dice game

Issue Type:

[x] Bug Report
[ ] Feature Request
[ ] Documentaion

Describe the bug

missing thumbnails for some of the tiles
also there are two dice game one is updated version of the previous one .

Possible solution

add preview.png to missing folders to fix this.
remove the previous version of dice game and keep the improved version .

Screenshots

i am a gssoc participant and want to work on this

I think someone else is also working on a similar issue, just check it once. If not, you can go on

there is a similar issue on amazing-CSS-effects repo ,but i haven't seen it here


Greece - six-day working week

Greece introduced a six-day working week in July 2024 according to this.

Law 5053/2023, which allows a six-day work week for several industries, officially comes into effect.

"For several industries" - many countries already have similar six-day work week.

Law 5053/2023, which allows a six-day work week for several industries, officially comes into effect.

"For several industries" - many countries already have similar six-day work week.

OK, however, at least several countries in the 1950s, 1960s, and 1970s had six-day work weeks in Central and Eastern Europe.


"Preutești", "Arghira", "Basarabi", "Bahna Arin", "Huși" and "Leucușești" villages are listed in the drop-down menu.

Description:
The villages are listed in the drop-down menu alongside its corresponding county and commune, according to the law
Preconditions:
The website (https://peviitor-ro.github.io/ui.orase/) is up and runing. After every step delete the text you typed from the search bar.

Step 1
Write in the search bar "Preutești".

Expected results
The location is listed in the drop-down menu as "Sat Preutești SUCEAVA (Preutești)".

Step 2
Write in the search bar "Arghira".

Expected results
The location is listed in the drop-down menu as "Sat Arghira SUCEAVA (Preutești)".

Step 3
Write in the search bar "Basarabi".

Expected results
The location is listed in the drop-down menu as "Sat Basarabi SUCEAVA (Preutești)".

Step 4
Write in the search bar "Bahna Arin".

Expected results
The location is listed in the drop-down menu as "Sat Bahna Arin SUCEAVA (Preutești)".

Step 5
Write in the search bar "Huși".

Expected results
The location is listed in the drop-down menu as "Sat Huși SUCEAVA (Preutești)".

Step 6
Write in the search bar "Leucușești".

Expected results
The location is listed in the drop-down menu as "Sat Leucușești SUCEAVA (Preutești)".


Fixed typo in line 46

removed the extra word "must" in the sentence.
Closes #1550

@robmazz - PR is ready for final review.  This is just a simple typo issue. This is based on issue #1550.
Thank you.
cc: @kenwith

Thanks for catching and correcting this, Joyce!


Error tracing miniF2F

I'm trying to trace miniF2F, by running this code:
from lean_dojo import LeanGitRepo, trace
import os

repo = LeanGitRepo("https://github.com/openai/miniF2F", "4e433ff5cadff23f9911a2bb5bbab2d351ce5554")
trace(repo, dst_dir="miniF2F")

But I'm getting this error. I tried multiple times and the program always exits at 1159/4182:
2023-07-02 01:58:24.370 | INFO     | __main__:main:143 - Tracing miniF2F
 28%|██▊       | 1159/4182 [35:01<11:01:55, 13.14s/it]2023-07-02 02:34:04,667	INFO worker.py:1627 -- Started a local Ray instance. View the dashboard at <IP_ADDRESS>:8265
  0%|          | 0/1159 [00:00<?, ?it/s](raylet) [2023-07-02 02:34:34,598 E 1108020 1108083] (raylet) agent_manager.cc:135: The raylet exited immediately because the Ray agent failed. The raylet fate shares with the agent. This can happen because the Ray agent was unexpectedly killed or failed. Agent can fail when
(raylet) - The version of `grpcio` doesn't follow Ray's requirement. Agent can segfault with the incorrect `grpcio` version. Check the grpcio version `pip freeze | grep grpcio`.
(raylet) - The agent failed to start because of unexpected error or port conflict. Read the log `cat /tmp/ray/session_latest/logs/dashboard_agent.log`. You can find the log file structure here https://docs.ray.io/en/master/ray-observability/ray-logging.html#logging-directory-structure.
(raylet) - The agent is killed by the OS (e.g., out of memory).

I'm running on slurm, with native backend (I think docker is not allowed on my environment) and the machine has 450GB+ memory so memory shouldn't be an issue. I searched online for related error messages and tried to set some environment variables like cpu_count, OPENBLAS_NUM_THREADS, GOTO_NUM_THREADS and OMP_NUM_THREADS but got no luck...

Could you please try
import ray
ray.init()

to see if anything is wrong with Ray?

As it turns out, ray.init() does produce the same error. But it works when I limit the number of CPUs for ray.init().
dojo >>> python
Python 3.10.11 (main, May 16 2023, 00:28:57) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import ray
>>> ray.init(num_cpus=20)
2023-07-02 04:59:50,418	INFO worker.py:1627 -- Started a local Ray instance. View the dashboard at <IP_ADDRESS>:8266
RayContext(dashboard_url='<IP_ADDRESS>:8266', python_version='3.10.11', ray_version='2.5.1', ray_commit='a03efd9931128d387649dd48b0e4864b43d3bfb4', address_info={'node_ip_address': '<IP_ADDRESS>', 'raylet_ip_address': '<IP_ADDRESS>', 'redis_address': None, 'object_store_address': '/tmp/ray/session_2023-07-02_04-59-47_921783_1221083/sockets/plasma_store', 'raylet_socket_name': '/tmp/ray/session_2023-07-02_04-59-47_921783_1221083/sockets/raylet', 'webui_url': '<IP_ADDRESS>:8266', 'session_dir': '/tmp/ray/session_2023-07-02_04-59-47_921783_1221083', 'metrics_export_port': 49046, 'gcs_address': '<IP_ADDRESS>:47238', 'address': '<IP_ADDRESS>:47238', 'dashboard_agent_listen_port': 52365, 'node_id': 'e25644ea3db265681439bdd8e58a608d93ba82e4eda6436d5d25921e'})
>>> ray.shutdown()
>>> ray.init()
2023-07-02 05:01:25,463	INFO worker.py:1627 -- Started a local Ray instance. View the dashboard at <IP_ADDRESS>:8266
[2023-07-02 05:01:55,602 E 1221083 1221083] core_worker.cc:193: Failed to register worker 01000000ffffffffffffffffffffffffffffffffffffffffffffffff to Raylet. IOError: [RayletClient] Unable to register worker with raylet. No such file or directory

I'll try to manually set the number of CPUs to 20 here to see whether it resolves my problem

I haven't encountered this error before, though I suspect it's related to running Ray on your specific platform. There isn't much I can do about it on LeanDojo's side. Here are a few things you may want to try:

Remove Ray's temporary directory (/tmp/ray by default) and re-try.
Ask Ray people for help.
Disable Ray in LeanDojo by setting MAX_NUM_PROCs=1. However, do expect it to be slower.
If you want, I can share you the traced repo LeanGitRepo("https://github.com/openai/miniF2F", "4e433ff5cadff23f9911a2bb5bbab2d351ce5554"). Traced repos on different machines are interchangeable. However, since Ray is used by LeanDojo in many places, you're likely to run into other Ray-related errors if the problem is not resolved.

Hi @yangky11, thanks for the info and I've figured out the problem!
So I've changed some of the config in my local LeanDojo code but it didn't have any effect because I installed LeanDojo with pip. After I reinstalled LeanDojo with pip install ., the change took effect and I was able to trace miniF2F.
I do have some other questions about miniF2F version and other traced Lean repo. I'll open another issue for it.

@Some-random were you able to trace miniF2F?
Curious, have you tried running evals with a prover on miniF2F with LeanDojo?


fix(runtime-core): patchChildren first in patchElement

In mountElement of "renderer.ts", mountChildren will run before mountProps
https://github.com/vuejs/vue-next/blob/7ffa225aa334f0fd7da6ba30bee9109de3597643/packages/runtime-core/src/renderer.ts#L652-L657
But in patchElement, patchProps will run before patchChildren.
I think it is wrong.
for example:
test('patch innerHTML', () => {
  const root = document.createElement('div')
  render(
    h('div', { innerHTML: 'foo' }, 'hello'),
    root
  )
  const el = root.children[0]
  expect(el.innerHTML).toBe('foo') // props has higher priority

  render(
    h('div', { innerHTML: 'bar' }, 'world'),
    root
  )
  expect(el.innerHTML).toBe('bar') // error, received 'world', children has higher priority
})

another:
test('patch value for select', () => {
  const root = document.createElement('div')
  render(
    h('select', { value: 'foo' }, [
      h('option', { value: 'foo' }, 'foo'),
      h('option', { value: 'bar' }, 'bar')
    ]),
    root
  )
  const el = root.children[0] as HTMLSelectElement
  expect(el.value).toBe('foo') // correct, received "foo", because mountChildren first

  // bar to baz
  render(
    h('select', { value: 'baz' }, [
      h('option', { value: 'foo' }, 'foo'),
      h('option', { value: 'baz' }, 'baz')
    ]),
    root
  )
  expect(el.value).toBe('baz') // error, received "", because patchProps first
})

Good catch and thanks for the test cases!


RUN-1061/eventsList (also kinda fixes RUN-1016 and RUN-1137)

RUN-1061 (https://linear.app/replay/issue/RUN-1061/chromium-render-eventslist)

Tap into InspectorDOMDebuggerAgent to capture all user callback calls
fromJsGetArgumentsInFrame: Make available arguments to Pause.evaluateInFrame for any function frame
add replay-scripts/gen-event-names.ts to convert CDT event names to "qualified event names"

RUN-1016 (https://linear.app/replay/issue/RUN-1016/fix-pauseobjectpreviewgettervalues)

(Partially) Fix getObjectPreview to produce a better preview of Event objects

RUN-1137 (https://linear.app/replay/issue/RUN-1137/chromium-crashes-if-no-perfect-font-has-been-found)

Fix a font-related crash

Feel free to give it another look. I moved the lookup table out of chromium now.
Evidence of it working: https://www.loom.com/share/656bf2aa796745479b1d1774990335a8

@bhackett1024

They don't seem like they're used directly by chromium anymore (which is good) but if they generate C++ code where is that code consumed? It seems like we'd be generating a table in JS or something if the frontend was going to be using it.

It is now only generating TS code for devtools here. I think you might be referring to the now outdated file documentation that still mentions C++. I updated that as well!
FYI: Here is the lookup table.


[WIP] elf: perf ordering fixes

Some fixes for https://github.com/iovisor/gobpf/issues/42

/cc @tuxology : one patch is for https://github.com/iovisor/gobpf/issues/41


Possibly remove some Debugging information : NSLog(@"Names %@", [g_library functionNames]);

In src/native/macosx/MacMiniFB.m there is this function on line 117:
NSLog(@"Names %@", [g_library functionNames]);
I've been using Orbtk which depenends on this library, and every time an app is compiled on MacOS we get a line on the console like 2020-03-31 07:24:22.389 minimal[3070:58936] Names (null).  Is this Log useful for anything currently? If not it would be nice to remove it, just so that only necessary things are logged to the console

no, it's fine to remove it. If possible open a PR for the change.

Fixed in PR https://github.com/emoon/rust_minifb/pull/156


root5: Fix, switch dependents to v6 and drop v5

Description of changes
Done during Nix Hour 51, for ZHF https://github.com/NixOS/nixpkgs/issues/265948

Fixes root5, fixing the builds for applgrid, apfelgrid and xfitter
Switch applgrid and apfelgrid to use the default root version (6)
Drop root5, no packages use it anymore

Things done

[x] Built successfully for all commits on x86_64-linux:

[x] root5
[x] root
[x] applgrid
[x] apfelgrid
[x] xfitter

@ofborg build xfitter
(this packages depends on all others)

Not really sure if applgrid will work well with ROOT6 at runtime. I recall, it used to break things significantly, I would need to test. Let's not rush into merging this.

@veprbl Ah I see. How about only having the first commit in this PR then and opening another for the rest?

First commit is a no-brainer – yes.

Oh, I meant the first two commits, so including the root 5 fix. Now done that