Improve demuxing GUI with more options for attachments

Hi Stax,
It will be nice to have a few more options in the demuxing window for Mkv & mp4  files.
Right now if we input a MKV file having an attachment as source in staxrip we extract the attachment to the temp folder automatically without even knowing about it unless looking to mediainfo for the file, for example a text file with comments will display like this in mediainfo :
Attachments : Some_File.txt
usually it displays the filename + extension , at least for what i could test.
In the case of a MP4 or mov file having a cover picture they are not extracted and we are not informed those are there, unless looking into mediainfo, there it will simply look like this :
Cover : Yes
it just says there is one cover, nothing more.
I don't know much about MKV's extraction so i cannot help much for those, for mp4's i use them often, the command to dump the cover picture from a MP4 is :
mp4box.exe  -dump-cover videoInput.mp4
Also while I'm at it to dump all tracks and the cover (if there is one) from a mp4 the command is :
mp4box -dump-cover -raw * inputfile.mp4
to dump a specific track it's
mp4box -raw TrackID inputfile.mp4
In case you want to test , for adding a cover to a MP4 you need this in mp4box :
-itags cover="picture.jpeg"  ( can be other formats of pictures too, not only jpeg)
Or for more easy testing in mp4 container set a switch with :
Add Cover = -itags cover="$browse_file$"  or Add Cover = -itags cover="$picture.jpeg$"
In case you want to combine cover + comments + encoder used for testing :
-itags cover="picture.jpeg":encoder="Staxrip %version%":comment="Some text comments"
Another interesting one is creation date :created="UTC 2015-07-19 07:52:02" to transpose the date of the original footage recorded to the encoded one but this is very specific uses.
Not sure how you do but if you are able to parse some stuff from mediainfo it could result in something like this , for mp4, mov (and probably a few other formats supported by mp4box ) :

for MKV's :

Pushing this further we could also import Comment & Description  often present in mediainfo fields into a text file to not loose them and re-import them back later either as attachment text file or tag for a MKV and for mp4's as a comment tag that we will need to add manually using this command :
-itags comments="some text comments"
I'm not sure how many people use comments in those containers but it's a easy way to keep track of some stuff in encoded videos.
I think i forgot nothing, probably did as always but overall this is the idea.
Thanks a lot again and sorry to bother you with more requests.
Edit : forgot to add this for mp4box, might serve in some case so there it is :
-dump-chap                 Extracts chapter file
-dump-chap-ogg       Extracts chapter file as OGG format

mpxbox -info inputfile.mp4 give a bit more infos about the cover file type in the itunes tags info part :
iTunes Info:
Name: Video Name
Comment:  some comment  ( apparently not uft8 output tho)
Created: 20170508
Encoder Software: Lavf57.72.101
Cover Art: JPEG File
or also this :
iTunes Info:
Encoded by: StaxRip <IP_ADDRESS>
Cover Art: PNG File
small variation between encoder software and encoded by but it detects the cover type of file apprently.
In mediainfo it correspond to this :
Movie name                           : Video Name
Description                             :  Some comments ( no issue wiht uft8 characters )
Recorded date                       : 20170508
Writing application              : Lavf57.72.101
Cover                                         : Yes
For what it is worth.

Hi,
I've implemented the MKV attachments in the demuxing GUI.
For the rest please create separate issues with only a single request per issue.

Thank you, will do a couple more for mp4, .mov covers and comments metadata extraction.
Thanks again.

Tested last version with MKV input, works perfectly, you make dreams come true, thanks a lot for this.


Fix Ubuntu 20.04

Switched from cloudinit via http to cd (was causing issues)
corrected hashed password
added more ram to support Subiquity better
changed boot_command to support iso

Thanks for the PR! Just trying to clarify:

What issues were you having with delivering the cloud-init payload over HTTP? This seems to be the preferred method
The hashed password should work correctly (and is PackerBuilt!) - just tested and its working. Were you having issues with the password?
RAM in the template should be enough - were you encountering issues, if so, what?

Hi @David-VTUK,

I agree with preferred methodology, however I isolated that change and it allowed setup to continue, I was watching the console in vSphere and it would just hang for hours.
I was reading another post about the new automated install system in 20.04 and it gave an example on how to rehash the password.
Added more RAM because that same doc page on ubuntu site comparing debian installer vs Subiquity required more RAM. I'm not terribly concerned with this as Rancher can configure the deployed nodes independently of this template definition. I can lower to 2GB if you like.

I also updated the ISO image as it was a 404  when I cloned the repo. Forgot to mention in the commit message.
What I do know, is it did not work "out of the box", I also added the variables template.
BTW, this is my first time using packer. It's pretty cool!

BTW, https://virtjo.com/2020/build-ubuntu-vm-with-packer-on-vsphere/ is the post I'm referring to which I copied some of the configs from.

@David-VTUK, please advise if I am doing something incorrect-- i'm using WSL2 to build images on-- all I know is switching from http cloudinit to ISO  worked.

@ElanHasson just a guess, but have you checked if your firewall is blocking incoming connections on the packer port?

Hi @LinAnt , 18.04 went fine which uses the packer ports :)
@David-VTUK-- SHA512 -- Like I stated, I only used what that link above said to do and it worked fine.
The ISO URL was also a 404, so I fixed that as well.
Happy to remove the cdrom change.

closing this in favor of the fix for iso 404 issue, in #17

To close the loop here I revisited my http vs iso for metadata..
Turns out it was due to me being in wsl2 and the port not being exposed to the VM 😅
Setting up a port forwarding rule on the windows side to the wsl2 interface made it all work like a charm.


Add Test suite for front-end codebase

It is important to implement the TDD methodology to ensure that the code is thoroughly tested before being added to the repository. This involves conducting Unit Tests, E2E Testing, and Integration Testing at each stage.
Reference: TDD Approach

I would like to work on this issue. please assign this issue to me.

Hey @Atrika10, can I also collaborate with this issue?

To solve this we need to have a knowledge of Jest (Jest is a JavaScript testing framework designed to ensure the correctness of any JavaScript codebase.). It will take time to complete this issue.
currently, I'm unassigning myself from this issue.
If anyone is interested to work on this, you can take this issue.
Reference:
Thanks

Thanks @Atrika10 for sharing the required background knowledge for handling this Issue.
I would just like to mention, this is a great learning opportunity for anyone looking to broaden their front end Development knowledge base, as it includes the TDD approach for JS.

Hey @SID262000, I started learning JS and Jest. But right now, I am not clear what to test. Like should I test the html element?
or just write a test?

To the best of my knowledge, JEST is used to check the JS code, not really sure if it helps check HTML as well.
Action item would be to start with unit tests for each module(javascript code) and test it.

But there is no javascript code here

Strange!

Would figure out a way to generate code coverage report for frontend .
Cc: @SID262000

@SID262000 The Pull request has been merged. So we can close the issue right?

Yes, Thanks

Successfully added the test suites for front-end codebase, now it's better to close this issue.
Cc: @SID262000


Dummy task

Ability to create an already completed Task with something like Task::completed(...).
This would serve as a way to mock asynchronous functionality with synchronous code.
My specific use case is an interface which has to return a Task, but the actual code doesn't have a way to create said Task.
(I don't think this solution can be called sound, but it is what it is)
source
This is very much inspired by C#.

Is there any reason why you can't use async { my_value } as your future in this case?


Problems since update to v2.1.0

Hi,
Since updating to v2.1.0, I have a few issues that I can't seem to work around, and I was wondering if you could check whether I'm doing something odd in my code.
I've created a jsFiddle to try and reproduce the issues that I'm having: http://jsfiddle.net/JonKnight/g6y0njrc/
When you first run it, and click on the 'Show Dialog' button, the js rebinds the image, and tries to set the zoom factor to 1.0.  However, this seems to leave the image at the top left of the container, rather than centering it.  As soon as you change the slider, the image is repositioned correctly.
Is there something I can do to get it to center correctly?
On the jsFiddle, I tried to set the enableOrientation option, but when I do, the image isn't displayed.  I'm wasn't sure whether this was due to CORS issues on the canvas, so I tried referencing a file in an Azure blob store, and have set the AllowedOrigins on the blob storage container to '*', but it still doesn't get displayed.  This isn't an issue with my normal use of croppie, but I wondered if you knew what the problem was.
Finally, this is actually another feature request for the rotation, but is it possible to set the origin of the rotation to the center-point of the container?  Currently, if you center and zoom the image so that it fits the viewport, and then rotate, the portion of the image that you centered can end up completely outside the viewport.
Thanks.

Just wanted to say thanks for submitting a jsfiddle.  It's so much easier to debug these issues with examples.  I'm looking at the issues right now.

That's no problem.  Whenever something doesn't work, my first line of investigation is always 'I must have done something wrong', so I find creating a jsFiddle to try and remove as many of the other factors involved is always a useful first step!

Haha - the world could use more developers like you!
The problem was the first time you called bind() the croppie wasn't visible, so you were correctly calling bind again when your modal was shown.
However, croppie didn't refresh the center point when you called bind the second time without any parameters.  So when you called setZoom it was zooming to the top left of the image which shifted it that direction.  Good catch on this!
I'm looking at the enable orientation bug now.

Wow! That is impressively fast fixing - thanks!

Ok, both the issues you found are now resolved in master.  Thanks for catching those.
As far as the feature request, that one gets a little more tricky.  However, I agree with the need for it.
I have a rough idea of how it could be implemented:  I think after we redraw the canvas with the new orientation, we need to update the transform-origin.
So if we had a 200x100 image, and we were zoomed in on the center point of 150,50 (transform-origin: 150px 50px).  Then we rotate that image 90 degrees, our new image dimensions are 100x200.  Our new would then be transform-origin: 50px 150px (inverting the x and y).  That's how it would work in my mind.  I'm sure there are some flaws to it, but that would be a good start.
I don't have the time to get to it right now.  I know we have some development coming up in the future that would require this functionality to be ironed out a bit, but I'm not sure when that's scheduled.
If you want to submit a PR, we'd be more than happy to merge it in.

I had a similar problem with initial image position and maybe it is related with that one.
When image loads has this style:
-webkit-transform: translate3d(-28.50000046477921px, -454.33333444880344px, 0px) scale(0.7389162561576355);
And should be around -100 instead -454. I can't see any image until I change the slider.
Besides I already downloaded the plugin through bower and the croppie.js is different.
Is that ok?
The problem is on desktop and mobile as well.

@erperejildo are you still having problems?  If so - could you open up a separate case and put a more detailed explanation.  I may be able to help then.
I'm going to close this case and open another one for the rotation around the center of the image.

Apologies for the delay. Was fixed


fix(plugins/plugin-kubectl): "get ingress" failed with resource type not found

Fixes #7387

Description of what you did:

My PR is a:

[ ] 💥 Breaking change
[x] 🐛 Bug fix
[ ] 💅 Enhancement
[ ] 🚀 New feature

Please confirm that your PR fulfills these requirements

[x] Multiple commits are squashed into one commit.
[x] The commit message follows Conventional Commits, which allows us to autogenerate release notes; e.g. fix(plugins/plugin-k8s): fixed annoying bugs
[x] All npm dependencies are pinned.

could we add a test, e.g. kubectl get ComponentStatus ?

/lgtm


Email sending Kitura

Is it possible to send email using Kitura? If so, how?
Many thanks!
Giacomo

Hi @GiacomoLeopizzi
We are working on an SMTP client, which we hope to release soon :)

How soon is soon :) ?

@GiacomoLeopizzi
No guarantees, but we are hoping for next week due a last issue bug that needs fixing. How soon do you need it?

@youming-lin Actually as soon as possible. We used another library but on stress test it crashes because of some force-unwrapping... It's so annoying ;)

@GiacomoLeopizzi
I'll ask my team and see if we can release it sooner. Unfortunately, we haven't stress-tested our package either, but we are definitely willing to fix any bugs found.

@GiacomoLeopizzi Swift-SMTP has been released. Please let us know of any issues you come across!

@quanvo87 @youming-lin  Thank you so much!


feat: 🎸 enable unscoped custom claims and fix get scopes

Description

if middleware is enabled then claims.getClaimScopes will query middleware for CustomClaim scopes
enables CustomClaim without a scope

JIRA Link
https://polymesh.atlassian.net/browse/DA-1320
https://polymesh.atlassian.net/browse/DA-1358

:tada: This PR is included in version 26.2.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 26.2.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 26.2.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 26.2.0 :tada:
The release is available on:

npm package (@release-v26 dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


It is cool but its local push notification has only 5?

Hello
I appreciate your cool work,but I have question.
I think it has only 5 local push notification allowed.
Is it possible to extend the possible push notification number from 5 to many?

Hi mmspacediagonal,
You can change max notification number by setting MaxRegisterNum at AndroidLocalNotification.cs.
But if so many number of notification you set(like 100 or more), I think it will denied by os.


All right one more bug

the config will show the translate title

Fixed. Also added "Clear slot" button, improved buttons style, fixed empty slot editing. Now if you changed language and reloaded page, dropdown shows correct current language.
Still a lot of work to do and if you have any ideas for new features, feel free to open new issue. I added new label "feature wanted" for this


Switch build script from shell commands to JavaScript

Using shell features for the build script is extremely brittle and non-portable. I am only able to test the code on Linux, and do not want to accidentally break it for Windows users.
Porting the current build commands in package.json to a JavaScript build script instead would be much appreciated.

As an example, it seems on windows the build script is currently broken because copy-and-watch --watch 'src/**/!(*.{mts,ts,tsx})' is trying to read from a folder called 'src, and I think the quotes are needed to avoid shell expansion in bash


[CHANGE ME] Re-generated to pick up changes from self.

This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/a56f6494-efef-4a18-b28a-f781980ed040/targets

[ ] To automatically regenerate this PR, check this box.

Nope.


Blacklist false positives

The url https://etherscamdb.info/api/blacklist has a lot of false positives:
output.jsbin.com
play.google.com
huobipro.com
www.instagram.com
www.medium.com
gmail.com
twitter.com
ethonline.io
geocities.ws
user-images.githubusercontent.com
instagram.com
telegra.ph
www.huobipro.com
www.t.me
t.me
www.gmail.com
about.me
plus.google.com
docs.google.com
www.twitter.com
jsfiddle.net
etherzero.org
medium.com
www.plus.google.com
www.geocities.ws

Hi @emiliocini - thanks for the report. We have also come across this and should have an update out soon to address this - will ping this issue when we put it to production

There may be some of distinct cases for the coverage of blacklisting

Whole Root domain
Partiucular subdomain like Tumblr, blogger, form services
Specific URL, Twitter short URL, open Google drive files
with or without www
You should define them for other interfaces and notations also.


add retry to push job during deploy phase Signed-off-by: Andre Elizondo<EMAIL_ADDRESS>

Merging under obvious fix policy


E2: Add basic Unicode (UTF-8) functionality

Being unable to paste (and even work) with Unicode characters in E2 code/editor...
I'd like to introduce a couple of new E2 functions to fight this limitation.
Added 3 new E2 functions based on GLua's utf8 library.
This should be a must-have minimum, to make UTF-8 support, at least barebone working for E2 users.

@CaptainPRICE it sounds like this is two separate issues - Unicode handling in the E2 editor itself, and allowing E2 scripts to correctly handle Unicode strings. This issue starts with describing the first issue, and #1888 is addressed at the second issue. Is that a reasonable summary of the situation here?

Yeah, I started with such a speak, because its just to describe the situation. Despite it could be interpreted as 2 separate issues. This one is for enhancing E2 unicode functionality (not the editor), both labels and title are tagged to keep it clear.
At first I didn't know there were already 3 functions for this in E2 (follow up the PR), so it turned into enhancing/improving this particular functionality (API).
Anyways, it is easier to combat this issue using E2 functions than making Editor support unicode...

Anyways, it is easier to combat this issue using E2 functions than making Editor support unicode...

As I said, these are two entirely separate issues.


[Draft WiP] Move op processing control and tracking to container level

[Draft PR created to run CI builds and PoC, not for review]

Open up ContainerOpController interface on Container to provide knobs to control op processing. The goal here is to no longer expose the entire deltaManager but instead the containerOpController instead with IContainerOpController interface from IContainer
Refactor ContainerLoaderTracker to instead use the containerOpController from each container to control them across all containers created from a given loader

@skylerjokiel do you know what the purpose of this was going to be?  Is there a related issue or something so we can close this without losing track of whatever he was getting at here?


integration_test.go should generate the S3 bucket at runtime

Currently, the bucket is hard-coded to an S3 bucket in the Gruntwork AWS account. This means no contributors can run the test without making (non-obvious) changes locally.
To fix this issue, the test should be updated to:

Create a randomly named S3 Bucket
Generate a new .terragrunt file with the new S3 Bucket Name
Run the test
Delete all files in the S3 Bucket
Delete the S3 Bucket

In the meantime, here's how you can manually validate the tests. I would make these changes locally but do not commit them:

Update the .terragrunt file to specify an S3 Bucket you do have access to.
Update the const values in integration_test.go with your S3 Bucket name and region.

If the tests pass, submit your PR, our CI job's tests should pass with the S3 bucket name as listed, and then we can merge.

Fixed via #55.


running abort

When I running this py using python3  in vscode terminal , I have a trouble , so I search no result. , please help

Something wrong with your driving video. Try another one.


Publish to Open VSX

Since this repo is already open source, it would be nice if this extension could be also published to Open VSX. Here's the procedure.
This would benefit other IDEs such as SAP BAS or Gitpod since they're based on Eclipse Theia which can handle extensions (officially) only from the Open VSX registry and also an open source build of VSCode called VSCodium.

Thanks for the suggestion!
The extension is now published:
https://open-vsx.org/extension/carlosorozcojimenez/ui5-tools
Btw, I have not tested it outside vscode itself.


SSHD server is running but Connection refused on WSL

I have done everything I could do, with this document help
https://superuser.com/questions/1111591/how-can-i-ssh-into-bash-on-ubuntu-on-windows-10/1114162#1114162
I had apt remove --purge openssh-server and install this.
But when I full-restart sshd, the process is running

And the process is running in windows too.

But I can't find the port bind in netstat -a, my port is set to 2222
this is TCPView's result

I have added the rule in my windows firewall (I am Chinese :P)

And also added the rule in my antivirus's IP connection controller

BUT！！！

this is when I use < /usr/sbin/sshd -d > show me the log.

this is my conf

I have no idea about this...
sssssome one can help me ?  _(:з」∠)_
！！（╯' - ')╯︵ ┻━┻      Overturned the table
┬─┬ ノ( ' - 'ノ)              Take it back.
.
..
...
....
(╯°Д°)╯︵ ┻━┻    AND DO IT AGAIN !!!
emm.. my English is not really good, never mind the syntax error  ╮(╯_╰)╭, and thank your help.

Please mind your language, I have edited your post to remove the offending word.

@benhillis Ohh, sorry, I'm first push issue in github, don't know the rule.

Ohh, sorry, I'm first push issue in github, don't know the rule.

或者在官话中说话，所以他们不知道。😉
This looks a lot like #1554. There is also some Chinese speakers over there who might be able to help. Good luck.

Come on @therealkenc ! You of all people?
https://www.bing.com/translator/?&text=或者在官话中说话，所以他们不知道&from=zh-CHT&to=en

Give up...

@DDoSolitary 全部都关掉，还有添加准许通过的端口都试过，都不行，我已经放弃了 ㄟ( ▔, ▔ )ㄏ

@Brandon-Xu 嘛，走好。。讲道理就目前来说WSL跑服务器相关功能还是不太合适啊。。毕竟不能后台进程。。

@DDoSolitary 嗯，但是额外开个虚拟机么有感觉浪费资源，蓝瘦，我只是想搭个速度快一点的家庭文件夹共享而已，想用ssh挂载成磁盘的方式，现在只能凑合用smb了，慢的丫皮。

连上倒是能连上，但是过好久才反应过来，速度有点慢。。。
话说你是1703版的吗？

@nanhuayu 是的呀

@Brandon-Xu 之前的版本升级到Ubuntu 16.04管理员权限好像还可以用，这个版本好像延迟很严重。。。并不知道原因。。。很快秋季red stone 3出来了，希望能好用一点😉

@nanhuayu 我已经 give up 了，烦死了 ㄟ( ▔, ▔ )ㄏ，已经过了喜欢瞎J8折腾的年纪

看这个网页还是蛮有希望的，虽然没有修复的bug还是少折腾。。。https://msdn.microsoft.com/zh-cn/commandline/wsl/release_notes

@nanhuayu 我的家庭云盘计划就指望这个了呀！！！(┬＿┬)

对了，你的电脑在升级之后是否有过重置所有文件的操作？
升级之后会造成很多驱动无法正常工作。。。
我的ssh虽然缓慢，但确实能够使用。
而且也有人有过同样经历。。。
https://github.com/Microsoft/BashOnWindows/issues/1554

@nanhuayu 没有，我电脑自己做了很多设置的（洁癖），重置了又一大堆东西要重新设置，这个#issue我那时候看过，卸了tcp还是不行，哎，然后就放弃了，要我重置是不可能的，这辈子不想再把软件一个个安装一遍……

I reset-ed windows, at the same time upgraded to Fall Creators and it works now!
on bash:
$ nc -l <IP_ADDRESS> 4444
on powershell:
netstat -a -n -q | findstr "4444"
TCP <IP_ADDRESS>:4444 <IP_ADDRESS>:0 LISTENING

I reset-ed windows, at the same time upgraded to Fall Creators and it works now!

Let's call this TDI filter driver grief per #1554 (message).

@Brandon-Xu
I have an alternative solution for your reference.
I got this same issue on my PC yesterday, and could not find any solution for about 24 hours.
Then I realized that "git bash" on Windows has an "sshd" in it, so I tried to copy those 8 key files (/etc/ssh/ssh_host*) from WSL to /etc/ssh directory of "git bash", and then execute "/usr/bin/sshd" on "git bash". Now this sshd can got 22 port (or 2222 port if you set it in /etc/ssh/sshd_config), and I can ssh to my PC from my Mac laptop, and even scp files from/to my PC.
Btw, you can get git client for Windows from https://git-scm.com/ . After install it, you will get a "git bash".
Enjoy!
Jim

虽然不知道你的问题到底是啥样的，但是建议你删除各种游戏加速器和TGP（腾讯的那个）以及TGP的新版本WEGAME

I have the same problem,so what's the solution?一点法子么的

Is there a solution to use native sshd without doing sudo service ssh --full-restart before connection?
I use binding to port 2200. After a restart with mentioned command connection works right.


Add  punctuation feature for readability

Right now, there's no punctuation, but we have the punctuation feature.

In content-script.ts, enable the punctuate feature.

Can I take this one?

@meg-gutshall yep!


"execute cannot be used while an asynchronous query is underway", when use it in gevent greenlets

How can I fix it?

Django 1.6.5
>>> from django.db import connection
>>> cursor = connection.cursor()
>>> import gevent
>>> gevent.joinall([gevent.spawn(cursor.execute, 'SELECT pg_sleep(1)'), gevent.spawn(cursor.execute, 'SELECT pg_sleep(1)'), gevent.spawn(cursor.execute, 'SELECT pg_sleep(1)'), gevent.spawn(cursor.execute, 'SELECT pg_sleep(1)')])
Traceback (most recent call last):
  File "/home/viatoriche/Dropbox/coding/envs/onetrak/local/lib/python2.7/site-packages/gevent/greenlet.py", line 327, in run
    result = self._run(*self.args, **self.kwargs)
  File "/home/viatoriche/Dropbox/coding/envs/onetrak/local/lib/python2.7/site-packages/django/db/backends/util.py", line 69, in execute
    return super(CursorDebugWrapper, self).execute(sql, params)
  File "/home/viatoriche/Dropbox/coding/envs/onetrak/local/lib/python2.7/site-packages/django/db/backends/util.py", line 51, in execute
    return self.cursor.execute(sql)
  File "/home/viatoriche/Dropbox/coding/envs/onetrak/local/lib/python2.7/site-packages/django_psycopg2_pool-0.1.1-py2.7.egg/django_psycopg2_pool/gevent/base.py", line 57, in execute
    return self.cursor.execute(query, args)
DatabaseError: execute cannot be used while an asynchronous query is underway
<Greenlet at 0x7fd22eb9c5f0: <bound method CursorDebugWrapper.execute of <django.db.backends.util.CursorDebugWrapper object at 0x7fd22eba3e90>>('SELECT pg_sleep(1)')> failed with DatabaseError

Traceback (most recent call last):
  File "/home/viatoriche/Dropbox/coding/envs/onetrak/local/lib/python2.7/site-packages/gevent/greenlet.py", line 327, in run
    result = self._run(*self.args, **self.kwargs)
  File "/home/viatoriche/Dropbox/coding/envs/onetrak/local/lib/python2.7/site-packages/django/db/backends/util.py", line 69, in execute
    return super(CursorDebugWrapper, self).execute(sql, params)
  File "/home/viatoriche/Dropbox/coding/envs/onetrak/local/lib/python2.7/site-packages/django/db/backends/util.py", line 51, in execute
    return self.cursor.execute(sql)
  File "/home/viatoriche/Dropbox/coding/envs/onetrak/local/lib/python2.7/site-packages/django_psycopg2_pool-0.1.1-py2.7.egg/django_psycopg2_pool/gevent/base.py", line 57, in execute
    return self.cursor.execute(query, args)
DatabaseError: execute cannot be used while an asynchronous query is underway
<Greenlet at 0x7fd22eb9c050: <bound method CursorDebugWrapper.execute of <django.db.backends.util.CursorDebugWrapper object at 0x7fd22eba3e90>>('SELECT pg_sleep(1)')> failed with DatabaseError

Traceback (most recent call last):
  File "/home/viatoriche/Dropbox/coding/envs/onetrak/local/lib/python2.7/site-packages/gevent/greenlet.py", line 327, in run
    result = self._run(*self.args, **self.kwargs)
  File "/home/viatoriche/Dropbox/coding/envs/onetrak/local/lib/python2.7/site-packages/django/db/backends/util.py", line 69, in execute
    return super(CursorDebugWrapper, self).execute(sql, params)
  File "/home/viatoriche/Dropbox/coding/envs/onetrak/local/lib/python2.7/site-packages/django/db/backends/util.py", line 51, in execute
    return self.cursor.execute(sql)
  File "/home/viatoriche/Dropbox/coding/envs/onetrak/local/lib/python2.7/site-packages/django_psycopg2_pool-0.1.1-py2.7.egg/django_psycopg2_pool/gevent/base.py", line 57, in execute
    return self.cursor.execute(query, args)
DatabaseError: execute cannot be used while an asynchronous query is underway
<Greenlet at 0x7fd22eb9c4b0: <bound method CursorDebugWrapper.execute of <django.db.backends.util.CursorDebugWrapper object at 0x7fd22eba3e90>>('SELECT pg_sleep(1)')> failed with DatabaseError

I must use DatabaseConnectionPool.execute instead of cursor.execute for all execute, but I don't know how do it in django ORM


IE 9  :  the grid is empty after a reload of gridOptions.data

Hello,
Only under IE9, there is a bug that doesn't show the rows after refreshing the gridOptions.data
Here the fiddle  :  http://jsfiddle.net/bar247uk/4/
Steps to follow :
Scroll to the bottom of the grid and then click on the button above the grid to reload data.
The elements are not visible, you have to move a bit the scrollbar and the rows appears.
This bug is present on the NG-Grid also.
If you could give me a quick fix waiting a fix in a next release, i will really appreciate it.
Thanks

Here a quick fix on RC19:
line 5072
container.adjustRows(null, container.prevScrolltopPercentage, true);
container.adjustColumns(null, container.prevScrollleftPercentage);
container.grid.element.find('.ui-grid-viewport').scroll(); // the fix

Here a quick fix on RC19:
line 5072
container.adjustRows(null, container.prevScrolltopPercentage, true);
container.adjustColumns(null, container.prevScrollleftPercentage);
container.grid.element.find('.ui-grid-viewport').scroll(); // the fix

I wonder whether it's in the way you're defining your data.  I see a lot of people having problems when they replace the array in the way you're doing, as the grid is actually watching the array reference if you define in that way.
If you change the logic as attached: http://jsfiddle.net/5oseu2ys/ I think you may get a better result (I don't have IE to test on).

Solution provided that may resolve it, no comment for 3 weeks, closing, please re-raise or reopen if this is still occurring.


Link to Picnic's Error Prone Support documentation based on OnlineDocumentation

As discussed on #47 , this now links the external docs for additional context, as that shows a diff of before and after that might be helpful for users to go over as well, and gives credit there.
cc @rickie

Amazing 🚀 !


[SRCDS] AMP doesn't detect when GMOD has started

Build/Version:  Nightly, tested on the most recent build when this was posted
Which Module?:  SRCDS
Date: 13/10/2017
What occurred?: AMP doesn't appear to recognise when a GMOD server has been initialized and continues to display the abort button. The abort button has no function and does nothing meaning the server process has to be manually closed. I've observed that AMP may not have connected to RCON through the log and that previous builds have displayed errors processing the StartupComplete message handler
Log output:
[16:06:56] [Core:System Debug]    : Release spec: Nightly - built by CUBECODERS/BuildBot on CCL-DEV
[16:06:56] [Core:System Info]     : Running in a QEMU_KVM environment.
[16:06:56] [Core:System Info]     : OS: Linux / x86_64
[16:06:56] [Core:System Info]     : AMP Instance ID: d51dcc6c-6f35-4185-aa18-e7f8498b9846
[16:06:56] [WebServer:System Debug] : Using webroot: /home/amp/.ampdata/instances/nexgenrp/WebRoot/
[16:06:56] [ModuleLoader:System Info] : Loading Module: srcdsModule
[16:06:56] [ModuleLoader:System Info] : Loaded srcdsModule version <IP_ADDRESS>
[16:06:56] [ModuleLoader:System Info] :  - Author: CubeCoders Limited
[16:06:56] [ModuleLoader:System Info] :  - For Source Dedicated Server application.
[16:06:56] [ModuleLoader:System Info] :  - Does not support sleeping.
[16:06:56] [Scheduler:System Debug] : srcdsModule registered event PlayerChats (A player sends a chat message)
[16:06:56] [Scheduler:System Debug] : srcdsModule registered event UserJoins (A player joins the server)
[16:06:56] [Scheduler:System Debug] : srcdsModule registered event UserLeaves (A player leaves the server)
[16:06:56] [Scheduler:System Debug] : srcdsModule registered event UpdateAvailable (An update is available)
[16:06:56] [Scheduler:System Debug] : srcdsModule registered task Start
[16:06:56] [Scheduler:System Debug] : srcdsModule registered task Stop
[16:06:56] [Scheduler:System Debug] : srcdsModule registered task Restart
[16:06:56] [Scheduler:System Debug] : srcdsModule registered task Kill
[16:06:56] [Scheduler:System Debug] : srcdsModule registered task Update
[16:06:56] [Scheduler:System Debug] : srcdsModule registered task Say
[16:06:56] [ModuleLoader:System Info] : Loading Plugin: BannerImagePlugin
[16:06:56] [ModuleLoader:System Info] : Loaded BannerImagePlugin version <IP_ADDRESS>
[16:06:56] [ModuleLoader:System Info] :  - Author: CubeCoders Limited
[16:06:56] [Scheduler:System Debug] : BannerImagePlugin registered event ImageUpdated (The status image has been updated.)
[16:06:56] [ModuleLoader:System Info] : Loading Plugin: EmailSender
[16:06:56] [ModuleLoader:System Info] : Loaded EmailSender version <IP_ADDRESS>
[16:06:56] [ModuleLoader:System Info] :  - Author: CubeCoders Limited
[16:06:56] [Scheduler:System Debug] : EmailSender registered task SendMail
[16:06:56] [ModuleLoader:System Info] : Loading Plugin: FileManager
[16:06:56] [ModuleLoader:System Info] : Loaded FileManager version <IP_ADDRESS>
[16:06:56] [ModuleLoader:System Info] :  - Author: CubeCoders Limited
[16:06:56] [ModuleLoader:System Info] : Loading Plugin: PushBulletPlugin
[16:06:56] [ModuleLoader:System Info] : Loaded PushBulletPlugin version <IP_ADDRESS>
[16:06:56] [ModuleLoader:System Info] :  - Author: CubeCoders Limited
[16:06:56] [Scheduler:System Debug] : PushBulletPlugin registered task PushMessage
[16:06:56] [Scheduler:System Debug] : PushBulletPlugin registered task PushMessageChannel
[16:06:56] [ModuleLoader:System Info] : Loading Plugin: LocalFileBackupPlugin
[16:06:56] [FileBackup:System Debug] : Read manifests for 0 backups.
[16:06:56] [FeatureManager:System Debug] : LocalFileBackupPlugin registered feature BackupProvider
[16:06:56] [ModuleLoader:System Info] : Loaded LocalFileBackupPlugin version <IP_ADDRESS>
[16:06:56] [ModuleLoader:System Info] :  - Author: CubeCoders Limited
[16:06:56] [Scheduler:System Debug] : LocalFileBackupPlugin registered event TakeBackupComplete (A backup finishes archiving.)
[16:06:56] [Scheduler:System Debug] : LocalFileBackupPlugin registered event RestoreBackupComplete (A backup finishes restoring.)
[16:06:56] [Scheduler:System Debug] : LocalFileBackupPlugin registered task TakeBackup
[16:06:56] [ModuleLoader:System Info] : srcdsModule requests dependency steamcmdplugin...
[16:06:56] [ModuleLoader:System Info] : Loading Plugin: steamcmdplugin
[16:06:57] [FeatureManager:System Debug] : steamcmdplugin registered feature Steamcmdhelper
[16:06:57] [ModuleLoader:System Info] : Loaded steamcmdplugin version <IP_ADDRESS>
[16:06:57] [ModuleLoader:System Info] :  - Author: CubeCoders Limited
[16:06:57] [Scheduler:System Debug] : steamcmdplugin registered event UpdateAvailable (An update is available)
[16:06:57] [Scheduler:System Debug] : steamcmdplugin registered task CheckForUpdates
[16:06:57] [ModuleLoader:System Info] : srcdsModule requests dependency RCONPlugin...
[16:06:57] [ModuleLoader:System Info] : Loading Plugin: RCONPlugin
[16:06:57] [ModuleLoader:System Info] : Loaded RCONPlugin version <IP_ADDRESS>
[16:06:57] [ModuleLoader:System Info] :  - Author: CubeCoders Limited
[16:06:57] [Core:System Info]     : Licence Present: AMP Professional Edition (Licenced to Jacob Shanks)
[16:06:57] [WebServer:System Info] : Webserver started on <IP_ADDRESS>:8081
[16:06:57] [WebServer:System Info] : RouterTimer@10Hz with 2 jobs started
[16:06:57] [Scheduler:System Debug] : Scheduler timer will start in 2790ms.
[16:08:20] [Auth:Anonymous Activity] : Authentication attempt for user FlashDeviant from <IP_ADDRESS>
[16:08:20] [Auth:FlashDeviant Activity] : Authentication success
[16:08:56] [API:FlashDeviant Activity] : Starting the application.
[16:08:57] [srcds:FlashDeviant Debug] : UDP logger listener started on <IP_ADDRESS>:33932
[16:08:57] [Core:FlashDeviant Debug] : Starting process ./srcds/4020/srcds_run
[16:08:57] [Core:FlashDeviant Debug] : Working Directory: ./srcds/4020
[16:08:57] [Core:FlashDeviant Debug] : Arguments: -game garrysmod -console -usercon +sv_pure 1 +map rp_downtown_v4c_v2 +maxplayers 60 +rcon_password e9122bb0973a4bbb99900bc70c8b57a4 -ip <IP_ADDRESS> -port 27015 +log on +logaddress_add <IP_ADDRESS>:33932 +host_workshop_collection 681071648 -authkey 9EDB03900A64D18FA9F2DC514E23FF5C +gamemode darkrp
[16:08:57] [Core:FlashDeviant Debug] : Started process with ID 9273

Nightly come with absolutely no support.
See: https://github.com/CubeCoders/AMP/wiki/How-to%3A-Installing-AMP-on-Linux

The issue applies to the current stable build as well, but I was asked to place this here

Ok

Can anyone reproduce this issue in the current 1.5 release build?

i can reproduce
[03:37:22] [Core:System Info]     : Starting AMP version <IP_ADDRESS>, built 02/11/2017 13:53
[03:37:22] [Core:System Debug]    : Release spec: Release - built by CUBECODERS/BuildBot on CCL-DEV
[03:37:22] [Core:System Info]     : OS: Linux / x86_64
[03:37:22] [Core:System Info]     : AMP Instance ID: f2d42644-4cc5-4720-ab6c-68ea757cdb21
[03:37:22] [WebServer:System Debug] : Using webroot: /home/AMP/.ampdata/instances/Gmod/WebRoot/
[03:37:22] [ModuleLoader:System Info] : Loading Module: srcdsModule
[03:37:22] [ModuleLoader:System Info] : Loaded srcdsModule version <IP_ADDRESS>
[03:37:22] [ModuleLoader:System Info] :  - Author: CubeCoders Limited
[03:37:22] [ModuleLoader:System Info] :  - For Source Dedicated Server application.
[03:37:22] [ModuleLoader:System Info] :  - Does not support sleeping.
[03:37:22] [Scheduler:System Debug] : srcdsModule registered event PlayerChats (A player sends a chat message)
[03:37:22] [Scheduler:System Debug] : srcdsModule registered event UserJoins (A player joins the server)
[03:37:22] [Scheduler:System Debug] : srcdsModule registered event UserLeaves (A player leaves the server)
[03:37:22] [Scheduler:System Debug] : srcdsModule registered event UpdateAvailable (An update is available)
[03:37:22] [Scheduler:System Debug] : srcdsModule registered task Start
[03:37:22] [Scheduler:System Debug] : srcdsModule registered task Stop
[03:37:22] [Scheduler:System Debug] : srcdsModule registered task Restart
[03:37:22] [Scheduler:System Debug] : srcdsModule registered task Kill
[03:37:22] [Scheduler:System Debug] : srcdsModule registered task Update
[03:37:22] [Scheduler:System Debug] : srcdsModule registered task Say
[03:37:22] [ModuleLoader:System Info] : Loading Plugin: BannerImagePlugin
[03:37:22] [ModuleLoader:System Info] : Loaded BannerImagePlugin version <IP_ADDRESS>
[03:37:22] [ModuleLoader:System Info] :  - Author: CubeCoders Limited
[03:37:22] [Scheduler:System Debug] : BannerImagePlugin registered event ImageUpdated (The status image has been updated.)
[03:37:22] [ModuleLoader:System Info] : Loading Plugin: EmailSender
[03:37:22] [ModuleLoader:System Info] : Loaded EmailSender version <IP_ADDRESS>
[03:37:22] [ModuleLoader:System Info] :  - Author: CubeCoders Limited
[03:37:22] [Scheduler:System Debug] : EmailSender registered task SendMail
[03:37:22] [ModuleLoader:System Info] : Loading Plugin: FileManager
[03:37:22] [ModuleLoader:System Info] : Loaded FileManager version <IP_ADDRESS>
[03:37:22] [ModuleLoader:System Info] :  - Author: CubeCoders Limited
[03:37:22] [ModuleLoader:System Info] : Loading Plugin: PushBulletPlugin
[03:37:22] [ModuleLoader:System Info] : Loaded PushBulletPlugin version <IP_ADDRESS>
[03:37:22] [ModuleLoader:System Info] :  - Author: CubeCoders Limited
[03:37:22] [Scheduler:System Debug] : PushBulletPlugin registered task PushMessage
[03:37:22] [Scheduler:System Debug] : PushBulletPlugin registered task PushMessageChannel
[03:37:22] [ModuleLoader:System Info] : Loading Plugin: LocalFileBackupPlugin
[03:37:23] [FileBackup:System Debug] : Read manifests for 0 backups.
[03:37:23] [FeatureManager:System Debug] : LocalFileBackupPlugin registered feature BackupProvider
[03:37:23] [ModuleLoader:System Info] : Loaded LocalFileBackupPlugin version <IP_ADDRESS>
[03:37:23] [ModuleLoader:System Info] :  - Author: CubeCoders Limited
[03:37:23] [Scheduler:System Debug] : LocalFileBackupPlugin registered event TakeBackupComplete (A backup finishes archiving.)
[03:37:23] [Scheduler:System Debug] : LocalFileBackupPlugin registered event RestoreBackupComplete (A backup finishes restoring.)
[03:37:23] [Scheduler:System Debug] : LocalFileBackupPlugin registered task TakeBackup
[03:37:23] [ModuleLoader:System Info] : srcdsModule requests dependency steamcmdplugin...
[03:37:23] [ModuleLoader:System Info] : Loading Plugin: steamcmdplugin
[03:37:23] [FeatureManager:System Debug] : steamcmdplugin registered feature Steamcmdhelper
[03:37:23] [ModuleLoader:System Info] : Loaded steamcmdplugin version <IP_ADDRESS>
[03:37:23] [ModuleLoader:System Info] :  - Author: CubeCoders Limited
[03:37:23] [Scheduler:System Debug] : steamcmdplugin registered event UpdateAvailable (An update is available)
[03:37:23] [Scheduler:System Debug] : steamcmdplugin registered task CheckForUpdates
[03:37:23] [ModuleLoader:System Info] : srcdsModule requests dependency RCONPlugin...
[03:37:23] [ModuleLoader:System Info] : Loading Plugin: RCONPlugin
[03:37:23] [ModuleLoader:System Info] : Loaded RCONPlugin version <IP_ADDRESS>
[03:37:23] [ModuleLoader:System Info] :  - Author: CubeCoders Limited
[03:37:23] [Core:System Info]     : Licence Present: AMP Network Standard Edition (Licenced to Sandro Geyer)
[03:37:23] [WebServer:System Info] : Webserver started on <IP_ADDRESS>:8081
[03:37:23] [WebServer:System Info] : RouterTimer@10Hz with 2 jobs started
[03:37:23] [Scheduler:System Debug] : Scheduler timer will start in 36870ms.
[03:37:42] [Auth:Anonymous Activity] : Authentication attempt for user admin from XX
[03:37:42] [Auth:admin Activity]  : Authentication success
[03:38:29] [Auth:Anonymous Activity] : Authentication attempt for user admin from XX
[03:38:29] [Auth:admin Activity]  : Authentication success
[03:38:32] [API:admin Activity]   : Starting the application.
[03:38:32] [srcds:admin Debug]    : UDP logger listener started on <IP_ADDRESS>:54406
[03:38:32] [Core:admin Debug]     : Starting process ./srcds/4020/srcds_run
[03:38:32] [Core:admin Debug]     : Working Directory: ./srcds/4020
[03:38:32] [Core:admin Debug]     : Arguments: -game garrysmod -console -usercon +sv_pure 1 +map ttt_portal2_coop +maxplayers 16 +rcon_password fb6bbfda08024edfa0d3011813ad0584 -ip <IP_ADDRESS> -port 27070 +log on +logaddress_add <IP_ADDRESS>:54406 +host_workshop_collection 421914034 -authkey 24712B977D0538EEA09EF91B8E7B3F9E +gamemode terrortown +sv_setsteamaccount AE00DBD84ED60E2784018D3A5005762D
[03:38:32] [Core:admin Debug]     : Started process with ID 27151

@PhonicUK looks like the same thing that is happening with The Forest and other similar games, they don't seem to run well in the background/as a service.

I've been looking at this - you must bind the srcds server to a specific external IP address. Using <IP_ADDRESS> or <IP_ADDRESS> won't work correctly. It's a limitation of the UDP logger that srcds uses.


Helm Chart for OpenStack Service LoadBalancer

What this PR does / why we need it:
This Helm Chart will deploy a Kubernetes LoadBalancer service openstack-lb for the OpenStack Cloud Controller Manager.
Which issue this PR fixes(if applicable):
none
Special notes for reviewers:
none
Release note:
Helm Chart for OpenStack Service LoadBalancer

/ok-to-test

Hi @eumel8, thanks for your contribution.
However, for this PR, I think it's a little bit overkill to use helm chart to create a Kubernetes resource. Helm chart is usually used for managing addons in Kubernetes cluster.


Avoid namespace context switch

Description
There are cases where the kubeconfig can be read only like when running
Kraken as a kubernetes deployment. This commit fixes the instances to
use -n flag instead of a namespace context switch.
Fixes
#132

@koflerm  PTAL.

Can one of the admins verify this patch?


Installation process does not describe install process

Start installation by step-by-step instruction and have error "Error 1049: Unknown database 'gogs'" in step https://gogs.io/docs/installation/configuration_and_run
Could you install Gogs by this instruction? Actually some steps is skip in docs.

Hi, https://gogs.io/docs/installation#install-database


fix(index): add missing . refactor(scss): replace relative node_modules path with ~ operator

What: Add missing </div> to index.html as it was causing async script loading at the end of the body tag to fail. Replace relative node_moldues paths with ~ operator is scss files.

Issue number: N/A

Codecov Report

Merging #483 into master will increase coverage by 0.18%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #483      +/-   ##
==========================================
+ Coverage   71.89%   72.08%   +0.18%
==========================================
  Files          64       64
  Lines         548      548
  Branches       34       34
==========================================
+ Hits          394      395       +1
+ Misses        144      143       -1
  Partials       10       10

Impacted Files
Coverage Δ

...tarter/src/app/core/animations/route.animations.ts
90% <0%> (+10%)
:arrow_up:

Continue to review full report at Codecov.

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

@alharto thank you for your contribution! As mentioned above the aliases we're removed for a reason so they will not be re-added for now. As for the div fix and scss, if it works for prod build we can do that!

@alharto thank you for your contribution! As mentioned above the aliases we're removed for a reason so they will not be re-added for now. As for the div fix and scss, if it works for prod build we can do that!

I've reverted that change

@alharto thank you! Just to make sure, did you try it locally with prod build and it was all running properly ?

@alharto thank you! Just to make sure, did you try it locally with prod build and it was all running properly ?

No worries thank you the starter project is great. Yes I ran the prod build and did a run through comparing against the live demo site everything looked good let me know if there are any issues if so I'll look at it ASAP.


Parametric Domain is not required

Objects loaded via API

that do not contain a parametric domain will not display on the builder page.

Add logic in BuilderView to delete object keys which have blank values (i.e. Parametric Domain in this case).


Running sanic api endpoints in different processes/workers

I have machine learning agents with own api endpoints. They need to keep state so just increasing workers does not work. Also sharing memory between different processes decreased performance. Is there a way to one worker process per blueprint?
Example:
I have 3 agents /api/a, /api/b, /api/c. All apis have own state so I can't have 3 workers that serve all of them. Instead I would like to have worker 1 for /api/1, worker 2 for /api/b and worker 3 for /api/c
I could use nginx or other but would this be doable purely in Sanic? Currently we have just 1 process and support for creating agents with api call.

Unfortunately I don't think there's a way to currently do this with pure Sanic.
Maybe this is the area for an extension?

Blueprints doesnt work when gunicorn has more than one worker.
Example : i have just one blueprint with prefix /api/ its @bp and also i have @app. when there is 1 worker it works correctly. but when you increase the worker count its failed. is there any workaround for this?
or we can try to make extension for this because its important when you want to use blueprints with multiple gunicorn workers.

when you increase the worker count its failed

What do you mean by that? Any details on how it failed?

blueprint_v1 = Blueprint('v1', url_prefix='api/v1') -- it works with sanic's built-in server.
...
...
if __name__ == '__main__':
    app.blueprint(blueprint_v1)
    app.run(host='<IP_ADDRESS>', port=5000, debug=True)

firstly i am using sanic.worker.GunicornWorker. sanic's built in server works well.
gunicorn --bind <IP_ADDRESS>:5000 --worker-class sanic.worker.GunicornWorker myweb:app
root      33715  8.0  0.7<PHONE_NUMBER>0 pts/4    S+   14:33   0:00 /usr/bin/python /usr/bin/gunicorn --bind <IP_ADDRESS>:5000 --worker-class sanic.worker.GunicornWorker myweb:app
root      33718  5.3  0.8<PHONE_NUMBER>4 pts/4    S+   14:33   0:00 /usr/bin/python /usr/bin/gunicorn --bind <IP_ADDRESS>:5000 --worker-class sanic.worker.GunicornWorker myweb:app

app output when using gunicorn
2017-06-14 14:39:46 - (sanic)[ERROR]: Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/sanic/app.py", line 461, in handle_request
    handler, args, kwargs, uri = self.router.get(request)
  File "/usr/lib/python3.6/site-packages/sanic/router.py", line 290, in get
    return self._get(request.path, request.method, '')
  File "/usr/lib/python3.6/site-packages/sanic/router.py", line 339, in _get
    raise NotFound('Requested URL {} not found'.format(url))
sanic.exceptions.NotFound: Requested URL /api/v1 not found

gunicorn error.log output
[2017-06-14 14:48:22 +0300] [34000] [INFO] Starting gunicorn 19.7.1
[2017-06-14 14:48:22 +0300] [34000] [INFO] Listening at: http://<IP_ADDRESS>:5000(34000)
[2017-06-14 14:48:22 +0300] [34000] [INFO] Using worker: sanic.worker.GunicornWorker
[2017-06-14 14:48:22 +0300] [34004] [INFO] Booting worker with pid: 34004
[2017-06-14 14:49:03 +0300] [34000] [INFO] Handling signal: winch
[2017-06-14 14:49:15 +0300] [34000] [INFO] Handling signal: int

this is built-in server output with no errors. @messense why it works when i run with built-in server.
2017-06-14 14:40:49 - (sanic)[INFO]: Goin' Fast @ http://<IP_ADDRESS>:5000
2017-06-14 14:40:49 - (sanic)[INFO]: Starting worker [33848]
2017-06-14 14:41:09 - (network)[INFO][<IP_ADDRESS>:43964]: GET http://localhost:5000/api/v1  200 43

```

@sust4in I can't reproduce the 404 error with the blueprints example here https://github.com/channelcat/sanic/blob/master/examples/blueprints.py

if __name__ == '__main__':
i just solved by removing main if entry because gunicorn just imports our script.
it works now. thank you @messense

I solved this with asiozmq. Sanic and api was left as it was but the heavy lifting is now done in own processes. Communication is done with zeromq ipc.


Failure to resolve lodash.clonedeep

Version
"@nuxtjs/supabase": "^0.1.4",
"nuxt3": "latest"

Reproduction Link
https://stackblitz.com/edit/github-zshr3e?file=app.vue
Steps to reproduce
Follow the instructions to install and use from the docs.
I have tried with yarn, npm and pnpm.
What is Expected?
Should be able to use supabase client.
What is actually happening?
Error log immediately on starup.
ERROR  Failed to resolve force included dependency: lodash.clonedeep

Sorry about this, seems that Supabase-js removed the dependency of lodash.clonedeep, which is a great news 🎊  (https://github.com/supabase/realtime-js/pull/150)
It's now fixed in v0.1.5, see demo on https://stackblitz.com/edit/github-zshr3e-hvu1qm?file=package-lock.json


work new logos into the UI

The final svg version of the thematic logos that Maria designed must appear on the site wherever SADI and GGIM themes are mentioned - in the filters and in the presentation of metadata records.

Hi @gubuntu the sasdi logos from Maria are missing Wetlands, for the moment I used one of the existing ones.
Please where can I find GGIM? cc @Mohab25


Re-design the theme

Apps

[x] Fix pantheon-mail (selected items are white)
[ ] Fix Video
[ ] Make pantheon-calculator white and light

General

[ ] Replace blue with orange everywhere
[ ] Update GTK2 theme
[ ] Fix dark theme

Notifications

[ ] Re-design notifications

@Xenite/co-authors do not push anything to the development branch. Just a notice.

@Defman21 OK, roger. I just updated the README a bit, in master. Now it's a bit more secure for the user - not that they pipe a random script from the Web into sudo. That was a seriously dangerous way...

Yeah I saw that. Nice job on that! :)


Add parameters that can be queried in "Expert" mode

There are additional parameters that can be queried in "Expert" mode, and these should be added as options.

Closed by PR #28


useAuth Docs v2 - Another Idea (Theme-UI)

Hi Swizec,
I set up a new Gatsby site using Theme-ui for the docs. I think it's better than my earlier effort. I didn't set up the useAuth login as it seems that you are still working on refactoring and expanding login provider options. Happy to set it up later. :-)
https://use-auth-docs.vercel.app/
https://github.com/erichodges/useAuthDocs

My dude @erichodges I love this! Sorry it took me so long to reply; time flies 😅
I want to get the new site up in time for Reactathon on Monday. Do you mind if I fully steal what you've build?
With contribution of course :)
Think I'd copy your repo into the /examples directory and add the new useAuth integration. Or I can fork off your repo if you prefer.

Hi Swizec, no worries, I know you're busy. Yeah, since I didn't add the new code and get that working, it would be a lot faster for you to do it. Up to you how you want to set that up. It would be great to get a bit of promotion at Reactathon no matter how small. I'm looking for work :-). I can then also add it to my portfolio as a live project which would be awesome!

Closing because this is now the new docs page :)
Further contributions super welcome. There's a couple small css issues here and there


draco: 1.3.6 -> 1.4.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/google/draco/releases.
meta.description for draco is: "Library for compressing and decompressing 3D geometric meshes and point clouds"
meta.homepage for draco is: "https://google.github.io/draco/"
meta.changelog for draco is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.4.0 with grep in /nix/store/4fiaq42rwmwg49j8v5aivlg42n9k0qi9-draco-1.4.0

directory tree listing: https://gist.github.com/6820087482bb51d2ff646b118f0e11f0

du listing: https://gist.github.com/260680c4b059daff48b7169e0a11bd71

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
draco

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/4fiaq42rwmwg49j8v5aivlg42n9k0qi9-draco-1.4.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A draco https://github.com/r-ryantm/nixpkgs/archive/1c5bdff58209f51c240252e83257a172ade20f56.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/4fiaq42rwmwg49j8v5aivlg42n9k0qi9-draco-1.4.0
ls -la /nix/store/4fiaq42rwmwg49j8v5aivlg42n9k0qi9-draco-1.4.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review 1

1 package built:

draco

Maintainer pings
cc @jansol for testing.

Result of nixpkgs-review pr 105861 1

1 package built:

draco


The plugin not seams to work

Hi! I need help! I installed you plugin in my site like a week ago or more, and it's not working! The url is http://leansight.com/blog it's not adding the og meta tags or anything, and i don't know what else can i do! Thanks for your help

Hi
It seems that the plugins is running well, you can see it on my personal blog, using the url
https://www.gamecoderblog.com. Grav and all the plugins are up to date.
viewing the source page, you can see that the metas are correctly filled:
<meta name="generator" content="GravCMS" />
<meta name="description" content="Game Coder Blog - Une mine d'informations sur la création de jeux vidéos:tutoriels, E-learning, code source, unreal engine 4, unity 3D, Blender, création 3D" />
<meta name="keywords" content="site" />
<meta name="og:sitename" property="og:sitename" content="Game Coder Blog" />
<meta name="og:title" property="og:title" content="Accueil" />
<meta name="og:type" property="og:type" content="article" />
<meta name="og:url" property="og:url" content="https://www.gamecoderblog.com/" />
<meta name="og:description" property="og:description" content="Game Coder Blog - Une mine d'informations sur la création de jeux vidéos:tutoriels, E-learning, code source, unreal engine 4, unity 3D, Blender, création 3D" />
<meta name="twitter:card" property="twitter:card" content="summary_large_image" />
<meta name="twitter:title" property="twitter:title" content="Accueil" />
<meta name="twitter:description" property="twitter:description" content="Game Coder Blog - Une mine d'informations sur la création de jeux vidéos:tutoriels, E-learning, code source, unreal engine 4, unity 3" />

So you have probably a setup issue. You can try to update Grav and your plugins.
Please read the readme carefully to be sure your plugin setup is valid and that you understand how it works.
Sorry, but I can't help more


Perf improvement: Stream Processing (Frugal Tip G06)

Fix for Frugal Tip G06.
LOH allocations are coming from our Json Deserializer.

There are quite a few copies of uncompressed large data in memory. This hurts CPU, memory allocation, and working set. When the data is large enough, it can even lead to fragmentation and OutOfMemory exception.

Changes

Replace MemoryStream with StreamReader
replace string[] with List

Checklist

[ ] I ran Unit Tests locally.
[ ] CHANGELOG.md updated with one line description of the fix, and a link to the original issue if available.

For significant contributions please make sure you have completed the following items:

[ ] Design discussion issue #
[ ] Changes in public surface reviewed

The PR will trigger build, unit tests, and functional tests automatically. Please follow these instructions to build and test locally.
Notes for authors:

FxCop and other analyzers will fail the build. To see these errors yourself, compile localy using the Release configuration.

Notes for reviewers:

We support comment build triggers

/AzurePipelines run will queue all builds
/AzurePipelines run <pipeline-name> will queue a specific build

Recreating a MemoryStream for serialization every time is expensive as it allocates and resizes a byte[] array multiple times. If you can determing a max-size for each chunk, it would make more sense to Rent/Return a byte[] array to initialize the MemoryStream with to reduce the number of allocations for (de)serializing the data.

Let's see some perf numbers on this (allocations before and after the change).


Wikidata tag prevents editing empty name or operator field

I understand why having a wikidata tag disallows editing of the name or operator field, as you don't want people to mistakenly change the name or operator.
However, if you come across a named object with a wikidata tag and you want to add an operator (and vice-versa with the name field if it already has an operator) - the field is locked despite being empty. This should be fixed so that all empty field are editable, without having to go down to the all tags section.

This would result in if someone inputs an operator/name, they can't change it.

Suppose it would, but then the same happens if you add a wikidata tag to a named object and you then try and change the name.
Wonder if iD is able to keep the fact that the name/operator tag was empty to begin with, in its memory, so it doesn't lock the field for the duration of your session?

I wonder: Those examples you have in mind, should they maybe be added to NSI. That would solve the described issue of having no operator by adding it in the first place or suggesting to add it in the UI.

The example I came across today wasn't a brand or something that could be added to NSI though (otherwise I would).

I actually like that the field is locked when you put in a wikidata tag, and it's sourced externally.


Hide scroll bars on mobile

No worries, I think it's maybe not possible on iOS. Apple is doing some weird stuff sometimes with their browser, e.g. input behavior, etc.
I'll test it on Android.

On Android it works, so I renamed the issue to be iOS specific.

Okay that's good. It works with the current code? Or did you add the code block above for testing?

Current code. But I'm on Chrome, will add the compat code for Firefox and Edge as well.


iOS plugin - Xcode .xcframework isn't running on simulators

Steps to Reproduce

Add an .xcframework to iOS plugin:

at the plugin's ios folder, editting plugin_name.podspec:
Pod::Spec.new do |s|
  s.name             = 'web_plugin'
  s.version          = '0.0.1'
  s.summary          = 'A flutter plugin for web SDK'
  s.description      = <<-DESC
A flutter plugin for web SDK
                       DESC
  s.homepage         = 'http://example.com'
  s.license          = { :file => '../LICENSE' }
  s.author           = { 'Your Company' =><EMAIL_ADDRESS>}
  s.source           = { :path => '.' }
  s.source_files = 'Classes/**/*'
  s.dependency 'Flutter'
  s.platform = :ios, '12.0'

  # Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported.
  s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' }
  s.swift_version = '5.0'
  s.dependency 'EVReflection'

  s.preserve_paths = 'MySDK.xcframework', 'MySDKUILayer.xcframework'
  s.xcconfig = { 'OTHER_LDFLAGS' => '-framework MySDK -framework MySDKUILayer' }
  s.vendored_frameworks = 'MySDK.xcframework', 'MySDKUILayer.xcframework'
end

running pod install / update

Add the .xcframework to the target under "Embed Frameworks" (xCode)

Run app (simulator)

Logs
ld: warning: ignoring file /Users/cnd/web-plugin/ios/MySDK.xcframework/ios-arm64_armv7/MySDK.framework/MySDK, missing required architecture x86_64 in file /Users/cnd/web-plugin/ios/MySDK.xcframework/ios-arm64_armv7/MySDK.framework/MySDK (2 slices)
ld: warning: ignoring file /Users/cnd/web-plugin/ios/MySDKUILayer.xcframework/ios-arm64_armv7/MySDKUILayer.framework/MySDKUILayer, missing required architecture x86_64 in file /Users/cnd/web-plugin/ios/MySDKUILayer.xcframework/ios-arm64_armv7/MySDKUILayer.framework/MySDKUILayer (2 slices)
Undefined symbols for architecture x86_64:
.
.
.
.
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Not sure how the plugin picks the correct architecture (real device or simulator), but currently it always fails on simulators even though the .xcframework contains the necessary x86_64.
flutter doctor -v:
[✓] Flutter (Channel stable, 1.22.2, on Mac OS X 10.15.7 19H2, locale en-IL)
    • Flutter version 1.22.2 at /Users/cnd/Developer/flutter
    • Framework revision 84f3d28555 (5 days ago), 2020-10-15 16:26:19 -0700
    • Engine revision b8752bbfff
    • Dart version 2.10.2

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/cnd/Library/Android/sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0.1, Build version 12A7300
    • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 50.0.1
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] Connected device (2 available)
    • Yuv’s iPhone (mobile) • 00008030-********            • ios • iOS
      14.0.1
    • iPhone 11 (mobile)      • 5CC25297-B0AA-4023-9B2D-34022BD842D3 • ios •
      com.apple.CoreSimulator.SimRuntime.iOS-14-0 (simulator)

• No issues found!

Hi @kndl22
Is your project standard flutter or add2app, since you mentioned embed frameworks https://flutter.dev/docs/development/add-to-app/ios/project-setup#embed-the-frameworks
Can you please provide your flutter run --verbose ( if standard  app) and a complete reproducible minimal code sample in a repository with the plugin as well
Thank you

Hi @TahaTesser ,
My project is a flutter plugin which has an Android & iOS integration. Each platform has it's own SDK, and when I'm trying to run the example inside the plugin i get the mentioned error.
I'm attaching the verbose log and meanwhile i'll work on a sample project.
verbose log.txt

Hi @kndl22
Running example folder, I am getting following, quite different than your logs
I am running pod version 1.10.0.rc.1
[  +25 ms] Failed to build iOS app
[        ] Error output from Xcode build:
           ↳
[   +1 ms]     ** BUILD FAILED **

[        ] Xcode's output:
           ↳
[   +4 ms]     Command line invocation:
                   /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild
                   -configuration Debug VERBOSE_SCRIPT_LOGGING=YES -workspace
                   Runner.xcworkspace -scheme Runner

BUILD_DIR=/Users/tahatesser/AndroidStudioProjects/flutter-ios-plugin-tes
                   t/example/build/ios -sdk iphonesimulator -arch x86_64

SCRIPT_OUTPUT_STREAM_FILE=/var/folders/6w/rnw9ch3d2cv277x3nzm9t9ph0000gn

/T/flutter_tools.Nggfy4/flutter_build_log_pipe.P94QvL/pipe_to_stdout
                   FLUTTER_SUPPRESS_ANALYTICS=true
COMPILER_INDEX_STORE_ENABLE=NO

               Build settings from command line:
                   ARCHS = x86_64
                   BUILD_DIR =

/Users/tahatesser/AndroidStudioProjects/flutter-ios-plugin-test/example/
                   build/ios
                   COMPILER_INDEX_STORE_ENABLE = NO
                   FLUTTER_SUPPRESS_ANALYTICS = true
                   SCRIPT_OUTPUT_STREAM_FILE =

/var/folders/6w/rnw9ch3d2cv277x3nzm9t9ph0000gn/T/flutter_tools.Nggfy4/fl
                   utter_build_log_pipe.P94QvL/pipe_to_stdout
                   SDKROOT = iphonesimulator14.1
                   VERBOSE_SCRIPT_LOGGING = YES

               note: Using new build system
               note: Building targets in parallel
               note: Planning build
               note: Constructing build description
               Build system information
               error: Multiple commands produce

'/Users/tahatesser/AndroidStudioProjects/flutter-ios-plugin-test/example/bui

ld/ios/Debug-iphonesimulator/Runner.app/Frameworks/TransmitSDK3.framework':
               1) Target 'Runner' has copy command from

'/Users/tahatesser/AndroidStudioProjects/flutter-ios-plugin-test/ios/Transmi

tSDK3.xcframework/ios-i386_x86_64-simulator/TransmitSDK3.framework' to

'/Users/tahatesser/AndroidStudioProjects/flutter-ios-plugin-test/example/bui

ld/ios/Debug-iphonesimulator/Runner.app/Frameworks/TransmitSDK3.framework'
               2) That command depends on command in Target 'Runner': script
phase “[CP]
               Embed Pods Frameworks”

               Build system information
               error: Multiple commands produce

'/Users/tahatesser/AndroidStudioProjects/flutter-ios-plugin-test/example/bui

ld/ios/Debug-iphonesimulator/Runner.app/Frameworks/TransmitSDKUILayer.framew
               ork':
               1) Target 'Runner' has copy command from

'/Users/tahatesser/AndroidStudioProjects/flutter-ios-plugin-test/ios/Transmi

tSDKUILayer.xcframework/ios-i386_x86_64-simulator/TransmitSDKUILayer.framewo
               rk' to

'/Users/tahatesser/AndroidStudioProjects/flutter-ios-plugin-test/example/bui

ld/ios/Debug-iphonesimulator/Runner.app/Frameworks/TransmitSDKUILayer.framew
               ork'
               2) That command depends on command in Target 'Runner': script
phase “[CP]
               Embed Pods Frameworks”

               warning: duplicate output file

'/Users/tahatesser/AndroidStudioProjects/flutter-ios-plugin-test/example/bui

ld/ios/Debug-iphonesimulator/Runner.app/Frameworks/TransmitSDK3.framework'
               on task: PhaseScriptExecution [CP] Embed Pods Frameworks

/Users/tahatesser/Library/Developer/Xcode/DerivedData/Runner-frphiyoyebdfgsc

csnqftaoojifv/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator
               /Runner.build/Script-BB934714184608239DF48E2D.sh (in target
'Runner' from
               project 'Runner')
               warning: duplicate output file

'/Users/tahatesser/AndroidStudioProjects/flutter-ios-plugin-test/example/bui

ld/ios/Debug-iphonesimulator/Runner.app/Frameworks/TransmitSDKUILayer.framew
               ork' on task: PhaseScriptExecution [CP] Embed Pods Frameworks

/Users/tahatesser/Library/Developer/Xcode/DerivedData/Runner-frphiyoyebdfgsc

csnqftaoojifv/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator
               /Runner.build/Script-BB934714184608239DF48E2D.sh (in target
'Runner' from
               project 'Runner')
               warning: The iOS Simulator deployment target
'IPHONEOS_DEPLOYMENT_TARGET' is
               set to 8.0, but the range of supported deployment target versions
is 9.0 to
               14.1.99. (in target 'Flutter' from project 'Pods')
               warning: The iOS Simulator deployment target
'IPHONEOS_DEPLOYMENT_TARGET' is
               set to 8.0, but the range of supported deployment target versions
is 9.0 to
               14.1.99. (in target 'transmit_test_plugin' from project 'Pods')

[   +8 ms] Could not build the application for the simulator.
[        ] Error launching application on iPhone 12 Pro Max.
[   +6 ms] "flutter run" took 17,343ms.

I tried to reproduce it from scratch by adding TransmitSDK3 in iOS but can you please clarify step 2? As there is no code project file in ios folder  in a plugin

Hi @TahaTesser ,
Not sure what's step 2, and where it comes from.
I didn't create the SDK - might be some build phases within the SDK itself?

Hi @kndl22

Step 2. Add the .xcframework to the target under "Embed Frameworks" (xCode)
Please clarify, provide step by step reproduce of the issue, ]
Thank you

I mean i added both .xcframework files to the "Embed Frameworks" build phase under the target "Build Phases" in xCode.

Hi @kndl22
I followed your steps and also added Embed frameworks in a new project, same out as https://github.com/flutter/flutter/issues/68605#issuecomment-714440623 when running simulator or device, which is different than your logs  from https://github.com/flutter/flutter/issues/68605#issue-725608152

logs
Running "flutter pub get" in example...
Launching lib/main.dart on iPhone 12 in debug mode...
 lib/main.dart
Warning: Missing build name (CFBundleShortVersionString).
Warning: Missing build number (CFBundleVersion).
Action Required: You must set a build name and number in the pubspec.yaml file version field before submitting to the App Store.
Xcode build done.                                            5.0s
Failed to build iOS app
Error output from Xcode build:
↳
    2020-10-26 17:47:08.754 xcodebuild[9867:228981]  DTDeviceKit: deviceType from 00008020-001059882212002E was NULL
    2020-10-26 17:47:08.885 xcodebuild[9867:228983]  DTDeviceKit: deviceType from 00008020-001059882212002E was NULL
    2020-10-26 17:47:08.885 xcodebuild[9867:228983]  DTDeviceKit: deviceType from 00008020-001059882212002E was NULL
    ** BUILD FAILED **
Xcode's output:
↳
    error: Multiple commands produce '/Users/tahatesser/AndroidStudioProjects/hello/example/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/TransmitSDKUILayer.framework':
    1) Target 'Runner' has copy command from '/Users/tahatesser/AndroidStudioProjects/hello/example/ios/TransmitSDKUILayer.xcframework/ios-i386_x86_64-simulator/TransmitSDKUILayer.framework' to '/Users/tahatesser/AndroidStudioProjects/hello/example/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/TransmitSDKUILayer.framework'
    2) That command depends on command in Target 'Runner': script phase “[CP] Embed Pods Frameworks”
    error: Multiple commands produce '/Users/tahatesser/AndroidStudioProjects/hello/example/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/TransmitSDK3.framework':
    1) Target 'Runner' has copy command from '/Users/tahatesser/AndroidStudioProjects/hello/example/ios/TransmitSDK3.xcframework/ios-i386_x86_64-simulator/TransmitSDK3.framework' to '/Users/tahatesser/AndroidStudioProjects/hello/example/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/TransmitSDK3.framework'
    2) That command depends on command in Target 'Runner': script phase “[CP] Embed Pods Frameworks”
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description
    warning: duplicate output file '/Users/tahatesser/AndroidStudioProjects/hello/example/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/TransmitSDK3.framework' on task: PhaseScriptExecution [CP] Embed Pods Frameworks /Users/tahatesser/Library/Developer/Xcode/DerivedData/Runner-gjwvenielrxfwwcpbohirzlktdyx/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Script-02B532308D466C3BDC443BEC.sh (in target 'Runner' from project 'Runner')
    warning: duplicate output file '/Users/tahatesser/AndroidStudioProjects/hello/example/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/TransmitSDKUILayer.framework' on task: PhaseScriptExecution [CP] Embed Pods Frameworks /Users/tahatesser/Library/Developer/Xcode/DerivedData/Runner-gjwvenielrxfwwcpbohirzlktdyx/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Script-02B532308D466C3BDC443BEC.sh (in target 'Runner' from project 'Runner')
Could not build the application for the simulator.
Error launching application on iPhone 12.
Exited (sigterm)

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.2, on Mac OS X 10.15.7 19H2, locale en-GB)
    • Flutter version 1.22.2 at /Users/tahatesser/Code/flutter_stable
    • Framework revision 84f3d28555 (10 days ago), 2020-10-15 16:26:19 -0700
    • Engine revision b8752bbfff
    • Dart version 2.10.2

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    • CocoaPods version 1.10.0.rc.1

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.50.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.15.1

[✓] Connected device (1 available)
    • iPhone 12 (mobile) • 318957C3-E4BB-4B35-A3C7-14F515B0E665 • ios •
      com.apple.CoreSimulator.SimRuntime.iOS-14-1 (simulator)

! Doctor found issues in 1 category.

Can you please provide steps to reproduce the issue same way

Finally figured it out -> We had different CocoaPods versions.
Seems that with the latest version (1.10.0) the original error is gone and there's the one you mentioned in the comment.
So the current error is:
error: Multiple commands produce '/Users/cnd/AndroidStudioProjects/transmit_test_plugin/example/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/TransmitSDKUILayer.framework':
    1) Target 'Runner' has copy command from '/Users/cnd/AndroidStudioProjects/transmit_test_plugin/ios/TransmitSDKUILayer.xcframework/ios-i386_x86_64-simulator/TransmitSDKUILayer.framework' to '/Users/cnd/AndroidStudioProjects/transmit_test_plugin/example/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/TransmitSDKUILayer.framework'
    2) That command depends on command in Target 'Runner': script phase “[CP] Embed Pods Frameworks”

Seems that the issue was kinda popular: https://github.com/flutter/flutter/issues/20685
But so far none of the suggested solution fixed it..

Add the .xcframework to the target under "Embed Frameworks" (xCode)

This is unnecessary, CocoaPods embeds the framework for you.
Closing, this 100% a CocoaPods issue, Flutter is just calling pod install.  You should file an issue with them if you believe you are hitting a bug.


Generate multiple images from trained network?

Greetings, is there any way to save network that has been trained on an image and use it on different images multiple times without having it train itself over and over again?

Isn't that what this repo doing?

The network is pretrained on ImageNet; nothing in neural_style.lua modifies the weights from the pretrained network. The code takes a while to run because it runs an optimization problem over the output image, not because it is training a network.


BUG - Essential usability features

In a comment from youtube three issues were identified:
Marcus Weinberger
3 months ago
Please fix these essential problems within the app, I had to request a refund as the app is unusable!

1. Allow copying text - how am I supposed to analyze the data without doing so to decode base64?
2. Allow horizontal scrolling so I can view full text from ble devices
3. Devices currently stack on top of each other making it impossible to click below. A list view would solve this

I think #18 covers some of this via export and List view.
The copying text part is the overly broad CSS rules from here:

https://github.com/datapartyjs/rfparty-mobile/blob/main/src/main.css#L6-L10
https://github.com/datapartyjs/rfparty-mobile/blob/main/src/main.css#L13-L14
https://github.com/datapartyjs/rfparty-mobile/blob/main/src/style.css#L20
https://github.com/datapartyjs/rfparty-mobile/blob/main/src/style.css#L24-L26

Which is actually hiding selection and taps globally. Should make a selectable class to apply to all fields we expect to be copied or interacted with.


Knex built in timestamps method

Hi @cerino-ligutom, thanks for sharing this great boiler plate!
I noticed you're using a custom addTimeStamps helper to add created_at and updated_at columns to your tables.
Knex actually has a built in table.timestamps method. Are you using your custom method to gain that extra precision?
How would you feel about a PR that switched to use that method?
Example:
    await knex.schema.createTable(TABLE_NAME, (t) => {
      t.uuid('id').primary();
      t.string('firstName').notNullable();
      t.string('middleName');
      t.string('lastName').notNullable();
      t.string('email').unique().notNullable();
      t.string('hash').notNullable();
    });
    await addTimeStamps(knex, TABLE_NAME, {
      createdAt: true,
      updatedAt: true,
    });
  }

becomes:
  await knex.schema.createTable(TABLE_NAME, (t) => {
    t.uuid('id').primary();
    t.string('firstName').notNullable();
    t.string('middleName');
    t.string('lastName').notNullable();
    t.string('email').unique().notNullable();
    t.string('hash').notNullable();
    t.timestamps(false, true)
  });
}

Hello @apackin! Thanks for checking out this boilerplate 🎉
Yes, I'm aware of knex.timestamps but I stopped using it due to how easy it is to shoot yourself in the foot (it happened to one of my projects and learned from there) when working with Date objects on JavaScript and I hope Temporal supports precision that's more than 3 once that finalizes.
Short Explanation for that helper function:
Reason 1:
knex.timestamps doesn't allow setting the precision and can be problematic with JS Date objects.
Reason 2:
I want a centralized way to deal with timestamps where the API is clear and certain details are abstracted such as the precision (see long explanation) and field name casing as it's very easy to miss the 3rd parameter in knex.timestamps if you don't use the other signature (pass an object).
I wait for the day it accepts a precision parameter so we can do something like this 😄
t.timestamps({
  useTimestamps: true,
  defaultToNow: true,
  useCamelCase: true,
  precision: 3, // this
});

But even then, I'd rather hide those details which is the existing helper you see right now.
addTimeStamps(knexInstance, tableName, { createdAt: true, updatedAt: true });

Long Explanation for Reason 1:
JavaScript's Date precision is at most 3 but the database default may vary.

In the case of PostgreSQL, it stores timestamps at the maximum possible precision which is 6 if not set.
Code:
t.timestamps(false, true);

Result:

knex.timestamps doesn't allow setting the precision, at least none that I'm aware of, and since it defaults to a precision of 6 in postgres, you can probably imagine there'd be missed records if you do paginations against dates where the milliseconds are very close and pass a JavaScript Date object on the where() bindings.
You can get away with this issue if you just purely pass strings around your app but when you start doing computations with it, you'll go back to dealing with JS Date objects (back to 3 precision). That, or use a different solution that can preserve precisions greater than 3.

To name a few common areas where you can easily shoot yourself in the foot:

When fetching timestamp/datetime fields from the database using Knex, Knex deserializes the timestamp/datetime string into a JS Date object (back to 3 precision).
When clients pass a datetime string to the GraphQL API, GraphQL Date Scalars converts valid ISO 8601 string back to JS Date objects (back to 3 precision)
If your validation library validates date fields then outputs a JS Date object instead of the original string passed.

And the list goes on...

Makes sense. Thank you so much for the quick and thoughtful reply.
IDK if Knex is actually working on adding precision to table.timestamps. I'll open up the issue there if I get a chance.
Seems dangerous that a JS library defaults to set the DB timestamps to not match the JS timestamps.


Fix CI warnings / deprecations

This fix various warnings in GitHub Actions related to the use of deprecated actions, as well as bumping the macOS runners to avoid the brownout issue we are currently facing.

@michdolan Could you please update the required checks list to change macOS 10.15 to macOS 11? Thanks!

Reminder, this need to merged if we want to avoid MacOS CI issues.

Any news on merging this?

Thanks @doug-walker !


Fastlane 2.183 breaks loading: Error loading plugin

Issue Description
Starting in Fastlane 2.183, the plugin fails to load with the following error:
Error loading plugin 'fastlane-plugin-firebase_app_distribution': cannot load such file -- google/apis/people_v1
+------------------------+---------+------------------+
|                    Used plugins                     |
+------------------------+---------+------------------+
| Plugin                 | Version | Action           |
+------------------------+---------+------------------+
| fastlane-plugin-git_s  | 0.1.3   | git_status       |
| tatus                  |         |                  |
| fastlane-plugin-fireb  | 0.2.8   | No actions found |
| ase_app_distribution   |         |                  |
+------------------------+---------+------------------+

[!] No actions were found while loading one or more plugins
    Please use `bundle exec fastlane` with plugins
    More info - https://docs.fastlane.tools/plugins/using-plugins/#run-with-plugins

Environment
Fastlane 2.183, Ruby 2.7.2 through RVM, bundler 2.1.4, fastlane-plugin-firebase_app_distribution 0.2.8

I have the same exact problem

@jshier @diogoAntunes Thanks for the report. We just pushed a fix in a new release, v0.2.9. Updating your plugin with fastlane update_plugins should resolve it.

Yes, seems resolved after update, thanks.

Great, thanks again for the detailed report!!


Hardware example for Introduction Course

Feature description
Users are now able to run on hardware. We should providing a small, canned example that demonstrates this for the Introduction Course
Additional context
Implementation by @Qiskit/qiskit-digital

I changed a little bit the description @pandasa123 , the implementation was done by the team not only me 😛


Can the preset be excluded from the URL signature?

We have a single page app. We need to fetch a thumbnail when displaying the image, but we need a different resolution when editing it. Right now, it looks like, we have to create 2 versions of each image URL for these 2 options. I was wondering if there is any reason the preset needs to be included in the signature? If it is outside the signature, then we only need to send one signed version of the url to the front end and it can fetch multiple presets using the same signed URL. Do you see any issues with this?

Hi Ravi,
Currently, the signature generation process is pretty simple: get the path, sign it. If we start to modify the path, this will lead to complications that may lead to errors in the signature generation process.
Also, this is a minor breach of security. Cutting the presets part from the signed path means that the signature will be valid for the path without presets, which means that an attacker will be able to request originally sized images.
If you still want to use the flow you described, you can disable the signature and combine IMGPROXY_ONLY_PRESETS with IMGPROXY_BASE_URL.


ADB Wifi - Devices are not handling the server connection

Hi,
Selendroid standalone jar is killing adb wifi device connection
Before I start the server I have connected device through adb wifi via IP address.
List of devices attached:
10.212.**:5555 device
After selendroid server gets started it's killing adb wifi connection.
It would very helpful if some one can add points on how to use adb wifi connection with the selendroid.
Hoping, for quick response.
Thanks in Advance !!!

This is a question rather than an issue. Please send questions to the selendroid user group
For issues please provide a concise reproducible test case and describe what results you are seeing and what results you expect.


why latest bevy is 0.1.0?? there are a bug with doc.rs and other doc

nothing else. or.. its the choice of carter ?

Can you point to where you're seeing this? The Getting Started page of the book shows 0.10.0 for me, and docs.rs shows the latest as 0.10.0 as well.

https://docs.rs/bevy_ecs/latest/bevy_ecs/index.html

Ah, docs.rs hasn't finished building the new release yet. It'll get there soon: we just end up deprioritized.


Fix tvOS issues in React.xcodeproj

Motivation: (1) My previous commit crossed with @mkonicek 's build fix (a8bd4621afb952c0a24cbd04a4154d2be6796aa4), so it isn't needed any more -- backing it out.  (2) RCTJSCErrorHandling needs to be added to React-tvOS target.
CC: @janicduplessis @lacker @ericvicenti

@facebook-github-bot shipit

@facebook-github-bot shipit

@janicduplessis something weird is still going on... the "Import Started" label is not appearing as expected

@dlowder-salesforce Looks like when using the shipit bot it doesn't add the labels, but it does when using the fb internal tool.
See your initial PR doesn't have the labels but did import properly. https://github.com/facebook/react-native/pull/12869

Ah ok, thanks for the clarification

Sorry about the bot flakiness guys. I have to learn about how the bot works now it's been rewritten to use webhooks a few months ago by a different team.
If it doesn't work just message me or the oncall on Slack. Fb employees use a Chrome extension now (also built by that team) that adds buttons to Chrome to do the import and luckily that one works.

Trying again, failed with a weird error.

@dlowder-salesforce I think everything was fixed in a recent commit.

The issues addressed by this PR have already been fixed in https://github.com/facebook/react-native/commit/dcf3cbeb313453a6762a8a69d3749f9971d8a268 , so closing this.


new RPC method for querying with bid & sequence

We need a new RPC method that supports more robust querying of the claim trie. This will eventually replace getclaimsforname, and it will need a corresponding "proof" RPC method that returns the merkle tree for the queried data. Requirements:

Allow querying on name, where it will return the winning bid for that claim name.
Allow querying on name and claim_id or partial claim_id.
Allow querying on name and sequence number (creation order).
Allow querying on name and bid number (according to current bid order).
Include an option to not return the value/metadata field.

Can it support a partial name if there is only one hit for that name? Maybe, but this isn't critical. Can it support no name or a partial name if the claim_id is given in full? Sure.

sdk ended up taking this over


fix: don't set http.redirect_codes if the attr doesn't exist

This allows folks who can't upgrade their httplib2 version to use the latest version of the library. Note that it is still strongly recommended that you upgrade (see install_requires).
@aaltay is there an issue tracking the httplib2 upgrade I can link to? I'd like this to be removed eventually.

Could we also change install requires to be similar to before like: "httplib2>=0.9.2,<1dev". Because, now with this change the library will be backward compatible, and it will not cause force upgrades of httplib2 library. (force upgrades also cause issues.) ?

Made the change to setup.py.
Is it possible for your tests to pin to an older version of this library until you're able to sort out upgrading httplib2? Or is there a requirement for you to always be testing with the latest version of google-api-python-client?

Made the change to setup.py.
Is it possible for your tests to pin to an older version of this library until you're able to sort out upgrading httplib2? Or is there a requirement for you to always be testing with the latest version of google-api-python-client?

I don't there is a requirement to use at head. This is our setup file (https://github.com/apache/beam/blob/master/sdks/python/setup.py) -- I cannot find a direct dependency. Probably there is some indirect dependency.

Thank you all! When would this change be available in pypi?

Just looking for an approval on the release PR(#842) and then I'll push it out to PyPI. :)


Wrong rating percentage calculation

for every star receive from feedback, there are wrong calculation for the percentage
example
1 star have 1 feedback, it will become 100%,
2 start have 1 feedback, it will become 50%,
and so on

can screenshot 1?

norted tq @ikram220999

i would like to take this issue.

@mazfreelance assigned to u boss

solved #76


latest swagger changes

Hi @naveedaz, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (naveeda). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, or work for Microsoft Open Technologies, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

Hi @naveedaz, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (naveeda). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, or work for Microsoft Open Technologies, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;


misc,ext,tests: Automatically split CI TestLib tests across GitHub Action jobs

This PR utilizes GitHub Action's matrix's to automatically distribute the CI testlib gem5 build and test jobs across available GitHub Action Runners.
The CI tests (the quick testlib tests, i.e. those run with ./main.py run) are distributed across the runners on a per directory basis --- all directories under "tests/gem5" are run as their own jobs.
The necessary gem5 builds for each workflow are now automatically inferred via the introduction of ./main.py list's  --build-targets flag which returns the gem5 build target for a given test or collection of tests. E.g., ./main.py list --build-targets will return the build targets for all the quick testlib tests and ./main.py list --build-target --uid=<id> will return the build targets the test suite <id> requires.
Moving from monolithic jobs to fine-grained ones will make the locaiton of test failures more obvious. Each job has it's own artifact containing "test/testing-results" for the tests run in that job. In addition, maintenance of these files should become less burdensome due to less hardcoding.

@powerjg and @mkjost0 : this is finally ready for review... far too much trial and error.
You can see the latest test passing as evidence of it running well: https://github.com/gem5/gem5/actions/runs/6178661302. You can download the artifacts for any directory under "tests/gem5".
At a quick glance it seems like this is roughly 40 minutes faster. the asmtests are the weakest point, they take an hour. If we really wanted to do better we could split these up but it's good for now.


Feature/bugfix for live out put delete

Ok I messed this all up! 🙈 I was going to do another PR with the bug fix but this one will just also have the fix for the links
This should fix #16

@microsoft-github-policy-service agree [company="StreamWorks"]

Thanks for your contribution !


Unable to add tooltip in input box

I tried adding tooltip to input box in ui-select but its not working.
input(type='hidden', ui-select2='userSelect2options', data-placeholder='All User',
ng-model='selectedUsersForFilter', style='width:100%; margin-left:5px;',ng-readonly='isUserSelectDisabled', tooltip='Please select atleast one User')
How to add tool tip for input box in ui-select2 ?

+1
Any idea about this feature?

You will probably need to modify select.tpl.html with the tooltip attribute.
Closing due to being an old issue, please update if you require further assistance and we can look at reopening.