Hyperschema

Describe the functionality that isn't covered by this suite
Hyperschema should be implemented.

URI templates are required by this specification.  The previous .Net implementation is .Net Framework and hasn't been ported yet (not even into .Net 5).  I looked at just pulling the class into the library, but it appears that it's not just a simple copy/paste of the class definition.
I'll either need to wait for MS to port it, or see if I can find one.  I'm not sure I understand enough about the domain to implement it myself.

Looks like someone did the direct port!

From the spec, section 6.4.1 on template pointers

The value of the "templatePointers" link description property MUST be an object.  Each property value in the object MUST be a valid JSON Pointer [RFC6901], or a valid Relative JSON Pointer...

I can't evaluate relative pointers because of a limitation in the JSON element structure.  I won't be able to support evaluating schemas with these for now.

It sounds like this is more for code gen than validation, like generation of API clients.  Visual Studio can do this for an API that publishes a swagger file.  You point the tool at the API, and it generates all of the models and a client.
Is there any validation expected here?  Even the spec doesn't really talk about "an instance is valid against this keyword if x criteria are met."  I'm struggling to figure out what a validator would do with this.
I'm leaning on the Slack community to answer this.

Confirmed in the JSON Schema Slack that this isn't a validation vocabulary. It's for tooling support.
I'm not sure that's something I want to support. At least not right now. Closing this.


Feature/#62 improve plantuml graph

Coverage increased (+0.3%) to 86.269% when pulling b7d32b32ea9f1082dff5ce89566c0a4a659f369d on feature/#62-improve-plantuml-graph into 32fe9b691600e820dfe3c69081d3ffea92276b5c on master.


How to get the appname of apk？

How to get the appname of apk？

You can get the application name from Manifest.
package main

import (
	"github.com/shogo82148/androidbinary/apk"
)

func main() {
	pkg, _ := apk.OpenFile("your-android-app.apk")
	defer pkg.Close()

	name := pkg.Manifest().App.Name
}

thx

@huanghantao @shogo82148 looks like info.Manifest().App.Label.String() is correct one for now


fixed the issues that e2e test is not stable

Signed-off-by: myan<EMAIL_ADDRESS>E2E test is not stable sometimes. There are perhaps three reasons for the problem:

Deploy the resources on the API Server when it is not ready.
The CSR resource is accepted on the hub control plane but has not been created in the hub control plane.
Addon CRD is not created when deploying the resources of the addon. This error will not occur if the all-in-one pr is merged.

Ref: https://github.com/open-cluster-management-io/multicluster-controlplane/pull/19

/cc @ycyaoxdu

/assign @clyang82 @ycyaoxdu

/lgtm
/approve


[19.03] ham: init at (unstable-)2019-01-22

Motivation for this change
This recently got into master. I'm using it on a daily basis and hence would love to also have it in stable...
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

cc @worldofpeace

I put [19.03] in the pr title because it makes it easy to see what's a backport when you can't add the label.

I noted that for future cases, thanks. ;)  And: Wow, that was quick.

I noted that for future cases, thanks. ;) And: Wow, that was quick.

Thanks, this happens to be a good time for me :smile:

Thanks @herrwiese :sparkles:


Fix Incorrect loading custom repositories

The issue is the "dependency" variable is being overridden even when it's resolved to be a valid custom dependency.

Hey @alphamikle, Would you review this, please.


RCTHasFontHandlerSet(); This function definition is not a protoype

[x ] I have reviewed the documentation
[ x] I have searched existing issues
[x ] I am using the latest React Native version

https://github.com/wix/react-native-navigation/issues/3019
After updating to React Native v0.55.2 and above it has a build issue with React Native Navigation:
/MyApp/node_modules/react-native/React/Views/RCTFont.h:21:37: This function declaration is not a prototype
/MyApp/node_modules/react-native-navigation/lib/ios/RCTHelpers.m:4:9: In file included from /MyApp/node_modules/react-native-navigation/lib/ios/RCTHelpers.m:4:
There does not seem to be any way to fix in RNN, I believe the bug only shows up due to RNN using the RCTFont.h functions.
There is an easy fix: RCTHasFontHandlerSet(); -> RCTHasFontHandlerSet(void);
Environment

Environment:
OS: macOS High Sierra 10.13.3
Node: 9.5.0
Yarn: 1.3.2
npm: 5.7.1
Watchman: 4.9.0
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: 2.3 AI-162.4069837
Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: 0.55.3 => 0.55.3
Steps to Reproduce

Created a fresh react native 0.55.2 project and only install React Native Navigation. The error "This function declaration is not a prototype" message occurs.
Downgrading to React Native 0.54.4 builds fine.
Expected Behavior

Compile without error
Actual Behavior

Compiles with error

Hey,
It looks the commit didn't succeed, and this issue still persists on the 0.55.4.
We are still facing the same issue.

Confirming that this issue is still happening in 0.55.4 as well, please re-open!

Same for me

Same here.

the suggested fix "RCTHasFontHandlerSet(void);" doesn't work for me either. Where should I change it? I tried RCTFont.h without success

Same problem here using 0.55.4

It happened here too.
RCTHasFontHandlerSet(void) fixed.

Hello, your pull-request hasn't been merged, why are this issue and the PR closed?

@buzzb0x see https://github.com/facebook/react-native/pull/19089


Fix clangd when default_config not set

@runiq Can you test this?
From CI from your last PR:
Run :checkhealth for more info
26
Error detected while processing command line:
27
E5113: Error while calling lua chunk: vim/shared.lua:219: after the second argument: expected table, got nil
28
stack traceback:
29
	vim/shared.lua:219: in function 'tbl_deep_extend'
30
	...k/nvim-lspconfig/nvim-lspconfig/lua/lspconfig/clangd.lua:17: in main chunk
31
	[C]: in function 'require'
32
	scripts/docgen.lua:81: in function 'require_all_configs'
33
	scripts/docgen.lua:230: in main chunk
34
Error: Process completed with exit code 1.

Sorry, couldn't test any earlier, everything works fine with this PR!


Upgrade parachain for asynchronous backing compatibility

1.Fixup: Aura pallet "Slot must increase" Error on rococo
2.To enable async backing

Closed by PR#87


Typo in @scorer decorator

Just a small, minor details I've been stumbling over is the typo in a couple of examples on the website:
@scorer(metrics=[accuracy(), bootstrap_str()])  -> @scorer(metrics=[accuracy(), bootstrap_std()])
found it here for example: Scorers

Thanks for pointing this out (fixed and should be republished soon).
Apologise for the inconvenience and do let us know if you see others :-)

Resolved with https://github.com/UKGovernmentBEIS/inspect_ai/commit/140c3d63ad42125213bffaa799147135c81857f3


fix issues #50 #42 #21

@agent3bood tnx very much, code reviewing now!

@agent3bood thanks very much in helping me improv StepZilla. You cleaned up and simplified the getPrevNextBtnState func and it's much better and reliable. I'd appriciate it very much if you can help me maintain StepZilla, I'm surprised how popular it has become and find it hard to fix issues these days. If you've up for it, maybe you can help me follow up some of the new issues/questions raised?

@newbreedofgeek thanks for accepting the PR, This project helped me a lot in my project and I will love to do any help


Enable Antrea in GKE cluster for Ubuntu host

Antrea can be enabled as a CNI operating in noEncap mode
and enforcing Network Policies in GKE cluster.
This checkin enables the support. Also added details regarding
deploying and configuring antrea in GKE cluster

/test-all

/test-all

/skip-all

@antoninbas I think you will have to skip tests here, I noticed unless you are an author, we are not able to skip them. I did mention this to @lzhecheng offline as well. Looks like it is still not fixed?

/skip-all


OOM exception when selecting a 10m picture with image_picker 0.6.0 + 8

FATAL EXCEPTION: main
Process: com.example.im_flutter, PID: 25575
java.lang.OutOfMemoryError: Failed to allocate a 207667212 byte allocation with 4194128 free bytes and 120MB until OOM
at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
at android.graphics.BitmapFactory.nativeDecodeStream(Native Method)
at android.graphics.BitmapFactory.decodeStreamInternal(BitmapFactory.java:677)
at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:653)
at android.graphics.BitmapFactory.decodeFile(BitmapFactory.java:433)
at android.graphics.BitmapFactory.decodeFile(BitmapFactory.java:459)
at io.flutter.plugins.imagepicker.ImageResizer.resizedImage(ImageResizer.java:51)
at io.flutter.plugins.imagepicker.ImageResizer.resizeImageIfNeeded(ImageResizer.java:40)
at io.flutter.plugins.imagepicker.ImagePickerDelegate.handleImageResult(ImagePickerDelegate.java:530)
at io.flutter.plugins.imagepicker.ImagePickerDelegate.handleChooseImageResult(ImagePickerDelegate.java:463)
at io.flutter.plugins.imagepicker.ImagePickerDelegate.onActivityResult(ImagePickerDelegate.java:442)
at io.flutter.app.FlutterPluginRegistry.onActivityResult(FlutterPluginRegistry.java:204)
at io.flutter.app.FlutterActivityDelegate.onActivityResult(FlutterActivityDelegate.java:132)
at io.flutter.app.FlutterActivity.onActivityResult(FlutterActivity.java:142)
at android.app.Activity.dispatchActivityResult(Activity.java:6476)
at android.app.ActivityThread.deliverResults(ActivityThread.java:3975)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:4022)
at android.app.ActivityThread.access$1500(ActivityThread.java:195)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1582)
at android.os.Handler.dispatchMessage(Handler.java:111)
at android.os.Looper.loop(Looper.java:207)
at android.app.ActivityThread.main(ActivityThread.java:5856)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1026)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:887)

Hi @ZhouZhiMin1
can you please provide your flutter doctor -v?
Thank you

hi @iapicca
Thank you for your reply!
This is the case with shuttle doctor -v
C:\Users\Administrator>flutter doctor -v
[√] Flutter (Channel stable, v1.9.1+hotfix.4, on Microsoft Windows [Version 10.0.17763.737], locale zh-CN)
• Flutter version 1.9.1+hotfix.4 at G:\flutterSDK\flutter
• Framework revision cc949a8e8b (4 weeks ago), 2019-09-27 15:04:59 -0700
• Engine revision b863200c37
• Dart version 2.5.0
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at C:\Users\Administrator\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.2
• Java binary at: G:\android\Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
• All Android licenses accepted.
[√] Android Studio (version 3.5)
• Android Studio at G:\android\Studio
• Flutter plugin version 39.0.3
• Dart plugin version 191.8423
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
[√] Connected device (1 available)
• vivo Y67A • 99RSR8EASOVSLFDA • android-arm64 • Android 6.0 (API 23)
• No issues found!
C:\Users\Administrator>

Hello again @ZhouZhiMin1
I apologize for not noticing before; your error states
java.lang.OutOfMemoryError: Failed to allocate a 207667212 byte allocation with 4194128 free bytes and 120MB until OOM
So the issue it appears to be the attempt of allocating a file much larger than
10mb and of your free space.
Please consider try again verifying in advance the file size and the available space.
Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it

@iapicca
Thank you for your reply!
Execute
File image = await ImagePicker.pickImage(source: ImageSource.gallery)
when I try to find a picture file
When I open the album and find a 10MB photo
It will prompt the OOMexception described above.
When selecting a 2MB photo, it can be executed normally.
I see that when pick_image selects a relatively large photo file, there is an oom exception.


[DOC-5906] Update formula for determining --cache and --max-sql-memory

[DOC-5906] Update formula for determining --cache and --max-sql-memory
Also:

Remove duplicate info from Memory and point to Cache and SQL memory size section of Recommended Production Settings
Fix some rendering issues and reorganize Common Issues to Monitor

Previews
src/current/v23.1/common-issues-to-monitor.md
src/current/v23.1/recommended-production-settings.md
src/current/v23.2/common-issues-to-monitor.md
src/current/v23.2/recommended-production-settings.md
src/current/v24.1/common-issues-to-monitor.md
src/current/v24.1/recommended-production-settings.md

How do I view the updated rendering of the pages?

How do I view the updated rendering of the pages?

In the preview links. The preview deploy is updated each time a commit is pushed to the PR branch.

Thanks for the reviews!


No functional change, code cleanup

The changes committed in this pull request are in line with guidelines and best practices established over the course of the project under the wings of the ASF, which were applied on merged pull request as recent as 7 days ago.
If you want the guidelines changed, you are welcome to start a discussion in<EMAIL_ADDRESS>

Totally useless, closing


Adds import method to add an existing document to the repo

Following discussion in #240, I thought I would add an import method to repo for adding an existing document to the repo.
Points for discussion:

Should the parameter be an automerge document, or a Unit8Array? I have made it a document for now, as this made most sense to me, and as it allows us to check the validity of the document and have it typed correctly.
What should the error message be which is thrown if an invalid document is passed in.

Added an export method in #256

Updated the signature to take a Uint8Array instead and added the method to the readme


Interface and implementing class in same package

Closes https://github.com/larshp/abapGit/issues/3473

Changing package assignment leads to many messages:

Should we simplify this first in a separate PR and replace with one message per object that says "Object xyz has been assigned to a different package. Run Pull/Stage to commit the change."?

the files could have been moved in the remote git repository to an inconsistent state, in that case the message "Object xyz has been assigned to a different package. Run Pull/Stage to commit the change." would be misleading

https://github.com/larshp/abapGit/pull/3529


feat!: create reduced availability alert

BREAKING CHANGE: add required variable action_group_id

TODO: rename directory module to modules

@equinor/terraform-baseline-maintainers Should I write a more detailed migration guide, for example in a document docs/migrate-to-v12.md?

@hknutsen Is this on hold to create the migration guide or will you make seperate PR?

Converting to draft again to discuss even further. Still scared that this might lead to feature creep.


Vickel: Watch +2347057881342

Vickel requests the watch of the watch_number +2347057881342. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Approved by Makyen in Charcoal HQ


VLD deletion process does not function correctly

VLD deletion is supposed to remove the file from the piece, the entries, search records, individuals and dwelling associated with the file and then the file itself from the raid storage in  /raid/freecen2/freecen1/pieces
Code is currently https://github.com/FreeUKGen/MyopicVicar/blob/master/app/controllers/freecen1_vld_files_controller.rb#L68-L86

Had a quick look and there is no attic folder in SOM and the vld file is still present in /raid/freecen2/freecen1/pieces/SOM

I tested the VLD file delete on my server and it did delete it fully - although didn't appear to create attic folder (or should the attic folder already exist?), so no attic file present. Could this be a permissions issue?
I did notice that the Piece doesn't exist (SOM - 1951 - 1943) for the file that Geoff had tried to delete (HO511943.VLD) - should it still be present?

Yesterday I deleted OXF vld RG12_1165 before incorporating replacement in CEN2. The vld has gone from the list, but I have no knowledge of residual contents elsewhere.

Looked this morning and again the VLD file must still be hanging around as it is in the list

It's in the list "Manage vld files", but not available (button inactive).
It's not in the list of "Manage FreeCEN1 pieces" (from where it was deleted)

Strange that there is no delete option in "Manage vld files"

I believe that relies on your access level. @Captainkirkdawson ?

I have pushed a modification to you for review @Captainkirkdawson  - there was a problem with the path to the attic directory. Tested on my local server and attic directory and attic file now created successfully.
However there might be a problem with the way users are removing VLD files - seems they are doing by deleting the Piece and don't have access to the Delete option in the VLD Index view.

Apologies---vld delete option seems to be accessible through button, not through Show, or Edit. Perhaps need consistency of approach across all actions.

After much head scratching @AnneV-Learn and I have concluded that @geoffj-FUG and Ali are equating a vld file to a Freecen1 Parm  and rather than deleting the vld file through the Manage vld files action they are deleting the specific Parm though the Manage Parms action. The latter action does NOT delete the associated vld file.
It is only the Manage Vld Files action that deletes the file, its entries, its search records, its individuals and dwellings.
Actions required add a restriction on the deletion so if there are dependants the Parm cannot be deleted.
Restrict parm deletion to to system administrator and Data manager.
Locate vld files that need to be deleted by identifying those vld files are connected to a freecen_piece that no longer exists

In my defence @Captainkirkdawson I went to Actions in VLD list, didn't find delete, so went to Manage FreeCEN1 Pieces where I found delete.
We need consistency of approach across all actions.

Ali No defense is needed. Those actions have grown from a simple capability for me to see what was what into actively used actions by people with little overall planning , instructions and video's. We will put that right.

Deleted HO511943.VLD (Geoff's file mentioned above)  - this resolved Data Integrity check no. 2 issue for SOM 1851.
Updated FreeCen code so that a FC1 Piece cannot be deleted if there is an  associated VLD file or dwellings and modified roles permitted to delete/destroy Pieces and VLDs.
There are now as follows:
Destroy Piece:
system_administrator data_manager
Delete VLD:
system_administrator data_manager county_coordinator master_county_coordinator
Code pushed to Kirk for review who pulled into Master and  deployed to Test3.

Deployment needs to be done and then follow up work (story #1269)

Story #1269 has no information.
I think this story is completed?
I seem to be going OK on the live system.
Geoff


Gekko UI doesn't show running trades

Note: this is the technical bug tracker, please use other platforms for getting support and starting a (non technical) discussion. See the getting help page for details.
I'm submitting a ...
[x ] bug report
[ ] question about the decisions made in the repository
Action taken (what you did)
I've startet neuronal strategy with slim, short trade config using UI. And it's trading (I can see in logs and on Binance). But the UI says 0 trades. Same strategy on another instance of gekko is showing results...
Expected result (what you hoped would happen)
trades are shown in UI
Actual result (unexpected outcome)
0 trades are shown
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc)

https://github.com/askmike/gekko/issues/2107

Hm, one observation: I've now started the run by using commandline with configfile. And active TelegramBot with is working with RSI. The gekko is trading but not notifing me by Telegram. So is it a problem of "neuronal" strategy?

I don't think it's a problem with the neural strategy, I have a RSI-based strategy running live against a pair of binances (ICN/BTC) and the orders are not reflected in the ui of gekko either. Can it be a matter of the live order being late to completion and the information not being collected?

It has nothing to do with the strategy, there are some bugs in Gekko I am working on right now.


Avoid mangling unit name in juju_unit value

Remove a replacement of the / character with - in the label value for the juju_unit topology label that breaks correlation with other datasources like Loki.

@mmanciop I am a bit lost on this PR. The commit message makes sense suggesting replacement of "/" by "-" however the diff shown by github is huge and reverts a lot of recent changes to the codebase. I wonder if this PR is just not rebased onto latest master.

Looks better now. :-)

Yeah I had done that thing where I start fixing stuff NOT on a new branch based on upstream main :D


Integration scripts are not working on Windows

Since we are able to execute integration tests via Git Bash, I am closing this issue.


exists('#TerminalWinOpen') return unexpected 0

Steps to reproduce
echo exists('#TerminalWinOpen')
" 0
echo exists('#TerminalOpen')
" 1

return 0 even through the 'TerminalWinOpen' even is exists on my vim.
Expected behaviour
return 1 as same as echo exists('#TerminalOpen')
Version of Vim
9.0.1200
Environment
OSX,
iterm2,
zsh
Logs and stack traces
No response

Please say why this issue was closed.  Perhaps because it works as expected?
echo exists('#TerminalWinOpen')
" results in '0'
au TerminalWinOpen * echo 'open'
echo exists('#TerminalWinOpen')
" results in '1'

Hi bram, I'm so sorry for open the issue, it's my fault. I should use below instead
exists('##TerminalWinOpen')


Tooltip width incorrect when text would exceed extension container

http://i.imgur.com/6SQEJnR.png
If I have a tooltip with 12pt font (currently 13pt) and hover over the 'Clear Stream' button the tooltip looks poor.
This is especially low priority because it will be fixed by rewriting the tooltip without qtip

Turns out this is a major issue in browsers not the plugin: http://stackoverflow.com/questions/30205622/intelligently-reducing-width-of-parent-element-when-child-text-wraps-due-to-max


Update

Can this please be updated to suit latest version of discord?
Stable 80314 (649cbaf)
Host 0.0.309
Thanks

I've tried woth 3 other people to get this to work could you maybe take a commission to make a working version based off a stream link?


support setting silence according to time period

support setting silence according to time period, for example, silence between 00:00:00 and 07:00:00 every day

Hi @sandyisone ,
This is possible through https://prometheus.io/docs/alerting/latest/configuration/#time_interval

Thanks for your help


server id was not set sync error

hi, got such errors as the following, don't how to handle it
2016/09/13 10:07:25 binlogstreamer.go:47: [error] close sync with err: ERROR 1236 (HY000): Misconfigured master - server id was not set
2016/09/13 10:07:25 canal.go:151: [error] canal start sync binlog err: ERROR 1236 (HY000): Misconfigured master - server id was not set

seem that you use the same server id with the master.


Hi! If there is an update on when the code will be released?

Hi, sure.
👉 08/31/2024. We clean the function name of the canonical solution in each programming problem. The final version of our APPS+ dataset is available at here: https://drive.usercontent.google.com/download?id=1dTRJHXhMcPz4CPt73f2vju5KdLmqcP4F&export=download&authuser=0


use time.process_time instead of time.clock

closes #3059

time.process_time is local to the curren process. I think it's not appropriate for a seed.
How about time.time?

can you take a look back, please @niboshi ?

Thanks, looks good to me.

pfnCI, test this please.

Jenkins CI test (for commit a748e1f51c0e87612ece0a743a02149cc5902387, target branch master) succeeded!


TextWrangler PopClip Extension

PopClip TextWranger Extension
This extension for PopClip will take the selected text and create a new text document in TextWrangler.
Being an avid PopClip user, I was looking for an extension that took helped me move the selection to TextWranger (my "hack text together" tool of choice in Mac). Not finding any extension, I decided to put one together, starting from the BBEdit Extension.
The operating word here is hack. This works for me, will likely be considered ugly by everyone else, etc...
Feel free to take it and make it into whatever you need for your use - I'd love to see the extension in the official repo - the only "caveat" is that if you use/keep the icon (but I'd recommend you find a nicer one!), please retain the credits about it on the README.md file

Thanks a lot for this. I've merged it in. It doesn't look like it because I did a silly git-rebase thing and and I'm not clever enough at git to make it work properly :-)


Type Errors

I keep getting
Use of undeclared type 'htmlDocPtr'

And similar type errors. I'm assuming there is some lib I did not link correctly, even though I followed the Usage on the README.

You don't seem to run the step 2 .
FYI:

You don't seem to run the step 2 .
FYI:

That fixes it.

I'm having the same issue as @zamith .  Adding [my project]/Swift-HTML-Parser-Bridging-Header.h gives me the following error:
<unknown>:0: error: bridging header '/Users/eric/Development/Projects/iOS/RoadWarriorRadio/RoadWarriorRadio/Swift-HTML-Parser-Bridging-Header.h' does not exist
When I remove [my project] and just use Swift-HTML-Parser-Bridging-Header.h I get the use of undeclared type ... errors throughout HTMLNode.swift and HTMLParser.swift.
I'm using XCode 6.3 release (6D570) in a new clean project.  Any suggestions?

Please refer to Swift-HTML-Parser-Bridging-Header.h.
//
//  Use this file to import your target's public headers that you would like to expose to Swift.
//

#import <libxml/HTMLtree.h>
#import <libxml/xpath.h>


[test](inverted index)Add upgrade and downgrade test cases for inverted_index (#37783)

add case

run buildall


Add svelte starter

Closes #
Introduced changes
Adds a basic svelte starter
Checklist

[ ] Linked relevant issue
[ ] Updated relevant documentation
[ ] Added relevant tests
[ ] Add a dedicated CI job for new examples
[ ] Performed self-review of the code

Summary by CodeRabbit

New Features

Introduced a .gitignore file to manage ignored files in the Svelte starter project.
Added a .vscode/extensions.json file to recommend essential extensions for Svelte development.
Created a comprehensive README.md to guide developers in setting up and using the Svelte template.
Established a foundational index.html file for the web application.
Introduced a package.json file to manage project dependencies and scripts.
Added a main.ts file for application initialization and setup.
Created a svelte.config.js file for Svelte project configuration.
Implemented TypeScript configurations with tsconfig.json and tsconfig.node.json.
Established a vite.config.ts file for Vite project configuration.
Introduced a dojoConfig.ts for configuring the Dojo application.
Created componentValueStore.ts to manage component values reactively.
Added stores.ts for state management using Svelte stores.

Bug Fixes

Enhanced project structure to improve manageability and clarity.

Documentation

Updated README.md to provide detailed setup instructions and best practices.

Style

Introduced app.css for consistent styling across the application.

Tests

Enhanced reactivity and state management with new Svelte stores.

Chores

Added various configuration files to streamline the development process and enhance project organization.

have changed directory structure, could you fix and also add into the create-dojo


⚠ ClamAV has degraded performance

In 71b06e2, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 600 ms

Resolved: ClamAV performance has improved in c764db4.


Add HDFS read / write IO test  to CI process

Describe the solution you'd like
We already have Hadoop deployed for GraphScope-Store. Maybe it is better to add HDFS IO test in CI process.

Especially in the kubernetes CI.


Allow usage of --config param

As requested in #1509, let's allow user to specify a path to their brunch-config file.

Why this was removed previously?

As was said in the deprecation message, it has been replaced with -e option that specifies the environment to use. Probably the --config option has been used mainly for different environments config files rather than to specify the path to config itself.


[GITHUB-14] Add task to Logstash 5.x to install plugins

Needs to be redone, closing in favour of a future PR.


Add new common test helper functions

Fixed

Updated cmdlet documentation in README.md.

Added

Added test helper functions Get-InvalidResultRecord and Get-InvalidOperationRecord.
Added alias Get-ObjectNotFoundRecord that points to Get-InvalidResultRecord.

This change is

@PlagueHO when you have time, please review this one. Should be fairly simple. If you have better versions of these helper functions I can update to use them. Also if you have more functions that suits here I can add them as well.


svgRef.toDataURL() works on iOS but crash on Android + EXPO

Hi,
I'm using Expo, and according to documentation, react-native-svg is already linked.
I'm trying to use  getRef={c => (this.qrcode = c)} to send the SVG as png,
but when
this.qrcode.toDataURL(base64 => {
       this._callback(base64);
     });

It crashes only on Android with the error:

TypeError: undefined is not an object (evaluating 'RNSVGSvgViewManager.toDataURL')

On iOS, it works perfectly!
Some idea?
"react-native-qrcode-svg": "^5.1.1",
"react-native-svg": "^6.5.2",

Maybe the problem lies on how expo link native module like react-native-svg on Android or the version of react-native-svg in expo is outdated?

Sorry for bumping.
I am having same issue using RN (without expo):
"react-native": "0.60.5",
"react-native-qrcode-svg": "^5.2.0",
"react-native-svg": "^9.13.3",
anyone has a workaround? basically i need to save the QR code image as a base64 string or image file.


Renaming this repository

I started the code in this repository years ago without really thinking about a name. It was a common repository of VR related code that applies to any platform supported by Godot.
The name doesn't make a lot of sense to people so I am thinking of renaming this repository to godot-vr-toolkit. It would be good to get some feedback on this from everyone using this code.
What do you guys think?

Would xr-toolkit make sense considering the other name changes going on? Is this repo to always be vr only?

Hey @tomlechner , sorry for the late reply. We did a poll on Twitter and xr-toolkit and xr-tools were suggested a number of times. I've decided to go with godot-xr-tools.
And yes AR should eventually find its way into this repo as well, a lot of the interaction logic in this repo is applicable for both AR and VR, AR doesn't have much focus yet because not enough people are doing AR stuff with Godot seeing it only really supports ARKit at the moment.


Suggestion: use GLAD for memory diagnostics.

As Maoni Stephens just announced, the GLAD is available as open source and it's looks like it's going to support .net core. Sadly there's no nuget package, but I've created issue for it.
Long story short, the GLAD is a subset of  perfiew tool API that uses ETW and provides info about GCs, allocations and much more.
This should simplify the MemoryDiagnoser's code and should enable more diagnosers in future (in fact, anything that can be analysed by perfView, disk IO and JIT events as example).

Not sure why this is interesting. It's basically the TraceEvent library but with some additional parsing on top (and the existing MemoryDiagnoser already uses TraceEvent). All Windows kernel and CLR ETW events can be processed with TraceEvent without any of the new code that just got published on GitHub, AFAICT.

@goldshtn yep, GLAD just provides a typed API for the ETW events but there's a lot of it:) For example, here's GC stats, inlining failures or JIT info available out-of-the-box.

@mattwarren, what do you think?

AFAIK most of this stuff is natively available in TraceEvent's CLR parser.

My understanding is that other than a slightly higher level C# object model, the main thing that the GLAD API gives you is more info about GC pauses. If you just use the Trace Event parser you have to do the calculations yourself, as I did in my post Visualising the .NET Garbage Collector
So I agree with @goldshtn, I'm not sure what this buys us over what we already have, but I probably need to look at GLAD a bit more to see where it differs from TraceEvents CLR parser?


Fixed onchange load issue

Resolves https://jira.vzbuilders.com/browse/ADDIGITS-7271

Description
Proposed Changes

Screenshots
License
I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

can we add a test that we're not getting duplicate csv option?

can we also fix the duplicate csv option for reports and add a test for that case?

it happens when exportFileTypes: ['csv', 'pdf', 'png', 'gsheet']

it happens when exportFileTypes includes 'csv'

when exportFileTypes is present, we need to set the default selection 'csv' format right? since default value is concatenated in format array while loading the  PowerSelect

it happens when exportFileTypes includes 'csv'

when exportFileTypes is present, we need to set the default selection 'csv' format right? since default value is concatenated in format array while loading the PowerSelect. Refernce link


[Tidy] Replace dash.page_registry as page lookup with model_manager

Description

Replace page lookup in dash.page_registry with model_manager to have one source of truth for page lookups
Update unit and integration tests

Screenshot
Notice

[x] I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":

I submit this contribution under the Apache 2.0 license and represent that I am entitled to do so on behalf of myself, my employer, or relevant third parties, as applicable.
I certify that (a) this contribution is my original creation and / or (b) to the extent it is not my original creation, I am authorized to submit this contribution on behalf of the original creator(s) or their licensees.
I certify that the use of this contribution as authorized by the Apache 2.0 license does not violate the intellectual property rights of anyone else.
I have not referenced individuals, products or companies in any commits, directly or indirectly.
I have not added data or restricted code in any commits, directly or indirectly.

@petar-qb:

any problem with making the change b4e0d3b? Note the dash.page_registry will always be a subset of model_manager (in future they will be equal, but right now they're not necessarily)

I can't answer the second one, but the first one for sure leads to issues that I am not sure if we can get rid of quickly @antonymilne @petar-qb. Alexeys screenshot tests are currently all breaking and you can replicate it by creating a page with a graph as a component, but not including it in the dashboard.pages. You will get a bunch of error messages now that an ID cannot be found.
I assume this happens because it's trying to run some action chains (connected to graphs) from pages that are inside the model manager but not inside the dashboard. Therefore it cannot find the relevant pages as they only exist in the model manager.

@petar-qb:

any problem with making the change b4e0d3b? Note the dash.page_registry will always be a subset of model_manager (in future they will be equal, but right now they're not necessarily)

I can't answer the second one, but the first one for sure leads to issues that I am not sure if we can get rid of quickly @antonymilne @petar-qb. Alexeys screenshot tests are currently all breaking and you can replicate it by creating a page with a graph as a component, but not including it in the dashboard.pages. You will get a bunch of error messages now that an ID cannot be found.
I assume this happens because it's trying to run some action chains (connected to graphs) from pages that are inside the model manager but not inside the dashboard. Therefore it cannot find the relevant pages as they only exist in the model manager.

Exactly this bug you recreated Li is the reason why I look at dash.page_registry as a source of truth while constructing the action engine. I'm afraid we have to revert b4e0d3b changes since it doesn't work. There is no easy and reliable way to fix this behaviour, but one of the ways on how we can fix it could be to  remove non-registred page models from the model_manager in the  Dashboard._pre_build() method or similar 😄.

Cool, thank you @huong-li-nguyen and @petar-qb! That all makes sense. I've reverted the change with f065f46. We can fix this properly when I finally get around to https://github.com/mckinsey/vizro/issues/111.

Big compliment for @l0uden tests by the way 🚀 All of the demo dashboards and unit + integrations were working fine and didn't raise anything. I only understood the issue because in the screenshot tests there were a bunch of console errors and I tried to replicate the setup. Took me only a few minutes to understand that it was caused by a page with a graph not being added to the dashboard.pages 👍

any reason this code is in _action_loop_utils.py rather than moving to model_manager where you moved similar things before?

@antonymilne you are right. It seems like we can get rid od _get_actions_chains_on_all_pages util function since the similar is implemented in the model_manager.

Big compliment for @l0uden tests by the way 🚀 All of the demo dashboards and unit + integrations were working fine and didn't raise anything. I only understood the issue because in the screenshot tests there were a bunch of console errors and I tried to replicate the setup. Took me only a few minutes to understand that it was caused by a page with a graph not being added to the dashboard.pages 👍

Amazing! Could we even move such a test to our integration tests? I.e if we were to have an additional page created in one of the tested examples, that should create a console error that is caught 🤔 ?


Add guards on Joint setX methods for auto-sleeping

Add additional checks in the Joint classes for the setX methods to check whether the values are changing (or other checks) before waking the bound bodies.  This will help with users who in their game loops continuously set values on joints, not realizing that it wakes the bodies every time.
Add the appropriate tests to the unit tests to test these checks.

Fixed in b8941465aeaeb3eca54175405227acde7ee3a720.  Unit tests will be added in the enhancement for more simulation based automated testing.


custom-functions-metadata-plugin triggering deprecation warnings on Webpack 5

Just a heads up from the future. In my setup with Webpack 5, I'm getting these warnings:
(node:8984) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
...
BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
        Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
        Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.

Plus, this piece of code:
                if (module._source && module._source._name.endsWith(inputFilePath)) {
                    generateResult.associate.forEach((item: { id: string; functionName: string; }) => {
                        module._source._value += `\nCustomFunctions.associate("${item.id}", ${item.functionName});`;
                    });
                }

With webpack 5 on Windows, the condition never passes and the CustomFunctions.associate calls are never added to the output. Probing around, it looks like module._source._name is morphed into webpack://data:text/javascript,__webpack_public_path__ = __webpack_base_uri__ = htmlWebpackPluginPublicPath; by the time that callback is involved.

My suggestions to fix the warnings:
Change this hook
        compiler.hooks.compile.tap(pluginName, async () => {
            generateResult = await generateCustomFunctionsMetadata(inputFilePath, true);
        });

To use beforecompile.tapPromise
        compiler.hooks.beforeCompile.tapPromise(pluginName, async () => {
            generateResult = await generateCustomFunctionsMetadata(inputFilePath, true);
        });

@villasv Thanks for raising this issue and looking into it. We would welcome a pull request if you would like to contribute.
If we can validate that these work with webpack 4 also, then it shouldn't be a problem making the change.

I'm still trying to figure out the module._source._name part. If I can make it work, I'll send a PR with all related changes.

Hi @villasv, I'm currently trying to reproduce this issue but I'm having troubles with it.

We are already using webpack v5 right?
Which commands did you run to get this deprecation warning? By building the project normally I'm not getting these warnings

I think the fact your project is not building could be a package-lock.json issue. I will be sending a PR soon updating it and hopeful you should be able to build the project after that.

You need to validate the custom-functions-metadata-plugin in a custom functions project from Yo Office which is using Webpack 4, and also in another instance where webpack is updated to version 5.

We are already using webpack v5 right?

"We" as in the dependency, yes. But the plugin is used by Webpack 4 in the projects generated by the templates (like https://github.com/OfficeDev/Office-Addin-TaskPane-React)

Which commands did you run to get this deprecation warning? By building the project normally I'm not getting these warnings

npm run build, or more generally, any command that triggers Webpack to build (like  webpack serve).


Implement minimas for read requests.

Originally posted by @mrjerryjohns in https://github.com/project-chip/connectedhomeip/pull/16811#discussion_r851072103

Dupe of #18610


Fix imports for Cordova 9

Cordova 9 removed support for importing non-Cordova modules using requireCordovaModule (see https://github.com/apache/cordova-lib/issues/689), breaking this plugin. This PR adds those modules as normal dependencies instead.

Great, thank you very much!


Log output duplication

Hi,
I got a broken db on test server: migrations are up but schema_migrations is empty.
That is why I got errors while trying to run rale db:migrate.
But the strange thing is that I receive lots of duplicated output (I will shrink it a little bit)
$ cap rc3 deploy:migrate
rvm 1.29.1 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io/]
ruby-2.4.1
ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux]
00:00 deploy:migrate
      [deploy:migrate] Run `rake db:migrate`
00:00 deploy:migrating
      01 ~/.rvm/bin/rvm ruby-2.4.1 do bundle exec rake db:migrate
      01 RVM used your Gemfile for selecting Ruby, it is all fine - Heroku does that too,
      01
      01 you can ignore these warnings with 'rvm rvmrc warning ignore /home/rc_apps/netology_rails_3/current/Gemfile'.
      01
      01 To ignore the warning for all files run 'rvm rvmrc warning ignore allGemfiles'.
      01
      01
      01
      01 ==<PHONE_NUMBER>3757 CreateProfessionToProgram: migrating ========================
      01 -- create_table(:profession_to_programs)
      01 rake aborted!
      01 StandardError: An error has occurred, all later migrations canceled:
      01
      01 Mysql2::Error: Table 'profession_to_programs' already exists: CREATE TABLE `profession_to_programs` (`id` int AUTO_INCREMENT PRIMARY KEY, `profession_id` int, `program_id…
      01 /home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:120:in `_query'
      01 /home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:120:in `block in query'
      01 /home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:119:in `handle_interrupt'
      01 /home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:119:in `query'
      01 /home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/
      ...
      01 /home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/migration.rb:1006:in `up'
      01 /home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/migration.rb:984:in `migrate'
      01 /home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/tasks/database_tasks.rb:163:in `migrate'
      01
      01 /home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/railties/databases.rake:58:in `block (2 levels) in <top (required)>'
      01 /home/rc_apps/netology_rails_3/releases/20170705183629/lib/tasks/db_legacy.rake:16:in `block (3 levels) in <top (required)>'
      01 /home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/cli/exec.rb:74:in `load'
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/cli/exec.rb:74:in `kernel_load'
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/cli/exec.rb:27:in `run'
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/cli.rb:360:in `exec'
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/cli.rb:20:in `dispatch'
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/cli.rb:10:in `start'
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/exe/bundle:35:in `block in <top (required)>'
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/exe/bundle:27:in `<top (required)>'
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/bin/bundle:23:in `load'
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/bin/bundle:23:in `<main>'
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `eval'
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `<main>'
      01 ActiveRecord::StatementInvalid: Mysql2::Error: Table 'profession_to_programs' already exists: CREATE TABLE `profession_to_programs` (`id` int AUTO_INCREMENT PRIMARY KEY, …
      01 /home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:120:in `_query'
      01 /home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:120:in `block in query'
      01 /home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:119:in `handle_interrupt'
      01 /home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:119:in `query'
      01 /home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:218:in `block in execute'
      01 /home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_adapter.rb:590:in `block in log'
      01 /home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activesupport-5.0.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
      01 /home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_adapter.rb:583:in `log'
      ...
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'
      01
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/exe/bundle:27:in `<top (required)>'
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/bin/bundle:23:in `load'
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/bin/bundle:23:in `<main>'
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `eval'
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `<main>'
      01 Mysql2::Error: Table 'profession_to_programs' already exists
      01 /home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:120:in `_query'
      01 /home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:120:in `block in query'
      01 /home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:119:in `handle_interrupt'
      01 /home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:119:in `query'
      01 /home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:218:in `block in execute'
      01 /home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_adapter.rb:590:in `block in log'
      01 /home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activesupport-5.0.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
      01 /home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_adapter.rb:583:in `log'
      01 /home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:218:in `execute'
      01
      01 /home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/mysql/database_statements.rb:31:in `execute'
      01 /home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract/schema_statements.rb:278:in `create_table'
      01 /home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:423:in `create_table'
      ...
      01 /home/rc_apps/netology_rails_3/releases/20170705183629/lib/tasks/db_legacy.rake:16:in `block (3 levels) in <top (required)>'
      01 /home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/cli/exec.rb:74:in `load'
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/cli/exec.rb:74:in `kernel_load'
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/cli/exec.rb:27:in `run'
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/cli.rb:360:in `exec'
      01
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
      01
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/cli
      01 .rb:20:in `dispatch'
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/cli.rb:10:in `start'
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/exe/bundle:35:in `block in <top (required)>'
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/exe/bundle:27:in `<top (required)>'
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/bin/bundle:23:in `load'
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/bin/bundle:23:in `<main>'
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `eval'
      01 /home/rc_apps/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `<main>'
      01
      01 Tasks: TOP => db:migrate
      01 (See full trace by running task with --trace)
      01 The latest bundler is 1.15.1, but you are currently running 1.15.0.
      01 To update, run `gem install bundler`
(Backtrace restricted to imported tasks)
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing as<EMAIL_ADDRESS>Exception while executing as<EMAIL_ADDRESS>rake exit status: 1
rake stdout: RVM used your Gemfile for selecting Ruby, it is all fine - Heroku does that too,
you can ignore these warnings with 'rvm rvmrc warning ignore /home/rc_apps/netology_rails_3/current/Gemfile'.
To ignore the warning for all files run 'rvm rvmrc warning ignore allGemfiles'.

==<PHONE_NUMBER>3757 CreateProfessionToProgram: migrating ========================
-- create_table(:profession_to_programs)
rake aborted!
StandardError: An error has occurred, all later migrations canceled:

Mysql2::Error: Table 'profession_to_programs' already exists: CREATE TABLE `profession_to_programs` (`id` int AUTO_INCREMENT PRIMARY KEY, `profession_id` int, `program_id` int) ENGINE=InnoDB
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:120:in `_query'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:120:in `block in query'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:119:in `handle_interrupt'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:119:in `query'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:218:in `block in execute'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_adapter.rb:590:in `block in log'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activesupport-5.0.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_adapter.rb:583:in `log'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:218:in `execute'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/mysql/database_statements.rb:31:in `execute'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract/schema_statements.rb:278:in `create_table'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:423:in `create_table'
...
/home/rc_apps/.rvm/gems/ruby-2.4.1/bin/bundle:23:in `load'
/home/rc_apps/.rvm/gems/ruby-2.4.1/bin/bundle:23:in `<main>'
/home/rc_apps/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `eval'
/home/rc_apps/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `<main>'
ActiveRecord::StatementInvalid: Mysql2::Error: Table 'profession_to_programs' already exists: CREATE TABLE `profession_to_programs` (`id` int AUTO_INCREMENT PRIMARY KEY, `profession_id` int, `program_id` int) ENGINE=InnoDB
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:120:in `_query'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:120:in `block in query'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:119:in `handle_interrupt'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:119:in `query'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:218:in `block in execute'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_adapter.rb:590:in `block in log'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activesupport-5.0.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_adapter.rb:583:in `log'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:218:in `execute'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/mysql/database_statements.rb:31:in `execute'
...
/home/rc_apps/netology_rails_3/releases/20170705183629/lib/tasks/db_legacy.rake:16:in `block (3 levels) in <top (required)>'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
/home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/cli/exec.rb:74:in `load'
/home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/cli/exec.rb:74:in `kernel_load'
/home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/cli/exec.rb:27:in `run'
/home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/cli.rb:360:in `exec'
...
/home/rc_apps/.rvm/gems/ruby-2.4.1/bin/bundle:23:in `load'
/home/rc_apps/.rvm/gems/ruby-2.4.1/bin/bundle:23:in `<main>'
/home/rc_apps/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `eval'
/home/rc_apps/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `<main>'
Mysql2::Error: Table 'profession_to_programs' already exists
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:120:in `_query'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:120:in `block in query'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:119:in `handle_interrupt'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:119:in `query'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:218:in `block in execute'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_adapter.rb:590:in `block in log'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activesupport-5.0.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_adapter.rb:583:in `log'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:218:in `execute'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/mysql/database_statements.rb:31:in `execute'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract/schema_statements.rb:278:in `create_table'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:423:in `create_table'
...
/home/rc_apps/.rvm/gems/ruby-2.4.1/bin/bundle:23:in `load'
/home/rc_apps/.rvm/gems/ruby-2.4.1/bin/bundle:23:in `<main>'
/home/rc_apps/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `eval'
/home/rc_apps/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
The latest bundler is 1.15.1, but you are currently running 1.15.0.
To update, run `gem install bundler`
rake stderr: Nothing written

SSHKit::Runner::ExecuteError: Exception while executing as<EMAIL_ADDRESS>rake exit status: 1
rake stdout: RVM used your Gemfile for selecting Ruby, it is all fine - Heroku does that too,
you can ignore these warnings with 'rvm rvmrc warning ignore /home/rc_apps/netology_rails_3/current/Gemfile'.
To ignore the warning for all files run 'rvm rvmrc warning ignore allGemfiles'.

==<PHONE_NUMBER>3757 CreateProfessionToProgram: migrating ========================
-- create_table(:profession_to_programs)
rake aborted!
StandardError: An error has occurred, all later migrations canceled:

Mysql2::Error: Table 'profession_to_programs' already exists: CREATE TABLE `profession_to_programs` (`id` int AUTO_INCREMENT PRIMARY KEY, `profession_id` int, `program_id` int) ENGINE=InnoDB
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:120:in `_query'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:120:in `block in query'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:119:in `handle_interrupt'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:119:in `query'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:218:in `block in execute'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_adapter.rb:590:in `block in log'
...
/home/rc_apps/.rvm/gems/ruby-2.4.1/bin/bundle:23:in `load'
/home/rc_apps/.rvm/gems/ruby-2.4.1/bin/bundle:23:in `<main>'
/home/rc_apps/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `eval'
/home/rc_apps/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `<main>'
ActiveRecord::StatementInvalid: Mysql2::Error: Table 'profession_to_programs' already exists: CREATE TABLE `profession_to_programs` (`id` int AUTO_INCREMENT PRIMARY KEY, `profession_id` int, `program_id` int) ENGINE=InnoDB
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:120:in `_query'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:120:in `block in query'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:119:in `handle_interrupt'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:119:in `query'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:218:in `block in execute'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_adapter.rb:590:in `block in log'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activesupport-5.0.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_adapter.rb:583:in `log'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:218:in `execute'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/mysql/database_statements.rb:31:in `execute'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract/schema_statements.rb:278:in `create_table'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:423:in `create_table'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/migration.rb:846:in `block in method_missing'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/migration.rb:815:in `block in say_with_time'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/migration.rb:815:in `say_with_time'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/migration.rb:835:in `method_missing'
/home/rc_apps/netology_rails_3/releases/20170705183629/db_legacy/migrate/20170515153757_create_profession_to_program.rb:3:in `change'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/migration.rb:789:in `exec_migration'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/migration.rb:773:in `block (2 levels) in migrate'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/migration.rb:772:in `block in migrate'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:398:in `with_connection'
...
/home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'
/home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/exe/bundle:27:in `<top (required)>'
/home/rc_apps/.rvm/gems/ruby-2.4.1/bin/bundle:23:in `load'
/home/rc_apps/.rvm/gems/ruby-2.4.1/bin/bundle:23:in `<main>'
/home/rc_apps/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `eval'
/home/rc_apps/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `<main>'
Mysql2::Error: Table 'profession_to_programs' already exists
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:120:in `_query'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:120:in `block in query'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:119:in `handle_interrupt'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:119:in `query'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:218:in `block in execute'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_adapter.rb:590:in `block in log'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activesupport-5.0.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_adapter.rb:583:in `log'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:218:in `execute'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/mysql/database_statements.rb:31:in `execute'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract/schema_statements.rb:278:in `create_table'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:423:in `create_table'
...
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/migration.rb:984:in `migrate'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/tasks/database_tasks.rb:163:in `migrate'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/railties/databases.rake:58:in `block (2 levels) in <top (required)>'
/home/rc_apps/netology_rails_3/releases/20170705183629/lib/tasks/db_legacy.rake:16:in `block (3 levels) in <top (required)>'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
/home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/cli/exec.rb:74:in `load'
/home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/cli/exec.rb:74:in `kernel_load'
/home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/cli/exec.rb:27:in `run'
/home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/cli.rb:360:in `exec'
...
/home/rc_apps/.rvm/gems/ruby-2.4.1/bin/bundle:23:in `load'
/home/rc_apps/.rvm/gems/ruby-2.4.1/bin/bundle:23:in `<main>'
/home/rc_apps/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `eval'
/home/rc_apps/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
The latest bundler is 1.15.1, but you are currently running 1.15.0.
To update, run `gem install bundler`
rake stderr: Nothing written

SSHKit::Command::Failed: rake exit status: 1
rake stdout: RVM used your Gemfile for selecting Ruby, it is all fine - Heroku does that too,
you can ignore these warnings with 'rvm rvmrc warning ignore /home/rc_apps/netology_rails_3/current/Gemfile'.
To ignore the warning for all files run 'rvm rvmrc warning ignore allGemfiles'.

==<PHONE_NUMBER>3757 CreateProfessionToProgram: migrating ========================
-- create_table(:profession_to_programs)
rake aborted!
StandardError: An error has occurred, all later migrations canceled:

Mysql2::Error: Table 'profession_to_programs' already exists: CREATE TABLE `profession_to_programs` (`id` int AUTO_INCREMENT PRIMARY KEY, `profession_id` int, `program_id` int) ENGINE=InnoDB
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:120:in `_query'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:120:in `block in query'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:119:in `handle_interrupt'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:119:in `query'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:218:in `block in execute'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_adapter.rb:590:in `block in log'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activesupport-5.0.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_adapter.rb:583:in `log'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:218:in `execute'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/mysql/database_statements.rb:31:in `execute'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract/schema_statements.rb:278:in `create_table'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:423:in `create_table'
...
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/migration.rb:984:in `migrate'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/tasks/database_tasks.rb:163:in `migrate'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/railties/databases.rake:58:in `block (2 levels) in <top (required)>'
/home/rc_apps/netology_rails_3/releases/20170705183629/lib/tasks/db_legacy.rake:16:in `block (3 levels) in <top (required)>'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
/home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/cli/exec.rb:74:in `load'
/home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/cli/exec.rb:74:in `kernel_load'
/home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/cli/exec.rb:27:in `run'
/home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/cli.rb:360:in `exec'
...
/home/rc_apps/.rvm/gems/ruby-2.4.1/bin/bundle:23:in `load'
/home/rc_apps/.rvm/gems/ruby-2.4.1/bin/bundle:23:in `<main>'
/home/rc_apps/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `eval'
/home/rc_apps/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `<main>'
ActiveRecord::StatementInvalid: Mysql2::Error: Table 'profession_to_programs' already exists: CREATE TABLE `profession_to_programs` (`id` int AUTO_INCREMENT PRIMARY KEY, `profession_id` int, `program_id` int) ENGINE=InnoDB
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:120:in `_query'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:120:in `block in query'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:119:in `handle_interrupt'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:119:in `query'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:218:in `block in execute'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_adapter.rb:590:in `block in log'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activesupport-5.0.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_adapter.rb:583:in `log'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:218:in `execute'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/mysql/database_statements.rb:31:in `execute'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract/schema_statements.rb:278:in `create_table'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:423:in `create_table'
...
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/migration.rb:984:in `migrate'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/tasks/database_tasks.rb:163:in `migrate'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/railties/databases.rake:58:in `block (2 levels) in <top (required)>'
/home/rc_apps/netology_rails_3/releases/20170705183629/lib/tasks/db_legacy.rake:16:in `block (3 levels) in <top (required)>'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
/home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/cli/exec.rb:74:in `load'
/home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/cli/exec.rb:74:in `kernel_load'
/home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/cli/exec.rb:27:in `run'
/home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/cli.rb:360:in `exec'
...
/home/rc_apps/.rvm/gems/ruby-2.4.1/bin/bundle:23:in `load'
/home/rc_apps/.rvm/gems/ruby-2.4.1/bin/bundle:23:in `<main>'
/home/rc_apps/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `eval'
/home/rc_apps/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `<main>'
Mysql2::Error: Table 'profession_to_programs' already exists
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:120:in `_query'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:120:in `block in query'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:119:in `handle_interrupt'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.5/lib/mysql2/client.rb:119:in `query'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:218:in `block in execute'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_adapter.rb:590:in `block in log'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activesupport-5.0.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_adapter.rb:583:in `log'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:218:in `execute'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/mysql/database_statements.rb:31:in `execute'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract/schema_statements.rb:278:in `create_table'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:423:in `create_table'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/migration.rb:846:in `block in method_missing'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/migration.rb:815:in `block in say_with_time'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/migration.rb:815:in `say_with_time'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/migration.rb:835:in `method_missing'
/home/rc_apps/netology_rails_3/releases/20170705183629/db_legacy/migrate/20170515153757_create_profession_to_program.rb:3:in `change'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/migration.rb:789:in `exec_migration'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/migration.rb:773:in `block (2 levels) in migrate'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/migration.rb:772:in `block in migrate'
/home/rc_apps/netology_rails_3/shared/bundle/ruby/2.4.0/gems/activerecord-5.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:398:in `with_connection'
...
/home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'
/home/rc_apps/.rvm/gems/ruby-2.4.1/gems/bundler-1.15.0/exe/bundle:27:in `<top (required)>'
/home/rc_apps/.rvm/gems/ruby-2.4.1/bin/bundle:23:in `load'
/home/rc_apps/.rvm/gems/ruby-2.4.1/bin/bundle:23:in `<main>'
/home/rc_apps/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `eval'
/home/rc_apps/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
The latest bundler is 1.15.1, but you are currently running 1.15.0.
To update, run `gem install bundler`
rake stderr: Nothing written

Tasks: TOP => deploy:migrate
(See full trace by running task with --trace)

Expected behavior
Error message to be printed exactly one time.
Actual behavior
Error message is duplicated multiple times.
System configuration
https://gist.github.com/ivanovaleksey/f5e0455ad465c2af629a6ecb88d496c9
Is it something wrong with my configuration?

Hi, thanks for the report! This is not a mistake on your part; it is a side effect of the error handling behavior of SSHKit. We'd like to improve this as mentioned in this issue: https://github.com/capistrano/sshkit/issues/348
Closing as duplicate of https://github.com/capistrano/sshkit/issues/348

Thank you @mattbrictson!


ID TypeError: Cannot assign to read only property '10' of string

Data to be sent:
{
    "data": {
        "name": "heuristic Ratione quaerat consectetur magnam fugiat placeat",
        "description": "
- Guarantee the product as in the real picture

- All products are the same as in the pictures.

- Guarantee that you won't be disappointed

- The product is made of good quality materials, meticulously sewn.

- Flexible balance with our feet.

- Products manufactured according to international standards, using grade A materials, are durable, not easily broken

- Goes with every outfit, every occasion.
",
        "variants": [
            {
                "id": 67,
                "price": 300,
                "unit": "1 gram",
                "stock": 999
            }
        ]
    },
    "target": "th",
    "source": "en"
}

With this dataset, the library goes into an infinite loop with the following error:
 at C:\Users\blah\strapi\node_modules\@parvineyvazov\json-translator\dist\json-translator.cjs.development.js:1340:47
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)Translation error: TypeError: Cannot assign to read only property '10' of string '{"name":"heuristic Ratione quaerat consectetur magnam fugiat placeat","description":"
- Guarantee the product as in the real picture

- All products are the same as in the pictures.

- Guarantee that you won't be disappointed

- The product is made of good quality materials, meticulously sewn.

- Flexible balance with our feet.

- Products manufactured according to international standards, using grade A materials, are durable, not easily broken

- Goes with every outfit, every occasion.
","variants":[{"id":67,"price":300,"unit":"1 gram","stock":999}]}'

How do I solve it? Thank you

Solved. Don't need to convert data that is fed to JSON.
Thank you. :D


Fix literate CoffeeScript/CJSX with single apostrophes in Markdown

Takes the invertLiterate method from CoffeeScript's helpers and uses it to pre-filter literate files. This is necessary for literate files that contain single apostrophes in the markdown (otherwise it fails on this line - see jsdf/coffee-react#21 for a minimal testcase).
I've added a test, but I had to pass the literate option which I've inferred by matching the test description - let me know if there's a better way.

Awesome, thanks
Published as v3.1.0


fix: forgot password label trans key

[x] Changes have been thoroughly tested to not break existing functionality.
[ ] New functionality has been documented or existing documentation has been updated to reflect changes.
[x] Visual changes are explained in the PR description using a screenshot/recording of before and after.

Thanks


whitelist 192.168.

for some reason this IP is not white listed

Hi, this is a limitation of web platform and current definition of secure context:

https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts
https://www.w3.org/TR/secure-contexts/#is-origin-trustworthy

tl;dr only <IP_ADDRESS> can be used over unencrypted http://. You can use 192.168.*.*, but need to set up encryption (https://)


Feature request:  Negative colours

It would be nice to have some way to calculate the negative of a given colour.

What is the use case for this? And how is "negative" defined? 255 - value for R,G, and B?

Going to close this - it's my policy to close feature request issues, especially without clear use case and/or specification.
I'd be willing to consider a pull requests that implements this, but I am not going to work on this myself.


Remove MYMETA.json from the MANIFEST file and include in the MANIFEST.SKIP

Hi,
Please review the PR.
Many Thanks.
Best Regards,
Mohammad S Anwar

Thanks much!


Option for XOR implementation

For users who want to require exactly N of N keys, XOR would be the safest, most performant, most reliable option.

I don't have a particularly strong background in encryption. Are you referring to the encryption step? Or the step where we write to the horcruxes.
For context, currently when we require N of N horcruxes, I'm writing through a demultiplexer to give the first 100 characters of the encrypted content to the first horcrux, the second 100 characters to the second horcrux, and so on.

I don't have a particularly strong background in encryption. Are you referring to the encryption step? Or the step where we write to the horcruxes.

XOR encryption for "N out of N" is actually quite simple.
Instead of using SSS to generate N keys, you generate N random keys and XOR them all together. The result is your AES key.


Update the plugin version and requirements

After a few compatibility test, it is safe to say that this plugin is compatible with WordPress 5.5.3 - that is the last stable version. With this update, that warning saying that this plugin was not tested with the last versions of WordPress will no longer appear.

Since this package has not been updated in a long time, we are having problems in the CI environment due to composer being updated to version 2. You can solve the tests issue replacing the line
- composer update
with
- composer  self-update --1
in the .travis.yml file.

Hi, @haptico. This pr have nothing to do with composer; the problem is with the CI itself, not with this PR. All we have done here, was update some comments on woocommerce-gateway-ebanx.php after a few test, to remove the warning from WordPress marketplace. Those comments are:
963df0ab7953a407c913f1b4d25401128af8c8d4
 * Requires PHP: 5.6
 * Requires at least: 4.0.0
 * Tested up to: 5.5.3

fb7c5dcc80f9ec4366e42f1591a79479739afe23
 * Version: 1.41.3
 * Version: 1.41.4

Our next commit will use composer because some php version update and them we can check out the travis.ci file, but for now, this PR is exactly this.


SGCS-210 - Better handling of the "readonly" flag

This PR handles the case where the "readonly" property is set to false in the sg config.
Targeting 6.x here since we have other changes for 7(?).

Merged into 6.x
Cherry picked into 6.4, 6.5, 6.6 and 6.7


Redirect HTTP to www.example.org to example.org in nginx

This is slightly better for SEO.
In general it would probably make sense to run the page through an SEO analyzer at some point. Don't think it's the most important next step though.

Ah right, just forgot to close the issue.


Statements after try-catch don't run when exception was caught

try
    new Exception("deez")
catch e then
    print(e.what)
end
print("finally") -- not printed as long as exception is thrown

Fixed with 8bfe5da45d869ae665217a01e012ba83027b2e30


Doesn't detect any power values

I'm using Panel Server Universal 600. With Power Tag flex, everything works fine, and I can transfer it to HA, but it doesn't detect any power values. It only shows 2 alarm sensors, nothing else comes over. Any ideas why?

Is it possible that you configured it as a Link Gateway instead of Panel Server during the setup?

Everything is possible, but I've deleted everything and tried again. However, I don't get prompted at any point to choose between Link Gateway or Panel Server. It automatically detects my panel server. But got the same result, no values."

Can you please check if the logs say anything?
Also which version are on currently on?

I'm on EcoStruxure PowerTag Link Gateway v. 0.2.1.
Home Assistant Core 2024.3.0 -
Supervisor 2024.02.1 -
Operating system 12.0.
It seems to be the same issue as Issue #15, I just have a Panel Server 600.
I have 2 errors in my log. Perhaps they mean something to you?
Logger: homeassistant.components.sensor
Kilde: helpers/entity_platform.py:350
integration: Sensor (dokumentation, problemer)
Første forekomst: 7. marts 2024 kl. 22.08.47 (1 forekomster)
Senest logget: 7. marts 2024 kl. 22.08.47
Error while setting up powertag_gateway platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 350, in _async_setup_platform
await asyncio.shield(awaitable)
File "/config/custom_components/powertag_gateway/sensor.py", line 62, in async_setup_entry
PowerTagPowerFactor(client, modbus_address, tag_device),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/powertag_gateway/sensor.py", line 606, in init
if is_r(product_type):
^^^^^^^^^^^^^^^^^^
File "/config/custom_components/powertag_gateway/entity_base.py", line 111, in is_r
feature_class = [fc for fc in FeatureClass if product_type in fc.value][0]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of rangeLogger: homeassistant.components.button
Kilde: helpers/entity_platform.py:350
integration: Knap (dokumentation, problemer)
Første forekomst: 7. marts 2024 kl. 22.08.47 (1 forekomster)
Senest logget: 7. marts 2024 kl. 22.08.47
Error while setting up powertag_gateway platform for button
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 350, in _async_setup_platform
await asyncio.shield(awaitable)
File "/config/custom_components/powertag_gateway/button.py", line 55, in async_setup_entry
class_r = is_r(product_type)
^^^^^^^^^^^^^^^^^^
File "/config/custom_components/powertag_gateway/entity_base.py", line 111, in is_r
feature_class = [fc for fc in FeatureClass if product_type in fc.value][0]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range

Can you please upgrade to v0.2.2-alpha12 (you'll need to enable beta) and check the logs? I'm particularly interested in the logs right before it crashes.

I have now updated to 0.2.2-alpha12 and it has found the panel server, but now there is no power tag. Here is a log error.
Logger: root
Kilde: custom_components/powertag_gateway/schneider_modbus.py:554
integration: PowerTag Link Gateway (dokumentation, problemer)
Første forekomst: 14.30.47 (3 forekomster)
Senest logget: 14.30.47
Unknown product type: 17210

Ah I see. That's an undocumented product type code.

 Sorry about that!

Fixed in 0.2.2. Please verify.

It works.
Thank you so much for your help, it's really awesome


[NOJIRA] - Improve CONTACTING-OPS.md documentation

These are some additions to the contacting ops doc, just to make easier the communication with us.
This PR can be improved with more details (how we can procedure with an issue, type of issues, etc) if we agreed in the next retro.

LGTM!

Looks good, thanks 👍
As discussed today @ retro, I would consider adding a section, smth. like: "Steps to take before you call Ops" and add checks like:

Open/curl preferences /health endpoint
Check uptime checks dashboard (I guess we would need to create something for this)
Try the software on another computer

I've added some more details. I'd like to close this PR. We can always improve the report template in the future.


View Create Provider: Reference?

It is not specified what this should be?
(p. 59)

Provider should be a top level menu item "Create provider" on the left hand menu and analogue to "Create package" and "create title". There is some inconsistency in the concept (p. 59) right now regarding the labels "organisation" and "provider". For now, we should stick with "provider" and discuss the correct term later.

Needs to be discussed. This seems to be legacy from the old GOKb. "On hold" for now. @hornmo, do you think we can ignore this field? I see no real need for it.

Yes, this field has never really been used.


teachopencadd.utils error not found

I'm running T007 in colab.
This is what I get when I run this in a cell
!mamba env update -n base -f https://raw.githubusercontent.com/volkamerlab/TeachOpenCADD/master/devtools/other-conda-envs/users_env.yml

CondaHTTPError: HTTP 404 NOT FOUND for url https://raw.githubusercontent.com/volkamerlab/TeachOpenCADD/master/devtools/other-conda-envs/users_env.yml
Elapsed: 00:00.080724

Hi @arya-blip,
The URL does not exist anymore, you might be looking for:
https://github.com/volkamerlab/teachopencadd/blob/master/devtools/test_env.yml
Where did you find this deprecated URL? We need to make an update it seems, apologies.
Kind regards,
Dominique

Thanks for the reply @dominiquesydow. I am currently followig the codes from the talktorials and executing them in Google colab. Also, I search the issues for the same queries and followed some of the instructions. Thank you for the clarifications.


option bottom

Do the options opts` = {align={bottom=false},}  not work any longer?

No, I’ve completely changed the configuration schema.
Your question seems related to #146 so I’ll close this in favor of that


[BUG] BatchClient.JobOperations.CreateJob returns invalid

Library name and version
Microsoft.Azure.Batch version 16.0.0
Describe the bug

In portal, I can create a job under the Azure Batch account with a GUID name (satisfies naming rules in documentation)
When using BatchClient.JobOperations.CreateJob, I receive an exception hinting that the name is invalid.

Expected behavior
Expect to create a job with a valid name.
I have tried a GUID string and a simple alpha string.
Actual behavior
System.FormatException: The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.
Creating job [751fd55e-943e-43fb-9e35-7cde3cc607e8]...
[12:46:36 ERR] Task creation or batch process failed!
System.FormatException: The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.
   at System.Convert.FromBase64CharPtr(Char* inputPtr, Int32 inputLength)
   at System.Convert.FromBase64String(String s)
   at Microsoft.Azure.Batch.Protocol.BatchSharedKeyCredential.ProcessHttpRequestAsync(HttpRequestMessage httpRequest, CancellationToken cancellationToken)
   at Microsoft.Azure.Batch.Protocol.JobOperations.AddWithHttpMessagesAsync(JobAddParameter job, JobAddOptions jobAddOptions, Dictionary`2 customHeaders, CancellationToken cancellationToken)
   at Microsoft.Azure.Batch.Protocol.BatchRequestBase`2.ExecuteRequestWithCancellationAsync(Func`2 func)
   at Microsoft.Azure.Batch.Protocol.BatchRequestBase`2.ExecuteRequestAsync()
   at Microsoft.Azure.Batch.Protocol.BatchRequestBase`2.ExecuteRequestAsync()
   at Microsoft.Azure.Batch.ProtocolLayer.ProcessAndExecuteBatchRequest[TResponse](IBatchRequest`1 request, BehaviorManager bhMgr)
   at Microsoft.Azure.Batch.CloudJob.CommitAsync(IEnumerable`1 additionalBehaviors, CancellationToken cancellationToken)...

Reproduction Steps
Run the following code against a valid batch account. This method was based off of a method in this sample project.
        public async Task<string> CreateJobAsync(BatchClient batchClient, string appPackageId, string poolId)
        {
            // this can't exceed 64 characters.. which means we can't do poolId_appId_GUID....
            //var jobId = Guid.NewGuid().ToString(); // using this throws an error...
            //var cleanedId =jobId.Replace("-", ""); // this doesn't work and gives invalid job ID error too...
            var onlyAlphaCharJobId = "ifThisWorksIWillBeAngry"; // This still throws an exception
            Console.WriteLine("Creating job [{0}]...", onlyAlphaCharJobId);

            CloudJob job = batchClient.JobOperations.CreateJob(
                onlyAlphaCharJobId,
                new PoolInformation { PoolId = poolId }
                );

            await job.CommitAsync();

            return onlyAlphaCharJobId;
        }

Environment
Azure pkg version
Microsoft.Azure.Batch version 16.0.0
dotnet --info ouput
.NET SDK:
Version:   7.0.400
Commit:    73bf45718d
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.22621
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\7.0.400\
Host:
Version:      7.0.10
Architecture: x64
Commit:       a6dbb800a4

I also get this but when creating the pool:
Attempting to create pool: PoolTest
      Exception: The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.

root@6a34ca89015a:/app# dotnet --info

global.json file:
  Not found

Host:
  Version:      6.0.24
  Architecture: x64
  Commit:       e7b8488daf

.NET SDKs installed:
  No SDKs were found.

.NET runtimes installed:
  Microsoft.NETCore.App 6.0.24 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

I've solved it in my case by encoding the key in base64 before calling the BatchSharedKeyCredentials ctor.


⚠ Bofrost.fr has degraded performance

In ae5959a, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1924 ms

Resolved: Bofrost.fr performance has improved in 6e7503e after 13 minutes.


Uses Pydantic to describe datamodels, should this at a certain point move to a Django model?

Will be fixed with datamodel in Django