LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-08-2019, 03:36 PM   #16
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 5,820

Rep: Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541

Try adding this line after the cd command in the # Install binary portion of the SlackBuild. It removes the check for python-config and will only check for python3-config.

Code:
sed -i 59,63d pgAdmin4.pro
 
1 members found this post helpful.
Old 03-09-2019, 08:31 AM   #17
TurboBlaze
Member
 
Registered: Jan 2018
Location: Russian Federation, Lipetsk region, Dankov
Distribution: Porteus
Posts: 42

Original Poster
Rep: Reputation: Disabled
Thank you so much for your help!

I'am not able to edit my 1st post.

A new pgadmin4.tar.gz (pgadmin4.SlackBuild)
Package that I builded pgadmin4-4.3-x86_64-1_SBo.txz
This is deps for run pgadmin4 pgadmin4-deps-for-run.tar.gz
Code:
Flask-HTMLmin-1.2-x86_64-3_slonly.txz
asn1crypto-0.21.1-x86_64-2_slonly.txz
cffi-1.10.0-x86_64-2_slonly.txz
cryptography-1.8.1-x86_64-6_slonly.txz
enum34-1.1.6-x86_64-1_slonly.txz
htmlmin-0.1.10-x86_64-2_slonly.txz
ipaddress-1.0.17-x86_64-1_slonly.txz
packaging-16.8-x86_64-3_slonly.txz
paramiko-2.1.2-x86_64-1_slonly.txz
psutil-5.3.0-x86_64-1_slonly.txz
pyasn1-0.1.9-x86_64-2_slonly.txz
python-idna-2.8-x86_64-2.txz
sqlparse-0.2.3-x86_64-1_slonly.txz
sshtunnel-0.1.4-x86_64-2cf.txz
I tested this with pgadmin4-build-deps.tar.gz
Quote:
That is asking for flask-bablex. I'm not sure if you'd require flask-bable itself (I don't think so,
because flask-bablex states it is API compatible with flask-bable).

It looks like that might require flask-sphinx-themes to be in docs/_themes/ before attempting to compile. If you're just
cloning the git, you can do this automatically once in the main source
folder by running:
Code:
git submodule init
git submodule update
Code:
cd /tmp

git clone https://github.com/miguelgrinberg/flask-paranoid.git
cd flask-paranoid
python setup.py install
cd ..

git clone https://github.com/miguelgrinberg/Flask-Migrate.git
cd Flask-Migrate
python setup.py install
cd ..
With pgadmin4-4.2-1-x86_64-archlinux.txz from Nemesis
Code:
python /usr/lib/pgadmin4/web/pgAdmin4.py
Starting pgAdmin 4. Please navigate to http://127.0.0.1:5050 in your browser.
----------------------------------------
Screenshots:
https://i.imgur.com/ZApT85O.png
https://i.imgur.com/YkcGi4C.png -> icon of pgAdmin4 is normal

With package that I builded pgadmin4-4.3-x86_64-1_SBo.txz
Code:
python /usr/lib64/pgadmin4/web/pgAdmin4.py
Starting pgAdmin 4. Please navigate to http://127.0.0.1:5050 in your browser.
Screenshots:
https://i.imgur.com/46VnxHu.png
https://i.imgur.com/uKaQwq5.png -> icon of pgAdmin4 is strange


Anyway I can't run pgAdmin4 in start menu - I get this error

https://i.imgur.com/Dy4ub7S.png
https://i.imgur.com/P4MrcQ2.png
https://i.imgur.com/SqT9kXU.png
https://i.imgur.com/C9xAwAl.png
https://i.imgur.com/0ib5YVe.png
https://i.imgur.com/MVrhp1F.png

In web menu (in browser http://127.0.0.1:5050) I can't to use correctly pgadmin4-4.2-1-x86_64-archlinux.txz from Nemesis, because it gives me a lot of errors.

In web menu (in browser http://127.0.0.1:5050) with my pgadmin4-4.3-x86_64-1_SBo.txz I can't to use this too >>> https://i.imgur.com/46VnxHu.png

I like old pgAdmin3, but it supports only PostgreSQL 8.4 - 9.5
pgAdmin4 is hell with a fat dependencies

It's call to Slackware Team!

Regards,
Blaze

Last edited by TurboBlaze; 03-10-2019 at 01:05 AM.
 
Old 03-09-2019, 04:27 PM   #18
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 5,820

Rep: Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541
I just tried building some things now that I have some time to work on the dependencies.

I think your problem is you are not properly building the "docs" portion of the compile, which causes the webpage to fail. Because I had to add many more dependencies to be able to properly build that portion, with none of them being in your list. A few that required me creating SlackBuilds for them since they weren't on SBo (the ones highlighted in red).

Code:
Flask-1.0.2-x86_64-1_SBo
werkzeug-0.14.1-x86_64-1_SBo
click-7.0-x86_64-1_SBo
itsdangerous-0.24-x86_64-1_SBo
flask-babelex-d699306-x86_64-1_SBo
Flask-Login-0.4.1-x86_64-1_SBo
Flask-Mail-0.9.1-x86_64-1_SBo
blinker-1.4-x86_64-1_SBo
flask-paranoid-0.2-x86_64-1_SBo
Flask-Security-1.7.5-x86_64-1_SBo
Flask-Principal-0.4.0-x86_64-1_SBo
passlib-1.7.1-x86_64-1_SBo
Flask-WTF-0.14.2-x86_64-1_SBo
WTForms-2.1-x86_64-1_SBo
Flask-SQLAlchemy-2.3.0-x86_64-1_SBo
SQLAlchemy-1.2.16-x86_64-1_SBo
simplejson-3.16.1-x86_64-1_SBo
Flask-Migrate-2.4.0-x86_64-1_SBo
Mako-1.0.7-x86_64-1_SBo
python-editor-1.0.3-x86_64-1_SBo
alembic-1.0.0-x86_64-1_SBo
Flask-Gravatar-0.4.2-x86_64-1_SBo
There may be additional dependencies that aren't documented here since they were already built on my system. The SlackBuilds I created were pushed to my github, but they don't have generated slack-desc or README files, so they aren't ready to be pushed to SBo. I also haven't documented any dependencies the packages may need.

Flask-Migrate
flask-babelex
flask-paranoid

The way I tested the compile was the method they use in their Makefile to build docs, but this should be the same as running make docs. I'm not sure why you got a completed

Code:
LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 make -C docs/en_US -f Makefile.sphinx html


I decided to just finish building it and running it. Good grief! There's a LOT of dependencies with this program (I've installed 42 today, and I know there were some dependencies I already had installed, so this number will definitely be higher for a clean system). I had to create several SlackBuilds for things that didn't exist on SBo (more than the 3 above... I think I also had to create sshtunnel, py-bcrypt, and pynacl). Once I was able to finally run the server, I ran into the same problem you did. Looking on the console, I saw the following error:

Code:
2019-03-09 15:12:19,713: ERROR  flask.app:      404 Not Found: The requested URL was not found on the server.  If you entered the URL manually please check your spelling and try again.
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/flask/app.py", line 1813, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/lib64/python2.7/site-packages/flask/app.py", line 1799, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/usr/lib64/python2.7/site-packages/flask/helpers.py", line 976, in send_static_file
    cache_timeout=cache_timeout)
  File "/usr/lib64/python2.7/site-packages/flask/helpers.py", line 709, in send_from_directory
    raise NotFound()
NotFound: 404 Not Found: The requested URL was not found on the server.  If you entered the URL manually please check your spelling and try again.
Noticing this had a bunch of python2.7 errors, I remembered you were wanting python3 to run this, so I changed the /usr/bin/pgadmin4-server script to call python3 instead of python. This then notified me that I was missing Flask, which meant that it wasn't compiled against python3 (and I looked and the the one on SBo only does python2 compiling), so I grabbed that SlackBuild, modified it to do python3, rebuilt it, and reinstalled it, then I was notified I was missing wekzeug, which the SlackBuild also only generates a python2 package. At this point, I'd spent a decent part of the afternoon working on it, and I had other things to do, so I may continue to work on this later, but no guarantees right now.

You may just need to make sure that all python based dependencies are compiled against python3 and then hopefully things will work.

However, I was able to compile this against a release and didn't need to tweak that file you mentioned earlier. The SlackBuild I created is below and I used the following release:

Code:
https://github.com/postgres/pgadmin4/archive/REL-4_3/pgadmin4-REL-4_3.tar.gz
Hopefully you can get things a bit further.

Code:
#!/bin/sh

# Slackware build script for pgadmin4

# Copyright 2019 Jeremy Hansen jebrhansen+SBo -at- gmail.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
#
#  THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
#  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
#  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO
#  EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
#  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
#  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
#  OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
#  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
#  OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
#  ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

PRGNAM=${PRGNAM:-pgadmin4}
VERSION=${VERSION:-4.3}
SRCVER=${SRCVER:-REL-4_3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}

if [ -z "$ARCH" ]; then
  case "$( uname -m )" in
    i?86) ARCH=i586 ;;
    arm*) ARCH=arm ;;
    *) ARCH=$( uname -m ) ;;
  esac
fi

CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}

if [ "$ARCH" = "i586" ]; then
  SLKCFLAGS="-O2 -march=i586 -mtune=i686"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
  SLKCFLAGS="-O2 -march=i686 -mtune=i686"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
  SLKCFLAGS="-O2 -fPIC"
  LIBDIRSUFFIX="64"
else
  SLKCFLAGS="-O2"
  LIBDIRSUFFIX=""
fi

set -e

rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$SRCVER
tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
cd $PRGNAM-$SRCVER
chown -R root:root .
find -L . \
 \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
  -o -perm 511 \) -exec chmod 755 {} \; -o \
 \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
  -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;

convert +set date:create +set date:modify runtime/pgAdmin4.{ico,png}
make docs

cd runtime/
sed -i 59,63d pgAdmin4.pro
qmake-qt5 CONFIG+=release
make
cd ..

# Install binary
install -Dm 755 runtime/pgAdmin4 "$PKG/usr/lib$LIBDIRSUFFIX/pgadmin4/runtime/pgAdmin4"

# Install icons
install -Dm 644 runtime/pgAdmin4-0.png "$PKG/usr/share/icons/hicolor/256x256/apps/pgAdmin4.png"
install -Dm 644 runtime/pgAdmin4-1.png "$PKG/usr/share/icons/hicolor/48x48/apps/pgAdmin4.png"
install -Dm 644 runtime/pgAdmin4-2.png "$PKG/usr/share/icons/hicolor/32x32/apps/pgAdmin4.png"
install -Dm 644 runtime/pgAdmin4-3.png "$PKG/usr/share/icons/hicolor/16x16/apps/pgAdmin4.png"

# Install docs/ and web/ folders
cp -a docs web "$PKG/usr/lib$LIBDIRSUFFIX/pgadmin4"

# Add possibly needed config files
touch $PKG/usr/lib$LIBDIRSUFFIX/pgadmin4/web/config_local.py
install -Dm 644 /dev/stdin "$PKG/usr/lib$LIBDIRSUFFIX/pgadmin4/web/config_distro.py" <<END
SERVER_MODE = False
HELP_PATH = "/usr/lib$LIBDIRSUFFIX/pgadmin4/docs/en_US/_build/html/"
END

# Install .desktop file
install -Dm 755 /dev/stdin "$PKG/usr/share/applications/pgAdmin4.desktop" <<END
[Desktop Entry]
Encoding=UTF-8
Name=pgAdmin 4
Exec=/usr/lib$LIBDIRSUFFIX/pgadmin4/runtime/pgAdmin4
Icon=pgAdmin4
Type=Application
Categories=Application;Development;Database;
MimeType=text/html
DocPath=/usr/lib$LIBDIRSUFFIX/pgadmin4/docs/en_US/_build/html/index.html
Comment=PostgreSQL Tools
Keywords=database;db;sql;query;administration;development;
END

# Install scripts to /usr/bin
install -Dm 755 /dev/stdin "$PKG/usr/bin/pgadmin4" <<END
#!/bin/sh
cd /usr/lib$LIBDIRSUFFIX/pgadmin4
exec runtime/pgAdmin4 "\$@"
END

install -Dm 755 /dev/stdin "$PKG/usr/bin/pgadmin4-server" <<END
#!/bin/sh
cd /usr/lib$LIBDIRSUFFIX/pgadmin4
python3 web/pgAdmin4.py "\$@"
END

mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
 
1 members found this post helpful.
Old 03-10-2019, 01:05 AM   #19
TurboBlaze
Member
 
Registered: Jan 2018
Location: Russian Federation, Lipetsk region, Dankov
Distribution: Porteus
Posts: 42

Original Poster
Rep: Reputation: Disabled
bassmadrigal, wow, you are done awsome job!

Quote:
Originally Posted by bassmadrigal View Post
There may be additional dependencies that aren't documented here
I use slackware64-live-plasma5-current.iso by Eric Hameleers
http://bear.alienbase.nl/mirrors/slackware-live/latest/
Many dependencies are already included in this image.

Take your time. If goes good, at this summer I will plan to migrate database from MS SQL Server 2012 SP2 to PostgeSQL.

BTW, you are skip pgadmin4-python-de-vendor-venv-paths.patch
Code:
--- ./runtime/Server.cpp	2019-03-08 22:23:38.382000000 -0800
+++ /tmp/Server.cpp	2019-03-08 22:33:04.592000000 -0800
@@ -100,11 +100,11 @@
     // if users move the app bundle, we'll end up with dead entries
 
     // Build (and canonicalise) the virtual environment path
-    QFileInfo venvBinPath(app_dir + "/../Resources/venv/bin");
-    QFileInfo venvLibPath(app_dir + "/../Resources/venv/lib/python");
-    QFileInfo venvDynLibPath(app_dir + "/../Resources/venv/lib/python/lib-dynload");
-    QFileInfo venvSitePackagesPath(app_dir + "/../Resources/venv/lib/python/site-packages");
-    QFileInfo venvPath(app_dir + "/../Resources/venv");
+    QFileInfo venvBinPath("/usr/bin");
+    QFileInfo venvLibPath("/usr/lib/python##PYTHONVERSION##");
+    QFileInfo venvDynLibPath("/usr/lib/python##PYTHONVERSION##/lib-dynload");
+    QFileInfo venvSitePackagesPath("/usr/lib/python##PYTHONVERSION##/site-packages");
+    QFileInfo venvPath("/usr/lib/python##PYTHONVERSION##");
 
     // Prepend the bin directory to the path
     add_to_path(path_env, venvBinPath.canonicalFilePath(), true);
I added to pgadmin4.SlackBuild
Code:
patch -Np1 < $OUTPUT/$PRGNAM/pgadmin4-python-de-vendor-venv-paths.patch

PYTHONVERSION="$(python3 -V | awk '{print $2}' | cut -d '.' -f 1-2)"
  sed -E "s|/usr/pgadmin4/web|/usr/lib${LIBDIRSUFFIX}/pgadmin4/web|g;
          s|/usr/pgadmin4/lib/python[0-9\\.]+|/usr/lib${LIBDIRSUFFIX}/python${PYTHONVERSION}|g" \
      -i $TMP/$PRGNAM-$SRCVER/runtime/ConfigWindow.ui
  sed "s|##PYTHONVERSION##|${PYTHONVERSION}|g" -i $TMP/$PRGNAM-$SRCVER/runtime/Server.cpp
Download >>> pgadmin4.tar.gz (added pgadmin4-python-de-vendor-venv-paths.patch) <<<

Last edited by TurboBlaze; 03-10-2019 at 01:49 PM.
 
Old 03-11-2019, 12:56 AM   #20
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 5,820

Rep: Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541
Ok, I finally got everything rebuilt with python3 support (pretty much all Flask-* programs require manually adding python3 support as well as many of their dependencies -- I had to rebuild 20 packages and add two new ones) and I'm still running into the same issue. I'm really not sure what's causing it, but I did tweak the config (set CONSOLE_LOG_LEVEL in /usr/lib64/pgadmin4/web/config.py to logging.NOTSET)to provide more output and I found it was not able to access these files:

Code:
2019-03-10 23:26:59,460: INFO   werkzeug:       127.0.0.1 - - [10/Mar/2019 23:26:59] "GET /static/js/generated/style.css?ver=40300 HTTP/1.1" 404 -
2019-03-10 23:26:59,461: INFO   werkzeug:       127.0.0.1 - - [10/Mar/2019 23:26:59] "GET /static/js/generated/vendor.js?ver=40300 HTTP/1.1" 404 -
2019-03-10 23:26:59,461: INFO   werkzeug:       127.0.0.1 - - [10/Mar/2019 23:26:59] "GET /static/js/generated/pgadmin.css?ver=40300 HTTP/1.1" 404 -
2019-03-10 23:26:59,461: INFO   werkzeug:       127.0.0.1 - - [10/Mar/2019 23:26:59] "GET /static/js/generated/pgadmin_commons.js?ver=40300 HTTP/1.1" 404 -
2019-03-10 23:26:59,571: INFO   werkzeug:       127.0.0.1 - - [10/Mar/2019 23:26:59] "GET /static/js/generated/vendor.js?ver=40300 HTTP/1.1" 404 -
2019-03-10 23:26:59,580: INFO   werkzeug:       127.0.0.1 - - [10/Mar/2019 23:26:59] "GET /static/js/generated/pgadmin_commons.js?ver=40300 HTTP/1.1" 404 -
2019-03-10 23:26:59,714: INFO   werkzeug:       127.0.0.1 - - [10/Mar/2019 23:26:59] "GET /static/js/generated/app.bundle.js?ver=40300 HTTP/1.1" 404 -
And that is because the /static/js/generated/ (/usr/lib64/pgadmin4/web/pgadmin/browser/static/js/generated/) folder doesn't exist and I have no idea how it's created. I did create it myself and moved style.css and pgadmin.css over, and it still complains they don't exist (none of the js files exist in the package). This might be something generated on the fly by python, but I have no idea how it's done.

Looking at the main Makefile, there are several commands that cd into the web/ directory, but they then run "yarn", which from reading seems like a pip type of program. I worry about those types of things installing things into the system that aren't tracked by pkgtools. Also, digging into some of the code that contains the filenames that are missing, it seems like webpack might need to be used as well, but that's not on SBo and I ran out of weekend to test it and won't have any time this next week since I will be out of town on a business trip.

Good luck, because I'm not sure I will be able to continue to tackle this next week. I should've spent more time this weekend working on house projects, and I should make more time next weekend.
 
Old 03-11-2019, 02:38 PM   #21
TurboBlaze
Member
 
Registered: Jan 2018
Location: Russian Federation, Lipetsk region, Dankov
Distribution: Porteus
Posts: 42

Original Poster
Rep: Reputation: Disabled
I am really so sorry for you time.

I found this solution:
Quote:
Hi Ladislav,

After taking the latest pull from git HEAD:

1. Install all Python dependent packages
`$ pip install -r requirements.txt`

2. Install all NPM packages
$ cd web and run yarn install

3. Run pgAdmin4 server and browse to 'http://127.0.0.1:5050'
`$ python pgAdmin4.py`

Thanks,
Surinder
I installed these deps:
Code:
yarn
npm
node
libuv (no lower than 1.26.0)
c-ares
and added this code to SlackBuild - pgadmin4.tar.gz
Code:
cd web/
yarn install
cd ..
after this I get a big folder /usr/lib64/pgadmin4/web/node_modules/
I checked this folder in Nemesis package pgadmin4-4.2-1-x86_64-archlinux.txz that I builded and he does not have this stuff. Probably we are done 1 main mistake - we are try python3 to all stuff (including deps and pgadmin4). If look at pgadmin4-4.2-1-x86_64-archlinux.txz - seems he is use python2.7. Update. Yes, I confirm this.

Anyway, with SBo I have a blank page with these items:
Code:
Loading pgAdmin 4 v4.3...
 pgAdmin 4

    File
    Edit
    Object
    Management
    Tools
    Help
BTW, if open http://127.0.0.1:5050 in browser and press F12, I see that many of js are not loaded.

Update.
I successfully running with Nemesis package pgadmin4-4.2-1-x86_64-archlinux.txz, but I replaced this dep cryptography-1.8.1-x86_64-6_slonly.txz on the python-cryptography-2.4.2-x86_64-1dj.txz

Look at this screenshot https://i.imgur.com/qB7tWzl.png

This is list of deps that is need to run pgAdmin4:
Code:
Flask-0.12.2-x86_64-2_slonly
Flask-Gravatar-0.4.2-x86_64-3_slonly
Flask-HTMLmin-1.2-x86_64-3_slonly
Flask-Login-0.4.0-x86_64-3_slonly
Flask-Mail-0.9.1-x86_64-4_slonly
Flask-Migrate-2.4.0-x86_64-1_SBo
Flask-Principal-0.4.0-x86_64-4_slonly
Flask-SQLAlchemy-2.1-x86_64-5_slonly
Flask-Security-1.7.5-x86_64-2_slonly
Flask-WTF-0.14.2-x86_64-3_slonly
Jinja2-2.7.3-x86_64-2_slonly
MarkupSafe-0.23-x86_64-2_slonly
SQLAlchemy-1.1.13-x86_64-1_slonly
WTForms-2.1-x86_64-2_slonly
asn1crypto-0.21.1-x86_64-2_slonly
babel-2.5.3-x86_64-1ponce
blinker-1.4-x86_64-2_slonly
cffi-1.10.0-x86_64-2_slonly
click-7.0-x86_64-1dj
enum34-1.1.6-x86_64-1_slonly
flask-babelex-d699306-x86_64-1_SBo
flask-paranoid-0.2-x86_64-1_SBo
htmlmin-0.1.10-x86_64-2_slonly
ipaddress-1.0.17-x86_64-1_slonly
itsdangerous-0.24-x86_64-2_slonly
paramiko-2.1.2-x86_64-1_slonly
passlib-1.7.1-x86_64-2_slonly
pgadmin4-4.2-1-x86_64-archlinux
postgresql-11.2-x86_64-1_SBo
psutil-5.3.0-x86_64-1_slonly
psycopg2-2.7.7-x86_64-2cf
pyasn1-0.1.9-x86_64-2_slonly
python-cryptography-2.4.2-x86_64-1dj
python-dateutil-2.6.1-x86_64-2_slonly
python-idna-2.8-x86_64-2
pytz-2018.3-x86_64-1ponce
simplejson-3.16.1-x86_64-1cf
sqlparse-0.2.3-x86_64-1_slonly
sshtunnel-0.1.4-x86_64-2cf
werkzeug-0.9.4-x86_64-2_slonly
One thing - I can't to able to run /usr/lib/pgadmin4/runtime/pgAdmin4 via icon /usr/share/applications/pgAdmin4.desktop at the start menu
Code:
/usr/lib/pgadmin4/runtime/pgAdmin4
QStandardPaths: wrong ownership on runtime directory /tmp/xdg-runtime-guest, 1000 instead of 0
org.kde.knotifications: env says KDE is running but SNI unavailable -- check KDE_FULL_SESSION and XDG_CURRENT_DESKTOP
Python path:  "/usr/lib64/python2.7/site-packages:/usr/lib64/python2.7" 
Python Home:  ""
Fatal Python error: initfsencoding: Unable to get the locale encoding
  File "/usr/lib64/python2.7/encodings/__init__.py", line 123
    raise CodecRegistryError,\
                            ^
SyntaxError: invalid syntax

Current thread 0x00007f9e35e25780 (most recent call first):
Аварийный останов
BTW, /usr/lib/pgadmin4/runtime/pgAdmin4 in Nemesis pakage (I mean pgadmin4-4.2-1-x86_64-archlinux) requires python3 for run it.
Code:
/usr/lib/pgadmin4/runtime/pgAdmin4
/usr/lib/pgadmin4/runtime/pgAdmin4: error while loading shared libraries: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory
Regards,
Blaze

Last edited by TurboBlaze; 03-13-2019 at 02:04 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
pgadmin postgresql install HeyAZ Fedora 5 12-22-2009 02:40 PM
Is there a forum for postgresql, pgadmin? g.ky73 Linux - Newbie 3 03-23-2009 04:43 PM
Looking for GUI MySQL tool like pgadmin asplus Linux - Server 2 12-12-2007 10:23 PM
I need help! pgAdmin make fails dickgregory Linux - Software 1 09-27-2005 12:55 PM
Error connecting to postgres with pgAdmin koswo Linux - Software 1 02-10-2004 07:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration