[Help, not Bug] The displaying content of the GtkFrame widget can't be dynamically replaced in clicking event-handle closure of the GtkButton widget

Hello @sdroege ,
I am stuck by a technical problem and hope to acquire your intelligent help.
I stumble across a hassle during a course of implementing a GUI app named after "setup wizard" where clicking the previous / next button is expected to dynamically changes the displaying content. I was stuck, because the click event handle of the previous / next button is merely able to remove the old content, but doesn't add the new one. Consequently, after the next button is clicked, the displaying region becomes empty.
In my program, a single closure (named after "render") is written to stuff widget to the displaying region which is a GtkFrame widget. It's weird that the same closure is capable of adding the child widget (e.g. gtk::Box) to GtkFrame and showing it during the GUI initialization (i.e. inside "application.connect_activate(...)"), but takes no effect in the event-handle closure for receiving the clicking signal. I don't make certain what I lost.
My widget is as follow
GtkApplicationWindow

GtkPanel : Vertical direction

GtkScrolledWindow

GtkViewport

GtkAlignment : align to center

Gtk Frame : **I'd like to dynamically change its only one child widget, when the next / previous button is clicked.

GtkButtonBox : Vertical direction**

GtkButton : Preview
GtkButton : Next
GtkButton : Submit

scaffold-wizard.zip
My source code is here. After (cargo run), the JSON file under the (assets) folder is loaded which has a (prompts) node in the top level. The first entry of the (prompts) object will be rendered against the 1st scene during the GUI initialization where only a GtkLabel is drawn with the (message) property value from JSON.

At the moment, clicking the next button erases the GtkLabel widget, because of the GtkFrame::remove(). And then, clicking the preview button takes no effect for redrawing the GtkLabel widget again, even though the GtkFrame::add() is run without any panic!. If you open the source code by using VSCode including the LLDB plugin, typing the F5 key on the keyboard will launch the debugging mode. And then, it's observed that the GtkFrame::add() is run with the breakpoint on it.
The below #4 step takes no effect for the button-clicking occasion.

I'd like to resolve the problem, but am not aware of what is erroneous. I really need your technical assistance.

Ask you questions at discourse.gnome.org/

Hello @bilelmoussaoui ,
I have just made a test. The operation of removing the child widget of the GtkFrame widget even brings about the failure of GtkFrame::set_label(Some("***")) either. That's to say,
(1) If the statement "step_viewer.remove(...)" and its surrounding "if" branch is replaced with "step_viewer.set_label(Some(&format!("test-index {}", step_index)[..]))", the label text of the GtkFrame widget will be always changed, every time the next/previous button is clicked.
(2) If both "step_viewer.remove(...)" and "step_viewer.set_label(Some(&format!("test-index {}", step_index)[..]))" are conserved at the same time, "step_viewer.set_label(...)" will takes no effect either.
So, I doubt that "step_viewer.remove(&...)" brings about the failure of "step_viewer.add(&...)". Perhaps, one of the following happens
(1) It's forbidden to dynamically remove the child widget of the GtkFrame widget
or
(2) It's a bug of the method of GtkFrame::remove()

Hello @bilelmoussaoui ,
I have just resolve the problem.

Nice that you figured it out :) and yes, all the widgets in GTK 3 are hidden by default, it's not great but you have to always remember to show() your widget. Also https://wiki.gnome.org/action/show/Projects/GTK/Inspector is very helpful for debugging such issues once you're familiar with it.


sends an email to viewer to set password when a viewer account is created

I pushed the changes you required


Loading word2vec embedding exceeds the memory limit

Describe the bug
Loading word2vec embedding causes the memory issue. Loading embedding vector in string format require much more memory.
Solution
Modify the function matchzoo.embedding.load_from_file from:

data = pd.read_csv(file_path,
sep=" ",
index_col=0,
header=None,
skiprows=1)

to:

data = pd.read_csv(file_path,
sep=" ",
index_col=0,
header=None,
skiprows=1,
quoting=csv.QUOTE_NONE)

would you like to send a PR to fix this issue? @danielwonght

Sure.


[for help] RTMDetIns visualization isu

Prerequisite

[X] I have searched Issues and Discussions but cannot get the expected help.
[X] I have read the FAQ documentation but cannot get the expected help.
[X] The bug has not been fixed in the latest version (master) or latest version (3.x).

Task
I'm using the official example scripts/configs for the officially supported tasks/models/datasets.
Branch
master branch https://github.com/open-mmlab/mmdetection
Environment
sys.platform: linux
Python: 3.7.16 (default, Jan 17 2023, 22:20:44) [GCC 11.2.0]
CUDA available: True
numpy_random_seed:<PHONE_NUMBER>
GPU 0,1,2,3: NVIDIA GeForce RTX 3090
CUDA_HOME: /usr/local/cuda
NVCC: Cuda compilation tools, release 11.3, V11.3.109
GCC: gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
PyTorch: 1.11.0
PyTorch compiling details: PyTorch built with:

GCC 7.3
C++ Version: 201402
Intel(R) oneAPI Math Kernel Library Version 2021.4-Product Build 20210904 for Intel(R) 64 architecture applications
Intel(R) MKL-DNN v2.5.2 (Git Hash a9302535553c73243c632ad3c4c80beec3d19a1e)
OpenMP 201511 (a.k.a. OpenMP 4.5)
LAPACK is enabled (usually provided by MKL)
NNPACK is enabled
CPU capability usage: AVX2
CUDA Runtime 11.3
NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86;-gencode;arch=compute_37,code=compute_37
CuDNN 8.2
Magma 2.5.2
Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, CUDA_VERSION=11.3, CUDNN_VERSION=8.2.0, CXX_COMPILER=/opt/rh/devtoolset-7/root/usr/bin/c++, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_KINETO -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, TORCH_VERSION=1.11.0, USE_CUDA=ON, USE_CUDNN=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=OFF, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON, USE_ROCM=OFF,

TorchVision: 0.12.0
OpenCV: 4.7.0
MMEngine: 0.6.0
MMDetection: 3.0.0rc6+61dd8d5
Reproduces the problem - code sample
import torch, torchvision
import mmdet
import mmcv
import mmengine
import mmcv
import mmengine
from mmdet.apis import init_detector, inference_detector
from mmdet.utils import register_all_modules
Choose to use a config and initialize the detector
config_file = '/home/workspace/segmantation/instance/mmdetection/configs/rtmdet/rtmdet-ins_x_8xb16-300e_coco.py'
Setup a checkpoint file to load
checkpoint_file = '/home/workspace/segmantation/instance/mmdeploy/checkpoint/rtmdet-ins_x_8xb16-300e_coco_20221124_111313-33d4595b.pth'
register all modules in mmdet into the registries
register_all_modules()
build the model from a config file and a checkpoint file
model = init_detector(config_file, checkpoint_file, device='cuda:0')  # or device='cuda:0'
Use the detector to do inference
image = mmcv.imread('/home/workspace/segmantation/instance/mmdetection/demo/demo.jpg',channel_order='rgb')
result = inference_detector(model, image)
print(result)
from mmdet.registry import VISUALIZERS
init visualizer(run the block only once in jupyter notebook)
visualizer = VISUALIZERS.build(model.cfg.visualizer)
the dataset_meta is loaded from the checkpoint and
then pass to the model in init_detector
visualizer.dataset_meta = model.dataset_meta
show the results
visualizer.add_datasample(
'result',
image,
data_sample=result,
draw_gt = None,
wait_time=0,
out_file=None,
pred_score_thr=0.4
)
visualizer.show()
Reproduces the problem - command or script
it is not a command. it is run on jupyternotebook.(ipynb)
Reproduces the problem - error message
there is no error but the result is so wired.
the result is here

what should i do? how can I solve this problem?
Additional information
No response

ah I use a model which is pretrained on this repository. the model is RTMDetIns-x, and I use a config file named rtmdet-ins_x_8xb16-300e_coco.py

I copy your code and run it, but the result is correct.
import torch, torchvision
import mmdet
import mmcv
import mmengine

import mmcv
import mmengine

from mmdet.apis import init_detector, inference_detector
from mmdet.utils import register_all_modules

config_file = 'configs/rtmdet/rtmdet-ins_x_8xb16-300e_coco.py'
checkpoint_file = '~/models/rtmins/gather_model/rtmdet/rtmdet-ins_x_8xb16-300e_coco/rtmdet-ins_x_8xb16-300e_coco_20221124_111313-33d4595b.pth'
register_all_modules()
model = init_detector(config_file, checkpoint_file, device='cuda:0')  # or device='cuda:0'

image = mmcv.imread('demo/demo.jpg', channel_order='rgb')
result = inference_detector(model, image)
print(result)
from mmdet.registry import VISUALIZERS

visualizer = VISUALIZERS.build(model.cfg.visualizer)

visualizer.dataset_meta = model.dataset_meta
visualizer.add_datasample(
    'result',
    image,
    data_sample=result,
    draw_gt=None,
    wait_time=0,
    out_file=None,
    pred_score_thr=0.4
)

visualizer.show()

umm.. ok.. I will try again. thanks alot:)

Hi Wooho-Moon, I met similar issue with you, and also carefully examine the codes, environments, changed a few computers to try, but could not solve the problem, and I searched all over the internet but finds no answers.
If you are also carefully examine the codes line by line, just like what I did, but still see errors, you may want to try the following solution.
Eventually the solutions turns out surprisingly simple: Just run all the scripts together. like what [RangiLyu] did. Use "run all" from the get-go.
Hope this helps.


Is it possible to use this package in apps targeting ios 13 and below

App is working fine on ios 14 and up, but it's crashing on ios 13 and below.

ok, my fault. It is not crashing. Sorry


Add cookie-based authentication feature

HI
This feature will allows ,when enabled ,the authentification through a http-only cookie that is stored on a specified domain and signed using a Salt key .
I hope this will be very useful specially for those who wanted a COOKIE-BASED AUTH for better security  and answers for issue #269 .
@James1345 @belugame
i would be very grateful if you could take a look at my PR and give feedback

@James1345 @belugame i can see you're too busy ,i appreciate it, if you take a look at my PR and give some FeedBack
thanks

I m not maintaining this project anymore, please make a fork if you want this project to have an active admin and move forward.

This is what I am looking for. Please review this and merge it.

You could  use my fork , It looks like this project  is not  receiving any updates soon

Any update with this PR? It's really good feature~ :)


Add example, tests and fix for Google APIs PSC endpoint

Checklist

I applicable, I acknowledge that I have:

[x] Read the contributing guide
[ ] Ran terraform fmt on all modified files
[ ] Regenerated the relevant README.md files using tools/tfdoc.py
[ ] Made sure all relevant tests pass

Nice, I didn't know about this!


Add ability to create snapshots

This code adds a new database in a new folder /snapshots
New RPC call printsnapshot <timestamp>
To take a snapshot add the following to the .conf
snapshot=<timestamp>
or run fluxd with the flag
-snapshot=<timestamp>
The snapshot will be taken on the block height of the next block that comes after the given <timestamp>
Example:
snapshot=1649783322 which is (Tue Apr 12 2022 17:08:42 UTC)
Give the following snapshot:
 {   "nTime":<PHONE_NUMBER>,   "height": 1097936,   "balances": {     "t1Hsc324kffbMX2ehmSMHLB2JBxLn8E76EL":<PHONE_NUMBER>9,     "t1HscB7BresscYibF5hiAzotugpnEwAgxki": 0.00200000,     "t1HscB7DDYqKHLXWipvZ7pmmxE1VFPXW5b4": 0.00185900,     "t1HscCUEEMpGtdQzXedWwuc614U7wHiG4JQ": 0.00080000,     ............     ............ }
The height 1097936 - has the timestamp of<PHONE_NUMBER>, which is 18 seconds after the given timestamp.
To produce the snapshot into a readable format. Call the following rpccall
printsnapshot  <timestamp>  >> snapshot.json
Then open snapshot.json to view the snapshot data

tACK, works amazing.

Sum of balances matches expected.
Produces reliable results - different nodes produced same snapshot
On a given set of addresses, balance obtained was same as expected balance

Ack.

wouldn't make more sense to use block height instead of timestamp?

Timestamp is actually better for us as we can prepare everything more in advance :)

@TheTrunk @Cabecinha84 Now you can use either height or timestamp to perform a snapshot


Width column data not full

hello, I'm trying to implement this package into my project but after I follow it there is a problem with the table display,
The width of the table does not fully fill the box, there is a space like this picture.

let me check this

@MuhammadRafeh any luck for this issue?

yes, same issue


Merge dev into production

To be able to test whether sending emails also works in production or if we need to #stoptheline again 😏
@hpi-swt2/scrum-master-2016
@hpi-swt2/product-owner-2016

Coverage remained the same at 100.0% when pulling d7e3194b7788c1c377a2ca7a8e81f527efeb5ec6 on dev into eba53d5dd69f7ed7688be45f4725d6f071eb02e3 on production.

Coverage remained the same at 100.0% when pulling b04a7450a070ee8961fd5f063781d3c1fd3f6fcc on dev into eba53d5dd69f7ed7688be45f4725d6f071eb02e3 on production.


Fix for #475: Made changes to MockDirectory class to resolve the bug

@fgreinacher I have tried to fix the issue #475
Please can you review and merge it if everything good? Let me know i need to make any changes. I have added the test as well to cover the scenario.
Thank you

@fgreinacher I am unable to debug things in an Unix environment. Apart from setting up a VM, is there anyway i can mock and run tests as unix environment in windows machine?

@fgreinacher I am unable to debug things in an Unix environment. Apart from setting up a VM, is there anyway i can mock and run tests as unix environment in windows machine?

You could also run a linux-based Docker container (e.g . https://hub.docker.com/_/microsoft-dotnet-core-sdk/) and build/test from within it.

👍 Thanks again

Thanks you. Would love to contribute more. I will look at other issues and comment if i can pick up anything else.


Unit tests for FileIO class

Details

Removed duplicated method.

This is ready for a review on my side @ninad-kamat

We cannot have binary files in the repo. Can we add these to example data repository and download from there?

@ninad-kamat opened a PR for this https://github.com/pyansys/example-data/pull/106

We cannot have binary files in the repo. Can we add these to example data repository and download from there?

I've already solved this @ninad-kamat , this PR is done on my side, let me know if you have any feedback 😄

Codecov Report

Merging #357 (f022729) into main (d948fce) will increase coverage by 2.18%.
The diff coverage is 91.66%.

@@            Coverage Diff             @@
##             main     #357      +/-   ##
==========================================
+ Coverage   49.56%   51.74%   +2.18%
==========================================
  Files          95       96       +1
  Lines       17102    17090      -12
==========================================
+ Hits         8476     8844     +368
+ Misses       8626     8246     -380

Impacted Files
Coverage Δ

src/ansys/meshing/prime/core/fileio.py
100.00% <ø> (+54.54%)
:arrow_up:

src/ansys/meshing/prime/examples/download.py
92.10% <75.00%> (-2.02%)
:arrow_down:

src/ansys/meshing/prime/examples/__init__.py
63.26% <100.00%> (+13.26%)
:arrow_up:

...ansys/meshing/prime/examples/unit_test_examples.py
100.00% <100.00%> (ø)

src/ansys/meshing/prime/internals/defaults.py
90.69% <0.00%> (+4.65%)
:arrow_up:

...rc/ansys/meshing/prime/internals/error_handling.py
69.72% <0.00%> (+8.25%)
:arrow_up:

src/ansys/meshing/prime/internals/utils.py
49.34% <0.00%> (+13.81%)
:arrow_up:

src/ansys/meshing/prime/autogen/fileiostructs.py
65.32% <0.00%> (+19.65%)
:arrow_up:

src/ansys/meshing/prime/autogen/fileio.py
97.27% <0.00%> (+59.99%)
:arrow_up:

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

@AlejandroFernandezLuces How would this be affected by #386 ?

@AlejandroFernandezLuces How would this be affected by #386 ?

We'll have to merge #386 first, as it includes the definitive changes we want on how we'll perform the downloads of the examples. I'll make the adaptations necessary here after merging #386 to main.


OpenGL crash on android 6+

Hi,
If the component has enabled the option dsb_indicatorPopupEnabled and the device is a Nexus 5x as soon as you start dragging (and just when the animation of the popup is appearing) it explodes producing this output:
03-08 17:45:36.058 2752-2823/com.worldreader A/OpenGLRenderer: Error: Spot pair overflow!!! used 117, total 83
03-08 17:45:36.059 2752-2823/com.worldreader A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 2823 (hwuiTask1)

I think that the main culprit could be located in PopupIndicator.java class but as I didn't have proper time to investigate properly I can't say for sure.
I didn't manage to reproduce it in other devices for now.
Any ideas to move this forward?
Thanks!

I am seeing the same issue on Nexus 9 running 6.0.

This crash occurs also on Nexus 6P running 6.0.1.

Same crash here on Nexus 6p - it happens while dragging the slider, sometimes immediately, sometimes after you pick up the slider and set it down a few times.

Same here. I use Nexus 5X running Android version 6.0.1 and it crashes when I slide.

The main reason I picked this library was for the nice popup indicator, but since it's not working on flagship devices, it seems that I'll need to look elsewhere unless a fix is in the pipeline.  Anyone have recommendations for other libraries?

We'd like to know the exact settings you all are using for the popup.
Specifically the settings related to dsb_indicatorTextAppearance and dsb_indicatorElevation, and if changing them would make the crash stop happening or not.
Thanks!

I'm mostly sure the issue is caused by the shadow drawn by android elevation.
As I don't have the affected devices to test, it would be very helpful if any of you could test dsb_indicatorElevation="0dp" (or try different values) and see if the crash still happens.

The crash happened are 8dp elevation, it has happened for other values too. I havent tested out for no elevation.
app:dsb_indicatorElevation="8dp"

Hi @AnderWeb thanks for commenting!  I just tried with dsb_indicatorElevation="0dp" and that seems to have stopped it from crashing.
If you're curious, here is the XML snippet I'm using:
    ```

<org.adw.library.widgets.discreteseekbar.DiscreteSeekBar
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:layout_marginBottom="30dp"
android:id="@+id/distance_slider"
app:dsb_trackColor="@color/greyBackgroundColor"
app:dsb_progressColor="@color/greyBackgroundColor"
app:dsb_indicatorColor="@color/buttonBackgroundColor"
app:dsb_thumbSize="30dp"
app:dsb_indicatorPopupEnabled="true"
app:dsb_indicatorElevation="0dp"
app:dsb_min="0"
app:dsb_max="400"
/>

If you're having trouble replicating it, what makes it happen for me (when indicatorPopupEnabled="true" and elevation is left at the default, i.e. not set in XML) is touching the indicator, letting go, then touching it again.  The second time I touch it to "pick up" the indicator, it crashes.

Again, with your suggestion of 0dp for indicatorElevation, it seems to have stopped crashing.

@matthewkrueger thanks, I think there's an issue with shadow rendering on some devices. While searching for more info about this specific crash, I've found some people suffering it with CardView so it's not a DiscreteSeekBar only issue.
I'm not sure about a proper fix to be done. We have limited options as the issue is from android renderer stuff:

Proposed solution 1: completely remove the elevation thing to completely avoid the crash.

Proposed solution 2: leave it as it is, but just change the default value to 0dp. This would be similar to solution 1 but allowing devs to activate the "dangerous feature"

Proposed solution 3: do the shadow by hand. Instead relying on android rendering to draw shadows, just create it dynamically.  I think the only "decent" way would be drawing the shape to a Bitmap and blur it, but this would use more memory to hold the Bitmap, so I don't really like it...

I think the safest, easiest and fastest is the solution 1, but I'm open to suggestions.

I vote for option 1 or 2.  I think option 1 is best if you don't want to deal with other issues being filed - option 2, with a bolded and very obvious warning about the feature being potentially unsafe might be a decent option as well.

Yeah, for me I think the option 1 or 2 is the clear winner. This thing is not a fault on its own. Another possibility is to create the shadow like the CardLayout does for devices pre 5. Detect which are the current devices that fail with the native version and fallback to the other one. Makes sense?
--
Aldo Borrero
Sent with Airmail
From: matthewkrueger<EMAIL_ADDRESS>Reply: AnderWeb/discreteSeekBar<EMAIL_ADDRESS>Date: 20 April 2016 at 20:22:23
To: AnderWeb/discreteSeekBar<EMAIL_ADDRESS>CC: Aldo Borrero<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject:  Re: [AnderWeb/discreteSeekBar] OpenGL crash on android 6+ (#73)
I vote for option 1 or 2. I think option 1 is best if you don't want to deal with other issues being filed - option 2, with a bolded and very obvious warning about the feature being potentially unsafe might be a decent option as well.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

I just encountered this crash as well on Nexus 5x running 6.0.1.
05-26 14:33:50.890 17109-17183/com.heartwatch2.debug A/OpenGLRenderer: Error: Spot pair overflow!!! used 149, total 94
--------- beginning of crash
05-26 14:33:50.891 17109-17183/com.heartwatch2.debug A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 17183 (hwuiTask1)

This is the SeekBar layout:
<org.adw.library.widgets.discreteseekbar.DiscreteSeekBar
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_marginBottom="16dp"
          android:layout_marginTop="8dp"
          app:dsb_indicatorColor="@color/colorAccent"
          app:dsb_indicatorFormatter="@string/minute_format"
          app:dsb_indicatorSeparation="0dp"
          app:dsb_max="180"
          app:dsb_min="1"
          app:dsb_progressColor="@color/colorAccent"
          app:dsb_rippleColor="@android:color/transparent"
          app:dsb_trackColor="@color/colorPrimary"
          app:dsb_value="10"
          />

The SeekBar is placed inside a CardView:
<android.support.v7.widget.CardView
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_gravity="center_horizontal"
      android:layout_marginTop="24dp"
      app:cardBackgroundColor="@color/white"
      app:cardElevation="4dp"
      app:contentPadding="16dp"
      >

I just encountered this crash as well on Nexus 5x running 6.0.1.
05-26 14:33:50.890 17109-17183/com.packagename A/OpenGLRenderer: Error: Spot pair overflow!!! used 149, total 94
--------- beginning of crash
05-26 14:33:50.891 17109-17183/com.packagename A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 17183 (hwuiTask1)

This is the SeekBar layout:
<org.adw.library.widgets.discreteseekbar.DiscreteSeekBar
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_marginBottom="16dp"
          android:layout_marginTop="8dp"
          app:dsb_indicatorColor="@color/colorAccent"
          app:dsb_indicatorFormatter="@string/minute_format"
          app:dsb_indicatorSeparation="0dp"
          app:dsb_max="180"
          app:dsb_min="1"
          app:dsb_progressColor="@color/colorAccent"
          app:dsb_rippleColor="@android:color/transparent"
          app:dsb_trackColor="@color/colorPrimary"
          app:dsb_value="10"
          />

The SeekBar is placed inside a CardView:
<android.support.v7.widget.CardView
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_gravity="center_horizontal"
      android:layout_marginTop="24dp"
      app:cardBackgroundColor="@color/white"
      app:cardElevation="4dp"
      app:contentPadding="16dp"
      >

@borwoj as noted above, use app:dsb_indicatorElevation="0dp" to avoid that openGL issue

Actually I've set it to 2dp and haven't seen any crash ever since.

Also experienced this issue, but with a different crash:
E/libEGL: error opening cache file /data/user/0/com.orobator.seekbarcrashtest/code_cache/com.android.opengl.shaders_cache: Permission denied (13)
Setting the indicator elevation to 0dp prevents the crash.

A received spot pair overflow crash report with an elevation of 0dp:
    <org.adw.library.widgets.discreteseekbar.DiscreteSeekBar
        android:id="@+id/playback_speed_seekbar"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_weight="1"
        android:layout_gravity="center_horizontal"
        dsb_indicatorElevation="0dp"/>

User was running a Galaxy S6 Active on 6.0.

@knoware Shouldn't it be app:dsb_indicatorElevation="0dp" and not just?

@Tsunamical, good point. I'll give that a try.

I've a crash on LG G5, 6.0.1 OS and the issue is resolved with app:dsb_indicatorElevation="0dp"  as suggested above

I also had such problem with spot pair overflow, but using app:dsb_indicatorElevation="0dp" helped me. Try it yourself

The crash happened are 8dp elevation, it has happened for other values too. I havent tested out for no elevation.
app:dsb_indicatorElevation="8dp"

Amazing 0dp is ok or 8dp is also ok

Actually I've set it to 2dp and haven't seen any crash ever since.

I test on my device which crash on 4dp， i find 0、1、2、3、5、6、8dp is ok，And 4、7dp crash


How to maintain unique EasyRTC id for unique session

I am developing chat application with EasyRTC and Nodejs.
Once user logs in it redirects to the welcome.jade. I am using following Javascript code for connecting user:
function connect() { //calling this function on body onload
    easyrtc.setUsername($('#username').text()); //setting username
    easyrtc.setPeerListener(addToConversation);
    easyrtc.setRoomOccupantListener(convertListToButtons);
    easyrtc.connect("easyrtc.instantMessaging", loginSuccess, loginFailure);
}
function loginSuccess(easyrtcid) {  //callback function
    selfEasyrtcid = easyrtcid;
    console.log("I am " + easyrtcid);
}

Suppose i logged in with user<EMAIL_ADDRESS>then a unique easyrtcid generated. But if i open this application in new tab, then another easyrtcid generated for same user<EMAIL_ADDRESS>How can I prevent this happening?? How can i create this easyrtcid once and use it across the application? Is this possible?

I solved this by storing identity of users on a signalling server using session cookies. I store their identity in object which I associate with their cookie. I later retrieve that object, using jQuery.getJSON before connecting to easyrtc from the clients side. May not be ideal, but it works.

Sorry for the long delay, but questions in our issue tracker often don't get looked at. If you are still having problems, the best place for help is in our forums.


Mod makes my modpack unplayable

Every time the mod is enabled on my modpack it makes it so the game slows down to about one frame per minute.
Is there a way to prevent this?
I can share the modpack if needed

use spark to run a client profile and send that here https://www.curseforge.com/minecraft/mc-mods/spark

how do i get that? (not the mod) Do i have to get that from files or would I have to type a command to get it?

https://spark.lucko.me/docs/Command-Usage use /sparkc instead of /spark

I don't believe its possible to
Because everything gets slowed. Minecraft basically stops after 10 seconds, and my computer remains really slow

If you have a recipe browser mod can you try removing that

I know what the bug is, it's related to REI and memory usage calculating the smithing recipes. Try updating REI to the latest version (I haven't tested this so I may need to update ATT) or use a different recipe browser.

Close if resolved

Alr yeah seemed to solve it by switching to JEI
Thanks 👍


malloc memory request size is updated (IDFGH-1490)

sizeof(CAP_SIG_NUM) will return only 4 bytes. However, we need 34 = 12 for three signals capture. So, CAP_SIG_NUMsizeof(uint32_t) is valid for memory allocation. Otherwise, it will access out-of boundary memory.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for your PR . We will fix this bug soon :-)

@rmshub Thanks for the contribution. This PR has already been merged, thanks.


Regions

For @AlmightyYakob to take over. The below items are my current understanding of the task, but this may be further refined.

[x] Create Region model
[x] Populate Region objects from the Boston census blocks dataset
[x] Add a UI widget to select a Region in the current city and crop the visualization to the boundary
[ ] Allow more complex spatial queries in the widget to combine Regions (union, intersection)
[ ] Allow user to save Region combinations as new named Region objects

@annehaley I'd like to address the last 2 items of that checklist in a follow-up PR. The current change is pretty well scoped, and those last two items could involve a decently large change themselves.

@annehaley I'd like to address the last 2 items of that checklist in a follow-up PR. The current change is pretty well scoped, and those last two items could involve a decently large change themselves.

Makes sense. I can review this PR as-is later today.

I tried out the zoom to region feature a lot, and it works fine for most regions. The only one I found that did not work as expected was the Jamaica Plain region. This is what it zoomed to:

It seems that both of those polygons are a part of the same region. See below where I clicked on the "main" part of it. You'll notice that in both your screenshot and in mine, the map zooms to fit both regions.

Both areas are connected by a thin strip that runs along the boundary for "Longwood". I tried to verify that this is the correct boundary and wasn't a data ingress error by loading the Jamaica Plain feature into a separate online viewer, but it doesn't render it for some reason. The screenshot below shows that thin connecting piece

Oh ok, thanks for clarifying! It seems to be working properly then! I had clicked on the tiny portion and thought that was the whole Region. Perhaps this is a good reason to go back to trying to color them uniquely... But that can be saved for later.


ZMap crashes when the host clock goes backwards

Describe the bug
ZMap randomly crashes with an assertion failure:
3:22 16% (17m left); send: 7052636 35.0 Kp/s (34.9 Kp/s avg); recv: 733668 3.39 Kp/s (3.63 Kp/s avg); drops: 0 p/s (0 p/s avg); hitrate: 10.40%
3:23 17% (17m left); send: 7087436 34.8 Kp/s (34.9 Kp/s avg); recv: 736653 2.98 Kp/s (3.63 Kp/s avg); drops: 0 p/s (0 p/s avg); hitrate: 10.39%
zmap: /root/zmap/src/send.c:322: send_run: Assertion `t > last_time' failed.

CLI Arguments
zmap -r 35000 -M icmp_echoscan -w zmap_targets.csv -b /root/blacklist_v4 -o icmp.csv

Expected behavior
ZMap should not crash.
Environment:

OS: Ubuntu 16.04.7
Version: https://github.com/zmap/zmap/commit/7471d5413c5453c81

Additional context
There is probably an issue on our host causing the clock to go backwards (e.g. NTP).
However, I noticed that ZMap uses gettimeofday which makes no guarantee on the monotonicity of the clock:

The time returned by gettimeofday() is affected by discontinuous jumps in the system time (e.g., if the system administrator manually changes the system time).  If you need a monotonically increasing clock, see clock_gettime(2).

Here is a small program to reproduce the issue (on affected hosts):
#include <stdio.h>
#include <sys/time.h>

// From zmap/src/logger.c
double now(void) {
    struct timeval now;
    gettimeofday(&now, NULL);
    return (double) now.tv_sec + (double) now.tv_usec / 1000000.;
}

int main() {
    double last_time = now();
    while (1) {
        double t = now();
        if (t < last_time) {
            printf("Non-monotonic clock: now=%f last=%f diff=%f\n", t, last_time, t - last_time);
            break;
        }
        last_time = t;
    }
    return 0;
}

gcc -O3 main.c && ./a.out
# After a few seconds:
# Non-monotonic clock: now=1671705231.484864 last=1671705232.725731 diff=-1.240867

This issue is bound to happen randomly when ZMap runs for a long time.
Would it makes sense for ZMap to use clock_gettime instead of gettimeofday?

I don't believe clock_gettime is POSIX standard, but I'd be fine using it on Linux. I'd be happy to look at a PR that changes this, but it's likely not going to rise the top of the priority list for the main development team to tackle in the foreseeable future compared to some other pending issues.

Sure, and that's a good point! We'll try this internally and I'll open a PR if it solves the problem.

Fixed by #708


Add option to suppress code generation comments

When generating code, almost every line has code generation comments.
While this is useful for debugging, it makes the code very hard to read.
Therefore it would be great to have a code generation option
to suppress those.

hey @hansfbaier
you seem to have been working on this issue (according to the three references commits here).
What is your status on this? Are you able to submit a PR?

@hellow554 : I have this: https://github.com/hansfbaier/nmigen/commit/304ad1ffa2b64fe60cb709d9dad2cb9edaf9d87c
But I am hesitant to create a pull request, because whitequark seems opposed to having this functionality in nmigen,
see https://github.com/nmigen/nmigen/pull/573

I think the functionality is fine, the implementation just needs to be improved. I apologize for my disproportionally intense reaction, @hansfbaier--I'll work something out to have this upstream.

@whitequark  Thank you!


Automated cherry pick of #1662: baremetal init fsdriver

Cherry pick of #1662 on release/2.11.0.
#1662: baremetal init fsdriver

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.11.0@6bb1f23). Click here to learn what that means.
The diff coverage is 0%.

@@               Coverage Diff                @@
##             release/2.11.0   #1664   +/-   ##
================================================
  Coverage                  ?   7.65%
================================================
  Files                     ?     412
  Lines                     ?   63096
  Branches                  ?       0
================================================
  Hits                      ?    4832
  Misses                    ?   57855
  Partials                  ?     409

Flag
Coverage Δ

#aFlag
7.65% <0%> (?)

Impacted Files
Coverage Δ

pkg/hostman/guestfs/fsdriver/drivers.go
0% <0%> (ø)

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 6bb1f23...dedda47. Read the comment docs.


[Text Analytics] Language Pillar Commitments for Text Analytics (July 2021-March 2022)

Azure Cognitive Service for Language is an AI service that can extract information, classify text, understand conversational language, answer questions and more.
The @azure/ai-text-analytics package provides the SDK for JavaScript & TypeScript developers to write applications that use Azure Cognitive Service for Language. Version 5 of this package follows the latest guidelines for writing TypeScript SDKs for Azure services with the goal of being a client library that is developer-friendly, idiomatic to the JavaScript ecosystem, and as consistent across different languages and platforms as possible.
This issue tracks the work we have planned for this package for the duration of July 2021 - March 2022
New features:

[x] Adding support for extractive summarization
[x] Adding support for Custom Text

General improvements:

[x] Document the current issues in the client that affect the customer experience
[x] Design how to integrate the client with the new Azure Cognitive Service for Language instead of the old Azure Text Analytics

Service design draft
Service top scenarios
Archboard issue
Timeline document
Language's Conversation SDK archboard
Language's Question Answering SDK archboard

Testing improvements:

[ ] TBD

Closed


Update upstream

Primarily for SPARK-24137.

@robert3005 @dansanduleac I fixed only the Kubernetes conflicts - might need some help fixing the other ones.

For reference, here's the full list of conflicting items:
	both modified:   core/src/main/scala/org/apache/spark/api/r/RRunner.scala
	both modified:   core/src/main/scala/org/apache/spark/deploy/PythonRunner.scala
	deleted by us:   dev/deps/spark-deps-hadoop-2.6
	both modified:   dev/deps/spark-deps-hadoop-palantir
	both modified:   dev/test-dependencies.sh
	both modified:   hadoop-cloud/pom.xml
	both modified:   pom.xml
	both modified:   python/pyspark/ml/tests.py
	both modified:   python/pyspark/mllib/tests.py
	both modified:   python/pyspark/sql/tests.py
	both modified:   python/pyspark/streaming/tests.py
	both modified:   python/pyspark/tests.py
	both modified:   python/run-tests.py
	both modified:   resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/submit/KubernetesDriverBuilder.scala
	both modified:   resource-managers/kubernetes/core/src/main/scala/org/apache/spark/scheduler/cluster/k8s/KubernetesExecutorBuilder.scala
	both modified:   resource-managers/kubernetes/core/src/test/scala/org/apache/spark/deploy/k8s/submit/KubernetesDriverBuilderSuite.scala
	both modified:   resource-managers/kubernetes/core/src/test/scala/org/apache/spark/scheduler/cluster/k8s/KubernetesExecutorBuilderSuite.scala
	both modified:   sql/core/src/main/java/org/apache/spark/sql/execution/datasources/parquet/VectorizedColumnReader.java
	both modified:   sql/core/src/main/java/org/apache/spark/sql/execution/datasources/parquet/VectorizedPlainValuesReader.java
	both modified:   sql/core/src/main/java/org/apache/spark/sql/execution/datasources/parquet/VectorizedRleValuesReader.java
	both modified:   sql/core/src/main/scala/org/apache/spark/sql/execution/CacheManager.scala
	both modified:   sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetFileFormat.scala
	both modified:   sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetFilters.scala
	both modified:   sql/core/src/test/resources/sql-tests/results/describe-part-after-analyze.sql.out
	both modified:   sql/core/src/test/scala/org/apache/spark/sql/execution/columnar/InMemoryColumnarQuerySuite.scala
	both modified:   sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetFilterSuite.scala

Again - I've already resolved the Kubernetes ones.

@mccheah rebased but we need to cut a parquet-mr release first since upstream updated to 1.10


Padding from right

I have this

But I need this

How I can solve padding from left

I'm not sure if it's correct but this way you can solve your problem.
Swiper(                 itemBuilder: (BuildContext context, int index) {                   return Container(                     transform: Transform.translate(                       offset: const Offset(-30, 0),                      ).transform,                     margin: const EdgeInsets.only(                       right: 16,                     ),                     child: ClipRRect(                       borderRadius: ConstantsWidget.borderRadius_16,                       child: Image.network(                         "https://via.placeholder.com/288x188",                         fit: BoxFit.fill,                       ),                     ),                   );                 },                 fade: 0.011,                 itemCount: 10,                 viewportFraction: 0.8,                 scale: 1,                 loop: false,               ),

@sinanhaci transform causing hitbox is not in the current position, check this https://github.com/flutter/flutter/issues/6606


SketchExample swatch not working

In your example for the SketchExample (last example), if you click on any of the swatches, the color don't get set or selected, but instead it just closes the Color Picker dialog.

That's weird, I will look into it!

+1 It doesnt work if you click to any presetColors

I've updated to 2.11.1 but the problem still persists.


[Removal]: Shanghai real deployment

Hotspot Name
gigantic honeysuckle stork
Hotspot b58 Address
1128vxNoif3DThFgAN3MdWk3LvbvB9KmDf3akVHtWfrP3jEhvgsu
Discord Handle
benjaminchodroff#5260
Hotspot Manufacturer
Panther
Removal Reason
I purchased a used miner from a cheater, and now have a real deployment in Shanghai
Modifications
No
Extra forwarders
No
Extra antennas
No
Additional Information
I purchased the used Panther x2 miner from a cheater in Chengdu, China who is giving up and now have a real deployment inside in Shanghai. You can see two other real deployments in my same wallet.
Here are photos of the setup using the stock antenna.
https://imgur.com/a/yRLH2a2
I am happy to answer any additional questions here or on discord. Thanks!

We do not have sufficient evidence to remove these hotspots from the denylist. This is an automated comment due to the volume of addition and removal requests. A future tool is in the works to provide more insight into the analysis approach made by the Helium team and community members that maintain this list.

We have taken into account this removal request in the next iteration of the denylist. It may take some time before it's processed. This is an automated comment due to the volume of addition and removal requests. A future tool is in the works to provide more insight into the analysis approach made by the Helium team and community members that maintain this list.


added better caching for app library

Refer to this link for build results (access rights to CI server needed):
https://fabric8-ci.fusesource.com/job/fabric8-quickstarts-master-pullreq/221/
Test PASSed.


Fasta crash: error in program crashes the compiler

This silly little program
main() {
  int x = 17;
  print((--x)--);
}

crashes Fasta in the VM's modular transformations, when they encounter an SyntheticExpressionJudgment.

FYI, the crash is by design.
It also crashes the BinaryPrinter if you use -t none.

This no longer crashes. Now this is printed:
36230.dart:3:13: Error: Can't assign to a parenthesized expression.
  print((--x)--);
            ^


Anchor broken on the website

Anchor broken
On the page https://labelstud.io/guide/install
There is a broken link :
https://labelstud.io/guide/install#Install-with-pip
Instead of :
https://labelstud.io/guide/install#Install-using-pip

Just verified the issue. On it


Symbol 'MMCME2_BASE' is not  supported in target 'spartan6'.

@cfelton, it would be nice to have ClockManagement for the spartan 6 series - likely the most popular hobbiest FPGA in the Xilinx line.  However, it seems that the MMCME2_BASE is 7 series logic only.
Digging around in some Xilinx docs, I found clock managers corresponding to different parts:
7 Series: MMCME2_BASE, MMCME2_ADV
Virtex-5: DCM_BASE, DCM_ADV
Spartan 3: DCM_SP
Spartan 6: DCM_SP, DCM_CLKGEN
Thats a fair number of different implementations.   I suspect that the the current vendor/ clock management code needs some decisions on how to cleanly factor in a larger variety of clock managers.   It seems a little odd to me that this is in vendor, rather than system or build.   (Maybe inside FPGA objects, similar to how the boards are arranged?)   Just a thought.

@cfelton What about moving away from directly modeling clock managers and clocking resources (which seem pretty diverse across devices in their capabilities and factoring).  Have you considered adding the abstraction directly to clock?
clock           # example hardware clock declared in board file - 12Mhz

my_derived_clock = Clock(0, frequency=100e6, driver=clock)

I could see potentially adding phase and enable parameters as well.   I imaging after being declared as suck, clock resources could be collected in a global registry and some magic could occur to generate the appropriate chains of clock resources using vendor and part specific hardware. (Generating errors when such hardware isn't available)

@NickShaffner Yes, we can and should add the spartan DCM and some of the other stuff we discussed (like removing enable since not all clock managers have it).
As far as the second goes, I think that would be a possibility but much farther in the future, we would need a generic'ish things like the vendor primitives under the hood this should work to such a solution.  We should create a PEP/MEP type thing to fully outline such feature requests.  We can use the issues mark them as enhancements but require the same thoroughness as a PEP.

We should create a PEP/MEP type thing to fully outline such feature requests. We can use the issues mark them as enhancements but require the same thoroughness as a PEP.

Is it too early for a PEP style feature request system?   Part of the reason I added the suggestion about the clock(driver=) enhancement was to do a little 'exploratory prodding' to learn more about the 'architectural style' and boundaries of the project.


[Feature request] Custom CSS rules support

Currently, one can use Readium with only 1 predefined style (1.5 if considering light/dark themes support). Which means there are almost no customizations.
Adding a simple textbox (or just a separate css file) where user can define custom stylesheet for the book view (like in Calibre) would give a full control over how everything looks: from basic things like a background picture, to some advanced stuff, like using different rules for different window resolutions.
This is very powerful feature that shouldn't come at a great cost, since Readium is an electron-based app and the basic implementation is just loading external css file.
Just an example of my desktop Calibre setup, which almost completely overrides default theme:

@font-face {
  font-family: MyFonts;
  unicode-range: U+4E00-9FFF, U+3400-4DFF, U+FF00-FFEF, U+3000-303F;
  src: url("file:///C:/Programs/Calibre2/resources/my_style/FangSong.ttf");
}

@font-face {
  font-family: MyFonts;
  font-style: normal;
  text-align: justify;
  font-weight: normal;
  src: url("file:///C:/Programs/Calibre2/resources/my_style/CharterITC_Normal.otf");
}

@font-face {
  font-family: MyFonts;
  font-style: italic;
  text-align: justify;
  font-weight: normal;
  src: url("file:///C:/Programs/Calibre2/resources/my_style/CharterITC_Italic.otf");
}

@font-face {
  font-family: MyFonts;
  font-style: normal;
  font-weight: bold;
  src: url("file:///C:/Programs/Calibre2/resources/my_style/CharterITC_Bold.otf");
}

@font-face {
  font-family: MyFonts;
  font-weight: bold;
  font-style: italic;
  src: url("file:///C:/Programs/Calibre2/resources/my_style/CharterITC_Bold_Italic.otf");
}

body {
  background: url("file:///C:/Programs/Calibre2/resources/my_style/old_paper.png") top left no-repeat !important;
  background-attachment: fixed !important;
  font-family: MyFonts !important;
}

::selection {
  background: rgba(255, 172, 71, .6) !important;
}

h1, h2, h3, h4, h5, h6 {
  background-color: transparent !important;
  border: transparent !important;
  color: black !important;
  text-align: center !important;
  font-weight: bold !important;
}

a {
  color: rgb(50, 50, 170) !important;
}

p, .paragraph {
  text-indent: 80px !important;
  line-height: 1.5 !important;
  font-size: 23px !important;
  line-height: 27px !important;
  margin-top: 0.8em !important;
  margin-bottom: 0.8em !important;

  -webkit-font-smoothing: antialiased !important;
  text-rendering: optimizeSpeed !important;
  font-family: MyFonts !important;
  color: black !important;
}

ol, ul {
  -webkit-margin-before: 0.8em !important;
  -webkit-margin-after: 0.8em !important;
  -webkit-margin-start: 0px !important;
  -webkit-margin-end: 0px !important;
  -webkit-padding-start: 80px !important;
}

span {
  color: black !important;
}

h1 {
  font-size: 48px !important;
}

h2 {
  font-size: 44px !important;
}

h3 {
  font-size: 40px !important;
}

h4 {
  font-size: 38px !important;
}

h5 {
  font-size: 34px !important;
}

h6 {
  font-size: 32px !important;
}

In the roadmap, there is a "Custom themes" feature, which is based on the selection of some CSS properties in an interactive interface and storage of these choices for future use as Readium CSS parameters.
What you are proposing is much more radical if I understand well, i.e. give to the user the power to replace the Readium CSS with the CSS of his choice. Knowing the complexity of a CSS which is aimed at co-working with the ebook internal CSS, I fear this would be a dangerous power. But only the user would be harmed if it fails.
I won't ask EDRLab developers to handle this for the moment, but this is open-source and you're welcome to propose a Pull Request allowing that; its inclusion in the common code will then be discussed openly. Note that the injection of a reader CSS is expected at the streamer level.


Path completion replaces last portion of path instead of entire path

When I type a partial path, I get a list of paths in the autocomplete popup:

But when I press tab or enter to accept the completion, it leaves the partially-typed path except for the last portion, which it replaces with the autocomplete entry:

In this example I expected to type k8s/_cluster/ClusterRol tab and have it autocomplete to k8s/_cluster/ClusterRole/, but it completed to k8s/_cluster/k8s/_cluster/ClusterRole/ instead.

Thanks for catching this. We'd accept a PR to fix it.

Yep, I'll try to contribute if I find the time!


Manually check for null on all arguments

In typescript a type such as string is non-nullable by default and it's nullable version is string | null. But strict null checking is not properly implemented in AssemblyScript yet. The node currently assumes all pointers passed to it are non-null, and since this is consistent with regular ts semantics I'd rather catch nulls in the mappings than in the node, so we should just add null checks everywhere in this library.

Fixed in the upstream


image for s390x platform

What did you do?
I am trying to build quay.io/prometheus/prometheus:v1.4.1 image for s390x platform, but I didn't have busybox:uclibc image for s390x, what I had is busybox:glibc, is it OK to use busybox:glibc to replace busybox:uclibc as base image?
Environment
s390x

System information:
Ubuntu 16.04 running on s390x (IBM LinuxONE)
insert output of uname -srm here
Linux 4.4.0-59-generic s390x
Prometheus version:
v1.4.1

I'm afraid that none of the prometheus developers work with this platform. If there's a PR with a small tweak to allow for this we'd be happy to review it, but realistically we're unlikely to be able to help with this directly.


add more recipies

Tracking ideas for improved API recipe documentation

[x] how to use the SSA API to find all the places where this variable is defined in this function

done in build >=4897


router-link-active on children routes

Version
4.0.0-beta.3
Reproduction link
https://jsbin.com/sibekoledi/1/edit?html,css,js,output
Steps to reproduce

Open jsbin
Click "bar link"

What is expected?
Only "bar link" is active
What is actually happening?
Both "foo link" and "bar link" is active

Correct me if i mistaken, but according to this rfc(section Unrelated but similiar routes), only one link should be active
Addition: if we change "path" param of "foo" route to route: "/" - it fixes active behaviour, but it breaks initial state(after page reload)

This is intended because it has an empty path, so it gets assimilated as the parent and is active. You can use exact-active to have the behavior you want


Make popularity updater work for non-migrated indices

This allow us to pass in an override which causes all data
to be processed by the popularity updater.
This requires a change in search_analytics to pass in the
PROCESS_ALL_DATA env variable to work for non govuk indices.
https://trello.com/c/IeU8rFj3/293-switch-indexes-to-use-update-popularity-instead-of-bulk-update

We could, but that would be duplicated effort as the data would just be overwritten by the sync task that runs next. It would mean the process task longer than it should.


occ.search(...,mof=True) & occ.search(...,mof=False) are inconsistent

The output of occ.search is structured differently if mof is True.

occ.search(scientificname="Egregia menziesii", hasextensions="MeasurementOrFacts")

vs
occ.search(scientificname="Egregia menziesii", mof=True, hasextensions="MeasurementOrFacts")

When mof=False, the total number of results is included in a column, but when mof=True it is as if res = res["results"] has been performed.

The output should not change in this way when mof is True vs False.

The number of records might change because for one single id there are many MoF records present each pertaining to different measurements like substrate, cover and relief.
For the first output when mof=False the output is weird because we need to pass only the results into the pd.DataFrame to unflatten it like,
res = occ.search(scientificname="Egregia menziesii", hasextensions="MeasurementOrFacts")
df = pd.DataFrame(res["results"])

because pyobis already does this in the background when mof=True but not in other cases.
So when we unflatten those nested mof records and then perform an inner join to copy other parameters values from the original records on the id field, we get different number of rows. But since we performed an inner join, this should not create exactly duplicate records until or unless they actually are, I suppose.

I kept the output of response in JSON with "total" and "results" parameters because I thought pandas might not be the only tool researchers would use to analyse data. Also, we utilise the "total" parameter to paginate in the occurrences.search() function.

I did an interesting experiment with occurrences->search() function. I did this on two sets of conditions.

Condition
Description
Time taken while fetching records (%)

1
occ.search returns JSON output (we are appending new responses on JSON object)
100%

2
occ.search returns pandas DataFrame (we are appending new responses on a response DataFrame
110.18%

Test Environment:

network speed was kept constant by throttling it to 3G connection
test conducted on the exact same version of the packages
the dev environment was exactly the same
I fetched atleast 62k records at once so as to minimize the effect of time taken by other marginal processes like response processing, etc.

Some sources of error:

there might be some marginal deflections due to the state of processor, and/or the processes that were already running on the system.

So, even though pandas dataframe is very much useful to us, it might be slower than expected. Although the actual speed of acquiring data would be heavily dependent on the network strength.

This makes sense to me. DataFrames are optimized for efficient operations on their chunk of memory so there may be some memory re-allocation going on under the hood whenever df.append is done.
As you say though, network speed limitations are going to be by far the biggest speed factor. My primary concern is making the code maximally approachable. I just pushed a test that demonstrates the issue. I am ok with returning either a dict or a pd.df, but it needs to be the same type of object regardless of mof=True or mof=False.

This makes sense to me. DataFrames are optimized for efficient operations on their chunk of memory so there may be some memory re-allocation going on under the hood whenever df.append is done.

There are strong reasons for this to be true. I think 10% of the time that we save wouldn't be a nice tradeoff against simplicity, consistency and ease of operation. People will eventually need to go deep inside the notebooks/docs to get that thing right with a dict output and this time which they would spend reading would be saved by a dataframe output.
Further, for faster use we might include a json parameter in the function so that user gets the privilege to decide for the kind of output they want. But I think that we might implement it a bit later on.

I have a PR ready for this issue which implements the fix, it returns all output as a pandas dataframe.


No Update button in Admin Panel

Hi!
I always use the update button in the admin panel section About to update the App (standard edition).
The App is installed on a root server.
This morning I updated to 179 and saw, that there is a follow up (180) right away.
But since 179 there is no update button any more.
Thanks.
Cheers,
Ralph

Hi,
The Login button is missing here too:

The arrow to the right > worked for me to log in.

Never mind. I will install Rainloop again and hopefully the issue will be gone.

@purejava
Yes, it was an error in the 179 version.

Thanks for that info!


Unable to create react template cause of docker error

Expected Behavior
A react template should be created and pushed to my github via a PAT
Current Behavior
I get the following error

Possible Solution
Maybe I am missing some config info?
Steps to Reproduce
Run the app locally and attempt to create a react app
Context
I am unable to test out backstage
Your Environment
Local

NodeJS Version (v12): LTS
Operating System and Version (e.g. Ubuntu 14.04): macos
Browser Information: Chrome

This was an erroneous issue.


Fix ActiveRecord::Base.find_all_by_active call

Addresses 1 issue in https://github.com/ManageIQ/manageiq/issues/6754

@matthewd @Fryguy please review

:+1:


Server error with sacred NeptuneObserver

Everything was working nicely for 2 hours. Then, I started getting:
WARNING - neptune.internal.channels.channels_values_sender - Failed to send channel value: Server error. Please try again later.
and later a number of following stacktraces:
Exception in thread Thread-26:
Traceback (most recent call last):
  File "/home/wojciech/miniconda3/envs/magellan-mbbl/lib/python3.7/threading.py", line 917, in _bootstrap_inner
    self.run()
  File "/home/wojciech/miniconda3/envs/magellan-mbbl/lib/python3.7/site-packages/neptune/internal/channels/channels_values_sender.py", line 121, in run
    self._process_batch()
  File "/home/wojciech/miniconda3/envs/magellan-mbbl/lib/python3.7/site-packages/neptune/internal/channels/channels_values_sender.py", line 133, in _process_batch
    self._send_values(self._values_batch)
  File "/home/wojciech/miniconda3/envs/magellan-mbbl/lib/python3.7/site-packages/neptune/internal/channels/channels_values_sender.py", line 158, in _send_values
    self._experiment._send_channels_values(channels_with_values)
  File "/home/wojciech/miniconda3/envs/magellan-mbbl/lib/python3.7/site-packages/neptune/experiments.py", line 1080, in _send_channels_values
    self._backend.send_channels_values(self, channels_with_values)
  File "/home/wojciech/miniconda3/envs/magellan-mbbl/lib/python3.7/site-packages/neptune/utils.py", line 188, in wrapper
    return func(*args, **kwargs)
  File "/home/wojciech/miniconda3/envs/magellan-mbbl/lib/python3.7/site-packages/neptune/internal/backends/hosted_neptune_backend.py", line 513, in send_channels_values
    channelsValues=input_channels_values
  File "/home/wojciech/miniconda3/envs/magellan-mbbl/lib/python3.7/site-packages/bravado/client.py", line 254, in __call__
    request_config=request_config,
  File "/home/wojciech/miniconda3/envs/magellan-mbbl/lib/python3.7/site-packages/bravado/requests_client.py", line 193, in request
    self.authenticated_request(sanitized_params),
  File "/home/wojciech/miniconda3/envs/magellan-mbbl/lib/python3.7/site-packages/bravado/requests_client.py", line 234, in authenticated_request
    return self.apply_authentication(requests.Request(**request_params))
  File "/home/wojciech/miniconda3/envs/magellan-mbbl/lib/python3.7/site-packages/bravado/requests_client.py", line 239, in apply_authentication
    return self.authenticator.apply(request)
  File "/home/wojciech/miniconda3/envs/magellan-mbbl/lib/python3.7/site-packages/neptune/oauth.py", line 87, in apply
    self.auth.refresh_token_if_needed()
  File "/home/wojciech/miniconda3/envs/magellan-mbbl/lib/python3.7/site-packages/neptune/utils.py", line 188, in wrapper
    return func(*args, **kwargs)
  File "/home/wojciech/miniconda3/envs/magellan-mbbl/lib/python3.7/site-packages/neptune/oauth.py", line 51, in refresh_token_if_needed
    self._refresh_token()
  File "/home/wojciech/miniconda3/envs/magellan-mbbl/lib/python3.7/site-packages/neptune/oauth.py", line 54, in _refresh_token
    self.session.refresh_token(self.session.auto_refresh_url)
  File "/home/wojciech/miniconda3/envs/magellan-mbbl/lib/python3.7/site-packages/requests_oauthlib/oauth2_session.py", line 374, in refresh_token
    self.token = self._client.parse_request_body_response(r.text, scope=self.scope)
  File "/home/wojciech/miniconda3/envs/magellan-mbbl/lib/python3.7/site-packages/oauthlib/oauth2/rfc6749/clients/base.py", line 421, in parse_request_body_response
    self.token = parse_token_response(body, scope=scope)
  File "/home/wojciech/miniconda3/envs/magellan-mbbl/lib/python3.7/site-packages/oauthlib/oauth2/rfc6749/parameters.py", line 431, in parse_token_response
    validate_token_parameters(params)
  File "/home/wojciech/miniconda3/envs/magellan-mbbl/lib/python3.7/site-packages/oauthlib/oauth2/rfc6749/parameters.py", line 441, in validate_token_parameters
    raise MissingTokenError(description="Missing access token parameter.")
oauthlib.oauth2.rfc6749.errors.MissingTokenError: (missing_token) Missing access token parameter.

Hi @wjaskowski,
Does this happen repeatedly or was it just this once?
We had a short downtime today and this might be related.

This happened in 100% of my experiments, i.e. in the only experiment I executed to try out neptune ;P.
I have been thinking for a moment to think that this is because I am sending much more data then 10k per plot. Is this limit ("Each log type in Neptune (metric, text, image) is limited to 10k data points.") really a hard one?

Actually, it happened again:
gain later.

(...)
WARNING - An error ocurred in the '<neptunecontrib.monitoring.sacred.NeptuneObser
ver object at 0x7f9f52453c18>' observer: Server error. Please try again later.

Finally I got bunch of:
WARNING - neptune.utils - Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 1 seconds.
WARNING - neptune.utils - Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 2 seconds.
WARNING - neptune.utils - Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 1 seconds.
WARNING - neptune.utils - Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 2 seconds.
WARNING - neptune.utils - Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 4 seconds.
WARNING - neptune.utils - Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 4 seconds.
WARNING - neptune.utils - Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 8 seconds.
WARNING - neptune.utils - Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 8 seconds.
WARNING - neptune.utils - Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 16 seconds.
WARNING - neptune.utils - Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 1 seconds.
``` and my process hung up, which is very nasty...

Hi @wjaskowski,
we're investigating this. Thanks for letting us know.

It's happening to me too. In my case, it's not caused by data point limit, since I'm sending just one float per experiment. I guess it's caused by the long time (2 to 10 hours long) running before send or stop the experiment. Some long experiments sometimes work, but in most of then I got the error. Using the same code in shorter experiments I had no issue.
This is what my code is doing:
neptune.create_experiment(params=params_dict) (long time processing everything) neptune.send_metric('some_float', some_float) neptune.stop()

My experiments were also long (3-10 hours)
On Mon, 23 Sep 2019 at 13:13, lmlima<EMAIL_ADDRESS>wrote:

It's happening to me too. In my case, it's not caused by data point limit,
since I'm sending just one float per experiment. I guess it's caused by the
long time (2 to 10 hours long) running before send or stop the experiment.
Some long experiments sometimes work, but in most of then I got the error.
Using the same code in shorter experiments I had no issue.
This is what my code is doing:
neptune.create_experiment(params=params_dict) (long time processing
everything) neptune.send_metric('some_float', some_float) neptune.stop()
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/neptune-ml/neptune-contrib/issues/53?email_source=notifications&email_token=ABFZEHLJ3AC54NIZ2FFYAHTQLCQHLA5CNFSM4IYK3BR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7KQTYA#issuecomment-534055392,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABFZEHLYQXIVADPCLI3JM5TQLCQHLANCNFSM4IYK3BRQ
.

Hi @wjaskowski, @lmlima,
the limit of 10k points per experiment is not strictly enforced at the moment. However, sending large amounts of data in short time puts a strain on our system, which may result in a few timeouts here and there. We'll be working on accommodating more traffic in the coming months.
On the client's side we have a retry mechanism, which tries to send a request up to 10 times with rising intervals in between retries, so actual data loss should be extremely rare.
As for the process hanging up, do you know where exactly it hung up? Sending metrics should be completely asynchronous, but we did have a deadlock in earlier versions of neptune-client.
@lmlima are you experiencing the issue with timeouts and hangs or with MissingTokenError? Or maybe both?
Which version of neptune-client are you using?

The hung-up happened at the very end of the experiment. Actually it
happened after one additional error but initially I thought they are
unrelated. So the error was when I was sending the result. I was sending a
tuple which was working fine with SacredObserver but it failed with
NeptuneObserver. Is it possible the hung up was due to that?
On Mon, 23 Sep 2019 at 13:57, Piotr Łusakowski<EMAIL_ADDRESS>wrote:

Hi @wjaskowski https://github.com/wjaskowski, @lmlima
https://github.com/lmlima,
the limit of 10k points per experiment is not strictly enforced at the
moment. However, sending large amounts of data in short time puts a strain
on our system, which may result in a few timeouts here and there. We'll be
working on accommodating more traffic in the coming months.
On the client's side we have a retry mechanism, which tries to send a
request up to 10 times with rising intervals in between retries, so actual
data loss should be extremely rare.
As for the process hanging up, do you know where exactly it hung up?
Sending metrics should be completely asynchronous, but we did have a
deadlock in earlier versions of neptune-client.
@lmlima https://github.com/lmlima are you experiencing the issue with
timeouts and hangs or with MissingTokenError? Or maybe both?
Which version of neptune-client are you using?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/neptune-ml/neptune-contrib/issues/53?email_source=notifications&email_token=ABFZEHJWAA2FQ5LXTGJGMU3QLCVLFA5CNFSM4IYK3BR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7KTR3A#issuecomment-534067436,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABFZEHIPNOZEBOHJN3HATBDQLCVLFANCNFSM4IYK3BRQ
.

Which version of neptune-client are you using?

I got those errors:
W0921 19:20:04.469121<PHONE_NUMBER>16416 utils.py:194] Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 1 seconds.
W0921 19:20:08.974529<PHONE_NUMBER>16416 utils.py:194] Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 1 seconds.
W0921 19:20:14.914022<PHONE_NUMBER>16416 utils.py:194] Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 1 seconds.
W0921 19:20:19.317052<PHONE_NUMBER>16416 utils.py:194] Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 1 seconds.
W0921 19:20:24.743944<PHONE_NUMBER>16416 utils.py:194] Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 1 seconds.
W0921 19:20:30.990422<PHONE_NUMBER>16416 utils.py:194] Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 1 seconds.
W0921 19:20:34.369477<PHONE_NUMBER>16416 utils.py:194] Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 1 seconds.
W0921 19:20:37.953355<PHONE_NUMBER>16416 utils.py:194] Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 1 seconds.
W0921 19:20:42.254329<PHONE_NUMBER>16416 utils.py:194] Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 1 seconds.
W0921 19:20:45.531176<PHONE_NUMBER>16416 utils.py:194] Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 1 seconds.
W0921 19:21:02.119803<PHONE_NUMBER>16416 utils.py:194] Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 2 seconds.
W0921 19:21:13.139394<PHONE_NUMBER>16416 utils.py:194] Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 2 seconds.
W0921 19:21:18.504215<PHONE_NUMBER>16416 utils.py:194] Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 4 seconds.
W0921 19:21:51.027226<PHONE_NUMBER>16416 utils.py:194] Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 2 seconds.
W0921 19:21:53.319947<PHONE_NUMBER>16416 utils.py:194] Http request to Neptune server failed: HTTPServiceUnavailable(). Retry in 4 seconds.
W0921 19:21:57.576467<PHONE_NUMBER>16416 utils.py:194] Http request to Neptune server failed: HTTPServiceUnavailable(). Retry in 8 seconds.
W0921 19:22:05.840517<PHONE_NUMBER>16416 utils.py:194] Http request to Neptune server failed: HTTPServiceUnavailable(). Retry in 16 seconds.
W0921 19:20:02.611533<PHONE_NUMBER>55232 utils.py:194] Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 1 seconds.
W0921 19:20:53.619077<PHONE_NUMBER>27264 utils.py:194] Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 1 seconds.
W0921 19:22:31.413591<PHONE_NUMBER>27264 channels_values_sender.py:159] Failed to send channel value: Received batch errors sending channels' values to experiment SAN-271. Skipping 7 values.

I'm using neptune-client 0.4.5.

Oh no! New errors today:
WARNING - neptune.utils - Http request to Neptune server failed: ConnectionError(MaxRetryError("HTTPSConn
ectionPool(host='ui.neptune.ml', port=443): Max retries exceeded with url: /auth/realms/neptune/protocol/openid-conne
ct/token (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f72950c6e48>: Failed
 to establish a new connection: [Errno -2] Name or service not known'))")). Retry in 1 seconds.

WARNING - neptune.utils - Http request to Neptune server failed: RequestsFutureAdapterConnectionError().
Retry in 1 seconds

Although maybe those are only warnings and I can ignore them?

After neptune-client update to 0.4.8 I got the following behavior:

neptune.create_experiment(params=params_dict)

(while long processing)
W0924 12:47:20.898727<PHONE_NUMBER>71232 utils.py:194] Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 1 seconds.
W0924 12:47:52.541266<PHONE_NUMBER>75616 utils.py:194] Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 1 seconds.
W0924 12:48:06.090204<PHONE_NUMBER>55968 utils.py:194] Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 1 seconds.
W0924 12:48:14.481292<PHONE_NUMBER>55968 utils.py:194] Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 1 seconds.
W0924 12:48:15.809282<PHONE_NUMBER>75616 utils.py:194] Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 1 seconds.
W0924 12:48:23.268472<PHONE_NUMBER>71232 utils.py:194] Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 1 seconds.
W0924 12:48:42.695455<PHONE_NUMBER>75616 utils.py:194] Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 1 seconds.
W0924 12:48:49.577561<PHONE_NUMBER>75616 utils.py:194] Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 1 seconds.
W0924 12:48:53.011846<PHONE_NUMBER>71232 utils.py:194] Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 1 seconds.
W0924 12:49:00.032527<PHONE_NUMBER>71232 utils.py:194] Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 2 seconds.
W0924 14:21:01.688745<PHONE_NUMBER>71232 utils.py:194] Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 1 seconds.
W0924 14:21:22.373420<PHONE_NUMBER>75616 utils.py:194] Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 1 seconds.
(end processing)

neptune.send_metric('some_float', some_float)

neptune.stop()
W0924 14:25:26.045459<PHONE_NUMBER>69152 utils.py:194] Http request to Neptune server failed: HTTPRequestTimeout(). Retry in 1 seconds.
(process aborted during neptune.stop)

While long precessing phase, the neptune.ml web dashboard shows the experiment as "not responding". But, after the process was aborted, it shows status as "succeeded".

The part about Name or service not known means that your code cannot resolve the address ui.neptune.ml - probably some network glitch.
The rest of the errors are probably due to our servers being under stress. We'll work on that :)
Btw, even after the experiment is stopped (e.g. after calling neptune.stop()), the metric values are being sent if the sending thread was unable to send them earlier. That's why it may appear as if the process hangs after neptune.stop().

Sounds good!
On Wed, 25 Sep 2019 at 15:20, Piotr Łusakowski<EMAIL_ADDRESS>wrote:

The part about Name or service not known means that your code cannot
resolve the address ui.neptune.ml - probably some network glitch.
The rest of the errors are probably due to our servers being under stress.
We'll work on that :)
Btw, even after the experiment is stopped (e.g. after calling
neptune.stop()), the metric values are being sent if the sending thread
was unable to send them earlier. That's why it may appear as if the process
hangs after neptune.stop().
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/neptune-ml/neptune-contrib/issues/53?email_source=notifications&email_token=ABFZEHMEN6JDFINCUAGBBVLQLNQTNA5CNFSM4IYK3BR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7R33AI#issuecomment-535018881,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABFZEHNCRRIMELQ5VUURWWLQLNQTNANCNFSM4IYK3BRQ
.

I am closing this issue since those ServerErrors are only warnings (which was initially misleading) and all the metrics are correctly stored despite the warnings.


Resizing Breaks the PDF Sheet

When the actor sheet is set to PDF and someone resizes it, all the text filled in disappears until it goes back to a specific size, which it then appears again. Then we found a new problem where once it does this once, it doesn't allow you to add anymore text to the PDF. If you type anything new it just disappears when you close and reopen the sheet.
Also the "Hide Editable Field Border" and "Hide Editable Field BG" are checked but it refuses to hide them anymore.
I have no other modules except for the PDF Pager and required libWrapper. These are all being used on the Simple World-Building game system. They are all up to date as is Foundry.
PDF Pager - v 0.47.0
libWrapper - v <IP_ADDRESS>
Simple World-Building - v 0.8.2
FoundryVTT - v 11.304

Hi,
With a new world using the above versions it seems to work properly on my configuration (using a D&D 5E pdf).
Are there any any errors in your browser console during resizing?
Is it possible for you to supply a copy of the PDF sheet for me to investigate with?

Here is the PDF sheet we were using. I don't see any console errors but I
will mess with it a bit more to see if I can get anything else.
On Mon, Jul 3, 2023 at 7:42 AM Farling @.***> wrote:

Hi,
With a new world using the above versions it seems to work properly on my
configuration (using a D&D 5E pdf).
Are there any any errors in your browser console during resizing?
Is it possible for you to supply a copy of the PDF sheet for me to
investigate with?
—
Reply to this email directly, view it on GitHub
https://github.com/farling42/fvtt-pdf-pager/issues/70#issuecomment-1618050100,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASOEWP33MXITB2ZLYH2QC73XOKV4FANCNFSM6AAAAAAZY7JCIY
.
You are receiving this because you authored the thread.Message ID:
@.***>

The attachment from your email didn't reach the issue on github - I suspect it got filtered out. Could you attach it directly on the web page instead?
https://github.com/farling42/fvtt-pdf-pager/issues/70

Icons Character Sheet - fillable.pdf

Even with your PDF things seem to be working properly (in the windows app and via chrome browser). So there's something different between our environments.
Which browser and operating system are you using?
Are you using a local installation of the Foundry app?
Is the foundry server hosted locally? If not, where is it located?

I am using Opera GX but the issue was originally found using the Foundry
app itself which is hosted locally. I am using Windows10, OS
build 19045.3086.
On Mon, Jul 3, 2023 at 6:51 PM Farling @.***> wrote:

Even with your PDF things seem to be working properly (in the windows app
and via chrome browser). So there's something different between our
environments.
Which browser and operating system are you using?
Are you using a local installation of the Foundry app?
Is the foundry server hosted locally? If not, where is it located?
—
Reply to this email directly, view it on GitHub
https://github.com/farling42/fvtt-pdf-pager/issues/70#issuecomment-1619231167,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASOEWP5NWS4234NMA4P2SZ3XONEFVANCNFSM6AAAAAAZY7JCIY
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

Ah, well one problem with Opera GX is that it has had a lot of stuff that Foundry needs stripped out of it. Normal Opera is fine (at least according to the Foundry discord).
Do you have at least 4 GB of free space on your C: drive? (Most likely NOT the problem, but always worth checking to see if it is a browser caching issue.)

I have more than 4 GB on my C: drive. The issue happened on the Foundry app
itself first, not just OperaGX.
On Tue, Jul 4, 2023 at 6:52 AM Farling @.***> wrote:

Ah, well one problem with Opera GX is that it has had a lot of stuff that
Foundry needs stripped out of it. Normal Opera is fine (at least according
to the Foundry discord).
Do you have at least 4 GB of free space on your C: drive? (Most likely NOT
the problem, but always worth checking to see if it is a browser caching
issue.)
—
Reply to this email directly, view it on GitHub
https://github.com/farling42/fvtt-pdf-pager/issues/70#issuecomment-1620019322,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASOEWP3E5SQBRONHOP765GDXOPYVFANCNFSM6AAAAAAZY7JCIY
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

Could you send a picture of your module settings, to see if there is a specific combination causing an issue.
My settings are:

Closing since no reply in 3 months.


setup command is missing --undo-buffer-size flag

If you run the following command
substreams-sink-sql setup $DSN docs/tutorial/substreams-clickhouse.yaml
new psql loader: driver clickhouse does not support reorg handling. You must use set a non-zero undo-buffer-size

It'll fail since you need to set undo-buffer-size > 0. In change log it recommends 12. But
substreams-sink-sql setup $DSN docs/tutorial/substreams-clickhouse.yaml --undo-buffer-size=12
unknown flag: --undo-buffer-size

nice catch @anthonyra !
Instead of adding the support for that flag, I made the setup aware of the backend capabilities: it will now automatically create the reorg table on postgres, and not try to do so on clickhouse.
The user can still decide if it wants to use the reorg or the undo-buffer when running on postgres, the behavior will be unchanged for clickhouse.


Tried to add Broma as a gitmodule and It didn't work

Can someone please help me get the current Broma C++ library into "pybroma/include/broma" ? I have been trying at this for the past 30 minutes and I do not understand why it's broken when it shouldn't be.

Problem was solved https://github.com/CallocGD/PyBroma/commit/fd10649dc892a8c38eb0cf637e5e45f04d8c0039


Goals failing with Access Configuration

Description
After I defined Access Configuration for k8s cluster all plugin goals fail with same error message:
[ERROR] Failed to execute goal io.fabric8:fabric8-maven-plugin:4.0.0:build (default-cli) on project <project name>: Unable to parse configuration of mojo io.fabric8:fabric8-maven-plugin:4.0.0:build for parameter access: Cannot create instance of class io.fabric8.maven.core.access.ClusterConfiguration: Class org.codehaus.plexus.component.configurator.converters.AbstractConfigurationConverter can not access a member of class io.fabric8.maven.core.access.ClusterConfiguration with modifiers "private" -> [Help 1]

Info

f-m-p version : 4.0.0
Maven version (mvn -v) :

Apache Maven 3.5.2
Maven home: /usr/share/maven
Java version: 1.8.0_201, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-oracle/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.15.0-46-generic", arch: "amd64", family: "unix"

Kubernetes / OpenShift setup and version : 1.8.5
If it's a bug, how to reproduce :
Define any Access Configuration parameter with Property (maven or system); or define any Access Configuration parameter in plugin configuration.  <access> block can be even empty.

Sample minimal pom.xml that is failing:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>com.example</groupId>
    <artifactId>fmp</artifactId>
    <version>1.0.0</version>
    <build>
        <plugins>
            <plugin>
                <groupId>io.fabric8</groupId>
                <artifactId>fabric8-maven-plugin</artifactId>
                <version>4.0.0</version>
                <configuration>
                    <access>
                        <masterUrl>https://example.com</masterUrl>
                    </access>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>

@rohanKanojia @lordofthejars I probably found a very easy fix.
All that has to be done is to change access level modifier on ClusterConfiguration.java constructor from private to public.
Private access level was causing exception in ObjectWithFieldsConverter's method fromConfiguration (line 54), where it was trying to create new instance of ClusterConfiguration.

@Loucher : Great! Thanks a lot. Could you please raise a PR to fix this? It would be available in 4.1.0 which is due in 1-2 weeks ;-)