Comments (4)
I currently have no real solution to this problem. But a similar problem we encounter with PySide2, where we had to explicitly set an environment variable QT_API.
However, there seems to be a general problem with the display qt.qpa.xcb: could not connect to display
; Could it be that you are executing the labeler in a virtual machine or a docker that might cause the problem?
from point_labeler.
@jbehley Yes. I was running on it with a docker. When I try to build it without virtual machine or a docker, I continuously fail to build glow. Could you take a look?
------------------------------------------------------------
Profile: default
Extending: None
Workspace: /home/tackang/catkin_ws
------------------------------------------------------------
Build Space: [exists] /home/tackang/catkin_ws/build
Devel Space: [exists] /home/tackang/catkin_ws/devel
Install Space: [unused] /home/tackang/catkin_ws/install
Log Space: [missing] /home/tackang/catkin_ws/logs
Source Space: [exists] /home/tackang/catkin_ws/src
DESTDIR: [unused] None
------------------------------------------------------------
Devel Space Layout: linked
Install Space Layout: None
------------------------------------------------------------
Additional CMake Args: None
Additional Make Args: None
Additional catkin Make Args: None
Internal Make Job Server: True
Cache Job Environments: False
------------------------------------------------------------
Whitelisted Packages: None
Blacklisted Packages: None
------------------------------------------------------------
NOTE: Forcing CMake to run for each package.
------------------------------------------------------------
------------------------------------------------------------
WARNING: Your workspace is not extending any other result
space, but it is set to use a `linked` devel space layout.
This requires the `catkin` CMake package in your source
space in order to be built.
------------------------------------------------------------
[build] Found '3' packages in 0.0 seconds.
[build] Updating package table.
Starting >>> catkin
_______________________________________________________________________________________________________________________
Warnings << catkin:cmake /home/tackang/catkin_ws/logs/catkin/build.cmake.000.log
CMake Deprecation Warning at /usr/src/googletest/CMakeLists.txt:4 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at /usr/src/googletest/googlemock/CMakeLists.txt:45 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at /usr/src/googletest/googletest/CMakeLists.txt:56 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
cd /home/tackang/catkin_ws/build/catkin; catkin build --get-env catkin | catkin env -si /home/tackang/.local/bin/cmake /home/tackang/catkin_ws/src/catkin --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/tackang/catkin_ws/devel/.private/catkin -DCMAKE_INSTALL_PREFIX=/home/tackang/catkin_ws/install; cd -
.......................................................................................................................
Finished <<< catkin [ 6.1 seconds ]
Starting >>> glow
_______________________________________________________________________________________________________________________
Errors << glow:cmake /home/tackang/catkin_ws/logs/glow/build.cmake.000.log
CMake Deprecation Warning at /usr/src/googletest/CMakeLists.txt:4 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at /usr/src/googletest/googlemock/CMakeLists.txt:45 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at /usr/src/googletest/googletest/CMakeLists.txt:56 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
/home/tackang/catkin_ws/devel/.private/glow/env.sh: 4: /tmp/setup.sh.TwgdtnwNYE: Syntax error: "(" unexpected
Traceback (most recent call last):
File "/home/tackang/catkin_ws/build/glow/catkin_generated/generate_cached_setup.py", line 22, in <module>
code = generate_environment_script('/home/tackang/catkin_ws/devel/.private/glow/env.sh')
File "/home/tackang/catkin_ws/src/catkin/cmake/../python/catkin/environment_cache.py", line 62, in generate_environment_script
output = subprocess.check_output([env_script, sys.executable, '-c', python_code])
File "/usr/lib/python3.8/subprocess.py", line 415, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/home/tackang/catkin_ws/devel/.private/glow/env.sh', '/usr/bin/python3.8', '-c', 'import os; print(dict(os.environ))']' returned non-zero exit status 2.
CMake Error at /home/tackang/catkin_ws/src/catkin/cmake/safe_execute_process.cmake:11 (message):
execute_process(/usr/bin/python3.8
"/home/tackang/catkin_ws/build/glow/catkin_generated/generate_cached_setup.py")
returned error code 1
Call Stack (most recent call first):
/home/tackang/catkin_ws/src/catkin/cmake/all.cmake:208 (safe_execute_process)
/home/tackang/catkin_ws/devel/share/catkin/cmake/catkinConfig.cmake:20 (include)
CMakeLists.txt:10 (find_package)
cd /home/tackang/catkin_ws/build/glow; catkin build --get-env glow | catkin env -si /home/tackang/.local/bin/cmake /home/tackang/catkin_ws/src/glow --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/tackang/catkin_ws/devel/.private/glow -DCMAKE_INSTALL_PREFIX=/home/tackang/catkin_ws/install; cd -
.......................................................................................................................
Failed << glow:cmake [ Exited with code 1 ]
Failed <<< glow [ 10.9 seconds ]
Abandoned <<< point_labeler [ Unrelated job failed ]
[build] Summary: 1 of 3 packages succeeded.
[build] Ignored: None.
[build] Warnings: 1 packages succeeded with warnings.
[build] Abandoned: 1 packages were abandoned.
[build] Failed: 1 packages failed.
[build] Runtime: 17.0 seconds total.
[build] Note: Workspace packages have changed, please re-source setup files to use them.
Thus When I tried to build glow alone, I face thise
Not searching for unused variables given on the command line.
-- Using CATKIN_DEVEL_PREFIX: /home/tackang/catkin_ws/devel/.private/glow
-- Using CMAKE_PREFIX_PATH: /home/tackang/catkin_ws/devel
-- This workspace overlays: /home/tackang/catkin_ws/devel
-- Using PYTHON_EXECUTABLE: /usr/bin/python3.8
-- Using Debian Python package layout
-- Using empy: /usr/lib/python3/dist-packages/em.py
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/tackang/catkin_ws/build/glow/test_results
-- Forcing gtest/gmock from source, though one was otherwise available.
-- Found gtest sources under '/usr/src/googletest': gtests will be built
-- Found gmock sources under '/usr/src/googletest': gmock will be built
CMake Deprecation Warning at /usr/src/googletest/CMakeLists.txt:4 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at /usr/src/googletest/googlemock/CMakeLists.txt:45 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at /usr/src/googletest/googletest/CMakeLists.txt:56 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- nosetests not found, Python tests can not be run (try installing package 'python3-nose')
-- catkin 0.8.10
-- BUILD_SHARED_LIBS is on
/home/tackang/catkin_ws/devel/.private/glow/env.sh: 4: /tmp/setup.sh.Eva2TmjBJ1: Syntax error: "(" unexpected
Traceback (most recent call last):
File "/home/tackang/catkin_ws/build/glow/catkin_generated/generate_cached_setup.py", line 22, in <module>
code = generate_environment_script('/home/tackang/catkin_ws/devel/.private/glow/env.sh')
File "/home/tackang/catkin_ws/src/catkin/cmake/../python/catkin/environment_cache.py", line 62, in generate_environment_script
output = subprocess.check_output([env_script, sys.executable, '-c', python_code])
File "/usr/lib/python3.8/subprocess.py", line 415, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/home/tackang/catkin_ws/devel/.private/glow/env.sh', '/usr/bin/python3.8', '-c', 'import os; print(dict(os.environ))']' returned non-zero exit status 2.
CMake Error at /home/tackang/catkin_ws/src/catkin/cmake/safe_execute_process.cmake:11 (message):
execute_process(/usr/bin/python3.8
"/home/tackang/catkin_ws/build/glow/catkin_generated/generate_cached_setup.py")
returned error code 1
Call Stack (most recent call first):
/home/tackang/catkin_ws/src/catkin/cmake/all.cmake:208 (safe_execute_process)
/home/tackang/catkin_ws/devel/share/catkin/cmake/catkinConfig.cmake:20 (include)
CMakeLists.txt:10 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/tackang/catkin_ws/build/glow/CMakeFiles/CMakeOutput.log".
See also "/home/tackang/catkin_ws/build/glow/CMakeFiles/CMakeError.log".
from point_labeler.
Meet a similar problem:
Server:~/tools/catkin_ws/src/point_labeler/bin$ ./labeler
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
Aborted (core dumped)
from point_labeler.
@IrohXu Same Problem
from point_labeler.
Related Issues (20)
- How to Annotate Moving Objects HOT 2
- libglow.so : the 'boost: : filesystem: : path: : filename () const "undefined reference
- How to use pointlabeler to view the number of points corresponding to the selected label
- How to enable the CAD navigation mode? HOT 5
- Issue with catkin build HOT 6
- Issue with open directory HOT 6
- suggestion: dark background color to increase contrast to colored clouds HOT 1
- Can this tool label data sets collected by other types of lidar? HOT 1
- issue about "No space left on device" HOT 5
- Issues with poses.txt generated by Kiss-ICP HOT 6
- Plugin does not support setParent and propagateSizeHints() HOT 1
- Cannot read my own dataset HOT 3
- How to label the next frame
- Issue with label HOT 3
- Failed in Ubuntu 20.04 HOT 3
- label my own datesets HOT 4
- Unable to setup on Ubuntu 20.04LTS HOT 1
- Labeling custom dataset with Velodyne VLP-16 HOT 2
- Labeling pointcloud data for PointPillars Nvidia Tao Toolkit implementation HOT 1
- Color Pallette of GUI doesn't exist in Ubuntu 20.04LTS
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 point_labeler.