Comments (7)
Update: Seems to be an npm issue. Would recommend purging apt's npm with sudo apt purge npm
and then reinstalling with nvm
.
from chatgpt-telegram.
Also failing to launch Headless Browser in Ubuntu, but I get this error:
[pid=16812][err] [16812:16812:1204/202439.161063:ERROR:ozone_platform_x11.cc(247)] Missing X server or $DISPLAY
[pid=16812][err] [16812:16812:1204/202439.161135:ERROR:env.cc(225)] The platform failed to initialize. Exiting.
============================================================
from chatgpt-telegram.
Try running as a sudoer
from chatgpt-telegram.
Thanks for your help! I am running it as sudoer but still nothing. I'm now investingating the -X switch and how to activate it following this https://unix.stackexchange.com/questions/712718/set-display-environment-variable-in-linux
Unix & Linux Stack ExchangeI was trying to launch google chrome from the terminal in an SSH session and an error occurred saying "ERROR:ozone_platform_x11.cc(247)] Missing X server or $DISPLAY". I googled it and fo...
UPDATE: activating -X (flag enables X11 forwarding) also does not solve my issue :(
from chatgpt-telegram.
Also failing to launch Headless Browser in Ubuntu, but I get this error:
[pid=16812][err] [16812:16812:1204/202439.161063:ERROR:ozone_platform_x11.cc(247)] Missing X server or $DISPLAY [pid=16812][err] [16812:16812:1204/202439.161135:ERROR:env.cc(225)] The platform failed to initialize. Exiting. ============================================================
following resolved the issue for me:
export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):0.0
from chatgpt-telegram.
Also failing to launch Headless Browser in Ubuntu, but I get this error:
[pid=16812][err] [16812:16812:1204/202439.161063:ERROR:ozone_platform_x11.cc(247)] Missing X server or $DISPLAY [pid=16812][err] [16812:16812:1204/202439.161135:ERROR:env.cc(225)] The platform failed to initialize. Exiting. ============================================================
following resolved the issue for me:
export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):0.0
I meet the same error on ubuntu. And I try this command to set the env var DISPLAY. But it still fails and reports the same error. Weird.
from chatgpt-telegram.
See the new Browserless Authentication section of the README.
from chatgpt-telegram.
Related Issues (20)
- [SOS] The powershell and Telegram has no response.
- support for openai token:sk- HOT 1
- Couldn't start Telegram bot: Post "https://api.telegram.org/ HOT 2
- Human Verification on chromium HOT 4
- the bot always response error HOT 1
- Support custom model
- Couldn't launch headless browser: Couldn't launch headless browser: could not send message: could not send message to server: HOT 2
- Support for new ChatGPT API? HOT 1
- chromium crashes 10 seconds after opening up.
- Error: api.telegram.org no such host
- Invalid .env config
- 【ChatGPT注册登录攻略】
- Error: Couldn't get access token: failed to decode response: invalid character 'e' looking for beginning of value HOT 4
- can't get connection and I have started the proxy
- please help me
- Gpt
- The bot program is deployed according to the readme, but I am in the telegram, and the bot does not respond
- @MagicBuddyBot - ChatGPT for Telegram
- Error: Couldn't get access token: failed to decode response: invalid character 'e' looking for beginning of value HOT 14
- New login method (with password)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatgpt-telegram.