gazebosim / gazebo-classic

Gazebo classic. For the latest version, see https://github.com/gazebosim/gz-sim
http://classic.gazebosim.org/
Other
1.17k stars 479 forks source link

Model Database section missing under Insert in Model Editor #2189

Open osrf-migration opened 7 years ago

osrf-migration commented 7 years ago

Original report (archived issue) by Rastislav Marko (Bitbucket: Cdfghglz).


After fresh apt-get install of Gazebo 8.0.0 (Kubuntu 16.04) the normally third section "Model Database" is missing in the Insert tab, Model Editor:

gaz.png

osrf-migration commented 7 years ago

Original comment by Nate Koenig (Bitbucket: Nathan Koenig).


On Ubuntu, I see a "Model Database" section under "Custom Shapes". Can you access the model database outside of the Model Editor?

osrf-migration commented 7 years ago

Original comment by Rastislav Marko (Bitbucket: Cdfghglz).


Well there is no explicit title "Model Database", but I can browse the online models under http://gazebosim.org/models/ path in the standard mode's Insert tab.

osrf-migration commented 7 years ago

Original comment by Nate Koenig (Bitbucket: Nathan Koenig).


Here is a screen shot of what I see on Ubuntu Xenial. I don't know why the model database is not present for @Cdfghglz.

model_editor.png

osrf-migration commented 7 years ago

Original comment by Rastislav Marko (Bitbucket: Cdfghglz).


There must be something wrong with my Kubuntu installation, on a fresh system it works the way it should.

osrf-migration commented 7 years ago

Original comment by Recep GÜÇLÜER (Bitbucket: rgucluer).


I have the same issue in Kubuntu 16.04. Cdfghglz stated a fresh install solves the problem but I don't want to do a fresh install(if possible). Any advise to solve the problem ? Edit: The problem resolved after ROS installation. I installed ROS with

#!sh

sudo apt-get install ros-kinetic-desktop-full

then tried again , and I can use model database in Model editor now.

osrf-migration commented 6 years ago

Original comment by Simon Schmeißer (Bitbucket: simonschmeisser).


I have the same issue using gazebo 8.1.1 on opensuse 13.2 as installed from https://software.opensuse.org/package/gazebo

any clues? I don't have any ros packages installed

osrf-migration commented 6 years ago

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


osrf-migration commented 6 years ago

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


osrf-migration commented 6 years ago

Original comment by Simon Schmeißer (Bitbucket: simonschmeisser).


In the normal world view on the insert pane it keeps saying "Connecting to model database ...", don't know if that is related.

osrf-migration commented 6 years ago

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


From my office in California, it took about 1 minute for the "Connecting to model database" message to convert to a list of models. I'll try opening the model editor very quickly to see if the model database is not visible during the startup period.

osrf-migration commented 6 years ago

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


Even before the model database models have finished downloading, I can still see the local models in ~/.gazebo/models and the rest of my GAZEBO_MODEL_PATH.

model_editor_insert.png

osrf-migration commented 6 years ago

Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).


Here's where the model database widget is inserted into the model editor palette.

osrf-migration commented 6 years ago

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


@chapulina it looks like there's two places it can return early from that function:

osrf-migration commented 6 years ago

Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).


Another possibility is that the tr("Insert") is returning something different on other OSs. We create the string without translation but check it later with translation. I assumed tr wasn't doing anything unless we explicitly used translations, and we aren't, but who knows...

osrf-migration commented 6 years ago

Original comment by Simon Schmeißer (Bitbucket: simonschmeisser).


that code does look interesting ... lets see if I can compile from code and debug it

osrf-migration commented 5 years ago

Original comment by Nicolas Amaro (Bitbucket: nicolas amaro monaco).


Hi there, did you found something? Ive installed gazebo9 @ debian10 and same thing happened. Ive installed ros as well to see if that was the problem but the database section is still missing.

Last week I tried with debian9, same thing happened with gazebo8 and gazebo9 but in gazebo7 the section appeared

osrf-migration commented 4 years ago

Original comment by tim kaz (Bitbucket: tim kaz).


Hello, i have the exact same problem after installing gazebo11 from depository on Debian 10.

JennyLynnFletcher commented 4 years ago

I have this issue with gazebo9 installed on Ubuntu 18.04 when using the KDE desktop environment, however when I switch to using GNOME (on the same machine with no change in gazebo or ROS installations) the issue goes away