Getting bad_alloc in allocateTensors

What I've done:
I've picked up one of iOS Tensorflow examples and tried to use my .tflite model
What I expected:
Loaded model just like in the example.
What I've got:
uncaught exception of type std::bad_alloc and here are the logs with it:
    2019-06-26 15:25:45.414765+0300 Celly[5485:1152189] Initialized TensorFlow Lite runtime.
    Celly(5485,0x1006aebc0) malloc: can't allocate region
    *** mach_vm_map(size=1800945664) failed (error code=3)
    Celly(5485,0x1006aebc0) malloc: *** set a breakpoint in malloc_error_break to debug
    libc++abi.dylib: terminating with uncaught exception of type std::bad_alloc: std::bad_alloc

Is there any known workaround or help from documentation or so? Is this problem in the model, so it needs to be optimised or configured appropriately?

It seems that the issue is coming from the model, so it needs to be optimized. I managed to avoid out of memory crash by increasing the number of threads the tensorflow interpreter could use.

please follow this link for the clarification of your issue, I hope it helps. Feel free to open new issue if the issue still persists. Thanks!


jruby: use a modern c14n library

What problem is this PR intended to solve?
See #2410 for a description of an encoding problem in the current JRuby implementation's C14n code. This PR migrates to use a modern, supported version of santuario:xmlsec c14n which addresses some encoding problems.

Good: This addresses some encoding problems, allows us to delete code, and gets us on a supported version of the library.
Meh: Some new dependencies being pulled in which we'll need to keep up-to-date, and SLF4J warnings are now appearing
Bad: This breaks the current Document#canonicalize API which allows an optional block to control what nodes are serialized.

The new dependencies are:

require_jar 'commons-codec', 'commons-codec', '1.15'
require_jar 'com.fasterxml.woodstox', 'woodstox-core', '6.2.6'
require_jar 'org.apache.santuario', 'xmlsec', '2.3.1'
require_jar 'org.slf4j', 'slf4j-api', '1.7.36'
require_jar 'org.codehaus.woodstox', 'stax2-api', '4.2.1'
require_jar 'jakarta.xml.bind', 'jakarta.xml.bind-api', '2.3.3'
require_jar 'jakarta.activation', 'jakarta.activation-api', '1.2.2'

The SLF4J warnings emitted are:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

What to do with this branch? I think I want to remove the block parameter from the JRuby API, because:

it didn't previously work the same as CRuby/libxml2 (see commit on this branch that introduces block test coverage that fails)
with the mainline c14n library we can't hack it to support even the broken callback semantics and would be forced to implement something complicated ourselves

Given I'm not confident that C14n is widely-used anyway, removing a half-broken feature like this on JRuby doesn't seem like a controversial decision.
So, questions to the JRuby contributors:

Q1: Would it be a reasonable decision to drop the #canonicalize block param on JRuby?
Q2: Are we OK with all these new dependencies getting pulled in?
Q3: There's some SLF4J warning messages being emitted at runtime that I'm not sure whether or how to quash. Any ideas?

cc @jvshahid @headius @kares @mkristian
Have you included adequate test coverage?
Yarp.
Does this change affect the behavior of either the C or the Java implementations?
The Java implementation is becoming more correct, but a potential breaking change is proposed.

ad Q2: my take on this is that is totally fine to include mentioned jars the way your wrote it
ad Q3: the warning means that there is no concrete slf4j logger configured which is OK for a library IMO

I chatted with @tenderlove yesterday about Q1 and we both think it would be acceptable to remove the block param on JRuby given that the current implementation is not functioning quite right, and use of the c14n API appears to be rare.

same as Kristian, looks fine - for a Java library the SLF4J warnings are usually fine.
for a Ruby gem not sure - might confuse users.
adding a noop impl such as the slf4j-nop.jar would avoid the warnings.

and as usual great work Mike! :+1: thanks for caring about JRuby :sparkling_heart:

Hi

Rebase off current main

Reading this code with fresh eyes, I'm not happy with the breaking change in the canonicalize API and want to revisit that.

I'm still working on the jruby port for #2888, but I expect it to pull in santuario:xmlsec for jruby xmlsec purposes (which is theoretically independent of changing the canonicalization otherwise used in nokogiri, but is relevant from a adding dependencies perspective)

@maths22 I appreciate you making the attempt to get xmlsec to work in JRuby, but I really do think the best first change we can make regarding xmlsec is simply to import the C code and tests (this is what we did with Nokogumbo and libgumbo, for example) and we can tackle introducing JRuby support in a later PR.


Create .vcs from contact

Add button to contact view to download a .vcs file to send the contact information by email.

closed


[Bug] Fetching GitLab Projects API results in

Describe the bug
I am trying to setup a really simple HTTP data source to query the GitLab Projects API.
Steps to reproduce
Provide steps to reproduce the issue.

Configure a Infinity Data Source with a valid API key via the Bearer Authentication. (same error if you configure no auth)
Add https://gitlab.com as an allowed host
Click "Explore data"
Use Type "JSON", Parser "Default", Source "URL", Format "Table"
GET Request against "https://gitlab.com/api/v4/projects"

Screenshots

Version Details:

Grafana version: - (Grafana Cloud)
Plugin version: v2.11.0

I am also having this same exact issue.


Replace Hashid with Expose

https://github.com/dereuromark/cakephp-expose

Are we able to proceed?


[FEATURE] Update group settings

Hi!
First of all thanks for this great tool! Really love it!
I noticed that the EntraID group setting doesnt update when running a IntuneCD-update.
I changed some assigned groups to dynamic, when updating through IntuneCD the target groups didnt update to dynamic.
In the report.json the groups do have the dynamicmembership grouptype, also the membershiprule is filled with the right query's,

Am I understanding right that you'd want groups configurations to update, like dynamic membership rules when running an update?

Yes indeed

Thinking about where a feature like that would fit in, in my opinion it would be part of the Entra update set rather than Intune. The Intune update is only checking the existence of the group and creates it if needed but it's not keeping track of changes to the group.


Freewall and infinite scroll

Hi
I'm trying to use the freewall script with paul irish's infintie scroll script. Unfortunately I can't get it working.
Did anybody do this in the past and can give me some help?
Right now, the scrolling will work, but the freewall won't refresh and rearange the layout. The new elements will append like the freewall script isn't working.

@microcipcip I'm not a developer by profession. Thanks a lot for your code above. It works like a charm. I have one issue if you could help me out. The new items that appear overlap the old ones before rearranging to the right place. How do I hide them until rearranged? I would really appreciate your help because I'm stuck on this for a while now.
@petrbela @kombai If you guys could chip in it would be a great help. At this point I'm helpless.

@exxed sorry it has been one year since I last used the infinite scroll plugin, I cannot remember the exact configuration, but if you are having problems displaying the objects you may find it useful disabling the animation, or maybe you could avoid the problem by setting opacity 0 to the new elements and set it back to 1 with a callback, when everything is ready.
If you still have problems you should create a demo page of your issue with jsfiddle or any other online playground tool. Good luck :)

@microcipcip I was hoping you wouldn't say that since the post was so old. I'm in a big fix since I'm not a developer and still learning. I would love to set the opacity to 0 before rearranging and back to 1 when the rearranging is finished but I don't know how to do that with your code above.
Any help that you can provide would be a big help for me.

I think it may be as simple as adding a "hide" class to each gallery element in the other pages and then remove the class inside the ias script, for example:
CSS...
.hide {opacity: 0; transition: all .3s ease-in-out;}

JS...
ias.on('rendered', function(items) {
    $('.gallery').imagesLoaded( function() {
           $('.gallery').removeClass('hide');
            wall.fitWidth();
    });
});

But I can't help you anymore because I don't have my old project available, I can't remember how I did it exactly after one year, and I can't help you without a demo, good luck :)

Trust me you helped more than you think. Thanks a ton! The luck was all I needed. Got it working. Pasting the code here incase someone else needs help.
ias.on('render', function(items) {
	$(items).addClass('hide');
    });

// display ajax loaded images
ias.on('rendered', function(items) {
$('#freewall').imagesLoaded( function() {
	$(items).removeClass('hide');
		wall.fitWidth();

    });
    });

Good to know that you got it sorted! :)


JumpTo offset zero for scroller controller shouldn't trigger onRefresh of RefreshIndicator

Steps to Reproduce
run the following code:
import 'package:flutter/material.dart';

void main() => runApp(new MyApp());

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return new MaterialApp(
      home: new MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  MyHomePage({Key key}) : super(key: key);

  final ScrollController _controller = new ScrollController();

  Future _incrementalJumpTo() async {
    double offset = 5000;
    for(var i = 0; i < 10; i++) {
      offset -= 1000;
      if (offset < 0)
        offset = 0;

      print('offset: $offset');
      _controller.jumpTo(offset);
    }
  }

  @override
  Widget build(BuildContext context) {
    return new Scaffold(
      appBar: new AppBar(
        // Here we take the value from the MyHomePage object that was created by
        // the App.build method, and use it to set our appbar title.
        title: new Text('Bug'),
      ),
      body: RefreshIndicator(child: new ListView(
        controller: _controller,
        children: <Widget>[
          Container(
            height: 1000,
          )
        ],
      ), onRefresh: () {
        print('onRefresh');
        return new Future.value();
      }),
      floatingActionButton: new FloatingActionButton(
        onPressed: _incrementalJumpTo,
        child: new Icon(Icons.add),
      ),
    );
  }
}

press + button to trigger the scrolling

this issue is when we trigger jumpTo() with following logged values, the multiple times zero assignment will cause "onRefresh" log which is printed in onRefresh callback of RefreshIndicator widget.
BTW, this is only a issue in iOS. so there may be having some bug in bouncing.
Thanks Flutter team.
Logs
Performing hot restart...
Syncing files to device iPhone Xs...
Restarted application in 1,782ms.
flutter: offset: 4000.0
flutter: offset: 3000.0
flutter: offset: 2000.0
flutter: offset: 1000.0
flutter: offset: 0.0
flutter: offset: 0.0
flutter: offset: 0.0
flutter: offset: 0.0
flutter: offset: 0.0
flutter: offset: 0.0
flutter: onRefresh

$ flutter analyze
Analyzing flutter...
No issues found! (ran in 5.5s)

$ flutter doctor -v
[✓] Flutter (Channel master, v1.1.4, on Mac OS X 10.14.1 18B75, locale en-TW)
    • Flutter version 1.1.4 at /Users/jerry/Documents/project/flutter
    • Framework revision 7a88fbc5fd (4 weeks ago), 2018-12-20 11:38:07 -0800
    • Engine revision dbdb5e6f8c
    • Dart version 2.2.0 (build 2.2.0-dev.1.1 f9ebf21297)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/jerry/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling
      support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_152-release-1136-b06)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    • ios-deploy 1.9.4
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 31.1.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build
      1.8.0_152-release-1136-b06)

[✓] IntelliJ IDEA Community Edition (version 2018.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 31.3.4
    • Dart plugin version 183.4886.3

[✓] Connected device (2 available)
    • JWC       • 00008020-000564662632002E            • ios • iOS 12.1.2
    • iPhone Xs • CB88BCF2-BD40-4BC7-A8BD-D7738C55D22B • ios • iOS 12.1
      (simulator)

• No issues found!

I am having the same issue. Any updates on it?

Persists with current master 1.21.0-6.0.pre.129

flutter doctor -v
[✓] Flutter (Channel master, 1.21.0-6.0.pre.129, on Mac OS X 10.15.6 19G73, locale en-GB)
    • Flutter version 1.21.0-6.0.pre.129 at /Users/nevercode/dev/flutter
    • Framework revision 30aef0a3b9 (14 hours ago), 2020-07-30 14:20:21 -0700
    • Engine revision a9910e409c
    • Dart version 2.10.0 (build 2.10.0-1.0.dev 24c7666def)

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

[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.6, Build version 11E708
    • CocoaPods version 1.9.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

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

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

[✓] Connected device (6 available)
    • Redmi Note 7 (mobile)       • 6345c469                                 • android-arm64  • Android 9 (API 28)
    • Nevercode’s iPhone (mobile) • b668e524315069f3db3661ac11ff1f66afafebdb • ios            • iOS 13.6
    • iPhone 11 Pro Max (mobile)  • 55C8466B-5367-492B-8EFE-EC45D980571F     • ios            • com.apple.CoreSimulator.SimRuntime.iOS-13-6 (simulator)
    • macOS (desktop)             • macos                                    • darwin-x64     • Mac OS X 10.15.6 19G73
    • Web Server (web)            • web-server                               • web-javascript • Flutter Tools
    • Chrome (web)                • chrome                                   • web-javascript • Google Chrome 84.0.4147.105

• No issues found!

for now the only solution I have come up is controller.jumpTo(0.5) to avoid reaching the initial position, hence avoiding the refresh, but still there should be a way to tell the RefreshIndicator Widget (maybe using notificationPredicate that it was not a user change)

This was fixed by https://github.com/flutter/flutter/pull/75764

Closing per my previous comment.


Remote Denial of Service

Is there a private disclosure method for security issues found within wakaama?
I believed I have a remote exploit capable of crashing the wakaama client/server at will.

Hi,
There are no "official"method for this.
You can send me an email at david [dot] navarro at ioterop.com
Regards,

there is a "official" method: https://eclipse.org/security/

Fixed


Inverted stylegan

I trained stylegan for my data. How can I get inverted stylegan? Could you add the scripts for learning inverted stylegan to the README?

Unfortunately, this repo only supports inference. Please use the tensorflow version for the encoder training.


add: codecov

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@505b6aa). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Current head 944b26a differs from pull request most recent head 4f376a0. Consider uploading reports for the commit 4f376a0 to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff            @@
##             master      #28   +/-   ##
=========================================
  Coverage          ?   35.85%
  Complexity        ?      161
=========================================
  Files             ?       36
  Lines             ?      661
  Branches          ?        0
=========================================
  Hits              ?      237
  Misses            ?      424
  Partials          ?        0


[Bug]: Recent changes to lspsaga integration doesn't work anymore

Since the recent change which switched from having a dedicated keymap to direct integrate I encounter this error for both EcologSagaHover and EcologSagaGD.

Error:

Config:
return {
        "nvimdev/lspsaga.nvim",
        event = "LspAttach",
        -- stylua: ignore
        keys = {
            { "gd",         ":Lspsaga goto_definition<CR>",      desc = "[G]oto [D]definition" },
        },
        opts = function()
            local icons = require("core.icons")
            return {
                symbol_in_winbar = { enable = false },
                diagnostic = {
                    show_code_action = false,
                },
                finder = {
                    keys = { toggle_or_open = "<CR>" },
                },
                lightbulb = { sign = false },
            }
        end,
    },
    {
        "philosofonusus/ecolog.nvim",
        lazy = false,
        dependencies = {
            "nvim-telescope/telescope.nvim",
            "saghen/blink.cmp",
            "nvimdev/lspsaga.nvim",
        },
        opts = {
            path = Util.get_folder_location(),
            types = true,
            integrations = {
                lspsaga = true,
                blink_cmp = true,
                nvim_cmp = false,
                telescope = true,
            },
            shelter = {
                configuration = { partial_mode = true },
                modules = {
                    files = true,
                    peek = true,
                    telescope = true,
                    cmp = true,
                },
            },
        },
        config = function(_, opts)
            require("ecolog").setup(opts)
            require("telescope").load_extension("ecolog")
        end,
    },

Hi, thanks for submitting the issue, I will certainly look it up. Sorry for inconvenience

I have added a fix for the bug and unit tests to make sure that this doesn't happen in future.
Please let me know if the issue is gone for you

In the future I will pay more attention to such things and I'll start working now on tests!

Thank you so much for working on the plugin, I've been looking for this functionality for a while!
There are no more error messages this time. However, the docs mention that using Lspsaga hover_doc should show Ecolog s peek, but it doesn't; Lspsaga goto_definition and EcologSagaHover does as expected.

I will look it up now

I have added a fix for this issue, can you please verify it on your side?

Fixed! Thank you so much

@vunhatchuong Um sorry to bother you again but this introduce a bug for Lspsaga finder.

Wow, sorry, looking into it 👀

I have added a fix for this issue, please verify it on your side

Everything mentioned are fine now, thanks for fixing it so fast!


Fix rendering of multypoligon on map

I think this is what I was talking to Joe about the other day.
Is there a way we can use GeoJSON to deal with getting polygon data onto the map, possibly with the rgeo-geojson gem? Might make it a lot cleaner than having to faff around with arrays of coordinates.


chore(project): update required Node version and project dependencies

What does this PR do?

Updates all the project dependencies to their latest versions.
Makes the Node required version > 8.10, in order to be able aligned with all the other projext packages.

How should it be tested manually?
yarn test
# or
npm test

Pull Request Test Coverage Report for Build 65

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

Totals

Change from base Build 63:
0.0%

Covered Lines:
52

Relevant Lines:
52

💛  - Coveralls


502 Bad Gateway error on fresh Debian 11 install

Please verify that this bug has NOT been raised before.

[x] I checked and didn't find a similar issue

Describe the bug*
After creating a fresh Debian 11 VM and installing InvenTree, everything seems to be fine.   Able to login with the provided admin from the installer script.   After rebooting the VM, no longer able to login, when trying to reach the server, getting a '502 Bad Gateway' error message.
Steps to Reproduce

Create new Debian 11 VM
Install InvenTree using the Installer script
Goto the URL for your VM and get the login screen
Reboot VM
Goto the URL for the VM and get '502 Bad Gateway'

Expected behaviour
After reboot of the VM, that the login screen would appear.
Deployment Method

[ ] Docker
[ ] Package
[x] Bare metal
[ ] Other - added info in Steps to Reproduce

Version Information
0.16.8 based on first login.
Please verify if you can reproduce this bug on the demo site.

[ ] I can reproduce this bug on the demo site.

Relevant log output
NGINX Error Log

2024/11/15 18:28:10 [error] 504#504: *1 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "GET / HTTP/1.1", upstream: "http://[::1]:6000/", host: "invtest.schaffner.online"
2024/11/15 18:28:10 [error] 504#504: *1 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "GET /favicon.ico HTTP/1.1", upstream: "http://[::1]:6000/favicon.ico", host: "invtest.schaffner.online", referrer: "http://invtest.schaffner.online/"

There is not enough info to debug this here @mschaffner9239 . The log is from nginx, not the inventree server, and the described things can be a thousand things.

I also have gotten this error from the installer; on a fresh Ubuntu 22.04 install;
root@inventree:/opt/inventree/src/backend/InvenTree# uname -a
Linux inventree 5.15.0-126-generic #136-Ubuntu SMP Wed Nov 6 10:38:22 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
root@inventree:/opt/inventree/src/backend/InvenTree# cat /etc/
Display all 186 possibilities? (y or n)
root@inventree:/opt/inventree/src/backend/InvenTree# cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.5 LTS"
PRETTY_NAME="Ubuntu 22.04.5 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.5 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

Initially it seemed like the installer failed to properly install packages.
Initially - the gpg file failed to install/write - even after using sudo - fixed that
james@inventree:~$ wget -qO install.sh https://get.inventree.org && bash install.sh
### Installer for InvenTree - source: inventree/stable
### Detected distribution: Ubuntu 22.04
### Installing required packages for download
[sudo] password for james:
Selecting previously unselected package apt-transport-https.
(Reading database ... 74796 files and directories currently installed.)
Preparing to unpack .../apt-transport-https_2.4.13_all.deb ...
Unpacking apt-transport-https (2.4.13) ...
Setting up apt-transport-https (2.4.13) ...
Scanning processes...
Scanning linux images...

Running kernel seems to be up-to-date.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.
### Installing libssl1.1
deb http://security.ubuntu.com/ubuntu focal-security main
Hit:1 http://ca.archive.ubuntu.com/ubuntu jammy InRelease
Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
Get:3 http://ca.archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
Get:4 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB]
Get:5 http://ca.archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
Get:6 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [3,303 kB]
Get:7 http://security.ubuntu.com/ubuntu focal-security/main Translation-en [484 kB]
Get:8 http://security.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [14.3 kB]
Fetched 4,313 kB in 2s (2,401 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  libssl1.1
0 upgraded, 1 newly installed, 0 to remove and 19 not upgraded.
Need to get 1,323 kB of archives.
After this operation, 4,131 kB of additional disk space will be used.
Get:1 http://security.ubuntu.com/ubuntu focal-security/main amd64 libssl1.1 amd64 1.1.1f-1ubuntu2.23 [1,323 kB]
Fetched 1,323 kB in 0s (3,789 kB/s)
Preconfiguring packages ...
Selecting previously unselected package libssl1.1:amd64.
(Reading database ... 74800 files and directories currently installed.)
Preparing to unpack .../libssl1.1_1.1.1f-1ubuntu2.23_amd64.deb ...
Unpacking libssl1.1:amd64 (1.1.1f-1ubuntu2.23) ...
Setting up libssl1.1:amd64 (1.1.1f-1ubuntu2.23) ...
Processing triggers for libc-bin (2.35-0ubuntu3.8) ...
Scanning processes...
Scanning linux images...

Running kernel seems to be up-to-date.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.
### Getting and adding key
tee: /etc/apt/trusted.gpg.d/pkgr-inventree.gpg: Permission denied

root@inventree:/home/james# cd
root@inventree:~# wget -qO install.sh https://get.inventree.org && bash install.sh
### Installer for InvenTree - source: inventree/stable
### Detected distribution: Ubuntu 22.04
### Installing required packages for download
### Installing libssl1.1
deb http://security.ubuntu.com/ubuntu focal-security main
Hit:1 http://ca.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:3 http://ca.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:4 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:5 http://ca.archive.ubuntu.com/ubuntu jammy-backports InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libssl1.1 is already the newest version (1.1.1f-1ubuntu2.23).
0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
### Getting and adding key
### Adding package source
### Updating package lists
Hit:1 http://ca.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://ca.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:3 http://ca.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease
Get:5 https://dl.packager.io/srv/deb/inventree/InvenTree/stable/ubuntu 20.04 InRelease [1,863 B]
Get:6 https://dl.packager.io/srv/deb/inventree/InvenTree/stable/ubuntu 20.04/main amd64 Packages [6,804 B]
Fetched 8,667 B in 1s (7,161 B/s)
Reading package lists... Done
### Setting installer args
### Installing InvenTree
Reading package lists... Done
Building dependency tree... Done
Reading state information...
Need to get 151 MB of archives.
After this operation, 426 MB of additional disk space will be used.

Selecting previously unselected package libc-dev-bin.
(Reading database ... 74810 files and directories currently installed.)
Preparing to unpack .../00-libc-dev-bin_2.35-0ubuntu3.8_amd64.deb ...
Unpacking libc-dev-bin (2.35-0ubuntu3.8) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../01-linux-libc-dev_5.15.0-126.136_amd64.deb ...
Unpacking linux-libc-dev:amd64 (5.15.0-126.136) ...
Selecting previously unselected package libcrypt-dev:amd64.
Preparing to unpack .../02-libcrypt-dev_1%3a4.4.27-1_amd64.deb ...
Unpacking libcrypt-dev:amd64 (1:4.4.27-1) ...
Selecting previously unselected package rpcsvc-proto.
Preparing to unpack .../03-rpcsvc-proto_1.4.2-0ubuntu6_amd64.deb ...
Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ...
Selecting previously unselected package libtirpc-dev:amd64.
Preparing to unpack .../04-libtirpc-dev_1.3.2-2ubuntu0.1_amd64.deb ...
Unpacking libtirpc-dev:amd64 (1.3.2-2ubuntu0.1) ...
Selecting previously unselected package libnsl-dev:amd64.
Preparing to unpack .../05-libnsl-dev_1.3.0-2build2_amd64.deb ...
Unpacking libnsl-dev:amd64 (1.3.0-2build2) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../06-libc6-dev_2.35-0ubuntu3.8_amd64.deb ...
Unpacking libc6-dev:amd64 (2.35-0ubuntu3.8) ...
Selecting previously unselected package gcc-11-base:amd64.
Preparing to unpack .../07-gcc-11-base_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking gcc-11-base:amd64 (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package libisl23:amd64.
Preparing to unpack .../08-libisl23_0.24-2build1_amd64.deb ...
Unpacking libisl23:amd64 (0.24-2build1) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../09-libmpc3_1.2.1-2build1_amd64.deb ...
Unpacking libmpc3:amd64 (1.2.1-2build1) ...
Selecting previously unselected package cpp-11.
Preparing to unpack .../10-cpp-11_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking cpp-11 (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package cpp.
Preparing to unpack .../11-cpp_4%3a11.2.0-1ubuntu1_amd64.deb ...
Unpacking cpp (4:11.2.0-1ubuntu1) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack .../12-libcc1-0_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libcc1-0:amd64 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../13-libgomp1_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libgomp1:amd64 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../14-libitm1_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libitm1:amd64 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../15-libatomic1_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libatomic1:amd64 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libasan6:amd64.
Preparing to unpack .../16-libasan6_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libasan6:amd64 (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../17-liblsan0_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking liblsan0:amd64 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../18-libtsan0_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libtsan0:amd64 (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package libubsan1:amd64.
Preparing to unpack .../19-libubsan1_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libubsan1:amd64 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../20-libquadmath0_12.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libquadmath0:amd64 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libgcc-11-dev:amd64.
Preparing to unpack .../21-libgcc-11-dev_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libgcc-11-dev:amd64 (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package gcc-11.
Preparing to unpack .../22-gcc-11_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking gcc-11 (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package gcc.
Preparing to unpack .../23-gcc_4%3a11.2.0-1ubuntu1_amd64.deb ...
Unpacking gcc (4:11.2.0-1ubuntu1) ...
Selecting previously unselected package libstdc++-11-dev:amd64.
Preparing to unpack .../24-libstdc++-11-dev_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libstdc++-11-dev:amd64 (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package g++-11.
Preparing to unpack .../25-g++-11_11.4.0-1ubuntu1~22.04_amd64.deb ...
Unpacking g++-11 (11.4.0-1ubuntu1~22.04) ...
Selecting previously unselected package g++.
Preparing to unpack .../26-g++_4%3a11.2.0-1ubuntu1_amd64.deb ...
Unpacking g++ (4:11.2.0-1ubuntu1) ...
Selecting previously unselected package make.
Preparing to unpack .../27-make_4.3-4.1build1_amd64.deb ...
Unpacking make (4.3-4.1build1) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../28-libdpkg-perl_1.21.1ubuntu2.3_all.deb ...
Unpacking libdpkg-perl (1.21.1ubuntu2.3) ...
Selecting previously unselected package bzip2.
Preparing to unpack .../29-bzip2_1.0.8-5build1_amd64.deb ...
Unpacking bzip2 (1.0.8-5build1) ...
Selecting previously unselected package lto-disabled-list.
Preparing to unpack .../30-lto-disabled-list_24_all.deb ...
Unpacking lto-disabled-list (24) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../31-dpkg-dev_1.21.1ubuntu2.3_all.deb ...
Unpacking dpkg-dev (1.21.1ubuntu2.3) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../32-build-essential_12.9ubuntu3_amd64.deb ...
Unpacking build-essential (12.9ubuntu3) ...
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../33-libfakeroot_1.28-1ubuntu1_amd64.deb ...
Unpacking libfakeroot:amd64 (1.28-1ubuntu1) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../34-fakeroot_1.28-1ubuntu1_amd64.deb ...
Unpacking fakeroot (1.28-1ubuntu1) ...
Selecting previously unselected package fonts-dejavu-core.
Preparing to unpack .../35-fonts-dejavu-core_2.37-2build1_all.deb ...
Unpacking fonts-dejavu-core (2.37-2build1) ...
Selecting previously unselected package fontconfig-config.
Preparing to unpack .../36-fontconfig-config_2.13.1-4.2ubuntu5_all.deb ...
Unpacking fontconfig-config (2.13.1-4.2ubuntu5) ...
Selecting previously unselected package libfontconfig1:amd64.
Preparing to unpack .../37-libfontconfig1_2.13.1-4.2ubuntu5_amd64.deb ...
Unpacking libfontconfig1:amd64 (2.13.1-4.2ubuntu5) ...
Selecting previously unselected package fontconfig.
Preparing to unpack .../38-fontconfig_2.13.1-4.2ubuntu5_amd64.deb ...
Unpacking fontconfig (2.13.1-4.2ubuntu5) ...
Selecting previously unselected package gettext.
Preparing to unpack .../39-gettext_0.21-4ubuntu4_amd64.deb ...
Unpacking gettext (0.21-4ubuntu4) ...
Selecting previously unselected package libpq5:amd64.
Preparing to unpack .../40-libpq5_14.13-0ubuntu<IP_ADDRESS>_amd64.deb ...
Unpacking libpq5:amd64 (14.13-0ubuntu<IP_ADDRESS>) ...
Selecting previously unselected package libevent-2.1-7:amd64.
Preparing to unpack .../41-libevent-2.1-7_2.1.12-stable-1build3_amd64.deb ...
Unpacking libevent-2.1-7:amd64 (2.1.12-stable-1build3) ...
Selecting previously unselected package libevent-extra-2.1-7:amd64.
Preparing to unpack .../42-libevent-extra-2.1-7_2.1.12-stable-1build3_amd64.deb ...
Unpacking libevent-extra-2.1-7:amd64 (2.1.12-stable-1build3) ...
Selecting previously unselected package python3-pip-whl.
Preparing to unpack .../43-python3-pip-whl_22.0.2+dfsg-1ubuntu0.5_all.deb ...
Unpacking python3-pip-whl (22.0.2+dfsg-1ubuntu0.5) ...
Selecting previously unselected package python3-setuptools-whl.
Preparing to unpack .../44-python3-setuptools-whl_59.6.0-1.2ubuntu<IP_ADDRESS>_all.deb ...
Unpacking python3-setuptools-whl (59.6.0-1.2ubuntu<IP_ADDRESS>) ...
Selecting previously unselected package python3.10-venv.
Preparing to unpack .../45-python3.10-venv_3.10.12-1~22.04.7_amd64.deb ...
Unpacking python3.10-venv (3.10.12-1~22.04.7) ...
Selecting previously unselected package libexpat1-dev:amd64.
Preparing to unpack .../46-libexpat1-dev_2.4.7-1ubuntu0.4_amd64.deb ...
Unpacking libexpat1-dev:amd64 (2.4.7-1ubuntu0.4) ...
Selecting previously unselected package zlib1g-dev:amd64.
Preparing to unpack .../47-zlib1g-dev_1%3a1.2.11.dfsg-2ubuntu9.2_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu9.2) ...
Selecting previously unselected package libpython3.10-dev:amd64.
Preparing to unpack .../48-libpython3.10-dev_3.10.12-1~22.04.7_amd64.deb ...
Unpacking libpython3.10-dev:amd64 (3.10.12-1~22.04.7) ...
Selecting previously unselected package python3.10-dev.
Preparing to unpack .../49-python3.10-dev_3.10.12-1~22.04.7_amd64.deb ...
Unpacking python3.10-dev (3.10.12-1~22.04.7) ...
Selecting previously unselected package python3-wheel.
Preparing to unpack .../50-python3-wheel_0.37.1-2ubuntu<IP_ADDRESS>_all.deb ...
Unpacking python3-wheel (0.37.1-2ubuntu<IP_ADDRESS>) ...
Selecting previously unselected package python3-pip.
Preparing to unpack .../51-python3-pip_22.0.2+dfsg-1ubuntu0.5_all.deb ...
Unpacking python3-pip (22.0.2+dfsg-1ubuntu0.5) ...
Selecting previously unselected package python3-ply.
Preparing to unpack .../52-python3-ply_3.11-5_all.deb ...
Unpacking python3-ply (3.11-5) ...
Selecting previously unselected package python3-pycparser.
Preparing to unpack .../53-python3-pycparser_2.21-1_all.deb ...
Unpacking python3-pycparser (2.21-1) ...
Selecting previously unselected package python3-cffi.
Preparing to unpack .../54-python3-cffi_1.15.0-1build2_all.deb ...
Unpacking python3-cffi (1.15.0-1build2) ...
Selecting previously unselected package python3-brotli.
Preparing to unpack .../55-python3-brotli_1.0.9-2build6_amd64.deb ...
Unpacking python3-brotli (1.0.9-2build6) ...
Selecting previously unselected package libgraphite2-3:amd64.
Preparing to unpack .../56-libgraphite2-3_1.3.14-1build2_amd64.deb ...
Unpacking libgraphite2-3:amd64 (1.3.14-1build2) ...
Selecting previously unselected package libharfbuzz0b:amd64.
Preparing to unpack .../57-libharfbuzz0b_2.7.4-1ubuntu3.1_amd64.deb ...
Unpacking libharfbuzz0b:amd64 (2.7.4-1ubuntu3.1) ...
Selecting previously unselected package libthai-data.
Preparing to unpack .../58-libthai-data_0.1.29-1build1_all.deb ...
Unpacking libthai-data (0.1.29-1build1) ...
Selecting previously unselected package libdatrie1:amd64.
Preparing to unpack .../59-libdatrie1_0.2.13-2_amd64.deb ...
Unpacking libdatrie1:amd64 (0.2.13-2) ...
Selecting previously unselected package libthai0:amd64.
Preparing to unpack .../60-libthai0_0.1.29-1build1_amd64.deb ...
Unpacking libthai0:amd64 (0.1.29-1build1) ...
Selecting previously unselected package libpango-1.0-0:amd64.
Preparing to unpack .../61-libpango-1.0-0_1.50.6+ds-2ubuntu1_amd64.deb ...
Unpacking libpango-1.0-0:amd64 (1.50.6+ds-2ubuntu1) ...
Selecting previously unselected package libpangoft2-1.0-0:amd64.
Preparing to unpack .../62-libpangoft2-1.0-0_1.50.6+ds-2ubuntu1_amd64.deb ...
Unpacking libpangoft2-1.0-0:amd64 (1.50.6+ds-2ubuntu1) ...
Selecting previously unselected package nginx-common.
Preparing to unpack .../63-nginx-common_1.18.0-6ubuntu14.5_all.deb ...
Unpacking nginx-common (1.18.0-6ubuntu14.5) ...
Selecting previously unselected package libjpeg-turbo8:amd64.
Preparing to unpack .../64-libjpeg-turbo8_2.1.2-0ubuntu1_amd64.deb ...
Unpacking libjpeg-turbo8:amd64 (2.1.2-0ubuntu1) ...
Selecting previously unselected package libjpeg8:amd64.
Preparing to unpack .../65-libjpeg8_8c-2ubuntu10_amd64.deb ...
Unpacking libjpeg8:amd64 (8c-2ubuntu10) ...
Selecting previously unselected package libdeflate0:amd64.
Preparing to unpack .../66-libdeflate0_1.10-2_amd64.deb ...
Unpacking libdeflate0:amd64 (1.10-2) ...
Selecting previously unselected package libjbig0:amd64.
Preparing to unpack .../67-libjbig0_2.1-3.1ubuntu<IP_ADDRESS>_amd64.deb ...
Unpacking libjbig0:amd64 (2.1-3.1ubuntu<IP_ADDRESS>) ...
Selecting previously unselected package libwebp7:amd64.
Preparing to unpack .../68-libwebp7_1.2.2-2ubuntu<IP_ADDRESS>_amd64.deb ...
Unpacking libwebp7:amd64 (1.2.2-2ubuntu<IP_ADDRESS>) ...
Selecting previously unselected package libtiff5:amd64.
Preparing to unpack .../69-libtiff5_4.3.0-6ubuntu0.10_amd64.deb ...
Unpacking libtiff5:amd64 (4.3.0-6ubuntu0.10) ...
Selecting previously unselected package libxpm4:amd64.
Preparing to unpack .../70-libxpm4_1%3a3.5.12-1ubuntu<IP_ADDRESS>_amd64.deb ...
Unpacking libxpm4:amd64 (1:3.5.12-1ubuntu<IP_ADDRESS>) ...
Selecting previously unselected package libgd3:amd64.
Preparing to unpack .../71-libgd3_2.3.0-2ubuntu2.3_amd64.deb ...
Unpacking libgd3:amd64 (2.3.0-2ubuntu2.3) ...
Selecting previously unselected package libnginx-mod-http-image-filter.
Preparing to unpack .../72-libnginx-mod-http-image-filter_1.18.0-6ubuntu14.5_amd64.deb ...
Unpacking libnginx-mod-http-image-filter (1.18.0-6ubuntu14.5) ...
Selecting previously unselected package libnginx-mod-http-xslt-filter.
Preparing to unpack .../73-libnginx-mod-http-xslt-filter_1.18.0-6ubuntu14.5_amd64.deb ...
Unpacking libnginx-mod-http-xslt-filter (1.18.0-6ubuntu14.5) ...
Selecting previously unselected package libnginx-mod-http-geoip2.
Preparing to unpack .../74-libnginx-mod-http-geoip2_1.18.0-6ubuntu14.5_amd64.deb ...
Unpacking libnginx-mod-http-geoip2 (1.18.0-6ubuntu14.5) ...
Selecting previously unselected package libnginx-mod-mail.
Preparing to unpack .../75-libnginx-mod-mail_1.18.0-6ubuntu14.5_amd64.deb ...
Unpacking libnginx-mod-mail (1.18.0-6ubuntu14.5) ...
Selecting previously unselected package libnginx-mod-stream.
Preparing to unpack .../76-libnginx-mod-stream_1.18.0-6ubuntu14.5_amd64.deb ...
Unpacking libnginx-mod-stream (1.18.0-6ubuntu14.5) ...
Selecting previously unselected package libnginx-mod-stream-geoip2.
Preparing to unpack .../77-libnginx-mod-stream-geoip2_1.18.0-6ubuntu14.5_amd64.deb ...
Unpacking libnginx-mod-stream-geoip2 (1.18.0-6ubuntu14.5) ...
Selecting previously unselected package nginx-core.
Preparing to unpack .../78-nginx-core_1.18.0-6ubuntu14.5_amd64.deb ...
Unpacking nginx-core (1.18.0-6ubuntu14.5) ...
Selecting previously unselected package nginx.
Preparing to unpack .../79-nginx_1.18.0-6ubuntu14.5_amd64.deb ...
Unpacking nginx (1.18.0-6ubuntu14.5) ...
Selecting previously unselected package libonig5:amd64.
Preparing to unpack .../80-libonig5_<IP_ADDRESS>-2build1_amd64.deb ...
Unpacking libonig5:amd64 (<IP_ADDRESS>-2build1) ...
Selecting previously unselected package libjq1:amd64.
Preparing to unpack .../81-libjq1_1.6-2.1ubuntu3_amd64.deb ...
Unpacking libjq1:amd64 (1.6-2.1ubuntu3) ...
Selecting previously unselected package jq.
Preparing to unpack .../82-jq_1.6-2.1ubuntu3_amd64.deb ...
Unpacking jq (1.6-2.1ubuntu3) ...
Selecting previously unselected package inventree.
Preparing to unpack .../83-inventree_0.16.8-1730959683.f23d4053.focal_amd64.deb ...
# PRI01| Running preinstall script - start - Tue Nov 26 04:26:03 AM UTC 2024
# PRI02| No python environment found - skipping
# PRI03| Running preinstall script - done - Tue Nov 26 04:26:03 AM UTC 2024
Unpacking inventree (0.16.8-1730959683.f23d4053.focal) ...
Selecting previously unselected package javascript-common.
Preparing to unpack .../84-javascript-common_11+nmu1_all.deb ...
Unpacking javascript-common (11+nmu1) ...
Selecting previously unselected package libalgorithm-diff-perl.
Preparing to unpack .../85-libalgorithm-diff-perl_1.201-1_all.deb ...
Unpacking libalgorithm-diff-perl (1.201-1) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Preparing to unpack .../86-libalgorithm-diff-xs-perl_0.04-6build3_amd64.deb ...
Unpacking libalgorithm-diff-xs-perl (0.04-6build3) ...
Selecting previously unselected package libalgorithm-merge-perl.
Preparing to unpack .../87-libalgorithm-merge-perl_0.08-3_all.deb ...
Unpacking libalgorithm-merge-perl (0.08-3) ...
Selecting previously unselected package libc-devtools.
Preparing to unpack .../88-libc-devtools_2.35-0ubuntu3.8_amd64.deb ...
Unpacking libc-devtools (2.35-0ubuntu3.8) ...
Selecting previously unselected package libfile-fcntllock-perl.
Preparing to unpack .../89-libfile-fcntllock-perl_0.22-3build7_amd64.deb ...
Unpacking libfile-fcntllock-perl (0.22-3build7) ...
Selecting previously unselected package libjs-jquery.
Preparing to unpack .../90-libjs-jquery_3.6.0+dfsg+~3.5.13-1_all.deb ...
Unpacking libjs-jquery (3.6.0+dfsg+~3.5.13-1) ...
Selecting previously unselected package libjs-underscore.
Preparing to unpack .../91-libjs-underscore_1.13.2~dfsg-2_all.deb ...
Unpacking libjs-underscore (1.13.2~dfsg-2) ...
Selecting previously unselected package libjs-sphinxdoc.
Preparing to unpack .../92-libjs-sphinxdoc_4.3.2-1_all.deb ...
Unpacking libjs-sphinxdoc (4.3.2-1) ...
Selecting previously unselected package libpython3-dev:amd64.
Preparing to unpack .../93-libpython3-dev_3.10.6-1~22.04.1_amd64.deb ...
Unpacking libpython3-dev:amd64 (3.10.6-1~22.04.1) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../94-manpages-dev_5.10-1ubuntu1_all.deb ...
Unpacking manpages-dev (5.10-1ubuntu1) ...
Selecting previously unselected package python3-dev.
Preparing to unpack .../95-python3-dev_3.10.6-1~22.04.1_amd64.deb ...
Unpacking python3-dev (3.10.6-1~22.04.1) ...
Setting up javascript-common (11+nmu1) ...
Setting up libgraphite2-3:amd64 (1.3.14-1build2) ...
Setting up gcc-11-base:amd64 (11.4.0-1ubuntu1~22.04) ...
Setting up manpages-dev (5.10-1ubuntu1) ...
Setting up libevent-extra-2.1-7:amd64 (2.1.12-stable-1build3) ...
Setting up python3-setuptools-whl (59.6.0-1.2ubuntu<IP_ADDRESS>) ...
Setting up lto-disabled-list (24) ...
Setting up libxpm4:amd64 (1:3.5.12-1ubuntu<IP_ADDRESS>) ...
Setting up libdatrie1:amd64 (0.2.13-2) ...
Setting up libfile-fcntllock-perl (0.22-3build7) ...
Setting up python3-pip-whl (22.0.2+dfsg-1ubuntu0.5) ...
Setting up libalgorithm-diff-perl (1.201-1) ...
Setting up python3-ply (3.11-5) ...
Setting up libpq5:amd64 (14.13-0ubuntu<IP_ADDRESS>) ...
Setting up libdeflate0:amd64 (1.10-2) ...
Setting up linux-libc-dev:amd64 (5.15.0-126.136) ...
Setting up nginx-common (1.18.0-6ubuntu14.5) ...
Created symlink /etc/systemd/system/multi-user.target.wants/nginx.service → /lib/systemd/system/nginx.service.
Setting up libgomp1:amd64 (12.3.0-1ubuntu1~22.04) ...
Setting up bzip2 (1.0.8-5build1) ...
Setting up python3-wheel (0.37.1-2ubuntu<IP_ADDRESS>) ...
Setting up libjbig0:amd64 (2.1-3.1ubuntu<IP_ADDRESS>) ...
Setting up libfakeroot:amd64 (1.28-1ubuntu1) ...
Setting up python3-pycparser (2.21-1) ...
Setting up libasan6:amd64 (11.4.0-1ubuntu1~22.04) ...
Setting up fakeroot (1.28-1ubuntu1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up libnginx-mod-http-xslt-filter (1.18.0-6ubuntu14.5) ...
Setting up libtirpc-dev:amd64 (1.3.2-2ubuntu0.1) ...
Setting up rpcsvc-proto (1.4.2-0ubuntu6) ...
Setting up make (4.3-4.1build1) ...
Setting up python3-brotli (1.0.9-2build6) ...
Setting up libquadmath0:amd64 (12.3.0-1ubuntu1~22.04) ...
Setting up libmpc3:amd64 (1.2.1-2build1) ...
Setting up libatomic1:amd64 (12.3.0-1ubuntu1~22.04) ...
Setting up libevent-2.1-7:amd64 (2.1.12-stable-1build3) ...
Setting up fonts-dejavu-core (2.37-2build1) ...
Setting up python3-pip (22.0.2+dfsg-1ubuntu0.5) ...
Setting up libjpeg-turbo8:amd64 (2.1.2-0ubuntu1) ...
Setting up libdpkg-perl (1.21.1ubuntu2.3) ...
Setting up libwebp7:amd64 (1.2.2-2ubuntu<IP_ADDRESS>) ...
Setting up libubsan1:amd64 (12.3.0-1ubuntu1~22.04) ...
Setting up libnsl-dev:amd64 (1.3.0-2build2) ...
Setting up libcrypt-dev:amd64 (1:4.4.27-1) ...
Setting up libharfbuzz0b:amd64 (2.7.4-1ubuntu3.1) ...
Setting up libthai-data (0.1.29-1build1) ...
Setting up libjs-jquery (3.6.0+dfsg+~3.5.13-1) ...
Setting up libisl23:amd64 (0.24-2build1) ...
Setting up libnginx-mod-http-geoip2 (1.18.0-6ubuntu14.5) ...
Setting up libc-dev-bin (2.35-0ubuntu3.8) ...
Setting up libalgorithm-diff-xs-perl (0.04-6build3) ...
Setting up libcc1-0:amd64 (12.3.0-1ubuntu1~22.04) ...
Setting up libonig5:amd64 (<IP_ADDRESS>-2build1) ...
Setting up liblsan0:amd64 (12.3.0-1ubuntu1~22.04) ...
Setting up libitm1:amd64 (12.3.0-1ubuntu1~22.04) ...
Setting up libjs-underscore (1.13.2~dfsg-2) ...
Setting up libalgorithm-merge-perl (0.08-3) ...
Setting up libtsan0:amd64 (11.4.0-1ubuntu1~22.04) ...
Setting up libjpeg8:amd64 (8c-2ubuntu10) ...
Setting up cpp-11 (11.4.0-1ubuntu1~22.04) ...
Setting up libnginx-mod-mail (1.18.0-6ubuntu14.5) ...
Setting up gettext (0.21-4ubuntu4) ...
Setting up python3.10-venv (3.10.12-1~22.04.7) ...
Setting up libjq1:amd64 (1.6-2.1ubuntu3) ...
Setting up fontconfig-config (2.13.1-4.2ubuntu5) ...
Setting up python3-cffi (1.15.0-1build2) ...
Setting up libnginx-mod-stream (1.18.0-6ubuntu14.5) ...
Setting up dpkg-dev (1.21.1ubuntu2.3) ...
Setting up libthai0:amd64 (0.1.29-1build1) ...
Setting up libjs-sphinxdoc (4.3.2-1) ...
Setting up libgcc-11-dev:amd64 (11.4.0-1ubuntu1~22.04) ...
Setting up gcc-11 (11.4.0-1ubuntu1~22.04) ...
Setting up cpp (4:11.2.0-1ubuntu1) ...
Setting up jq (1.6-2.1ubuntu3) ...
Setting up libc6-dev:amd64 (2.35-0ubuntu3.8) ...
Setting up libtiff5:amd64 (4.3.0-6ubuntu0.10) ...
Setting up libfontconfig1:amd64 (2.13.1-4.2ubuntu5) ...
Setting up libnginx-mod-stream-geoip2 (1.18.0-6ubuntu14.5) ...
Setting up fontconfig (2.13.1-4.2ubuntu5) ...
Regenerating fonts cache... done.
Setting up libpango-1.0-0:amd64 (1.50.6+ds-2ubuntu1) ...
Setting up gcc (4:11.2.0-1ubuntu1) ...
Setting up libexpat1-dev:amd64 (2.4.7-1ubuntu0.4) ...
Setting up libgd3:amd64 (2.3.0-2ubuntu2.3) ...
Setting up libstdc++-11-dev:amd64 (11.4.0-1ubuntu1~22.04) ...
Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu9.2) ...
Setting up libpangoft2-1.0-0:amd64 (1.50.6+ds-2ubuntu1) ...
Setting up libc-devtools (2.35-0ubuntu3.8) ...
Setting up g++-11 (11.4.0-1ubuntu1~22.04) ...
Setting up libnginx-mod-http-image-filter (1.18.0-6ubuntu14.5) ...
Setting up libpython3.10-dev:amd64 (3.10.12-1~22.04.7) ...
Setting up python3.10-dev (3.10.12-1~22.04.7) ...
Setting up g++ (4:11.2.0-1ubuntu1) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up build-essential (12.9ubuntu3) ...
Setting up nginx-core (1.18.0-6ubuntu14.5) ...
 * Upgrading binary nginx                                                                                [ OK ]
Setting up libpython3-dev:amd64 (3.10.6-1~22.04.1) ...
Setting up nginx (1.18.0-6ubuntu14.5) ...
Setting up inventree (0.16.8-1730959683.f23d4053.focal) ...
# POI01| Running postinstall script - start - Tue Nov 26 04:26:36 AM UTC 2024
# POI01| Importing functions
# POI01| Functions imported
# POI03| Setting base environment variables
# POI03| No config file found: /etc/inventree/config.yaml, using envs or defaults
# POI03| Collected environment variables:
# POI03|    INVENTREE_MEDIA_ROOT=/opt/inventree/data/media
# POI03|    INVENTREE_STATIC_ROOT=/opt/inventree/data/static
# POI03|    INVENTREE_BACKUP_DIR=/opt/inventree/data/backup
# POI03|    INVENTREE_PLUGINS_ENABLED=true
# POI03|    INVENTREE_PLUGIN_FILE=/etc/inventree/plugins.txt
# POI03|    INVENTREE_SECRET_KEY_FILE=/etc/inventree/secret_key.txt
# POI03|    INVENTREE_DB_ENGINE=sqlite3
# POI03|    INVENTREE_DB_NAME=/opt/inventree/data/database.sqlite3
# POI03|    INVENTREE_DB_USER=sampleuser
# POI03|    INVENTREE_DB_HOST=samplehost
# POI03|    INVENTREE_DB_PORT=123456
# POI04| Running in docker: no
# POI05| Using init command: systemctl
# POI06| Getting the IP address of the server via web service
# POI06| IP address is <IP_ADDRESS>
# POI07| No python environment found - using environment variable: python3.9
# POI07| Trying to detecting python3.9 to python3.12 - using newest version
# POI07| Checking for python3.12
# POI07| Checking for python3.11
# POI07| Checking for python3.10
# POI07| Found python3.10 installed - using for setup python3.10
# POI07| Using python command: python3.10
# POI08| Checking if update checks are needed
# POI08| Normal install - no need for checks
# POI09| Setting up python environment
Collecting invoke
  Downloading invoke-2.2.0-py3-none-any.whl (160 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 160.3/160.3 KB 1.9 MB/s eta 0:00:00
Collecting wheel
  Downloading wheel-0.45.1-py3-none-any.whl (72 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 72.5/72.5 KB 2.8 MB/s eta 0:00:00
Installing collected packages: wheel, invoke
Successfully installed invoke-2.2.0 wheel-0.45.1
# POI09| Unlinking default nginx config\n# POI09| Old file still in /etc/nginx/sites-available/default
# POI09| Unlinked default nginx config
# POI09| Stopping nginx
# POI09| Stopped nginx
# POI09| Setting up nginx to /etc/nginx/sites-enabled/inventree.conf
# POI09| Starting nginx
# POI09| Started nginx
# POI09| (Re)creating init scripts
Created symlink /etc/systemd/system/multi-user.target.wants/inventree.service → /etc/systemd/system/inventree.service.
Created symlink /etc/systemd/system/inventree.service.wants/inventree-web.service → /etc/systemd/system/inventree-web.service.
Scaling up...
Created symlink /etc/systemd/system/inventree-web.service.wants/inventree-web-1.service → /etc/systemd/system/inventree-web-1.service.
--> done.
Created symlink /etc/systemd/system/inventree.service.wants/inventree-worker.service → /etc/systemd/system/inventree-worker.service.
Scaling up...
Created symlink /etc/systemd/system/inventree-worker.service.wants/inventree-worker-1.service → /etc/systemd/system/inventree-worker-1.service.
--> done.
# POI09| Enabling InvenTree on boot
# POI09| Enabled InvenTree on boot
# POI10| Creating admin user data
# POI11| Stopping InvenTree
# POI11| Stopped InvenTree
# POI12| Updating InvenTree
Collecting uv
  Downloading uv-0.5.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (14.5 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 14.5/14.5 MB 9.6 MB/s eta 0:00:00
Requirement already satisfied: wheel in ./env/lib/python3.10/site-packages (0.45.1)
Installing collected packages: uv
Successfully installed uv-0.5.4
Using Python 3.10.12 environment at env
Resolved 137 packages in 2.25s
Prepared 137 packages in 8.13s
Uninstalled 1 package in 28ms
Installed 137 packages in 169ms
 + asgiref==3.8.1
 + async-timeout==4.0.3
 + attrs==23.2.0
 + babel==2.15.0
 + bleach==6.1.0
 + brotli==1.1.0
 + certifi==2024.7.4
 + cffi==1.16.0
 + charset-normalizer==3.3.2
 + coreapi==2.3.3
 + coreschema==0.0.4
 + cryptography==42.0.8
 + cssselect2==0.7.0
 + defusedxml==0.7.1
 + deprecated==1.2.14
 + diff-match-patch==20230430
 + dj-rest-auth==6.0.0
 + django==4.2.15
 + django-allauth==0.63.3
 + django-allauth-2fa==0.11.1
 + django-cleanup==8.1.0
 + django-cors-headers==4.4.0
 + django-crispy-forms==1.14.0
 + django-dbbackup==4.1.0
 + django-error-report-2==0.4.2
 + django-filter==24.2
 + django-flags==5.0.13
 + django-formtools==2.5.1
 + django-ical==1.9.2
 + django-import-export==3.3.9
 + django-js-asset==2.2.0
 + django-maintenance-mode==0.21.1
 + django-markdownify==0.9.5
 + django-money==3.2.0
 + django-mptt==0.16.0
 + django-otp==1.5.0
 + django-picklefield==3.2
 + django-q-sentry==0.1.6
 + django-q2==1.6.2
 + django-recurrence==1.11.1
 + django-redis==5.4.0
 + django-sesame==3.2.2
 + django-sql-utils==0.7.0
 + django-sslserver==0.22
 + django-stdimage==6.0.2
 + django-taggit==5.0.1
 + django-user-sessions==2.0.0
 + django-weasyprint==2.3.0
 + django-xforwardedfor-middleware==2.0
 + djangorestframework==3.14.0
 + djangorestframework-simplejwt==5.3.1
 + drf-spectacular==0.27.2
 + dulwich==0.22.1
 + et-xmlfile==1.1.0
 + feedparser==6.0.11
 + fonttools==4.53.0
 + googleapis-common-protos==1.63.2
 + grpcio==1.64.1
 + gunicorn==22.0.0
 + html5lib==1.1
 + icalendar==5.0.13
 + idna==3.7
 + importlib-metadata==7.1.0
 + inflection==0.5.1
 + isodate==0.6.1
 + itypes==1.2.0
 + jinja2==3.1.4
 + jsonschema==4.22.0
 + jsonschema-specifications==2023.12.1
 + lxml==5.2.2
 + markdown==3.6
 + markuppy==1.14
 + markupsafe==2.1.5
 + odfpy==1.4.1
 + openpyxl==3.1.4
 + opentelemetry-api==1.25.0
 + opentelemetry-exporter-otlp==1.25.0
 + opentelemetry-exporter-otlp-proto-common==1.25.0
 + opentelemetry-exporter-otlp-proto-grpc==1.25.0
 + opentelemetry-exporter-otlp-proto-http==1.25.0
 + opentelemetry-instrumentation==0.46b0
 + opentelemetry-instrumentation-django==0.46b0
 + opentelemetry-instrumentation-redis==0.46b0
 + opentelemetry-instrumentation-requests==0.46b0
 + opentelemetry-instrumentation-wsgi==0.46b0
 + opentelemetry-proto==1.25.0
 + opentelemetry-sdk==1.25.0
 + opentelemetry-semantic-conventions==0.46b0
 + opentelemetry-util-http==0.46b0
 + packaging==24.1
 + pdf2image==1.17.0
 + pillow==10.3.0
 + pint==0.21
 + pip-licenses==4.4.0
 + prettytable==3.10.0
 + protobuf==4.25.3
 + py-moneyed==3.0
 + pycparser==2.22
 + pydyf==0.10.0
 + pyjwt==2.8.0
 + pyphen==0.15.0
 + pypng==0.20220715.0
 + python-barcode==0.15.1
 + python-dateutil==2.9.0.post0
 + python-dotenv==1.0.1
 + python-fsutil==0.14.1
 + python3-openid==3.2.0
 + python3-saml==1.16.0
 + pytz==2024.1
 + pyyaml==6.0.1
 + qrcode==7.4.2
 + rapidfuzz==3.9.3
 + redis==5.0.7
 + referencing==0.35.1
 + regex==2024.4.28
 + requests==2.32.3
 + rpds-py==0.18.1
 + sentry-sdk==2.8.0
 - setuptools==75.6.0
 + setuptools==72.1.0
 + sgmllib3k==1.0.0
 + six==1.16.0
 + sqlparse==0.5.0
 + tablib==3.5.0
 + tinycss2==1.2.1
 + typing-extensions==4.12.2
 + uritemplate==4.1.1
 + urllib3==2.2.2
 + wcwidth==0.2.13
 + weasyprint==61.2
 + webencodings==0.5.1
 + whitenoise==6.7.0
 + wrapt==1.16.0
 + xlrd==2.0.1
 + xlwt==1.3.0
 + xmlsec==1.3.14
 + zipp==3.19.2
 + zopfli==0.2.3
Plugin configuration file does not exist - creating default file
warning: Requirements file /etc/inventree/plugins.txt does not contain any dependencies
Using Python 3.10.12 environment at env
Audited in 8ms
Traceback (most recent call last):
  File "/opt/inventree/src/backend/InvenTree/manage.py", line 24, in <module>
    main()
  File "/opt/inventree/src/backend/InvenTree/manage.py", line 20, in main
    execute_from_command_line(sys.argv)
  File "/opt/inventree/env/lib/python3.10/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
    utility.execute()
  File "/opt/inventree/env/lib/python3.10/site-packages/django/core/management/__init__.py", line 416, in execute
    django.setup()
  File "/opt/inventree/env/lib/python3.10/site-packages/django/__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/opt/inventree/env/lib/python3.10/site-packages/django/apps/registry.py", line 91, in populate
    app_config = AppConfig.create(entry)
  File "/opt/inventree/env/lib/python3.10/site-packages/django/apps/config.py", line 178, in create
    mod = import_module(mod_path)
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/opt/inventree/src/backend/InvenTree/plugin/__init__.py", line 4, in <module>
    from .plugin import InvenTreePlugin
  File "/opt/inventree/src/backend/InvenTree/plugin/plugin.py", line 16, in <module>
    from InvenTree.helpers import pui_url
  File "/opt/inventree/src/backend/InvenTree/InvenTree/helpers.py", line 26, in <module>
    import regex
  File "/opt/inventree/env/lib/python3.10/site-packages/regex/__init__.py", line 1, in <module>
    from .regex import *
  File "/opt/inventree/env/lib/python3.10/site-packages/regex/regex.py", line 417, in <module>
    import regex._regex_core as _regex_core
  File "/opt/inventree/env/lib/python3.10/site-packages/regex/_regex_core.py", line 21, in <module>
    import regex._regex as _regex
ModuleNotFoundError: No module named 'regex._regex'
# POI12| u | Installing required python packages from 'src/backend/requirements.txt'
# POI12| u | Requirement already satisfied: uv in ./env/lib/python3.10/site-packages (0.5.4)
# POI12| u | Requirement already satisfied: setuptools in ./env/lib/python3.10/site-packages (59.6.0)
# POI12| u | Collecting setuptools
# POI12| u |   Downloading setuptools-75.6.0-py3-none-any.whl (1.2 MB)
# POI12| u |      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 8.3 MB/s eta 0:00:00
# POI12| u | Installing collected packages: setuptools
# POI12| u |   Attempting uninstall: setuptools
# POI12| u |     Found existing installation: setuptools 59.6.0
# POI12| u |     Uninstalling setuptools-59.6.0:
# POI12| u |       Successfully uninstalled setuptools-59.6.0
# POI12| u | Successfully installed setuptools-75.6.0
# POI12| u | Installing plugin packages from '/etc/inventree/plugins.txt'
# POI12| u | Requirement already satisfied: uv in ./env/lib/python3.10/site-packages (0.5.4)
# POI12| u | Python version 3.10.12 - /opt/inventree/env/bin/python3
# POI12| u | InvenTree configuration file 'config.yaml' not found - creating default file
# POI12| u | Created config file /etc/inventree/config.yaml
# POI12| Set permissions for data dir and media: /opt/inventree/data
# POI13| Setting up InvenTree config values
# POI13| Writing the settings to the config file /etc/inventree/config.yaml
# POI13| Done setting up InvenTree config values
# POI14| Setting up InvenTree site URL
# POI15| Starting InvenTree
# POI15| Started InvenTree
# POI16| Printing Final message
####################################################################################
This InvenTree install uses nginx, the settings for the webserver can be found in
/etc/nginx/sites-enabled/inventree.conf
Try opening InvenTree with either
http://localhost/ or http://SCRUBBED/

Admin user data:
   Email<EMAIL_ADDRESS>   Username: admin
   Password: SCRUBBED
####################################################################################
# POI17| Running postinstall script - done - Tue Nov 26 04:27:16 AM UTC 2024
Setting up python3-dev (3.10.6-1~22.04.1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.8) ...
Processing triggers for ufw (0.36.1-4ubuntu0.1) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for install-info (6.8-4build1) ...
Scanning processes...
Scanning linux images...

Running kernel seems to be up-to-date.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.
### Install done!

Seems like this is related? https://github.com/inventree/InvenTree/issues/8495

All, I have just release 0.16.9 which should hopefully address these issues - please try the new version and report back

Hi Oliver,
I attempted an install on Debian 12 and it stopped with a different issue, see log below:
Setting up inventree (0.16.9-1732958900.e0756a70.bullseye) ...
# POI01| Running postinstall script - start - Sat Nov 30 02:46:40 PM PST 2024
# POI01| Importing functions
# POI01| Functions imported
# POI03| Setting base environment variables
# POI03| No config file found: /etc/inventree/config.yaml, using envs or defaults
# POI03| Collected environment variables:
# POI03|    INVENTREE_MEDIA_ROOT=/opt/inventree/data/media
# POI03|    INVENTREE_STATIC_ROOT=/opt/inventree/data/static
# POI03|    INVENTREE_BACKUP_DIR=/opt/inventree/data/backup
# POI03|    INVENTREE_PLUGINS_ENABLED=true
# POI03|    INVENTREE_PLUGIN_FILE=/etc/inventree/plugins.txt
# POI03|    INVENTREE_SECRET_KEY_FILE=/etc/inventree/secret_key.txt
# POI03|    INVENTREE_DB_ENGINE=sqlite3
# POI03|    INVENTREE_DB_NAME=/opt/inventree/data/database.sqlite3
# POI03|    INVENTREE_DB_USER=sampleuser
# POI03|    INVENTREE_DB_HOST=samplehost
# POI03|    INVENTREE_DB_PORT=123456
# POI04| Running in docker: no
# POI05| Using init command: systemctl
# POI06| Getting the IP address of the server via web service
# POI06| IP address is <IP_ADDRESS>
# POI07| No python environment found - using environment variable: python3.9
# POI07| Trying to detecting python3.9 to python3.12 - using newest version
# POI07| Checking for python3.12
# POI07| Checking for python3.11
# POI07| Found python3.11 installed - using for setup python3.11
# POI07| Using python command: python3.11
# POI08| Checking if update checks are needed
# POI08| Normal install - no need for checks
# POI09| Setting up python environment
Collecting invoke
  Downloading invoke-2.2.0-py3-none-any.whl (160 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 160.3/160.3 kB 3.8 MB/s eta 0:00:00
Collecting wheel
  Downloading wheel-0.45.1-py3-none-any.whl (72 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 72.5/72.5 kB 3.1 MB/s eta 0:00:00
Installing collected packages: wheel, invoke
Successfully installed invoke-2.2.0 wheel-0.45.1
# POI09| Unlinking default nginx config\n# POI09| Old file still in /etc/nginx/sites-available/default
# POI09| Unlinked default nginx config
# POI09| Stopping nginx
# POI09| Stopped nginx
# POI09| Setting up nginx to /etc/nginx/sites-enabled/inventree.conf
# POI09| Starting nginx
# POI09| Started nginx
# POI09| (Re)creating init scripts
Created symlink /etc/systemd/system/multi-user.target.wants/inventree.service → /etc/systemd/system/inventree.service.
Created symlink /etc/systemd/system/inventree.service.wants/inventree-web.service → /etc/systemd/system/inventree-web.service.
Scaling up...
Created symlink /etc/systemd/system/inventree-web.service.wants/inventree-web-1.service → /etc/systemd/system/inventree-web-1.service.
--> done.
Created symlink /etc/systemd/system/inventree.service.wants/inventree-worker.service → /etc/systemd/system/inventree-worker.service.
Scaling up...
Created symlink /etc/systemd/system/inventree-worker.service.wants/inventree-worker-1.service → /etc/systemd/system/inventree-worker-1.service.
--> done.
# POI09| Enabling InvenTree on boot
# POI09| Enabled InvenTree on boot
# POI10| Creating admin user data
# POI11| Stopping InvenTree
# POI11| Stopped InvenTree
# POI12| Updating InvenTree
Collecting uv
  Downloading uv-0.5.5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (14.4 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 14.4/14.4 MB 6.0 MB/s eta 0:00:00
Requirement already satisfied: wheel in ./env/lib/python3.11/site-packages (0.45.1)
Installing collected packages: uv
Successfully installed uv-0.5.5
Using Python 3.11.2 environment at: env
Resolved 136 packages in 2.60s
Prepared 136 packages in 6.55s
Uninstalled 1 package in 18ms
Installed 136 packages in 2.83s
 + asgiref==3.8.1
 + async-timeout==5.0.1
 + attrs==23.2.0
 + babel==2.15.0
 + bleach==6.1.0
 + brotli==1.1.0
 + certifi==2024.7.4
 + cffi==1.16.0
 + charset-normalizer==3.3.2
 + coreapi==2.3.3
 + coreschema==0.0.4
 + cryptography==42.0.8
 + cssselect2==0.7.0
 + defusedxml==0.7.1
 + deprecated==1.2.14
 + diff-match-patch==20230430
 + dj-rest-auth==6.0.0
 + django==4.2.15
 + django-allauth==0.63.3
 + django-allauth-2fa==0.11.1
 + django-cleanup==8.1.0
 + django-cors-headers==4.4.0
 + django-crispy-forms==1.14.0
 + django-dbbackup==4.1.0
 + django-error-report-2==0.4.2
 + django-filter==24.2
 + django-flags==5.0.13
 + django-formtools==2.5.1
 + django-ical==1.9.2
 + django-import-export==3.3.9
 + django-js-asset==2.2.0
 + django-maintenance-mode==0.21.1
 + django-markdownify==0.9.5
 + django-money==3.2.0
 + django-mptt==0.16.0
 + django-otp==1.5.0
 + django-picklefield==3.2
 + django-q-sentry==0.1.6
 + django-q2==1.6.2
 + django-recurrence==1.11.1
 + django-redis==5.4.0
 + django-sesame==3.2.2
 + django-sql-utils==0.7.0
 + django-sslserver==0.22
 + django-stdimage==6.0.2
 + django-taggit==5.0.1
 + django-user-sessions==2.0.0
 + django-weasyprint==2.3.0
 + django-xforwardedfor-middleware==2.0
 + djangorestframework==3.14.0
 + djangorestframework-simplejwt==5.3.1
 + drf-spectacular==0.27.2
 + dulwich==0.22.1
 + et-xmlfile==1.1.0
 + feedparser==6.0.11
 + fonttools==4.53.0
 + googleapis-common-protos==1.63.2
 + grpcio==1.64.1
 + gunicorn==22.0.0
 + html5lib==1.1
 + icalendar==5.0.13
 + idna==3.7
 + importlib-metadata==7.1.0
 + inflection==0.5.1
 + isodate==0.6.1
 + itypes==1.2.0
 + jinja2==3.1.4
 + jsonschema==4.22.0
 + jsonschema-specifications==2023.12.1
 + lxml==5.2.2
 + markdown==3.6
 + markuppy==1.14
 + markupsafe==2.1.5
 + odfpy==1.4.1
 + openpyxl==3.1.4
 + opentelemetry-api==1.25.0
 + opentelemetry-exporter-otlp==1.25.0
 + opentelemetry-exporter-otlp-proto-common==1.25.0
 + opentelemetry-exporter-otlp-proto-grpc==1.25.0
 + opentelemetry-exporter-otlp-proto-http==1.25.0
 + opentelemetry-instrumentation==0.46b0
 + opentelemetry-instrumentation-django==0.46b0
 + opentelemetry-instrumentation-redis==0.46b0
 + opentelemetry-instrumentation-requests==0.46b0
 + opentelemetry-instrumentation-wsgi==0.46b0
 + opentelemetry-proto==1.25.0
 + opentelemetry-sdk==1.25.0
 + opentelemetry-semantic-conventions==0.46b0
 + opentelemetry-util-http==0.46b0
 + packaging==24.1
 + pdf2image==1.17.0
 + pillow==10.3.0
 + pint==0.21
 + pip-licenses==4.4.0
 + prettytable==3.10.0
 + protobuf==4.25.3
 + py-moneyed==3.0
 + pycparser==2.22
 + pydyf==0.10.0
 + pyjwt==2.8.0
 + pyphen==0.15.0
 + pypng==0.20220715.0
 + python-barcode==0.15.1
 + python-dateutil==2.9.0.post0
 + python-dotenv==1.0.1
 + python-fsutil==0.14.1
 + python3-openid==3.2.0
 + python3-saml==1.16.0
 + pytz==2024.1
 + pyyaml==6.0.1
 + qrcode==7.4.2
 + rapidfuzz==3.9.3
 + redis==5.0.7
 + referencing==0.35.1
 + requests==2.32.3
 + rpds-py==0.18.1
 + sentry-sdk==2.8.0
 - setuptools==75.6.0
 + setuptools==72.1.0
 + sgmllib3k==1.0.0
 + six==1.16.0
 + sqlparse==0.5.0
 + tablib==3.5.0
 + tinycss2==1.2.1
 + typing-extensions==4.12.2
 + uritemplate==4.1.1
 + urllib3==2.2.2
 + wcwidth==0.2.13
 + weasyprint==61.2
 + webencodings==0.5.1
 + whitenoise==6.7.0
 + wrapt==1.16.0
 + xlrd==2.0.1
 + xlwt==1.3.0
 + xmlsec==1.3.14
 + zipp==3.19.2
 + zopfli==0.2.3
Plugin configuration file does not exist - creating default file
warning: Requirements file `/etc/inventree/plugins.txt` does not contain any dependencies
Using Python 3.11.2 environment at: env
Audited in 2ms
Traceback (most recent call last):
  File "/opt/inventree/src/backend/InvenTree/manage.py", line 24, in <module>
    main()
  File "/opt/inventree/src/backend/InvenTree/manage.py", line 20, in main
    execute_from_command_line(sys.argv)
  File "/opt/inventree/env/lib/python3.11/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
    utility.execute()
  File "/opt/inventree/env/lib/python3.11/site-packages/django/core/management/__init__.py", line 416, in execute
    django.setup()
  File "/opt/inventree/env/lib/python3.11/site-packages/django/__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/opt/inventree/env/lib/python3.11/site-packages/django/apps/registry.py", line 116, in populate
    app_config.import_models()
  File "/opt/inventree/env/lib/python3.11/site-packages/django/apps/config.py", line 269, in import_models
    self.models_module = import_module(models_module_name)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/opt/inventree/src/backend/InvenTree/build/models.py", line 32, in <module>
    import InvenTree.helpers_model
  File "/opt/inventree/src/backend/InvenTree/InvenTree/helpers_model.py", line 16, in <module>
    from PIL import Image
  File "/opt/inventree/env/lib/python3.11/site-packages/PIL/Image.py", line 88, in <module>
    from . import _imaging as core
ImportError: cannot import name '_imaging' from 'PIL' (/opt/inventree/env/lib/python3.11/site-packages/PIL/__init__.py)
# POI12| u | Installing required python packages from 'src/backend/requirements.txt'
# POI12| u | Requirement already satisfied: uv in ./env/lib/python3.11/site-packages (0.5.5)
# POI12| u | Requirement already satisfied: setuptools in ./env/lib/python3.11/site-packages (66.1.1)
# POI12| u | Collecting setuptools
# POI12| u |   Downloading setuptools-75.6.0-py3-none-any.whl (1.2 MB)
# POI12| u |      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 10.0 MB/s eta 0:00:00
# POI12| u | Installing collected packages: setuptools
# POI12| u |   Attempting uninstall: setuptools
# POI12| u |     Found existing installation: setuptools 66.1.1
# POI12| u |     Uninstalling setuptools-66.1.1:
# POI12| u |       Successfully uninstalled setuptools-66.1.1
# POI12| u | Successfully installed setuptools-75.6.0
# POI12| u | Installing plugin packages from '/etc/inventree/plugins.txt'
# POI12| u | Requirement already satisfied: uv in ./env/lib/python3.11/site-packages (0.5.5)
# POI12| u | Python version 3.11.2 - /opt/inventree/env/bin/python3
# POI12| u | InvenTree configuration file 'config.yaml' not found - creating default file
# POI12| u | Created config file /etc/inventree/config.yaml
# POI12| Set permissions for data dir and media: /opt/inventree/data
# POI13| Setting up InvenTree config values
# POI13| Writing the settings to the config file /etc/inventree/config.yaml
# POI13| Done setting up InvenTree config values
# POI14| Setting up InvenTree site URL
# POI15| Starting InvenTree
# POI15| Started InvenTree
# POI16| Printing Final message
####################################################################################

@mschaffner9239 we are playing whack-a-mole here...
Some quick googling of this new error shows that maybe there is a version incompatibilitity with another package already installed on your system?
Can you show the output of:
pip show pillow
pip show PIL

References

https://pillow.readthedocs.io/en/stable/installation.html#warnings
https://stackoverflow.com/questions/25340698/importerror-cannot-import-name-imaging
https://github.com/python-pillow/Pillow/issues/4416

Hi Oliver,
My apologies, the above was meant for the other ticket.   I did an install of 0.16.9 on Debian 11 and so far that seems to be working correctly.    I'll move over that previous message to the proper ticket.
Mike

Fixed by https://github.com/inventree/InvenTree/pull/8793; see https://github.com/inventree/InvenTree/issues/8495#issuecomment-2564839215 for manual fix before next release


Fix swapped x and y dimensions in comments and variable names for MEPS data

The x- and y-dimensions for the MEPS data are swapped in comments describing tensor shapes, and also in some variable names. This change swaps from (x, y) ordering to the correct (y, x) ordering.
This fixes #46. See the issue for a more clear description.

LGTM as well! Thanks for this @joeloskarsson

Ah yes this did confuse me back then :) thanks for fixing the comments!


feat: limit fields used for database schema search in database view

Describe your changes:
Fixes
I worked on limiting fields on which schema search is conducted within database view because currently search is done on all fields and I think it's excessive. As a user I would expect this list is filtered mostly on schema name (and perhaps description).
Additional Context
One example why I think it's excessive - Imagine having 'med' schema (amongst tens of different schemas in the database) - since search is done on all fields of database_schema_search_index that would also include tags.state field, which can take 'Confirmed' value. In such case user would type in 'med' in search box and receive tens of schemas (every schema that has at least one Confirmed tag).

Type of change:

[ ] Bug fix
[x] Improvement
[ ] New feature
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] My PR title is Fixes <issue-number>: <short explanation>
[ ] I have commented on my code, particularly in hard-to-understand areas.
[ ] For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

@chirag-madlani @karanh37 can one of you review this.

Hi @mgorsk1 Can you attach recording of working functionality?


Crash while working with "Other" features

Describe the bug
I commonly need "Other" for my work flow.  I put alphanumeric data in the the Description field.  When I went to click on "save" the program crashed completely.  I restarted my iPad and tried a few more times to get "Other" to work.  It eventually worked.  I will try to get better info on such occurrences if they happen in the future.
To Reproduce
Are you able to reproduce the problem in a new project after restarting the app?
Yes.
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
Expected a "save" of the data and then continue to the next set of measurements.
Screenshots
NA
Smartphone (please complete the following information):

Device: iPad Mini5
OS: Lastest iOS
StraboSpot Version: Latest version from the Apple App Store.

Additional context
Was working in the field with no internet connection.

I haven't been able to recreate this bug. Any other information you can provide or a video?

Thanks Jessica.  I will record more info if I get this issues again…
jonathan
From: Jessica Good @.>
Date: Friday, April 26, 2024 at 2:24 PM
To: StraboSpot/StraboSpot2 @.>
Cc: Caine, Jonathan S @.>, Author @.>
Subject: [EXTERNAL] Re: [StraboSpot/StraboSpot2] Crash while working with "Other" features (Issue #548)
This email has been received from outside of DOI - Use caution before clicking on links, opening attachments, or responding.
I haven't been able to recreate this bug. Any other information you can provide or a video?
—
Reply to this email directly, view it on GitHubhttps://github.com/StraboSpot/StraboSpot2/issues/548#issuecomment-2080069811, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABAR4NWW4IR7SK3DIUG36ATY7KZW7AVCNFSM6AAAAABGH4DPM2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBQGA3DSOBRGE.
You are receiving this because you authored the thread.Message ID: @.***>


Redesign table config

The current way of defining tables is weird, to say the least.
You can't simply tell TS that books belong to authors and authors have many books, because TS is confused with the type recursion (book -> author -> book -> author -> ...).
The limitation can be only bypassed by using class syntax.
I've been looking for a workaround to make it look nicer for years, and finally I got it!
I have a working proof-of-concept, so this should work out well, here is the spoiler of the future table syntax:
const BookTable = defineTable("book")
  .columns((t) => ({
    id: t.identity().primaryKey(),
    title: t.string(),
    authorId: t.integer().references(() => AuthorTable("id")),
  }))
  .relations((t) => ({
    author: t.belongsTo({
      from: ["authorId"],
      to: () => AuthorTable("id"),
    }),
  }));

const AuthorTable = defineTable("author")
  .columns((t) => ({
    id: t.identity().primaryKey(),
    name: t.string(),
  }))
  .relations((t) => ({
    books: t.hasMany({
      from: ["id"],
      to: () => BookTable("id"),
    }),
  }));

Starting to look like drizzle... I hope the existing config will be backward compatible, or at least, move to Orchid 2.0

Since columns are an essential, inseparable part of the table, shouldn't they be rather passed as the second argument of defineTable? Is there any point in defineTable() without .columns() other than (quite arguable) clarity of code?
Example:
const BookTable = defineTable("book", t => ({
  id: t.identity().primaryKey(),
  title: t.string(),
  authorId: t.integer().references(() => AuthorTable("id")),
})).relations(t => ({
  author: t.belongsTo({
    from: ["authorId"],
    to: () => AuthorTable("id"),
  }),
}))

Starting to look like drizzle... I hope the existing config will be backward compatible, or at least, move to Orchid 2.0

I'm was happy to get around TS limitations for that syntax, but seems like you're not really appreciating it, why not?

it's notably more compact and neat
class was confusing because it makes you think it's an OOP entity/model, while it's just a table config
annoying readonly for table is required for proper TS inference of string literal
some other option, softDelete I guess, also requires readonly, so some props are readonly and others aren't just to satisfy TS limitation
columns = this.setColumns - so annoying to say that columns = setColumns. columns =  is already setting columns, why to repeat this fact with setColumns.
in some environments, users have to add override because TS is complaining that table and columns were already defined in the BaseTable, while it's not required on my machine.

columns passed as the second argument

Good idea!
I guess sure, let columns be the second argument, as long as they don't depend on any of possible table options.
There are some possible options such as softDelete, noPrimaryKey, maybe some others, and if the t arg somehow depends on those options, columns must to follow the options. But that's not the case, so softDelete, noPrimaryKey and future parameters can be defined after columns.


fix(client): Ensure letters in user emails are lower case

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] All the files I changed are in the same world language, for example: only English changes, or only Chinese changes, etc.

Closes #38581

Thanks for your PR. We have another open request to this issue.


Use GtkPasswordEntry

This should fix issue #380 by using the GtkPasswordEntry on the login screen.

Thereby I removed the home-brew caps lock notification and placed the icons in front of the entries since GtkPasswordEntry does not support primary-icon-name.
One minor remark: I would rather centre all stuff in the dialogue because now I find it quite off looking but since this wasn't the point here I left it untouched.
Also, I don't know how to prune the msgids of the caps lock notification in the potfiles.

Oh, very cool, is that a Gtk4 thing? I don't remember a dedicated entry type for that, that's convenient :)
I'll do the review over the weekend hopefully
As for pruning the msgids, make sure the POTFILES file is up to date and run
ninja spot-pot -C target

this should do the trick I think :) (as long as the strings dont appear anywhere anymore)

So translations should be up-to-date and pruned from the msgids.

I just did what you asked me to do and ran the ninja command ninja spot-pot -C target

Ah wait no, my fault.

merging this, thank you for your work!! :)


onReactionPopup vs onDoubleTap

Describe the bug
The code for reaction popup and double tap work differently. Overriding double tap callback results in complete control over the functionality while the reaction popup doesn't.
  Widget get _reactionPopupRow => EmojiRow(
        onEmojiTap: (emoji) {
          widget.onTap();
          if (currentUser != null && _message != null) {
            chatController?.setReaction(
              emoji: emoji,
              messageId: _message!.id,
              userId: currentUser!.id,
            );
            reactionPopupConfig?.userReactionCallback?.call(
              _message!,
              emoji,
            );
          }
        },

While onDoubleTap works like this
  final MessageCallBack? onDoubleTap;

  final ReceiptsWidgetConfig? receiptsWidgetConfig;

  const ChatBubbleConfiguration({
    this.padding,
    this.margin,
    this.maxWidth,
    this.longPressAnimationDuration,
    this.inComingChatBubbleConfig,
    this.outgoingChatBubbleConfig,
    this.onDoubleTap,
    this.receiptsWidgetConfig,
  });

I am only displaying the reaction after I receive it back from the websocket connection, but this behavior is not possible for the reactions.
Relying on my backend for setting the reaction would allow me to have the same chat instance on two phones at the same time and things would be kept in sync
Thank you for your incredible work, it only took me a day worth of work to get an MVP going on

Hi @mcosti, I didn't get your point. can you please describe it in detail?

Hi @vatsaltanna-simformsolutions . My point was that the onDoubleTap's behavior can be overriden entirely, allowing me to not call chatController?.setReaction, which is a good thing,
But onEmojiTap first calls chatController?.setReaction and then reactionPopupConfig?.userReactionCallback?.call, which makes it impossible to prevent the setReaction from being called.
I would rather call setReaction myself when I get a confirmation that the back-end received it


Handle the UITouchTypeIndirectPointer enum value.

The following enum value was added to the UITouchType enum in iOS 13.4:

UITouchTypeIndirectPointer

This doesn't seem to be documented currently. This issue tracks the handling of this new enum value. Xcode and/or the iOS SDK will have to be updated before this enum can be used in the engine as well.

cc @xster


Missing Data Fields in MySQL server

There are several fields missing from the arm-mysql, servers.list data, such as byokEnforcement, publicNetworkAccess and etc.
Please add those missing fields in.
Thanks!

We need service help to confirm whether the default tag (package-2020-01-01) is ready so that we can release leatest sdk to fix this issue.

The parameters has been added in swagger file.

@james-zhou-inspire11 Can you try the latest version of JS SDK @azure/arm-mysql and see if your issue has been resolved ? Thanks


feat: Update Authentik

Update Authentik from 2024.2.2 to 2024.6.3
Update Postgres from 12 to 16
https://docs.goauthentik.io/docs/releases/2024.4#breaking-changes
https://docs.goauthentik.io/docs/releases/2024.6#breaking-changes
⚠ Postgres 14+ required since 2024.6

Just a heads-up for the label, this is not a new service this is an update of Authentik docker images as they are not on latest

Thank you for the PR 💜.


S3 viewer plugin not included in latest RPM package

I've been trying to implement the S3 functionality over the past couple days and I found my viewer node was unable to read data on S3.  I checked viewer.log and saw that the service was complaining about being unable to find the S3 viewer plugin writer-s3/index.js.  I talked to @awick on Slack and he mentioned that the related files are missing from the RPM.
Moloch version:
0.19.1
OS name and version:
CentOS 7
How was Moloch built/installed:
RPM
Provide logs, stack traces and steps to reproduce:
Duplicating this simply requires one to install Moloch using RPM then follow the instructions in the Wiki. You will not be able  to view S3 data with a valid configuration and if you check viewer.log the error message is pretty explicit.

fixed in nightly

Thanks!


How to cite this work

@wundersooner: Since we were accepted to AMS, can we now produce a citation?

Updated README.md


Set up kokoro for ITNightlyBigQueryTest

We only want to run these long running stress tests (google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/it/ITNightlyBigQueryTest.java) on a nightly basis and get Github issues/buganizers if there are failures.

This should be unblocked now since https://github.com/googleapis/java-bigquery/pull/1374 has been merged in.


How to create image mutation from client side when using dropzone instead?

I am using dropzone for uploading the product images. I am not sure what to pass so I passed whole File object but I am getting error unhashable type: 'list'. This is what I provided

my mutation is
const ProductImage = gql`
  mutation productImageMutation(
    $image: Upload!
  ) {
    productImage(
      input: {
        image: $image
      }
    ) {
      success
    }
  }
`;

I could not figure out the way to upload image when using javascript in client side. Can anyone help me at this, please?

Dropzone is currently not supported in the new Dashboard, but file upload does work. You may want to take a look at this code and track how onImageUpload function works.

We should add dropzone support in the Dashboard 2.0, I'll keep this issue and just change the title respectively.


test PR

DELETE THIS TEMPLATE BEFORE SUBMITTING
PR Checklist:
[ ] Clearly explain your change with a desriptive commit message
[ ] Setup pre-commit and run the validators (info in README.md)
To validate files run: pre-commit run --all-files

just a test


[BUG][SM] z147 - Managed AD fails to deloy to GCWide when three AZs are enabled

Bug reports which fail to provide the required information will be closed without action.
Required Basic Info

Accelerator Version:  1.2.2
Install Type: Clean
Install Branch: Standalone
Upgrade from version: N/A

Describe the bug
Managed AD fails to deploy to CentralVPC_GCWide when third AZ is activated.
"GCWide"  {
"name": "GCWide",
"share-to-ou-accounts": false,
"share-to-specific-accounts": [
"operations"
],
"definitions": [
{
"az": "a",
"route-table": "CentralVPC_GCWide",
"cidr2": "<IP_ADDRESS>/25"
},
{
"az": "b",
"route-table": "CentralVPC_GCWide",
"cidr2": "<IP_ADDRESS>/25"
},
{
"az": "d",
"route-table": "CentralVPC_GCWide",
"cidr2": "<IP_ADDRESS>/25",
"disabled": false
}
]
}
When third AZ is disabled, MAD deploys fine.
Failure Info

MicrosoftADMicrosoftADFC7F6466
Invalid subnet ID(s). They must correspond to two subnets in different Availability Zones. : RequestId: 5bf4f88b-f3f6-4fee-9c4c-a52218e7c138 (Service: AWSDirectoryService; Status Code: 400; Error Code: InvalidParameterException; Request ID: 5bf4f88b-f3f6-4fee-9c4c-a52218e7c138; Proxy: null)

Required files

Please provide a copy of your config.json file (sanitize if required)

Steps To Reproduce

Enable "az" : d in GCWide (this is a third enabled az)
Deploy MAD it will fail
See error Invalid subnet ID(s). They must correspond to two subnets in different Availability Zones.
Disable "az": d (leave two az enabled)
Deploy MAD is will work

Expected behavior
I expect MAD to deploy even when three "az" are enabled.
Screenshots
N/A
Additional context
N/A

Notes:

MAD only supports 2 az's for its initial deployment
if we configure subnets in 3 or more az's for the MAD subnets, MAD deployment fails
Fix:
add a new variable: deployments/mad/azs: ["a","b"] to allow customer to specify MAD az's
If more than 2 array elements are provided, ignore them (do not fail the SM, log an error in the log files)
if this new variable is not specified, use the first two az's defined for the specified subnet on the vpc

Shipping in v1.2.5

Shipping in v1.2.5


Fix CommandBarFlyout not having shadows

Drop shadows require Z-translations to be set in order to draw, which was missing from CommandBarFlyout.

/azp run

/azp run


⚠ ClamAV has degraded performance

In 0af8d0b, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 70 ms

Resolved: ClamAV performance has improved in 21be8d5.


Back Button issue

I have a problem, When i am in home view i have menubar. When i am click on that it is showing side menu table view. one of the row i can select. Then it will go to next view controller. There i need a back button. And i need go back to home.
Please help me i am not getting the solution.

The question is not clear enough! Please explain more.

I have HomeViewController. Before that i am assigning the swrevealViewController for side menu bar. When i am sliding the menu, there is 5 cells.  if i am selecting one cell, i can navigate to next view controller. In NextViewController i need a back button. But i am unable to get the back button there. If i am click on back button it will return to HomeViewController

I think what you need it to have a menu button in each one of the 5 viewControllers you that you can access from the side menu. and also have one cell for the home view controller. then you can go back to home by tapping the menu (or slide right) then choose the home cell.

That is client requirement. And it is possible in Android easily

I think Then you may do some custom work. like to push the next view controller over the home one when in did select cell in the menu. then you will have the back button. I think then you don't need the menu button on next view controller, the pan gesture it enough. If you do that don't forget to remove the cell push segues.

Thankyou, I will try

But it is unable to pushing the nextViewController.
it is in Side Menu tableview controller
if([[menuItems objectAtIndex:indexPath.row]containsString:@"Help"]  )
{
HomeViewController*home=[HomeViewController new];
[home setNavStr:@"Help"];
}
And it is in Home
-(void)setNavStr:(NSString *)navStr{
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil];
NextViewController *viewController = (NextViewController *)[storyboard instantiateViewControllerWithIdentifier:@"NextViewController"];
[self.navigationController pushViewController:viewController animated:YES];

}
Here it is not navigating to next.


feat: refactor scripts and realms and fix generator serialization

Bug: #562

It turns out ScriptEvaluator and Realm deal with the same domains. I decided to merge them, for ease of readability. And then did some refactoring to try to make function and variable names easier to read.
There's still more refactoring that can be done, but that's it for now.

Yay, all tests are passing. Let me see if I can refactor it a bit more.


ItemCooldownManager#isCooldown(ItemStack) dosen't make sense

As it says in the title, isCooldown doesn't convey what the method does very well (it returns true if the stack has an active cooldown). hasCooldown or similar would be more appropriate and improve readability.

Why not ItemCooldownManager#isActive()?

Why not ItemCooldownManager#isActive()?

To me that would mean that the item isn't cooling down.
Why not just isCoolingDown?


wrong result for simple example

I used the following code:
#include <iostream>
#include <boost/pfr/precise/tuple_size.hpp>

class Base {
    char a;
    int b;
};

class Derived : Base {
    std::string c;
};

int main() {
    std::cout << boost::pfr::tuple_size<Base>::value << std::endl;
    std::cout << boost::pfr::tuple_size<Derived>::value << std::endl;
}

and I got this as output:
1
1

shouldn't it be 2 and 1?
I'm using these 2 compilers:

g++ (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 7.1.0 (under Windows)
Microsoft Visual Studio Community 2017 - Version 15.3.1 - VisualStudio.15.Release/15.3.1+26730.8

class Base has all it's members private and violates the requirements of the library: http://apolukhin.github.io/magic_get/boost_precise_and_flat_reflectio/requirements_and_limitations.html (Base is not aggregate initializable). With C++17 you will get a compile time error, while in C++14 there's no known way to assert that case.
Same story with Derived - all members are private.
If there's some unknown to me trick to detect "all fields are private" case - please give me a hint.

Oh - I completely forgot about the accessibility of class vs struct.
Do you think there is a way to make it work for a type with private fields by friend-ing some trait - perhaps like this: friend struct is_aggregate_initializable_n;?

Hm... There's no way to distinguish between private fields and structure with one field. A trait may be the right solution: if you're doing reflection for structure with one fild, specialize the "I know what I'm doing" trait.
I need to experiment with that. Thanks for the idea!

I've done some thinking :)
Private fields and friends seems to be an exotic use case.
I've updated the docs and now C++17 is recommended (C++14 is supported). With C++17 the initial issue is well diagnosed. Nothing to improve for C++14


[Design] --no-https option for RazorPagesWeb-CSharp template

WIP for #322

cc @Eilon

@javiercn @phenning Updated VS hosts file. When @javiercn approves of this PR I will then send another one that applies similar/same changes to other templates.

@phenning
How does the "useHttps" symbol interact with "noHttps" now? https://github.com/aspnet/templating/pull/362/files#diff-4bd942c800fb90846ee381595d9bc3a1R60
Is there a way I can do some basic VS testing to ensure these two integrate as expected?

You would need the latest 15.7 preview 2 build in order to test. All useHttps does in the ports section is to tell Visual Studio to generate a port in the range of 44300-44399 for that parameter.

ping @javiercn Could you take a look?

@jbagga We're discussing this still. Overall looks good, but there might be some adjustments coming.

Looks good to me

@javiercn Updated. RequiresHttps is now computed using the value of NoHttps as well

@javiercn Added a test to check for the HttpsPolicy package in the .csproj


Bug: Correction of Typos and enhancement of words

Describe the bug
Correction of Typos and Enhacing of the Overall look

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.
Connect Us On social media -

[ ]  Star the repositry
[ ]  GitHub
[ ]   LinkedIn
[ ]   YouTube
[ ]    Discord

Thank you for raising issue in GameSpher 3.0

@Durgesh4993  sir kindly review my PR