Runtime manager not starting

I am trying to run Autoware but only the roscore terminal shows up when I type ./run. I get prompted for my password for the Runtime Manager but after I type it nothing happens, I don't even get an error, so I have no clue how to debug this.
Does anybody know what might be going on?
I am using Ubuntu 16.04.

Which ROS Version are you using and which branch did you check out and
compile (best give us commit sha).
What you need to type in is your root user password.
On Fri, Jul 21, 2017, 8:15 AM Iulia-Alexandra Lungu <
<EMAIL_ADDRESS>wrote:

I am trying to run Autoware but only the roscore terminal shows up when I
type ./run. I get prompted for my password for the Runtime Manager but
after I type it nothing happens, I don't even get an error, so I have no
clue how to debug this.
Does anybody know what might be going on?
I am using Ubuntu 16.04.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/CPFL/Autoware/issues/736, or mute the thread
https://github.com/notifications/unsubscribe-auth/AABD4N5PLBD5JbwKXwvIByIUfKeQP6Igks5sQMCEgaJpZM4OfiZh
.

I installed ros-kinetic through apt-get.
I followed the README instructions for Autoware and did git clone https://github.com/CPFL/Autoware.git, so I guess it's the master branch.
I did type the root user password.

I am on master (bf694eb1dfd7656ca0889182d0ae783a1ceecdf7), also 16.04 and kinetic and for me runtime_manager GUI shows up without a problem.
Which SHELL and which terminal app are you using?
What happens if you do following in 2 different terminals
$ cd $HOME/Autoware/ros/; source devel/setup.bash; roscore
$ cd $HOME/Autoware/ros/; source devel/setup.bash; rosrun runtime_manager runtime_manager_dialog.py

@iulialexandra
It might be a silly question but, did you compile successfully using the catkin_make_release command from a terminal?
I've seen this behavior if the files required by runtime manager haven't been compiled.

@iulialexandra
This problem sometimes happens by lack of some python dependencies.
Would you refer #682 ?
Conversations here may help you to find out what the exactly problem is.

Thanks to all for your answers, it works now. I had the same issue as #682, but I hadn't noticed that thread, sorry.

@iulialexandra @manato
you just installed python-wxtools and runtime manager showed up?
This is weird because if I understand correctly then this line failed: https://github.com/CPFL/Autoware/blob/master/ros/src/util/packages/runtime_manager/scripts/runtime_manager_dialog.py#L33.
This module is installed via libwxgtk3.0-0v5 debian package and if you do a reverse search:
aptitude why libwxgtk3.0-0v5 you see that libwxgtk3.0-0v5 is installed via python-wxgtk3.0 package which is listed in the README.
I do not have python-wxtools installed and runtime manager still works for me.

@dejanpan
Yep, installed python-wxtools and runtime manager showed up.
This is the only thing I did to make it work, not sure what the actual problem was.

@dejanpan I only can run the Autoware runtime manager with the command
$ cd $HOME/Autoware/ros/; source devel/setup.bash; roscore
$ cd $HOME/Autoware/ros/; source devel/setup.bash; rosrun runtime_manager runtime_manager_dialog.py
I cannot run with the command ./run even if I've already installed python-wxtools
Do you know what is the reason? Also, in the runtime manager, there are many bars that show status of CPUs, these bar have no response in my runtime.

Thanks for using Autoware and for your question. However the issue tracker is for posting confirmed bugs and feature requests.
We ask that you please ask questions at the ROS Answers website following our support guidelines: https://github.com/autowarefoundation/autoware/wiki/Support-guidelines#ros-answers. Please pay particular attention to the information we ask you to provide.

@pkhunphakdee ,
The run.sh file in Autoware/docker/generic seems to be not working.
I changed the script to:
`#!/bin/sh
XSOCK=/tmp/.X11-unix
XAUTH=/home/$USER/.Xauthority
SHARED_DIR=/home/autoware/.autoware
HOST_DIR=/home/$USER/.autoware
nvidia-docker run \
-it --rm \
--volume=$XSOCK:$XSOCK:rw \
--volume=$XAUTH:$XAUTH:rw \
--volume=$HOST_DIR:$SHARED_DIR:rw \
--env="XAUTHORITY=${XAUTH}" \
--env="DISPLAY=${DISPLAY}" \
-u autoware \
--privileged -v /dev/bus/usb:/dev/bus/usb \
--net=host \
autoware/autoware:latest-kinetic`

Then I ran sudo bash run.sh again in Autoware/docker/generic directory and it led me to the docker terminal.
After that, I ran cd Autoware/ros and ./run
The run time manager showed up on the screen this time :))).

@pkhunphakdee ,
The run.sh file in Autoware/docker/generic seems to be not working.
I changed the script to:
`#!/bin/sh
XSOCK=/tmp/.X11-unix
XAUTH=/home/$USER/.Xauthority
SHARED_DIR=/home/autoware/.autoware
HOST_DIR=/home/$USER/.autoware
nvidia-docker run \
-it --rm \
--volume=$XSOCK:$XSOCK:rw \
--volume=$XAUTH:$XAUTH:rw \
--volume=$HOST_DIR:$SHARED_DIR:rw \
--env="XAUTHORITY=${XAUTH}" \
--env="DISPLAY=${DISPLAY}" \
-u autoware \
--privileged -v /dev/bus/usb:/dev/bus/usb \
--net=host \
autoware/autoware:latest-kinetic`

According to this guide: https://ai4sig.org/2018/07/docker-for-autoware/?fbclid=IwAR2ImpFvYf8D97HIVQ--YhwZpC4bl6VKS5fZ5uGxixVxjRGjxIbf93V-ywU
Then I ran sudo bash run.sh again in Autoware/docker/generic directory and it led me to the docker terminal.
After that, I ran cd Autoware/ros and ./run
The run time manager showed up on the screen this time :))).

Autoware runtime manager flashes on screen for a second showing
cannot create directory home/xxxx/.rvis': file exists
[captured this on video as it flashed on screen]
then the terminal window show this message.
PARAMETERS

/rosdistro: melodic
/rosversion: 1.14.3

NODES
/
run (runtime_manager/run)
auto-starting new master
process[master]: started with pid [7568]
ROS_MASTER_URI=http://localhost:11311
setting /run_id to 14b8df92-f6bb-11e9-a705-e0d55ea7841f
process[rosout-1]: started with pid [7579]
started core service [/rosout]
process[run-2]: started with pid [7582]
sudo: no tty present and no askpass program specified
[run-2] process has finished cleanly
log file: /home/xxxx/.ros/log/14b8df92-f6bb-11e9-a705-e0d55ea7841f/run-2*.log
this is on autoware 1.12
commands used:
cd autoware.ai
source install/setup.bash
roslaunch runtime_manager runtime_manager.launch


adding support information for Firefox to registration-events sample

Hello @chrisdavidmills—I'm really excited about Firefox support for service workers!
This sample is reporting that navigator.serviceWorker isn't defined when I tried it under the standard OS X Firefox 35 build. Is service worker support currently limited to some combination of flags/special builds of Firefox? If so, it's probably too early to flag these samples as being supported in Firefox.
Also, a bit of housekeeping—I don't see a Google Contributors License Agreement on record for your GitHub account. We'd need you to sign it electronically before we could merge.

it's in Fx, but currently behind a pref. Have you got the SW stuff preffed on in Chrome by default now? As of which version? I'll get that updated on MDN.
I'll sign the agreement for future contributions. Cheers Jeff!

Yep, Chrome 40+ has core service worker functionality enabled by default, without any flag-flipping required.

Chris,
I've been marking that on pages as I go.
Joe Medley | Technical Writer |<EMAIL_ADDRESS>|<PHONE_NUMBER>
On Fri, Feb 13, 2015 at 10:42 AM, Jeffrey Posnick<EMAIL_ADDRESS>wrote:

Yep, Chrome 40+ has core service worker functionality enabled by default,
without any flag-flipping required.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleChrome/samples/pull/75#issuecomment-74303942.

In general, we've been tagging samples with the earliest version of Chrome that's supported, and linking to the corresponding chromestatus.com entry, which includes more detailed cross-browser compatability info.


Unexpected Info

Environment

OS: Ubuntu
Erlang/OTP: R19.3
EMQ: v2.1.0-rc.1

Description
When two WebSocket clients connect to the broker with the same clientId, the error logs:
14:54:24.139 [error] WsClient(<IP_ADDRESS>:50205): Unexpected Info: {'EXIT',<0.1371.0>,{shutdown,conflict}}

Fixed. @huangdan please verify the issue on emq20 branch.


[LIGHTNODE SALE] As a user, I want to complete the LightNode Purchase flow.

As a user, I want to complete the payment flow when I click Purchase a LightNode so that I am able to complete a purchase using the Paloma Vyper sales contract and also register my purchase on Cosmwasm.
Acceptance Criteria

Use the Figma link 1 Slot - LightNode Sale flow: https://www.figma.com/design/yC7zuL9bFx9yvPd2aBalX6/Paloma-Light-Sale-Node?node-id=1-2492&m=dev
Use the Vyper & CW Contracts on https://github.com/VolumeFi/node-license5-vyper and
Use deployed version of contract.

Shipped with https://github.com/palomachain/website/pull/104


fsp drop ??? bad performance

Hi,
i use intel xdk trying with cli 4.1.2 and CLI 5.1.1 ... with and without the wkwebplugin
my game is runing good but when i call banner it show but the game start to be laggy
any advise please ?
thanks

Try login to your admob portal, set your ad unit id to use text ad only.

@floatinghotpot
hi,
already try it before ... still same

How much is the impact on FPS drop?
Maybe you can consider using interstitial ad instead of banner. Not always show the banner, but pop up the interstitial ad at end of level. I guess it will reduce the impact.

@floatinghotpot
good approch ... but by the analytics ... i got better revenue from banner that's why i'm focused on

really?! as I know, interstitial ad has 5-10x RPM value... you can trust your conclusion if has data support.

yes, strange ... but my users like my banner and not my interstitials
intersitial are show on game over scene
banner all time

After some investigation, I found that the FPS issue caused by banner is quite common, here you can find some discussion in AdMob official forum:

https://groups.google.com/d/msg/google-admob-ads-sdk/pBCrFaqLhsA/wGI23cfKEBUJ
https://groups.google.com/d/msg/google-admob-ads-sdk/tML31YEbo90/i-fmr3zd3aAJ

So there is nothing I can do from plugin perspective.
As suggested by Andrew from AdMob team:

Banner ads (from any provider) can sometimes require significant resources to load and display, and as you saw they can negatively impact game performance, especially on older devices.  There really isn't any way around this fact.

For this reason, AdMob recommends placing banners on pause screens, end-of-level screens, and so on -- screens that are displayed when the user isn't actively playing the game.  This will help your framerate, and has the added bonus of a better CTR, since users are less likely to tap on an ad (even one they're interested in) if they're actively playing a game.

See our best practices for game developers for more info on these topics.


/status endpoint does not respect Accept: / header

It is common for http clients to default to sending an Accept: */* header on requests, e.g. Postman defaults to using this header on all requests unless overridden.
When a /status/* request is sent with Accept: */*, httpbun responds with an empty response, which caused me some confusion, especially given that  passing a more specific header of Accept: application/json or Accept: text/plain does return a response body. This is due to the explicit Accept header matching logic here.
It may be more intuitive for users to support wildcard Accept headers, either by returning application/json or text/plain content by default when Accept: */* is received.

Hey @dhudec, thanks for reporting with such detail. Appreciate the effort put in. 🙏
This logic was deliberately added to maintain compatibility with httpbin, which doesn't include any response body for /status at all. But I wanted some body content for some of my tests, so added that explicit behaviour, when a specific Accept is given.
I'd actually like to respond with application/json when there's Accept: */* or when there's no Accept header, for consistency with all the other endpoints. But that would mean one more endpoint that behaves differently from httpbin.
Come to think of it, I think trying to maintain compatibility with httpbin is a lost cause, with little value now. It felt a lot more important back when I wrote that code.
Oh well. How about this? If we see Accept: text/plain, we respond with text/plain, else we respond with application/json, irrespective of everything else. What say?

If we see Accept: text/plain, we respond with text/plain, else we respond with application/json, irrespective of everything else. What say?

That sounds like a good solution 👍


player.seek() should accept seconds not percent

This command should seek to the current video position
player.seek(player.getCurrentTime());

In documentation:
 player.seek(value);
The value should be a number between 0 and 100. For example, player.seek(50) will seek to the middle of the current source.

Hey @FDiskas ,
When we designed clappr we choose to go with seek(percentage). I think what we could do instead is to create another seek method:

seekTime
seekSeconds

What do you think?

seekTime I think is more self explainable. Because everywhere is in seconds

Isn't there already a seekSeconds()?

On 11 Nov 2015, at 17:17, Vytenis<EMAIL_ADDRESS>wrote:
seekTime I think is more self explainable. Because everywhere is in seconds
—
Reply to this email directly or view it on GitHub.

@tjenkinson there is, but it's limited to video tag only! I think he would like to have that for all playbacks:
https://github.com/clappr/clappr/search?utf8=✓&q=seekSeconds
Thanks @FDiskas, in case you'll only use the hlsjs or video_html5 playback you can use seekSeconds.
I'm gonna change your title for SEO reasons, is that okay?
player.seek() should accept seconds not percent
for
add method seekSeconds to playback

Its ok to change title. And yes I need this method for all playbacks and flash and html5. The same goes to volume get and set methods.

Cool, @FDiskas so I'm gonna close this one and add this method to https://github.com/clappr/clappr/issues/653 is that okay?

shure

I guess that's better to break #653 in smaller issues, there's some which we can label as easy and receive more contribs

So, regarding this issue, I guess that @FDiskas is correct. seek() should accept the time and not the percentage, that's how all players implement it (even the native ones). I'm in favor of breaking the API and make seek() behave the right way. If we still want a seek that uses percentage, we should have a seekPercentage, tho.

What about second parameter true/false for seconds or percentage? This will not brake the users code :/

I am going to work on this feature, we will break the API but the seek method will seek in time and we will have a seekPercentage function just like @flavioribeiro explained. I will send the PR soon.

+1 to that, I didn't realize that it was a common API between the other players to have it in seconds until now

That's great! And what about the PLAYER_SEEK event? would be great to use the same unit as the seek(). IMHO it sounds a little weird to receive the event in percentage, I always have to get the duration to convert to it back to seconds.

Thanks @gfronza I think part of this problem will be solved by this refactoring https://github.com/clappr/clappr/blob/fd5aa9c8eb821c654d1c3ed85699bb572499bac2/src/components/player.js#L251


Clean up test folder

Most of the files there are the same as the scripts. The only difference is that comments are removed.
Comments are not executed anyway... we should just run the script folder.

I think you also have the tangle=false block which avoids running some parts, like plots or things yielding errors on purpose

Closing as won't-fix. We're moving the tutorials to JuMP, and the tests do indeed run the scripts directly.


Create a Doc that describes the Architecture

Is your feature request related to a problem? Please describe.
Understanding what Irudium is all about.
Describe the solution you'd like
A simple architecture diagram and table or list of the software components would help newcomers like me understand what's going on.
Describe alternatives you've considered
I could hack around, but I suspect that it would be quickly frustrating.

This is a fantastic ask, @dave2wave .  I'll get something put together in the next few days.

@dave2wave I'm still in progress, but I merged this a few minutes ago for some initial feedback.   More updates soon to come.
Docs can be found at
https://docs.iridium.software/

That's a good start.

@dave2wave I made a few more tweaks.  Does this page fulfill what you were thinking about on this ticket?
I wouldn't say the overview page is done by any means, we still have a long way to go.


Installing typedoc via npm installs @types/node

Typedoc has a dependency on @types/fs-extra, which has a dependency on @types/node. Unfortunately, installing @types/node into node_modules in a react-native typescript project creates global type definition conflicts. This is preventing me from installing typedoc as a local package dependency.

Yeah, it's shitty but nothing this repo can or should fix. Just correct your tsconfig.json file and search existing issues first.


[FEATURE REQUEST] Add method openLegacy() to support non-UUID versions

Current version uses HashMap<UUID, Gui> getPlayers() in code. Old minecraft versions don't have UUID support.
Do something like HashMap<UUID, Gui> -> HashMap<Player, Gui>

Which version do you use? Obliviate-invs supports legacy versions but not dinosaur ones.

1.5.2

I am sorry because literally nobody cares.


Add package for SF Symbols 2

iOS 14 is coming with rounder SF Symbols 2 https://developer.apple.com/sf-symbols/
Once it's out, explore how to make it usable as a package that replaces cupertino_icons.
Could deprecate https://github.com/flutter/flutter/issues/33916 and https://github.com/flutter/flutter/issues/16102

Won't you have the license issue?

All SF Symbols shall be considered to be system-provided images as defined in the Xcode and Apple SDKs license agreements and are subject to the terms and conditions set forth therein. You may not use SF Symbols — or glyphs that are substantially or confusingly similar — in your app icons, logos, or any other trademark-related use. Apple reserves the right to review and, in its sole discretion, require modification or discontinuance of use of any Symbol used in violation of the foregoing restrictions, and you agree to promptly comply with any such request.

I think it's not gonna be as convenient as cupertino_icons (in portability etc), but I tried it with https://pub.dev/packages/ios_platform_images. So far I'm cautiously optimistic that it's at least somewhat possible.
https://github.com/xster/flutter-test/tree/master/t166_ios_system_image

We'll probably have to augment ios_platform_images a bunch (such as passing through UIImageConfiguration etc).

SF Symbols 3 (iOS 15) dropped https://developer.apple.com/sf-symbols/

The colored icons might be challenging, Flutter still doesn't support shades from Material.

3.1 is out https://github.com/flutter/flutter/issues/93704

There's a new design doc (https://flutter.dev/go/sfsymbols) for discussing how to implement this best. I've also gone through and furthered @xster's approach in this repo https://github.com/cadenkriese/sfsymbols

Hi all, I need this icon in  https://github.com/flutter/flutter/pull/96637, but I can't find in CupertinoIcons, any update for this? O(∩_∩)O

@luckysmg try my package https://pub.dev/packages/sf_symbols for SF symbols in iOS


Add missing meta.mainProgram to treefmt

Description of changes
Small change to get getExe to work properly with treefmt

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Pull request made on wrong branch (should be master branch)


Update instructions for Oracle-XE to create a new image after first-run of Oracle XE

When using Oracle in a docker container, the first time the container is run it takes a long time to startup as lots of files are unpacked, etc.
The suggestion here is to create an Oracle-XE container using the base image from Oracle and then run docker commit to create an updated image based on the unpacked XE installation. The following startup times are then much faster (seconds as opposed to many minutes)
(This may be related to the long startup time reported in #1292)

Hi @gdubya,
I think that's a great suggestion.
If you or anybody else would like to contribute a documentation change, I'm sure we'd be happy to accept it.
Thanks
Richard

We were able to defer this to the BUILD image phase (instead of on startup) by calling the setup twice, something like:
# The first [RUN] will import the base image data and the second [CMD] will run on startup to import more tables.
RUN /usr/sbin/startup.sh && tail -f /dev/null
CMD /usr/sbin/startup.sh && tail -f /dev/null

@AnEmortalKid can you provide some Dockerfile :)

Sure @KamilJedrzejuk
Dockerfile
FROM wnameless/oracle-xe-11g-r2

ADD init.sql /docker-entrypoint-initdb.d/

# The first [RUN] will import the base image data
RUN /usr/sbin/startup.sh
RUN rm /docker-entrypoint-initdb.d/init.sql

# The second [CMD] will run on startup to import more tables from whoever extends this image
CMD /usr/sbin/startup.sh && tail -f /dev/null

init.sql
create table CATS (
    NAME VARCHAR2(20)
);

insert into CATS(
    NAME
)
VALUES ('foo');

Build
$ docker build . -t localdb --no-cache
Sending build context to Docker daemon   5.12kB
Step 1/5 : FROM wnameless/oracle-xe-11g-r2
 ---> 0d19fd2e072e
Step 2/5 : ADD init.sql /docker-entrypoint-initdb.d/
 ---> 49d3f2ec3b38
Step 3/5 : RUN /usr/sbin/startup.sh
 ---> Running in ce971fbfcd53
Starting Oracle Net Listener.
Starting Oracle Database 11g Express Edition instance.

/usr/sbin/startup.sh: running /docker-entrypoint-initdb.d/init.sql

SQL*Plus: Release <IP_ADDRESS>.0 Production on Sat Mar 14 18:17:13 2020

Copyright (c) 1982, 2011, Oracle.  All rights reserved.

Connected to:
Oracle Database 11g Express Edition Release <IP_ADDRESS>.0 - 64bit Production

Table created.

1 row created.

SQL> Disconnected from Oracle Database 11g Express Edition Release <IP_ADDRESS>.0 - 64bit Production

Removing intermediate container ce971fbfcd53
 ---> 1949682a771c
Step 4/5 : RUN rm /docker-entrypoint-initdb.d/init.sql
 ---> Running in faa0a0369571
Removing intermediate container faa0a0369571
 ---> 806dcc0d4304
Step 5/5 : CMD /usr/sbin/startup.sh && tail -f /dev/null
 ---> Running in 35c43bffc231
Removing intermediate container 35c43bffc231
 ---> 357006645d32
Successfully built 357006645d32
Successfully tagged localdb:latest

Run
docker run -p 49161:1521 localdb

Starting Oracle Net Listener.
Starting Oracle Database 11g Express Edition instance.

Inspect
 docker exec -it ac5f /bin/bash                                                                 root@ac5fc821c840:/# which sqlplus
/u01/app/oracle/product/11.2.0/xe/bin/sqlplus
root@ac5fc821c840:/# sqlplus system/oracle@xe

SQL*Plus: Release <IP_ADDRESS>.0 Production on Sat Mar 14 18:18:38 2020

Copyright (c) 1982, 2011, Oracle.  All rights reserved.

Connected to:
Oracle Database 11g Express Edition Release <IP_ADDRESS>.0 - 64bit Production

SQL> select owner,table_name from all_tables where table_name='CATS';

OWNER                          TABLE_NAME
------------------------------ ------------------------------
SYS                            CATS

SQL> select * from SYS.CATS;

NAME
--------------------
foo

@AnEmortalKid
Ok I Am using a 18.c version and maybe this will be walk around
https://github.com/KamilJedrzejuk/oracle18.4.0xe-docker

Hi,
is this still open to contributes?
I'm asking because in these days I was working in this direction and I found this open issue.
I tried to implement it as suggested in previous comments but base images are not compatible since I'm working on top of: gvenzl/oracle-xe:21-slim-faststart
But similarly to how it's described in this comment I was able to achieve this during the image's build phase.
I can share quickly some "pseudo-code".
I'm saying "pseudo-code" because it's not a working example but I can work on it if needed.

USER oracle

# Running oracle entrypoint in background with "container-entrypoint.sh $".
# Schema initialization is achieved through initialization script placed in /container-entrypoint-initdb.d
# Here we have just to wait that oracle finalize its setup.
# Sleep it's just in order to let him finish it setup. 300 (5 minutes) it's and heuristic value
RUN nohup bash -c "container-entrypoint.sh &" && echo "Waiting..." && sleep 300

This dockerfile is implemented around my needs.
What I mean is that in my case the schema initialization is run through a pre-packed .jar file.
This is why I had the need of downloading these artifacts.
wget -O installer.jar https://github.com/path/to/your/installer.jar &&\
  wget https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.5%2B8/OpenJDK17U-jre_x64_linux_hotspot_17.0.5_8.tar.gz

Indeed inside my: testcontainers/oracle/init i have the following files:
1_create_user.sql
ALTER SESSION SET CONTAINER=XEPDB1;

CREATE USER TEST_USER IDENTIFIED BY "T3st_us3r_pwd!";

-- Do your stuff..
GRANT CREATE SESSION TO TEST_USER;

GRANT CONNECT
, CREATE TABLE
, ..... TO TEST_USER

ALTER USER TEST_USER DEFAULT ROLE ALL;
ALTER USER TEST_USER quota unlimited on USERS;

2_init_schema.sh
#!/bin/bash

java -jar /opt/installer.jar -Durl=jdbc:oracle:thin:@localhost:1521/XEPDB1 -DuserTEST_USER -Dpassword=T3st_us3r_pwd!

I think this issue in old. Currently, testcontainers is using gvenzl/oracle-xe and OracleContainer implementation is based on it and also tested. IMO this documentation should be on https://github.com/gvenzl/oci-oracle-xe, so every user can benefit from it. In Testcontainers we can add a reference.

I agree with @eddumelendez here. Just summoning @gvenzl, since he could help us with incorporating it into the Docker Hub image docs 🙂
Afterwards, we would resolve this issue, by referencing this specific section of the Docker Hub image docs in our docs.

Hi @kiview , @eddumelendez ,
thanks for your feedback!
I found that there is a similar thread here: https://github.com/gvenzl/oci-oracle-xe/issues/125
I'll move here the discussion in order to see if it could land in @gvenzl's project's documentation :)

I'll close this issue for now, since it was considering the legacy Oracle XE image and the new image has different facilities already in place trim down the startup time.
We can consider re-opening or raising a new issue if something more specific occurs or if there is a chance to leverage certain documentation of the https://github.com/gvenzl/oci-oracle-xe image within our docs.


It's recommend to have built-in top100 pass enumeration

Please describe your feature request:

Describe the use case of this feature:

@123123sdsdasd Could you clarify the feature request? moving to the discussion as it's unclear as of now.


Add dependency auto-update for gradle dependencies.

This is to keep the gradle dependencies in the repository up to date.
Pre-launch Checklist

[X] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[X] I read the Tree Hygiene wiki page, which explains my responsibilities.
[X] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[X] I signed the CLA.
[X] I listed at least one issue that this PR fixes in the description above.
[X] I updated/added relevant documentation (doc comments with ///).
[X] I added new tests to check the change I am making, or this PR is test-exempt.
[X] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Abandoning this change as updating the dependencies require running an additional script.


Why is the FarmingSkill mod deprecated

Hi, I just was wondering why the FarmingSkill mod is deprecated?

My mod is completely superceded by Smoothbrains mod : https://valheim.thunderstore.io/package/Smoothbrain/Farming/
I decided to deprecate it since his mod actually combines the three farming mods I was using. I'll update my mod readme to point to his mod instead


fix links broken by folder re-arranging

Some links were broken by re-arranging the folders in preparation for EuroPi X files. This PR fixes those that have been spotted so far

Here's a list of places where 'hardware/' appears in markdown files:
$ ag -G ".*.md" "hardware/"
hardware/EuroPi/build_guide.md
5:If you have bought only a Panel + PCB kit, you will need to also buy all of the components found in the [bill of materials](/hardware/bill_of_materials.md).

hardware/EuroPi/skiff_friendly_instructions.md
10:3. [Now go back to the normal build](https://github.com/Allen-Synthesis/EuroPi/blob/main/hardware/build_guide.md#large-capacitors)
18:4. [Now go back to the normal build](https://github.com/Allen-Synthesis/EuroPi/blob/main/hardware/build_guide.md#jack-pcb)

troubleshooting.md
66:2. If you have a multimeter, test the continuity of each pin with the appropriate pin on the Pico according to [the pinout](hardware/europi_pinout.pdf)
68:4. Make sure your OLED matches one of the two compatible pin configurations as outlined in the [build guide](hardware/build_guide.md#oled-configuration)

README.md
54:**Hardware**: Details of the hardware can be found at [hardware README](hardware/README.md). Additionally the [BoM](hardware/bill_of_materials.md) and the [build guide](hardware/build_guide.md) can be found in the hardware folder.
77:* Hardware: [CERN OHL-S v2](hardware/LICENSE)

Here's a list of places where 'hardware/' appears in markdown files:

It's nice to have smart people around. Done remaining links! The licence will be the same for current hardware and X so the license file is the only thing to still be in hardware/


Add missing rebind to handler_alloc

Coverage increased (+0.05%) to 98.116% when pulling fcbc3c5da04823711f42fd91c9ccba5442dff039 on alloc into 2f9a8440c2432d8a196571d6300404cb76314125 on master.

Current coverage is 98.11% (diff: 100%)

Merging #95 into master will increase coverage by 0.04%

@@             master        #95   diff @@
==========================================
  Files            71         71
  Lines          4036       4033     -3
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           3958       3957     -1
+ Misses           78         76     -2
  Partials          0          0

Powered by Codecov. Last update 2f9a844...fcbc3c5


Fix code scanning alert - Inefficient regular expression

Tracking issue for:

[x] https://github.com/RicardoGEsteves/Storyscape/security/code-scanning/7

fixed!


Create subdomain for React documentation website in Central Khmer

Dear @tesseralis, Please kindly create subdomain for React documentation website in Central Khmer. Thank you so much!

@bvaughn could you take care of this and the other domains of languages that just started?

What "other domains" are you referring to?

Ones for languages that have started up after the last time you added the language subdomains

I don't know what those are. I'm not actively monitoring this effort.

Sure, I just assigned this issue to you and updated it with all the languages that don't have a subdomain yet.

The following Netlify and Cloudflare settings have been created:

[x] Greek (el.reactjs.org)
[x] Gujarati (gu.reactjs.org)
[x] Kurdish (ku.reactjs.org)
[x] Central Khmer (km.reactjs.org)
[x] Telugu (te.reactjs.org)
[x] Lithuanian (lt.reactjs.org)
[x] Urdu (ur.reactjs.org)
[x] Swedish (sv.reactjs.org)
[x] Thai (th.reactjs.org)
[x] Georgian (ka.reactjs.org)
[x] Kannada (kn.reactjs.org)

@tesseralis how much translation needed to finish in order to get subdomain?

@bvaughn @tesseralis said you will create a subdomain to get listed. Also, i tried to register in docsearch but it needs domain though.


cimg: 2.9.3 -> 2.9.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/cimg/versions.
meta.description for cimg is: "A small, open source, C++ toolkit for image processing"
meta.homepage for cimg is: "http://cimg.eu/"
meta.changelog for cimg is: ""
Updates performed

Version update

To inspect upstream changes

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

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

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

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

found 2.9.4 with grep in /nix/store/xn2ni3pd5c699f3gmb2zibxbbfbwlq67-cimg-2.9.4

directory tree listing: https://gist.github.com/4976e5810df7274fd3e6f5dcc0fbd433

du listing: https://gist.github.com/16b33fa8410e0bec93590f636ff42397

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

11 total rebuild path(s)

3 package rebuild(s)

3 x86_64-linux rebuild(s)
3 i686-linux rebuild(s)
2 x86_64-darwin rebuild(s)
3 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
cimg
phash
wxcam

Instructions to test this update (click to expand)

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

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

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

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

3 packages built:

cimg
phash
wxcam

Maintainer pings
cc @AndersonTorres for testing.

A reminder to self: learn about Nix testing suites.

Result of nixpkgs-review pr 105138 run on x86_64-darwin 1

2 packages built:

cimg
phash


Issue #491 Fixed.

Added other minor changes too along with this for entire page.
Before--

After --
Untitled video - Screen Recording - 9_26_2022, 2_11_27 AM.webm

This is amazing. Great job

My pleasure @Susmita-Dey .✌

Issue no - #491

Resolved all merge conflicts @myhacktech @Susmita-Dey

@Stk-79 pull recent changes

@Stk-79 pull recent changes

Done.

@Stk-79 Changes disappeared after pulling; not showing in deploy preview


trng driver implemented with software backend

Mostly for use from unit tests, could also be utilized with BSPs which don't have access to HW RNG.

@mkiiskila LGTM. I am curious, not sure how the hmac hash construction works, but wouldn't it be possible that when you add the pid many times as entropy, if the pid was a sequence of bits, for simplicity something like 0x11111111, that it could fail the read test?

@mkiiskila oops, more correctly in the question above would be something like 0x55555555, 0xAAAAAAAA, and so on and so forth...

I believe it would be very difficult to get the read test to fail; albeit not impossible. The probability is very, very low. The output will feel seemingly random even with limited amount of initial entropy.
What is more of a problem is predictable output; I did add comment warning folks regarding this if they use this for real.


Improve access to /mgmt/shared/telemetry/pullconsumer/My_Pull_Consumer using user with READ-ONLY access-rights

Is your feature request related to a problem? Please describe.
Grafana/Prometheus are tools used by my customer, which should get access to my BIG-IP statistics.
According to F5-documentation (and my test-results) this must be done per REST-API https:///mgmt/shared/telemetry/pullconsumer/My_Pull_Consumer using Account with ADMIN-rights.
This means a Prometheus user-account must be created on my BIG-IP with ADMIN-rights!
So customer gets full control over my BIG-IP, which is really bad and not allowed by my security-policy!
Describe the solution you'd like
Access to https:///mgmt/shared/telemetry/pullconsumer/My_Pull_Consumer should be modified in the following way:

possible with READ-ONLY account
allow this specific path only with some path filter-mechanism

Describe alternatives you've considered
n/a
Additional context
Declaration is as follows - taken from "https://github.com/mdditt2000/prometheus"
{
    "class": "Telemetry",
    "My_Poller": {
        "class": "Telemetry_System_Poller",
        "interval": 0
    },
    "My_System": {
        "class": "Telemetry_System",
        "enable": "true",
        "systemPoller": "My_Poller"
    },
    "My_Pull_Consumer": {
        "class": "Telemetry_Pull_Consumer",
        "type": "Prometheus",
        "systemPoller": "My_Poller"
    }
}

I was able to create a user that only had read access to the mgmt/shared/telemetry/pullconsumer/My_Pull_Consumer  endpoint by following this guide: https://devcentral.f5.com/s/articles/icontrol-rest-fine-grained-role-based-access-control-30773
Below is the resource group I created for my prometheus user:
{
    "name": "prometheusResourceGrup",
    "resources": [
        {
            "restMethod": "GET",
            "resourceMask": "/mgmt/shared/telemetry/pullconsumer/My_Pull_Consumer"
        }
    ]
}

yes, it works for me too, using GUEST-role.
Is there a plan to add this RBAC feature into tmsh?

I do not have any insight on the road map for this RBAC functionality.

Closing for inactivity. If you still have an issue, please re-open this issue or create a new one.

Is it possible to setup an account with guest access for telemetry when you have LDAP for authentication setup? Would you need to set the account up as local or in AD to achieve this?

Unfortunately my knowledge on this part of BIG-IP is mostly limited to the article I posted previously: https://devcentral.f5.com/s/articles/icontrol-rest-fine-grained-role-based-access-control-30773. You could try to use an LDAP user for step 4.

Thanks for the reply. I was able to figure out that having both an AD service account and local account created with the same Username and AD password allows for the steps in the devcentral article above to work. This way you don't have to add any Remote Role Groups if you're not adding the AD account to anything else except for the Domain Users group. If anyone finds this to be confusing as I did when setting this up feel free to reach out to me.


ModuleNotFoundError: No module named 'plugins'

Describe the bug
When I am trying to use built-in plugins sometimes it throws the error "ModuleNotFoundError: No module named 'plugins'" and the code interpreter generates the code on its own without using the plugins.
Human   ▶  Tell me a joke and draw an ascii art of the last word. please use the plugins
╭───< Planner >
├─► [init_plan]
│   1. Tell a joke using the tell_joke plugin
│   2. Get the last word from the joke
│   3. Draw an ASCII art of the last word using the ascii_render plugin <sequentially depends on 2>
│   4. Report the joke and the ASCII art to the user <interactively depends on 3>
├─► [plan]
│   1. Instruct CodeInterpreter to tell a joke using the tell_joke plugin and get the last word from the joke
│   2. Instruct CodeInterpreter to draw an ASCII art of the last word using the ascii_render plugin
│   3. Report the joke and the ASCII art to the user
├─► [current_plan_step] 1. Instruct CodeInterpreter to tell a joke using the tell_joke plugin and get the last word from the joke
├──● Please use the tell_joke plugin to tell a joke and get the last word from the joke
╰──● sending message to CodeInterpreter
╭───< CodeInterpreter >
├─► [thought] ProgramApe will generate a code snippet to tell a joke using the tell_joke plugin and get the last word from the joke using regex.
├─► [python]
│   try:
│       from plugins import tell_joke, ascii_render
│   except ImportError:
│       !pip install plugins
│       from plugins import tell_joke, ascii_render
│
│   # Tell a joke
│   joke = tell_joke()
│
│   # Get the last word
│   last_word = re.findall(r'\b\w+\b', joke)[-1]
│
│   # Draw an ASCII art of the last word
│   ascii_art = ascii_render(last_word)
│
│   # Report the joke and the ASCII art to the user
│   joke + f"\n{ascii_art}"
├─► [verification] NONE
├─► [code_error] No code verification is performed.
├─► [execution_status] FAILURE
├─► [execution_result]
│   The execution of the generated python code above has failed
│
│   During execution, the following messages were logged:
│   Traceback (most recent call last):
│
│     Cell In[3], line 2
│       from plugins import tell_joke, ascii_render
│
│   ModuleNotFoundError: No module named 'plugins'
│
│
│   During handling of the above exception, another exception occurred:
│
│   Traceback (most recent call last):
│
│     Cell In[3], line 5
│       from plugins import tell_joke, ascii_render
│
│   ModuleNotFoundError: No module named 'plugins'
│
│   ERROR: Could not find a version that satisfies the requirement plugins (from versions: none)
│   ERROR: No matching distribution found for plugins
│
│
├─► [artifact_paths] []
├──● The following python code has been executed:
│   python  │   try:  │       from plugins import tell_joke, ascii_render  │   except ImportError:  │       !pip install plugins  │       from plugins import tell_joke, ascii_render  │     │   # Tell a joke  │   joke = tell_joke()  │     │   # Get the last word  │   last_word = re.findall(r'\b\w+\b', joke)[-1]  │     │   # Draw an ASCII art of the last word  │   ascii_art = ascii_render(last_word)  │     │   # Report the joke and the ASCII art to the user  │   joke + f"\n{ascii_art}"  │
│
│
│   The execution of the generated python code above has failed
│
│   During execution, the following messages were logged:
│   Traceback (most recent call last):
│
│     Cell In[3], line 2
│       from plugins import tell_joke, ascii_render
│
│   ModuleNotFoundError: No module named 'plugins'
│
│
│   During handling of the above exception, another exception occurred:
│
│   Traceback (most recent call last):
│
│     Cell In[3], line 5
│       from plugins import tell_joke, ascii_render
│
│   ModuleNotFoundError: No module named 'plugins'
│
│   ERROR: Could not find a version that satisfies the requirement plugins (from versions: none)
│   ERROR: No matching distribution found for plugins
│
│
To Reproduce
Steps to reproduce the behavior:

Start the service
Type the user query "Tell me a joke and draw an ascii art of the last word. please use the plugins"
Wait for the response
See error

Expected behavior
Use both plugins and provide me ASCII art of the last word of the joke.
Environment Information (please complete the following information):

OS: Windows
Python Version 3.10
LLM that you're using: Azure Openai gpt-35-turbo

The generated code is wrong. There is no such module named plugins which is haullucinated by the LLM. This is typically not a persistent error.


Dialog dismissed when mousedown inside and mouseup outside dialog

Describe the bug
The dialog closes when you click down inside the dialog, and release outside. This is because it listens to the "click" event, which triggers upon mouseup.
Steps to reproduce the bug

Have an open dialog
Press and hold mouse button 1 inside the dialog
Move cursor outside dialog (while holding mouse button)
Release mouse button 1.

Expected behavior
Even with isDismissable, it should be required that the mouse click starts outside out the dialog.
An example use case (that we have a lot of), where this gets annoying: A dialog with a text field inside, where the user should drag to select the contents of the text field (e.g. to replace everything inside). As the user swiftly drags across the text field, the cursor often ends up outside the dialog before the mouse button is released, causing the dialog to immediately close. This is annoying.
Specifications

Version: EDS Core v0.31.1
Browser: Chromium (electron)
OS: MacOS 13 (Ventura)

Additional context

This was fixed already in the latest release (0.32.3)👍

Ah, so duplicate of https://github.com/equinor/design-system/issues/2907 then! Feel free to close!


Support class static fields for pybind11

depends on #193

This change newly introduce following error when building dartpy for DART 6.6:
chimera: /usr/lib/llvm-5.0/include/clang/AST/DeclCXX.h:604: clang::CXXRecordDecl::DefinitionData& clang::CXXRecordDecl::data() const: Assertion `DD && "queried property of class with no definition"' failed.

Not sure if this is a llvm 5 specific error or not.

The error disappears by disabling static fields generation for DART. I think this error is just unveiled as we generate bindings for static fields of DART, but it shouldn't block merging this PR.


METS adapter stages

Issue
https://github.com/wellcometrust/platform/issues/4059
Description
Includes all stages of the METS adapter:

Retrieving the bag
Parsing the bag
Filter out METS data stored in dynamo (unless newer version / file path changed)
Publishing message to SNS
Storing METS data in dynamo

Thanks for the reviews! Merging this now, we can finalise the message format and  add configuration in a future PR.


Add sourceInfo to Data.connect exception messages

Related issue:

Type of change:  other enhancement

Impact: no functional change

Development Phase: implementation
Release Notes

Currently if a connect fails in Chisel (e.g. due to type incompatibility) an exception is thrown, but the sourceInfo is not printed. This could make troubleshooting of such problems frustrating, especially in larger designs. This PR adds the @[filename.scala line:col] to the exception messages thrown by Data.connect.

Can one of the admins verify this patch?

ok to test

Would something like stack trace pruning (or better, highlighting / bolding the line that calls into Chisel - though not sure if that's possible) make sense here? I think the idea behind this makes a lot of sense (emphasize the likely problematic line), but making it easier to read through the stack trace might be a more general solution (since you sometimes need the context further up the stack trace).

@ducky64: That sounds cleaner to me. There's a couple of gates on that:

Stack trace pruning is currently selectively used, e.g., Driver.execute has it, but Driver.elaborate does not.
Stack trace pruning is implemented: as catching an exception, println'ing a trimmed stack trace, swallowing the exception, and returning something (pre-Stage/Phase this was None, post-Stage/Phase this is the original AnnotationSeq). This works pre-Stage/Phase where elaboration is a top-level method, but post-Stage/Phase, the elaboration happens in an elaboration Phase which is not at the top level of the call stack. This is precipitated as behavior like https://github.com/freechipsproject/chisel3/issues/1159.

I have some proposals for how to handle (2) with a StageError, but there may be a better approach.

 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.

 All committers have signed the CLA.


Build as a single file for use in a

Hi, I'm working on 2m2d whose webserver is written in Rust, so I can't use npm for the frontend (It has to be static sites only). Is there a way to build this library as a single file so I can load it in a

@karx1 I'm pretty sure Rust has a way to render static files so you can try the following

create a new folder and name it something like npm-packages
create an index.js file in the folder
Initialize npm  using npm init
install the module with npm i flamethrower-router (NOTE this applies to any other npm library/packages/module)
install webpack
in the index.js file import the entire library/packages/module and save it as a window object
build the index.js with webpack to a new js file eg dist/bundle.js.

That's it you can now import the build file as a script tag in your HTML and use window.(whatever you named it) to access the library/packages/module features
Example, to be clearer
npm-packages/index.js
import flamethrower from 'flamethrower-router';

window.router = flamethrower();

HTML
<script src="dist/bundle.js"></script>
Usage
<script>

    const router = window.router
    router.go('/somewhere');

</script>

just remember to export the path to the bundled file and import it accordingly in your HTML script tag.
I usually do this when I'm working with Go.

Clone it and run npm run build to generate the main.js bundle, then use it in a module script:
<script type="module">
  import flamethrower from '/path/to/flamethrower.js';
  const router = flamethrower();
</script>

You can also clone my webpack wrapper for flamethrower github.com/bennykay/flamethrower-webpack and run npm run build to get a single  flamethrower.js bundle in your /dist folder.
If you want to change options, you can do it before building in src/index.js.

Or just visit this link and download the output

Another option is to use the ESM CDN as shown here #31

Hi, I'm working on 2m2d whose webserver is written in Rust, so I can't use npm for the frontend (It has to be static sites only). Is there a way to build this library as a single file so I can load it in a


Dragging variables editor panel doesn't work on touch devices

On an iPad, you can't drag the variables panel to open it or change the size.
To reproduce:

Go to http://api.githunt.com/graphiql
Open the chrome dev tools and click on the responsive preview button, select "ipad"
Attempt to drag open the variables panel

Happy to open a PR if this is something you'd like to fix! Would it be OK to use https://github.com/tomkp/react-split-pane which seems to "just work" everywhere I've tried it?

@stubailo I don't think this is that big of an issue since in the overwhelming majority of cases people running GraphiQL are using it while actually developing something on their computer. Any input on this @wincent @asiandrummer

Yeah but if it can be fixed easily why not? I'm interested in using GraphiQL on iPad specifically.

(Specifically, this is an issue in Launchpad, which is a tool that can definitely be used to develop on an iPad)

@stubailo with the emergence of iPad Pro and Surface devices, it feels like extending GraphiQL with the touch functionality would be a fun nice-to-have feature. react-split-pane looks usable but why couldn't we just use browser touch events (touchstart, touchend, touchmove and etc)? I'd like to move towards a solution that doesn't require GraphiQL depending on another library.


Not rendering on Voila

Could you please take a look at this issue?
[Open Browser Console for more detailed log - Double click to close this message]
Model class 'ChartModel' from module '@visa/charts-python' is loaded but can not be instantiated
TypeError: i._deserialize_state is not a function
at tn._make_model ()

hi! Thank you for your inputs. I'm one of the maintainers of VCC. Could you please let me know which version of @visa/charts-python you are using?

Hi @david-kutas,
I'm using pyvisacharts 2.0.0.
In your demo notebook, I got the below error. I think this is related to the compatibility with IPYWidgets 8.0. I saw a lot of 3rd party widgets like Plotly, and IPYCharts failed to load after being updated to IPYWidgets 8.0.

Thank you for the info.
We are investigating the issue.

We just checked on our end, we are using IPYWidgets 7.6.5. With this 7.6.5 version pyvisacharts 2.0.0 works as expected. Can you please test on your end that by downgrading to IPYWidgets 7.6.5 the issue gets resolved? If not, can you please supply more information about your environment (including other packages)?

I can confirm the charts are working fine on IPYWidgets 7.x.x.

Thank you for confirming it. We found the reason for the issue. The issue will be resolved with the upcoming new release.

This is fixed in the most recent release, closing the issue.


AttributeError: module 'batchminer' has no attribute 'BATCHMINING_METHODS'

This error occurs when I run the following code：
python main.py --dataset cub200 --tau 55 --gamma 0.2 --gpu 0 --seed 0 --compos_num 4 --ensemble_num 4 --embed_dim 128 --bs 100 --n_epochs 300 --samples_per_class 2 --loss margin --batch_mining distance --arch resent50_frozen_normalize
Traceback (most recent call last):
File "main.py", line 108, in
import criteria as criteria
File "/home/disk/github/DCML-main/criteria/init.py", line 1, in
from criteria import triplet, margin, proxynca, npair
File "/home/disk/github/DCML-main/criteria/triplet.py", line 6, in
ALLOWED_MINING_OPS  = list(batchminer.BATCHMINING_METHODS.keys())
AttributeError: module 'batchminer' has no attribute 'BATCHMINING_METHODS'

Sorry for late reply. We have made the correction of the code. The error will not occur again. Thanks for your question.

Sorry for late reply. We have made the correction of the code. The error will not occur again. Thanks for your question.

Congratulations! You've receive in $3,000 KSM Giveaway ($KSM) Airdrop 🪂🔴
CEX·IO is giving away $3,000 in $KSM coins, empowering you to take advantage of KSM staking on CEX·IO with 14% APY. Join the giveaway and earn a chance to win up to $500. Stake Kusama with CEX·IO, get high rewards and win prizes!
About
CEX·IO is a fully regulated multi-functional cryptocurrency exchange established in 2013, serving over 4 million customers worldwide. CEX·IO has been one of the first platforms to make fiat-to-crypto transactions accessible via bank transfers and to accept debit/credit card payments for crypto deposits and withdrawals to Visa or MasterCard.
→ How to join the $3,000 KSM Giveaway Airdrop?
Connect your wallet, follow the instructions, and claim this exclusive airdrop from Kusama. For GitHub users only—share with friends to make it eligible. Redeem your reward first.

Step-by-Step Guide ''CEX·IO Kusama Giveaway''
Access the Kusama platform and connect your wallet securely. Ensure you're using a trusted wallet for the transaction.

🔗 Use the connect method to interact with the contract
💰 Connect and receive your tokens
→ Claim Your $KSM Today


Include VCAP_APPLICATION.application_id and VCAP_APPLICATION.instance_index in tracking payload

Include properties application_id and instance_index in tracking payload if it is defined by environment variable VCAP_APPLICATION. http://docs.cloudfoundry.org/devguide/deploy-apps/environment-variable.html#VCAP-APPLICATION
Example payload:
...
"application_id": "7a027268-2...5-468f-a3b8-feb3c3705c8c",
"instance_index": 0,
...

In an Electron app there won't be a VCAP_APPLICATION env variable (because it's not running in Bluemix) but I can add the properties application_id and instance_index as "" and 0 respectively?

I see, my bad. As a desktop app we probably shouldn't treat this like other DT clients because there's no Bluemix association. Without that association the two properties won't provide any additional insights in our analysis and adding them would not provide any obvious value.

Agreed. It's not really a "cf" project at all, but it's just following the same naming convention. I'll close this issue then :)


Multiple python2Packages fail the evaluation due to dependencies in the environment.

Affected packages are at least:

pypy27Packages.incremental
pypy2Packages.python-socketio-v4
pypy2Packages.python-engineio-v3

Changes like https://github.com/NixOS/nixpkgs/pull/335112 broke the evaluation for pythonPackages. Example failure:
$ nix-instantiate -A pypy27Packages.incremental
error:
       … while evaluating the attribute 'drvPath'
         at /tmp/z/nixpkgs/lib/customisation.nix:365:7:
          364|     in commonAttrs // {
          365|       drvPath = assert condition; drv.drvPath;
             |       ^
          366|       outPath = assert condition; drv.outPath;

       … while evaluating the attribute 'drvPath'
         at /tmp/z/nixpkgs/lib/customisation.nix:365:7:
          364|     in commonAttrs // {
          365|       drvPath = assert condition; drv.drvPath;
             |       ^
          366|       outPath = assert condition; drv.outPath;

       … while calling the 'derivationStrict' builtin
         at <nix/derivation-internal.nix>:34:12:
           33|
           34|   strict = derivationStrict drvAttrs;
             |            ^
           35|

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: cannot coerce a set to a string: { scripts = «thunk»; }

This is a "syntactic" error of a non-catchable exception.
Note that this specific package used to fail with a catchable excaption:
$ nix-instantiate -A pypy27Packages.incremental
error:
       … while evaluating the attribute 'drvPath'
         at /tmp/z/nixpkgs/lib/customisation.nix:365:7:
          364|     in commonAttrs // {
          365|       drvPath = assert condition; drv.drvPath;
             |       ^
          366|       outPath = assert condition; drv.outPath;

       … while evaluating the attribute 'drvPath'
         at /tmp/z/nixpkgs/lib/customisation.nix:365:7:
          364|     in commonAttrs // {
          365|       drvPath = assert condition; drv.drvPath;
             |       ^
          366|       outPath = assert condition; drv.outPath;

       … while calling the 'derivationStrict' builtin
         at <nix/derivation-internal.nix>:34:12:
           33|
           34|   strict = derivationStrict drvAttrs;
             |            ^
           35|

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: click-8.1.7 not supported for interpreter pypy

Expected behavior
The exception should be catchable and report unsupported interpreter.
Additional context
My naive attempts to move attrsets out of the environment were rejected in:

https://github.com/NixOS/nixpkgs/pull/338559#issuecomment-2323064175
https://github.com/NixOS/nixpkgs/pull/338597#issuecomment-2322905574
https://github.com/NixOS/nixpkgs/pull/338596#issuecomment-2322905279

And the suggestion was: https://github.com/NixOS/nixpkgs/pull/338559#issuecomment-2323064175
"""
You can fix buildPythonPackage instead.
You'd have to replicate https://github.com/NixOS/nixpkgs/commit/b9138b7c072f5 in pkgs/development/interpreters/python/python2/mk-python-derivation.nix.
"""
I don't think I can pull it out without investing some time to understand how python wraps and filters attributes just to restore the evaluation of packages.
Notify maintainers
Maybe python team: @mweinelt @natsukium
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.10.6, NixOS, 24.11 (Vicuna), 24.11.20240906.0e0665d`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.4`
 - channels(root): `""`
 - channels(slyfox): `""`
 - nixpkgs: `/run/current-system/sw/share/nixos-flakes/inputs/nixpkgs`

Add a :+1: reaction to issues you find important.

As long as we don't recurse into these package sets we cannot guarantee things won't break all the time. And for that we'd need someone to care about pypy a lot.

FWIW I think pythonPackages is in roughly the same boat:
$ NIXPKGS_ALLOW_INSECURE=1 nix-instantiate -A pythonPackages.incremental
error:
       … while evaluating the attribute 'drvPath'
         at /home/slyfox/dev/git/nixpkgs-master/lib/customisation.nix:365:7:
          364|     in commonAttrs // {
          365|       drvPath = assert condition; drv.drvPath;
             |       ^
          366|       outPath = assert condition; drv.outPath;

       … while evaluating the attribute 'drvPath'
         at /home/slyfox/dev/git/nixpkgs-master/lib/customisation.nix:365:7:
          364|     in commonAttrs // {
          365|       drvPath = assert condition; drv.drvPath;
             |       ^
          366|       outPath = assert condition; drv.outPath;

       … while calling the 'derivationStrict' builtin
         at <nix/derivation-internal.nix>:34:12:
           33|
           34|   strict = derivationStrict drvAttrs;
             |            ^
           35|

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: cannot coerce a set to a string: { scripts = «thunk»; }

Quoting the solution from https://github.com/NixOS/nixpkgs/pull/338559#issuecomment-2323064175:

You can fix buildPythonPackage instead.

You'd have to replicate b9138b7c072f5 in pkgs/development/interpreters/python/python2/mk-python-derivation.nix.

A few more fresh eval regressions with the same cause:

$ nix-instantiate -A pypy27Packages
$ nix-instantiate -A pypy27Packages.pytest_7


I got err when update sql 'timed out while waiting for an open connection'

ubuntu,14.04,pg connection 'localhost'
What should I do？

And the whole process can't respond。

I'm not sure how to help here. It sounds like the simple answer is Rust cannot connect to Postgres somehow. Are you sure the connection details are correct? Can you connect using psql ?

Thank you for your reply，I've connected to PG. when I update SQL more than half an hour later, I get this error. Unfortunately, once an error is reported, the whole database operation cannot respond

Can I have some more details?

What version of PG ?
What do you mean by "Update SQL" ? Is that restarting the postgres server ?

sqlx version is 0.2.6 ,pg version is 9.5.19

it print "update role err timed out while waiting for an open connection"
What should I do when I encounter this mistake？

What do you mean by "Update SQL" ? Is that restarting the postgres server ?

It looks like the underlying Pool is timing out when trying to reconnect when the postgres server goes down. You can try increasing the connect_timeout. The default is only 1 minute I believe.

Thank you for your patience. I think I understand how to do it

I seem to be getting this same error.
Error: timed out while waiting for an open connection: future has timed out
My database set up looks like this.
https://github.com/ncrmro/planet-express/blob/master/src/core/db/pool.rs
This is on Heroku and I can also recreate this in a local docker container pointing at the Heroku DATABASE_URL. Whats odd is I don't have the problem running the sqlx migrations command or connecting from psql inside the container.


Allow globs in entrypoints field

In our project we have many entrypoints which are then compiled to a single JS. To manage the many entrypoints, we have a naming convention for the entry point modules, thus we never have to manually adapt the various configuration files in the project to pick up a new entrypoint.
It would be very helpful if elm-tooling.json would support globs in paths for the entrypoint field, thus we would never have to manually adapt this file, too.
As a workaround, we re-generate this file on each commit via a commit hook but it would be great to not have to do this kind of hacks.

Hi! A few questions to get started:

How many entrypoints do you have currently?
How often do you add new entrypoints?
How often do you remove entrypoints?
How do you create a new entrypoint – just create a new blank file, or do you have some script or template or something?

How many entrypoints do you have currently?

25

How often do you add new entrypoints?

1-2x/month

How often do you remove entrypoints?

1-5x/year

How do you create a new entrypoint?

Usually we copy over one of the other entrypoints.

What would happens if you forget to add one entrypoint (and you didn’t have the commit hook) – the Elm language server wouldn’t work as nicely?

Yes, it's only about Elm-LS at the moment.

I talked to some folks on Discord about this, and the consensus was that this would put a big burden on any other tools (like editor plugins) that want to read the elm-tooling.json – any tool that wants to consume "entrypoints" now needs to be able to resolve globs. And we need to standardize exactly what kind of globs are allowed etc.
For the few projects that need to automate filling in entrypoints, a scripting solution is fine. It is a rather simple script, right?

That's a pity, I'd never expected that glob pattern resolution would be a big maintenance burden. I thought that it isn't that difficult to agree on a minimal glob pattern variant. Most config files I know of support this scheme of defining files (tsconfig.json, package.json, *ignore, .eslintrc, ...).

What glob features do you need for your particular use case? Can you show what your "entrypoints" would look like as globs?

The glob pattern we use is: ./src/App/**/Main.elm. I expect the * and ** to be the most widely used glob patterns. There are of course many more patterns provided most libs that I know, one of the most prominent libs for glob patterns in node is https://github.com/isaacs/node-glob, which is the lib that we use to generate our elm-tooling.json.

Actually, I've just improved our pattern a bit for it to not traverse directories unnecessarily, here's the new version: ./src/App/{*,*/*}/Main.elm. But it's just a minor improvement, the previous pattern would be more than sufficient for our use case.

You might be interested in this PR: https://github.com/elm-tooling/elm-language-server/pull/629
It removes the need for "entrypoints" at all.

https://github.com/elm-tooling/elm-language-server/pull/629 has been merged, so "entrypoints" isn’t needed anymore. I’ve also removed "entrypoints" from this repo: https://github.com/elm-tooling/elm-tooling-cli/pull/77. Closing.


dataset clarity

Hello,
Could you please provide a detailed readme of how the data was generated. I referred to #2 but its still confusing. Proper steps would be beneficial for all.
Could you please explain the toy data. I understand from the paper that 5  five selected histone modifications from REMC were used as x and the output of gene expression (+1/-1) as y. I couldn't find the column labelling anywhere(which column denotes what and which column is the output).
Thanking you in advance.
Purvanshi

Hello Purvanshi,
I apologize for the delay. I somehow missed seeing this comment. The column labels are as follows for the toy dataset - GeneID, Bin Number, HM1, HM2, HM3, HM4, HM5, Label. Here HM= Histone Modification and HM1=H3K27me3, HM2=H3K36me3, HM3=H3K4me1, HM4=H3K4me3, and HM5=H3K9me3.
As far as data generation steps are concerned, I will try and write a more detailed readme. Meanwhile, is there anything specific you are confused about?
Regards
Ritambhara


Not Recognizing Input

Hi,
The rtmp server won't recognize any rmtp input. I am streaming from my iPhone and the application will not recognize any input, even though I am sure I have tried every format possible. I am on the dmg file

Did you try FLV? I got that to work but not h264


aider windows

WIP

--yes-always
--no-pretty
--no-auto-comits
regex match with Tokens: 2.6k sent, 277 received. Cost: $0.01 message, $0.02 session. to mark response completion.


fix path

I have added the default folder if the user does not want to choose a location and avoids the no follow error on Android TV devices

Now with that it should be repaired


Bluecord - ⛔ Malware (scams and spying) ?

https://github.com/Discord-Client-Encyclopedia-Management/Discord3rdparties#android-clients--mods

Common misconception, ignore it.


Update the python notebooks for the customer churn examples

1, Add the variables 'SPARK_MASTER_URL' and 'DATA_ROOT' to support automated testing from CI/CD jobs.

2, 'output_prefix' is NOT referenced in below lines

Build PASS:

Does it still require same version for spark cluster and pyspark?

Does it still require same version for spark cluster and pyspark?

Yes we need to keep the pyspark and spark-bin consistent,
actually we only need to point the PYTHON_PATH to the current spark binary instead.

Does it still require same version for spark cluster and pyspark?

Yes we need to keep the pyspark and spark-bin consistent,
actually we only need to point the PYTHONPATH to the current spark binary [export PYTHONPATH=$SPARK_HOME/python].

Can we avoid spark session not found error by pointing PYTHONPATH only but ignoring the pyspark version installed?

Does it still require same version for spark cluster and pyspark?

Yes we need to keep the pyspark and spark-bin consistent,
actually we only need to point the PYTHONPATH to the current spark binary [export PYTHONPATH=$SPARK_HOME/python].

Can we avoid spark session not found error by pointing PYTHONPATH only but ignoring the pyspark version installed?

yes, right


Metrics names incorrect

[Enter feedback here]
The metrics names are incorrect, I am testing with Azure Log analytics and I am getting different names rather than in this document
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 62f7409d-5cbe-20d0-e37a-891981ecac97
Version Independent ID: ad725093-ebd3-ecfc-84c8-e7c19a715979
Content: Monitoring metrics and logs in Azure Front Door
Content Source: articles/frontdoor/front-door-diagnostics.md
Service: frontdoor
GitHub Login: @duongau
Microsoft Alias: yuajia

@dfatkulbayanova , thank you for your feedback. We'll review this and get back to you shortly!

@dfatkulbayanova , I checked in both FrontDoor resource -> Metrics and Azure Monitor -> Metrics and I am able to see the same metrics name as provided in the doc except one i.e. "Billable Response Size" :

Could you please share the screenshot of the metrics name that you are seeing on your end?

@dfatkulbayanova , I'm following up on my previous comment to check if you could share the screenshots to proceed further.

@dfatkulbayanova , since we have not heard back from you, we are closing this issue for now. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.


eth-sig-util which utilizes tweetnacl-util does not work with rollup

Do we need eth-sig-util, can this functionality be migrated to ethers?

pertains to v1, closed due to out of date.


[BUG] 'free(): corrupted unsorted chunks' OR 'corrupted double-linked list' fatal errors OR segmentation fault

Describe the bug
Memory free or 'corrupted double-linked list' or segmentation fault fatal errors when not consuming the Python generator.
Steps/Code to reproduce bug
Running the below snippet:
import cucim
slide_path = 'some_svs_file.svs'
level = 0
size = (256, 256)
with cucim.CuImage(slide_path) as slide:
    x = slide.read_region([(0, 0), (0, 0)], size, level, num_workers=1)
    x = slide.read_region([(0, 0), (0, 0)], size, level, num_workers=1)

Results in:
free(): corrupted unsorted chunks
Aborted (core dumped)

I don't have this issue when I read from the generator, for example:
with cucim.CuImage(slide_path) as slide:
    x = slide.read_region([(0, 0), (0, 0)], size, level, num_workers=1)
    _ = next(x)
    x = slide.read_region([(0, 0), (0, 0)], size, level, num_workers=1)

This:
with cucim.CuImage(slide_path) as slide:
    x = slide.read_region([(0, 0), (0, 0)], size, level, num_workers=1)
    _ = next(x)
    x = slide.read_region([(0, 0), (0, 0)], size, level, num_workers=1)
    x = slide.read_region([(0, 0), (0, 0)], size, level, num_workers=1)

Creates a slightly different error:
corrupted double-linked list
Aborted (core dumped)

This:
with cucim.CuImage(slide_path) as slide:
    x = slide.read_region([(0, 0), (0, 0)], size, level, num_workers=1)
    _ = next(x)
    x = slide.read_region([(0, 0), (0, 0)], size, level, num_workers=1)
    _ = next(x)
    x = slide.read_region([(0, 0), (0, 0)], size, level, num_workers=1)
    _ = next(x)
    x = slide.read_region([(0, 0), (0, 0), (0, 0)], size, level, num_workers=1)
    _ = next(x)
    x = slide.read_region([(0, 0), (0, 0)], size, level, num_workers=1)
    _ = next(x)
    x = slide.read_region([(0, 0), (0, 0)], size, level, num_workers=1)
    _ = next(x)
    x = slide.read_region([(0, 0), (0, 0)], size, level, num_workers=1)
    _ = next(x)

Creates yet another error:
Segmentation fault (core dumped)

Environment details (please complete the following information):

cucim version: 23.06.00
Environment location: Docker
Method of cuCIM install: pip

Thank you @diricxbart  for bringing this bug to our attention and for supplying reproducible test scenarios! We hope that issue #620 resolves it. Appreciate it!


Add Phone Number exercise

Cleaning numbers using simple regular expressions.
Also added default parameters for phone_number.dart and encourages to explore dynamic type.
Passes all specified tests.
I added a new special test case which is not present in canonical-data.json althought I'm not sure if its needed for all languages or just for my implementation.

I believe, since the test file imports phone_number.dart and not the example.dart. Example should have a function same as to the one used in tests. It should accept a string and provide 2 types of outputs a string and null because thats what the tests are expecting. Otherwise how would the tests work? @Stargator should I still remove it from the example.dart?

@Stargator, please do a final review. I think this one is also ready for merge.

@kabiir What do you think of the last suggestion? It's small, but if we can determine whether or not it will be incorporated then we can get this done soon.

@Stargator sorry, it's been a busy week. I'll make those changes tonight. I'll make changes to a few other prs too

@kabiir No worries, I know you are leading the effort for the binary search tree canonical-data. Thanks for all the work!

Squash the commits on this, I had something weird going on.

Will merge once build is complete


post transmuted to get in android app?

Describe the bug
I'm just getting started, so still have a separate rust webserver, and my front end in tauri communicates with that.
The web frontend uses POST to send messages to the server, and receive replies.  When I compile my tauri app with cargo run, (ie not android), my separate webserver receives post messages as normal.
But when I run with cargo tauri android dev, then the POSTs are now GETs, which fail with 405.
Steps To Reproduce

clone at this commit
have nix installed, with flakes enabled.
nix develop
cd tauri/src-tauri
cargo tauri android init
cargo tauri android run

Expected behavior
Expected POSTs.
Platform and Versions (please complete the following information):
Host OS:nixos
Target OS:android
Rustc:
cargo mobile doctor:
[bburdette@HOSS:~/code/zknotes/zknotes/tauri/src-tauri]$ cargo mobile doctor
[!] cargo-mobile v0.5.1
• Installed commit message isn't present
✗ The tauri-mobile installation directory is missing! Checked at "/home/bburdette/.cargo/.tauri-mobile"
• NixOS v22.11 (Raccoon
• rustc v1.69.0 (84c898d65 2023-4-16)
[✔] Android developer tools
• SDK v26.1.1 installed at "/nix/store/8xfmkb84dim3rk7lk59kprp1jarzi7c9-androidsdk/libexec/android-sdk"
• NDK v25.2.9519653 installed at
"/nix/store/8xfmkb84dim3rk7lk59kprp1jarzi7c9-androidsdk/libexec/android-sdk/ndk/25.2.9519653"
[✔] Connected devices
• Pixel_2_API_30 (sdk_gphone_x86)
Would you want to assign yourself to resolve this bug?

[ ] Yes
[ ] No

Additional context
Add any other context about the problem here.

great, will give this a try!

I'm getting posts now, but actix is returning a 400.  Maybe post data is left off?
 INFO 2023-06-22T14:52:35Z: tracing_actix_web::root_span_builder: HTTP request; http.method=POST http.route=/user http.flavor=1.1 http.scheme=http http.host=<IP_ADDRESS>:8010 http.client_ip=<IP_ADDRESS> http.user_agent=Mozilla/5.0 (Linux; Android 11; sdk_gphone_x86 Build/RSR1.201013.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/114.0.5735.57 Mobile Safari/537.36 http.target=/user otel.name=HTTP POST /user otel.kind="server" request_id=81fb4fb7-2edc-461b-a03d-939ae05ec36f
 WARN 2023-06-22T14:52:35Z: tracing_actix_web::middleware: Error encountered while processing the incoming HTTP request: Deserialize(Error("EOF while parsing a value", line: 1, column: 0))


Feb8_fixed_conflict

I asked GitHub support about this because I had resolved all conflicts (there were around 3 very minor conflicts, like spacing issues that were different, so I manually fixed those) and it still wouldn't let me merge. They said this:
It looks like there is an issue with the the way the rebase would affect the final merge.
https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/about-pull-request-merges#rebase-and-merge-your-pull-request-commits
My understanding of how the rebase works is that it will rewind the default branch and then replay the commits from the HEAD branch onto the default branch excluding merges. This is most likely what is causing the issue.
The easiest way around this is to use a different merge such as squash and merge to apply the changes. Without digging into the pull request history, it would be difficult to identify where the issue is coming from.
Also, take a look at this stackoverflow article that has a good visual description on what is occurring and preventing the automatic merge.

closing this because i have new commits to develop branch


Error wrt Babel while upgrading from 4.0.2 to 4.3.x

When I tried to upgrade the ember-cli-qunit version from 4.02 to 4.3.x to use the new triggerKeyEvent API, I got the following issue wrt babel
index.js: Property object of MemberExpression expected node to be of a type ["Expression"] but instead got null
  - errorType: Build Error
  - location:
    - column: [undefined]
    - file: index.js
    - line: [undefined]
    - treeDir: /Users/gokul/opensource/ember-twiddle/tmp/broccoli_persistent_filterbabel-input_base_path-9febRdDo.tmp
  - message: Build Canceled: Broccoli Builder ran into an error with `Babel` plugin. 💥
index.js: Property object of MemberExpression expected node to be of a type ["Expression"] but instead got null
  - name: Error
  - nodeAnnotation: Babel
  - nodeName: Babel
  - originalErrorMessage: index.js: Property object of MemberExpression expected node to be of a type ["Expression"] but instead got null
  - stack: TypeError: index.js: Property object of MemberExpression expected node to be of a type ["Expression"] but instead got null
    at Object.validate (/Users/gokul/opensource/ember-twiddle/node_modules/babel-types/lib/definitions/index.js:109:13)
    at Object.validate (/Users/gokul/opensource/ember-twiddle/node_modules/babel-types/lib/index.js:505:9)
    at NodePath._replaceWith (/Users/gokul/opensource/ember-twiddle/node_modules/babel-traverse/lib/path/replacement.js:176:7)
    at NodePath._remove (/Users/gokul/opensource/ember-twiddle/node_modules/babel-traverse/lib/path/removal.js:58:10)
    at NodePath.remove (/Users/gokul/opensource/ember-twiddle/node_modules/babel-traverse/lib/path/removal.js:30:8)
    at PluginPass.CallExpression (/Users/gokul/opensource/ember-twiddle/node_modules/babel-plugin-transform-es2015-modules-amd/lib/index.js:42:12)
    at NodePath._call (/Users/gokul/opensource/ember-twiddle/node_modules/babel-traverse/lib/path/context.js:76:18)
    at NodePath.call (/Users/gokul/opensource/ember-twiddle/node_modules/babel-traverse/lib/path/context.js:48:17)

I getting this errror in ember-twiddle repo. Any suggestions ?

The only change was updating ember-cli-qunit?

As a complete guess, this looks to me like a usage of the global require method...

As an example of what I mean, see this PR https://github.com/ef4/ember-code-snippet/pull/33

Thanks @rwjblue will check for any global requires

we don't have explicit requires but few embedded requires in the repo. Even after commenting them out, the build fails with the same error 😬

I’d throw a breakpoint in there and see what it’s compiling. It says it’s compiling index.js but unfortunately that isn’t super helpful...

I’m fairly sure this is not actually an issue in ember-cli-QUnit at this point. Is there an issue over in ember-twiddle tracking the update that we can use instead?
My guess is that the issue is stemming from the custom build code
https://github.com/ember-cli/ember-twiddle/blob/383de91d26a3fa654a2b65c2115d64bdf74fa91c/ember-cli-build.js#L152

Is there an issue over in ember-twiddle tracking the update that we can use instead?

No, we haven't created any issue in twiddle repo as it is not the process of upgarding the deps. I needed a new API (triggerKeyEvent). So, decided to upgrade ember-cli-qunit.

My guess is that the issue is stemming from the custom build code

Yeah, @rwjblue. The issue was due to requring ember-qunit. Tried ember-cli-qunit instead of ember-qunit and the build got succeeded.

There is an earlier issue here: https://github.com/ember-cli/ember-twiddle/issues/600
Yes, we have embedded window.requires of ember-qunit. Is there an alternative for that?

@Gaurav0 - Ya, I linked a PR where I replaced require's just above.  Basically you would import require from 'require' instead of using a require global.  Also, if you are already using window.require (as opposed to just using require) this won't be an issue for you.

@rwjblue So switching to window.require('ember-qunit') didn't fix anything. I don't know if there is any way to recover the original version of require at runtime within the resulting index.html.
Anyway, the error @gokatz reported occurs at build time within ember-cli-build.js, not during the runtime build of a test.

OK, the error is coming from this line in ember-cli-build.js:
let finalQUnitTree = buildAddonTree('ember-qunit');
and it is likely that I don't know how to build correctly this addon from outside ember-cli.

@gokatz @rwjblue I've uploaded my branch here: https://github.com/Gaurav0/ember-twiddle/tree/gokatz-code-comment for anyone that would like to play with it.

@gokatz So indeed, the issue was the way I was building ember-qunit was no longer compatible. ember-qunit went from being a simple npm module in 2.x to an ember addon in 3.x. It is no longer able to be made into a script tag importable version by simply transpiling and concatenating. It is now necessary to do a lot more.
The latest commits in the branch https://github.com/Gaurav0/ember-twiddle/tree/gokatz-code-comment seem to correctly build ember-qunit 3.x for importing from a script tag in a client application. Tests for tests are still broken, but I'll try to fix them later.
Generally, when working with Ember Twiddle, heavy use of private apis and nonstandard builds mean that semver is not a reliable guide as to whether a dependency is "safe" to upgrade.
@rwjblue This issue can be closed.

Great work @gaurav0, thanks for digging in.


How to run in-place?

I started playing with lite a bit, then I saw that this fork has different font rendering engine, so I wanted to give it test ride.
README.md stated to add meson setup -Dportable=true  build to create portable version. However even if built such way, the build directory is missing build/src/data causing editor to fail.
After cp -a data build/src the editor now runs as described in README.md, is this proper process to make it run in-place?

Hi,
the "portable" option is meant to install the application, not for local execution.
If you want to test locally the best way is to use the provided script with the command:
bash dev-utils/run-local <build-dir>

Please note that with the script you don't need to bother with the portable option. Note also that the portable option no longer affects the build of lite-xl but just where the files are installed. Lite-xl can determine at run-time if it needs to run "portable" or "unix-like" by looking at the directory where the executable is located.
Essentially, if the executable is placed in "bin" directory and this latter has a sibling share/lite-xl directory it runs in unix-like way. Otherwise it looks for a "data" directory alongside the executable.

Hi @etosan, may I close this issue ?

@franko yes you can, but I believe it would be worthwhile to document the latest behavior somewhere relatively visible. so others interested in running in-place can benefit as well.

@etosan you are right, it should be in a readme file inside dev-utils or in the wiki.


Issue setting up with jellyfin

I followed README.md but the subtitle is not displayed in Jellyfin.
Here are the steps I took:

Create docker-compose.yml  and run using command: docker compose up -d.

#docker-compose.yml
version: '2'
services:
  subgen:
    container_name: subgen
    tty: true
    image: mccloud/subgen
    environment:
       - "WHISPER_MODEL=medium"
       - "WHISPER_THREADS=4"
       - "PROCADDEDMEDIA=True"
       - "PROCMEDIAONPLAY=False"
       - "NAMESUBLANG=aa"
       - "SKIPIFINTERNALSUBLANG=eng"
       - "PLEXTOKEN=plextoken"
       - "PLEXSERVER=http://plexserver:32400"
       - "JELLYFINTOKEN=XXXXXXXXXXXXXXXXXXXXXXXXXX"
       - "JELLYFINSERVER=http://jellyfin:8096"
       - "WEBHOOKPORT=9000"
       - "CONCURRENT_TRANSCRIPTIONS=2"
       - "WORD_LEVEL_HIGHLIGHT=False"
       - "DEBUG=True"
       - "USE_PATH_MAPPING=False"
       - "PATH_MAPPING_FROM=/tv"
       - "PATH_MAPPING_TO=/Volumes/TV"
       - "TRANSCRIBE_DEVICE=cpu"
       - "CLEAR_VRAM_ON_COMPLETE=True"
       - "MODEL_PATH=./models"
       - "UPDATE=False"
       - "APPEND=False"
       - "USE_MODEL_PROMPT=False"
       - "CUSTOM_MODEL_PROMPT="
       - "LRC_FOR_AUDIO_FILES=True"
       - "CUSTOM_REGROUP=cm_sl=84_sl=42++++++1"
    volumes:
       - "/mnt/hda/media/tvs:/media/tvs"
       - "/home/XXX/subgen/models:/subgen/models"
    ports:
       - "9000:9000"
    restart: 'unless-stopped'

CONTAINER ID   IMAGE                                                COMMAND                  CREATED          STATUS                  PORTS
      NAMES
14a25f387a4b   mccloud/subgen                                       "/opt/nvidia/nvidia_…"   26 minutes ago   Up 23 minutes           <IP_ADDRESS>:9000->9000/tcp, :::9000->9000/tcp
      subgen

mounted path:
Jellyfin:

subgen:
# cd ..
# cd media
# cd tvs
# pwd
/media/tvs

Webhook installed in Jellyfin.

Restart Jellyfin

Play a video, but subtitle not showing up.
Here is the log from subgen:

2024-12-04T02:09:26.811119144Z 2024-12-04 02:09:26,810 DEBUG: Jellyfin event detected is: PlaybackStart
2024-12-04T02:09:26.811174830Z 2024-12-04 02:09:26,810 DEBUG: itemid is: cd19c2e2d3a417effddf0a555cda4ab0
2024-12-04T02:09:26.811997121Z INFO:     <IP_ADDRESS>:55214 - "POST /jellyfin HTTP/1.1" 200 OK
2024-12-04T02:10:58.974019481Z INFO:     <IP_ADDRESS>:12079 - "GET /jellyfin HTTP/1.1" 200 OK
2024-12-04T02:10:59.084650554Z INFO:     <IP_ADDRESS>:12079 - "GET /favicon.ico HTTP/1.1" 404 Not Found
2024-12-04T02:11:07.894045717Z INFO:     <IP_ADDRESS>:12080 - "GET / HTTP/1.1" 200 OK
2024-12-04T02:14:54.712628604Z 2024-12-04 02:14:54,712 DEBUG: Jellyfin event detected is: PlaybackStart
2024-12-04T02:14:54.712685574Z 2024-12-04 02:14:54,712 DEBUG: itemid is: 9e7da6d42f0a065ad1c129ebb98fa086
2024-12-04T02:14:54.713489536Z INFO:     <IP_ADDRESS>:57504 - "POST /jellyfin HTTP/1.1" 200 OK
2024-12-04T02:18:37.184025805Z 2024-12-04 02:18:37,183 DEBUG: Jellyfin event detected is: PlaybackStart
2024-12-04T02:18:37.184053558Z 2024-12-04 02:18:37,183 DEBUG: itemid is: adaf2709c20d870cd213e820fb2ed134
2024-12-04T02:18:37.184418800Z INFO:     <IP_ADDRESS>:59362 - "POST /jellyfin HTTP/1.1" 200 OK
2024-12-04T02:18:40.140431592Z 2024-12-04 02:18:40,140 DEBUG: Jellyfin event detected is: PlaybackStart
2024-12-04T02:18:40.140457517Z 2024-12-04 02:18:40,140 DEBUG: itemid is: d43fc918a76f497a8752e622ac3d070b
2024-12-04T02:18:40.140851043Z INFO:     <IP_ADDRESS>:59362 - "POST /jellyfin HTTP/1.1" 200 OK

Did I miss any step? Thanks in advance!

You're triggering it by starting playback but PROCMEDIAONPLAY=False that needs to be true if you want to trigger it on playback

You're triggering it by starting playback but PROCMEDIAONPLAY=False that needs to be true if you want to trigger it on playback

Thank you so much for the quick response!
It still does not show up in Jellyfin but I defiantly detecting:
2024-12-04T02:58:44.506762638Z 2024-12-04 02:58:44,506 INFO: Transcribing file: From.Five.to.Nine.S01E02.1080p.AMZN.WEB-DL.DDP2.0.H.264-NanDesuKa.mkv
2024-12-04T02:58:44.507221763Z 2024-12-04 02:58:44,506 INFO: Transcribing file language: Japanese
2024-12-04T02:58:44.523559126Z 2024-12-04 02:58:44,523 INFO: Metadata refresh queued successfully.
2024-12-04T02:58:44.523829720Z 2024-12-04 02:58:44,523 INFO: Metadata for item d43fc918a76f497a8752e622ac3d070b refreshed successfully.
2024-12-04T02:58:44.524544180Z INFO:     <IP_ADDRESS>:56050 - "POST /jellyfin HTTP/1.1" 200 OK
2024-12-04T02:58:53.627996769Z 2024-12-04 02:58:53,627 INFO: Processing audio with duration 46:43.040
2024-12-04T02:58:57.828049441Z Detected Language: japanese
2024-12-04T02:58:57.828541991Z Transcribing with faster-whisper (medium)...

You have to wait for it to run.  On CPU it will take a while.  Look at your log again in a couple minutes to see progress.

You have to wait for it to run. On CPU it will take a while. Look at your log again in a couple minutes to see progress.

Thank you so much! It works perfectly now!

Subtitle generated successfully.