DataLossError : Checksum does not match

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):windows 7 professional,64bit
TensorFlow installed from (source or binary):binary
TensorFlow version (use command below):1.3.0
Python version: 3.6.2
Bazel version (if compiling from source):N/A
GCC/Compiler version (if compiling from source):N/A
CUDA/cuDNN version:N/A
GPU model and memory:N/A
Exact command to reproduce:N/A

Describe the problem
I trained on Ubuntu16.04 to get the model, and then restore the model on  Windows7 Professional, but it occured such a mistake:
DataLossError (see above for traceback): Checksum does not match: stored<PHONE_NUMBER> vs. calculated on the restored bytes<PHONE_NUMBER>
[Node: save/RestoreV2_282 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"]]
Both machines have the same version of python and TensorFlow, and the model tested in another machine succeed, but this machine failed, how to solve it? Thank you!
Source code / logs
Traceback (most recent call last):
  File "D:/tensorboxPy3/evaluate.py", line 138, in <module>
    main()
  File "D:/tensorboxPy3/evaluate.py", line 117, in main
    get_results(args, H, os.path.dirname(args.datadir))
  File "D:/tensorboxPy3/evaluate.py", line 59, in get_results
    saver.restore(sess, args.weights)
  File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\training\saver.py", line 1560, in restore
    {self.saver_def.filename_tensor_name: save_path})
  File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 895, in run
    run_metadata_ptr)
  File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1124, in _run
    feed_dict_tensor, options, run_metadata)
  File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1321, in _do_run
    options, run_metadata)
  File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1340, in _do_call
    raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.DataLossError: Checksum does not match: stored<PHONE_NUMBER> vs. calculated on the restored bytes<PHONE_NUMBER>
	 [[Node: save/RestoreV2_282 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_arg_save/Const_0_0, save/RestoreV2_282/tensor_names, save/RestoreV2_282/shape_and_slices)]]

Caused by op 'save/RestoreV2_282', defined at:
  File "D:/tensorboxPy3/evaluate.py", line 138, in <module>
    main()
  File "D:/tensorboxPy3/evaluate.py", line 117, in main
    get_results(args, H, os.path.dirname(args.datadir))
  File "D:/tensorboxPy3/evaluate.py", line 55, in get_results
    saver = tf.train.Saver()
  File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\training\saver.py", line 1140, in __init__
    self.build()
  File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\training\saver.py", line 1172, in build
    filename=self._filename)
  File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\training\saver.py", line 688, in build
    restore_sequentially, reshape)
  File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\training\saver.py", line 407, in _AddRestoreOps
    tensors = self.restore_op(filename_tensor, saveable, preferred_shard)
  File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\training\saver.py", line 247, in restore_op
    [spec.tensor.dtype])[0])
  File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\ops\gen_io_ops.py", line 663, in restore_v2
    dtypes=dtypes, name=name)
  File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 767, in apply_op
    op_def=op_def)
  File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py", line 2630, in create_op
    original_op=self._default_original_op, op_def=op_def)
  File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py", line 1204, in __init__
    self._traceback = self._graph._extract_stack()  # pylint: disable=protected-access

DataLossError (see above for traceback): Checksum does not match: stored<PHONE_NUMBER> vs. calculated on the restored bytes<PHONE_NUMBER>
	 [[Node: save/RestoreV2_282 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_arg_save/Const_0_0, save/RestoreV2_282/tensor_names, save/RestoreV2_282/shape_and_slices)]]

Process finished with exit code 1

@martinwicke any ideas what the problem could be?

@reedwm Any updates? Thanks!

I also meet this,when i use tensorflow object detection API; i training the model more steps,the mistake missing,i guess the reason is  that tf required the trained models at least  a value,we need to reach it

i meet the same problem

The same problem Ubunutu 18.04, python2.7, tensorflow-1.31,1

The same problem Ubuntu 18.04, python3.7, tensorflow-1.31.1


Use 7zip when available for zip file (more fast)

Example with vim, reduce the time of 67 seconds to 23 seconds
Command for test:
Measure-Command { .\bin\scoop.ps1 update vim -f }

#output
vim: 8.1.1330 -> 8.1.1330
WARN  Scoop uses 'aria2c' for multi-connection downloads.
WARN  Should it cause issues, run 'scoop config aria2-enabled false' to disable it.
Updating one outdated app:
Updating 'vim' (8.1.1330 -> 8.1.1330)
Downloading new version
Loading gvim_8.1.1330_x64.zip from cache.
Checking hash of gvim_8.1.1330_x64.zip ... ok.
Uninstalling 'vim' (8.1.1330)
Unlinking ~\scoop\apps\vim\current
Loading gvim_8.1.1330_x64.zip from cache.
Extracting gvim_8.1.1330_x64.zip ... done.
Linking ~\scoop\apps\vim\current => ~\scoop\apps\vim\8.1.1330
Creating shortcut for gVim (gvim.exe)
'vim' (8.1.1330) was installed successfully!

Measure with 7zip:
Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 23
Milliseconds      : 112
Ticks             : 231125631
TotalDays         : 0,000267506517361111
TotalHours        : 0,00642015641666667
TotalMinutes      : 0,385209385
TotalSeconds      : 23,1125631
TotalMilliseconds : 23112,5631

Measure with powershell 5:
Days              : 0
Hours             : 0
Minutes           : 1
Seconds           : 7
Milliseconds      : 113
Ticks             : 671134835
TotalDays         : 0,000776776429398148
TotalHours        : 0,0186426343055556
TotalMinutes      : 1,11855805833333
TotalSeconds      : 67,1134835
TotalMilliseconds : 67113,4835

Why not use if...else...? i.e., move extract_fn = "Expand-ZipArchive" to else

@niheaven, done

Can this be merged?


Add post

Please add this post:
Post URL: https://quick-lint-js.com/blog/cpp-vs-rust-build-times/
Author Name: strager
Categories: Performance

Thanks, done.


Cannot customize width and height of dialog

We want to have a dialog with scroll bar where we want height of dialog to be fixed, irrespective of number of items inside list. We have observed height can be increased from certain height but not decrease. We tried various styling but it's not working.

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

Height should be customizable.
Current Behavior

Height of dialog is proportional to number of items.
Steps to Reproduce (for bugs)

Create a dialog
Add list items (count should be above 30) inside dialog
Add styling with different keywords.
Open dialog.

Context

Your Environment

Tech
Version

Material-UI

React

browser

etc

This demo is demonstrating how to set a max height:
https://github.com/mui-org/material-ui/blob/e49ce4f7c2df242062fe46a2f3aeb30f78a01ef1/docs/src/pages/demos/dialogs/ConfirmationDialog.js#L117


Can't use configureDoctrine function anymore

On sf1.4, the following code was inside sfDoctrinePluginConfiguration.class.php  allowing me to use configureDoctrine() inside my ProjectConfiguration.class.php
 if (method_exists($this->configuration, 'configureDoctrine')) {
     $this->configuration->configureDoctrine($manager);
 }

I understand that now I should use the dispatcher on doctrine.configure event, but for retrocompatibility, it should be back or at least mentionned in migration doc.

Agree, this one caught me also, specifically when leveraging the config for soft delete features. For example this is the example of my ProjectConfiguration before and after to resolve so my configureDoctrine was called.
Before
class ProjectConfiguration extends sfProjectConfiguration {
  public function setup()
  {
      $this->enablePlugins([
          'sfDoctrinePlugin',
          'sfDoctrineGuardPlugin'
      ]);
  }

  public function configureDoctrine(Doctrine_Manager $manager)
  {
      // Enable callbacks so that softDelete behavior can be used
      $manager->setAttribute(Doctrine_Core::ATTR_USE_DQL_CALLBACKS, true);
  }
}

After (note the use of static now on the method to confirm to strict standards for call_user_func)
class ProjectConfiguration extends sfProjectConfiguration {
  public function setup()
  {
      $this->enablePlugins([
          'sfDoctrinePlugin',
          'sfDoctrineGuardPlugin'
      ]);

      $this->dispatcher->connect('doctrine.configure', array('ProjectConfiguration', 'configureDoctrine'));
  }

  public static function configureDoctrine(sfEvent $event)
  {
      $manager = $event->getSubject();

      // Enable callbacks so that softDelete behavior can be used
      $manager->setAttribute(Doctrine_Core::ATTR_USE_DQL_CALLBACKS, true);
  }
}

@j0k3r I don't see any mention of this new behavior in the docs nor in the code. Did you close this issue without any change ? It is not obvious that configureDoctrine is not called anymore.

@alex-pex woops sorry, closed to quickly, I thought @cburyta had given a workaround so that I can close the issue.
And yes configureDoctrine was removed https://github.com/LExpress/symfony1/commit/87410a11e0b60cdaf3bab8066da804421563aa4a and you know have to use the doctrine.configure event.
I'll update the doc accordingly.


Unable to generalize a type variable. It is not unranked.

I have a another one of these errors. The following code
import Set

projection1 : Set.Set ( comparable, comparable ) -> Set.Set comparable
projection1 set =
    Set.map Tuple.first set

produces the following error message (for example in elm repl using Elm 0.18 on macOS 10.12)
elm-make: It looks like something went wrong with the type inference algorithm.

Unable to generalize a type variable. It is not unranked.

Please create a minimal example that triggers this problem and report it to
<https://github.com/elm-lang/elm-compiler/issues>
CallStack (from HasCallStack):
  error, called at src/Type/Solve.hs:255:3 in elm-compiler-0.18-FiacYmsJkGSHKQQo9ZDjAg:Type.Solve
elm-make: thread blocked indefinitely in an MVar operation

I am consolidating all the examples in #1613, so it is easier to find them all.
This example is great. Thank you!

Based on commit 4b25980d93ada12236c794f35570e197be82f787, this code is going through without errors on my development build!


body with direction : rtl

sorry for the two issues,  i just want to ask about giving the body direction : rtl
because when i did this before any jquery plugin i embed in my document like : gallery slider or simple bootstrap slider were destroyed
how can i fix this ?
i tried before this line i've created :
:not(body),:not(div),*:not(html){ direction: rtl }
it works

your question is kind of irrelevant to the purpose of the repo but I don't advice using this line of code to be honest because it's too general. Also using the * has some performance issues.
The idea of converting any code to RTL is to change properties that affects the direction like floating, margins, paddings, clearing and etc... JS has nothing to do with directions unless if the JS code is direction dependent which means the CSS properties that affects directions are being manipulated inside the JS

the line of code is too general ? ok what's wrong ?!
i know the purpose of the repo and what you said about the purpose is so right but the body when it has that direction property also will cause a performance issues like js plugins and you are right about JS code direction dependent but don't you think this is must be considered as an issue also ?? and each time i embed a plugin of those with direction dependence must give it a direction :ltr

for example :
-flex-slider
-owl-carousel
-bx-slider
-pgwCarousel

I totally get your point. If this property would affect any plugin within bootstrap I would fix it but it's not, so it's irrelevant. You can add/fix what you want to suite your needs in your own custom code


[ISSUE #7464] Polish the pop logger format

Which Issue(s) This PR Fixes

Fixes #7464
Brief Description

How Did You Test This Change?

@RongtongJin hi~, PTAL

There are similar issues in other parts of this class. Could you help us modify them together?

of course

Codecov Report

Merging #7465 (4edd823) into develop (0f01df4) will decrease coverage by 0.01%.
The diff coverage is 40.00%.

:exclamation: Current head 4edd823 differs from pull request most recent head df40306. Consider uploading reports for the commit df40306 to get more accurate results

@@              Coverage Diff              @@
##             develop    #7465      +/-   ##
=============================================
- Coverage      42.97%   42.96%   -0.01%
+ Complexity      9665     9658       -7
=============================================
  Files           1161     1161
  Lines          83920    83920
  Branches       10898    10898
=============================================
- Hits           36064    36056       -8
- Misses         43379    43382       +3
- Partials        4477     4482       +5

Files
Coverage Δ

...he/rocketmq/broker/processor/PopReviveService.java
36.38% <40.00%> (ø)

... and 17 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

There are similar issues in other parts of this class. Could you help us modify them together?

done! PTAL


BUG: Fix segfault in lib.isnullobj

Weird segfault arises when you call lib.isnullobj with an array that uses 0-field values to mean None.
Changed input to be a Python object (i.e. no typing), and the segfault went away.  Discovered when there were segfaults in printing a DataFrame containing such an array.
Closes #13717.

[Current coverage][cc-pull] is 84.56% (diff: 100%)

Merging [#13764][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master     #13764   diff @@
==========================================
  Files           141        141
  Lines         51195      51195
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits          43295      43295
  Misses         7900       7900
  Partials          0          0

Powered by Codecov. Last update [9f94e6a...eb1e8ee][cc-compare]
[cc-base-branch]: https://codecov.io/gh/pydata/pandas/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/pydata/pandas/compare/9f94e6a04564e8269b43c5b4e83854d277ea30bd...eb1e8ee974760a60e3bd1c2dfc0add2bf609f55d?src=pr
[cc-pull]: https://codecov.io/gh/pydata/pandas/pull/13764?src=pr

you need to check if it's iterable now eg s scalar will fail

or at least assert that (as this cannot be called with s scalar)

@jreback : good point about the scalar thing - I think I actually don't need to remove ndarray entirely.  If I remove the object dtype specification, that might be sufficient.  Testing it right now.

@jreback : "fixed" all four isnullobj methods and added tests for all of them, and Travis is still passing.  Ready to merge if there are no other concerns.

lgtm. can you give a perf test and see if anything material (I don't think so, but can't hurt). as this is the null tester for strings.

What do you mean null tester for strings?  What method are you referring to?

this is called for null testing on strings

From where exactly?  Are you talking about the pandas.types.missing methods (also, why focus on strings specifically?)

look at how isnull works. this is the only 1 of 2 places this is called.

Okay, that's what I thought.  Where should this perf test go in asv_bench?  In strings.py I presume?

oh, i mean there prob is a benchmark that tells null on strings already, if not see where the null tests are (I think they are all in one place).

@jreback : I found isnull benchmarks in the DataFrame benchmarks, so I added one for strings there.

Travis is doing weird things.  Putting [ci skip] in the commit until it corrects itself.

thanks
minor change I made in the asv
also it IS slightly slower, so I guess the emitted c-code is slightly less optimal w/o the object typing (but can't have seg faults of course :)


Request for ErrorHandler ErrorException mode

ErrorHandler should be able to convert any non fatal PHP errors to ErrorException instances. This should be made as a configurable setting.

I am not sure if we really want to add this or not, seems a bit out of scope for something that's just meant to log the errors, in a logging library.


Check all whitespace rules for possible block comments

Since these lines becomes pretty different ASTs we should check for block comments between tokens manually if it needed.
function () {}
function/**/ () {}
function /**/() {}

We can start with rules that uses assert.[no]whitespace methods.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/8202755-check-all-whitespace-rules-for-possible-block-comments?utm_campaign=plugin&utm_content=tracker%2F281640&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F281640&utm_medium=issues&utm_source=github).

It seems it was done already


“Add payment method” button is disabled on every  visit after user changes password

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Click on ‘profile’ avatar
Click on ‘Security’ link
Click on ‘Change password’ link
Enter current password > enter new password > click on ‘save’ button
Click on “Got it’ button
Navigate back to settings
Click on ‘Payments’ link

Expected Result:
“Add payment method” button shouldn’t be disabled
Actual Result:
“Add payment method” button is disabled
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.2.96-4
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/43996225/230505721-af87d3a8-2b76-44c3-9c97-c381de0100ff.mp4
https://user-images.githubusercontent.com/43996225/230505736-9adae1b2-dedf-4a75-8ab5-0d059e5efb3f.mp4
Expensify/Expensify Issue URL:
Issue reported by: @natnael-guchima
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1680780400485689
View all open jobs on GitHub

Triggered auto assignment to @dylanexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@dylanexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick!

@dylanexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

reviewing today!

Posted a question to clarify about the password element

Wasn't able to reproduce this. @kavimuru can you check if you can repro?

https://user-images.githubusercontent.com/57330233/231703666-6a13bdf1-cd89-4326-80ed-19366a134ea9.mp4
I am able to reproduce it. On every first visit to Payment section after password is changed, the button seems to be disabled. And it becomes active when you navigate back and visit Payments section again.
I think the title should be, "Add payment method" button is disabled on every first visit to "Payment" section after user changes password.

Hmm, I see you have PayPal already added, so unsure if that's a facet of this? Also, it looks like you're on an app, not chrome/web which is what's indicated in the OP as the location of the bug occurring. Can you confirm exactly what platforms and versions you're on that are reproducing this bug just for good measure?

I will retest removing the PayPal account on desktop web Chrome and get back to you in a minute

https://user-images.githubusercontent.com/57330233/231706764-fdfbad73-dd6a-4ae3-af5a-32512b834665.mp4
You are welcome, Dylan🙌.
Platform: Android, mWeb, and Desktop web Chrome are impacted. I think other platforms might also be impacted. I was able only to test on the platforms I mentioned.
Environment: staging, production
Version: v1.3.0-0

Ok brilliant, let me try to repro! TY!

Nice was able to repro! Not sure why I didn't last time lol.

Job added to Upwork: https://www.upwork.com/jobs/~0189cbf9653004e6fa

Current assignee @dylanexpensify is eligible for the External assigner, not assigning anyone new.

Triggered auto assignment to @madmax330 (External), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

Nice was able to repro! Not sure why I didn't last time lol.

I think the title was misleading, lol. It might have not been very clear.

Proposal
Please re-state the problem that we are trying to solve in this issue.
Add payment method button is disabled after changing password.
What is the root cause of that problem?
The button is disabled when the request is loading or we are offline. The second condition (offline) is false, so the only possible condition is that the request is loading forever. The loading state is set here
https://github.com/Expensify/App/blob/b96c5167e7ac1f9f4ebfdd61311433c421871695/src/libs/actions/PaymentMethods.js#L38-L64
And will be merged when the request fails or success here
https://github.com/Expensify/App/blob/b96c5167e7ac1f9f4ebfdd61311433c421871695/src/libs/Middleware/SaveResponseInOnyx.js#L10-L33
Looking at the log when we open the page, we get this log

We can see that the jsonCode is 407, which means the request fails, but the code does not get into the else block because responseData is undefined. How?
We have Reauthentication middleware that will intercept when we get the 407 code. If it's a read request (which it is in our case), it will trigger a reconnect request and just return Promise.resolve().
https://github.com/Expensify/App/blob/b96c5167e7ac1f9f4ebfdd61311433c421871695/src/libs/Middleware/Reauthentication.js#L80-L93
This makes the responseData inside SaveResponseInOnyx middleware becomes undefined.
What changes do you think we should make in order to solve the problem?

We should return data, which is the response data instead of Promise.resolve() to propagate down the response to SaveResponseInOnyx middleware.

discussing internally, putting on HOLD for a day or so while we update something

taking off hold!

not overdue! @parasharrajat to review proposals

bump @parasharrajat

@madmax330 @parasharrajat @dylanexpensify this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

Hello @dylanexpensify. Now that system has migrated to password-less auth, it sounds like "change password" feature might be removed. In light of that should we still pursue fixing this issue?

Hi @Natnael-Guchima! We decided this should still be pursued given the internal testing side couldn't find a root cause between the two! Mind seeing if you can repro?

Hi @Natnael-Guchima! We decided this should still be pursued given the internal testing side couldn't find a root cause between the two! Mind seeing if you can repro?

Great! I was trying to reproduce it now. I am not able to reproduce - I couldn't save password change. I am guessing either I forgot my existing password or system is not reading an existing password from DB.

I was able to reproduce this on v1.3.4-0. @Natnael-Guchima are you sure you're entering the correct password?

Oow, I see. I think I might have forgoten my password. I tried it on v1.3.4-0.

Hmmm maybe this is not relevant now with Passwordless after all? Thoughts @madmax330?

Not overdue!

@madmax330 @dylanexpensify this issue is now 3 weeks old. There is one more week left before this issue breaks WAQ and will need to go internal. What needs to happen to get a PR in review this week? Please create a thread in #expensify-open-source to discuss. Thanks!

Yeah let's close this since passwordless is being rolled out as we speak


Siemensenergy - The job locations is "Romania" instead of "Bucharest or/and Prahova, Brazi" ; 5 jobs out of the 181 are not located in Romania

ENVIRONMENT: production
URL: https://solr.peviitor.ro
Browser: Microsoft Edge
Device: Laptop
OS: Windows 10
STEPS TO REPRODUCE:

Open the URL in the browser
Execute Query for "Siemensenergy" Company
Check the job locations
Open https://jobs.siemens-energy.com
Check the job location

EXPECTED RESULTS:
The job location is "Bucharest or/and Prahova, Brazi" as on the company's website
Only 176 jobs are located in Romania
ACTUAL RESULTS:
The job locations is "Romania" instead of "Bucharest or/and Prahova, Brazi"
5 jobs out of the 181 are not located in Romania
On the scrapers.peviitor.ro the message "Romania is not a city in Romania" is displayed
The following jobs are not located in Romania:
Financial Head (f/m/d) of Overhead Line Inspection (SIEAERO)
[IT Assurance & Compliance Expert
(Ober) Monteur (w/m/d) im Außendienst
Product Design Engineer (f/m/d) for Turbomachines
Solution Architect (f/m/d) Manufacturing & Product Ops

After retesting, the job location is "Bucharest or/and Prahova, Brazi" as on the company's website
BUT
The number of jobs displayed on scrapers.peviitor.ro (175) is not the same as the number of jobs displayed on the company website (177)

Many of them are in another country and do not specify Romania only global


Add allreduce helper func for mxnet mpi handler

@yuanzhedong please close this MR and proceed with subclassing as we have discussed. Thank you.

closing, helper function added to the model code


One Automated Test in C for integration tests for beginning

I don't see a problem there. I don't expect (problematic) merge conflicts in this case.


character error

https://github.com/base-org/node/blob/v0.3.2/docker-compose.yml#L5
found in the docker-compose file
In line 5 and line 19, the ( . ) sign after the build : tag breaks the configuration.

the . means to build the local Dockerfile. Do you have the full repo checked out, and the latest docker / docker-compose installed? what error are you seeing?

Dockerfile yeah sory.
https://github.com/base-org/node/blob/v0.3.2/op-node-entrypoint#L5
node-node-1  | ./op-node-entrypoint: 5: [: Illegal number:

Oh thank you for the report, this is a duplicate of #122, which was fixed in #123 and released in v0.3.3.


Update the Layout Patterns/Overview Page content

@jacobottesen-dgc As discussed with Lara, we are ready to update the Layout Patterns/Overview Page with the content she has. Please start to migrate the content to the live website with the markdowns.

FYI - @larahanlon2 This issue is for the content update on the website.

Continuing to make updates. All content and images added. I still need to clean up the formatting of content. Lara will be reviewing it by EOD 02/05.
Live link here:
https://ibmdotcom-library.s3.us-south.cloud-object-storage.appdomain.cloud/deploy-previews/314/index.html
cc. @JennySanchez

@jacobottesen-dgc hey, I just updated the description of this story and moved it to done. Let me know if you need to add anything else before end of sprint but any feedback we receive from this iteration we will add to the backlog for future updated.


inspector: Add a search box and select up and down

Please let me know if it doesn't fit to merge
The effect is as follows:
https://github.com/user-attachments/assets/40ca4c22-b468-49f5-989b-156e5a99edd2

This looks very useful. Can you please explain how the search works?

Just go through all the views, match the names, then focus


Make .parent a read-only property

At the moment this is a read/write attribute on the class set from the outside. It is only ever set by its parent, so could be passed in the creation of children like in ophyd, but don't want to make the epics_signal_rw case messier:
self.x = epics_signal_rw(int, prefix+"x", parent=self)

There's not a nice way round setting the parent apart from doing child._parent = self  # noqa: SLF001 in the __setattr__ method.
We should discuss
Acceptance Criteria

.parent is a read-only public property with a suitable mechanism for setting

We should also use name mangling so parent isn't overwritten by subclasses
https://github.com/bluesky/ophyd-async/pull/594#discussion_r1804242123


Start showing multiple columns at 3 columns, instead of 2

With apologies to information-density geeks, the page just looks
better with a single column.
The multi-column display can still useful for a big, static (not
scrollable) screen, for example at a conference, but then there
should be 3 or 4 columns. If there's space only for two,
let's not overload the reader, and show the points one by one.

I personally liek the two columns but I guess I was outvoted when we talked about it.

This still gives me 2 columns when I run fullscreen on Full HD. Was that intentional?

Ah, right. Damn last-minute changes.
Should be fixed now.


How to add own file extensions to the cobol sourceview?

In 1b360e9cd7fcb27c0200111678061aa1f9e9e84f#diff-756270bd9aa2a25997101e0a66fbb0a4L93 I see that the list is hard-wired - would it be possible to move this list completely to the extension settings, or at least be able to add file extensions there? [BTW:: at least in this commit "cobol" is included twice in that switch]
Maybe it is possible and more useful to do this per file type (which can be setup in the user/workspace settings) instead of per file extension? But then we'd have to setup a file type for COBOL copybooks, so I'm not sure about that.
But given copybooks - we do have a list of those in the settings already (seeing the copybooks [which are already setup in this extension's settings and in the task for the compiler] was the actual reason for this issue...)
Side note: We neither have "Jcl" nor "Hlasm" nor "Pli" - please use "COBOL" instead of "Cobol", too.
Being able to adjust the list of "source view types" may be nice, too (most PC based COBOL neither have HLASM nor PL/I and often no JCL either).
BTW: How are the entries in the source view sorted?

The sourceview is still experimental and requires more work on it,  including the configuration side.
I created it to mimic the flat source view often seen in mainframe editor but I am unsure if I will be ever able to achieve it.
It is still lacking in core functionality, so for the moment configuration enhancements will hinder it's development.

Thank you for the explanation I suggest to leave this issue open as a reminder about possible configuration and how this may(not) be achieved and only "fix" the COBOL spelling whenever you do the next work in that area for now.


What is the function of this code?

guard currentInterfaceActions.options.isEmpty else {
            print("A:\(Date())")
            let reaction = SetActor<Set<InterfaceActions>, ReactionTypes>.Reaction(type: .delayedUpdate,
                                                                                action: .onEmpty,
                                                                                executionType: .once,
                                                                                actionBlock: { [weak self] in
                guard let self else {
                    return
                }
                print("B:\(Date())")
                processUpdates(with: sections, animated: animated, requiresIsolatedProcess: requiresIsolatedProcess, completion: completion)
                print("C:\(Date())")
            })
            currentInterfaceActions.add(reaction: reaction)
            return
        }

Hi @std-s If there is some interface action happens when you can not update the collection view (for example you are updating the content offset animatingly and the state of collection view is undefined in that moment) if at this very moment an update comes, it stores it, and the reaction will be called when the currentInterfaceActions are empty.

guard currentInterfaceActions.options.isEmpty else {
            print("A:\(Date())")
            let reaction = SetActor<Set<InterfaceActions>, ReactionTypes>.Reaction(type: .delayedUpdate,
                                                                                action: .onEmpty,
                                                                                executionType: .once,
                                                                                actionBlock: { [weak self] in
                guard let self else {
                    return
                }
                print("B:\(Date())")
                processUpdates(with: sections, animated: animated, requiresIsolatedProcess: requiresIsolatedProcess, completion: completion)
                print("C:\(Date())")
            })
            currentInterfaceActions.add(reaction: reaction)
            return
        }

hi, @ekazaev
I printed the current time of three locations A, B, C; found that A and B took a lot of time before, why is that?

@std-s  Detailed answer you can probably find here. https://github.com/ekazaev/ChatLayout/issues/51 It s a bit vagua as at the begining I couldnt understadn the question. But the problem is that you need to populate cells syncroniously before the push animation starts. That is the issue there.

@std-s Anything else I can help you with or it is safe to close the issue?

@std-s Detailed answer you can probably find here. #51 It s a bit vague as at the begining I couldnt understadn the question. But the problem is that you need to populate cells syncroniously before the push animation starts. That is the issue there. And the function you are referencing to is asynchorios.
The difference in time there is because B will be called only when the currentInterfaceActions are empty again and after the previous animating insertion is completed. It is not the issue there.

hi, the relevant method here is not applicable. The effect is still as shown in the video above.

How to reduce the time spent from A to B is what I want.

@std-s You need to add a flag there and avoid async processing on appearance. Keep in mind it will require change in the Chat Controller as well. You want to get messages and update the collection view before the pushing animation starts.

@std-s You need to add a flag there and avoid async processing on appearance. Keep in mind it will require change in the Chat Controller as well. You want to get messages and update the collection view before the pushing animation starts.
This is what you want to get gif

So chatController.loadInitialMessages { - is asynchronious function. You need a synchronous for the initial appearance. Synchronous means let sections = chatController.getCachedMessages()
then add a flag to processUpdates that on initial appearance it would ignore the currentInterfaceActions.options count like guard ignoreInterfaceActions || currentInterfaceActions.options.isEmpty else { and process those changes anyway. Keep this flag off for all the other times.
Keep in mind that you must precess those sections synchronously from the first call of viewDidLayoutSubviews. It is the first time when your UINavigationController sets the correct size of the ChatViewController inside of it. Otherwise the view size is not correct.

👌，Ok, I'll try these methods.

For now, that's the only way to deal with it.

@std-s  My pleasure. good luck


[WIP] Extendability

Earlier this year I wanted to benchmark my internal Router implementation with your benchmarking suite. I looked for a way to disable other Routers, so I don't have to go get the packages. But as everything was basicly implemented in one big file, there was no way to avoid these dependencies. So I split everything into seperate files with build tags. During this step I discovered that not all implementations work correctly (you fixed most of them as you included a simple test case), which led me to implement a new benchmark runner.
The new benchmark and test drivers allow for better extendability. Benchmarks are split into different types of benchmarks, e.g. ParameterReadWrite which benchmarks the reading and writing of a named path segment. These types are the only shared information between benchmarks and Router implementations. A Router implementor specifies the types of benchmarks a Router can run as well as other metadata, such as Router name and homepage URL, during registration. Further allows the new driver implementation to run tests for each benchmark, which uncovered more errors than the current test implementation.
Errors found by the new test driver:

Possum. router.Simple is not sufficient for dynamic path segment routing. Further makes Possum’s current implementation of router.RegEx it impossible to benchmark ParameterReadWrite.

Also, I removed the RegEx call inside Beego's constructor - it does not interfere with the benchmarks but is still unnecessary.
Todo:

[ ] Add CLI usage info
[ ] Fix highlighting algorithm
[ ] Refactor runner.go as it is quit messy
[ ] Add RegEx based white- or blacklisting (prefix with ! to invert) for Router
[ ] Move the driver inside the new internal package (Go 1.5)

Here is a preview of the generated markdown and CLI output. Note that the highlighting algorithm is broken.

Awesome! I haven't looked over all your changes yet, bet the idea is great.
You can already run certain benchmarks only with e.g. go test -bench="HttpRouter|Gin", but yes, you still need all the dependencies (just go get -u github.com/julienschmidt/go-http-routing-benchmark really)

You can already run certain benchmarks only with e.g. go test -bench="HttpRouter|Gin"

Yes, I know. I switched PCs quite a bit at that time and I tried to avoid downloading all dependencies on every machine.
While I ran the benchmarks I noticed that most of the execution time (~61%) seems to come from invoking the GC to calculate the memory consumption of a Router object. Changing Fixtures to not contain a pointer may reduce the GC time significantly because the collector will not scan slices, channels, and as of 1.5 (CL 3288), maps if they don´t contain any pointers.
Note that even with the new concurrent GC in 1.5, invoking runtime.GC() still causes a STW collection.

?

Whoops, delete the wrong branch and thanks to wrong aliasing on the current machine I pushed it upstream.


Cann't install app

Cann't install 1.2.116 aarch64 version on F4-210 because it stuck on 50%

Unfortunately, I don't have the opportunity to do further development now. I don't have that Nas ....


with-apollo: Don't store Redux store and Apollo client in global namespace

As suggested in https://github.com/zeit/next.js/pull/908
cc @ads1018

lgtm 👍


👌 IMPROVE: Properly remove the border on dropdown card body

Earlier, the card body would jitter by one pixel, due to the transparent
border.
Before:
https://user-images.githubusercontent.com/3275593/129476333-b86e4bf6-08b4-4188-a113-133a049f3881.mov
After:
https://user-images.githubusercontent.com/3275593/129476331-a1fcb303-089c-4efe-8dcf-3b3f4ed496a2.mov

Codecov Report

Merging #23 (ffea4d3) into main (6930a00) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #23   +/-   ##
=======================================
  Coverage   88.82%   88.82%
=======================================
  Files          10       10
  Lines         859      859
=======================================
  Hits          763      763
  Misses         96       96

Flag
Coverage Δ

pytests
88.82% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out 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 6930a00...ffea4d3. Read the comment docs.

cheers!
p.s. the readthedocs are actually built for each PR, but there is something annoying going on with permissions to push this back here: https://readthedocs.org/projects/sphinx-design/builds/14477642/


Fixes error instantiating log if user does not exist

As logs (and dataimports) are kept without data consistency because
they're are used just for logging, user_id might contain a id of a user
that doesn't exist.

CR & Acceptance went OK, moving to Deploy.


Corrections

#9 Corrected the code according to the convension.
Majority of the ruby code was written on the email.rb instead of attention.rb.

Made a New PR

Made a New PR


Support for Python 3.8?

I would love to test your library but I'm running Python 3.8.
Is it possible to use it?
I can't install it with Poetry.
auto-editor requires Python >=3.9
Thanks

Python 3.8 was dropped intentionally because some features I wanted to use weren't available in that version.
22.39.1 is the last version to support 3.9


Amazon Music is not supported on this Device (Mac)

IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.
Briefly summarize your issue:
The build is fine. Though Gtest fails with this error. I am able to run the app and commands work fine. Except, Alexa is not able to play songs. However, if I ask Alexa to sing a song, Alexa sings pre-recorded songs I guess. Is this something I have to enable as prime music?
What is the expected behavior?
Play songs
Tell us about your environment:
Cloned from source on a MacBook Pro. All dependencies met and installed with home-brew as per wiki.
MacBook Pro Mid 2012 - 13'
High Sierra 10.13.5

Are you making a commercial device ?
From the few I have read

Amazon Music is currently limited to Alexa-enabled devices that are approved for commercial distribution and use

And you need premium for deezer or spotify.

@Smanar - Nope but that doesn't make sense. Because for testing purposes, one would need to validate and check if Amazon Music was working. Where did you come across this snippet? Isn't the sample app supposed to?
Also, how do you run Amazon Music specific unit tests?

Hi @coderxx,
A few questions:

Do you have some variant of Amazon Music enabled for your account? For example, as a trial, through Prime, or with Amazon Music Unlimited.
Do other Music Service Providers work? ie iHeartRadio, TuneIn, etc
Can you post full DEBUG9 logs of Amazon Music failing?

@kjkh -
1 - I just have Amazon Prime subscription for my account which is used to authorise.
2 - I haven't tried others. I am new to this and learning. How does one trigger those other Music players.
3 - Will post tomorrow.

Hi @coderxx,

& 2.
You can try other Music Service Providers with commands such as "Play  on iHeartRadio" or "Play  on TuneIn".  For a list of available Music Service Providers, you can go to the Alexa companion app (alexa.amazon.com for the web version), click Music, Videos & Books on the left hand side. Then you can click a provider, and find a station/podcast/media that you wish to play.

Can you also check if Amazon Music is available? You should be able to click into the Amazon Music provider and select either a playlist or song. This will then play on your device. If this doesn't work or there is no option to, then it is a sign that Amazon Music is not supported on the device, and is not an issue related to the SDK.
Thanks for also posting the logs. It looks like you need to build the SDK in DEBUG mode in order to allow for DEBUG logs. This can be done by specifying -DCMAKE_BUILD_TYPE=DEBUG.
The logs you sent indicate missing values in the JSON config file, but the description of your ticket mentions you were able to get Alexa to sing a song. Perhaps the wrong config file was supplied?

@kjkh - Thanks. Actually I messed up something with the build and hence the errors. I went back and redid the whole process from the sample build to debug. The app works fine now.
However, Amazon Music is still spotty. If I give the command "Play me a song", Alexa asks me for a song and I can choose an artist name or genre.
However, if I say play me some songs by Bruno Mars or the like, I get a message saying "Amazing Music is not supported on this device".
I've attached the logs below.
Note: Some stations like TuneInRadio randomly work. Below is an example.
I am able to click in on the web browser and see stuff on Amazon Prime. However, I can't trigger a song on the web browser for Amazon Prime. I am able to trigger stuff for TuneIn. There are times when its said Amazon Prime is not available and then  gone ahead to play a different song. Don't know if that was from TuneIn.
The behaviour is different each run and I'm unable to pinpoint what the issue is. Refer to images that history shows that Amazon Music was played.

##############################################################################
#     RenderPlayerInfoCard
#-----------------------------------------------------------------------------
# Focus State         : FOREGROUND
# AudioItemId         : amzn1.as-ct.v1.Dee-Domain-Music#ACRI#url#ACRI#d45df52c-a2b3-4596-8da6-97cfa5adac7c:1
# Audio state         : STOPPED
# Offset milliseconds : 9670
##############################################################################
{"content":{"provider":{"name":"TuneIn Live Radio","logo":{"sources":[{"url":"https://s3.amazonaws.com/music-provider-logos/TuneIn.svg"}]}},"art":{"sources":[{"size":"x-large","url":"https://cdn-profiles.tunein.com/s288395/images/logoq.png?t=636247"}]},"titleSubtext2":"UK","mediaLengthInMilliseconds":0,"titleSubtext1":"Heart 80s"},"audioItemId":"amzn1.as-ct.v1.Dee-Domain-Music#ACRI#url#ACRI#d45df52c-a2b3-4596-8da6-97cfa5adac7c:1","controls":[{"selected":false,"name":"PLAY_PAUSE","enabled":true,"type":"BUTTON"}]}
##############################################################################

Hi @coderxx, please note that Amazon Music is available only to whitelisted partners for commercial devices. If you are working on a commercial device, and need whitelisting please reach out to your Business Development POC. If you still face problems, please raise an issue.


Live Preview

Is there any way how to run "Live Preview" similar to Brackets feature? I mean not just display HTML page, but visual selection of css styles, elements etc.

duplicate of #12080


[BUG]: drizzle-orm no types with Fastify + Turborepo

What version of drizzle-orm are you using?
0.28.3
What version of drizzle-kit are you using?
0.19.13
Describe the Bug
I have a Fastify monorepo using turborepo with PNPM and i've lost typings
I'm getting these errors

I had previously single repo express and next.js apps no issues.
Is there some issues with Monorepo apps + PNPM?
Expected behavior
No response
Environment & setup
No response

Try to change typescript compilation settings

Downgraded version solved

Will close this issue to have only 1 tracking issue for it: https://github.com/drizzle-team/drizzle-orm/issues/1090
We are fixing it now, sorry for that. Currently please use 0.28.2


include kotlinx imports in ImportOrdering IDEA list

IDEA applies special ordering rule (end of import block) for java, javax, kotlin, and kotlinx imports. Currently, the ImportOrdering rule is missing kotlinx from it's IDEA list, so this PR adds it.

Opened a ktlint PR: https://github.com/pinterest/ktlint/pull/1474

How do we proceed with this PR? @BraisGabin @cortinico
As seen in the linked issue in the ktlint repo, merging this change would diverge from the official Kotlin conventions for this rule.

I never saw my kotlinx imports with a special treatment. I would vote to close this until ktlint decides. We just wrap them so we should just align with their defaults.

How do we proceed with this PR? @BraisGabin @cortinico

As the KtLint PR hasn't been accepted, I'm leaning towards closing this one.
The configuration is still configurable on user ends so you should be unblocked here.

Makes complete sense, thanks for the insight on this!


If user permission change, have token expire?

Don't add to refractor
Had this idea a while ago while building stuff in the backend. If the user's permissions are altered, their token should revoke their admin access

This is in user's page

Actually, perhaps create a page explaining how to fix this issue locally.
If user sees that state: your permissions have changed or... or maybe way to do this locally, I will do more research into this but it may be a frontend issue

frist attempt at such a page at access_token_handler

When you over engineer the issue.
If we are able to decent when we can display the access token issue page, then we can fix the issue ourself
Second pass at this branch instead

Might be worth thinking about if we want tokens to expire when permissions change, but that is basically what is happening now. I'm thinking to add more checks so if the user basically does anything on the admin portal and they do not have a vaild token, we log them out

That way they can't do anything


Documentation for how to write a driver

We need a section of the README we can point people to. Many things are documented inline, but a starting point would be nice, e.g. cover:

Threading
How to support types (rounding)
Writing tests (important)

As discussed with @erezsh, we'll work on this once some more refactoring has been done.

Done - https://data-diff.readthedocs.io/en/latest/new-database-driver-guide.html


Add meta total count property to backlog link under space api

[test]

I am getting weird errors:
--- FAIL: TestConcurrentMigrations (0.00s)
	assertions.go:241:

	Error Trace:	migration_test.go:36

			asm_amd64.s:2086

	Error:		Expected nil, but got: Failed to start transaction: dial tcp <IP_ADDRESS>:5432: getsockopt: connection refused

that locally work for me :/

[test]

ping @aslakknutsen


Add support for context in SignatureHelpRequest

Part of the upcoming 3.15 release
https://microsoft.github.io/language-server-protocol/specifications/specification-3-15/#textDocument_signatureHelp

I've added it in #134, @bubba, is it enough to close this one?


Batch-resolves channel page query

Issue
Closes #5597 batch resolves on channel search page
Changes
Do a batch-resolve immediate after getting the results and before setting the result variable, as the latter would result in the Claim* components resolving individually.
Notes
I enabled returnCachedClaims -- I assumed that's a reasonable thing to do. I don't see other places use it, though, so highlighting it here.

Update

Rebased/resolved conflict with master.


Method not found while Scaffolding in a brand new project

I created a brand new project ASP Net Core project with auth and added two model classes, StudentGroup and Student, which can be found in the repro project. The StudentGroup contains a name and a List of Students, which should work (One to Many).
I ran a scaffold to generate the controller and views, and it failed with the following error message:
There was an error running the selected code generator: 'Method not found: 'Boolean Microsoft.EntityFrameworkCore.Metadata.IProperty.getIsShadowProperty()'.'
Further technical details
EF Core version: 3.0.0-preview4.19216.3
Database Provider: Microsoft.EntityFrameworkCore.SqlServer (the default one)
Operating system: Windows 7 x86
IDE: Visual Studio 2019. 16.0.3

This is an issue with ASP.NET scaffolding. It is tracked here: https://github.com/aspnet/Scaffolding/issues/984


[BUG] Opensearch benchmark doesn't find arm64 binary to download

Describe the bug
Running the following on an arm (Graviton) system fails to find version of elastic search because Opensearch uses arm64 and the script runs sysstats.cpu_arch() which returns aarch64
To Reproduce
opensearch-benchmark execute_test --distribution-version=1.2.4 --workload=geonames

Expected behavior
The benchmark runs
Logs
[ERROR] Cannot execute_test. Cannot download OpenSearch distribution from [https://artifacts.opensearch.org/releases/bundle/opensearch/1.0.0/opensearch-1.0.0-linux-aarch64.tar.gz]. Please check that the specified version [1.0.0] is correct.
	Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.8/site-packages/osbenchmark/builder/supplier.py", line 536, in fetch
    net.download(download_url, distribution_path, progress_indicator=progress)
  File "/home/ubuntu/.local/lib/python3.8/site-packages/osbenchmark/utils/net.py", line 229, in download
    expected_size_in_bytes = download_http(url, tmp_data_set_path, expected_size_in_bytes, progress_indicator)
  File "/home/ubuntu/.local/lib/python3.8/site-packages/osbenchmark/utils/net.py", line 184, in download_http
    raise urllib.error.HTTPError(url, r.status, "", None, None)
urllib.error.HTTPError: HTTP Error 403:

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.8/site-packages/osbenchmark/builder/builder.py", line 563, in receiveMsg_StartNodes
    self.builder.start_engine()
  File "/home/ubuntu/.local/lib/python3.8/site-packages/osbenchmark/builder/builder.py", line 678, in start_engine
    binaries = self.supply()
  File "/home/ubuntu/.local/lib/python3.8/site-packages/osbenchmark/builder/supplier.py", line 288, in __call__
    supplier.fetch()
  File "/home/ubuntu/.local/lib/python3.8/site-packages/osbenchmark/builder/supplier.py", line 541, in fetch
    raise exceptions.SystemSetupError("Cannot download OpenSearch distribution from [%s]. Please check that the specified "
osbenchmark.exceptions.SystemSetupError: Cannot download OpenSearch distribution from [https://artifacts.opensearch.org/releases/bundle/opensearch/1.0.0/opensearch-1.0.0-linux-aarch64.tar.gz]. Please check that the specified version [1.0.0] is correct.

More Context (please complete the following information):

Workload(Share link for custom workloads): Opensearch-benchmark
Service(E.g OpenSearch)
Version (E.g. 1.0)

Additional context
The problem happens here.
A fix would be to add the following:
self.arch = sysstats.cpu_arch().lower()
if self.arch == "aarch64":
   self.arch = "arm64"

or to offer downloads for open search under both the arm64 and aarch64 names.

The changed corresponding to this issue have been merged. If you're still facing the issue, feel free to reopen this issue.


add types to process env

What does this PR do and why?
this one was a little off the path, but I got bit by not having goerli in quotes, which made my dev env break and it took me a good 20 minutes to figure out what was going on.
Hopefully type safety in our dot env files both new and old contributors will be able to spot errors a bit more quickly
Screenshots or screen recordings
If applicable, provide screenshots or screen recordings to demonstrate the changes.
Acceptance checklist

[ ] I have evaluated the Approval Guidelines for this PR.
[ ] I have tested this PR in all supported browsers.
[ ] I have tested this PR in dark mode and light mode (if applicable).

Current dependencies on/for this PR:

main

PR #2365

PR #2403

PR #2404

PR #2405   👈

This comment was auto-generated by Graphite.


Bump version to 2017.1

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Complex equivalence needs fixing (P-bodies present in decreased numbers)

Currently http://purl.obolibrary.org/obo/FYPO_0001897 and http://purl.obolibrary.org/obo/FYPO_0001898 are equivalent with each other. The reason for this is as follows:
FYPO_0001897 has the same EQ as FYPO_0001898, only that it exists_during some SCO vegetative growth phase. Now the problem is that both are infererred to be children of altered level of macromolecular complex, which in turn is a child of abnormal sub-cellular component during vegetative growth - which makes all of the classes mentioned here inheri the exists_during some SCO vegetative growth phase restriction. Including FYPO_0001898. This makes FYPO_0001897 and FYPO_0001898 equivalent. I think this is the last problem we have! Let me know when you found a solution.
:)

Conceptually easy - I'll add a new altered level of macromolecular complex term that isn't restricted to vegetative growth (and edit the name of FYPO:0003684).

Thats great! :) Thanks.

This is now done in fypo_edit.obo - the new term is
altered level of macromolecular complex FYPO:0007316
and FYPO:0003684 has been renamed.
(in release c3bdd006d9fd63f160e0f3c85bb7dce32f9bbb4e)


.Net 6 tutorials shows .Net 5 tutorials.

The Documentation seems to be for .Net 5 and not .Net 6. There are some differences to the structure  of
the scafolded project (E.g. Startup class i no longer used).

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

ID: 3ad06677-5842-c1aa-153f-7993a9660dfa
Version Independent ID: 8daf79df-eac4-358b-e6f0-6def45bd54da
Content: Tutorial: Get started with EF Core in an ASP.NET MVC web app
Content Source: aspnetcore/data/ef-mvc/intro.md
Product: aspnet-core
Technology: aspnetcore-data
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Yes, dup of #13920

note to self, Add warning, link to RP version, etc.

Ah sorry, i missed issue 13920.

@mesn1985 That's OK. Can you follow https://docs.microsoft.com/en-us/aspnet/core/data/ef-rp/intro


Repo sync for protected CLA branch

The pull request is created from syncing_branch637925262439476906 to syncing_branch to fix git push error for protected CLA branch

Docs Build status updates of commit 38b2005:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: RepositoryInformationNotFound] Cannot find repository information for cc138ca6-c85b-c4ab-ff05-2a46f0ea898a. Please make sure the repository is correctly provisioned. If it is not this case, please open a ticket on https://aka.ms/SiteHelp.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Update Catch to 2.13.9

Coverage remained the same at 59.403% when pulling 12da6d4c9122219dab2166bc903a3f6d591dc405 on feature/bump-catch2 into 6c2a235fc2a1ef4326e556418e7ac9dd8691aefe on master.


Display Light Toggle not working

Hello,
First thank you for all the work on this integration amazing work, with the new display light function my aircons make a noise when the toggle is toggled but they do not turn the display light off or on.

Im have this problem too my model in HA RAC_056905_WW-RAC (AC)
LG
diagnostic data:
smartthinq_sensors-c57a8c55f0da6be77ce845adac50f79b-Кондиционер Зал-5876ecc9316ce783762b62cfdfdcb902.json.txt

Also having the same issue, but will have a look if I can solve it :)

Have the same issue, and same model as @oksibutch

I checked the API and I do not think that this action is supported ...

Yes it’s still not working


Rare crash when address book has corrupted / uncopyable image

I don't have steps to reproduce this bug, but sometimes ABPersonHasImageData returns true, but
ABPersonCopyImageData still returns nil. Seems like an iOS bug.
Here is only mention of this bug I've googled: https://issues.apache.org/jira/browse/CB-5698
(as a prove that it's not some error in my configuration/setup)

I have this crash a lot. Can somebody approve this Pull Request please? We need this fixed :)

I am a little confused about the solution, because also this version did not work when we had it like this. ABPersonHasImageData should still be checked!

I have integrated your change in a slightly different way in version 0.6.2, so that ABPersonHasImageData is still checked. Thank you for the contribution!


Refactor Genesys source, tasks, and flow

[ ] move all the logic into the source (if the logic is still there after refactoring)
[ ] the source should follow the standard API and ways of doing things, so eg. this would be the new way of using it:

g = Genesys(query_params={"name": "my_report", ...})
df = g.to_df()

instead of current custom logic that's not documented and not clear from the source code:
genesys.genesys_generate_exports(post_data_list=post_data, end_point=end_point)  # what exactly is post_data?
genesys.get_reporting_exports_data()
genesys.download_all_reporting_exports(path="/home/viadot/viadot/sources")
# ... somehow now convert this to a df and remove clutter files?

[ ] Add missing documentation for all custom logic (if it's still required after refactor) and any API-specific knowledge.
Link API docs if possible, if not, use the Python ways like docstrings, comments, typing (incl. pydantic models to define expected input/output if using undocumented complex data structures --eg. query_params can easily be a pydantic model which would make it easy to know what params are available -- of course, unless we can simply link relevant API docs).
[ ] Add a pydantic model and documentation for credentials as with other sources

To Do:

Add add_viadot_metadata_columns decorator to to_df function

@djagoda881 actually this one needs to already be there, before refactoring


Update AutoRest C# version

Update AutoRest C# version to 3.0.0-beta.20210604.4

This work is being handled in https://github.com/Azure/azure-sdk-for-net/pull/21778 for this specific bump.

The model properties issue has been resolved. Next bump of azure-sdk-for-net should apply normal.

Current bump is a version only bump, so safe to land to clean up this PR.


Finetuning on custom dataset

Hi,
I have a text-to-video retrieval dataset I wanted to fine-tune on. Can you suggest where to change the loader and use my dataset?
Thank you.

Hi @avinashsai, plz refer to dataloader_msvd_retrieval.py to organize your dataset.
The dataloader needs a list to find the path of the video (see dataloader_msvd_retrieval.py#L43 and dataloader_msvd_retrieval.py#L139), and a caption file (see dataloader_msvd_retrieval.py#L46)


fix PEP 518 configuration

Summary of changes
Add build-system.requires key to pyproject.toml:

this is necessary with pip 10.0.1, as otherwise the defaults will be to require both setuptools and wheel (and we only need the later)
a pyproject.toml with no build-system.requires key will be invalid and rejected by a future version of pip (see https://github.com/pypa/pip/issues/5416#issuecomment-399638608)

Pull Request Checklist

[x] News fragment added in changelog.d. See documentation for details

LGTM.


fix: cleanup old icons correctly.

This updates the correct field rather than assigning the new max icon ID
to a local variable. Previously, if you had set an icon with ten images
and then later set a new icon with only one image, nine old images would
linger in the executable. If you revised your icon over time and reduced
the number of images each time, old icons from multiple different passes
would linger in the executable.
This bug was introduced by af37f5f which landed after the fix to a
similar bug that was described in issue #27.

I tested this and keeps the old icon data, I'm updating a .NET exe with 10 icons and tried to add a new one with 4 icons in it and the file size increased of the new icon


Is there any issue about data types?

From @savaskoc on April 21, 2016 20:27
Hi,
I have following code.
When my code runs on aparapi, it generates wrong values as you can see its result :disappointed:
Result      Num         Expected
2026982348  406816880<PHONE_NUMBER>2
2026982516  406816881<PHONE_NUMBER>0
2026982594  406816882<PHONE_NUMBER>8
2026982662  406816883<PHONE_NUMBER>6
2026982830  406816884<PHONE_NUMBER>4
2026982898  406816885<PHONE_NUMBER>2
2026982966  406816886<PHONE_NUMBER>0
2026983044  406816887<PHONE_NUMBER>8
2026983212  406816888<PHONE_NUMBER>6
2026983280  406816889<PHONE_NUMBER>4
2026983338  406816890<PHONE_NUMBER>2
2026983506  406816891<PHONE_NUMBER>0
2026983584  406816892<PHONE_NUMBER>8
2026983652  406816893<PHONE_NUMBER>6
2026983820  406816894<PHONE_NUMBER>4
2026983888  406816895<PHONE_NUMBER>2
2026983956  406816896<PHONE_NUMBER>0
2026984134  406816897<PHONE_NUMBER>8
2026984202  406816898<PHONE_NUMBER>6
2026984270  406816899<PHONE_NUMBER>4

Copied from original issue: aparapi/aparapi#30

From @savaskoc on April 22, 2016 17:48
Iris 5100. I'm using macbook pro late 2013 on win10

From @savaskoc on April 22, 2016 10:31
@grfrost It produces true results when I set execution mode to JTP or CPU. I think a overflow happens in GPU mode. Maybe it uses 32bit long?

From @grfrost on April 22, 2016 16:39
I doubt it. What GPU card is this?
On Apr 22, 2016 03:31, "Savaş KOÇ"<EMAIL_ADDRESS>wrote:

@grfrost https://github.com/grfrost It produces true results when I set
execution mode to JTP or CPU. I think a overflow happens in GPU mode. Maybe
it uses 32bit long?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/aparapi/aparapi/issues/30#issuecomment-213371661

From @grfrost on April 21, 2016 22:25
Do you get this off you run in jtp ?
On Apr 21, 2016 1:27 PM, "Savaş KOÇ"<EMAIL_ADDRESS>wrote:

Hi,
I have following code
https://gist.github.com/anonymous/def807372fda240ca2664378cef25e02.
When my code runs on aparapi, it generates wrong values as you can see its
result [image: :disappointed:]
Result      Num         Expected2026982348  406816880<PHONE_NUMBER>22026982516  406816881<PHONE_NUMBER>02026982594  406816882<PHONE_NUMBER>82026982662  406816883<PHONE_NUMBER>6
2026982830  406816884<PHONE_NUMBER>4
2026982898  406816885<PHONE_NUMBER>2
2026982966  406816886<PHONE_NUMBER>0
2026983044  406816887<PHONE_NUMBER>8
2026983212  406816888<PHONE_NUMBER>6
2026983280  406816889<PHONE_NUMBER>4
2026983338  406816890<PHONE_NUMBER>2
2026983506  406816891<PHONE_NUMBER>0
2026983584  406816892<PHONE_NUMBER>8
2026983652  406816893<PHONE_NUMBER>6
2026983820  406816894<PHONE_NUMBER>4
2026983888  406816895<PHONE_NUMBER>2
2026983956  406816896<PHONE_NUMBER>0
2026984134  406816897<PHONE_NUMBER>8
2026984202  406816898<PHONE_NUMBER>6
2026984270  406816899<PHONE_NUMBER>4
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/aparapi/aparapi/issues/30

From @savaskoc on April 26, 2016 15:42
Is there any progress?

This is a duplicate of Issue #38 however the issue is described there in better detail.

Since this issue is a duplicate I'm going to close it here and leave the more detailed ticket open so as not to clutter the issue system.


License file: Mention 3rd-party dependencies

For clarification, I'd recommend adding the 3rd-party dependenices to License.txt. This would be quite useful when crediting dependencies in ones app. Then one could simply copy the contents of License.txt instead of adding the 3rd-party dependencies manually.
Example:
Copyright 2016 Heinrich Reimer

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

This project uses the following 3rd-party dependencies which are licensed under the Apache License as well:

- a
- b
- c

Long copy of the Apache License.

I won't modify the license in any terms as this may break it.
I'm not a lawyer but I don't think you have to add these third party licenses in your project as long as they're declared in this library (they are).
Apache has a very useful website that describes their license: http://www.apache.org/foundation/license-faq.html

It requires you to:

include a copy of the license in any redistribution you may make that includes Apache software;
provide clear attribution to The Apache Software Foundation for any distributions that include Apache software.

Mmh, what do you mean by 'broken'? Why does changing the license file break it?
Yeah, declaring the third party licenses in the readme might be enough when viewing the library on Github or downloading the source code of it. But, imo, If one deploys his app as a binary, the end user won't get any notice of the third party libraries used, if the developer (and a lot of them including me do) copies the content of License.txt to the apps about-screen assuming License.txt contains all license releated stuff.
For example https://github.com/JakeWharton/ViewPagerIndicator does the attribution simply by adding the names of the authors of the 3rd party stuff to the top the file.
The link you posted refers to the software projects of the Apache Foundation and not directly to the Apache License itself.

I've seen no open source library declaring third party libraries in their LICENSE.txt. It's totally fine for you to just not include them in your app all. The example you send me doesn't even have a license file :D

I didn't mean the license file but the provided License template which is the following (included in readme):
Copyright 2012 Jake Wharton
Copyright 2011 Patrik Åkerfeldt
Copyright 2011 Francisco Figueiredo Jr.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

But nevermind, If you won't change it, I'll simply have to include the dependency libraries manually instead of copying your license file:D

Well, you don't have to include them because I already handled the attribution in the readme file. It's perfectly fine for you to just include the attribution for this project unless you personally want to include the others for other reasons.


Use demo output for super simple loading indicator

Just a cursive text message, but since that gets replaced as soon as everything is ready, it works fine.
Fixes #43
Preview:

Updated with a subtle pulse animation on the loading indicator, to make it more obvious that something is happening in the background.


Delete nonprintable characters from aws-smithy-checksums test

Motivation and Context
The nonprintable characters in this source file make tools misidentify it as a binary file, rather than source code.
Description
Before:
$ file rust-runtime/aws-smithy-checksums/src/http.rs
rust-runtime/aws-smithy-checksums/src/http.rs: data

After:
$ file rust-runtime/aws-smithy-checksums/src/http.rs
rust-runtime/aws-smithy-checksums/src/http.rs: ASCII text

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Additionally, I recommend finding a way to re-review all previous changes to this file, as it's likely they went unreviewed in the first place.

https://github.com/smithy-lang/smithy-rs/pull/1561/files#diff-6982e78269354e1051152534be8202ee5b606d495c5d7555dff307962ec27dfa
https://github.com/smithy-lang/smithy-rs/pull/1938/files#diff-6982e78269354e1051152534be8202ee5b606d495c5d7555dff307962ec27dfa
https://github.com/smithy-lang/smithy-rs/pull/3059/files#diff-6982e78269354e1051152534be8202ee5b606d495c5d7555dff307962ec27dfa

# Auditing runtime crate version numbers...
2024-08-01T19:23:27.698077Z  INFO runtime_versioner::command::audit: 'aws-config' changed and was version bumped from 1.5.4 to 1.5.5
2024-08-01T19:23:27.730127Z  INFO runtime_versioner::command::audit: 'aws-smithy-cbor' is a new crate (or wasn't independently versioned before) and will publish at 0.60.7
2024-08-01T19:23:27.755161Z  INFO runtime_versioner::command::audit: 'aws-smithy-http-server' changed and was version bumped from 0.63.1 to 0.63.2
2024-08-01T19:23:27.769870Z  INFO runtime_versioner::command::audit: 'aws-smithy-protocol-test' changed and was version bumped from 0.60.8 to 0.62.0
aws-smithy-checksums changed since release-2024-07-16 and requires a version bump
Error: there are audit failures in the runtime crates

PR bot and canary cannot be invoked from a forked repository. Ask a maintainer to manually invoke them using your PR.
Error: Process completed with exit code 1.

PR bot and canary cannot be invoked from a forked repository. Ask a maintainer to manually invoke them using your PR.
Error: Process completed with exit code 1.

Currently running it here.
This step is always marked as failure in PRs created from forked repos (we don't have a good way to communicate that in GitHub jobs result icons), but it is not a required step for PRs to be merged.

Rebased to resolve conflict with https://github.com/smithy-lang/smithy-rs/pull/3781 in aws/rust-runtime/Cargo.lock.


Add mycelium changes

Updated in go client

https://github.com/threefoldtech/tfgrid-sdk-go/issues/677

i can confirm networks and deployments using mycelium work with v0.6.1.


Add keyboard shortcuts for different views #85

'View' menu item now includes sub-items and shortcuts for
'Table View' and 'Node View' (formerly named 'Conclusions View').

Signed-off-by: John M. Horan<EMAIL_ADDRESS>

LGTM! 👏


refactor: move headingMap and headingStyleMap

Closes #24

@jaccomeijer – Thanks for refactoring the headingMap. I merged your commits into the master branch. Have a nice day!


istioctl analyze inconsistency with validator

I have the following config file, which deploys fine however istioctl analyzer complains and gave out errors.  The config file has been working for me fine.
apiVersion: networking.istio.io/v1beta1
kind: Gateway
metadata:
  name: istiod2
  namespace: istio2
spec:
  selector:
    istio: ingressgateway
  servers:
    - port:
        number: 15012
        protocol: https
        name: https-istiod
      tls:
        mode: SIMPLE
        credentialName: x
      hosts:
      - "istiod2.x.us-east.containers.appdomain.cloud"
    - port:
        number: 15017
        protocol: https
        name: https-istiodwebhook
      tls:
        mode: SIMPLE
        credentialName: x
      hosts:
      - "istiod2.x.us-east.containers.appdomain.cloud"

---
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
    name: istiod2-vs
    namespace: istio2
spec:
    hosts:
    - istiod2.x.appdomain.cloud
    gateways:
    - istiod2
    http:
    - match:
      - port: 15012
      route:
      - destination:
          host: istiod.istio2.svc.cluster.local
          port:
            number: 15012
    - match:
      - port: 15017
      route:
      - destination:
          host: istiod.istio2.svc.cluster.local
          port:
            number: 443

---
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
  name: istiod2-dr
  namespace: istio2
spec:
  host: istiod.istio2.svc.cluster.local
  trafficPolicy:
    portLevelSettings:
    - port:
        number: 15012
      tls:
        mode: SIMPLE
      connectionPool:
        http:
          h2UpgradePolicy: UPGRADE
    - port:
        number: 443
      tls:
        mode: SIMPLE

When i run it with analyzer after deploying it, it gives me this error:
$ istioctl analyze -n istio2
Error [IST0129] (DestinationRule istiod2-dr.istio2) DestinationRule istio2/istiod2-dr in namespace istio2 has TLS mode set to SIMPLE but no caCertificates are set to validate server identity for host: istiod.istio2.svc.cluster.local at port number:15012
Error [IST0129] (DestinationRule istiod2-dr.istio2) DestinationRule istio2/istiod2-dr in namespace istio2 has TLS mode set to SIMPLE but no caCertificates are set to validate server identity for host: istiod.istio2.svc.cluster.local at port number:443
Warn [IST0102] (Namespace istio2) The namespace is not enabled for Istio injection. Run 'kubectl label namespace istio2 istio-injection=enabled' to enable it, or 'kubectl label namespace istio2 istio-injection=disabled' to explicitly mark it as not needing injection
Error: Analyzers found issues when analyzing namespace: istio2.
See https://istio.io/docs/reference/config/analysis for more information about causes and resolutions.
In my example, I'm configuring tls simple mode with the understanding that target server knows how to process it so I don't expect to specify caCertificates.  I think analyzer should be consistent with our validator that runs at deploy time.
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[x ] User Experience
[ ] Developer Infrastructure
Expected behavior
Steps to reproduce the bug
Version (include the output of istioctl version --remote and kubectl version --short and helm version if you used Helm)
How was Istio installed?
Environment where bug was observed (cloud vendor, OS, etc)

@esnible @therealmitchconnors @jasonwzm can you take a look?
cc @howardjohn

It should just be a warning, not an error.

@nschhina @JimmyCYJ currently the analyzer checks if CaCertificates is set only. Shouldn't this also check for credentialName now that we support SDS for DR?

Close this since this is changed to warning now, thanks @shamsher31 !


Bump pre-commit versions, run again on notebooks

Hey :wave:
couple of things:

there are new versions available for a couple of hooks, so I've bumped their version numbers
it looks like a couple of notebooks got left out from the previous round of formatting, so I've included them here

Also, there's a number of files which don't get changed when running pre-commit run --all-files, I think they're being missed by only checking pre-commit on changed files (just flagging this up in case you weren't aware, but if that's expected then sorry for the noise :smile: )

Yes, I should have just run pre-commit on all files when I implemented it instead of running it only on the changed files in each PR. But by now most files should have been through pre-commit I hope.


getting error "frozen importlib._bootstrap" when running in Anaconda Spyder

Hi,
I am getting error "frozen importlib._bootstrap>(219)_call_with_frames_removed()" after line 93.
93 line is class DataSets(object):
I am new in Deep Learning as well as in Tensorflow.
Please help to resolve this issue

Looks like your setup related issue. Please reopen if still not resolved. Also, please provide exact steps to replicate.


TypeError: 'NoneType' object is not subscriptable - Internal Server Error When Uploading An ASFF scan

Bug description
When I upload the asff file attached via rest API  api/v2/import-scan i get a 500 and in the logs i can see  the error TypeError: 'NoneType' object is not subscriptable however the findings get processed and uploaded to the dashboard without a notification
https://github.com/DefectDojo/django-DefectDojo/blob/master/dojo/models.py#L2650
Steps to reproduce the behavior:
The original request was done via rest upload , but to produce the same effect it can be done directly on an engagement

Navigate to an engagement to upload the attached json file
import file and select scan type as ASFF

Expected behavior
The scan  fails with the error NoneType' object is not subscriptable
Deployment method

[x] Docker

Environment information

Mac 2019
DefectDojo version v. 2.40.2 ( release mode )

Logs
 | Traceback (most recent call last):
django-defectdojo-uwsgi-1         |   File "/usr/local/lib/python3.11/site-packages/rest_framework/views.py", line 506, in dispatch
django-defectdojo-uwsgi-1         |     response = handler(request, *args, **kwargs)
django-defectdojo-uwsgi-1         |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
django-defectdojo-uwsgi-1         |   File "/usr/local/lib/python3.11/site-packages/rest_framework/mixins.py", line 19, in create
django-defectdojo-uwsgi-1         |     self.perform_create(serializer)
django-defectdojo-uwsgi-1         |   File "/app/dojo/api_v2/views.py", line 2428, in perform_create
django-defectdojo-uwsgi-1         |     serializer.save(push_to_jira=push_to_jira)
django-defectdojo-uwsgi-1         |   File "/app/dojo/api_v2/serializers.py", line 2326, in save
django-defectdojo-uwsgi-1         |     self.process_scan(data, context)
django-defectdojo-uwsgi-1         |   File "/app/dojo/api_v2/serializers.py", line 2153, in process_scan
django-defectdojo-uwsgi-1         |     context["test"], _, _, _, _, _, _ = importer.process_scan(
django-defectdojo-uwsgi-1         |                                         ^^^^^^^^^^^^^^^^^^^^^^
django-defectdojo-uwsgi-1         |   File "/app/dojo/importers/default_importer.py", line 109, in process_scan
django-defectdojo-uwsgi-1         |     new_findings = self.determine_process_method(self.parsed_findings, **kwargs)
django-defectdojo-uwsgi-1         |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
django-defectdojo-uwsgi-1         |   File "/app/dojo/importers/base_importer.py", line 258, in determine_process_method
django-defectdojo-uwsgi-1         |     return self.sync_process_findings(
django-defectdojo-uwsgi-1         |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
django-defectdojo-uwsgi-1         |   File "/app/dojo/importers/base_importer.py", line 230, in sync_process_findings
django-defectdojo-uwsgi-1         |     return self.process_findings(parsed_findings, sync=True, **kwargs)
django-defectdojo-uwsgi-1         |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
django-defectdojo-uwsgi-1         |   File "/app/dojo/importers/default_importer.py", line 188, in process_findings
django-defectdojo-uwsgi-1         |     unsaved_finding.save(dedupe_option=False)
django-defectdojo-uwsgi-1         |   File "/app/dojo/models.py", line 2650, in save
django-defectdojo-uwsgi-1         |     self.title = titlecase(self.title[:511])
django-defectdojo-uwsgi-1         |                            ~~~~~~~~~~^^^^^^
django-defectdojo-uwsgi-1         | TypeError: 'NoneType' object is not subscriptable

Sample scan files
b4018a68-99f1-469b-9732-051f19677e2d.json
Screenshots

Closing as producible with a simple null title

@johnsoneyo does this error still occur?


[Extensibility Enhancement] Add InitUsageFilter to OnOpenPage of all "Report Selection" pages

Dear ALAppExtensions team,
Through this issue we would like to request an extensibility enhancement for report selections. We would like the following change to be applied:
Currently, there are Report Selection pages, like "Report Selection - Sales" and "Report Selection - Reminder", which have a call to a InitUsageFilter procedure in the OnOpenPage trigger.
This allows one to have the page open with one of the usages already selected.
Could you please also add this procedure InitUsageFilter and call it in the OnOpenPage trigger in all Report Selection pages where it is currently not implemented?
This concerns the following pages:

Page "Report Selection - Bank Acc."
Page "Report Selection - Inventory"
Page "Report Selection - Prod. Order"
Page "Report Selection - Purchase"

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 43116.


Caption moving when scroll appears.

Just the one comment.

It will make the code longer if we make it into a var :D

HDD space is cheap, DRY code is more maintainable ;)


Chains configuration

We should consider making chains configurable so it can use a different set of criteria for making decisions based on some characteristics of the TaskRun.
A concrete example here is the Tekton CI set-up. We store everything right now in rekor, but we probably only care about release builds.

Cc @priyawadhwa

We could do it via annotations?
Create a new manual option for the chains config:
transparency.enabled: manual

and then only add things to the log if this annotation is on the TaskRun:
chains.tekton.dev/transparency: true

+1


Fix Reload loop on dev mode and support Nuxt 3.11.2 without --no-fork option

Fixes #74 and support Nuxt 3.11.2 without --no-fork option
Notes

From my testing what caused the strange loop on dev mode was this line nuxt.options.app.baseURL = './' // '/' in adaptElectronConfig function. Removing it fixes the loop issue without affecting the electron prod build.
Had to put up a 5-second delay on _listen inline function to prevent the intermittent 404 or 500 error on dev mode.

The delay seems to be "hackish" and better solution is welcome.
With or without this delay, even if the 404/500 error occurs on the initial page load, it will clear up after doing another page reload.

Hey @rvalledorjr , thank you for your PR support.
I was having trouble with this issue so I'm grateful. 🙏
Are there any additional steps to be taken for this PR? Or has it been completed as is?

Hi @shinGangan

Are there any additional steps to be taken for this PR?

None so far. It's complete as far as the strange loop issue is concerned. In a nutshell, the PR basically just apply this manual workaround https://github.com/caoxiemeihao/nuxt-electron/issues/74#issuecomment-2117567168

Hi @rvalledorjr , thank you for your comment and response 🙏
I look forward to this PR being merged soon.


Two issues with the example I found

First, this piece of code generates a 0 byte file, but does put it in the right place.
Your code:
static async Task SynthesizeAudioAsync()
{
var config = SpeechConfig.FromSubscription("", "<paste-your-speech-location/region-here>");
using var audioConfig = AudioConfig.FromWavFileOutput("path/to/write/file.wav");
using var synthesizer = new SpeechSynthesizer(config, audioConfig);
await synthesizer.SpeakTextAsync("A simple test to write to a file.");
}
My code:
static async Task SynthesizeAudioAsync()
{
var config = SpeechConfig.FromSubscription("xxxxxxxx-331f-429e-a1fa-xxxxxxxxxxxx, "eastus2");
using var audioConfig = AudioConfig.FromWavFileOutput("c://dev/file.wav");
using var synthesizer = new SpeechSynthesizer(config, audioConfig);
await synthesizer.SpeakTextAsync("A simple test to write to a file.");
}
Second, I had to find the regions on a separate page. This link is crucial and took me down a wrong path.  https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/regions
Visual Studio 2022 Preview 3.1 and Microsoft.CognitiveServices.Speech 1.18.0 were used.
[Enter feedback here]

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

ID: 064d7074-3ea4-21e4-60b4-b09976bbdf7e
Version Independent ID: 1fdefc18-e765-9fe8-0652-ca18122cb0fa
Content: Text-to-speech quickstart - Speech service - Azure Cognitive Services
Content Source: articles/cognitive-services/Speech-Service/get-started-text-to-speech.md
Service: cognitive-services
Sub-service: speech-service
GitHub Login: @laujan
Microsoft Alias: lajanuar

I did realize I made a mistake by using sub id instead of key (friendlier error message would be an improvement) but key did not work either.

It might be technical difficulties because "westus" with API key did work.
I still think an example with an obfuscated key  SpeechConfig.FromSubscription("xxxxxx6e63b14877ab7c754861xxxxxx", "westus");
would have made this quickstart MUCH quicker.   Thank you though for providing it... it's really cool so far.

@JNORMANAZ we'll review your feedback and get back to you shortly. Thanks.

@JNORMANAZ thanks for your feedback.
@laujan please consider adding above feedback to backlog for doc enhancement. Thanks.


Upgrade our issue templates to use GitHub issue forms ✍

Introduction
GitHub has recently rolled out a public beta for their issue forms feature. This would allow you to create interactive issue templates and validate them 🤯.
Appwrite currently uses the older issue template format. Your task is to create GitHub issue forms for this repository. Please use Appwrite's issue templates as a reference for this PR.
Tasks summary:

[ ] Fork & clone this repository
[ ] Prepare bug report issue form in .github/ISSUE_TEMPLATE/bug.yaml
[ ] Prepare documentation issue form in .github/ISSUE_TEMPLATE/documentation.yaml
[ ] Prepare feature request issue form in .github/ISSUE_TEMPLATE/feature.yaml
[ ] Push changes to master and test issue forms on your fork
[ ] Submit pull request

If you need any help, reach out to us on our Discord server.
Are you ready to work on this issue? 🤔 Let us know, and we will assign it to you 😊
Happy Appwriting!

@ayushjain27 Assigned it to you! All the best 🚀

Hey @Meldiron , Can I work on this issue under Hactoberfest'21.

@manisha-27  All the best :+1:

can i work on this issue? can you assign me?....Thank you

@Goheljay We would love you to check out some of our other open issues and join us on discord if you need help finding some
https://appwrite.io/discord


Incorrectly Recognises hasOwnProperty as a Body Parameter

Hello @davibaltar!
When I run swagger auto-gen to generate the JSON file, it creates POST and PUT body objects with hasOwnProperty as a parameter.

I believe this is because it parses the code and anything after req.body. is recognised as a parameter. In the API code, when I use req.body.hasOwnProperty("property_name"), it incorrectly reads hasOwnProperty as a body parameter. Can you please help me solve this issue?
Thanks in advance!

Hi @irzakamran99! Thank you for opening the issue.
I'll try to fix this in the next version.

Thanks a lot, Davi! Please take a look at this issue too.

The version 2.12.7 has fixed this. If the problem persists, let me know.


Issue with registration - "Unable to create account"

Hello! :)
I have some issue with User registration.
During creating new User from Postman i get "Unable to create account" response.

In my terminal (docker) I get following informations:

ERROR:  null value in column "country_id" violates not-null constraint
DETAIL:  Failing row contains (53, null, , t<EMAIL_ADDRESS>pbkdf2_sha256$180000$p2Q8c4Du3uLF$o56YHGCS0ZutasVhevPXl8rrMG/VYL..., , null, , , , 2020-03-10 10:06:48.053201+00, null, f).
STATEMENT:  INSERT INTO "accounts_user" ("last_login", "email", "is_superuser", "is_active", "password", "first_name", "last_name", "date_of_birth", "description", "address", "phone", "created_at", "country_id") VALUES (NULL<EMAIL_ADDRESS>false, true, 'pbkdf2_sha256$180000$p2Q8c4Du3uLF$o56YHGCS0ZutasVhevPXl8rrMG/VYLiyzTB6LrSY4ws=', '', '', NULL, '', '', '', '2020-03-10T10:06:48.053201+00:00'::timestamptz, NULL) RETURNING "accounts_user"."id"

It seems like Djoser don't see my request body, and it's trying to put empty or null values into database.
Till now, I tried following solution:
https://stackoverflow.com/questions/49095424/customize-the-djoser-create-user-endpoint
...but it didn't work.
Do You have any ideas how to resolve it? Maybe I forgot something? Thank You for help :)
Best regards,
Przemysław Baj

Resolved:
I needed to override User REQUIRED_FIELDS in model to make Djoser use it in serializer.
class User(AbstractUser):
    username_validator = None
    username = None
    ...

    USERNAME_FIELD = 'email'
    REQUIRED_FIELDS = ['first_name', 'last_name', 'date_of_birth', 'address', 'phone', 'country']

Hi @prem-baj, I have the same your error in this post https://github.com/sunscrapers/djoser/issues/677, thank so much for any advice for me !


[metadata] If a Device's Service is modified, only the new DS is notified

🐞 Bug Report
Affected Services

 The issue is located in: core-metadata
Is this a regression?

 No
Description and Minimal Reproduction
Use a PUT request to api/v1/device to change a device's associated device service. The device record is correctly modified and a callback is sent to the new device service, but no callback is sent to the old device service.
🌍  Your Environment
Deployment Environment: Services running native on ubuntu 20.04
EdgeX Version: edgex-go master
Anything else relevant?

@cloudxxx8 @iain-anderson Can this Issue be closed as the associated PR merged??

@cloudxxx8 @iain-anderson Can this Issue be closed as the associated PR merged??

Yes


increase remote write timeouts to 300s

Experimental image that uses longer timeouts.
CC: @douglascamata

@subbarao-meduri do we intend to merge this or rebase with upstream first for a more easily configurable timeout?

Closing this PR, as this was meant to be experimental, and never intended to be merged.


BUG: instability in optimize.milp when using big numbers?

Describe your issue.
The below code gives infeasibility, however one solution would be x1=0, x2=0.
Note that using h=10**11 or h=10**13 gives feasibility.
Reproducing Code Example
h = 10**12
A = np.array([
    [100.4534, h],
    [100.4534, -h]
    ])
b = np.array([h, 0])
constraints = LinearConstraint(A=A, ub=b)
bounds = Bounds([0,0],[1,1])
c = np.array([0, 0])

res = milp(c=c,
           constraints=constraints,
           bounds=bounds,
           integrality=1)

Optimization result
message: The problem is infeasible. (HiGHS Status 8: model_status is Infeasible; primal_status is At lower/fixed bound)
        success: False
         status: 2
            fun: None
              x: None
 mip_node_count: None
 mip_dual_bound: None
        mip_gap: None

SciPy/NumPy/Python version and system information
Python version 3.11.5
scipy==1.12.0
numpy==1.26.4

Could anyone have a look at this? Or was the issue badly described?

Really not an expert in the area but your constraint matrix is very poorly conditioned so wouldn't surprise me if that would the issue

We can look into reporting the problem to HiGHS, but as @j-bowhay said it looks like a scaling issue. If you post on Stack Overflow, I or someone else can suggest a workaround, probably a manual scaling procedure.

Not an expert in the area but your constraint matrix is very poorly conditioned so wouldn't surprise me if that was the issue

@j-bowhay the matrix is conditioned that way because it essentially replicates the behavior of indicator functions. Thus, I do expect to have a different result if one of the variable slightly changes (e.g. from x1=0 to x1=1).

@HaoZeke are you able to try this problem out with pure HiGHS code (no SciPy wrapper) and (assuming the problem persists) submit an upstream bug report?

I have tested the bug in HiGHS and it also reports infeasibilty. Using 10**11 or 10**13 reports feasibility.
Reproducing code
import highspy
import numpy as np

# Highs h
h = highspy.Highs()

inf = highspy.kHighsInf

h.addVar(0, 1)
h.addVar(0, 1)

h.changeColCost(0, 0)
h.changeColCost(1, 0)

num_nz = 2
index = np.array([0, 1])
value = np.array([100.4534, 10*12])
h.addRow(-inf, 10**12, num_nz, index, value)

value = np.array([100.4534, -10**12])
h.addRow(-inf, 0, num_nz, index, value)

h.changeColsIntegrality(2, np.array([0, 1]), np.array([highspy.HighsVarType.kInteger, highspy.HighsVarType.kInteger]))

h.run()

solution = h.getSolution()
basis = h.getBasis()
info = h.getInfo()
model_status = h.getModelStatus()
print('Model status = ', h.modelStatusToString(model_status))
print()
print('Optimal objective = ', info.objective_function_value)
print('Iteration count = ', info.simplex_iteration_count)

Result
Running HiGHS 1.5.3 [date: 2023-05-16, git hash: 594fa5a9d-dirty]
Copyright (c) 2023 HiGHS under MIT licence terms
Presolving model
Presolve: Infeasible

Solving report
  Status            Infeasible
  Primal bound      inf
  Dual bound        -inf
  Gap               inf
  Solution status   -
  Timing            0.00 (total)
                    0.00 (presolve)
                    0.00 (postsolve)
  Nodes             0
  LP iterations     0 (total)
                    0 (strong br.)
                    0 (separation)
                    0 (heuristics)
Model status =  Infeasible

Optimal objective =  inf
Iteration count =  0

@Matryoskas would you like to submit an upstream bug report and cross-reference this issue?

Yes, I can do that.

Thanks @Matryoskas! Can you also try gh-20336?

I'm not really an expert with HiGHS. I just applied the examples in their documentation to this problem.
The HiGHS documentation is a bit sparse so I'm not sure how one is supposed to calculate the residuals. I'll still give it a try though.

No problem. You don't have to even try to access HiGHS' calculation of the residual. Just manually calculating the residual to show that HiGHS is not respecting the constraint would be enough.