Update package.json

Pull Request Test Coverage Report for Build<PHONE_NUMBER>2
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>1:
0.0%

Covered Lines:
1

Relevant Lines:
1

💛  - Coveralls


Adjust zoom and language buttons in mobile view #77

#77
Adjusted zoom and language button
changed nav bar of start page
and changed note field to view in mobile

Resolve conflicts.
Update your repo then make PR.

but plzz check it ones

but plzz check it ones

No use to review if it has conflicts.
The last screenshot you showed was fine, if nothing was changed in desktop view.


Is a 2.0 release happening soon?

Describe the feature request?
Hi, now https://github.com/okta/okta-mobile-kotlin/pull/300 has been merged in master, I was wondering if it's worth holding off for a 2.0 release before releasing an update to my app to help fix some of the issues around the token init and some of the other QOL improvement that have been made - do you have an estimated release date?
Thanks!
New or Affected Resource(s)
2.0 release
Provide a documentation link
No response
Additional Information?
No response

@longden, it's released now! Maven might take an hour or two to update, but all the release ceremonies are complete on my end


show real fees in send page

right now there's a normal fee rate api but that might not be enough for an accurate fee


cannot run browser tool

I have followed the instructions and installed gptme on macos 14.6.1 as per:
pipx install gptme[browser]
gptme '/shell playwright install chromium'

The default model used is claude-3-5-sonnet-20241022 (latest). However when trying to run the example gptme 'find out which is the latest ActivityWatch version from superuserlabs.org', I get the following error:
WARNING:gptme.chat:Failed to read URL http://www....BrowserType.launch: Executable doesn't exist at /Users/inigo/Library/Caches/ms-playwright/chromium-1134/chrome-mac/Chromium.app/Contents/MacOS/Chromium

I checked the directory and apparently Chromium is installed, but there is a discrepancy in the directory path, as the installation  is 1140 instead of 1134:
/Users/inigo/Library/Caches/ms-playwright/chromium-1140/...

Any suggestions on how to proceed?
Thanks!
UPDATE: I manually changed the directory name under .../ms-playwright/´from chromium-1140tochromium-1134` and now it's fine. A bit dirty but it worked.

Weird.
I get the error whenever updating playwright, but doing a playwright install with the right version of playwright fixes it. I thought gptme '/shell playwright install chromium' would always use the same playwright version as the one in the venv used by gptme, but I guess not?
Side-note: I'm kinda tired of Playwright, as its a bit overkill for most browsing, so I've investigated adding lynx support instead, which is a lot faster, cleaner output, and more lightweight (but less capable): https://github.com/ErikBjare/gptme/issues/205


Support for one-click install

One could think of bundling the impact binary with a script so that one would download an executable that when run would install a specific library and its dependencies. This basically would remove the necessity to use the command line that some users might find uncomfortable with.

I came across emacs package archive http://melpa.org which looks interesting and could perhaps be uses as a template for the website.


Clarify argtype for ClientUser.setPresence

send help

It doesn't technically take a Presence, it takes an object like a presence, a typedef will be needed.

Added a typedef and everything.


require 'bundler/setup' fails on 2.5.1 if bundler is located in symlinked directory

I don't really know if the root cause is symlinked directory, but it's my best shot (and I think this change can be somehow related).
ruby-2.5.1 installed via rvm, rvm directory with all gems located in directory under symlink (i. e. /symlinked_directory/ -> /real_directory/, rvm is placed in /real_directory/.rvm, but $LOAD_PATH contains /symlinked_directory/.rvm/…)
require 'bundler/setup' in any project with Gemfile.lock fails with various LoadErrors.
In empty project:
$ mkdir testapp && cd testapp && bundle init && irb
Writing new Gemfile to /tmp/testapp/Gemfile
2.5.1 :001 > require 'bundler/setup'
Traceback (most recent call last):
       16: from (irb):1
       15: from /real_directory/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:39:in `require'
       14: from /real_directory/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:135:in `rescue in require'
       13: from /real_directory/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:135:in `require'
       12: from /real_directory/.rvm/gems/ruby-2.5.1/gems/bundler-1.16.1/lib/bundler/setup.rb:10:in `<top (required)>'
       11: from /real_directory/.rvm/gems/ruby-2.5.1/gems/bundler-1.16.1/lib/bundler.rb:107:in `setup'
       10: from /real_directory/.rvm/gems/ruby-2.5.1/gems/bundler-1.16.1/lib/bundler/runtime.rb:20:in `setup'
        9: from /real_directory/.rvm/gems/ruby-2.5.1/gems/bundler-1.16.1/lib/bundler/runtime.rb:108:in `block in definition_method'
        8: from /real_directory/.rvm/gems/ruby-2.5.1/gems/bundler-1.16.1/lib/bundler/definition.rb:226:in `requested_specs'
        7: from /real_directory/.rvm/gems/ruby-2.5.1/gems/bundler-1.16.1/lib/bundler/definition.rb:237:in `specs_for'
        6: from /real_directory/.rvm/gems/ruby-2.5.1/gems/bundler-1.16.1/lib/bundler/definition.rb:170:in `specs'
        5: from /real_directory/.rvm/gems/ruby-2.5.1/gems/bundler-1.16.1/lib/bundler/definition.rb:256:in `resolve'
        4: from /real_directory/.rvm/gems/ruby-2.5.1/gems/bundler-1.16.1/lib/bundler.rb:70:in `ui'
        3: from /real_directory/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:39:in `require'
        2: from /real_directory/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:135:in `rescue in require'
        1: from /real_directory/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:135:in `require'
LoadError (cannot load such file -- bundler/ui)
2.5.1 :002 > Gem::VERSION
 => "2.7.6"
2.5.1 :003 > Bundler::VERSION
 => "1.16.1"

In rails project (this time `bundler/dep_proxy`)
$ irb
2.5.1 :001 > require 'bundler/setup'
Traceback (most recent call last):
       16: from /real_directory/.rvm/gems/ruby-2.5.1/gems/bundler-1.16.1/lib/bundler.rb:107:in `setup'
       15: from /real_directory/.rvm/gems/ruby-2.5.1/gems/bundler-1.16.1/lib/bundler/runtime.rb:20:in `setup'
       14: from /real_directory/.rvm/gems/ruby-2.5.1/gems/bundler-1.16.1/lib/bundler/runtime.rb:108:in `block in definition_method'
       13: from /real_directory/.rvm/gems/ruby-2.5.1/gems/bundler-1.16.1/lib/bundler/definition.rb:226:in `requested_specs'
       12: from /real_directory/.rvm/gems/ruby-2.5.1/gems/bundler-1.16.1/lib/bundler/definition.rb:237:in `specs_for'
       11: from /real_directory/.rvm/gems/ruby-2.5.1/gems/bundler-1.16.1/lib/bundler/definition.rb:170:in `specs'
       10: from /real_directory/.rvm/gems/ruby-2.5.1/gems/bundler-1.16.1/lib/bundler/definition.rb:247:in `resolve'
        9: from /real_directory/.rvm/gems/ruby-2.5.1/gems/bundler-1.16.1/lib/bundler/definition.rb:806:in `converge_locked_specs'
        8: from /real_directory/.rvm/gems/ruby-2.5.1/gems/bundler-1.16.1/lib/bundler/definition.rb:874:in `expand_dependencies'
        7: from /real_directory/.rvm/gems/ruby-2.5.1/gems/bundler-1.16.1/lib/bundler/definition.rb:874:in `each'
        6: from /real_directory/.rvm/gems/ruby-2.5.1/gems/bundler-1.16.1/lib/bundler/definition.rb:887:in `block in expand_dependencies'
        5: from /real_directory/.rvm/gems/ruby-2.5.1/gems/bundler-1.16.1/lib/bundler/definition.rb:887:in `each'
        4: from /real_directory/.rvm/gems/ruby-2.5.1/gems/bundler-1.16.1/lib/bundler/definition.rb:888:in `block (2 levels) in expand_dependencies'
        3: from /real_directory/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:39:in `require'
        2: from /real_directory/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:135:in `rescue in require'
        1: from /real_directory/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:135:in `require'
LoadError (cannot load such file -- bundler/dep_proxy)
2.5.1 :002 > Gem::VERSION
 => "2.7.6"
2.5.1 :003 > Bundler::VERSION
 => "1.16.1"

2.5.0 in the same directories with bundler in symlinked directory works fine:
$ irb
2.5.0 :001 > require 'bundler/setup'
 => true
2.5.0 :002 > Gem::VERSION
 => "2.7.6"
2.5.0 :003 > Bundler::VERSION
 => "1.16.1"

but simple test like
$ ln -svf ~ /tmp/home
‘/tmp/home/ojab’ -> ‘/home/ojab’
$ irb
2.5.1 :001 > $LOAD_PATH.map { |path| path.sub(%r{^/home/ojab/}, '/tmp/home/') }.map { |path| "-I '#{path}'" }.join(' ')
 => "-I<EMAIL_ADDRESS>-I '/tmp/home/.rvm/rubies/ruby-2.5.1/lib/ruby/site_ruby/2.5.0' -I '/tmp/home/.rvm/rubies/ruby-2.5.1/lib/ruby/site_ruby/2.5.0/x86_64-linux' -I '/tmp/home/.rvm/rubies/ruby-2.5.1/lib/ruby/site_ruby' -I '/tmp/home/.rvm/rubies/ruby-2.5.1/lib/ruby/vendor_ruby/2.5.0' -I '/tmp/home/.rvm/rubies/ruby-2.5.1/lib/ruby/vendor_ruby/2.5.0/x86_64-linux' -I '/tmp/home/.rvm/rubies/ruby-2.5.1/lib/ruby/vendor_ruby' -I '/tmp/home/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0' -I '/tmp/home/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/x86_64-linux'"
2.5.1 :002 > require 'bundler/setup'
 => true

doesn't reproduce it, unfortunately. Will try to create some kind of reproducer.

@hsbt do you know of a change in 2.5.1 that would break require through symlinks like this?

lib/rubygems.rb also updated from 2.7.3 to 2.7.6. I remember seeing some reports of this issue when on 2.7.3 that were fixed by upgrading to 2.7.4. Maybe there's a regression there? https://github.com/ruby/ruby/compare/v2_5_0...v2_5_1#diff-e2bd4eb9bbb8b25862825c636e55bd6dL13

And I cannot reproduce it w/ ruby build from source manually (i. e. ./configure && make && make install). Looks like rvm issue, but still trying to isolate it.

Yeah, could very well be an rvm issue. I'm not able to reproduce the issue locally on my end either, but it happens consistently on Travis CI (which uses rvm).

7825e8363d4b2ccad8e2d3f5eeba9e26f6656911 is not related this problem.

Nevertheless commit just before bundler merge (https://github.com/ruby/ruby/commit/f2e04b77aa8a363d7e36ce5a9cdb60714a537a3c) works (even after gem update --system/with rubygems-2.7.6), so offending commit should be here https://github.com/ruby/ruby/compare/f2e04b77aa8a363d7e36ce5a9cdb60714a537a3c...7825e8363d4b2ccad8e2d3f5eeba9e26f6656911 or it's caused not by ruby/rubygems/bundler. I can't see anything related in the range above.

It failed with comunized-gem installed on rbenv. When I removed the plugin and reinstalled ruby with all settings intact, it works. So the problem in definately something to do with symlinks.

Hi,
I'm running into a similar problem using docker passenger image, which in turn uses rvm.
  - RUBYGEMS VERSION: 2.7.6
  - RUBY VERSION: 2.5.1 (2018-03-29 patchlevel 57) [x86_64-linux]
  - INSTALLATION DIRECTORY: /usr/local/rvm/gems/ruby-2.5.1
  - USER INSTALLATION DIRECTORY: /root/.gem/ruby/2.5.0
  - RUBY EXECUTABLE: /usr/local/rvm/rubies/ruby-2.5.1/bin/ruby
  - EXECUTABLE DIRECTORY: /usr/local/rvm/gems/ruby-2.5.1/bin
  - SPEC CACHE DIRECTORY: /root/.gem/specs
  - SYSTEM CONFIGURATION DIRECTORY: /etc
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-linux
  - GEM PATHS:
     - /usr/local/rvm/gems/ruby-2.5.1
     - /usr/local/rvm/gems/ruby-2.5.1@global
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => false
     - :bulk_threshold => 1000
     - "gem" => "--no-document"
  - REMOTE SOURCES:
     - https://rubygems.org/
  - SHELL PATH:
     - /usr/local/rvm/gems/ruby-2.5.1/bin
     - /usr/local/rvm/gems/ruby-2.5.1@global/bin
     - /usr/local/rvm/rubies/ruby-2.5.1/bin
     - /usr/local/rvm/bin
     - /usr/local/sbin
     - /usr/local/bin
     - /usr/sbin
     - /usr/bin
     - /sbin
     - /bin

Commands run through the rails binstubs seem to fail, but running those commands directly through bundle exec work fine.
Traceback (most recent call last):
	33: from bin/rails:5:in `<main>'
	32: from bin/rails:5:in `load'
	31: from /home/app/bin/spring:16:in `<top (required)>'
	30: from /usr/local/rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:70:in `require'
	29: from /usr/local/rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:70:in `require'
	28: from /usr/local/rvm/gems/ruby-2.5.1/gems/spring-2.0.2/lib/spring/binstub.rb:31:in `<top (required)>'
	27: from /usr/local/rvm/gems/ruby-2.5.1/gems/spring-2.0.2/lib/spring/binstub.rb:31:in `load'
	26: from /usr/local/rvm/gems/ruby-2.5.1/gems/spring-2.0.2/bin/spring:49:in `<top (required)>'
	25: from /usr/local/rvm/gems/ruby-2.5.1/gems/spring-2.0.2/lib/spring/client.rb:30:in `run'
	24: from /usr/local/rvm/gems/ruby-2.5.1/gems/spring-2.0.2/lib/spring/client/command.rb:7:in `call'
	23: from /usr/local/rvm/gems/ruby-2.5.1/gems/spring-2.0.2/lib/spring/client/rails.rb:28:in `call'
	22: from /usr/local/rvm/gems/ruby-2.5.1/gems/spring-2.0.2/lib/spring/client/rails.rb:28:in `load'
	21: from /home/app/bin/rails:12:in `<top (required)>'
	20: from /home/app/bin/rails:12:in `require_relative'
	19: from /home/app/config/boot.rb:5:in `<top (required)>'
	18: from /usr/local/rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
	17: from /usr/local/rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
	16: from /usr/local/rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/setup.rb:10:in `<top (required)>'
	15: from /usr/local/rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler.rb:107:in `setup'
	14: from /usr/local/rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/runtime.rb:20:in `setup'
	13: from /usr/local/rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/runtime.rb:108:in `block in definition_method'
	12: from /usr/local/rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/definition.rb:226:in `requested_specs'
	11: from /usr/local/rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/definition.rb:237:in `specs_for'
	10: from /usr/local/rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/definition.rb:170:in `specs'
	 9: from /usr/local/rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/definition.rb:247:in `resolve'
	 8: from /usr/local/rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/definition.rb:806:in `converge_locked_specs'
	 7: from /usr/local/rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/definition.rb:874:in `expand_dependencies'
	 6: from /usr/local/rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/definition.rb:874:in `each'
	 5: from /usr/local/rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/definition.rb:887:in `block in expand_dependencies'
	 4: from /usr/local/rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/definition.rb:887:in `each'
	 3: from /usr/local/rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/definition.rb:888:in `block (2 levels) in expand_dependencies'
	 2: from /usr/local/rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:39:in `require'
	 1: from /usr/local/rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:135:in `rescue in require'
/usr/local/rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:135:in `require': cannot load such file -- bundler/dep_proxy (LoadError)

Just come here from another issue and I can confirm the symlink aspect of it. If I replace the global gemset symlink with a bind mount then it works.

Any update on this issue?

I can confirm this bugs happen with ruby 2.5.1p57, gem 2.7.6 and bundler 1.16.1. In fact for me this happens when my GEM_HOME path contains a symlink too. If I call bundler via GEM_PATH=/path/to/gems/without/symlinks it works (but strangely not when I do the same with GEM_HOME rather than GEM_PATH).

After some testing, I've noticed that when you uninstall the already provided bundler install from rvm and just reinstall it ( tested with version 1.16.0 and 1.16.1), the error won't appear anymore.

I can confirm that adding before_install: gem install bundler fixed this issue for me on Travis.
If reinstalling Bundler fixes the issue, maybe this is a problem with however RVM is packaging Bundler?
/cc @watsonian

hmm, but bundler is not installed by default during rvm install.

`gem list` after `rvm install 2.5.1`
```
bigdecimal (default: 1.3.4)
bundler-unload (1.0.2)
cmath (default: 1.0.0)
csv (default: 1.0.0)
date (default: 1.0.0)
dbm (default: 1.0.0)
did_you_mean (1.2.0)
etc (default: 1.0.0)
executable-hooks (1.4.2)
fcntl (default: 1.0.0)
fiddle (default: 1.0.0)
fileutils (default: 1.0.2)
gdbm (default: 2.0.0)
gem-wrappers (1.4.0)
io-console (default: 0.4.6)
ipaddr (default: 1.2.0)
json (default: 2.1.0)
minitest (5.10.3)
net-telnet (0.1.1)
openssl (default: 2.1.0)
power_assert (1.1.1)
psych (default: 3.0.2)
rake (12.3.0)
rdoc (default: 6.0.1)
rubygems-bundler (1.4.4)
rvm (<IP_ADDRESS>)
scanf (default: 1.0.0)
sdbm (default: 1.0.0)
stringio (default: 0.0.1)
strscan (default: 1.0.0)
test-unit (3.2.7)
webrick (default: 1.4.2)
xmlrpc (0.3.0)
zlib (default: 1.0.0)
```

what exactly is meant by `uninstall the already provided bundler install from rvm and just reinstall it`?

$ docker run -it --rm --entrypoint sh phusion/passenger-ruby25
# ls -larth /usr/local/rvm/gems/ruby-2.5.1@global
lrwxrwxrwx. 1 root rvm 52 Apr  6 13:36 /usr/local/rvm/gems/ruby-2.5.1@global -> /usr/local/rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0

so AFAIU reinstallation basically moves bundler from symlinked directory to non-symlinked one and it just workarounds the issue.

RVM used to preinstall Bundler but hasn't done for quite a while now. I was under the impression it is now included with Ruby itself?

@ojab ,
indeed, it's being re-installed in a non-symlinked directory.
Installing it back into the symlinked directory throws up the error again:
gem install -i /usr/local/rvm/gems/ruby-2.5.1@global bundler

So installing bundler in the non-symlinked directory is indeed a workaround.

@chewi IIRC that was planned for 2.6, but reverted last minute.

Ok, so I've found time to dig it (instead of procrasinating), see https://github.com/bundler/bundler/pull/6502. It fixes issue here w/ ruby-2.5.1.
PR is based on 1.16-stable branch, has no tests etc, I'll fix it if it's proper fix and can be merged in theory.

I am seeing this error too, while upgrading a Rails project to ruby-2.5.1.
The workaround for me was to downgrade to rubygems-2.7.5
$> rvm rubygems 2.7.5

So after some debugging I've found that default rvm's ruby-2.5.0 installation has bundled /home/ojab/.rvm/rubies/ruby-2.5.0/lib/ruby/site_ruby/2.5.0/bundler{,.rb} and missing files (i. e. bundler/ui) are required from there instead of installed gem.
Since ruby converts $LOAD_PATH entries to realpaths, the issue is not reproducible in that case.
rvm's ruby-2.5.1 doesn't install that bundler{,.rb}, so the issue is reproducible there.

Hi,
I stepped into this issue today when upgrading a rails 5.2 application to ruby 2.5.1.
In my case, I'm using chruby and ruby-install instead of RVM. We first upgraded our docker containers for development and everything was Ok.
Then we tried to upgrade our test server (no docker, just a simple centos virtual machine) and the jenkins builds started to fail with the error cannot load such file -- bundler/dep_proxy (LoadError).
This is what I did and how I solved it:

Install the latest ruby version using ruby-install as root
log-in with the jenkins user su - jenkins
run chruby ruby-2.5.1 && gem install bundler
run our jenkins builds
piss off our chuck norris plugin with failed builds
cd into the jenkins workspace of the proyect to see if we could open a rails console
try to run RAILS_ENV=test bin/rails c which raised the error cannot load such file -- bundler/dep_proxy (LoadError)
...Google about the error for a while until I read this issue

Since everything was working fine on ruby 2.5.0, y compared the path of the bundle executable for both ruby 2.5.0 and 2.5.1:

ruby-2.5.1 -> ~/.gem/ruby/2.5.1/bin/bundler
ruby-2.5.0 -> /opt/rubies/ruby-2.5.0/bin/bundler

So this is what I did:

log-in with the jenkins user su - jenkins
uninstall bundler as user jenkins gem uninstall bundler
log-in again as root
globally install bundler as root for ruby 2.5.1: chruby ruby-2.5.1 && gem bundler install
log-in as jenkins again
cd again into the jenkins workspace and run bundle install
run RAILS_ENV=test bin/rails c and it worked
jenkins build is back to green

I'm not sure if this is related to this issue. I write it down here just in case. Hope it helps somebody else.

I did:
gem install bundler
bundle install
It loads a pile of stuff and...
... it works!


I want to create organization repo and need enroll more member :D

after an open source time, I see a lot of things to do sụch as support more model like flow/glow, GAN, tensorrt, ...  but 1 or 2 people may not be enough to do that. I am thinking about creating a organization repo and enroll more members with us to develop. In the future, I want to change the repo name to TensorSpeech and support speech-related problems like voice conversion, speech recognition, ... Does anyone want to join?: D.

I'm primarily a C++/Qt app developer so all I can offer is GUI front ends like this for now but I can join.

you can count me in

Hi, I am also interested in this!

I am also interested in this. I am a speech engineer in China, I only have time  on weekday nights and weekends.

I am also interested

I am interested too.

I'll wait for a while longer :)), i will create organization soon :D.

Can i join with u guys in tensorrt session :dancing_men:

I am interested too

Count me in. I can make some contribute in Taco and melgan if you like.

I am also interested. You can count me in.

I am interested too.

if anyone want to joint, please email me<EMAIL_ADDRESS>and give me some infomations about urself, what will you contribute to the repo, ur everyday job, ...


broken URL in navigation

'Resources > Git REST APIs' from left hand side navigation leads to a 404

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

ID: 183b0984-8a99-c671-5e5a-c1a5d0d85f87
Version Independent ID: 6e14f792-35d3-97e3-85db-78731cf9b3a5
Content: Create and delete a branch in your Git repo - Azure Repos
Content Source: docs/repos/git/branches.md
Product: devops
GitHub Login: @steved0x
Microsoft Alias: sdanie

@fiksen99 I think this has been fixed, I couldn't find the exact entry you mention but I was able to make a slight update to another one:

If this issue is still broken, please reactivate this issue. Thank you.


Deprecation Notice

Deprecation Notice:As of jQuery 1.8, the deferred.pipe() method is deprecated. The deferred.then() method, which replaces it, should be used instead.

I tested with the latest 1.8, 1.9 and 1.10 versions of jQuery and they all work fine with the above code, but, testing with the latest 2.1 release and with 3.0.0 seems to break the tests.


Python projects stopped working in visual studio 2019

with no warning I can't debug or run my python projects from visual studio at all.  I got a window that said to copy paste the error here.
[Window Title]
devenv.exe
[Main Instruction]
An unexpected error occurred
[Content]
Please press Ctrl+C to copy the contents of this dialog and report this error to our issue tracker.
[^] Hide details  [Close]
[Expanded Information]
Build: 16.4.19310.1

System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.PythonTools.Interpreter.CondaUtils.<GetActivationEnvironmentVariablesForPrefixAsync>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread()
   at Microsoft.VisualStudio.Threading.JoinableTask`1.CompleteOnCurrentThread()
   at Microsoft.VisualStudio.Threading.JoinableTaskFactory.Run[T](Func`1 asyncMethod, JoinableTaskCreationOptions creationOptions)
   at Microsoft.PythonTools.Interpreter.LaunchConfigurationUtils.GetFullEnvironment(LaunchConfiguration config, IServiceProvider serviceProvider)
   at Microsoft.PythonTools.Debugger.DebugLaunchHelper.CreateDebugTargetInfo(IServiceProvider provider, LaunchConfiguration config)
   at Microsoft.PythonTools.Project.DefaultPythonLauncher.StartWithDebugger(LaunchConfiguration config)
   at Microsoft.PythonTools.Project.DefaultPythonLauncher.Launch(LaunchConfiguration config, Boolean debug)
   at Microsoft.PythonTools.Project.DefaultPythonLauncher.LaunchFile(String file, Boolean debug)
   at Microsoft.PythonTools.PythonToolsPackage.LaunchFile(IServiceProvider provider, String filename, Boolean debug, Boolean saveDirtyFiles)
   at Microsoft.PythonTools.Language.EditFilter.ExecWorker(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
   at Microsoft.PythonTools.Language.EditFilter.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)

i have the same problem today, worked all day yesterday but this morning nothing


docs: add examples using bash to compare models

This includes two bash scripts. the first will run a bunch of questions in sourcequestions against llama2. The second lets you pick 4 models on your system and run the same questions against all of them, making it easier to compare.

thank you for this


Cross Compiler Version does not compile - Hello World 16

What is on line 47?

Ah; you are just trying to assemble code from Dean’s example hello world I see. That code was written for the ZDS ASSEMBLER


feat: add typings

May I add typings?
Since official mobx is written in Typescript, lots of mobx libraries also have built-in typings. (About more information, see typescript#publishing)
I've happily used this library in my project, and I wrote typing that is compatible with react-router 3.0 and history 3.0.
If needed, I'll write typings for upcoming v4

Thanks for this! Looks good. Just have to consider the fact that Location and History types are duplicated from the history and react-router libraries, bu hopefully they shouldn't change in their major versions, as it would be a breaking change.
I can't think of any better way of doing it without having history and react-router as actual dependencies so this way probably makes the most sense. 👍

Also I like thetest-types idea. Could you make sure that this task fails when the typings are wrong, and then add it to the end of the test task so it runs on the CI build too?

Looks good. Just have to consider the fact that Location and History types are duplicated from the history and react-router libraries

That's true, but registered typings for react-router is for 3.0.0 and bundled with history  2.0.0, even it's using 3.0.0. (also, major updates of history module has lots of breaking changes.)
There is a way to use @types dependencies provided by DefinetelyTyped, but it doesn't provide a proper way to handle different types per versions (even they are strongly stick with current state of other module, regardless of their version.). And also, we still need to add it as a dependency.
For these reasons, I wrote a HistoryLike type that can be compatible with any objects that has required properties only for mobx-react-router v3.

Also I like thetest-types idea. Could you make sure that this task fails when the typings are wrong, and then add it to the end of the test task so it runs on the CI build too?

Sure, I'll write a code soon.

Cool, I'm happy with this, thanks! 😃


Build about page TS

refereences #101

[t:45]
just fixed some stuff in the ts file and then the rest of this was just doing my merging conflicts for my pull request


Revise instruction encoding

The current encoding leaves gaps of unused encoding space. Unlike other architectures, the instruction format is explicitly encoded in the instruction, rather than being implied by the opcode.
This encoding scheme was originally done to simplify decoding. However, as I've needed to add instructions, I've started stuffing them into forms that don't make a lot of sense, which is making it much more complex than other encoding schemes.
A better approach might be to use a fixed width opcode field, with the rest of the format implied from the opcode, similar to many other RISC processors like RISC-V and Mips.

opcode
description
format

0
break
n/a

1
int arithmetic SS
R

2
int arithmetic VS
R

3
int arithmetic VV
R

4
int arithmetic VSM
R

5
int arithmetic VVM
R

6
int arithmetic SI
I

7
int arithmetic VI
I

8
int arithmetic VIM
IM

12
unary scalar
R

13
unary vector
R

14
compare int VV
R

15
compare int VI
I

16
compare int VS
R

17
compare int SI
I

18
compare float VV
R

19
compare float VS
R

20
compare float SS
R

21
syscall
R

22
LUI
J

23
AUIPC
J

24
shuffle
R

25
getlane reg
R

26
getlane imm
I

27
load
I

28
store
I

29
load masked
IM

30
store masked
IM

31
getcr
I

32
setcr
I

33
cache control
I

34
call
LJ

35
call register
J

26
bzero
J

27
bnzero
J

28
b (reg)
J

29
b (offset)
J

30
eret
n/a

This is heavily inspired by RISC-V's encoding, but adapted to work with Nyuzi's ISA.
This leaves a lot more instruction encoding space open, at the expense of some immediate range (12 bits vs. 14). The control register transfers should use the immediate field, extending the number from 32 to 4096, which will give much more room for expansion. Having a fixed opcode field should simplify decoding. All of the registers are in the same locations in the instruction, reducing the number of muxes and decoder delay.

This allows solving issue #146 and #135 more cleanly, without having to bastardize the arithmetic formats.

[ ] in compiler Modify lib/Targets/Nyuzi/NyuziInstrFormats.td and NyuziInstrInfo.td to support new formats
[ ] Modify other code in backend that makes format assumptions (fixup code, etc)
[ ] Update tests/MC/Nyuzi for new format. Rewrite make_tests.py
[ ] Modify lld so fixups know new locations
[ ] Modify elf2bin to use new jump format
[ ] Modify LLDB for break instruction
[ ] Modify emulator to support new format
[ ] Modify instruction decode stage

Integer Arithmetic

Op
Code

or
0

and
1

xor
2

add_i
3

sub_i
4

mull_i
5

mulh_i
6

mulh_u
7

ashr
8

shr
9

shl
10

XXX Use _u and _i suffixes for shifts
Integer Comparison

Op
Code

cmpeq_i
0

cmpne_i
1

cmpgt_i
2

cmpge_i
3

cmplt_i
4

cmple_i
5

cmpgt_u
6

cmpge_u
7

cmplt_u
8

cmple_u
9

Floating Point Arithmetic

Op
Code

add_f
0

sub_f
1

mul_f
2

Floating Point Comparison

Op
Code

cmpeq_f
0

cmpne_f
1

cmpgt_f
2

cmpge_f
3

cmplt_f
4

cmple_f
5

Unary Arithmetic

Op
Code

ftoi
0

itof
1

reciprocal
2

sext8
3

sext16
4

ctz
5

clz
6

Memory Access

Op
Code

load/store u8
0

load s8
1

load/store u16
2

load s16
3

load/store 32
4

loadv/storev
5

load scat/gath
6

load/store sync
7

Cache Control

Op
Code

itlbinsert
0

dtlbinsert
1

tlbinval
2

tlbinvalall
3

dinvalidate
4

iinvalidate
5

dflush
6

membar
7

Oh that's a lovely set of tables. What tool are you using to generate them?

The bytefield package in Latex:
\usepackage{bytefield}

\begin{bytefield}[rightcurly=.,endianness=big,bitwidth=1.25em]{32}
  \bitheader{0-31} \\
  \begin{rightwordgroup} {R}
	& \bitbox{6}{opcode (6)}
	& \bitbox{5}{src1 (5)}
	& \bitbox{5}{dest (5)}
	& \bitbox{6}{func (6)}
	& \bitbox{5}{src2 (5)}
	& \bitbox{5}{mask (5)}
  \end{rightwordgroup}\\

  \begin{rightwordgroup} {I}
	\bitbox{6}{opcode (6)}
	& \bitbox{5}{src1 (5)}
	& \bitbox{5}{dest (5)}
	& \bitbox{4}{func (4)}
	& \bitbox{12}{imm (12)}
  \end{rightwordgroup}\\
\end{bytefield} \\

http://texdoc.net/texmf-dist/doc/latex/bytefield/bytefield.pdf

Very cool, thanks!
On Sun, Feb 18, 2018 at 3:16 PM, Jeff Bush<EMAIL_ADDRESS>wrote:

http://texdoc.net/texmf-dist/doc/latex/bytefield/bytefield.pdf
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jbush001/NyuziProcessor/issues/145#issuecomment-366557310,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAF9rIjTQsB41mR5QLRwvjOmY9lWttSzks5tWK82gaJpZM4SA85W
.

An alternative would be to base this on RISC-V, using the RV32I with M+A+F extensions, then adding a non-standard extension for the vector operations.

The official RISC-V 'V' vector extensions seems to support most of the vectoroperations needed:
https://riscv.github.io/documents/riscv-v-spec/riscv-v-spec.pdf


Unload bundle: close topic forcefully and enable bundle on ownership removal

Motivation
while unloading namespace bundle if topic.close() fails then bundle gets stuck by staying in disable state. Therefore, unload bundle should close topic forcefully and failure in deletion of bundle-ownership node should revert bundle state to enable back so, it can serve new topics again.
Modifications

close topic forcefully while unloading namespace bundle
enable namespace bundle if unloading namespace fails

Result
bundle will not be in stuck state in case of failure in unloading namespace bundle.

CLA is valid!

CLA is valid!

CLA is valid!

@merlimat can you also please take a look of this PR.

@saandrews @merlimat : can you please review this PR.

👍


[SPARK-37099][SQL] Optimize the filter based on rank-like window function by reduce not required rows

What changes were proposed in this pull request?
Sometimes, the filter condition compares rank-like(e.g. row_number, rank, dense_rank) window functions with number. For example,
SELECT *,
         ROW_NUMBER() OVER(PARTITION BY key ORDER BY a) AS rn
FROM Tab1
WHERE rn <= 5

We can extract the limit value 5 for window group and skip rows of window group in WindowExec.
In short, it supports following pattern:
SELECT (... (row_number|rank|dense_rank)()
    OVER (
PARTITION BY ...
ORDER BY  ... ) AS rn)
WHERE rn (==|<|<=) k
        AND other conditions

For these three rank-like functions (row_number|rank|dense_rank), the rank of a key computed on dataset always <= its total rows of whole dataset，so we can safely discard rows with rank > k, anywhere.
This PR also take over some functions from https://github.com/apache/spark/pull/34367.
Why are the changes needed?
Improve the performance.
Micro Benchmark
TPC-DS data size: 2TB.
This improvement is valid for tpcds q67 and no regression for other test cases.

TPC-DS Query
Default(Seconds)
After(Seconds)
Speedup(Percent)

q67
997.7585
882.8005
13.02%

All TPC-DS
7076.6715
6918.309
1.47%

Does this PR introduce any user-facing change?
'No'.
Just update the inner implementation.
How was this patch tested?
New tests.

This PR has been replaced by https://github.com/apache/spark/pull/38799


Add mnemonic device to C# ?: operator docs

Summary
Added a mnemonic device to help retention of how the C# ?: operator evaluates. The language could use some refining as it is quite informal, but I figured it would be best to get input from others on this instead of trying to struggle through it myself.
Fixes #11802, Here's the PR @BillWagner

All makes good sense, will make changes when I get back home :)

@akmadian It looks like you accepted @Thraka 's suggestion. (Thanks for reviewing while I was OOF).
If you're done, let me know and I'll :shipit:.

@akmadian The wording is still off though because of the code block. I think you should also spell out condition.
CC @BillWagner

@Thraka Code block has been added, and I've spelled out conditional. Great suggestions, thanks!
Let's :shipit:!

I like it! @Thraka do you want to approve it?

@akmadian Thanks again 😄

Happy to help!


spread pkg missing on some instances

Bug Description
While running tests in self-hosted runner I noticed the package spread was missing on some instances.
My job failed on:

two-xlarge-60-f76f155fd546fb6ed130eab3 (see https://github.com/canonical/ubuntu-image/actions/runs/7665245789/job/20890868438
two-xlarge-61-785cc4810cccfb8e44b4ca88 (see https://github.com/canonical/ubuntu-image/actions/runs/7665245789/job/20890996062)

And it succeeded (I least spread was found) on ubuntu-image-agent-64-01 after a third retry on the same code.
AFAIK I never had to explicitly install spread on the runner so I thought it was installed by default.
I only notice the issue on these 2 particular instances by chance, but I guess other instances maybe affected.
To Reproduce
If possible, create a github workflow with a constraint to run specifically on one of these two instances and trying to run spread.
Environment
N/A
Relevant log output
N/A

Additional context
No response

The packages installed on the self-hosted runner provided by this charm is not the same as the GitHub-provided runners.
The image size of the GitHub-provided runners are quite large. Without any additional installation, the GitHub-provided runners are using 50+GiB of disk:
https://github.com/canonical/github-runner-operator/actions/runs/7691255463/job/20956277160#step:3:6
One of the planned feature is custom images where each job can specify a custom image to run on.
Currently, would installing spread package as part of the workflow be fine?
If not we can look at making it part of the image used by the charm.

Yes, installing spread in the workflow is fine. We also even have runners dedicated to the project so this is not a big problem.

It seems the user has found a solution (https://github.com/canonical/github-runner-operator/issues/210#issuecomment-1914124311). @jdkandersson do we have a feature request list for custom images somewhere already? Otherwise I'll close this issue.

I think we can clos this issue for now as the solution of installing it on the runner is fine for now


feat: show secret_key with QR code

Description

streamline the setup experience for users working with
password managers that cannot read QR codes easily.

Motivation and Context
Not all users have a TOTP authenticator with support for QR codes. Before this was implemented
users of password managers needed to use a QR reader, typically a phone, then type the 32 character
secret into their password manager
How Has This Been Tested?
I tested locally.
Screenshots (if appropriate):

Types of changes

[X] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[X] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

@moggers87  rebased and your request were addressed. Can I get another review?

@moggers87 @claudep @Bouke, ping! I'd really like to get this in, my team is currently operating off a forked, it would be really nice to get this in so we don't further diverge from the project.

@claudep thanks for adding the tests!


Fix application workload JSON schema

Description
RJSF was not be able to parse the JSON schema in the older schema👇🏽
https://user-images.githubusercontent.com/75248557/127527228-98326110-bea6-4e4b-9bc1-a2532d157bc7.mov
RJSF will now parses he JSON schema and render the form 👇🏽
https://user-images.githubusercontent.com/75248557/127527327-2972e3c1-3a16-477a-90d6-dfa4c351cbb7.mov
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

Codecov Report

Merging #3686 (dfbea15) into master (6fdf9e4) will decrease coverage by 7.55%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3686      +/-   ##
==========================================
- Coverage   20.40%   12.85%   -7.56%
==========================================
  Files          45       45
  Lines        3788     3788
==========================================
- Hits          773      487     -286
- Misses       2810     3186     +376
+ Partials      205      115      -90

Flag
Coverage Δ

gointegrationtests
?

unittests
12.85% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

mesheryctl/internal/cli/root/system/status.go
0.00% <0.00%> (-62.83%)
:arrow_down:

mesheryctl/internal/cli/root/system/start.go
1.18% <0.00%> (-52.37%)
:arrow_down:

mesheryctl/internal/cli/root/system/stop.go
0.90% <0.00%> (-39.10%)
:arrow_down:

mesheryctl/internal/cli/root/system/check.go
1.48% <0.00%> (-22.68%)
:arrow_down:

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 6fdf9e4...dfbea15. Read the comment docs.


VTKaddon

Dear all,
I'm trying to compile this lib because it is required by PlusLIB. When I try to configure the downloaded code (CMake 3.14.3 & MS Visual Studio 2019 on Windows) I get the following error:
Could not find a package configuration file provided by "vtkAddon" with any
  of the following names:

    vtkAddonConfig.cmake
    vtkaddon-config.cmake

Is there a workaround for this?
I have not found the original vtkAddon library to build it.

I thought this was a CMake superbuild option somewhere, @Sunderlandkyl is this in Plus superbuild?

Does any of you any workaround for this?

Yes, you'll have to build vtkAddon. It is done for you in the IGSIO superbuild. If you open up the superbuild solution, do you see a vtkAddon project?
Do you see a vtkAddon folder in the IGSIO-bin folder?

Hi Adam, the CMake project works fine when the option IGSIO_SUPERBUILD variable is checked (CMake 3.14.3).
Whe the project is generated and opened in Visual Studio 2019 the only solutions that I can select are: Debug (fails does not build any binary files,
Debug_All_Build.txt
), Release (works, Release_ALL_BUILD.txt, MinSizeRel, RelWithDebugInfo (fails, but build some binary files).
I can see the vtkAddon.dll and vtkAddon.lib in the bin\Release folder, but not in the folder for other configurations.

Plus isn't validated against VS 2019. @Sunderlandkyl do we know if it works?

I've accidentally tried to build Plus on VS2019 with VS2019 toolset a few weeks ago. ITK build failed. Maybe latest ITK master is compatible, I haven't tested.
@felixnavarro You can still use VS2019 IDE (we use that, too), but make sure to specify VS2015 toolset (-T v140).

ITK and VTK build with VS2019. VS2015 failed, I'll try again on Monday and inform you about the results of the compilation using VS2015.

I've compiled Plus with VS2019 with VS2015 toolset from scratch on a new computer 2 weeks ago, by running these 3 lines on the command-line:
cd /d c:\D\PlusExp-x64-bin
"c:\Program Files\CMake\bin\cmake.exe" c:\D\PlusExp-build -G "Visual Studio 16 2019" -A x64 -T v140 -DQt5_DIR:PATH=C:/Qt/5.9.8/msvc2015_64/lib/cmake/Qt5 -DGIT_EXECUTABLE="c:\Program Files\Git\cmd\git.exe" -DPLUS_USE_3dConnexion_TRACKER:BOOL=ON -DPLUS_USE_Ascension3DG:BOOL=OFF -DPLUS_USE_Ascension3DGm:BOOL=OFF -DPLUS_USE_BKPROFOCUS_VIDEO:BOOL=OFF -DPLUS_USE_BRACHY_TRACKER:BOOL=OFF -DPLUS_USE_CERTUS:BOOL=OFF -DPLUS_USE_EPIPHAN:BOOL=OFF -DPLUS_USE_ICCAPTURING_VIDEO:BOOL=ON -DPLUS_USE_INTERSON_VIDEO:BOOL=OFF -DPLUS_USE_MICRONTRACKER:BOOL=ON -DPLUS_USE_MMF_VIDEO:BOOL=ON -DPLUS_USE_PHIDGET_SPATIAL_TRACKER:BOOL=OFF -DPLUS_USE_POLARIS:BOOL=ON -DPLUS_USE_ULTRASONIX_VIDEO:BOOL=OFF -DPLUS_USE_VFW_VIDEO:BOOL=ON
c:\D\PlusExp-x64-bin>"c:\Program Files\CMake\bin\ctest.exe" -D Experimental -C Release

Start a completely clean build, configure PlusBuild using CMake command-line arguments (-D...) to make sure that you can make changes in a reproducible way. If you still have issues, send us the command-line arguments you used and the build log.

Dear Andras, I have executed the following command afteer including the path for several libraries (vtk, itk, igsio, vtkaddon) requested in the result of your command:
c:\lib\bin\PlusLib-2.6.0clean>"c:\Program Files\CMake\bin\cmake.exe" C:/lib/src/PlusLib-clean -G "Visual Studio 16 2019"  -A x64 -T v140 -DQt5_DIR:PATH=C:/programas/Qt/5.12.3/msvc2017_64/lib/cmake/Qt5 -DGIT_EXECUTABLE="C:/programas/Git/cmd/g it.exe" -DPLUS_USE_3dConnexion_TRACKER:BOOL=OFF -DPLUS_USE_Ascension3DG:BOOL=OFF -DPLUS_USE_Ascension3DGm:BOOL=OFF -DPLU S_USE_BKPROFOCUS_VIDEO:BOOL=OFF -DPLUS_USE_BRACHY_TRACKER:BOOL=ON -DPLUS_USE_CERTUS:BOOL=OFF -DPLUS_USE_EPIPHAN:BOOL=OFF  -DPLUS_USE_ICCAPTURING_VIDEO:BOOL=OFF -DPLUS_USE_INTERSON_VIDEO:BOOL=OFF -DPLUS_USE_MICRONTRACKER:BOOL=OFF -DPLUS_USE_M MF_VIDEO:BOOL=ON -DPLUS_USE_PHIDGET_SPATIAL_TRACKER:BOOL=OFF -DPLUS_USE_POLARIS:BOOL=OFF -DPLUS_USE_ULTRASONIX_VIDEO:BOO L=OFF -DPLUS_USE_VFW_VIDEO:BOOL=ON -DVTK_DIR:PATH=C:/lib/bin/VTK-8.2.0 -DITK_DIR:PATH=C:/lib/bin/InsightToolkit-4.13.2 - DIGSIO_DIR:PATH=C:/lib/bin/IGSIO -DvtkAddon_DIR:PATH=C:/lib/bin/IGSIO/vtkAddon-bin -DCMAKE_PREFIX_PATH:PATH=C:/lib/bin/I GSIO/vtkAddon-bin
I obtain the following log file
CMakeOutput.log
commandline output
Commandline output.txt
and cache file
CMakeCache.txt

Please use the exact same build folder names and command line as I suggested. Yours have many mistakes (extra spaces, unnecessary arguments, etc. that break things).

Using the same folder and command line this is the output.
Commandline output.txt
CMakeOutput.log

Can you copy-paste your command line here?

c:\D\PlusExp-x64-bin>"c:\Program Files\CMake\bin\cmake.exe" c:\D\PlusExp-build -G "Visual Studio 16 2019" -A x64 -T v140
-DQt5_DIR:PATH=C:/Qt/5.9.8/msvc2015_64/lib/cmake/Qt5 -DGIT_EXECUTABLE="c:\Program Files\Git\cmd\git.exe" -DPLUS_USE_3dC
onnexion_TRACKER:BOOL=ON -DPLUS_USE_Ascension3DG:BOOL=OFF -DPLUS_USE_Ascension3DGm:BOOL=OFF -DPLUS_USE_BKPROFOCUS_VIDEO:
BOOL=OFF -DPLUS_USE_BRACHY_TRACKER:BOOL=OFF -DPLUS_USE_CERTUS:BOOL=OFF -DPLUS_USE_EPIPHAN:BOOL=OFF -DPLUS_USE_ICCAPTURIN
G_VIDEO:BOOL=ON -DPLUS_USE_INTERSON_VIDEO:BOOL=OFF -DPLUS_USE_MICRONTRACKER:BOOL=ON -DPLUS_USE_MMF_VIDEO:BOOL=ON -DPLUS_
USE_PHIDGET_SPATIAL_TRACKER:BOOL=OFF -DPLUS_USE_POLARIS:BOOL=ON -DPLUS_USE_ULTRASONIX_VIDEO:BOOL=OFF -DPLUS_USE_VFW_VIDE
O:BOOL=ON

OK, so it looks mostly good now. The issue is that Plus tries to parse the current date (to create package name) and it fails. Probably it is due to your special (Spanish?) locale settings.
Could you please add in c:\D\PlusExp-x64-bin\PlusLib\CMakeLists.txt file, above line 106 (STRING(REGEX MATCH "([0-9])+-([0-9]+)-([0-9]+)" PLUSLIB_COMMIT_DATE ${_git_show_output})) this command:
message(WARNING "PLUSLIB_COMMIT_DATE=${PLUSLIB_COMMIT_DATE}")

and copy here the PLUSLIB_COMMIT_DATE=… line from the build output?

Dear Andaras, there is not c:\D\PlusExp-x64-bin*PlusLib* folder so I modified the c:\D\PlusExp-Build\CmakeLists.txt whose line 106 match with the code that you mention. I inserted the warning and I got this output:

CMake Warning at CMakeLists.txt:106 (message):
_git_show_output=
CMake Error at CMakeLists.txt:107 (STRING):
STRING sub-command REGEX, mode MATCH needs at least 5 arguments total to
command.
CMake Error at CMakeLists.txt:108 (STRING):
STRING sub-command REPLACE requires at least four arguments.
CMake Error at src/CMakeLists.txt:3 (FIND_PACKAGE):
Could not find a package configuration file provided by "VTK" with any of
the following names:
VTKConfig.cmake
vtk-config.cmake
Add the installation prefix of "VTK" to CMAKE_PREFIX_PATH or set "VTK_DIR"
to a directory containing one of the above files.  If "VTK" provides a
separate development package or SDK, be sure it has been installed.
-- Configuring incomplete, errors occurred!

If I type "date" on the commandline I get DD/MM/YYYY (DD=Day, MM=Month, YYYY=Year)

c:\D\PlusExp-Build\CmakeLists.txt should not contain  STRING(REGEX MATCH "([0-9])+-([0-9]+)-([0-9]+)" PLUSLIB_COMMIT_DATE ${_git_show_output}). If it does then something is very seriously wrong in your configuration. Make sure you always run the 3 commands to build Plus together (if you run the second line without first going to the right directory, you might mess up your build tree).
You should find the regex match line in c:\D\PlusExp-bin\PlusLib\CMakeLists.txt. If you add the message(WARNING "_git_show_output=${_git_show_output}") command there then we should see the correct command output. If we see _git_show_output= (empty result) there then it probably means that git failed to execute, so you need to double-check the GIT_EXECUTABLE path in the second line of the build script. If the output is not empty then just its format is unexpected. You can then try to tune the expression in line 102, replacing it with this:
EXECUTE_PROCESS(COMMAND ${GIT_EXECUTABLE} show ${PLUSLIB_REVISION} -s --date=iso8601 --format=%cd

Andas,
I have re-dowloaded the code from github and performed a new clean build. I executed the cmake command from c:\D\PlusExp-x64-bin folder.
The result is the same, no PlusLib folder is created.in the binary folder and a CMakeLists.txt appears in PlusExp-Build since it is included in the zip file that I dowloaded (modification time remains to the time of the decompression after the execution of cmake).
I attach the output of the cmake and ctest commands.
CMakeOutput.log
ctestCommand_output.txt
cmakeCommand_output.txt

You need to download and build PlusBuild repository. It will download and build PlusLib and all dependencies.

I'm asking to IT department to grant access to github, we are under a very restrictive firewall. This will take a few days.  :(

Set PLUSBUILD_USE_GIT_PROTOCOL to OFF. It may help in getting through some firewalls.

Dear Andras, sorry for the late reply but I've attended to our national congress.
I had to modify my installation of Visual Studio to include Git since cmake was reporting a problem with the version string of git.  After that the configuration process started to work.
The first time Cmake reported this:

-- Could NOT find MicronTracker (missing: MicronTracker_LIBRARY MicronTracker_INCLUDE_DIR MicronTracker_BINARY_DIR)
CMake Error at CMakeLists.txt:573 (MESSAGE):
This project requires Claron MicronTracker SDK for supporting the
MicronTracker tracking device.  One of the components is missing.  Please
verify configuration or turn off PLUS_USE_MICRONTRACKER.

I turned it off and Cmake reported:

-- Could NOT find ICCAPTURING (missing: ICCAPTURING_INCLUDE_DIR ICCAPTURING_TIS_UDSHL_STATIC_LIB ICCAPTURING_TIS_UDSHL_S
HARED_LIB ICCAPTURING_TIS_UDSHLD_STATIC_LIB ICCAPTURING_TIS_UDSHLD_SHARED_LIB)
CMake Error at CMakeLists.txt:614 (MESSAGE):
This project requires IC Capturing SDK for supporting the Imaging Source
USB frame grabber.  One of the components is missing.  Please verify
configuration or turn off PLUS_USE_ICCAPTURING_VIDEO.

I turned it off and turned on PLUS_USE_BRACHY_TRACKER since a CIVCO brachy stepper and a frame grabber (PLUS_USE_MMF_VIDEO) are the device that I inted to use.
Everything worked fine.WorkingCmakeOutput.txt
After that I executed the test:

c:\D\PlusExp-x64-bin>"c:\Program Files\CMake\bin\ctest.exe" -D Experimental -C Release
Site: PA-1RADIOF02
Build name: vsx86-Windows-6.1.7601
Create new tag: 20190610-0914 - Experimental
Configure project
Each . represents 1024 bytes of output
. Size of output: 0K
Build project
Each symbol represents 1024 bytes of output.
'!' represents an error and '*' a warning.
..!!!! Size of output: 6K
Error(s) when building project
5 Compiler errors
1 Compiler warnings
Test project C:/D/PlusExp-x64-bin
No tests were found!!!
Performing coverage
Cannot find any coverage files. Ignoring Coverage request.
Submit files
SubmitURL: http://perkdata.cs.queensu.ca/CDash/submit.php?project=PlusBuild
Submit failed, waiting 5 seconds...
Retry submission: Attempt 1 of 3
Submit failed, waiting 5 seconds...
Retry submission: Attempt 2 of 3
Submit failed, waiting 5 seconds...
Retry submission: Attempt 3 of 3
Error when uploading file: C:/D/PlusExp-x64-bin/Testing/20190610-0914/Configure.xml
Error message was: Failed to connect to perkdata.cs.queensu.ca port 80: Timed out
Problems when submitting via HTTP
Errors while running CTest

This is the file that cannot be sent:
Configure.xml.txt

Have you set PLUSBUILD_USE_GIT_PROTOCOL to OFF?
You can add DOWNLOAD_COMMAND "" to ExternalProject_Add to prevent downloading (cloning).

For Windows users the configuration of git need to be modified using the following commands:
git config --global http.sslBackend openssl
git config --global http.sslVerify true

This way the code seems to compile correctly, I'll inform you about the results thown by the test command.

We usually don't need to tweak these settings, but it is good to know that you had to, and happy to hear it fixed the network problems for you.

I thought that the ctest was ok sin no ! appeared in the output but examining its build.xml log file  I can see this:
CMake Error at itk-prefix/tmp/itk-gitclone.cmake:75 (message):
Failed to checkout tag: 'v5.00'
The whole Build.xml file is attached:
[build.xml.txt] (https://github.com/IGSIO/IGSIO/files/3311417/Build.xml.txt)

The issue with the ITK tag has been fixed. Try pulling the changes from PlusBuild.

Sorry for the late reply, the compilation process was very long.
Build.xml.txt
Let me translate a sentence related to one error for your convenience:

símbolo externo IsInitialized sin resolver al que se hace referencia en la función ....

means

Unresolved external symbol IsInitialized  which is referenced in the fuction ....

This translation could be useful also:

el tipo de máquina de biblioteca 'X86' está en conflicto con el tipo de máquina de destino 'x64'

means

the machine of the library 'X86' is in conflict with the destination machine 'x64'

For the BrachyTracker device, the build needs to be 32-bit because the associated libraries are also 32-bit.

If I change -A x64 for -A x86 I get

This project doesn't contain the Configuration and Platform combination of Debug|Win32

Is there an option to force the configuration to Release?
Complete command:
"c:\Program Files\CMake\bin\cmake.exe" c:\D\PlusExp-build -G "Visual Studio 16 2019" -A x86 -T v140 -DQt5_DIR:PATH=C:/programas/Qt/5.12.3/msvc2017_64/lib/cmake/Qt5  -DGIT_EXECUTABLE="c:\programas\Git\cmd\git.exe" -DPLUS_USE_3dConnexion_TRACKER:BOOL=OFF -DPLUS_USE_Ascension3DG:BOOL=OFF -DPLUS_USE_Ascension3DGm:BOOL=OFF -DPLUS_USE_BKPROFOCUS_VIDEO:BOOL=OFF -DPLUS_USE_BRACHY_TRACKER:BOOL=ON -DPLUS_USE_CERTUS:BOOL=OFF -DPLUS_USE_EPIPHAN:BOOL=OFF -DPLUS_USE_ICCAPTURING_VIDEO:BOOL=OFF -DPLUS_USE_INTERSON_VIDEO:BOOL=OFF -DPLUS_USE_MICRONTRACKER:BOOL=OFF -DPLUS_USE_MMF_VIDEO:BOOL=ON -DPLUS_USE_PHIDGET_SPATIAL_TRACKER:BOOL=OFF -DPLUS_USE_POLARIS:BOOL=OFF -DPLUS_USE_ULTRASONIX_VIDEO:BOOL=OFF -DPLUS_USE_VFW_VIDEO:BOOL=ON

Use -A Win32.
Because you are compiling with "-T v140", you will need to use the Visual Studio 2015 version of Qt.

Also, try updating PlusBuild again.
I added a fix that should help with Visual Studio 2019 builds (https://github.com/PlusToolkit/PlusBuild/commit/6bc8d7eb6f37039721ebae4914859a3ddd27420b).

The compilation process has just ended successfully using the last version of the code and the version of QT that you recommended.

The compilation process has just ended successfully using the last version of the code and the version of QT that you recommended. However, when I try to launch the server it crashes.
062619_134343_PlusLog.txt

@felixnavarro Good to hear! Are there any other problems, or can this issue be closed?

Everything is Ok, thanks.


Disable useMessageDatabase affect other databases!

This is the official description of useMessageDatabase:

If set to true, the library will maintain a cache of chats and messages. Implies useChatInfoDatabase.

I'm using following parameter to initialize TDLib:
TdApi.TdlibParameters parameters = new TdApi.TdlibParameters();
parameters.databaseDirectory = this.getApplicationContext().getFilesDir().toString() + "/" + index;
parameters.useFileDatabase = true;
parameters.useChatInfoDatabase = true;
parameters.useMessageDatabase = false;
parameters.useSecretChats = false;
parameters.apiId = ...;
parameters.apiHash = "...";
parameters.systemLanguageCode = "en";
parameters.deviceModel = deviceModel;
parameters.systemVersion = systemVersion;
parameters.applicationVersion = "1.0";
parameters.enableStorageOptimizer = false;

I except that TDLib stores chat info in database. But it does not. After restarting the program database of chat info is empty. It is surprising that it stores chat info is i set useMessageDatabase  to true. The problem exists with both Android PreBuild and Compiled source code cloned from your GitHub repository!

This is the official description of useChatInfoDatabase:
If set to true, the library will maintain a cache of users, basic groups, supergroups, channels and secret chats. Implies useFileDatabase.

You can ensure that all that data is persisted by successfully calling GetUser/GetBasicGroup/GetSupergroup/GetSecretChat. If you want to create a corresponding Chat then you need to call CreatePrivateChat/CreateBasicGroupChat/CreateSupergroupChat/CreateSecretChat.

useChatInfoDatabase is enabled as you can see in my code.
I'm working with channels. GetSupergroup works great, but GetChatHistory and 'OpenChat' not work at all. The response of calling them is
Error {
  code = 6
  message = "Chat not found"
}

It is interesting that chat data is not persisted when useMessageDatabase is disabled while  useChatInfoDatabase. I know that useMessageDatabase is irrelevant but it seems that it affect storing info of chats. So i think that it is a bug.

This is exactly as written in the documentation. useMessageDatabase - "a cache of chats and messages.". useChatInfoDatabase - "a cache of users, basic groups, supergroups, channels and secret chats".
So, without message database, you need to use CreatePrivateChat/CreateBasicGroupChat/CreateSupergroupChat/CreateSecretChat to recreate the chat from a corresponding user_id, basic_group_id, supergroup_id or secret_chat_id before you can use it.


Document apn.Provider.shutdown() in README

Hi everyone,
First off, thanks so much for your hard work on this project!
I deployed apn to a production system that creates a lot of apn.Provider objects, one per customer. What I later noticed is that Node.js would be killed due to consuming 95% of the available system memory.
After some investigation, I figured out that this leak was being caused by apn. As soon as I sent 300 notifications via 300 different aps.Provider objects, memory usage soared and did not decrease after notifications had already been sent via the provider objects.
I then realized that there is probably some way to shut down the provider to release its resources (I wasn't aware it had any) and was able to find this documented in the doc/provider.markdown file.
This is great but I think it could be better if we also document the need to shut down providers which are no longer needed in the main README.md. Otherwise, the current code section in README.md leaks, which is not too bad for one provider but some people like myself might be creating lots of providers which over time causes mass destruction.
I was thinking of adding it next to this existing section:

You should only create one Provider per-process for each certificate/key pair you have. You do not need to create a new Provider for each notification. If you are only sending notifications to one app then there is no need for more than one Provider.

What do you think? Can I submit the PR?

@eladnava Please create a pull request and we can discuss your changes.

@florianreinhart #542, thanks!


Clicking on slices results in 500 Internal server error

Make sure these boxes are checked before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if any
[ ] I have reproduced the issue with at least the latest released version of superset
[x] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version
0.18.5
Expected results
Slices
Actual results
Sorry, something went wrong
500 - Internal Server Error
Stacktrace
         Traceback (most recent call last):
  File "/app/.heroku/python/lib/python3.6/site-packages/flask/app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "/app/.heroku/python/lib/python3.6/site-packages/flask/app.py", line 1614, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/app/.heroku/python/lib/python3.6/site-packages/flask/app.py", line 1517, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/app/.heroku/python/lib/python3.6/site-packages/flask/_compat.py", line 33, in reraise
    raise value
  File "/app/.heroku/python/lib/python3.6/site-packages/flask/app.py", line 1612, in full_dispatch_request
    rv = self.dispatch_request()
  File "/app/.heroku/python/lib/python3.6/site-packages/flask/app.py", line 1598, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/app/.heroku/python/lib/python3.6/site-packages/flask_appbuilder/security/decorators.py", line 26, in wraps
    return f(self, *args, **kwargs)
  File "/app/.heroku/python/lib/python3.6/site-packages/flask_appbuilder/views.py", line 478, in list
    widgets=widgets)
  File "/app/.heroku/python/lib/python3.6/site-packages/flask_appbuilder/baseviews.py", line 158, in render_template
    return render_template(template, **dict(list(kwargs.items()) + list(self.extra_args.items())))
  File "/app/.heroku/python/lib/python3.6/site-packages/flask/templating.py", line 134, in render_template
    context, ctx.app)
  File "/app/.heroku/python/lib/python3.6/site-packages/flask/templating.py", line 116, in _render
    rv = template.render(context)
  File "/app/.heroku/python/lib/python3.6/site-packages/jinja2/asyncsupport.py", line 76, in render
    return original_render(self, *args, **kwargs)
  File "/app/.heroku/python/lib/python3.6/site-packages/jinja2/environment.py", line 1008, in render
    return self.environment.handle_exception(exc_info, True)
  File "/app/.heroku/python/lib/python3.6/site-packages/jinja2/environment.py", line 780, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/app/.heroku/python/lib/python3.6/site-packages/jinja2/_compat.py", line 37, in reraise
    raise value.with_traceback(tb)
  File "/app/.heroku/python/lib/python3.6/site-packages/flask_appbuilder/templates/appbuilder/general/model/list.html", line 2, in top-level template code
    {% import 'appbuilder/general/lib.html' as lib %}
  File "/app/.heroku/python/lib/python3.6/site-packages/flask_appbuilder/templates/appbuilder/base.html", line 1, in top-level template code
    {% extends base_template %}
  File "/app/.heroku/python/lib/python3.6/site-packages/superset/templates/superset/base.html", line 1, in top-level template code
    {% extends "appbuilder/baselayout.html" %}
  File "/app/.heroku/python/lib/python3.6/site-packages/superset/templates/appbuilder/baselayout.html", line 2, in top-level template code
    {% import 'appbuilder/baselib.html' as baselib %}
  File "/app/.heroku/python/lib/python3.6/site-packages/flask_appbuilder/templates/appbuilder/init.html", line 46, in top-level template code
    {% block body %}
  File "/app/.heroku/python/lib/python3.6/site-packages/superset/templates/appbuilder/baselayout.html", line 21, in block "body"
    {% block content %}
  File "/app/.heroku/python/lib/python3.6/site-packages/flask_appbuilder/templates/appbuilder/general/model/list.html", line 13, in block "content"
    {% block list_list scoped %}
  File "/app/.heroku/python/lib/python3.6/site-packages/flask_appbuilder/templates/appbuilder/general/model/list.html", line 15, in block "list_list"
    {{ widgets.get('list')()|safe }}
  File "/app/.heroku/python/lib/python3.6/site-packages/flask_appbuilder/widgets.py", line 34, in __call__
    return template.render(args)
  File "/app/.heroku/python/lib/python3.6/site-packages/jinja2/asyncsupport.py", line 76, in render
    return original_render(self, *args, **kwargs)
  File "/app/.heroku/python/lib/python3.6/site-packages/jinja2/environment.py", line 1008, in render
    return self.environment.handle_exception(exc_info, True)
  File "/app/.heroku/python/lib/python3.6/site-packages/jinja2/environment.py", line 780, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/app/.heroku/python/lib/python3.6/site-packages/jinja2/_compat.py", line 37, in reraise
    raise value.with_traceback(tb)
  File "/app/.heroku/python/lib/python3.6/site-packages/flask_appbuilder/templates/appbuilder/general/widgets/list.html", line 2, in top-level template code
    {% extends 'appbuilder/general/widgets/base_list.html' %}
  File "/app/.heroku/python/lib/python3.6/site-packages/flask_appbuilder/templates/appbuilder/general/widgets/base_list.html", line 23, in top-level template code
    {% block begin_loop_values %}
  File "/app/.heroku/python/lib/python3.6/site-packages/flask_appbuilder/templates/appbuilder/general/widgets/list.html", line 45, in block "begin_loop_values"
    {% for item in value_columns %}
  File "/app/.heroku/python/lib/python3.6/site-packages/jinja2/runtime.py", line 410, in __init__
    self._after = self._safe_next()
  File "/app/.heroku/python/lib/python3.6/site-packages/jinja2/runtime.py", line 430, in _safe_next
    return next(self._iterator)
  File "/app/.heroku/python/lib/python3.6/site-packages/flask_appbuilder/models/base.py", line 87, in get_values
    retdict[col] = self._get_attr_value(item, col)
  File "/app/.heroku/python/lib/python3.6/site-packages/flask_appbuilder/models/base.py", line 36, in _get_attr_value
    if not hasattr(item, col):
  File "/app/.heroku/python/lib/python3.6/site-packages/superset/models/core.py", line 215, in slice_link
    url = self.slice_url
  File "/app/.heroku/python/lib/python3.6/site-packages/superset/models/core.py", line 201, in slice_url
    obj=self, params=parse.quote(json.dumps(self.form_data))))
  File "/app/.heroku/python/lib/python3.6/site-packages/superset/models/core.py", line 185, in form_data
    form_data = json.loads(self.params)
  File "/app/.heroku/python/lib/python3.6/json/__init__.py", line 354, in loads
    return _default_decoder.decode(s)
  File "/app/.heroku/python/lib/python3.6/json/decoder.py", line 342, in decode
    raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 2 column 1 (char 663)

Steps to reproduce
Slices -> Error
Notes:
Using Windows 10, PostgresSQL, Superset hosted on Heroku.

Please don't report issues against old releases, also this looks like already reported and fixed.

Updated to latest version still there is error.
I run the data split by geometry from https://mapzen.com/documentation/metro-extracts/file-format/ in json in slices. Since then I was getting that error.
Now i can click on slices tab but i select any slice or dashboard i get the following error.
I removed that now I am getting new error
Sorry, something went wrong
500 - Internal Server Error
Stacktrace
     Traceback (most recent call last):

File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1182, in _execute_context
context)
File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 470, in do_execute
cursor.execute(statement, parameters)
psycopg2.ProgrammingError: column dbs.impersonate_user does not exist
LINE 1: ...ma, dbs.extra AS dbs_extra, dbs.perm AS dbs_perm, dbs.impers...
^
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/app/.heroku/python/lib/python3.6/site-packages/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "/app/.heroku/python/lib/python3.6/site-packages/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/app/.heroku/python/lib/python3.6/site-packages/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/app/.heroku/python/lib/python3.6/site-packages/flask/compat.py", line 33, in reraise
raise value
File "/app/.heroku/python/lib/python3.6/site-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "/app/.heroku/python/lib/python3.6/site-packages/flask/app.py", line 1598, in dispatch_request
return self.view_functionsrule.endpoint
File "/app/.heroku/python/lib/python3.6/site-packages/superset/models/core.py", line 848, in wrapper
value = f(*args, **kwargs)
File "/app/.heroku/python/lib/python3.6/site-packages/superset/utils.py", line 601, in wraps
return f(self, *args, **kwargs)
File "/app/.heroku/python/lib/python3.6/site-packages/superset/views/core.py", line 1069, in explore
if not self.datasource_access(datasource):
File "/app/.heroku/python/lib/python3.6/site-packages/superset/views/base.py", line 99, in datasource_access
self.schema_access(datasource, user=user) or
File "/app/.heroku/python/lib/python3.6/site-packages/superset/views/base.py", line 92, in schema_access
self.database_access(datasource.database, user=user) or
File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/orm/attributes.py", line 237, in get
return self.impl.get(instance_state(instance), dict)
File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/orm/attributes.py", line 584, in get
value = self.callable_(state, passive)
File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/orm/strategies.py", line 557, in _load_for_state
return self._emit_lazyload(session, state, ident_key, passive)
File "", line 1, in
File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/orm/strategies.py", line 603, in _emit_lazyload
return loading.load_on_ident(q, ident_key)
File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/orm/loading.py", line 223, in load_on_ident
return q.one()
File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/orm/query.py", line 2814, in one
ret = self.one_or_none()
File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/orm/query.py", line 2784, in one_or_none
ret = list(self)
File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/orm/query.py", line 2855, in iter
return self._execute_and_instances(context)
File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/orm/query.py", line 2878, in _execute_and_instances
result = conn.execute(querycontext.statement, self._params)
File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 945, in execute
return meth(self, multiparams, params)
File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/sql/elements.py", line 263, in _execute_on_connection
return connection._execute_clauseelement(self, multiparams, params)
File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1053, in _execute_clauseelement
compiled_sql, distilled_params
File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1189, in _execute_context
context)
File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1402, in _handle_dbapi_exception
exc_info
File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 203, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 186, in reraise
raise value.with_traceback(tb)
File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1182, in _execute_context
context)
File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 470, in do_execute
cursor.execute(statement, parameters)
sqlalchemy.exc.ProgrammingError: (psycopg2.ProgrammingError) column dbs.impersonate_user does not exist
LINE 1: ...ma, dbs.extra AS dbs_extra, dbs.perm AS dbs_perm, dbs.impers...
^
[SQL: 'SELECT dbs.created_on AS dbs_created_on, dbs.changed_on AS dbs_changed_on, dbs.id AS dbs_id, dbs.verbose_name AS dbs_verbose_name, dbs.database_name AS dbs_database_name, dbs.sqlalchemy_uri AS dbs_sqlalchemy_uri, dbs.password AS dbs_password, dbs.cache_timeout AS dbs_cache_timeout, dbs.select_as_create_table_as AS dbs_select_as_create_table_as, dbs.expose_in_sqllab AS dbs_expose_in_sqllab, dbs.allow_run_sync AS dbs_allow_run_sync, dbs.allow_run_async AS dbs_allow_run_async, dbs.allow_ctas AS dbs_allow_ctas, dbs.allow_dml AS dbs_allow_dml, dbs.force_ctas_schema AS dbs_force_ctas_schema, dbs.extra AS dbs_extra, dbs.perm AS dbs_perm, dbs.impersonate_user AS dbs_impersonate_user, dbs.created_by_fk AS dbs_created_by_fk, dbs.changed_by_fk AS dbs_changed_by_fk \nFROM dbs \nWHERE dbs.id = %(param_1)s'] [parameters: {'param_1': 2}]
Thanks.

You need to run the database migrations when you upgrade:
http://superset.apache.org/installation.html#upgrading


coral: update testing-library and related packages

We can update testing library and related packages to a newer version, but that requires some updates in the code.
We should tackle that sometime, but it's not super important right now.

I'm still thinking we might try convert from jest to vitest. Our tests are already pretty slow, and we don't have that many :o

I'm 💯  for it! It's much faster 🥹 Give it a try! When we set up everything, we had some issues with typing (I wish I wrote that down in detail back then, but I'll check slack, not sure if I wrote with Samuli about it!) that might be solvable now.
BUT - I feel a little bit queasy that it's still not in version 1.x to be honest. I've no qualms using it in my side project stuff :D but we may feel different with Klaw? 🤔

Commenting here for clarity, but after a spike into vitest, it seems wiser to improve our Jest setup instead of replacing our runner: https://github.com/aiven/klaw/issues/1222
I will still open a PR to update those dependencies ^^


[TASK] Consolidate settings into one py file

WIP..  Refactor-settings branch

Submitted PR #66. Pending approval


Auto Replace source file with converted file

Not an issue but a feature requestion:
Can you please add an option to replace source file with converted file, after encoding in different directory, I've hacked up your older version to do this but it's not clean please see sample.
h265ize.tv.txt

Already exists with the --delete option. L898
The only thing is it doesn't add the same file extension as the input for obvious reasons.

Falling Snow does it auto replace the source with the newly encoded file?

Yes.

Thanks documentation wasn't clear.

Your right. I'll fix that when I get a chance.


Fixes for Python 3 and latest Cython

not using it at the moment but nice to see progress towards python3. Thanks Tony!

It appears MDF is compatible with latest version of Python. Anyone else seeing this issue? Im using python 3.10 and able to get past building the module at all.

It appears MDF is compatible with latest version of Python. Anyone else seeing this issue? Im using python 3.10 and able to get past building the module at all.


Meta-arcade unnecessarily initializes pygame audio

I'm using meta-arcade in headless mode in a vectorized setup and each time meta-arcade is imported, it prints ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Connection terminated (probably because there is no audio output available).
This can be solved by replacing pygame.init() with pygame.display.init() since meta-arcade doesn't need audio output anyway.

Just pushed this change, thanks for the fix!


small fixes to README example

@kevin-tracy Great work on this Kevin. It's awesome!
This PR makes small package-import fixes to the Visualizer example in the README to get it to run successfully.

Thank you for catching this!


6play : ffmpeg spams output and exits with error

[X] I've verified and I assure that I'm running youtube-dl 2017.11.06
[X] At least skimmed through the README, most notably the FAQ and BUGS sections
[X] Searched the bugtracker for similar issues including closed ones
[X] Bug report (encountered problems with youtube-dl)

The log : (too long to post here, ffmpeg spams the output)
https://gist.github.com/cafehaine/b973d481be22636b532430bbc9859fd7
Self explanatory, something changed on their side and now it is broken on our side.
the video tested was at this url : https://www.6play.fr/cauchemar-en-cuisine-avec-philippe-etchebest-p_841/arcais-c_11610886

An account I just created for the site :
login : cafehaine at gmail.com
password : demoaccount

This video insists that I don't have a Flash Player even if I have passed the Adobe Flash test
You have version 27,0,0,183 installed

Honestly I'm using youtube-dl since I cannot use the website since I'm running firefox 57 (no longer compatible with flash), so.. yeah.
Their ads are running with HTML5, so maybe they are transitioning to html5, I don't really know what they are doing.

I guess their website is just broken. Feel free to leave comments if those videos are working again.

issue is still on going


Only run CI checks that correspond to changed files

This reduces the number of tests we need to run by mapping the tests to the files changed.

Hey @craigdbarber what do you think about this? I think it's going to make iterating on a single action a lot easier and also reduce the number of builds we do per PR>

Craig is OOO - @averikitsch could you PTAL and let me know what you think?


Always create a tf variable.

This PR changes keras.backend.ones and keras.backend.zeros (using the Tensorflow backend) slightly to allow for creation of variables inside loops, such as tf.map_fn as shown below:
import keras
import tensorflow as tf

def succeeds(x):
    """
    Creates tensorflow.ones tensor, which works.
    """
    x = tf.ones((100,))
    return x

def fails(x):
    """
    Creates keras.backend.ones tensor, which fails.
    """
    x = keras.backend.ones((100,))
    return x

elems = keras.backend.zeros((1, 100))

# this call works
y = tf.map_fn(succeeds, elems=elems)

# this call doesn't
y = tf.map_fn(fails, elems=elems)

On master, this code crashes on the second call to tf.map_fn with the following error:
Using TensorFlow backend.
Traceback (most recent call last):
  File "test.py", line 18, in <module>
    y = tf.map_fn(fails, elems=elems)
  File "/usr/lib/python3.7/site-packages/tensorflow/python/ops/functional_ops.py", line 459, in map_fn
    maximum_iterations=n)
  File "/usr/lib/python3.7/site-packages/tensorflow/python/ops/control_flow_ops.py", line 3232, in while_loop
    return_same_structure)
  File "/usr/lib/python3.7/site-packages/tensorflow/python/ops/control_flow_ops.py", line 2952, in BuildLoop
    pred, body, original_loop_vars, loop_vars, shape_invariants)
  File "/usr/lib/python3.7/site-packages/tensorflow/python/ops/control_flow_ops.py", line 2887, in _BuildLoop
    body_result = body(*packed_vars_for_body)
  File "/usr/lib/python3.7/site-packages/tensorflow/python/ops/control_flow_ops.py", line 3201, in <lambda>
    body = lambda i, lv: (i + 1, orig_body(*lv))
  File "/usr/lib/python3.7/site-packages/tensorflow/python/ops/functional_ops.py", line 448, in compute
    packed_fn_values = fn(packed_values)
  File "test.py", line 9, in fails
    x = keras.backend.ones((100,))
  File "/home/hgaiser/.local/lib/python3.7/site-packages/keras/backend/tensorflow_backend.py", line 734, in ones
    return variable(v, dtype=dtype, name=name)
  File "/home/hgaiser/.local/lib/python3.7/site-packages/keras/backend/tensorflow_backend.py", line 400, in variable
    v = tf.Variable(value, dtype=tf.as_dtype(dtype), name=name)
  File "/usr/lib/python3.7/site-packages/tensorflow/python/ops/variables.py", line 259, in __init__
    constraint=constraint)
  File "/usr/lib/python3.7/site-packages/tensorflow/python/ops/variables.py", line 387, in _init_from_args
    "initializer." % name)
ValueError: Initializer for variable map_1/while/Variable/ is from inside a control-flow construct, such as a loop or conditional. When creating a variable inside a loop or conditional, use a lambda as the initializer.

This PR makes a minor adjustment to always return either tf.ones or tf.zeros. Apparently keras.backend.variable's cannot be created inside "control-flow constructs" such as tf.map_fn.

The CI server seems to have timed out, should I restart them somehow?

You can restart them by closing and opening the pr again

Tensors are not assignable, hence not creating a variable would fail in any situation where we use K.ones/zeros to create an initial state meant to receive an assignment update (like we do in RNNs I think?).

Tensors are not assignable, hence not creating a variable would fail in any situation where we use K.ones/zeros to create an initial state meant to receive an assignment update (like we do in RNNs I think?).

I see... alright. Do you have a suggestion how we can get both cases to work? Meaning, variables that can receive updates (RNNs) and variables inside loops (tf.map_fn). For now I wrap tf.ones and tf.zeros directly where I need to use it inside a tf.map_fn.

@hgaiser well, if you're already using TF-specific functionality (tf.map_fn), then surely it should be fine for you to use tf.zeros directly instead of the Keras backend? The only advantage of Keras backend functions is portability, which wouldn't matter in this case.

@fchollet yeah it's fine for me, but figured it might be something that would be a nice fix for Keras. Didn't know it was actually being used like that.


WIP(forms): upgrading forms guide to new api

This is work in progress. DO NOT MERGE.
The sample code has been converted for JS and TS, but the prose has not been started yet.
One open question: Have the export names been changed yet? Currently it doesn't seem to work if I try to reference ngModel from the template variable like  #name="ngModel":
<input type="text" class="form-control" required
           [(ngModel)]="model.name"
           name="name"  #name="ngModel" >

The old forms api samples have been moved to a deprecated folder.

Have to also make deprecated versions of the jade files for dart and js

@thelgevold I asked @StephenFluin and he tells me that the change is in angular/angular master and should be out in next RC.

We have to take a look at the exportAs section.
"Why "ngForm"? A directive's exportAs property tells Angular how to link the reference variable to the directive. We set name to ngForm because the NgControlName directive's exportAs property happens to be "ngForm"......."
One of the goals of the new forms API is to no longer export everything as ngForm, so we should look into how we should handle this section. I Don't think the granular exports are included yet.

@StephenFluin can you have a look at the comments that @thelgevold added?

Well need a section regarding the bootstrap logic needed at the moment, like the dynamic forms cookbook has.

I'm not up to speed on ngControl, so we'll have to get some input from Kara to get answers for your questions.

@kara can you have a look?

@googlebot me and @thelgevold are working together on this PR and he approves of me editing his commits.

@thelgevold I updated code for RC3, added in the JS prose edits, removed unused dart forms-deprecated example code, and renamed docregions.
Please review the individual commits and squash them into yours.

@naomiblack this PR is now fully complete and ready to be merged.

merged and live!


Is it possible to make a checkmark inside pdf?

Like this
Picture:

If so, how do I do that?
Thanks for your time.

Interactive checkboxes are not supported since this library can be used only to generate static PDFs. If you only need a non-interactive checkmark, you could try calling SetFont() with "ZapfDingbats" as the font family name. See https://en.wikipedia.org/wiki/Zapf_Dingbats for a chart of glyphs.


meson compile

try 2
-Db_santize=address,undefined

macos ci timing is getting annoying

10mins vs 4


show duplicate alart and long alart rebon

using with  "livewire/livewire": "^3.4", and facing duplicate alert and long alert. how can i fix it?

Hey, please follow the installation guide thoroughly.


Testing new elemental

Signed-off-by: David Cassany<EMAIL_ADDRESS>

draft to verify rancher-sandbox/elemental#189

Finally tests are green
Note this requires rancher-sandbox/elemental#189 to be merged first.
This PR adapts cOS-Toolkit to a config refactor on elemental side.
cOS-Toolkit changes mostly reflect:

There is no more the --partition-layout flag, as the same can be achieved by using the config.yaml file.
The /etc/cos-upgrade-image file is no longer needed, upgrade config comes from /etc/elemental/config.yaml
Few logging messages changed and tests relaying on logs are adapted to reflect it.

This is looking great, awesome!
Just few nits about docs, but otherwise implementation wide it looks good!

yep working on docs now

@mudler rebased and documentation added


constants in the global scope never a good idea

convert all constant variables into constant functions

var zero = 0.0 -> function ZERO() { return 0.0 };


Create docker image

I'm aware that there are two closed issues regarding this. The problem is no docker image is linked to from the README.md
I tried using pretty much all images that included koel in their name from docker hub but they all have issues.
The image used the most is actually 10 months old (and fails for me), I tried others but couldn't get it to work.
I tried building my own, but since I lack knowledge on how to deploy laravel apps I failed...
It would be nice if you had a dockerfile in this repo so that a new docker image could be built for every release.

Hi, I have updated the "image used the most" and it's work (for me ...) You can use it if you want: Dhouzy/docker-koel
Ps: Im relatively new to docker so it's probably not perfect

I'm guessing you didn't push it to docker hub?

hmm.. I guess I found the issue why the images are not working for me.
 The login form attempts to connect to the api which fails... I'm currently not sure how to fix it..
@Dhouzy I built your image, without the github api key. I just removed the line and managed to build the image. Not sure why it's been added in the first place...

Ok, So I updated my nginx conf. It now looks like this Now login throws a 500 server error

I got it to work. for some reason my database name is not being set. It's always "forge". All other variables seem to work

Found the error. It's a typo in fpm's config. I submitted a PR to your repo. I'm currently working on a cleaned up version that I'm then pushing to docker hub.
@phanan can you be persuaded into adding the dockerfile to the repo and settin up automatic builds?
I currently only have one issue, which is that something with the proxies is still broken. All the resources are being requested via http and not https. This causes the browsers to display a warning. Using redirects the content in the end is served using https. The browsers just aren't playing along...

Im happy to hear that it worked.
I agree with @simonsmiley whe sould have at least an image that it work and maintained

Too bad I don't use Docker. Not proficiently, that is :( I'll try to look at it, though.

Hi guys, just to add to this, i have an Arch Linux Docker containing the latest release of Koel, instructions on usage including an example command line are shown on the Docker Hub:-
https://hub.docker.com/r/binhex/arch-koel/

Official please.

I too would support having docker image for koel. I tried installing koel in macOS, it wasn't as quick as I would expect it to be. So I started creating docker image that will do the job :) Here is link to my repo (it is still work in progress). Feel free to comment on the same.

:+1:

#373
@phanan literally said

Just do a search – other guys have come up with this idea before. Feel free to come up with your own ;)

I couldn't find a working, simple docker image so I made my own. You can find it on docker hub under 0xcaff/koel. This image handles the annoying parts around running koel:init. It's goal is to be minimal and easy to run.
The github repo includes a docker-compose file with a database. You can build with your desired version of koel by changing a few variables in the Dockerfile.

@phanan I audited and tested @0xcaff docker image and this is actually some pretty good work, I strongly advise for you to mark it as an official image. Moreover the build seems to be automated which is really nice.

I've added a "With Docker" section in Koel's doc. Thanks all!

@erdnussflips Because that would be another thing for me to maintain :) Also I'm not a docker user.


build: Update Vulkan-Headers to 1.2.192

No changes to generated source.

CI Vulkan-ExtensionLayer build queued with queue ID 36175.

CI Vulkan-ExtensionLayer build # 69 running.

CI Vulkan-ExtensionLayer build # 69 failed.

Internal CI passed when rerun as manual-Vulkan-ExtensionLayer job 99


replace list.Length = 0 and optimize isNil

This is tiny optimization and code cleaning around empty list checks

inline function AbstractIL.IL.isNil used to call to List.isEmpty (not inline), replace it with property access list.Length
harmonize empty list comparison list.Length = 0 across the code (only in places which had AbstractIL.IL open already) to always use isNil

Please use isNil

This will slow things down as List.length will need to traverse the whole list.

@rojepp if I'm correct, List.Length is just reading a property, and is the same as List.isEmpty implementation. In F#, each list node has a Length property.

Oops, let me fix isNil then, you are right!

@rojepp thanks a lot for review, so now I reverted isNil change but there are still 13 places with list traversal which I have replaced by a null check 😃, baffling there were so many expensive traversals to check the list was empty...
We should have a obsolete attribute on list.Length when used in F# compiler codebase.

Now it should be slightly faster. isNil everywhere looks weird to me, and certainly no faster than List.isEmpty.

We prefer isNil over isEmpty in compiler to keep things consistent

@dotnet-bot test this please


Create an extension to allow for quick navigation between files within a project

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version:
OS Version:

Steps to Reproduce:

What's wrong with F1? Or explorer view?

We try to keep VS Code lean and we think the functionality you're asking for is great for a VS Code extension. Maybe you can already find one that suits you in the VS Code Marketplace. Just in case, in a few simple steps you can get started writing your own extension. See also our issue reporting guidelines.
Happy Coding!


fix: Kill isolates and remove hive storage in sync_multiple_client_te…

- What I did

Fixes the issue - https://github.com/atsign-foundation/at_client_sdk/issues/1084

- How I did it

The potential cause of the issue lies with the clientOne in the "sync_multiple_client_test.dart" file. This client runs in an isolate that shares the same hive box used by other tests. After the completion of the "sync_multiple_client_test.dart" test, the isolates are not terminated, and the subsequent tests continue to access the same hive box. This leads to corruption of the hive box.

To fix the above issue:

Terminate the Isolates at the end of the test.
As a defensive fix, set the hive storage location to a different folder for both the clients and remove at the end of test

- How to verify it

The functional test should not have "Could not read value from box. Maybe your box is corrupted"
All the functional test should pass

- Description for the changelog

Ran functional tests after the changes in local (ran the tests for nearly 10 times to ensures the tests are stable) and did not observe the errors related to hive box corruption. Attaching the test log: test_output.log


Update aur.en-US.mdx

Description

[ ] Adding new page
[ ] Updating existing documentation
[ ] Other updates

The old version of website has been dropped for a good reason. I hope you'll understand.


Pod install error

I'm having issue while installing my pod file, error is the following:
[!] Invalid Podfile file: syntax error, unexpected end-of-input, expecting keyword_end.
from /Users/asa/Desktop/PROJECT/IFNTTN/Podfile:28
-------------------------------------------
end

Thanks,

Well... You have to fix your Podfile then.


Bugfix/misc changelog fixes

Some tags in tags.py were reordered just to change some examples from {{PageRef|Crate|alt_name=crate}}s to {{PageRef|Crate|alt_name=crates}}. While it doesn't really change anything, it does help readability, and improves consistency with ordering in the several lists in tags.py.
Empty changelog lines no longer skipped. This allows the spacing to be setup properly immediately on changelog pages, without humans needing to revise the spacing.
Latest changelog from 12-21-2024 included in input-data.
Now avoids hyperlinking to [[Other]] just because its the default tag
Removed the "HeroLab " tags, its now just "" tag. The changelogs are able to be sectioned off by hero lab and non-herolabs now so these extra tags are no longer needed.
Each config in changelog_configs now has a sequence_id that starts at 0 for each day, designating multiple patches on the same day. This is also used for adding frontfacing_date_id in the format May 3, 2024 and May 3, 2024-1 which will be the patch names we use on the wiki.

Parsed data in deadlock-data PR

Converted it to a draft earlier while I added some other minor corrections, its back to ready for review now


use os.File.Stat instead of syscall.Stat for slightly better OS compatibility

Without this, it does not compile on OSX at the moment (because syscall.Stat_t.Mode is uint16 on OSX but a uint32 on linux).

good solution. LGTM


Add new hello-world ASP.NET core sample

Describe the proposal
Add a new simple hello-world ASP.NET core sample that can be run in Visual Studio environment and VS code as well. Demonstrate state-store or pub-sub functionality. Adapt the sample to be deployed locally and as well in k8s mode.

Not actionable

Not actionable


[FTL] readObjectStart: expect { or n, but found <, error found in #1 byte of

Version:

Command:
spk -s example -silent

Error:
[FTL] readObjectStart: expect { or n, but found <, error found in #1 byte of ...|<!DOCTYPE h|..., bigger context ...|<!DOCTYPE html>
<html lang="en">
<head>
<meta chars|...

Possible cause: Parsing, maybe?

First of all, thanks for your issue :-). This bug is already known and fixed in a development branch which I want to push in a few days.

I will close the issue after the new release ;-)


Satisfy All Not Populating in .conf files

Checklist

Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image? Yes
Are you sure you're not using someone else's docker image? Yes
If having problems with Lets Encrypt, have you made absolutely sure your site is accessible from outside of your network? Yes

Describe the bug

A clear and concise description of what the bug is.  Literally every proxy_host that I use an access list for fails with:

[4/21/2020] [4:44:13 PM] [Nginx    ] › ℹ  info      Reloading Nginx
[4/21/2020] [4:44:13 PM] [Express  ] › ⚠  warning   Command failed: /usr/sbin/nginx -t -g "error_log off;"
nginx: [emerg] unexpected ";" in /data/nginx/proxy_host/6.conf:43
nginx: configuration file /etc/nginx/nginx.conf test failed

My access list contains a single user, satisfy any checked (speaking of which, in the code satisfy_all is misspelled as satify_all), and a single 'allow' of '<IP_ADDRESS>/24'
The .conf files ends up looking like below after applying the access list
# Authorization
    auth_basic            "Authorization required";
    auth_basic_user_file  /data/access/1;

    # Access Rules
    deny all;

    #Access checks must...
    ;

Adding satisfy any manually fixes it temporarily.

What version of Nginx Proxy Manager is reported on the login page? 2.2.3

To Reproduce
Steps to reproduce the behavior:

Created an access list as shown above
Apply it to a proxy_host
Attempt to generate SSL for the host and save
"Internal Error" popup and above issue.

Operating System

Docker

I'm pretty sure the job that updates Nginx configs after a certificate is added doesn't have the access list relationship loaded and is the cause of this bug, I haven't had a chance to determine where I can load the relationship to fix the bug though.

This is still an issue on the newest build.  However, it can be bypassed by creating a proxy host without the access list enabled, generating the cert, then going back and enabling the access list after the cert is auto-generated.

Hi there.
I am still getting "[emerg] unexpected ";" in /data/nginx/proxy_host/3.conf:44" when trying to generate an SSL certificate on version 2.5.0
Is there any fix to this?


fix: disable ledger for firefox, closes #5287

This PR adds a check for firefox and if so disabled the Use Ledger button at sign in

Summary by CodeRabbit

New Features

The 'Use Ledger' button is now conditionally disabled if the user is on a Firefox browser, enhancing compatibility and preventing potential issues.

We have a screen for this, that shows a "browser not supported" message
IMO this is a degraded experience, because now the user doesn't know why they can't use Ledger.
...but also, we don't support FF so 🤷🏼 @314159265359879 is this still an issue? Doesn't the screen work?

Thanks, I didn't know about that screen


Support  Uniform Bucket Level Access on GCP

Thanks for contributing to cloud_controller_ng. To speed up the process of reviewing your pull request please provide us with:

A short explanation of the proposed change:
Blobstore component supports Uniform Bucket Level Access (UBLA) permission to buckets on GCP.

An explanation of the use cases your change solves
GCP Assured Workloads type of landscapes restricts the blobstore access to UBLA only: the fine-grained, aka ACL, the cloud_controller_ng support is not allowed.

Links to any other associated PRs
fog-google library recently added UBLA support with https://github.com/fog/fog-google/pull/600.

[x] I have reviewed the contributing guide

[x] I have viewed, signed, and submitted the Contributor License Agreement
I contribute on behalf of SAP

[x] I have made this pull request to the main branch

[x] I have run all the unit tests using bundle exec rake

[ ] I have run CF Acceptance Tests

Closed in favor of #3463