I downloaded Postgres to try and explore a new database management system, but somehow this error pops-up when I try to open pgAdmin 4. Can anyone explain to me what this error is actually referring to? I am guessing it's about python, since I keep seeing python words within the error log, However I am not sure but I was hoping someone can help me since I am still a beginner when it comes to this kind of stuff.
PostgreSQL Version: 14
The pgAdmin 4 server could not be contacted:
pgAdmin Runtime Environment
--------------------------------------------------------
Python Path: "D:\PostgreSQL\14\pgAdmin 4\python\python.exe"
Runtime Config File: "C:\Users\Kiyoji\AppData\Roaming\pgadmin\runtime_config.json"
pgAdmin Config File: "D:\PostgreSQL\14\pgAdmin 4\web\config.py"
Webapp Path: "D:\PostgreSQL\14\pgAdmin 4\web\pgAdmin4.py"
pgAdmin Command: "D:\PostgreSQL\14\pgAdmin 4\python\python.exe -s D:\PostgreSQL\14\pgAdmin 4\web\pgAdmin4.py"
Environment:
- ALLUSERSPROFILE: C:\ProgramData
- APPDATA: C:\Users\Kiyoji\AppData\Roaming
- CHROME_CRASHPAD_PIPE_NAME: \\.\pipe\crashpad_8700_UBBUTEGACBALMMUN
- CHROME_RESTART: NW.js|Whoa! NW.js has crashed. Relaunch now?|LEFT_TO_RIGHT
- CommonProgramFiles: C:\Program Files\Common Files
- CommonProgramFiles(x86): C:\Program Files (x86)\Common Files
- CommonProgramW6432: C:\Program Files\Common Files
- COMPUTERNAME: KIYOJIPC
- ComSpec: C:\Windows\system32\cmd.exe
- FP_NO_HOST_CHECK: NO
- HOMEDRIVE: C:
- HOMEPATH: \Users\Kiyoji
- LOCALAPPDATA: C:\Users\Kiyoji\AppData\Local
- LOGONSERVER: \\KIYOJIPC
- MySQL: C:\Program Files\MySQL\MySQL Server 8.0\bin
- NUMBER_OF_PROCESSORS: 4
- OS: Windows_NT
- Path: C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\dotnet\;C:\xampp\php;D:\PostgreSQL\14\bin;C:\Program Files\MySQL\MySQL Server 8.0\bin;C:\Users\Kiyoji\AppData\Local\Programs\Python\Python39\Scripts\;C:\Users\Kiyoji\AppData\Local\Programs\Python\Python39\;C:\Users\Kiyoji\AppData\Local\Programs\Microsoft VS Code\bin;C:\xampp\php;D:\PostgreSQL\14\bin
- PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
- PGADMIN_INT_KEY: 90c70a2c-0108-4e20-9d82-111ec9a69f9c
- PGADMIN_INT_PORT: 5047
- PGADMIN_SERVER_MODE: OFF
- postgre: D:\PostgreSQL\14\bin
- PROCESSOR_ARCHITECTURE: AMD64
- PROCESSOR_IDENTIFIER: AMD64 Family 21 Model 101 Stepping 1, AuthenticAMD
- PROCESSOR_LEVEL: 21
- PROCESSOR_REVISION: 6501
- ProgramData: C:\ProgramData
- ProgramFiles: C:\Program Files
- ProgramFiles(x86): C:\Program Files (x86)
- ProgramW6432: C:\Program Files
- PSModulePath: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
- PT8HOME: C:\Program Files\Cisco Packet Tracer 8.1.1
- PUBLIC: C:\Users\Public
- SESSIONNAME: Console
- SystemDrive: C:
- SystemRoot: C:\Windows
- TEMP: C:\Users\Kiyoji\AppData\Local\Temp
- TMP: C:\Users\Kiyoji\AppData\Local\Temp
- USERDOMAIN: KiyojiPC
- USERNAME: Kiyoji
- USERPROFILE: C:\Users\Kiyoji
- VBOX_HWVIRTEX_IGNORE_SVM_IN_USE: 1
- windir: C:\Windows
- windows_tracing_flags: 3
- windows_tracing_logfile: C:\BVTBin\Tests\installpackage\csilogfile.log
--------------------------------------------------------
Total spawn time to start the pgAdmin4 server: 0.035 Sec
Related
I am writing appspec.yml file in which downloading the artifacts from CodeBuild step.
I can see the the the appspec.yml is working partially.
Copying the artifacts to certain location is working but the hooks to trigger the script is not working.
I am using a windows based os and wants to trigger the powershell file.
version: 0.0
os: windows
files:
- source: \abc.zip
destination: C:\Downloads
- source: \bcd.zip
destination: C:\Scripts
file_exists_behavior: OVERWRITE
Hooks:
AfterInstall:
- location: \after-install.ps1
runas: administrator
timeout: 900
I tried with this appspec.yml as well but still it's having the same output file section working but hooks not working.
version: 0.0
os: windows
files:
- source: \abc.zip
destination: C:\Downloads
- source: /
destination: C:\Scripts
file_exists_behavior: OVERWRITE
Hooks:
AfterInstall:
- location: C:\Scripts\after-install.ps1
runas: administrator
timeout: 900
after-install.ps1 is having a small script of creation of some environment variables and folder for logs. which is tested and verified by running manually inside the server.
I've been struggling to run some tests on selenium using a docker on macOS Monterey recently. No issues with these tests on a Windows machine though, so I thought it might be somehow related to the macOS. I'm using docker-compose.
Here are some relevant error messages from the logs:
test_email-1 | --- Failed steps:
test_email-1 |
test_email-1 | Scenario: Access to <edited> # features/login copy.feature:7
test_email-1 | When I navigate to "https://<edited>" # features/login copy.feature:9
test_email-1 | Error: org.openqa.selenium.NoSuchSessionException: Unable to execute request for an
existing session: Unable to find session with ID:
test_email-1 | Build info: version: '4.1.2', revision: '9a5a329c5a'
test_email-1 | System info: host: '9d1d3cff9e3e', ip: '172.19.0.2', os.name: 'Linux',
os.arch: 'amd64', os.version: '5.10.76-linuxkit', java.version: '11.0.13'
test_email-1 | Driver info: driver.version: unknown
test_email-1 |
test_email-1 | 1 scenarios (1 failed)
test_email-1 | 10 steps (1 failed, 9 skipped)
For some reason, the session ID is blank.
Some notable errors in the logs from the hub:
tests-hub-1 | 10:33:35.570 WARN [SeleniumSpanExporter$1.lambda$export$0] -
{"eventTime": 1644402815478448222,"eventName": "exception","attributes":
{"driver.url": "<localhost url>","exception.message": "Error while creating session with the
driver service. Stopping driver service: unknown error: DevToolsActivePort file doesn't exist\n
(Driver info: chromedriver=98.0.4758.80 (<...>),platform=Linux 5.10.76-linuxkit x86_64)
(WARNING: The server did not provide any stacktrace information)\n
Command duration or timeout: 60.24 seconds\n
Build info: version: '4.1.2', revision: '9a5a329c5a'\n
System info: host: '9d1d3cff9e3e', ip: '172.19.0.2', os.name: 'Linux', os.arch: 'amd64',
os.version: '5.10.76-linuxkit', java.version: '11.0.13'\nDriver info: driver.version: unknown",
"exception.stacktrace": "org.openqa.selenium.WebDriverException:
unknown error: DevToolsActivePort file doesn't exist\n
<...>
What has been tried so far:
Updating and reinstalling selenium
Updating and reinstalling chromedriver
Restarting the docker-compose multiple times
Reinstalled Java
Checked if the ports aren't blocked
Tried running docker-compose and tests with and without root
Tried using shm_size instead of volume
Added these flags to chromedriver: --disable-dev-shm-usage, --no-sandbox
Perhaps anyone has any ideas of how to fix this or at least what should I look into when resolving this?
Edit: adding the docker-compose config:
version: '3'
services:
test:
image: <edited>:latest
networks:
- default
tty: true
volumes:
- .:/tests
depends_on:
- hub
entrypoint: "go run tests/cmd/runner"
test_email:
image: <edited>:latest
networks:
- default
tty: true
volumes:
- .:/tests
depends_on:
- hub
entrypoint: "go run tests/cmd/runner"
hub:
image: selenium/standalone-chrome:latest
networks:
- default
ports:
- "4449:4444"
- "5900:5900"
networks:
default:
driver: bridge
P.S. I'm still a novice in dockers and selenium, so please forgive me if I missed something important. Thanks in advance!
I have oracle which I installed via docker-compose:
version: '2.4'
services:
oracle:
image: quay.io/maksymbilenko/oracle-xe-11g
ports:
- 1521:1521
- 7080:8080
I have to create my ORACLE_HOME environment variable: ORACLE_HOME = Directory path (Example D:\oracle)
Add to the path variable:%ORACLE_HOME%\bin;
Add the tnsnames.ora file to the folder of the installed oracle client /network/admin.
Where can i find all this in Windows 10?
guys i am trying to start mongod service with authentication , it ask me to give the database path , so i pass a config parameter with the following , putting in mind that i am already in the directory of the mongod service C:\Program Files\MongoDB\Server\4.2\bin
mongod --auth --config "C:\Program Files\MongoDB\Server\4.2\bin\mongod.cfg"
as the configuration file has the dbpath , but cmd get stuck
here is the configuration file
# mongod.conf
# for documentation of all options, see:
# http://docs.mongodb.org/manual/reference/configuration-options/
# Where and how to store data.
storage:
dbPath: C:\Program Files\MongoDB\Server\4.2\data
journal:
enabled: true
# engine:
# mmapv1:
# wiredTiger:
# where to write logging data.
systemLog:
destination: file
logAppend: true
path: C:\Program Files\MongoDB\Server\4.2\log\mongod.log
# network interfaces
net:
port: 27017
bindIp: 127.0.0.1
#processManagement:
#security:
#operationProfiling:
#replication:
#sharding:
## Enterprise-Only Options:
#auditLog:
#snmp:
Add these to your config file:
processManagement:
windowsService:
serviceName: MongoDB
displayName: MongoDB
description: MongoDB Server - Standalone DB
security:
authorization: enabled
Then you can install the service with this command:
mongod.exe --config "C:\Program Files\MongoDB\Server\4.2\bin\mongod.cfg" --install
After you created the service, you cas start either from "Service" or by command line with
net start MongoDB
In order to stop/remove a service (entirely!) run
net stop MongoDB
sc config MongoDB start=disabled
mongod.exe --config "C:\Program Files\MongoDB\Server\4.2\bin\mongod.cfg" --remove
rmdir /S "C:\Program Files\MongoDB\Server\4.2\data"
In our project repository we have an appveyor.yml which is setup for our .NET web applications (with things like assembly patching, nuget restore, etc.). If everything succeeds, our application is deployed to a staging and production environment. The .NET solution is located in repo/src/.
In the same repository we also create our HTML templates located in repo/frontend/. We would like to do a deploy of these HTML-files to a FTP host. This Frontend configuration should be run before the other configurations, but logically fails on assembly_info and nuget restore when no .NET solution is created.
Is it possible to create an appveyor configuration which can deploy our Frontend configuration to FTP and optionally continue with the Debug and Release configurations when a .NET solution is available?
Our configuration file this far:
version: 1.0.0.{build}
branches:
only:
- develop
- /release\/\d+.\d+.\d+/
- master
image: Visual Studio 2015
matrix:
fast_finish: true # set this flag to immediately finish build once one of the jobs fails.
allow_failures:
- platform: x86
configuration: Debug
- platform: x86
configuration: Release
assembly_info:
patch: true
file: AssemblyInfo.*
assembly_version: "{version}"
assembly_file_version: "{version}"
assembly_informational_version: "{version}"
nuget:
account_feed: true
configuration:
- Frontend
- Debug
- Release
build:
publish_wap: true
verbosity: minimal
before_build:
- cmd: nuget restore src\ProjectName.Web.sln
test: off
artifacts:
- path: frontend/dist/
name: frontenddist
deploy:
- provider: FTP
host: 0.0.0.0
protocol: ftp
username: username
password:
secure: password
folder: frontend-test
application: frontenddist
beta: true
on:
branch: develop
configuration: frontend
- provider: Environment
name: ProjectName.Development
remove_files: true
on:
branch: develop
configuration: debug
- provider: Environment
name: ProjectName.Production
remove_files: false
on:
branch: master
configuration: release
notifications:
- provider: Slack
incoming_webhook: # removed for stackoverflow example
on_build_success: true
on_build_failure: true
on_build_status_changed: false
Answer in AppVeyor forum discussion