Urho3D does not fully close out?

Hi,

I downloaded the latest tar file and compiled it. It compiled 100% and installed. A manner .Urho3D directory update and now the editor loads correctly.

The version I downloaded was urho3d-Urho3D-c4b337d

The problem I have with is closing. You can see it in the videos I’m making. If I run the editor.sh program from the command line Urho3D does not fully exit out. I have to type ctrl-c to exit back to the command line. Is anyone having the same problem? You will see the problem at the end of the video.

Vivienne

Video #2
[video]http://youtu.be/DLZY1w4Us9s[/video]

Looks like you are using a terminal emulator. Try using the terminal that ships with the os. That is just my guess.

Also you can collapse every node by checking the all checkbox and clicking collapse.

Also, also I will add a node search after get done with my resource browser after i get done with work crap :slight_smile:

In my opinion this should not be caused by the terminal emulator. I use one myself and I don’t have this closing issue. Urho applications can be launched from an interactive shell in any type of terminal or even from a debugger within any IDE, the app would not know the difference.

There could be a bug in the Editor. When closing, it attempts to re-create the configuration directory before saving the editor configuration settings. Under normal circumstances, this approach works for initial run as well as subsequent runs. However, I suspect the function responsible for creating the directory trips over in your case. I notice your homedir is now mounted from a different filesystem. I believe that could be the reason why it fails.

[quote=“weitjong”]In my opinion this should not be caused by the terminal emulator. I use one myself and I don’t have this closing issue. Urho applications can be launched from an interactive shell in any type of terminal or even from a debugger within any IDE, the app would not know the difference.

There could be a bug in the Editor. When closing, it attempts to re-create the configuration directory before saving the editor configuration settings. Under normal circumstances, this approach works for initial run as well as subsequent runs. However, I suspect the function responsible for creating the directory trips over in your case. I notice your homedir is now mounted from a different filesystem. I believe that could be the reason why it fails.[/quote]

I tried chmod 755 and change ownership vivienne:viveienne in the .Urho3D directory includingrecurvsive folders. The home folder is in the same mounted filesystem as /usr/local/share/Urho3D. I tried Xterm and also Konsole with the same response. I also viewed the .log to see if any exiting logs is done.

Still the same problem. I’m assuming the exit code is tripping over itself like you mentioned. I’m assuming if it is trying to recreate both the folder and file again. It’s getting stuck specifically on Ubuntu instead of checking if the folder and file already exist. I have not seen the code but that’s my only guess.

Urho3d Bin Folder with the new files

[quote=“friesencr”]Looks like you are using a terminal emulator. Try using the terminal that ships with the os. That is just my guess.

Also you can collapse every node by checking the all checkbox and clicking collapse.

Also, also I will add a node search after get done with my resource browser after i get done with work crap :slight_smile:[/quote]

Cool!

Point A - Tried. Still same problem using Xterm and Konsole

Point B - Got that.

Point C - Cool. If I have any ideas of the Editor UI. I’ll mention it. The only thing I can think of is making the windows and menu bar a different color background instead of black with some opacity to it. Still the search or highlight by keyword would be a nice Editor update in the hierarchy list.

Thanks.

Can you post the output of these commands:

$ df -h /home/vivienne $ df -h /media/home2/vivienne $ lsblk

If you think this is irrelevant then just ignore me.

[quote=“weitjong”]Can you post the output of these commands:

$ df -h /home/vivienne $ df -h /media/home2/vivienne $ lsblk

If you think this is irrelevant then just ignore me.[/quote]

Here is the output.

[quote]vivienne@vivienne-System-Product-Name:/media/home2/vivienne/programs/blender/blends/existence$ df -h /home/vivienne
Filesystem Size Used Avail Use% Mounted on
/dev/sdb1 55G 39G 14G 75% /
vivienne@vivienne-System-Product-Name:/media/home2/vivienne/programs/blender/blends/existence$ df -h /media/home2/vivienne
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 985G 235G 701G 26% /media/home2
vivienne@vivienne-System-Product-Name:/media/home2/vivienne/programs/blender/blends/existence$ lsblkNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 1.4T 0 disk
??sda1 8:1 0 1000.5G 0 part /media/home2
sdb 8:16 0 59.6G 0 disk
??sdb1 8:17 0 55.7G 0 part /
??sdb2 8:18 0 1K 0 part
??sdb5 8:21 0 3.9G 0 part [SWAP]
vivienne@vivienne-System-Product-Name:/media/home2/vivienne/programs/blender/blends/existence$
[/quote]

It’s definitely not space.

Which of the two is your homedir?

And which of the two has the .Urho3D directory created?

[quote=“weitjong”]Which of the two is your homedir?

And which of the two has the .Urho3D directory created?[/quote]

[quote]vivienne@vivienne-System-Product-Name:~$ echo $HOME
/home/vivienne
vivienne@vivienne-System-Product-Name:~$
[/quote]

Since you did not answer the second question, I assume the answer is the same as the first. In which case, it is a dead end for me. I am still curios though, why your shell prompt sometimes show you are in /home and on the other times you are in /media/home2? That’s what mislead me as if you are dealing with two filesystems here. Or you have actually two user accounts which go to these two places? Anyway, I have tried to help. May be others could help to continue from here.

As a last resort, perhaps you could try to delete the .Urho3D directory and let it to be recreated again. It’s a long but desperate shot :smiley: .

[quote=“weitjong”]Since you did not answer the second question, I assume the answer is the same as the first. In which case, it is a dead end for me. I am still curios though, why your shell prompt sometimes show you are in /home and on the other times you are in /media/home2? That’s what mislead me as if you are dealing with two filesystems here. Or you have actually two user accounts which go to these two places? Anyway, I have tried to help. May be others could help to continue from here.

As a last resort, perhaps you could try to delete the .Urho3D directory and let it to be recreated again. It’s a long but desperate shot :smiley: .[/quote]

The home folder is the default folde /home/vivienne.

I have a separate drive with a home partition whish is /media/home2/viviennee. It’s just the name of it. The actual home is /home/vivienne where the .Urho3D is created.

I have tons of data and programs on /media/home2/viviennee which I run constantly including builds. From compiled libraries, executables, and also wine/x86 based software that creates a .folder in /home/vivienne. I really don’t think it’s the computer or Ubuntu but the process closing out Urho3D.

Yes, I have suspected that much since the beginning that there could be a bug in the Editor. But we need to know exactly what is the root cause of your issue before we can fix it. As you already aware, others don’t have this particular issue.

Yes, I have suspected that much since the beginning that there could be a bug in the Editor. But we need to know exactly what is the root cause of your issue before we can fix it. As you already aware, others don’t have this particular issue.[/quote]

If you need any other console output, I’ll be happy to make it. Since it’s a weird bug on specific computers I am guessing.

I think I have fixed the problem. Please kindly use the latest revision in the master branch to test.

I’ll test it out. No luck.

I’m not sure if this means anything. When compiling the samples I noticed.

I was finally able to reproduce the closing issue on my Fedora system with the previous revision. After the fix, it works now on my system. So, I thought it should fix yours as well. Just to be sure, I am referring to the fix committed in revision github.com/urho3d/Urho3D/commit … e9e3572597.

The build warnings seem normal to me.

[quote=“weitjong”]I was finally able to reproduce the closing issue on my Fedora system with the previous revision. After the fix, it works now on my system. So, I thought it should fix yours as well. Just to be sure, I am referring to fix committed in revision github.com/urho3d/Urho3D/commit … e9e3572597.

The build warnings seem normal to me.[/quote]

It didn’t so I leave it as a looming Ubuntu/Debian bug. I will focus on actually coding a app with a start screen.

Hi guys, just to help out: I’m also using a Linux VM and a clean system as well and I don’t have any closing out problems (terminal and windowed) with the version prior to the latest build. Vivienne, my guess is it might have something to do with your scene, graphic driver or how you have setup/build Urho3D.

Anyways, as you said you don’t really need to worry about it for now as this is really a small thing. :slight_smile:

cheers.

[quote=“rasteron”]Hi guys, just to help out: I’m also using a Linux VM and a clean system as well and I don’t have any closing out problems (terminal and windowed) with the version prior to the latest build. Vivienne, my guess is it might have something to do with your scene, graphic driver or how you have setup/build Urho3D.

Anyways, as you said you don’t really need to worry about it for now as this is really a small thing. :slight_smile:

cheers.[/quote]

I’m not sure. I completely did it the normal way. The samples work so I’m not certain if it’s that. It occurs even if it’s a new scene with nothing in it and pretty much the driver is used for Blender and online gaming. I’m assuming its something with the save configuration. That’s all I know.