nbconvert is reported as a missing dependency

Issue Report Checklist

[x] Searched the issues page for similar reports
[x] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[x] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[ ] Could not reproduce inside jupyter qtconsole (if console-related)
[x] Tried basic troubleshooting (if a bug/error)

[x] Restarted Spyder
[x] Reset preferences with spyder --reset
[x] Reinstalled the latest version of Anaconda
[x] Tried the other applicable steps from the Troubleshooting Guide

[x] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
When I start spyder I get a message that I have missing dependencies:
nbconvert >=4.0: None (NOK)
despite having version 5.3.1 installed (via conda)
What steps reproduce the problem?

conda create --name test python=3.7 && conda activate test
conda install spyder
spyder

What is the expected output? What do you see instead?
Expected output is no error.
What I see is:

Versions

Spyder version: 3.3.3
Python version: 3.7
Qt version: 5.9.7-h5867ecd_1
PyQt version: 5.9.2-py37h05f1152_2
Operating System name/version: Ubuntu 18.04

Although nbconvert is installed (and everything was installed on a completely fresh version of Anaconda), when I open python and try to import nbconvert I get:
>>> import nbconvert
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/alex/code/development_tools/anaconda3/envs/test/lib/python3.7/site-packages/nbconvert/__init__.py", line 7, in <module>
    from . import postprocessors
  File "/home/alex/code/development_tools/anaconda3/envs/test/lib/python3.7/site-packages/nbconvert/postprocessors/__init__.py", line 5, in <module>
    from .serve import ServePostProcessor
  File "/home/alex/code/development_tools/anaconda3/envs/test/lib/python3.7/site-packages/nbconvert/postprocessors/serve.py", line 19, in <module>
    class ProxyHandler(web.RequestHandler):
  File "/home/alex/code/development_tools/anaconda3/envs/test/lib/python3.7/site-packages/nbconvert/postprocessors/serve.py", line 21, in ProxyHandler
    @web.asynchronous
AttributeError: module 'tornado.web' has no attribute 'asynchronous'

Do you think this could be the issue?
Regards,
Alex

Thanks for reporting. This is an issue with the nbconvert conda packages.

Pinging @jjhelmus about this one. @jjhelmus, it seems you need to unpin pandoc in the nbconvert recipe to make conda install the latest nbconvert, which is the one compatible with the latest tornado.
See
https://github.com/conda-forge/nbconvert-feedstock/issues/27
https://github.com/conda-forge/nbconvert-feedstock/pull/28

Thanks,
Running conda install nbconvert upgraded nbconvert to 5.4.1 and the error went away!
Regards,
Alex

@ccordoba12 A new build of nbconvert 5.4.1 is available in defaults that unpins the pandoc dependency.

Thanks a lot @jjhelmus!

Please help, I tried installing nbconvert using conda, but it fails by saying "requests" is a dependency and and cannot be removed.
This all started when I downgraded "tornado" to an older version.
Also when I type "conda list", I am getting an error.

Still doing this for me today, after installing the new spyder version through conda. I am getting the AttributeError: module 'tornado.web' has no attribute 'asynchronous' error. Any ideas?

Thanks,
Running conda install nbconvert upgraded nbconvert to 5.4.1 and the error went away!
Regards,
Alex

Me too, This method worked well.
Thanks for sharing

Thanks,
Running conda install nbconvert upgraded nbconvert to 5.4.1 and the error went away!
Regards,
Alex

Me too, This method worked well.
Thanks for sharing

I still got error and conda install nbconvert returns with following error:
Traceback (most recent call last):     File "C:\Users\uname\Anaconda3\lib\site.py", line 168, in addpackage       exec(line)     File "<string>", line 1, in <module>     File "<frozen importlib._bootstrap>", line 580, in module_from_spec   AttributeError: 'NoneType' object has no attribute 'loader'

Hey @aysebilgegunduz, it seems your Anaconda installation is broken. Please see our video to learn how to remove it and reinstall it again.

Hey @aysebilgegunduz, it seems your Anaconda installation is broken. Please see our video to learn how to remove it and reinstall it again.

Yes, thank you I reinstalled it.

I have the same issue about the missing dependency of nbconvert. I ran conda install nbconvert on the Anaconda Powershell Prompt, but it says that all the requested packages are already installed. Is there any other workaround?
Versions

Spyder: 5.4.3
Python: 3.8.18
Operating System: Windows 10

Note that import nbconvert gives me long lines of error messages like below. I think it is related to the problem, but I'm sure how to fix it, since the latest nbconvert is already installed.
>>> import nbconvert
Traceback (most recent call last):
  File "C:\Users\Daigo\anaconda3\envs\env_SLAM\lib\site-packages\nbconvert\filters\markdown_mistune.py", line 25, in <module>
    from mistune import (  # type:ignore[attr-defined]
  File "C:\Users\Daigo\anaconda3\envs\env_SLAM\lib\site-packages\mistune\__init__.py", line 4, in <module>
    from .renderers import AstRenderer, HTMLRenderer
ImportError: cannot import name 'AstRenderer' from 'mistune.renderers' (C:\Users\Daigo\anaconda3\envs\env_SLAM\lib\site-packages\mistune\renderers\__init__.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\Daigo\anaconda3\envs\env_SLAM\lib\site-packages\nbconvert\__init__.py", line 7, in <module>
    from .exporters import (
  File "C:\Users\Daigo\anaconda3\envs\env_SLAM\lib\site-packages\nbconvert\exporters\__init__.py", line 4, in <module>
    from .html import HTMLExporter
  File "C:\Users\Daigo\anaconda3\envs\env_SLAM\lib\site-packages\nbconvert\exporters\html.py", line 29, in <module>
    from nbconvert.filters.markdown_mistune import IPythonRenderer, MarkdownWithMath
  File "C:\Users\Daigo\anaconda3\envs\env_SLAM\lib\site-packages\nbconvert\filters\markdown_mistune.py", line 40, in <module>
    from mistune import (  # type: ignore[attr-defined]
  File "C:\Users\Daigo\anaconda3\envs\env_SLAM\lib\site-packages\mistune\__init__.py", line 4, in <module>
    from .renderers import AstRenderer, HTMLRenderer
ImportError: cannot import name 'AstRenderer' from 'mistune.renderers' (C:\Users\Daigo\anaconda3\envs\env_SLAM\lib\site-packages\mistune\renderers\__init__.py)

@dkobayas-cyber, you can try to run
conda update mistune

to see if that helps.


Add Support for Header/Footer for CollectionView.

@mpociot please accept this. it also fixes the 64bit build issue with iOS 8.2.


Added index for faster GF queries

Description
This pr partly fixes #1226 by inserting an index: CREATE INDEX ON processvaluetable(valuename, asset_id) WITH (timescaledb.transaction_per_chunk);.
This doesn't solve the issue yet.
Type of change
Please delete options that are not relevant.

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

How Has This Been Tested?

[ ] Test A
[ ] Test B

Checklist:

[ ] I have made corresponding changes to the documentation
[ ] I have made corresponding changes to the changelog (if needed).
[ ] I have made corresponding notices to the upgrade instructions (if needed)

CodeQL fails, due to reformatting.

Codecov Report

Merging #1261 (eccd14f) into main (84cbd99) will decrease coverage by 0.61%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #1261      +/-   ##
==========================================
- Coverage   12.50%   11.89%   -0.62%
==========================================
  Files          29       29
  Lines        8317     8685     +368
==========================================
- Hits         1040     1033       -7
- Misses       7207     7580     +373
- Partials       70       72       +2

Impacted Files
Coverage Δ

golang/cmd/factoryinsight/http.go
0.00% <0.00%> (ø)

golang/cmd/factoryinsight/main.go
0.00% <0.00%> (ø)

golang/cmd/kafka-state-detector/main.go
0.00% <0.00%> (ø)

golang/cmd/sensorconnect/main.go
0.00% <0.00%> (ø)

golang/internal/kafka.go
0.00% <0.00%> (ø)

golang/internal/kafkaMessageProcessing.go
0.00% <0.00%> (ø)

golang/internal/kafkaSharedTypes.go
0.00% <0.00%> (ø)

golang/internal/exponential_backoff.go
50.00% <0.00%> (-10.72%)
:arrow_down:

golang/internal/ioddfinder.go
63.07% <0.00%> (-3.08%)
:arrow_down:

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


Get HTML5 working

IDE v<IP_ADDRESS>5  Runtime v<IP_ADDRESS>3 fixes some HTML5 issues apparently

do my eyes deceive me

They do not. It finally happened!


Re-implement CURRENT_DATETIME replacement in metadata

Closes #277

This looks fine to me. Would you mind adding a test for these 2 cases?

Can do. Any idea why master is currently failing tests?

Can do. Any idea why master is currently failing tests?

I'm really not sure. The build errors out because the gulp task doesn't end which is weird...
2 failing tests are:
1) textarea names do not collide with view methods
2) saves changes to model on textarea element change

Hey, sorry for the confusion regarding those tests. They currently fail because they show where Prose is malfunctioning in regards to the meta data elements. I haven't had a chance to make a pull request to fix those parts yet.

they show where Prose is malfunctioning in regards to the meta data elements

Whaddaya mean? How much time do you need for a PR?

@parkr it's taken me a while, this is true. If you'd like to contribute in this area, the tests show what need to be done.

I dug around the tests a bit, but couldn't seem to find a test that does something similar that I can use as an example when adding more tests for this specific change. Any hints?

@holic I PRd a few tests into your branch, I hope it helps.
Is including seconds too much detail? I like having the offset but I don't know if most people care what second their blog post is created.

I figured the extra granularity couldn't hurt (and only a few extra characters), but I can certainly remove it if you don't think it's needed.

@holic if you don't have strong feelings about it, I would recommend leaving seconds out and just going with minutes + offset, since I think that will simplify it for people who won't be editing this metadata as a form element. I think it's good to merge after that.

@dereklieu Done.

Nice!


[Fullstack] Test creating user accounts/resetting password

Description

We need to verify that the creating user accounts and resetting passwords function properly
There won't be a PR for this ticket. Instead, leave a comment with the cases you tested and any bugs you encountered

Acceptance Criteria

[ ] Can't sign up with existing email
[ ] Able to upload images
[ ] Confirmation emails are delivered
[ ] These are just examples of tests, make sure to try more cases

Other Notes

Try a variety of inputs and edge cases
Make sure you ensure that permissions are limited prior to admin verification

Tested upload image function, user is able to successfully upload image.
Tested sign up with existing email, have warning message on mobile end but no warning message on web-end (not necessary anyways)
confirmation email shows preview but not sending (dev mode)

Tests
Functionally successful tests are denoted with a checkmark. Permissions are limited prior to admin verification.

firebase error when accessing backend (login, confirmation code verification): Service account object must contain a string "project_id" property.
[ ]  Sign up with existing email
- Tried signup with existing email but non-matching password, password error message appears before checking
duplicate email warning message
[ ]  Login with non-existent email (Cannot login but no warning message)
[ ]  Tested existing email sign up (Warning message for email already in-use) but cannot login or password reset (could not
find user with email)
[ ]  Tested sending confirmation emails for resetting password, email won't send in dev mode, but confirmation
code from previews are successful -> jumps to the reset password screen
[ ]  Unable to reset password in the reset your password screeen (error message: "Failed to reset password")
[ ]  Tried logging in again after reset password attempt, but "Service account object must contain a string "project_id"
property""
[ ] Verification code fields do not clear after verification request expires, has to clear each cell one by one manually.


[autoprefixer] Fix server side rendering

Should fix https://github.com/callemall/material-ui/issues/2159 and https://github.com/callemall/material-ui/issues/2119

Confirmed that checking this branch out fixed the problem for me (I was having the problem in #2119). :+1:

Note that this branch doesn't solve a similar issue I'm having with the prefixer, that being that when I run it in a WKWebView in my OSX app, it fails with the following error, though it runs fine in Chrome and Safari:

@bradparks You should probably report this issue to the inline-style-prefixer repository.

@oliviertassinari Hello, I don't know your process, when do you think a new version with this fix can be released ?

Same here. When do expect the next release to go out?

@Sutat I forked the repo and have a compiled version available https://github.com/mfrye-intuit/material-ui.
@oliviertassinari You guys have done a great job with this repo, but it would be nice if you practiced CI / CD. I've had switch and pull from master so many times now because your latest code isn't pushed to npm.

@oliviertassinari Do you have unit test for this fix?

@raydemandforce Nop, but it would be great to have unit test for the server side rendering. We broke up two times lately..

Will this get pushed to npm soon? As an alternative is there an earlier verson that I can use which doesn't break server side rendering?

Tried the fix myself and while it does render the page, I'm still getting this in my node console (note that I did also update to inline-style-prefixer@0.5.1):
Either the global navigator was undefined or an invalid userAgent was provided. Using a valid userAgent? Please let us know and create an issue at https://github.com/rofrischmann/inline-style-prefixer/issues
Material-UI expects the global navigator.userAgent to be defined for server-side rendering. Set this property when receiving the request headers.```

And this in the browser console (I'm using the material-ui example code):
![2015-11-17_0016](https://cloud.githubusercontent.com/assets/5628166/11197872/b0bb918c-8cc0-11e5-8445-b4cb5d14b9d3.png)

Same issue as @vedraan.  Solved the navigator.userAgent problem by defining it, no problem.  I'm still getting the "React attempted to reuse markup in a container but the checksum was invalid" warning in-browser though.

@mfrye-intuit Thank you I will try that this evening
@bdsabian How do you set this parameter please ? My question about this parameter is : does-it work with councurrent access ?

+1

@oliviertassinari I think this PR should not be pushed to a release, you should optionally only update the package.json to use the latest "inline-style-prefixer": "^0.5.1"
The solution to the problem presented in this PR is a hack and doesn't work too good as you can see in my earlier post. It creates rendering differences between the server and client and throws errors client-side.
The server MUST know the user agent visiting the app, otherwise there is no guarantee that it will serve identical CSS as the one that will be generated client side.
The node console log message was actually very correct saying:
Material-UI expects the global navigator.userAgent to be defined for server-side rendering. Set this property when receiving the request headers.
It would just be good if you could post server side rendering instructions somewhere. Here is what I did and it works perfectly.
If you already installed from master, uninstall and install the latest NPM release instead:
npm install material-ui --save
Then, in your server setup, for example if you are using Express to serve as I do, add this middleware before the route that is serving your application or before any other middleware you might have:
app.use(function(req, res, next) {
    GLOBAL.navigator = {
        userAgent: req.headers['user-agent']
    }
    next();
});

And that's it! Perfect rendering, no errors in either node or browser console. I have tested using Chrome, FF, IE and simulating Googlebot and Facebook bot user agents.

The server MUST know the user agent visiting the app, otherwise there is no guarantee that it will serve identical CSS as the one that will be generated client side.

Yes, that's the original intent of https://github.com/callemall/material-ui/pull/2007.
I agree, a note regarding the server side rendering in the documentation would be great.

I think this PR should not be pushed to a release

I'm not convinced, I think it can. However we could make three different improvment:

Add what you said to the doc
Use the context instead of a global variable to propagate the userAgent
Allow the prefixAll mode in the browser and not only the server side

I'm not a fan of globals either. I'm not sure if you're thinking of react context as an alternative. I'm fairly new to react, but have already seen a large number of different approaches to server side rendering so I'm not sure if there is a reliable and an easy to understand (to beginners at least) way of passing the req.header to React context. I've never used context prior to material-ui, didn't need to. Also some people might not use Express.
Perhaps instead of using globals something like this could be used in the middleware:
app.use(materialUiRendering());

Which would then handle the rest.
Regarding allowing the prefixAll in browser, I didn't really dig in to how it all works (had no time) so I have no opinion about that part. As long as the server renders it the same as the client, it's good enough for me.

@Sutat I wrote a simple middleware pretty much exactly as @vedraan describes above.

@bdsabian @vedraan This middleware is not thread-safe according to me.
As I understand NodeJS, there is only one thread, but 2 concurrents caller can overwrite globals variables cause of async.
Exemple :

First caller, set the global variable "userAgent" for Firefox, then wait IO
Second caller, set the global variable "userAgent" for IE, then generates the render (read userAgent === IE), return the response, end the transaction
First caller is waking up, it generates the render (read userAgent === IE), return the response, end the transaction

:warning: the First caller is generated with userAgent === IE but was called with userAgent === Firefox.
If I miss something, feel free to tell me RTFM, but please give me the manual I have to read !

@Sutat, you're right.  It should probably be moved to context as suggested
by @oliviertassinari https://github.com/oliviertassinari.
On Tue, Nov 17, 2015 at 12:36 PM, Sutat<EMAIL_ADDRESS>wrote:

@bdsabian https://github.com/bdsabian @vedraan
https://github.com/vedraan This middleware is not thread-safe according
to me.
As I understand NodeJS, there is only one thread, but 2 concurrents caller
can overwrite globals variables cause of async.
Exemple :

First caller, set the global variable "userAgent" for Firefox,
then wait IO
Second caller, set the global variable "userAgent" for IE, then
generates the render (read userAgent === IE), return the response, end the
transaction
First caller is waking up, it generates the render (read userAgent
=== IE), return the response, end the transaction

[image: :warning:] the First caller is generated with userAgent === IE
but was called with userAgent === Firefox.
If I miss something, feel free to tell me RTFM, but please give me the
manual I have to read !
—
Reply to this email directly or view it on GitHub
https://github.com/callemall/material-ui/pull/2172#issuecomment-157463582
.

@Sutat that's correct, node globals which are not constants are bad and should be avoided. The fact that such high concurrency will rarely happen doesn't mean this is ok. I fixes problems for my prototype app but the middleware is the right answer for production apps.

@vedraan awesome solution, dude. Thank you!

thank you very much for the solution, it worked perfectly

Hm... this is no good, though? Couldn't another user make a second request to express with a different UA and change the GLOBAL UA before it's used for the first request?

So.. how do you create a middleware material-ui function to provide material-ui with GLOBAL.navigator, if Material UI is looking for the userAgent in GLOBAL.navigator? Does anyone have an example of this in code?

@oliviertassinari sorry, i missed the last bit in your previous comment.
If I understand this correctly, I think this is the way to go on the server side:

Allow the prefixAll mode in the browser and not only in the server

E.g. On the server, use prefixAll. That kind of makes sense, given a "normal" situation, you'd likely have all the vendor prefixes in your CSS.

Allow the prefixAll mode in the browser and not only in the server

I wouldn't say that is the way to go on the server side. I proposed this to be more flexible.
I'm assuming that in some cases you don't know the userAgent.
If you know the userAgent, it's more efficient to only prefix for this userAgent.
With CSS, it's different, you have to prefix for all browsers since it's static.

If you know the userAgent, it's more efficient to only prefix for this userAgent.

Could you briefly mention why it's more efficient? In terms of size or processing? From my naive investigation, it looks like it's only used in 10 files. The auto-prefix function is called for every instance of every property, meaning that it has to be called 9 times for every TextField, 4 times for every RaisedButton etc. I'd assume just about everybody would be willing to trade that processing for a couple extra bytes of static inline styles. If my assumption is wrong, please let me know!
The bigger picture is that to make this work properly (via browser prefixAll or user-decision), we'd have to include a userAgent in our app's root component & material-ui would have to write context receivers on each of those 10 components (either that or turn the requires into functions, bleh). Complicating the API and adding the extra text to receive the context would IMO be a bad trade for saving a couple bytes.

Could you briefly mention why it's more efficient?

It's more efficient because less data are transfered down the wires. So, it's in terme of size and network.

Thanks for clarifying!
Regarding size down the wire, cutting out  inline-style-prefixer and auto-prefixer would result in a large net savings & solve this problem fairly easily :smiley:

@mattkrick I'm not sure if cutting out inline-style-prefixer and auto-prefixer would do more good than harm. That would mean having to rewrite every material-ui component to include the missing CSS properties to support all mobile and other browsers. Out of the box, a lot of them do not work well on all modern devices (for example late-gen Android phones) and they require CSS prefixes.
And rewriting each of them to support all devices (in addition to taking forever to complete)  would probably mean introducing a lot of new bugs.

Agreed, making sure we gather all the css, even older browsers would be a pain. If you were willing to explore it, we could do a 2 part PR where part 1 includes the static text & additionally runs AutoPrefixer.prefixAll and throws an error if the two objects fail a deep equal. Part 2 removes the AutoPrefixer sanity check.
The only other alternatives I see are not supporting SSR (current) or having each prefixed component look for a context.userAgent and have devs set that in their root component. I'll be happy to invest a couple hours in whatever option you guys think is best.


Move this project to using the normal Circle method of publishing

Should be set up like all the other projects that use Circle to publish to NPM. Will need to add reactionary to this repo.

:tada: This issue has been resolved in version 1.2.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


If the draggable items already have css3 animations, the animation of moving items when sorting cannot be shown.

Before you create a issue, check it:

Try dev-branch, perhaps the problem has been solved;
Use the search, maybe already have an answer;
If not found, create example on jsbin.com (draft) and describe the problem.

https://github.com/RubaXa/Sortable/blob/master/ISSUE_TEMPLATE.md


Scottworking

Add 2 docs for Linux VMs.

Sent feedback by mail

Thank you for comment, I have updated will create antoher pull request with update instead.


Bokeh server warning message

the code server = renderer.app(dmap, show=True, new_window=True)
results in a warning message
WARNING:root:BokehServerWidgets24371: Setting non-parameter attribute display_options={'fps': 20} using a mechanism intended only for parameters

Should be a trivial fix.

Is there a way to suppress warnings such as
INFO:bokeh.server.server:Starting Bokeh server version 0.12.6 (running on Tornado 4.5.1)

Is there a way to suppress warnings

That's a log message and is therefore not easily suppressed but I'm wondering if this is a bad interaction between the param logger and bokeh's logger. I don't think INFO level log messages should be visible to a user by default (might be wrong though).


pipenv graph not equal pipenv lock

First ，Thank you
pipenv is good 💯

the question is

when I
$ pipenv shell
$ (myproject-__PQqsBP) ➜ /my/Desktop/myproject git:(master) ✗ >

$ pip install pep8
pip8 success install

$ exit
$ /my/Desktop/myproject git:(master) ✗ >

$ pipenv graph
pep8==1.7.0
pep8 is in output information

$ pipenv lock
Pipfile.lock is created
but pep8 is not in lock file

So when i in pipenv shell, pip install something ,then exit,
pipenv graph can catch the change, pipenv lock  don't !

seem like
$ pipenv install pep8 --dev

the command is ok
pip8 success install
lock file will rewrite
pep8 in lock file

Can i Do?
could $ pipenv graph  show packages in lock file

or something way to do with that

Is it  the way design to work ?

Well graph is a tool to show the state of the environment whereas the lockfile is a repository-hash-referenced output of the dependency resolution process for packages managed specifically by pipenv. So one is designed to show the relationship of all packages currently installed in the environment, and the other is meant to be a strict mapping of a resolved dependency tree of pipenv managed packages.

So,
graph and lock
they are designed to be different
Right，thanks~

Yes

@chinanf-boy Thanks for using pipenv!  @techalchemy Thanks for the support!


Add DetachDatabaseCommand

Removes a database from the AlluxioCatalog
After this PR we should revisit exactly what how we handle
accounting for mounted paths in the catalog service as well
as strategies to track and clean them up after detaching

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/6046/
Test FAILed.

@ZacBlanco also you need to add entries to core/server/common/src/main/java/alluxio/master/journal/JournalEntryAssociation.java and
core/server/common/src/test/java/alluxio/master/journal/JournalEntryAssociationTest.java

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/6052/
Test FAILed.

jenkins, test this please

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/6055/
Test FAILed.

jenkins, test this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/6058/
Test PASSed.

alluxio-bot, merge this please


Clipping scenario doesn't not allow move window 3 first.

I can move the window 1 or 2 (both are incorrectly as 1). Only after I move them the I can also move the window 3. It seems the window 3 is moved at start but not repainted on the console. Only after we move one of the others windows we check that the window 3 isn't in the original place.
https://github.com/gui-cs/Terminal.Gui/assets/13117724/bb08a37c-77fa-4a40-9239-e8a699fd1145

Window 3 is moving, but for some reason re-draw is not working correctly. You can see this by forcing a redraw by resizing the terminal or moving a scrollbar.
Looking into it now.

Yes, that was what I said above, but it wasn't been repainted or re-draw.


Bug in custom react-table filtering

Describe the bug (required)
A clear and concise description of what the bug is.
I'm trying the custom filtering for the react table, but having an error :
Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
I got the data right and the select options right (code copied)
Provide an example via Codesandbox! (required)
I'm using this example for custom filtering :
https://codesandbox.io/s/react-table-custom-filtering-multiple-values-filter-8jmpv
Steps To Reproduce (required)
Steps to reproduce the behavior:

Open the page

Expected behavior (Recommended)
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
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.

This seems to be for an older version of react table that we no longer support. Please ask this question on stack overflow or in our Discussions tab for external community support.


Add markdown support.

Cutting quite a few corners to only over the minimum for https://github.com/iterative/dvclive/issues/91
Proper refactor would make sense as follow-up because the whole package was focused on a single output format (HTML).

table: Add generate_markdown.
image: Add generate_markdown.
vega: Add generate_markdown.
"Translate" vega plot to matplotlib figure to save as png.
Introduce render_markdown.
Closes #62

Codecov Report

Merging #69 (8bce146) into main (70e2da2) will decrease coverage by 1.48%.
The diff coverage is 89.54%.

@@            Coverage Diff             @@
##             main      #69      +/-   ##
==========================================
- Coverage   97.14%   95.65%   -1.49%
==========================================
  Files          16       19       +3
  Lines         491      622     +131
  Branches       77       78       +1
==========================================
+ Hits          477      595     +118
- Misses          8       22      +14
+ Partials        6        5       -1

Impacted Files
Coverage Δ

src/dvc_render/markdown.py
60.60% <60.60%> (ø)

src/dvc_render/table.py
81.81% <90.90%> (+8.48%)
:arrow_up:

src/dvc_render/vega.py
97.18% <92.59%> (-2.82%)
:arrow_down:

src/dvc_render/base.py
100.00% <100.00%> (ø)

src/dvc_render/exceptions.py
100.00% <100.00%> (ø)

src/dvc_render/html.py
87.50% <100.00%> (+3.50%)
:arrow_up:

src/dvc_render/image.py
100.00% <100.00%> (ø)

src/dvc_render/plotly.py
100.00% <100.00%> (ø)

src/dvc_render/utils.py
100.00% <100.00%> (ø)

tests/test_image.py
100.00% <100.00%> (ø)

... and 3 more

Continue to review full report at Codecov.

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

Maybe we should require users to install altair to support all vega plots in md?

I initially considered it but decided to go with matplotlib mainly because:

matplotlib covers the DVCLive<>CML use case (in the future we need to revisit this and consider altair for cover all use cases)

even though altair and matplotlib are similarly heavier, matplotlib is much popular among ML and as such more likely to be already installed in the user env. For altair it feels like we could be the only reason to install a heavy dependency in the env

In order to save images, altair requires additional dependency altair_saver which in turn requires a even heavier non-python dependency:

To be used, it requires the Selenium Python package, and a properly configured installation of either chromedriver or geckodriver.


append features

I already have the fbank files for the majority dataset, I want to get features for a few more audios and append it to the existing files. What is the easiest way to do that?

You may use lhotse combine. See here for examples: https://lhotse.readthedocs.io/en/latest/cli.html#lhotse-combine


Responsice still not working like we should expect

Environment
Docker
Version
ghcr.io/gethomepage/homepage:latest
Describe the problem
The ronspinsive is not looking good at all and messe up the whole layout on different resolutions.
I this anything the dev can and will look further into?
We talked about it a bit earlier in my other post, i hate to say it but i otherwise need to transfer back to an docker container were the responsive does work perfect.
Tried messing with the left and right bar but i believe you also told me a new version comes... someday :)
Thanks alot for reading this and perhaps considering suport on this.
Have Good One!
Logs
no need
Context

Same screen same res just spitted windows

Other screen, vertically other resolution.

Please tick the boxes

[X] I confirm that I attached the proper logs
[X] I've read the docs
[X] I've checked for duplicate issues
[X] I've tried to debug myself

This is already fixed, or at least heavily being worked on, in Homarr V1.0
As mentioned previously, reworking the scalability required an overall rewrite, so this would not come to V0.15.

This is already fixed, or at least heavily being worked on, in Homarr V1.0 As mentioned previously, reworking the scalability required an overall rewrite, so this would not come to V0.15.

Thanks for your quick response, i will need to sit wand wait it out :) thats fine but i was just wondering, trying to get all my it stuff working as it should again :)

This is already fixed, or at least heavily being worked on, in Homarr V1.0 As mentioned previously, reworking the scalability required an overall rewrite, so this would not come to V0.15.
The current system only requires you to manually setup the 3 different layouts independently, but if you do not wish to do so, then simply set all the gridstacks column counts to the same number.

u you need a tester, let me know an add me :-) got ya back!

"Alpha" Testing for V1.0 is only available to our discord members (insiders) currently, and we hope to have a more open beta very shortly.


Feature/plan route --> Initial Page for selecting the starting location of the hiking trip

Users may choose to use their current GPS location, type in an address or move the marker around on the map.

Done!
The searchBar thing took much longer than it should have.
The problem is that I had to manually recreate the widget that is automatically created by the showSearch function (https://api.flutter.dev/flutter/material/showSearch.html).
If I had not done this, the searchbar would have looked differently upon clicking it.
Anyway the result is not 100% accurate, but like 99%.
I'll leave the last percent for later.
But for now I believe we can merge this.

Looks got so far. There are additional things i would change, but I think we can implement them later:

I would have used a floating search bar because it looks more familiar to a maps user
after selecting an location in the search bar, the name of the location is not visible in the search bar

Not really into reinventing the wheel given our timeframe.
ShowSearch is the default flutter way for doing searches.
Thats why I used it.
after selecting an location in the search bar, the name of the location is not visible in the search bar --> yes that makes perfect sense


Rellax stops working when I add a wrapper

Hello. I am trying to use Rellax in a WordPress site.
I have multiple blocks on a page with images in each one that need to parallax within each block.
I can get Rellax to work for the page in general, but when I add a wrapper while having even one block on the page makes the .rellax element not move at all.
I've added overflow-y: scroll; to make the container scrollable like I saw in a separate issue about the wrapper.
Is there something I'm missing here to make this work?
PHP snippet:

  <img class="fg-img" src="<?= $foreground_image['url'] ?>" alt="<?= $foreground_image['alt'] ?>">

JavaScript snippet:
const rellaxImg = container.querySelector('.fg-img');
  rellaxImg.classList.add('rellax');
    if (rellaxImg) {
      const rellax = new Rellax(rellaxImg, {
        relativeToWrapper: true,
        wrapper: container
       });
  }

CSS snippet:
.foreground-image {
  position: relative;
  height: 100%;
  width: 60%;
  margin: 0 auto;

  /* Parallax styles */
  top: 250px;
  height: 131.6vh; /* Double the height of the viewport to enable scrolling */
  overflow-y: scroll; /* Make wrapper scrollable */
  overflow: hidden;
}

.foreground-image img {
  height: 116.7%;
  margin: 0 auto;
  display: block;
  position: absolute;
  bottom: 0px;
  width: 100%;
  object-fit: contain;
}

I found a way to achieve the affect I wanted without using a wrapper, so I'm closing this issue.


revise toc

Work-in-progress: updating toc to have a better logical segreggation between FAQ, overview and concepts

moved to private


CI: limit contourpy to <1.1, to avoid building win32 from source

As seen in gh-679, contourpy fails to build from source on 32-bit. This is fixable, it should build from source just fine. But we don't want to deal with that if we can avoid it. And contourpy 1.0.7 works just fine.
[skip actions]

That worked, it installs contourpy-1.0.7-cp38-cp38-win32.whl for 32-bit Python, rather than trying to build 1.1.0 from source.
These are also straightforward fixes, so I'll merge this as well to keep the ball rolling.


Add space-separated output formatting option

There are many ways to specify a bounding box, but I happen to be wanting to use this with tl, so space-separated "w s e n" is what I'm looking for.
This also removes the trailing slash from /dev/stdin, which was giving me
Error: ENOTDIR: not a directory, stat '/dev/stdin/'

I just saw the note on the last PR about this having been superseded by turf-bbox.  I hadn't thought of turf because I was looking for a command-line tool to put in a bash script.  Turns out yeah, a one-liner using turf-bbox can achieve the same effect as what I'm getting from this utility.
node --eval "console.log(require('@turf/bbox')(JSON.parse(require('fs').readFileSync(process.argv.pop()))).join(' '));" FILE.json

This tool is more discoverable, though...


Gitpod

Maybe someone is willing to help implement Gitea support for this service.
https://www.gitpod.io/

Here is the according issue on their side: https://github.com/gitpod-io/gitpod/

This is the original item📗

I don't think we can help much there as I it is based on opensource components but I don't think it is open source project. This should really be just issue on their side and when there is specific API that needs to be implemented in Gitea than that issue could be opened here

What lets you think they are not completely open source?

The git repo linked is basically empty of any code.

They've just recently open-sourced their code for some reason. Now the repo does contain the code.

Gitpod is open-source now, any update for gitpod-io/gitpod#80 🎉🎉

@f97 you'll need to ask them, as we have open APIs so we've done what needs to be done in Gitea.
Will close this as Gitpod is the where PRs will need to be worked on for this integration.


[BUG] documentation example hangs on exit, leaves terminal in dirty state.

Describe the bug
When running the following documentation example, pressing the Exit button exits the window manager but not the application.
import sys

import pytermgui as ptg

with ptg.WindowManager() as manager:
    window = ptg.Window(
        "[wm-title]My first window!",
        "",
        ["Exit", lambda *_: sys.exit()],
    )

    manager.add(window)
    manager.run()

To Reproduce
Steps to reproduce the behavior:

Run the documentation's second examplt
Click on 'Exit'
Note that the application is still running
SIGINT
Try, and fail, to highly text as mouse events are still sent straight to stdin
SIGINT
Type 'reset' and hit enter.

Expected behavior
Press 'Exit', see application cleanly exit with a clean terminal state.
Screenshots

System information
pytermgui version shown
(venv) user@host:~$ pip show pytermgui
Name: pytermgui
Version: 1.0.1
Summary: A simple and robust terminal UI library, written in Python.
Home-page: https://github.com/bczsalba/pytermgui
Author: BcZsalba
Author-email<EMAIL_ADDRESS>License: MIT
Location: /home/user/venv/lib/python3.9/site-packages
Requires:
Required-by:

As requested
(venv) user@host:~$ ptg --version
usage: ptg [-h] [--app {Getch, MarkApp}] [-g] [-m] [-s] [-f FILE] [--print-only]
ptg: error: unrecognized arguments: --version

Additional note: ptg itself does the same thing on exit (re: leaving the terminal dirty)
Reproduces on my PureOS 10 (Debian based), Fedora 35, and Fedora Silverblue Rawhide systems using GNOME Terminal.
The hang behavior persists with XTerm, though the dirty state does not appear to.
Possible cause
There appears to be a lock at play in the traceback. Maybe it isn't released?
Possible solution
N/A

Thank you! After a bit of tinkering, I think the issue is that sys.exit(), when triggered by the mouse, doesn't stop the input being captured for some reason. If you call manager.stop() and then call sys.exit() it seems to work alright. Luckily there's already a method that does exactly that, so I'll update all the docs to reference manager.exit instead of sys.exit.
Could you elaborate on what happens in ptg? I can't seem to reproduce this behaviour.
P.S. The version info is not in the current PIP package, but if you install from GitHub it's present. Thank you for the pip show in its place!

@bczsalba - glad you were able to get to the bottom of it.
As for the ptg behavior, when I exit the application my mouse clicks are still captured by the terminal and I have to ctrl-c and then type reset to make it stop. This appears to not happen in XTerm but does happen in GNOME Terminal. Perhaps I'll install a dozen or so terminals (kitty, alacrity, qterminal, ...) on one of my machines and see what happens.
Generally it pains me to take screenshots of text, but perhaps I can use asciinema to capture it in some way that's less abhorrent and can be copy-pasted from after the fact. I'll get something for you in the coming days for the sake of completeness.
Looking forward to getting to know this library better.
One question: how does one engage the exit button without the mouse?

Hm, that's very interesting! I've tested it on Kitty (my main terminal) and Alacritty some months ago, and I never had this specific issue.
What is supposed to happen (in a clean exit) is that all the mouse capturing is unset, the output thread is stopped and the program should not leave any traces behind. Out of curiosity, how do you exit the program? I'm pretty sure something more "forced" than CTRL_C would cause that exact behaviour, as the program is forced to exit without having time to clean up. You're probably not using CTRL_\, but it's worth a guess.
Once you do have some more information on this problem, could you please open a new issue? I think the purposes of this one have been exhausted.

How does one engage the exit button without the mouse?

This might be a little understated in all of the examples, but there is a pretty major system for keyboard selection. You should be able to scroll down using the arrow keys, CTRL_N (up) & CTRL_P (down), or j and k (in non-InputFields).
Thank you for your interest, and for helping me improve!

#18 created as requested as the ptg behavior is still present in GNOME Terminal.
Indeed I'm just using a good ol' CTRL-C - no bigger hammers in use here.


fix return type of isSupported()

isSupported() should return boolean, not void

by the way, NICE JOB !

Hi @Jonham, thanks for finding and fixing this.  This should be resolved in v1.4.1 now.

thanks.


fix(security): #28 - Switch to alpine due to vulnerabilities in debian

https://github.com/metacontroller/metacontroller/issues/28

https://github.com/GoogleCloudPlatform/metacontroller/issues/202

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

@grzesuav can you explain why its "better" security to have more included in the image? (i know its in, but i want to understand this)

@grzesuav can you explain why its "better" security to have more included in the image? (i know its in, but i want to understand this)

Not fully understand what are you referring to. About the change - alpine is very raw image, there is a very limited number of pre-installed packages in alpine there is less possibility to have outdated ones.

Which debian security problems do you refer to?
https://github.com/GoogleCloudPlatform/metacontroller/issues/202 - as mentioned in https://github.com/metacontroller/metacontroller/pull/29#issuecomment-646341341


Unexpected default parent company value when claiming a facility / list shows all accounts rather than those with data

Overview
A user has reported that the dropdown menu in the "Parent Company / Supplier Group" field defaults to auto-filling with "Vanessa".
Expected Behavior
Users should be able to select from a list of Contributors to the OAR to select their Parent Company / Supplier Group.
Actual Behavior
The dropdown defaults to auto-populating to "Vanessa".
Demo

@katieashaw I was not able to reproduce this on staging.
"Vanessa" is one of the options, but I saw the dropdown as empty initially and I could freely choose any contributor. Were you able to reproduce this?

@katieashaw I was not able to reproduce this on staging.
"Vanessa" is one of the options, but I saw the dropdown as empty initially and I could freely choose any contributor. Were you able to reproduce this?

I haven't been able to reproduce this, no. It does raise another question though: shouldn't the dropdown only display Contributors which have contributed to the OAR, rather than just created a Contributor account?

We can change this list to only show contributors that have contributed data. I have changed the title of this issue to reflect that desired change.

@jwalgran We've had another user notify us of this issue again, except this time the dropdown field is auto-populating to KABAKLI GLOBAL TEXTILES AS:

In testing this on Staging, the dropdown had auto-populated to Happiou Nyika:

I can click the dropdown menu & change the Parent Company to another entry, but I think it's confusing for users for two reasons:

Users expect this field to be blank
Users have to submit their Parent Company when they first submit their claim so, if anything, they'd expect to see that name pre-populated

Flagging that this issue has been raised again by the original user who raised the issue.
Given that we're doing a big push on facility claims at the moment, if we can prioritize bugs relating to facility claims, that would be great.
@jwalgran @dboyer

In case it is related, sharing another situation where a parent company is showing up as Meg for a user and we know they have a different parent company: https://openapparel.org/facilities/PE20211660GQNPS?q=PE20211660GQNPS


Remove cluster ns label test

The test case is no longer valid as the label no longer exists on the
cluster namespace.
Signed-off-by: Yu Cao<EMAIL_ADDRESS>

/hold

/test test-e2e-kind-deployonhub
/test test-e2e-kind

/unhold


Revert "bpf: ct: avoid header revalidation in ct_lookup4()"

Revert the fix to resolve the complexity issue -
2024-01-16T08:32:41.030215879Z Verifier error: program tail_nodeport_nat_ingress_ipv4: load program: argument list too long: BPF program is too large. Processed 1000001 insn (990 line(s) omitted)
2024-01-16T08:32:41.030316276Z Verifier log: load program: argument list too long:
2024-01-16T08:32:41.030324842Z 	0: R1=ctx(off=0,imm=0) R10=fp0
2024-01-16T08:32:41.030328439Z 	; int tail_nodeport_nat_ingress_ipv4(struct __ctx_buff *ctx)
2024-01-16T08:32:41.030332878Z 	0: (b4) w2 = 0                        ; R2_w=0
...
2024-01-16T08:32:41.037740382Z 	processed 1000001 insns (limit 1000000) max_states_per_insn 22 total_states 71464 peak_states 1606 mark_read 45

https://github.com/cilium/cilium/issues/30093#issuecomment-1879181788
Related - https://github.com/cilium/cilium/issues/30266
Related - https://github.com/cilium/cilium/issues/30093

/ci-e2e

/ci-e2e

/ci-e2e

/ci-e2e

/test-backport-1.15

/test-backport-1.15


Way to change the channel in a pill

Is your feature request related to a problem? Please describe.
Currently, we need to create a new pill with a new channel.
Describe the solution you'd like
I think it would be better if we can click one of the existing pills and change the channel.

Fixed in #63


Compatibility with BigSur

Due version naming change to 11. for BigSur script wont pass version check when it is ran on BigSur. Can script be modified to work on BigSur?
Example: Script result: [ERROR]: This script requires macOS 10.9 or higher. This Mac has 11.2.2.

@Mykolas2 - Are you sure you're on the latest version of the script? Big Sur compatibility was adjusted back in December.

Sorry my bad. I'm using older version of the script. Will check corrected one.

i'm attempting to use this on a machine that's on Big Sur, verified i am indeed using the up to date version of the script and attempted to use
sudo fdesetup changerecovery -personal -norecovery -verbose to change the key manually. that also returned an "unable to change key" error. any ideas?

Off the top of my head, I'm not sure. Does the Mac have a PRK or might it be an IRK (institutional recovery key)?
In either case, I don't think it's an issue with the jss-filevault-reissue framework itself, so I'll close this issue.


Parsing Disgaea Savegames

Hello. I have hooked up a debugger to the Disgaea exe and I'm watching it unpack a save file. I am writing here what it does to the file.
DISGAEA SAVE FILE:
0x00 - 0x1F = You can consider these bytes to be constant. The save game checker validates that these bytes are not changed. If they are changed, it does some weird voodoo magic that I haven't deciphered yet. But these bytes might as well be static.
0x20 - UINT = This is the xorkey as you properly assumed
0x24 - 0x27 = unknown right now
0x28 - uint32_t = (bytes << 2) == length compressed file
0x3B - uint32_t = (bytes << 2) == length decompressed file
Run xorkey over the file as you're doing. Now you start the decompression procedure.
assert(header == YKCMP_V1)
version = (uint32_t) ykcmp[8]
assert(version == 0x04)
lengthCurrentObject = (uint32_t) ykcmp[12]
lengthDecompressedObject = (uint32_t) ykcmp[16]
From here you start unpacking. You've got the algorithm correct, but the code in the assembly is much cleaner.
byte = getByte()
if (byte & 0x80) == 0:
	length = byte;
	lookback = 0;
	memcpy(compressedObject, decompressedObject, byte);
	compressedObject += byte;
	decompressedObject += byte;
	continue;
elif (byte & 0x40) == 0:
	length = ((byte >> 4) & 3) + 1
	lookback = length;
elif (byte & 0x20) == 0:
	nextByte = getByte();
	length = (byte & 0x1F) + 2;
	lookback = nextByte;
else:
	#blah math
memcpy(compressedObject - lookback - 1, compressedObject, length);
compressedObject += length;
decompressedObject += length;

For the first part of the unpacked file (where we can start reading character data), it uses the first name in the list of characters as your main character. Then it fetches the first character level (abs offset 0x30) and gets the playtime.
FILE* f = fopen("SAVE000.DAT.unp", "rb");
fseek(f, 8, SEEK_SET);
unsigned short hours;
unsigned char minutes;
unsigned char seconds;
fread(&hours, sizeof(hours), 1, f);
fread(&minutes, sizeof(minutes), 1, f);
fread(&seconds, sizeof(seconds), 1, f);

That's all I've got at the moment. I'll do some more debugging and figure out the rest of the format later.

Hey, cool to see you here!
I ended up figuring out the "compressed length << 4" bit of the header last night -- turns out that it was the last thing stopping the recreated files from working, though my method was just to copy all known data from a good save file to a test save file, then compare the differences (ended up being about 5 bytes) and updating them one by one until it worked ... then walking back and figuring out which one specifically made it not crash. A little old fashioned, but it worked.
At some point I need to get set up with some PC debugging tools and actually learn disassembling. I imagine my knowledge of 6502 will help :p
The timer I managed to figure out by just replacing the first X bytes of the save file with 01 02 03 ... 1F; the timer ended up working out to 0A09:0B:0C (though in decimal). There are some other important values in the first few bytes as well, since setting them to various values will change which "mode" the game is in (main vs Etna mode, etc) as well as cause some effects to spawn as soon as the file loads.
I guess now that I finally have the important basic parts working, I can start implementing these as editable chunks in the file(s), though. :D

I am now perturbed.
[WTF #1] I set a breakpoint on the fopen function and created a savegame. My BP was never hit.
[WTF #2] I created BPs on every place where it used the string "SAVE%03d.DAT" and then created a savegame. None of my BPs were hit.
So, how does Disgaea create a savegame? Right now it's voodoo magic, and I am not a mystic.

Looks like I'll need to look more into Steam saves to figure out how these work.

The only thing I can really add to this part of the discussion is that I can only get predictable results (e.g. edited files actually being opened) if I put steam into offline mode. With it online (even with cloud saves off) it seems to use Steam's caching or something.

Okay so even offline mode doesn't help if the remotecache file is in the save game folder
C:\Program Files (x86)\Steam\userdata\XXXXXXXX\405900\
I was doing some basic save file editing (as in, just opening + saving a file, not changing) and it was giving me a glitched, softlock file whenever I tried to open it. Deleting that file makes it work again.

It's not an NIS problem. Calculate the SHA1 of the file you edited and change the remotecache.vdf file to reflect the change. Steam should accept your change after updating the vdf file. Untested, but likely.

Nah, it has nothing to do with that. Turns out that it's actually game.cfg -- for whatever asinine reason that file sometimes dictates that edited save files just don't load properly. Deleting it (and remotecache) ensures that save files work properly every time.
NIS.

I confirmed the above by actually writing something that would update the file with the correct sha1 (and size) when copying over new files. Still didn't work. It seems like the only "real" way to fix it when this happens is to start an entirely new save file (??) and save that, then go back to copying over new ones. Saving itself seems to cause the problem, sometimes deleting the remotecache and gamecfg files fixes it too.
ughhhhhhh


How to use TimeSeriesIterator?

Question
My dataset is ordered by time and usual KFOLD cross-validation results in poor test performance.
How do  I use ts-based cross-validation? I noticed there is TimeSeriesIterator in LAMA, but no example of using it anywhere.
I tried

clf = TabularAutoML(
    task=Task("binary", loss="logloss", metric="auc"),
    timeout=60 * 60 * 3,
    memory_limit=90,
    cpu_limit=16,
    reader_params=dict(
        n_jobs=1,
        cv=lightautoml.validation.np_iterators.TimeSeriesIterator(
            datetime_col=df.loc[train_idx, "date"],
            n_splits=3,
        ),
    ),
)

oof_preds = clf.fit_predict(df.loc[train_idx], roles={"target": "target"}, verbose=3)

but get

File R:\ProgramData\anaconda3\Lib\site-packages\lightautoml\transformers\categorical.py:445, in TargetEncoder.fit_transform(self, dataset)
442 f_sum = np.zeros(n_folds, dtype=np.float64)
443 f_count = np.zeros(n_folds, dtype=np.float64)
--> 445 np.add.at(f_sum, folds, target)
446 np.add.at(f_count, folds, 1)
448 folds_prior = (f_sum.sum() - f_sum) / (f_count.sum() - f_count)
ValueError: array is not broadcastable to correct shape

What's the correct way of using TimeSeriesIterator?

Hi @fingoldo,
We have the demo example how to use it in the right way.
Alex

Hi @fingoldo,
We have the demo example how to use it in the right way.
Alex

Thanks a lot, Alexander! Passing it as cv_iter parameter to fit_predict did the trick.
But the reader object also has the cv parameter. How do cv of the reader and cv_iter of TabularAutoML itselt interplay? it's not clear from the docs.
Maybe documentation of TimeSeriesIterator can be improved by at least referencing the demo example script? It's really hard to find.

@fingoldo to figure out what is cv and any other parameter means during TabularAutoML preset creation please check our fully commented YAML config which helps LightAutoML figure out what to do.
To be clear, cv param means the number of folds for cross-validation.
And yes, you are right that our documentation is not 100% clear, we are working on it.
Alex

Mm i'm still confused.

To be clear, cv param means the number of folds for cross-validation.

But what happens when I specify both cv=3 for the reader, and pass cv_iter=TimeSeriesIterator(datetime_col=df.loc[train_idx,"date"],n_splits=5) to fit_predict?
which of the splitters will be used, Kfold with 3 or TimeSeries with 5 splits?

@fingoldo cv_iter (if explicitly specified) should overwrite cv param


Added reaction on disableOnClickOutside property change

Added reaction on disableOnClickOutside property change. Activates on false, deactivates on true.
Currently this property affects activation only on component’s mount phase
Fix for https://github.com/Pomax/react-onclickoutside/issues/317

bump on this getting merged. i'm currently having to do a work around for the issue this addresses

This will need a rebase, but mostly because v6.9.0 was released in the mean time, which introduced just enough code to require manual code selection.

Sorry for the delay. PR Updated

please merge

+1 on getting this merged.

why closed?

Because time moved on and React completely changed how things get "supposed to be done". Modern React is based on hooks, and https://github.com/Pomax/react-onclickoutside#functional-component-with-usestate-hook explains how to do what this HoC achieved for older versions of React.


add eg-zine.cf

This PR is:

[x] Adding a new domain
[ ] Updating existing domain size
[ ] Changing domain name
[ ] Removing existing domain from list
[ ] Website code changes (512kb.club site)
[ ] Other not listed

[x] I used the uncompressed size of the site
[x] I have included a link to the GTMetrix report
[x] The domain is in the correct alphabetical order
[x] This site is not a ultra lightweight site
[x] The following information is filled identical to the data file

I confirm that I have read the FAQ section, particularly the two red items around minimal pages and inappropriate content and I attest that this site is neither of these things.

[x] Check to confirm

- domain: eg-zine.cf
  url: https://eg-zine.cf/
  size: 13.1
  last_checked: 2023-05-02

GTMetrix Report:
https://gtmetrix.com/reports/eg-zine.cf/McbKyzkR/

Thanks!


[TrafficManager] 2017-05-01

Codecov Report

Merging #1275 into master will increase coverage by 0.02%.
The diff coverage is 84.93%.

@@            Coverage Diff             @@
##           master    #1275      +/-   ##
==========================================
+ Coverage   55.82%   55.85%   +0.02%
==========================================
  Files        2616     2619       +3
  Lines       69846    69886      +40
==========================================
+ Hits        38992    39035      +43
+ Misses      30854    30851       -3

Impacted Files
Coverage Δ

...manager/azure/mgmt/trafficmanager/models/region.py
57.14% <ø> (ø)
:arrow_up:

...anager/models/traffic_manager_name_availability.py
44.44% <ø> (ø)
:arrow_up:

.../azure/mgmt/trafficmanager/models/profile_paged.py
80% <ø> (ø)
:arrow_up:

...afficmanager/azure/mgmt/trafficmanager/__init__.py
100% <ø> (ø)
:arrow_up:

...r/azure/mgmt/trafficmanager/operations/__init__.py
100% <ø> (ø)
:arrow_up:

...nager_relative_dns_name_availability_parameters.py
66.66% <ø> (ø)
:arrow_up:

...t/trafficmanager/models/delete_operation_result.py
83.33% <ø> (ø)
:arrow_up:

.../trafficmanager/operations/endpoints_operations.py
17.24% <100%> (+0.38%)
:arrow_up:

...rafficmanager/traffic_manager_management_client.py
100% <100%> (ø)
:arrow_up:

...nager/azure/mgmt/trafficmanager/models/resource.py
62.5% <100%> (+12.5%)
:arrow_up:

... and 15 more

Continue to review full report at Codecov.

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


Do you guys have some docs?

I cant find any docs, would be nice to know all the classes and stuff.

Maybe these links are helpful?
http://getskeleton.com/#grid
https://www.youtube.com/watch?v=nVANwdryGVc

right, im so dumb. Thanks alot


Delete setup.py

Can you comment on this? Why not rather fix it?

Can you comment on this? Why not rather fix it?

?


Bug Report: Boostrap SASS Installation.

After Installing bootstrap-sass using npm, this is the error that I get below. Looks like the issue was never resolved according to issue #18368.

@cvrebert is it the file that has a problem or what could be the problem?

this should probably be filed under the bootstrap-sass repo? https://github.com/twbs/bootstrap-sass

@patrickhlauke , Have Filed the Issue under bootstrap-sass

Successor: https://github.com/twbs/bootstrap-sass/issues/1057


How to show min and max values beside graph in gauge.js like c3 graph

Subject of the issue
Describe your issue here.
Your environment

version of Flickr4Java
version of JDK

Steps to reproduce
Tell us how to reproduce this issue.
Please provide working code.
Expected behaviour
Tell us what should happen
Actual behaviour
Tell us what happens instead
Log
Please copy paste the log here if available

How to show min and max values beside graph in gauge.js like c3 graph


Clicking Computer Science 2 link shows unrelated error

After finishing the Introduction to Computer Science course, the page for my course shows me two options:

If I click the Computer Science 2 option, it shows me this error (which is unrelated):

If this is still a problem, can you reopen this issue and send me the username or login email so I can investigate further.
I was unable to reproduce this problem.

Looks like it is working properly now (the Computer Science 2 button appears greyed out).


peek: 1.2.0 -> 1.2.2

Semi-automatic update. These checks were performed:

built on NixOS
ran /nix/store/yliisdhqdlkyp3l95as34c04j45z5j87-peek-1.2.2/bin/peek -h got 0 exit code
ran /nix/store/yliisdhqdlkyp3l95as34c04j45z5j87-peek-1.2.2/bin/peek --help got 0 exit code
ran /nix/store/yliisdhqdlkyp3l95as34c04j45z5j87-peek-1.2.2/bin/peek -v and found version 1.2.2
ran /nix/store/yliisdhqdlkyp3l95as34c04j45z5j87-peek-1.2.2/bin/peek --version and found version 1.2.2
ran /nix/store/yliisdhqdlkyp3l95as34c04j45z5j87-peek-1.2.2/bin/.peek-wrapped -h got 0 exit code
ran /nix/store/yliisdhqdlkyp3l95as34c04j45z5j87-peek-1.2.2/bin/.peek-wrapped --help got 0 exit code
ran /nix/store/yliisdhqdlkyp3l95as34c04j45z5j87-peek-1.2.2/bin/.peek-wrapped -v and found version 1.2.2
ran /nix/store/yliisdhqdlkyp3l95as34c04j45z5j87-peek-1.2.2/bin/.peek-wrapped --version and found version 1.2.2
found 1.2.2 with grep in /nix/store/yliisdhqdlkyp3l95as34c04j45z5j87-peek-1.2.2
found 1.2.2 in filename of file in /nix/store/yliisdhqdlkyp3l95as34c04j45z5j87-peek-1.2.2

cc "@puffnfresh"

Failure on x86_64-darwin (full log)
Partial log (click to expand)
Package ‘peek-1.2.2’ in /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/applications/video/peek/default.nix:24 is not supported on ‘x86_64-darwin’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Partial log (click to expand)
post-installation fixup
Wrapping program /nix/store/yliisdhqdlkyp3l95as34c04j45z5j87-peek-1.2.2/bin/peek
shrinking RPATHs of ELF executables and libraries in /nix/store/yliisdhqdlkyp3l95as34c04j45z5j87-peek-1.2.2
shrinking /nix/store/yliisdhqdlkyp3l95as34c04j45z5j87-peek-1.2.2/bin/.peek-wrapped
gzipping man pages under /nix/store/yliisdhqdlkyp3l95as34c04j45z5j87-peek-1.2.2/share/man/
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/yliisdhqdlkyp3l95as34c04j45z5j87-peek-1.2.2/bin
patching script interpreter paths in /nix/store/yliisdhqdlkyp3l95as34c04j45z5j87-peek-1.2.2
checking for references to /tmp/nix-build-peek-1.2.2.drv-0 in /nix/store/yliisdhqdlkyp3l95as34c04j45z5j87-peek-1.2.2...
/nix/store/yliisdhqdlkyp3l95as34c04j45z5j87-peek-1.2.2

Failure on aarch64-linux (full log)
Partial log (click to expand)
   Compiling libc v0.0.0 (file:///build/rustc-1.24.0-src/src/rustc/libc_shim)
   Compiling std_unicode v0.0.0 (file:///build/rustc-1.24.0-src/src/libstd_unicode)
   Compiling panic_abort v0.0.0 (file:///build/rustc-1.24.0-src/src/libpanic_abort)
   Compiling alloc v0.0.0 (file:///build/rustc-1.24.0-src/src/liballoc)
building of '/nix/store/r0lzxfinfj4zpza29cvc9pj1sl28178r-rustc-1.24.0.drv' timed out after 3600 seconds
cannot build derivation '/nix/store/pb2djlbc65vsdxms17jzkmikrqh9xq7s-cargo-0.24.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/ikcfw3k6dq0sf3ll7q4smi6s590n929m-librsvg-2.42.2.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/ar3740wwpp3iiiw6d1fjd1rqq626zl5r-hook.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/5qjjcv1i856sp2g1yhifzbh96v3i1q05-peek-1.2.2.drv': 1 dependencies couldn't be built
error: build of '/nix/store/5qjjcv1i856sp2g1yhifzbh96v3i1q05-peek-1.2.2.drv' failed


Remove build directory in the travis builds.

The build failures occur whenever there's a leftover build directory.  Let's see if this fixes it.

Too bad. The build directory was the only way I could reproduce the failures from blaze/odo#467 on my machine.

Closing, since this wasn't the cause on Travis CI.


looking for a way to set HLS HTTP

Help someone fix to me HLS HTTP I pay him
Thanks

Please contact me by Skype: winterserver


Improve traceback

If traceback is logged, Splunk internal logs split it to number of events that makes it difficult to read.
Expected behaviour is to have one traceback in single Splunk event.

It just depends on what are you using and where.
If you see something like this in your log file, then it will not be formatted by Splunk itself as a single event.
07-02-2022 18:40:22.072 +0200 ERROR ExecProcessor [14395833 ExecProcessor] - message from "/Applications/Splunk/bin/python3.7 /Applications/Splunk/etc/apps/xml_streaming/bin/xml_streaming.py" Traceback (most recent call last):
07-02-2022 18:40:22.072 +0200 ERROR ExecProcessor [14395833 ExecProcessor] - message from "/Applications/Splunk/bin/python3.7 /Applications/Splunk/etc/apps/xml_streaming/bin/xml_streaming.py"   File "/Applications/Splunk/etc/apps/xml_streaming/bin/xml_streaming.py", line 95, in <module>
07-02-2022 18:40:22.072 +0200 ERROR ExecProcessor [14395833 ExecProcessor] - message from "/Applications/Splunk/bin/python3.7 /Applications/Splunk/etc/apps/xml_streaming/bin/xml_streaming.py"     run()
07-02-2022 18:40:22.073 +0200 ERROR ExecProcessor [14395833 ExecProcessor] - message from "/Applications/Splunk/bin/python3.7 /Applications/Splunk/etc/apps/xml_streaming/bin/xml_streaming.py"   File "/Applications/Splunk/etc/apps/xml_streaming/bin/xml_streaming.py", line 81, in run
07-02-2022 18:40:22.073 +0200 ERROR ExecProcessor [14395833 ExecProcessor] - message from "/Applications/Splunk/bin/python3.7 /Applications/Splunk/etc/apps/xml_streaming/bin/xml_streaming.py"     traceback.format_exc()
07-02-2022 18:40:22.074 +0200 ERROR ExecProcessor [14395833 ExecProcessor] - message from "/Applications/Splunk/bin/python3.7 /Applications/Splunk/etc/apps/xml_streaming/bin/xml_streaming.py" NameError: name 'traceback' is not defined

If you see something like this in your log file, then it will be formatted by Splunk itself as a single event.
2022-07-02 18:53:54,363 ERROR pid=69705 tid=MainThread file=activity_report.py:stream_events:136 | Exception raised while ingesting data for activity report: division by zero. Traceback: Traceback (most recent call last):
  File "/Applications/Splunk/etc/apps/Splunk_TA_Google_Workspace/bin/activity_report.py", line 132, in stream_events
    service,
  File "/Applications/Splunk/etc/apps/Splunk_TA_Google_Workspace/bin/gws_runner.py", line 48, in run_ingest
    a = 1 / 0
ZeroDivisionError: division by zero

Not sure what is actually needed to do in the solutions library to make it better, feel free to reopen in case you have ideas :)


make obuf/buf uint64 types

add a function to return a StrucStream

nope, won't work because they need Usercorn attached. can unembed StrucStream though.

still better in 02ad22cdbb217bba2ed79bd86e1385d45ef22ee5


[ZK filter] Fix CreateTTL request parse

Commit Message: [ZK filter] Fix CreateTTL request parse
Additional Description: CreateTTL request is different from other create requests. It has additional ttl data at the end of payload (reference). This PR tries to let ZK filter parse CreateTTL request correctly and avoid potential decode errors.
Risk Level: Low
Testing: Unit test
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A

Hi @JuniorHsu, please review if you have a chance, thank you!


Navigator.of(context).restorablePushNamed is not returning future and not returning and valid result

Navigator.of(context).restorablePushNamed is not returning future and not returning and valid result,
IDEA IDE shows this method does not return any future but your documentation shows it return future.
here is your documentation
https://api.flutter.dev/flutter/widgets/Navigator/restorablePushNamed.html
My code for push and pop is
for push :
final result =  Navigator.of(context).restorablePushNamed('/demo/lists');
for pop :
Navigator.pop(context, 'yo');
So when I run it, and print the result it gives me r+3, r+4

Hi @SITARAM-LAB
Can you please provide your flutter doctor -v and flutter run --verbose logs, and a minimal complete reproducible code sample?
Thank you

Hi,
following are two,
Navigator.pushNamed is working fine but
Navigator.of(context).restorablePushNamed is not returning valid
result
kindly check if possible.
final result = await Navigator.pushNamed(
context,
'/demo/lists'   //this is working
)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
C:\Users\Atul>flutter doctor -v
[âˆš] Flutter (Channel master, 2.6.0-12.0.pre.22, on Microsoft Windows
[Version
6.3.9600], locale en-US)
â€¢ Flutter version 2.6.0-12.0.pre.22 at
C:\Users\Atul\Documents\flutter\flutter_windows_2.2.3-stable\flutter
â€¢ Upstream repository https://github.com/flutter/flutter.git
â€¢ Framework revision 83dfb2237a (2 weeks ago), 2021-09-17 23:48:04
-0400
â€¢ Engine revision 31792e0340
â€¢ Dart version 2.15.0 (build 2.15.0-120.0.dev)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
C:\Users\Atul>flutter run --verbose
[ +130 ms] executing:
[C:\Users\Atul\Documents\flutter\flutter_windows_2.2.3-stable\flutter/] git
-c
log.showSignature=false log -n 1 --pretty=format:%H
[ +122 ms] Exit code 0 from: git -c log.showSignature=false log -n 1
--pretty=format:%H
[   +1 ms] 83dfb2237a22ad92c38e345b3aa85aeecae732aa
[   +1 ms] executing:
[C:\Users\Atul\Documents\flutter\flutter_windows_2.2.3-stable\flutter/] git
tag
--points-at 83dfb2237a22ad92c38e345b3aa85aeecae732aa
[  +82 ms] Exit code 0 from: git tag --points-at
83dfb2237a22ad92c38e345b3aa85aeecae732aa
[   +4 ms] executing:
[C:\Users\Atul\Documents\flutter\flutter_windows_2.2.3-stable\flutter/] git
describe --match ..* --long --tags
83dfb2237a22ad92c38e345b3aa85aeecae732aa
[ +139 ms] Exit code 0 from: git describe --match ..* --long --tags
83dfb2237a22ad92c38e345b3aa85aeecae732aa
[   +1 ms] 2.6.0-11.0.pre-22-g83dfb2237a
[  +17 ms] executing:
[C:\Users\Atul\Documents\flutter\flutter_windows_2.2.3-stable\flutter/] git
rev-parse --abbrev-ref --symbolic @{u}
[  +59 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/master
[        ] executing:
[C:\Users\Atul\Documents\flutter\flutter_windows_2.2.3-stable\flutter/] git
ls-remote --get-url origin
[  +57 ms] Exit code 0 from: git ls-remote --get-url origin
[   +1 ms] https://github.com/flutter/flutter.git
[ +195 ms] executing:
[C:\Users\Atul\Documents\flutter\flutter_windows_2.2.3-stable\flutter/] git
rev-parse --abbrev-ref HEAD
[  +78 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms] master
[ +131 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not
required,
skipping update.
[   +1 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not
required,
skipping update.
[   +1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required,
skipping
update.
[   +1 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping
update.
[   +8 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required,
skipping update.
[   +1 ms] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required,
skipping update.
[   +1 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required,
skipping
update.
[   +1 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required,
skipping
update.
[   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required,
skipping update.
[   +1 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required,
skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required,
skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required,
skipping update.
[ +122 ms] executing:
C:\Users\Atul\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[  +99 ms] List of devices attached
[  +14 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not
required,
skipping update.
[   +1 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not
required,
skipping update.
[   +1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required,
skipping
update.
[   +8 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required,
skipping update.
[   +1 ms] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required,
skipping update.
[   +1 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required,
skipping
update.
[   +1 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required,
skipping
update.
[   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required,
skipping update.
[   +1 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required,
skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required,
skipping update.
[  +72 ms] "flutter run" took 395ms.
[  +37 ms] Error: No pubspec.yaml file found.
This command should be run from the root of your Flutter project.
[   +6 ms]
#0      FlutterCommand.validateCommand
(package:flutter_tools/src/runner/flutter_command.dart:1391:11)
#1      RunCommand.validateCommand
(package:flutter_tools/src/commands/run.dart:456:19)
#2      FlutterCommand.verifyThenRunCommand
(package:flutter_tools/src/runner/flutter_command.dart:1232:11)

#3      FlutterCommand.run.
(package:flutter_tools/src/runner/flutter_command.dart:1125:27)

#4      AppContext.run.
(package:flutter_tools/src/base/context.dart:150:19)

#5      CommandRunner.runCommand
(package:args/command_runner.dart:209:13)

#6      FlutterCommandRunner.runCommand.
(package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)

#7      AppContext.run.
(package:flutter_tools/src/base/context.dart:150:19)

#8      FlutterCommandRunner.runCommand
(package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)

#9      run..
(package:flutter_tools/runner.dart:62:9)

#10     AppContext.run.
(package:flutter_tools/src/base/context.dart:150:19)

#11     main (package:flutter_tools/executable.dart:92:3)

[ +267 ms] ensureAnalyticsSent: 262ms
[   +5 ms] Running shutdown hooks
[   +2 ms] Shutdown hooks complete
[   +2 ms] exiting with code 1
C:\Users\Atul>
On Tue, Oct 5, 2021 at 2:23 PM Daniel Agbemava @.***>
wrote:

Hi @SITARAM-LAB https://github.com/SITARAM-LAB
Can you please provide your flutter doctor -v and flutter run --verbose
logs, and a minimal complete reproducible code sample
https://stackoverflow.com/help/minimal-reproducible-example?
Thank you
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/91282#issuecomment-934204313,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJAFREHOMON7CVCCS4SIZA3UFK4HTANCNFSM5FKZBD2Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Hi @SITARAM-LAB, the information that you have provided is not enough for me to act on.
Kindly provide a complete minimal reproducible code sample that demonstrates what issue you're running into.
flutter run -v needs to be run from your project directory.
Thank you

hi,
//screen1.dart
final result= Navigator.of(context).restorablePushNamed(
'/demo/lists',
); //after calling pop it returns r+3, r+4
//screen2.dart  with named route '/demo/lists'
Navigator.pop(context, 'yo'); //code for poping screen
//it should return the result 'yo' but it returns r+3, r+4
following is flutter d
octor -v run from project root
C:\Users\Atul\Documents\flutter_projects\gallery-master\gallery-master>flutter
d
octor -v
[ΓêÜ] Flutter (Channel master, 2.6.0-12.0.pre.22, on Microsoft Windows
[Version
6.3.9600], locale en-US)
ΓÇó Flutter version 2.6.0-12.0.pre.22 at
C:\Users\Atul\Documents\flutter\flutter_windows_2.2.3-stable\flutter
ΓÇó Upstream repository https://github.com/flutter/flutter.git
ΓÇó Framework revision 83dfb2237a (2 weeks ago), 2021-09-17 23:48:04
-0400
ΓÇó Engine revision 31792e0340
ΓÇó Dart version 2.15.0 (build 2.15.0-120.0.dev)
[ΓêÜ] Android toolchain - develop for Android devices (Android SDK version
30.0.
2)
ΓÇó Android SDK at C:\Users\Atul\AppData\Local\Android\sdk
ΓÇó Platform android-30, build-tools 30.0.2
ΓÇó Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
ΓÇó Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b01)
ΓÇó All Android licenses accepted.
[ΓêÜ] Chrome - develop for the web
ΓÇó Chrome at C:\Program Files
(x86)\Google\Chrome\Application\chrome.exe
[ΓêÜ] Android Studio (version 4.0)
ΓÇó Android Studio at C:\Program Files\Android\Android Studio
ΓÇó Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
ΓÇó Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
ΓÇó Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b01)
[ΓêÜ] IntelliJ IDEA Community Edition (version 2021.2)
ΓÇó IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community
Edition
2021.2
ΓÇó Flutter plugin version 59.0.4
ΓÇó Dart plugin version 212.4746.57
[ΓêÜ] VS Code, 64-bit edition (version 1.60.2)
ΓÇó VS Code at C:\Program Files\Microsoft VS Code
ΓÇó Flutter extension version 3.15.0
[ΓêÜ] Connected device (2 available)
ΓÇó Chrome (web) ΓÇó chrome ΓÇó web-javascript ΓÇó Google Chrome
94.0.4606.7
1
ΓÇó Edge (web)   ΓÇó edge   ΓÇó web-javascript ΓÇó Microsoft Edge
94.0.992.3
7
ΓÇó No issues found!
C:\Users\Atul\Documents\flutter_projects\gallery-master\gallery-master>
On Tue, Oct 5, 2021 at 3:03 PM Daniel Agbemava @.***>
wrote:

Hi @SITARAM-LAB https://github.com/SITARAM-LAB, the information that
you have provided is not enough for me to act on.
Kindly provide a complete minimal reproducible code sample that
demonstrates what issue you're running into.
flutter run -v needs to be run from your project directory.
Thank you
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/91282#issuecomment-934237006,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJAFREE4XZR44AMOLMSBAVDUFLA5ZANCNFSM5FKZBD2Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@SITARAM-LAB, restorablePushNamed is working as intended. If you look at the method signature, it not intended to return a future. Whereas pushNamed/push, etc, return futures since they are intended to return futures.
restorablePushNamed
 @optionalTypeArgs
  String restorablePushNamed<T extends Object?>(
    String routeName, {
    Object? arguments,
  }) {
    assert(routeName != null);
    assert(debugIsSerializableForRestoration(arguments), 'The arguments object must be serializable via the StandardMessageCodec.');
    final _RouteEntry entry = _RestorationInformation.named(
      name: routeName,
      arguments: arguments,
      restorationScopeId: _nextPagelessRestorationScopeId,
    ).toRouteEntry(this, initialState: _RouteLifecycle.push);
    _pushEntry(entry);
    return entry.restorationId!;
  }

pushNamed
 @optionalTypeArgs
  static Future<T?> pushNamed<T extends Object?>(
    BuildContext context,
    String routeName, {
    Object? arguments,
  }) {
    return Navigator.of(context).pushNamed<T>(routeName, arguments: arguments);
  }

You can check the api docs for more information https://api.flutter.dev/flutter/widgets/Navigator/restorablePushNamed.html
Closing as this is the intended behaviour.
Thank you

Future was mentioned in the official documentation.
It doesn't matter.
But it's returning r+3 not needed string value.
On Tue, 5 Oct, 2021, 6:00 pm Daniel Agbemava, @.***>
wrote:

Closed #91282 https://github.com/flutter/flutter/issues/91282.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/91282#event-5410418289, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AJAFREGIKGEEZJDC5QMQAG3UFLVXHANCNFSM5FKZBD2Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

The documentation also states this
The method returns an opaque ID for the pushed route that can be used by the RestorableRouteFuture to gain access to the actual Route object added to the navigator and its return value. You can ignore the return value of this method, if you do not care about the route object or the route's return value.

You can look up RestorableRouteFuture here https://api.flutter.dev/flutter/widgets/RestorableRouteFuture-class.html


Showing save dialog when rendering is started

Could you please implement showing the file choser for saving the GIF directly after recording is finished? This way rendering can run in the background and we can make the next record without having to wait for the previous rendering to finish. While showing the file choser, rendering can start in a parallel thread for further speed up. :)

I think you meant to open this against phw/peek, not this one. 😛

Oh sorry!

@fbruetting Could you please close this pull request if it is not relevant to the repo


Only first on every page is displayed.

First of I am very much impressed by this plugin and it's very good.
I have been trying to use it for some data to be displayed on a simple web page for testing it.
This is my js configuration :+1:
$(function() {
$("#jsGrid").jsGrid({
	height : "100%",
	width : "100%",
	filtering : false,
	editing : true,
	sorting : true,
	paging : true,
	inserting : true,
	autoload : true,
	pageSize : 10,
	fields : [ {
		name : "userId",
		title: "User Id",
		type : "number",
		width : 50
	}, {
		name : "url",
		type : "text",
		title: "Url",
		width : 500
	}, {
		name : "enable",
		type: "checkbox",
		title: "Is Enabled"
	}, {
		name : "timestamp",
		type : "text",
		title: "Last Updated On",
		width : 200
	}, {
		type : "control",
		editButton : true,
		deleteButton : true
	} ],

//data :[{"userId":47,"url":"http://<IP_ADDRESS>:8080/MyProject/testservelte","enable":1,"timestamp":"Apr 10, 2015 1:39:52 PM"},{"userId":89,"url":"","enable":1,"timestamp":"Jan 20, 2015 12:00:50 PM"},{"userId":506,"url":"","enable":1,"timestamp":"Mar 2, 2015 5:14:33 PM"},{"userId":2348,"url":"","enable":1,"timestamp":"Jan 20, 2015 3:50:33 PM"},{"userId":2353,"url":"","enable":1,"timestamp":"Feb 13, 2015 4:18:00 PM"},{"userId":2448,"url":"","enable":1,"timestamp":"Feb 24, 2015 4:00:53 PM"},{"userId":2457,"url":"","enable":1,"timestamp":"Feb 26, 2015 3:51:28 PM"},{"userId":2468,"url":"","enable":1,"timestamp":"Feb 26, 2015 3:51:28 PM"},{"userId":2477,"url":"","enable":1,"timestamp":"Mar 16, 2015 7:11:44 PM"},{"userId":2479,"url":"","enable":1,"timestamp":"Mar 16, 2015 7:11:44 PM"},{"userId":2481,"url":"","enable":1,"timestamp":"Mar 24, 2015 3:30:04 PM"},{"userId":2508,"url":"","enable":1,"timestamp":"Apr 1, 2015 5:23:54 PM"},{"userId":2509,"url":"","enable":1,"timestamp":"Apr 2, 2015 10:01:13 AM"},{"userId":2521,"url":"","enable":1,"timestamp":"Apr 20, 2015 11:11:52 AM"},{"userId":2524,"url":"","enable":1,"timestamp":"Apr 9, 2015 4:57:40 PM"},{"userId":2527,"url":"","enable":1,"timestamp":"Apr 10, 2015 4:50:24 PM"},{"userId":2531,"url":"","enable":1,"timestamp":"Apr 14, 2015 4:58:17 PM"},{"userId":2535,"url":"","enable":1,"timestamp":"Apr 17, 2015 1:38:58 PM"},{"userId":2536,"url":"","enable":1,"timestamp":"Apr 20, 2015 4:17:47 PM"},{"userId":2537,"url":"","enable":1,"timestamp":"Apr 20, 2015 4:59:57 PM"},{"userId":2538,"url":"","enable":1,"timestamp":"Mar 16, 2015 7:11:44 PM"},{"userId":2545,"url":"","enable":1,"timestamp":"Apr 28, 2015 1:31:20 PM"},{"userId":2546,"url":"","enable":1,"timestamp":"Apr 20, 2015 4:59:57 PM"},{"userId":2559,"url":"","enable":1,"timestamp":"May 12, 2015 10:49:07 AM"},{"userId":2560,"url":"","enable":1,"timestamp":"May 12, 2015 10:49:07 AM"},{"userId":2561,"url":"","enable":1,"timestamp":"May 8, 2015 11:39:05 AM"},{"userId":2565,"url":"","enable":1,"timestamp":"May 8, 2015 11:39:05 AM"},{"userId":2566,"url":"","enable":1,"timestamp":"May 20, 2015 11:28:43 AM"},{"userId":2569,"url":"","enable":1,"timestamp":"May 22, 2015 11:24:55 AM"},{"userId":2577,"url":"","enable":1,"timestamp":"May 26, 2015 6:22:36 PM"},{"userId":2578,"url":"","enable":1,"timestamp":"May 27, 2015 1:28:08 PM"}],

	controller : {
		loadData : function(filter) {
			filter["operation"] = "loadUrls";
			return $.ajax({
				type : "GET",
				url : "ruleenginehandler",
				data : filter,
				dataType : "json"
			});
		},

		insertItem : function(item) {
			item["operation"] = "insert";
			return $.ajax({
				type : "POST",
				url : "ruleenginehandler",
				data : item,
				dataType : "json"
			});
		},

		updateItem : function(item) {
			item["operation"] = "update";
			$.ajax({
				type : "POST",
				url : "ruleenginehandler",
				data : item,
				dataType : "json"
			}).done(function(data) {
				if (console && console.log) {
					console.log("Sample of data:", data);
				}
			}).fail(function(data) {
				if (console && console.log) {
					console.log("Failed", data);
				}
			});
		},

		deleteItem : function(item) {
			item["operation"] = "delete";
			return $.ajax({
				type : "POST",
				url : "ruleenginehandler",
				data : item,
				dataType : "json"
			});
		}
	}

});

});
I have commented out "data" for loading information from my database.
It creates 4 page as there are 31 records, but it only displays first entry on each page  and not other entries.
When I provide data statically in "data", it renders everything correctly.
Please help me out in solving this.

Thank you for the feedback!
Your config looks well at first sight.
Try to change loadData method like following to be sure that ajax call returns the same data (see in console):
loadData : function(filter) {
	var d = $.Deferred();

    filter["operation"] = "loadUrls";

    $.ajax({
        type : "GET",
        url : "ruleenginehandler",
        data : filter,
        dataType : "json"
    }).done(function(result) {
    	console.log(result);
    	d.resolve(result);
    });

    return d.promise();
},

I tried what you suggested for load method. The console outputs the following :
[Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object]
I guess there are the objects that contain the data returned  by my serer side code.
Is there any issue with this?
I will explain what I have done in my server side code for returning json array :
I have a pojo class which I convert to a json string using Gson. and then just return that same string as response. Is there something wrong I am doing in my server side code?

Hi,
If you want to see what your object contains change: console.log(result) by console.dir(result).
If I checked correctly your code your object must have at least this fields: userId, url, enable and timestamp. If not adapt your server code.

I tried using
console.dir(result).
It gives me following :

It is having all required params as mentioned by you. I don't understand what am I missing though.

For example:
$.ajax({
    url: "your/path",
    type: 'GET',
    dataType: 'json',
    data: {
        method: "your-method",
        userId_filter: filter.userId,
        url_filter: filter.url,
        enable_filter: filter.enable,
        timestamp_filter: filter.timestamp
    }
}).done(function(response) {
    d.resolve(response);
}).error(function(jqXHR) {
    d.reject(jqXHR.status);
});

return d.promise();

Yes, I tried this, but this is also not working for me. Only loads first row data on each page.

I don't know why sorry.
Just to be sure have you check the others objects in your result.
In your screenshot we can see the first object only.

Yes I checked each of 31 objects returned in my result and everything looks fine.
Please someone help me out with my problem, as I found this plug-in as the easiest for usage and understanding.

the only difference I see between your result and your static data is with the field enable.
You are using true/false with ajax and 1/0 in the static data.
and personally I have some problems with field name like "enable" or common name like this.
sorry not to be able to help you, I hope @tabalinas can.

I changed my server side code to return 0/1 instead of true/false, but still no luck.

Finally my problem is resolved.
I kept the height as 100% in my config which is why the data was not getting displayed below the first row.
I really apologize for this as I don't have much experience with UI.

Glad that you figured this out!


Track file downloads

@mmontesanonyc this work is allowing us to track the Report Data downloads. We are eager to test this, so if you can review and merge if looks good, we'd appreciate it.

Thanks Adam - looking good, I'll merge.
The merge to development will rebuild to nychealth.github.io/EH-dataportal so you should be good to test. LMK if me and @cgettings can help today.

@mmontesanonyc it looks like the build failed. Can you take a look?

@AdamChlan All set - triggered another build and it's deployed to gh-pages.


update browser/chrome version

minimum browser version last updated https://github.com/externpro/buildpro/issues/74
searching UbunutUpdates for the minimum version available
https://www.ubuntuupdates.org/package/google_chrome/stable/main/base/google-chrome-stable?id=202706&page=12
chrome 115.0.5790.110 is no longer available
https://dl.google.com/linux/chrome/rpm/stable/x86_64/google-chrome-stable-115.0.5790.110-1.x86_64.rpm
404 error

116.0.5845.140 is the minimum available as of now
https://dl.google.com/linux/chrome/rpm/stable/x86_64/google-chrome-stable-116.0.5845.140-1.x86_64.rpm

completed with commit to dev branch referenced above
smanders@bpbldlatest:/bpvol/buildpro (dev)
$ google-chrome --version
Google Chrome 116.0.5845.140

chrome 116.0.5845.140 is no longer available
https://dl.google.com/linux/chrome/rpm/stable/x86_64/google-chrome-stable-116.0.5845.140-1.x86_64.rpm
404 error
116.0.5845.179 is the minimum available as of now
https://dl.google.com/linux/chrome/rpm/stable/x86_64/google-chrome-stable-116.0.5845.179-1.x86_64.rpm

completed with commit to dev branch referenced above
smanders@bpbldlatest:/bpvol/buildpro (dev)
$ google-chrome --version
Google Chrome 116.0.5845.179


Implement forgot password in login page

@Sivasaiklu, already working on it, Thank you for the contribution closed as complete.


Documentation should indicate CELERYBEAT_SCHEDULE respects TIME_ZONE

This is not clear, that the times are not system time but localized to the currently set Django TIME_ZONE. It should be noted in the documentation that explains the scheduling.

2.5 will have support for UTC, while 3.0 will use UTC by default.
If you could whip up a doc patch I will merge it!


ImportError: cannot import name 'is_url'

I am getting this error when trying to import Agent from rasa_core.agent
**Rasa Core version 0.11.12
Python version: Python 3.6, Anaconda
Operating system Windows 10
Issue:
from rasa_nlu.utils import is_url
ImportError: cannot import name 'is_url'
Traceback (most recent call last):
File "main.py", line 231, in
from rasa_core.agent import Agent
File "C:\Users\souramodi\AppData\Local\Continuum\anaconda3\lib\site-packages\rasa_core\agent.py", line 38, in
from rasa_nlu.utils import is_url
ImportError: cannot import name 'is_url'

Thanks for raising this issue, @EPedrotti  will get back to you about it soon.

Hi @souravmodi22 ,
which version of rasa_nlu are you using?

Hi @EPedrotti ,
I am using version 0.11.5 for rasa_nlu

Thank You @EPedrotti
I am using rasa-nlu 0.11.5 to import necessary modules which doesn't seem to be compatible with the latest versions of rasa-nlu.
from rasa_nlu.converters import load_data
from rasa_nlu.config import RasaNLUConfig
from rasa_nlu.model import Trainer
Please advice if there are any alternatives to import these modules in new versions of rasa-nlu.
If not,then I will add a similar function to my code as suggested and ticket can be closed.

@souravmodi22 you can try having a look at our migration guides here https://rasa.com/docs/nlu/migrations/ and see if this helps. Unfortunately you are updating to a differente major release and there are some breaking changes. If all you need is the is_url function I would recommend to just add it yourself.

Thank You @EPedrotti for the reference document.
I will add a is_url function as suggested.
Closing the issue.