Unsupported Driver

I am getting this exception when trying to connect to my local mongodb instance. This is an existing (working) php app that I am converting to laravel.
InvalidArgumentException in compiled.php line 10994:
Unsupported driver [mongodb]
in compiled.php line 10994
at ConnectionFactory->createConnector(array('driver' => 'mongodb', 'host' => 'localhost', 'port' => '27017', 'username' => 'user', 'password' => 'password', 'database' => 'database', 'options' => array('db' => 'admin'), 'prefix' => '', 'name' => 'mongodb')) in compiled.php line 10938
at ConnectionFactory->createSingleConnection(array('driver' => 'mongodb', 'host' => 'localhost', 'port' => '27017', 'username' => 'VAiRoma', 'password' => 'viscenter2014', 'database' => 'vairomadb', 'options' => array('db' => 'admin'), 'prefix' => '', 'name' => 'mongodb')) in compiled.php line 10934
at ConnectionFactory->make(array('driver' => 'mongodb', 'host' => 'localhost', 'port' => '27017', 'username' => 'VAiRoma', 'password' => 'viscenter2014', 'database' => 'vairomadb', 'options' => array('db' => 'admin')), 'mongodb') in compiled.php line 10850
at DatabaseManager->makeConnection('mongodb') in compiled.php line 10805
at DatabaseManager->connection() in compiled.php line 10899
at DatabaseManager->__call('collection', array('topicpercent2')) in compiled.php line 5460
at DatabaseManager->collection('topicpercent2') in compiled.php line 5460
at Facade::__callStatic('collection', array('topicpercent2')) in DataController.php line 86
at DB::collection('topicpercent2') in DataController.php line 86
at DataController->getData(object(Request))
at call_user_func_array(array(object(DataController), 'getData'), array(object(Request))) in compiled.php line 8504
at Controller->callAction('getData', array(object(Request))) in compiled.php line 8572
at ControllerDispatcher->call(object(DataController), object(Route), 'getData') in compiled.php line 8551
at ControllerDispatcher->Illuminate\Routing{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in compiled.php line 9190
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in RedirectIfAuthenticated.php line 41
at RedirectIfAuthenticated->handle(object(Request), object(Closure)) in compiled.php line 9182
at Pipeline->Illuminate\Pipeline{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in compiled.php line 9173
at Pipeline->then(object(Closure)) in compiled.php line 8552
at ControllerDispatcher->callWithinStack(object(DataController), object(Route), object(Request), 'getData') in compiled.php line 8538
at ControllerDispatcher->dispatch(object(Route), object(Request), 'App\Http\Controllers\DataController', 'getData') in compiled.php line 7529
at Route->runWithCustomDispatcher(object(Request)) in compiled.php line 7500
at Route->run(object(Request)) in compiled.php line 7165
at Router->Illuminate\Routing{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in compiled.php line 9190
at Pipeline->Illuminate\Pipeline{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in compiled.php line 9173
at Pipeline->then(object(Closure)) in compiled.php line 7166
at Router->runRouteWithinStack(object(Route), object(Request)) in compiled.php line 7155
at Router->dispatchToRoute(object(Request)) in compiled.php line 7140
at Router->dispatch(object(Request)) in compiled.php line 2038
at Kernel->Illuminate\Foundation\Http{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in compiled.php line 9190
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in compiled.php line 2546
at VerifyCsrfToken->handle(object(Request), object(Closure)) in VerifyCsrfToken.php line 17
at VerifyCsrfToken->handle(object(Request), object(Closure)) in compiled.php line 9182
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in compiled.php line 12362
at ShareErrorsFromSession->handle(object(Request), object(Closure)) in compiled.php line 9182
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in compiled.php line 11052
at StartSession->handle(object(Request), object(Closure)) in compiled.php line 9182
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in compiled.php line 12064
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) in compiled.php line 9182
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in compiled.php line 12012
at EncryptCookies->handle(object(Request), object(Closure)) in compiled.php line 9182
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in compiled.php line 2587
at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in compiled.php line 9182
at Pipeline->Illuminate\Pipeline{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in compiled.php line 9173
at Pipeline->then(object(Closure)) in compiled.php line 1994
at Kernel->sendRequestThroughRouter(object(Request)) in compiled.php line 1981
at Kernel->handle(object(Request)) in index.php line 53

I made a mistake during installation.  This should be closed.


[BUG] focusedYear null value

I don't know how to replicate bug but if you try to use datetime in form, when save ( or reload state )
the input trigger error in javascript like this:
Uncaught TypeError: Cannot read properties of null (reading 'length')
    at eval (module.esm.js?cbbd:6149:32)
    at eval (module.esm.js?027e:2724:1)

i've added a simple optional chaining to property.
Option chaining

Thank you


[FAQ] In a given schema, is there an easy way to extend an array default value?

In a given schema, is there an easy way to extend an array?
ie:
schema MyApp:
   args: [str] = ["default", "args"]

app = MyApp {
   args: args + ["additional", "args"] // how to syntactically support adding new items to an array?
}

Hey @Peefy, #348 PR made.


Prepare for new release of Confluence

Workflow links: https://github.com/atlassian-labs/atlassian-slack-integration-server/actions/runs/5746557837, https://github.com/atlassian-labs/atlassian-slack-integration-server/actions/runs/5746560492, https://github.com/atlassian-labs/atlassian-slack-integration-server/actions/runs/5746562198.

Integration tests pass, so the current version of Confluence for Slack is marked compatible with Confluence 8.4.1.


Configuration of the output base directory

Is there a way to configure the output base directory? Currently the directory is created on the desktop of the logged in user, but I would like to move it to another drive. I am using the portable version 1.0.8 for Windows.
Almost forgotten. Thanks for making this project available in the GUI and CLI versions under the MIT license. I've been looking for an inexpensive alternative for the SF for a long time. And Xenu is getting a bit long in the tooth.

Hi @GitHub-Mike, I'm glad the tool helps you.
The Crawler GUI app is functional for Windows, macOS and Linux. When I was looking for a suitable placement that is well functional and usable on all platforms, the desktop placement worked everywhere, as one of the few.
If you are a developer and have the ability to research and try other placements to give the user the ability to change it, I would be very grateful.
The situation on Windows is also complicated by the fact that the CLI version of the crawler that the GUI app uses runs under cygwin, which is a virtual environment with its own paths.
Alternatively, it is possible to specify absolute paths starting with a slash in the settings in the screenshot below. But this will only work intuitively on macOS and Linux. On Windows there is the aforementioned cygwin and there it is more complicated. I also noticed when taking the screenshot that I got a validation error there and it's not possible to specify an absolute path. I will fix it in the next version.

Hi Jan,
thanks for the quick reply and the detailed explanation.
My recommendation would be to create an environment variable for the base directory. Then everyone can decide for themselves whether to use a central base directory or set the paths selectively. If you "touch" the GUI anyway, you could use curly brackets or the percent sign.
In the meantime, I have found another solution. I have created the target directory in my desired location, on the other drive. And I have also created a symbolic link to this directory on the desktop. This works wonderfully.


Change dutydate type in assignments database from int64 to string

It is hard to read now from database when operators duty date. Would be more comfortable to read it as a string.
Although there is a need in research of how this type change will affect assignment searching.

Don't forget to make a data migration from one scheme to another.

Write tests to check that everything is fine after this change.


Investigate Reveal JS

Should we switch the back-end from Remark to Reveal?

reveal-md looks promising but seems intended to be used from the command line. RevealJS itself appears to lack a lot of the niceties and simplicity of Remark. For now, closing this out but will revisit at some point in the future.


Getting exception after clicking on place order, if payment method is selected as paypal and product type is downloadable.

Bug report
Title
Getting exception after clicking on place order, if payment method is selected as paypal and product type is downloadable.

Issue Description:
on check out if customer has selected paypal as a payment method then after clicking on place order, getting exception.
Preconditions
1. framework Version. v0.1.8

Steps to reproduce
1. step1: add to cart any downloadable product and proceed checkout.
2. step2: select paypal in payment method.

Expected result
customer should redirect to paypal page.

Actual result
getting exception

framework Version. v0.1.8
issue fixed


Current inline styles are lost when block type is changed

I noticed this when integrating Draft.js into my own application. In my case, I was setting per-block alignment based on user input by changing the block type using RichUtils.toggleBlockType. When I do this, if there are any existing currently inline styles, they are lost.
I can reproduce the same behavior on the live Draft.js demo. Steps to reproduce:

Click bold and or italic.
Click the UL or H1 or BlockQuote button (or any other button that changes the block type).

Notice the bold/italic style has been reverted. This does not occur if you type some text in between steps 1 and 2. I attempted to trace the exact issue in the code, but due to my relative unfamiliarity with the codebase, I was unable to locate the specific bug or determine a suitable workaround. If you have any advice regarding a workaround, that would be most helpful.
Thanks much for a spectacular library!

To clarify, are you selecting "Bold" while the cursor is in a collapsed (zero-character) state, then switching to H1?
If so, the reason is that inlineStyleOverride is nullified when pushing a new ContentState: https://github.com/facebook/draft-js/blob/master/src/model/immutable/EditorState.js#L388
This could probably be avoided here if the EditorChangeType is 'change-block-type'. If you'd like to experiment with it and submit a PR, please do. :)
And you're very welcome! :)

To clarify, are you selecting "Bold" while the cursor is in a collapsed (zero-character) state, then switching to H1?

Yes, that is correct. The same issue occurs when I select H2, H3, or any other button that changes the block type.

This could probably be avoided here if the EditorChangeType is 'change-block-type'.

Adjustments to the push method of EditorState suggest that you are correct. Thanks for your help! I'll follow up with a pull request shortly.

I just opened up a PR - #229.


fasthttp's		ctx.Request.Header.VisitAllCookie(func(k, v []byte) {} and VisitAllHeader

fasthttp's		ctx.Request.Header.VisitAllCookie(func(k, v []byte) {} and VisitAllHeader
possible to include into hertz? i'm missing these features for a complete migration / transition from fasthttp to hertz. thx.

There are these two functions in Hertz: ctx.Request.Header.VisitAllCookie(), ctx.Request.Header.VisitAll()
Please read the doc or try by yourself

I've been working on the detailed documentation recently but it's so much that I've been slow in getting it done, so I'll let you know if it's finished.

@Duslia can u point me to the documentation? i dunno why i cant find it. i think i checked in "app" not sure where the functions u meant are. i will download the whole repo and do search within but pls mention which doc i need to reference. thx

@ultperf

package main

import (
	"context"

	"github.com/cloudwego/hertz/pkg/app"
	"github.com/cloudwego/hertz/pkg/app/server"
	"github.com/cloudwego/hertz/pkg/common/utils"
	"github.com/cloudwego/hertz/pkg/protocol/consts"
)

func main() {
	h := server.Default()
	h.GET("/ping", func(c context.Context, ctx *app.RequestContext) {
		ctx.Request.Header.VisitAllCookie()
		ctx.Request.Header.VisitAll()
		ctx.JSON(consts.StatusOK, utils.H{"ping": "pong"})
	})

	h.Spin()
}

@ultperf Here is all the API: https://pkg.go.dev/github.com/cloudwego/hertz. You can refer to this doc

<EMAIL_ADDRESS>


Empty text if I undo continuously

The UndoManager works well BUT the text will be empty in the end if I undo it continuously ...
I want it to be the initial text, how can I fix it ?

Redo, single time?

Call getUndoManager().preventMerge() after initialization.

Shouldn't it be getUndoManager().forgetHistory() after initialization?

Ah yes, you are right.
On Apr 17, 2017 1:05 PM, "JordanMartinez"<EMAIL_ADDRESS>wrote:

Shouldn't it be getUndoManager().forgetHistory() after initialization?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/TomasMikula/RichTextFX/issues/490#issuecomment-294529858,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAadH0hTJFfOT_B413nRf34HElEkAA7cks5rw5vugaJpZM4M-mBU
.

@TomasMikula @JordanMartinez it works, thanks

Great. Closing


🪲[Bug]: hamburger icon needs to be replaced with close icon if menu opens

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

i have solved the issue and submitted a pull request . Plz review the PR and take actions accordingly.


Error while converting from .pb to .tflite

The following error is being generated while I'm trying to convert my pb model file to tflite file.
2020-08-21 22:03:17.595865: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library nvcuda.dll
2020-08-21 22:03:17.638981: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1640] Found device 0 with properties:
name: GeForce GTX 1650 major: 7 minor: 5 memoryClockRate(GHz): 1.56
pciBusID: 0000:01:00.0
2020-08-21 22:03:17.645082: I tensorflow/stream_executor/platform/default/dlopen_checker_stub.cc:25] GPU libraries are statically linked, skip dlopen check.
2020-08-21 22:03:17.650409: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1763] Adding visible gpu devices: 0
2020-08-21 22:03:17.656789: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
2020-08-21 22:03:17.663393: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1640] Found device 0 with properties:
name: GeForce GTX 1650 major: 7 minor: 5 memoryClockRate(GHz): 1.56
pciBusID: 0000:01:00.0
2020-08-21 22:03:17.668816: I tensorflow/stream_executor/platform/default/dlopen_checker_stub.cc:25] GPU libraries are statically linked, skip dlopen check.
2020-08-21 22:03:17.674059: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1763] Adding visible gpu devices: 0
2020-08-21 22:03:21.070834: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1181] Device interconnect StreamExecutor with strength 1 edge matrix:
2020-08-21 22:03:21.074328: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1187]      0
2020-08-21 22:03:21.076231: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1200] 0:   N
2020-08-21 22:03:21.080389: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1326] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 2927 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1650, pci bus id: 0000:01:00.0, compute capability: 7.5)
2020-08-21 22:03:27.639983: I tensorflow/core/grappler/devices.cc:55] Number of eligible GPUs (core count >= 8, compute capability >= 0.0): 1
2020-08-21 22:03:27.644641: I tensorflow/core/grappler/clusters/single_machine.cc:359] Starting new session
2020-08-21 22:03:27.648974: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1640] Found device 0 with properties:
name: GeForce GTX 1650 major: 7 minor: 5 memoryClockRate(GHz): 1.56
pciBusID: 0000:01:00.0
2020-08-21 22:03:27.656568: I tensorflow/stream_executor/platform/default/dlopen_checker_stub.cc:25] GPU libraries are statically linked, skip dlopen check.
2020-08-21 22:03:27.663018: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1763] Adding visible gpu devices: 0
2020-08-21 22:03:27.665528: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1181] Device interconnect StreamExecutor with strength 1 edge matrix:
2020-08-21 22:03:27.670558: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1187]      0
2020-08-21 22:03:27.672619: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1200] 0:   N
2020-08-21 22:03:27.674983: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1326] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 2927 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1650, pci bus id: 0000:01:00.0, compute capability: 7.5)
2020-08-21 22:03:32.204885: I tensorflow/core/grappler/optimizers/meta_optimizer.cc:716] Optimization results for grappler item: graph_to_optimize
2020-08-21 22:03:32.208626: I tensorflow/core/grappler/optimizers/meta_optimizer.cc:718]   constant folding: Graph size after: 7082 nodes (-490), 10726 edges (-491), time = 1643.91504ms.
2020-08-21 22:03:32.212527: I tensorflow/core/grappler/optimizers/meta_optimizer.cc:718]   constant folding: Graph size after: 7082 nodes (0), 10726 edges (0), time = 598.941ms.
Traceback (most recent call last):
  File "C:\Users\ghosh\anaconda3\envs\tf_gpu2\Scripts\toco-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\ghosh\anaconda3\envs\tf_gpu2\lib\site-packages\tensorflow\lite\python\tflite_convert.py", line 503, in main
    app.run(main=run_main, argv=sys.argv[:1])
  File "C:\Users\ghosh\anaconda3\envs\tf_gpu2\lib\site-packages\tensorflow\python\platform\app.py", line 40, in run
    _run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
  File "C:\Users\ghosh\anaconda3\envs\tf_gpu2\lib\site-packages\absl\app.py", line 299, in run
    _run_main(main, args)
  File "C:\Users\ghosh\anaconda3\envs\tf_gpu2\lib\site-packages\absl\app.py", line 250, in _run_main
    sys.exit(main(argv))
  File "C:\Users\ghosh\anaconda3\envs\tf_gpu2\lib\site-packages\tensorflow\lite\python\tflite_convert.py", line 499, in run_main
    _convert_tf1_model(tflite_flags)
  File "C:\Users\ghosh\anaconda3\envs\tf_gpu2\lib\site-packages\tensorflow\lite\python\tflite_convert.py", line 193, in _convert_tf1_model
    output_data = converter.convert()
  File "C:\Users\ghosh\anaconda3\envs\tf_gpu2\lib\site-packages\tensorflow\lite\python\lite.py", line 898, in convert
    **converter_kwargs)
  File "C:\Users\ghosh\anaconda3\envs\tf_gpu2\lib\site-packages\tensorflow\lite\python\convert.py", line 404, in toco_convert_impl
    input_data.SerializeToString())
  File "C:\Users\ghosh\anaconda3\envs\tf_gpu2\lib\site-packages\tensorflow\lite\python\convert.py", line 172, in toco_convert_protos
    "TOCO failed. See console for info.\n%s\n%s\n" % (stdout, stderr))
tensorflow.lite.python.convert.ConverterError: TOCO failed. See console for info.
C:\Users\ghosh\anaconda3\envs\tf_gpu2\lib\site-packages\tensorflow\python\framework\dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint8 = np.dtype([("qint8", np.int8, 1)])
C:\Users\ghosh\anaconda3\envs\tf_gpu2\lib\site-packages\tensorflow\python\framework\dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
C:\Users\ghosh\anaconda3\envs\tf_gpu2\lib\site-packages\tensorflow\python\framework\dtypes.py:518: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint16 = np.dtype([("qint16", np.int16, 1)])
C:\Users\ghosh\anaconda3\envs\tf_gpu2\lib\site-packages\tensorflow\python\framework\dtypes.py:519: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
C:\Users\ghosh\anaconda3\envs\tf_gpu2\lib\site-packages\tensorflow\python\framework\dtypes.py:520: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint32 = np.dtype([("qint32", np.int32, 1)])
C:\Users\ghosh\anaconda3\envs\tf_gpu2\lib\site-packages\tensorflow\python\framework\dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  np_resource = np.dtype([("resource", np.ubyte, 1)])
C:\Users\ghosh\anaconda3\envs\tf_gpu2\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:541: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint8 = np.dtype([("qint8", np.int8, 1)])
C:\Users\ghosh\anaconda3\envs\tf_gpu2\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:542: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
C:\Users\ghosh\anaconda3\envs\tf_gpu2\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:543: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint16 = np.dtype([("qint16", np.int16, 1)])
C:\Users\ghosh\anaconda3\envs\tf_gpu2\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:544: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
C:\Users\ghosh\anaconda3\envs\tf_gpu2\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:545: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint32 = np.dtype([("qint32", np.int32, 1)])
C:\Users\ghosh\anaconda3\envs\tf_gpu2\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:550: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  np_resource = np.dtype([("resource", np.ubyte, 1)])
2020-08-21 22:04:44.796956: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: FIFOQueueV2
2020-08-21 22:04:44.814263: E tensorflow/core/framework/op_kernel.cc:1426] OpKernel ('op: "NoOp" device_type: "CPU"') for unknown op: NoOp
2020-08-21 22:04:44.814667: E tensorflow/core/framework/op_kernel.cc:1426] OpKernel ('op: "NoOp" device_type: "GPU"') for unknown op: NoOp
2020-08-21 22:04:44.815133: E tensorflow/core/framework/op_kernel.cc:1426] OpKernel ('op: "_HostRecv" device_type: "GPU" host_memory_arg: "tensor"') for unknown op: _HostRecv
2020-08-21 22:04:44.815574: E tensorflow/core/framework/op_kernel.cc:1426] OpKernel ('op: "_Send" device_type: "CPU"') for unknown op: _Send
2020-08-21 22:04:44.815923: E tensorflow/core/framework/op_kernel.cc:1426] OpKernel ('op: "_HostRecv" device_type: "CPU"') for unknown op: _HostRecv
2020-08-21 22:04:44.816285: E tensorflow/core/framework/op_kernel.cc:1426] OpKernel ('op: "_Send" device_type: "GPU"') for unknown op: _Send
2020-08-21 22:04:44.816618: E tensorflow/core/framework/op_kernel.cc:1426] OpKernel ('op: "_Recv" device_type: "CPU"') for unknown op: _Recv
2020-08-21 22:04:44.816993: E tensorflow/core/framework/op_kernel.cc:1426] OpKernel ('op: "_HostSend" device_type: "GPU" host_memory_arg: "tensor"') for unknown op: _HostSend
2020-08-21 22:04:44.817412: E tensorflow/core/framework/op_kernel.cc:1426] OpKernel ('op: "_Recv" device_type: "GPU"') for unknown op: _Recv
2020-08-21 22:04:44.817697: E tensorflow/core/framework/op_kernel.cc:1426] OpKernel ('op: "_HostSend" device_type: "CPU"') for unknown op: _HostSend
2020-08-21 22:04:44.817961: E tensorflow/core/framework/op_kernel.cc:1426] OpKernel ('op: "WrapDatasetVariant" device_type: "CPU"') for unknown op: WrapDatasetVariant
2020-08-21 22:04:44.818266: E tensorflow/core/framework/op_kernel.cc:1426] OpKernel ('op: "WrapDatasetVariant" device_type: "GPU" host_memory_arg: "input_handle" host_memory_arg: "output_handle"') for unknown op: WrapDatasetVariant
2020-08-21 22:04:44.818730: E tensorflow/core/framework/op_kernel.cc:1426] OpKernel ('op: "UnwrapDatasetVariant" device_type: "CPU"') for unknown op: UnwrapDatasetVariant
2020-08-21 22:04:44.819075: E tensorflow/core/framework/op_kernel.cc:1426] OpKernel ('op: "UnwrapDatasetVariant" device_type: "GPU" host_memory_arg: "input_handle" host_memory_arg: "output_handle"') for unknown op: UnwrapDatasetVariant
2020-08-21 22:04:44.820166: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: FIFOQueueV2
2020-08-21 22:04:45.055786: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: QueueDequeueUpToV2
2020-08-21 22:04:45.062161: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: QueueDequeueUpToV2
2020-08-21 22:04:45.069979: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.070267: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.070687: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.071009: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.071499: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.071767: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.072164: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.072399: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.072714: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.072944: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.073255: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.073526: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.073978: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.074437: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.074677: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.075144: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.075363: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.075630: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.076161: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.076447: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.076664: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.076877: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.077287: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.077563: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.078077: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.078291: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.078502: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.078794: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.079051: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.079262: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.079752: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.080073: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.080325: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.080688: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.081058: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.081355: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.081842: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.082050: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.082263: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.082747: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.082992: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.083223: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.083700: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.083932: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.084143: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.084413: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.084793: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.085070: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.085578: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.085910: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.086128: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.086342: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.086559: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.086765: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.087274: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.087485: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.087699: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.087904: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.088286: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.088499: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.089035: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.089361: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.089583: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.089795: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.090012: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.090223: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.090720: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.090931: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.091142: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.091416: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.091793: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.091999: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.093290: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.093599: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.093814: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.094021: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.094388: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.094594: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.094916: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.095183: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.095590: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.095799: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.096008: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.096213: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.096609: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.096825: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.097282: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.097495: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.098023: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.098249: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.098462: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.098668: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.099040: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.099255: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.099582: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.099787: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.100253: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.100544: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.100758: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.100966: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.101335: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.101541: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.101980: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.102187: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.102642: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.102850: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.103058: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.103263: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.103630: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.103835: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.104161: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.104467: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.104934: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.105140: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.105351: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.105557: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.105927: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.106136: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.106472: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.106679: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.107204: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.107507: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.107782: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.107990: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.108378: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.108586: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.108919: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.109127: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.109592: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.109802: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.110012: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.110216: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.110593: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.110798: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.111180: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.111388: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.111853: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.112062: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.112275: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.112476: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.112851: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.113054: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.113390: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.113596: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.114093: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.114326: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.114539: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.114744: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.115146: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.115354: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.115692: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.115906: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.116497: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.116740: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.116969: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.117274: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.118154: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.118448: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.119075: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.119301: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.120202: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.120668: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.120890: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.121102: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.121318: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.121527: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.122257: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.122470: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.122679: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.122890: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.123110: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.123320: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.124627: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.124903: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.125548: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.125929: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.126250: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.126544: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.127186: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.127442: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.127857: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.128069: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.128641: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.128930: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.129144: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.129352: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.129738: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.129946: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.130291: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.130494: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.130995: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.131269: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.131483: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.131689: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.132131: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.132339: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.132739: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.133007: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.133815: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.134120: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.134415: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.134699: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.135283: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.135572: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.136126: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.136414: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.137218: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.137537: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.137827: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.138114: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.138523: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.138732: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.139303: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.139513: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.140030: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.140245: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.140458: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.140889: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.141286: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.141602: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.141954: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.142212: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.142817: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: Reciprocal
2020-08-21 22:04:45.143028: I tensorflow/lite/toco/import_tensorflow.cc:1385] Unable to determine output type for op: Reciprocal
2020-08-21 22:04:45.961170: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] Before Removing unused ops: 5663 operators, 8446 arrays (0 quantized)
2020-08-21 22:04:46.802380: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] After Removing unused ops pass 1: 4317 operators, 6315 arrays (0 quantized)
2020-08-21 22:04:47.543171: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] Before general graph transformations: 4317 operators, 6315 arrays (0 quantized)
2020-08-21 22:04:48.477362: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] After general graph transformations pass 1: 3554 operators, 5619 arrays (0 quantized)
2020-08-21 22:04:49.187676: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] Before Group bidirectional sequence lstm/rnn: 3554 operators, 5619 arrays (0 quantized)
2020-08-21 22:04:49.715892: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] Before dequantization graph transformations: 3554 operators, 5619 arrays (0 quantized)
2020-08-21 22:04:50.394162: I tensorflow/lite/toco/allocate_transient_arrays.cc:345] Total transient array allocated size: 0 bytes, theoretical optimal value: 0 bytes.
2020-08-21 22:04:50.571496: E tensorflow/lite/toco/toco_tooling.cc:456] We are continually in the process of adding support to TensorFlow Lite for more ops. It would be helpful if you could inform us of how this conversion went by opening a github issue at https://github.com/tensorflow/tensorflow/issues/new?template=40-tflite-op-request.md
 and pasting the following:

Some of the operators in the model are not supported by the standard TensorFlow Lite runtime. If those are native TensorFlow operators, you might be able to use the extended runtime by passing --enable_select_tf_ops, or by setting target_ops=TFLITE_BUILTINS,SELECT_TF_OPS when calling tf.lite.TFLiteConverter(). Otherwise, if you have a custom implementation for them you can disable this error with --allow_custom_ops, or by setting allow_custom_ops=True when calling tf.lite.TFLiteConverter(). Here is a list of builtin operators you are using: ADD, AVERAGE_POOL_2D, CAST, CONCATENATION, CONV_2D, FLOOR, FULLY_CONNECTED, GATHER, L2_NORMALIZATION, MAX_POOL_2D, MEAN, MUL, REDUCE_PROD, RESHAPE, RSQRT, SHAPE, SQUARE, SQUARED_DIFFERENCE, SUB, SUM. Here is a list of operators for which you will need custom implementations: FIFOQueueV2, Merge, QueueDequeueUpToV2, RandomUniform, Reciprocal, Switch.
Traceback (most recent call last):
  File "C:\Users\ghosh\anaconda3\envs\tf_gpu2\Scripts\toco_from_protos-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\ghosh\anaconda3\envs\tf_gpu2\lib\site-packages\tensorflow\lite\toco\python\toco_from_protos.py", line 59, in main
    app.run(main=execute, argv=[sys.argv[0]] + unparsed)
  File "C:\Users\ghosh\anaconda3\envs\tf_gpu2\lib\site-packages\tensorflow\python\platform\app.py", line 40, in run
    _run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
  File "C:\Users\ghosh\anaconda3\envs\tf_gpu2\lib\site-packages\absl\app.py", line 299, in run
    _run_main(main, args)
  File "C:\Users\ghosh\anaconda3\envs\tf_gpu2\lib\site-packages\absl\app.py", line 250, in _run_main
    sys.exit(main(argv))
  File "C:\Users\ghosh\anaconda3\envs\tf_gpu2\lib\site-packages\tensorflow\lite\toco\python\toco_from_protos.py", line 33, in execute
    output_str = tensorflow_wrap_toco.TocoConvert(model_str, toco_str, input_str)
Exception: We are continually in the process of adding support to TensorFlow Lite for more ops. It would be helpful if you could inform us of how this conversion went by opening a github issue at https://github.com/tensorflow/tensorflow/issues/new?template=40-tflite-op-request.md
 and pasting the following:

Some of the operators in the model are not supported by the standard TensorFlow Lite runtime. If those are native TensorFlow operators, you might be able to use the extended runtime by passing --enable_select_tf_ops, or by setting target_ops=TFLITE_BUILTINS,SELECT_TF_OPS when calling tf.lite.TFLiteConverter(). Otherwise, if you have a custom implementation for them you can disable this error with --allow_custom_ops, or by setting allow_custom_ops=True when calling tf.lite.TFLiteConverter(). Here is a list of builtin operators you are using: ADD, AVERAGE_POOL_2D, CAST, CONCATENATION, CONV_2D, FLOOR, FULLY_CONNECTED, GATHER, L2_NORMALIZATION, MAX_POOL_2D, MEAN, MUL, REDUCE_PROD, RESHAPE, RSQRT, SHAPE, SQUARE, SQUARED_DIFFERENCE, SUB, SUM. Here is a list of operators for which you will need custom implementations: FIFOQueueV2, Merge, QueueDequeueUpToV2, RandomUniform, Reciprocal, Switch.

@Ayush-Ghosh
Is this still an issue, else could you please move this to closed status.

@Saduf2019 Yes the issue still exists. The document turned out to be not so helpful for me. It would be great if some documentation can pe provided to add a custom operating using python.

Hey @Ayush-Ghosh, Could you tell us the operations that you are trying to use which have not been implemented by TFLite yet.
Also, it would be great if you show the code that you have written up till onw for the custom installation.

@Ayush-Ghosh
Please provide simple indented stand alone code to build the model or to provide the pb file, or if possible share a colab gist with issue reported.

@Saduf2019 You can find the code snippet above for the conversion of pb file to tflite. If you want I can share the pb file as well.

@Ayush-Ghosh Can you please share the *.pb file? What is the TF version you are using? Thanks!


Stricter interfaces/literal types

I love https://github.com/Microsoft/TypeScript/pull/3823 and the way it catches lots of errors early. Unfortunately, it doesn't quite go as far as I'd like it to. Suppose you have code like this, where inlining all properties of styles.header is undesirable for whatever reason (e.g., you can imagine such a block getting very large with many style options to set):
function applyStyles(el: Element, style: {backgroundColor: string}) {}

const styles = {
  header: {
    backroundColor: '#eee',
  },
};

applyStyles(document.getElementById('#header'), styles.header);

Here, the applyStyles call will not catch the extra "typo" property (backroundColor instead of backgroundColor) in the shape of styles.header, which has all optional properties (corresponding to Element.prototype.style properties).
My only option to make sure these things checked right now is I guess to maintain a whitelist of accepted properties that is verified at runtime for each call to the function in question. A way to check this at compile time instead seems like it would be pretty valuable. I know this was discussed before and turned down in favor of only checking inline object literals, but I didn't see this kind of use-case clearly articulated in that discussion so I figured I'd open another issue and see if anyone else still thinks there should be a way to say "no, truly, do not ever pass me anything other than this set of options".

Obviously we'd need a description of some desired semantics to make a call, but I think the bar here is relatively high. The type of style is going to be some named interface if it's of any reasonable size, at which point you could write
interface SupportedStyles { backgroundColor?: string }
function applyStyles(el: Element, style: SupportedStyles) {}
const styles: { [key: string]: SupportedStyles } = {
  header: {
    backroundColor: '#eee', // Error issued here
  },
};

That seems like a reasonable workaround for now. Thanks. I'll come back with any more relevant info after I try that.

@RyanCavanaugh So I tried out your suggestions, but I get an error when I try to access styles.header
interface StyleProps {backgroundColor: string;}
function applyStyles(el: Element, style: StyleProps) {}

const styles: {[key:string]: StyleProps} = {
  header: {
    backroundColor: '#eee',
  },
};

// Error: unknown property "header" on {[key:string]:StyleProps}
applyStyles(document.getElementById('#header'), styles.header);

If I switch to styles['header'] it works, but that isn't quite what I want either.

You could do this? I'm not sure I'm handling all your use cases here, though:
interface StyleProps {backgroundColor: string;}
function applyStyles(el: Element, style: StyleProps) {}

const styles = {
  header: {
    backgroundColor: '#eee',
  } as StyleProps
};

// OK
applyStyles(document.getElementById('#header'), styles.header);

Circling back: {foo: 'bar'} as StyleProps passes typechecking, since I think the as StyleProps is just a cast, right? It's effectively the same as {header: <StyleProps>{foo: 'bar'}}.
The workaround I'm thinking of at this point is to just have a styleProps function that takes StyleProps argument:
function styleProps(props: StyleProps) { return props; }

Then this will be type-checked:
const styles = {
header: styleProps({
backroundColor: '#000', // Error, unknown property in object literal
}),
};
It's just unfortunate that this kind of boilerplate is required since it relies on callers being well-behaved.
It doesn't matter too much in the StyleProps use-case since the issue of passing unknown properties is relatively low impact. However, this becomes more "interesting" in a security-sensitive context where I want to whitelist what properties can be assigned to a dom node:
interface DivProps {
  style?: StyleProps;
}
function div(props: DivProps): HTMLDivElement {}

div({onclick: 'alert("pwnd")'}); // Error. Yay! no XSS.

const props = {onclick: 'alert("pwnd")'};
div(props); // No error. XSS :(

That being said, I suppose the only truly safe way to defend against this kind of thing is runtime whitelists, since all the type-checking can just be trivially defeated by introducing any. It'd just be nice if more of these checks could happen automatically at compile time.

Maybe the same problem related to union types:
interface X {

}

interface Y {
	z: Z;
}

interface Z {
	a: string;
	b: string;
}

let z: Z = { // Error, which is ok: "Type: '{}' is not assignable to type 'Z'. Property 'a' is missing in type '{}'."
};

let foo: X | Y = {
	z: { // Not an error but it should be: if foo is X then it shouldn't contain field 'z', if foo is Y then 'z' field should contain 'b'
		a: "abc"
	}
}```

Can I force the compiler to show an error message if "b" field is not provided at "foo.z.b"?

This is an upstream wish for exact types or the "non-casting type assertion" operator


Fix undeclared identifier HOST_NAME_MAX when compiling with clang.

external/com_github_grpc_grpc/src/core/lib/iomgr/gethostname_host_name_max.cc:32:50: error: use of undeclared identifier 'HOST_NAME_MAX'
char* hostname = static_cast<char*>(gpr_malloc(HOST_NAME_MAX));
release notes: yes

Thank you for your pull request. Before we can look at your contribution, we need to ensure all contributors are covered by a Contributor License Agreement.
After the following items are addressed, please respond with a new comment here, and the automated system will re-verify.

User @andreich isn't covered by a CLA. They will need to complete the form at https://identity.linuxfoundation.org/projects/cncf

Regards,
CLA GitHub bot

CC @yashykt @nicolasnoble @AspirinSJL

I'm sorry that this fell out of our radar. Is this a problem that we can verify that exists by reproducing somehow? I believe our infrastructure already uses clang as part of presubmits.
Alternatively, is there any documentation that tells us what the right way to query the host name max is?

reopening once


Cannot connect with react-native-meteor

Hi,
I am evaluating this stack for my next project, and I was really excited to see this project integrating Meteor and Apollo, since I want to have the best of both worlds.
I just ran your example code, but I cannot connect with react-native-meteor. I can connect via the web browser to http://localhost:3000/graphiql just fine, and I can run queries.
However, when I connect from react-native-meteor to ws://<host_name>:3000/websocket, I cannot connect.
This is what I get:
04-09 06:34:00.432  4346  5296 I ReactNativeJS: Connecting to Meteor port at ws://<IP_ADDRESS>:3000/websocket
04-09 06:34:00.450  4346  5296 I ReactNativeJS: We are disconnected!!!
04-09 06:34:00.450  4346  5296 I ReactNativeJS: Disconnected from DDP server.

I thought this was still using DDP as the connection protocol? If I run a standard meteor app, I can connect from react-native-meteor just fine.
Any known issues with connecting from react-native-meteor? Maybe I just don't understand this layout well enough...I thought this was both a Meteor server and an Apollo server?

Hmm, OK, I am reading https://forums.meteor.com/t/meteor-reactivity-alongside-graphql-apollo-implemented/42644/22 again, and from this it sounds like no DDP server is exposed, just GraphQL? So I just need to use apollo-live-client on react-native side? Did I get that right?

Closing since this was an invalid issue.


Confusion about Syllabus

Hello,
I realized that I missed class when the announcement of moving the questions to Carmen was made because of a doctor's appointment. Due to this, I was still using the syllabus for guidance about assignment due dates and missed the questions posted today. Is there anyway I could answer these questions for credit? I noticed that the quiz was closed on Carmen.
Sorry about the confusion,
Ameer

I believe that these were opened back up!


add support for auth-provider from kubeconfig files

addreses #4422, with this fix Tiller-less Helm can be used with Kubernetes clusters which use auth-provider to authenticate user to the cluster.

ping @bacongobbler @adamreese

won't make it into 2.10 since this is technically a feature, but it will make its way into 2.11. Thanks

awesome, thanks 👍

after discussing with @michelleN, we determined that this may actually be construed as a bugfix for users that were using helm-local on 1.9 clusters and older, so we're gonna patch this one into 2.10. Thanks again!

sweet


path_provider: ^1.6.27 Error in real android device

I'm using path_provider: ^1.6.27 which I have used to download svg files from my server. The code below is working as expected in debug mode but isn't working as expected in release mode. The documentation of path_provider is terrible with no sufficient info.
It doesn't mention what sort of permission do I need in order to get it working.
I have asked for permissions in android/app/src/main/AndroidManifest.xml
....
package="com.xyz.xxx">
          <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
          <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<application
....

xyz.dart
Future<void> _checkAssets() async {
  final _di = di.sl<GetAssets>();
  final result = await _di(NoParams());
  result.fold((failure) {
    return;
  }, (AssetsEntity assets) async {
    final directory = (await getApplicationDocumentsDirectory()).path;
    final _logoUrl = "$BASEURL/static/logos/";
    final assetsDir = "$directory//flutter_assets/";
    if (await _checkFiles(assets, assetsDir)) {
      assets.clubLogo.forEach((logo) async {
        await _downloadFile(
            dir: assetsDir, filename: logo, url: _logoUrl + logo);
      });
    }
  });
}

Future<bool> _checkFiles(AssetsEntity assets, String assetsDir) async {
  print("CHECKING ASSETS..");
  final localFolder = Directory(assetsDir).listSync();
  for (var _logo in assets.clubLogo) {
    if (!await File(assetsDir + _logo).exists()) {
      localFolder.forEach((file) async => await file.delete());
      return true;
    }
  }
  return false;
}

Future<File> _downloadFile(
    {@required String url,
    @required String filename,
    @required String dir}) async {
  var req = await http.Client().get(Uri.parse(url));
  var file = File('$dir/$filename');
  print("DOWNLOAD SUCCESS");
  return file.writeAsBytes(req.bodyBytes);
}

Help me fix the issue!!

Hi @xenSlayer
This seems to be a production, only final directory = (await getApplicationDocumentsDirectory()).path; is related to path_provider
No issues when running this in release mode on the latest path_provider: ^1.6.27
Please try this code sample below

code sample
import 'package:flutter/material.dart';
import 'package:path_provider/path_provider.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      theme: ThemeData.dark(),
      home: Home(),
    );
  }
}

class Home extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Material App Bar'),
      ),
      body: Center(
        child: Container(
          child: Text('Hello World'),
        ),
      ),
      floatingActionButton: FloatingActionButton(
        child: Icon(Icons.add),
        onPressed: () async {
          final directory = (await getApplicationDocumentsDirectory()).path;
          print(directory);
        },
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.6, on macOS 11.2.1 20D74 darwin-x64, locale en-GB)
    • Flutter version 1.22.6 at /Users/tahatesser/Code/flutter_stable
    • Framework revision 9b2d32b605 (3 weeks ago), 2021-01-22 14:36:39 -0800
    • Engine revision 2f0af37152
    • Dart version 2.10.5
[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, set ANDROID_SDK_ROOT to that location.
      You may also want to add it to your PATH environment variable.
[!] Xcode - develop for iOS and macOS (Xcode 12.4)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    ✗ CocoaPods not installed.
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To install:
        sudo gem install cocoapods
[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[✓] VS Code (version 1.53.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.19.0
[!] Connected device
    ! No devices available
! Doctor found issues in 4 categories.

Can you please provide your flutter doctor -v and flutter run --release --verbose logs, and a minimal complete reproducible code sample with just path_provider code (not production code)?
Thank you

Do I need any sorts of permissions before saving any files in getApplicationDocumentsDirectory()? Because it's working properly in debug mode.

the permissions for reading and writing external storage are sufficient

@TahaTesser
Flutter doctor -v : output
[√] Flutter (Channel stable, 1.22.6, on Microsoft Windows [Version 10.0.19042.804], locale en-US)
    • Flutter version 1.22.6 at D:\Flutter
    • Framework revision 9b2d32b605 (3 weeks ago), 2021-01-22 14:36:39 -0800
    • Engine revision 2f0af37152
    • Dart version 2.10.5

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Users\kiran\AppData\Local\Android\Sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = C:\Users\kiran\AppData\Local\Android\Sdk
    • ANDROID_SDK_ROOT = C:\Users\kiran\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Java\jdk-15.0.2\bin\java
    • Java version Java(TM) SE Runtime Environment (build 15.0.2+7-27)
    • All Android licenses accepted.

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).

[√] VS Code (version 1.53.2)
    • VS Code at C:\Users\kiran\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.19.0

[!] Connected device
    ! No devices available

! Doctor found issues in 2 categories.

Hi @xenSlayer
As mentioned in https://github.com/flutter/flutter/issues/75906#issuecomment-778238488, please reproducible runnable code sample, not production code


"Ulieș", "Daia", "Iașu" and "Ighiu" are listed in the drop-down menu

Description:
"Ulieș", "Daia", "Iașu" and "Ighiu" are listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Ulieș" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Ulieș, HARGHITA (Ulieș)" and "Comuna Ulieș, HARGHITA".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Type "Daia" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Daia, HARGHITA (Ulieș)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Type "Iașu" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Iașu, HARGHITA (Ulieș)".

Step 6
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 7
Type "Ighiu" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Ighiu, HARGHITA (Ulieș)".


Lock Numbering

Investigate what it is happening in the renumbering process in FEM-Design.
From an initial test, the @ can not be serialise from FEM-Design (save as does not create any @ in the .struxml)
@xRadne Finding

To be honest I don't fully understand this either.
But here is 1 example I know:
1. Draw 3 bars in FEM-Design: (They will be named B.0, B.0, B.0)

2. Save the file as struxml: (They will be renamed to B.1, B.2, B.3)

3. Read the model using the API: (Still named B.1, B.2, B.3)

4. Add another bar to the model (The 4 bars will be named B.1, B.2, B.3, **B.1**)

5. Open the model in FEM-Design (They will be renamed to B.1, B.2, B.3, B.4)

Note that the bar added in step 4 will now be named B.1, while the bar originally named B.1 is now named B.2 etc.
(edit) If we then continue: 6. Manually edit the struxml to change one of the bars named B.1 to instead be called @B.7 (Nothing changes, they will be renamed to B.1, B.2, B.3, B.4 7. Change it back to B.1. 8. Manually edit the struxml to change the bar_part of one of the bars named B.1.1 to instead be called @B.7.1 (They will be renamed to B.7, B.8, B.9, B.10)

Open this file (Bar with @.struxml.txt) and then save it as struxml and you will see the "@" will still be there. But it is hidden in the GUI in FEM-Design.

@Marco-Pellegrino Is still still relevant?

The biggest issue that I see regarding "renumbering" is when the user wants to get some specific result related to some element.
Looks like "name" or identifier might cause some problem if it is not done carefully.
I am not sure if it is fully solvable tbh.

The biggest issue that I see regarding "renumbering" is when the user wants to get some specific result related to some element.

That would be solved by introducing GUID in the output list from FEM-Design. It will be difficult to solve with locked numbering as a user can still have identical locked position numbers.

That would be solved by introducing GUID in the output list from FEM-Design. It will be difficult to solve with locked numbering as a user can still have identical locked position numbers.

Yes. I agree that it is the best way to go.
Karamba3d, for example, is using the Index to select the desired element as it is unique.

#390


Add example of multiple -exclude

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/Tools/cli-ref-pack.md
:white_check_mark:Succeeded

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


change file/folder names

project(azure_ulib_c)

this should probably be changed

Refers to: CMakeLists.txt:6 in 636efb8. [](commit_id = 636efb8709b894382148928ca2f8415670a19ca6, deletion_comment = True)

project(azure_ulib_c)

on second thought no because this is the name of the repo

In reply to: 547048726 [](ancestors = 547048726)

Refers to: CMakeLists.txt:6 in 636efb8. [](commit_id = 636efb8709b894382148928ca2f8415670a19ca6, deletion_comment = True)

#ifndef USTREAM_CTEST_AUX_H

Consider rename all these test files from ustream_... to az_ulib_...

Refers to: tests/inc/ustream_ctest_aux.h:4 in ed08ae5. [](commit_id = ed08ae5799d238f6444176177037aa2084dc281e, deletion_comment = False)

// Copyright (c) Microsoft. All rights reserved.

Please add az_ulib_ on the files for the tests as well.

Refers to: tests/tests_e2e/az_ulib_ustream_e2e/ustream_e2e.c:1 in ed08ae5. [](commit_id = ed08ae5799d238f6444176177037aa2084dc281e, deletion_comment = False)


Build failed because YouTubePlayerKit.swiftmodule is not built for arm64.

What happened?
Received the following error when trying to archive for VisionOS 1.2.
Build failed because YouTubePlayerKit.swiftmodule is not built for arm64. Please try and run destination with a different architecture. Ensure all targets are configured to build for standard architectures. If your project uses external dependencies, contact those vendors to provide updated copies built to support all architectures.
You can control the visibility of architecture-specific run destinations in the Product > Destination menu.
What are the steps to reproduce?
Select archive.
What is the expected behavior?
archive build

Since the YouTubePlayerKit is a Swift Package cloned and built from source, the origin of this kind of error is more likely related to a misconfiguration within the Xcode project or a different dependency in your project that is a precompiled framework.


New Powerwall has appeared and old one no longer working

Version of the custom_component
3.9.1
I have a Car and a powerwall setup in HA via this integration. I noticed that my powerwall had stopped working and all the sensors just said unavailable. Looking further I now have "Powerwall" and "My Home" listed as powerwalls (I only have one). Now my automations and dashboards do not work as they are configured with Powerwall and not my home.
2 questions:

If I move my automations to the new powerwall is this going to happen again?
How do I delete the old powerwall?

the same, all automation are broken

Adding to this -- the powerwall in my Tesla app on IOS disappeared too -- I had to completely uninstall the app and re-install for it to show up again.  I'm thinking that maybe Tesla changed the unique id of the devices recently?

I can confirm that after uninstalling this integration and re-installing it, everything is working correctly again and I don't see duplicate devices.

Ok, we'll probably need a PR to deal with this use case. I don't have a powerwall so have no idea what is being used as a unique ID.


Big checkboxes

Big checkboxes. They're checkboxes and big.
Changes

Changes the current checkboxes to atomic big checkboxes
Fixes the spacing between checkboxes to bring them into spec
Moves checkboxes from atoms to molecules

Testing
Check out the first commit of this PR and visit the Bureau page. I have a small form on there for you to test. Try testing with only two options to see the two-column layout.
Review

@ajbush
@cfarm
@jimmynotjim

Screenshots

** From another branch with the same work showing off the two-column work**

Checklist

[ ] Changes are limited to a single goal (no scope creep)
[ ] Code can be automatically merged (no conflicts)
[ ] Code follows the standards laid out in the front end playbook
[ ] Passes all existing automated tests
[ ] New functions include new tests
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged
[ ] Visually tested in supported browsers and devices
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)

Also tagging @sebworks on Platform to review.

👍

Rebased. Can you review @jimmynotjim?

Rebased and addressed comments.

👍

Two trivial comments, otherwise looks good code-wise. I haven't been able to test in the browser though.

Weird, the bot didn't merge despite the two "+1". Do they have to be back-to-back? cc @contolini

@jimmynotjim I think that's because the bot needs to be assigned. I'll assign it after I take care of @anselmbradford requests.
@anselmbradford d4f6bbf removes the form. I rebased any non-style things into the commit before for previewing, but didn't want to risk committing placeholder code.

@KimberlyMunoz
I wanted to document that during our work on Form 3.0, we found it necessary for the hierarchy to use label styles for large area radio buttons/checkboxes (higher than h4) not currently included in the updated page created by Cat. Shown in the screenshots. The style changes were approved during the from review by @schaferjh @keelerr and @kokkinidisg so it would be great if those variations could be coded in CF as well.

That should be possible with the code that exists in the codebase already, but thanks for sharing. This is useful as we're refactoring form stuff in Capital Framework.
Is this in the design manual for reference when the forms are actually created so we don't forget and we have all details we need?

Great!
It's not live on the design manual yet, we're in a holding pattern at the moment until we figure out how the cf and the dm will converge, but I'll add it to that issue.


Ban discord.gift links

Within the community several discord.gift links are shared, half of them are trolls and this isn't worth keeping.
We'd like to add discord.gift links to the filter system so they are automatically deleted.
Links look like discord.gift/AABBCCDDEEFF and should be handled in a similar way to the way Discord invites are.
A lot of the code from the Discord invite filters can most likely be reused or refactored into a DRY approach to things to handle all links in this way.
An example of a (valid) troll link is: discord.gift/wtwe5QSbtmz63xnY8XFpd6ue which renders to

can't we just add discord.gift to the URL blacklist? Does this really need any code at all?

@lemonsaurus I believe so actually, I was under the misconception that the URL blacklist only checked for actual links (e.g. starting with a protocol), but that should work.


[Issue-1219] - when generating dnssec keys for a cdn, figure out a cdn's delivery services by using cdn_id rather than prof…

…ile; also no need to update an 'inception' parameter
fixes #1219

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/309/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR-trafficops-test/268/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/332/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR-trafficops-test/291/


Release proposal: v1.38.0

I'm proposing releasing v1.38.0 in the next week or so. If there is anything you'd like to see make it into this release, please merge it. If you have any comments or objections, please raise them here.
Notable changes:

uv_library_shutdown() has been added.
uv_udp_init_ex() now accepts UV_UDP_RECVMMSG, although it is a no-op.
Obsolete MAX_PATH restrictions have been removed on Windows, and Windows is now long path aware.
Windows environment variables longer than 32,767 characters are now supported.
Linux cpu_times are now reported as milliseconds to match other platforms.
A memory leak resulting from uv_loop_init() failures has been fixed.

libuv CI: https://ci.nodejs.org/view/libuv/job/libuv-test-commit/1910/
Node.js + libuv integration CI: https://ci.nodejs.org/view/libuv/job/libuv-in-node/135/


Left Swipe

When it takes a slide to the left, appears blank space.

@rodriguezivanb how many tabs do you have?

When it takes a slide to the left, appears blank space.    Two labels

@liangzhiqi When you have less than 3 labels, you need to pass in no less than 3 views. This is because of the viewpager's loading scheme: viewpager loads 3 pages at a time. So when you have 2 labels, the view list you pass in the DecentBanner.start() method should contain 4 views, the first and the third are identical, and the second & fourth are identical, while the title list should have just 2 elements.


URL for the tool after installation

I'm not well versed with npm, where is the to access the UI?  The restAPIendpoint gives me a missing auth token error (but I don't think I'm supposed to access that directly).  port :8080 on the machine doesn't have anything running.  I think everything is installed ok but I just can't seem to find where to access the UI...

User Error.  Somehow I had not deployed, ugh, sorry.  For those who may come after me, the output at the end of the deploy will read something like
Outputs:
PowerTunerWebsiteStack.websiteDeploycloudfrontdomainXXXXXXX = [random-string].cloudfront.net


No support for UDF

[Enter feedback here]
UDFs are not supported by Cosmos DB for Graph.
function userDefinedFunction(){
return g.V()
}
the simple function doesn't work and returns an error
Error
Failure in submitting query: c(): Script eval error: ActivityId : fb6be77e-a52d-462d-ae43-61f6100b5cc5 ExceptionType : GraphCompileException ExceptionMessage : Gremlin Query Compilation Error: Unable to resolve symbol 'c' in the current context. @ line 1, column 2. 1 Error(s) GremlinRequestId : 5351bc45-d73e-4d69-b5ed-565f8831cd63 Context : graphcompute Scope : graphparse-translate-validatesymbolresolution GraphInterOpStatusCode : QuerySyntaxError HResult : 0x80131500
very sad :(

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

ID: 0374b015-1139-9df8-6c96-a8657a088748
Version Independent ID: 2e18d44d-de3c-eee5-7932-0a5a967e9b17
Content: Azure Cosmos DB Gremlin support and compatibility with TinkerPop features
Content Source: articles/cosmos-db/graph/gremlin-support.md
Service: cosmos-db
Sub-service: cosmosdb-graph
GitHub Login: @manishmsfte
Microsoft Alias: mansha

@questsin Thank you for the feedback. We are actively investigating and will get back to you soon.

@questsin Thanks for your patience. Yes currently the UDFs are supported just for SQL API, sorry for the inconvenience. However you can submit the feature feedback and product team can review it accordingly.
https://feedback.azure.com/d365community/post/

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


AttributeError: module 'obspython' has no attribute 'obs_get_frame_interval_ns'

Python 3.6.8 isn't in PATH, a higher version is.
Dependencies Installed
Python   3.6.8
pywin32    304
PyWinCtl   0.0.38
win32core  221.36
win32gui   221.6
OBS Python Install Path: C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64
OBS 21.1.0 (64bit, windows)
Script Log
[zoom_and_follow_mouse.py] Traceback (most recent call last):
[zoom_and_follow_mouse.py]   File "D:/Folder\zoom_and_follow_mouse.py", line 20, in <module>
[zoom_and_follow_mouse.py]     class CursorWindow:
[zoom_and_follow_mouse.py]   File "D:/Folder\zoom_and_follow_mouse.py", line 39, in CursorWindow
[zoom_and_follow_mouse.py]     refresh_rate = int(obs.obs_get_frame_interval_ns()/1000000)
[zoom_and_follow_mouse.py] AttributeError: module 'obspython' has no attribute 'obs_get_frame_interval_ns'

OBS is version 21.
I've coded for version 27 or so, I don't know how far back they added that function to the Python API.