PB 5.2 LTS: OpenSuse 12.3: IDE freezes

Post bugs related to the IDE here
pbfan57
New User
New User
Posts: 8
Joined: Wed Oct 16, 2013 1:17 pm

PB 5.2 LTS: OpenSuse 12.3: IDE freezes

Post by pbfan57 »

Hallo,

after a computer crash I hat to install OpenSuse 12.3 (and Windows XP) anew. Now I have a computer with both OS nearly a "virgin". I installed PB 5.2 LTS, but it doesn´ t work. Checkinstall.sh tells me, everything seems to be o.k. When starting the IDE, it opens, but never stops starting. The menu can be opened, but nothing happens. I have to kill the programm via task manager. Absolutely the same result, after I installed PB 5.11 again, that worked satisfactorily until before the crash on the same hardware and the same OS (OpenSuse 12.3 32 bit). Tthe problem can easily be reproduced.

In a nutshell: Newly installed OpenSuse 12.3, newly installed Purebasic 5.2 LTS or 5.11, but the IDE freezes on start. Both versions of pb where "out of the box" (just unpacked the archive in my home directory.

What I can´ t explain: It worked, when I opened a sourcefile in dolphin (via "open via program" and chosing purebasic). I could compile it via F5 and use the programmed. But only once. The pb compilation output is still stored on my harddisk.

Has anyone an idea what´ s wrong?

I´m sorry, I couldn´t insert a snapshot from my screen, since I don´ t know how to insert such an image file here.
Last edited by pbfan57 on Thu Oct 17, 2013 6:21 pm, edited 2 times in total.
gerd
User
User
Posts: 94
Joined: Tue Feb 23, 2010 7:50 pm
Location: Germany

Re: PB 5.2 LTS (and 5.11), OpenSuse 12.3: IDE freezes on sta

Post by gerd »

Hi,

must be your setup or system. I am running PureBasic, any version, with opensuse 12.3 since it came out and don't have any problems.

Just a thought: if you use the 32bit version of opensuse, you can't run PB 64bit version.

Hope you find your problem and solve it.

gerd
pbfan57
New User
New User
Posts: 8
Joined: Wed Oct 16, 2013 1:17 pm

Re: PB 5.2 LTS (and 5.11), OpenSuse 12.3: IDE freezes on sta

Post by pbfan57 »

Hallo Gerd,

one of the first things I checked was whether I installed either Opensuse 12.3 or PB in a 64 bit version. But that wasn´ t the case. Both are installed in 32 bit. I use OpenSuse and PB for years now. I updated OpenSuse several times (or I installed it from the scratch as I did with OpenSuse 12.3 when it was published early in 2013). Therefore I can´t understand, why it didn´ t work this time and why checkinstall.sh tells me, everything seems to be o.k, but it isn´ t.

And there is something else I don´ t understand. I restored a lot of old files from my external usb-disk, among them some applications compiled with PB 5.11 for Linux. They don´ t start anymore. There is a message box saying there is no program to start an executable file type. When I try to install such an application, it doesn´t work (the message that appears on my screen is in German: "Es ist keine Anwendung zum Öffnen des Dateityps Ausführbare Datei (application/x-executable) installiert. - Möchten Sie die Installation einer entsprechenden Anwendung versuchen?").

I must have made a mistake while installing OpenSuse.

Who has an idea?

Thanks
Manfred
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: PB 5.2 LTS (and 5.11), OpenSuse 12.3: IDE freezes on sta

Post by IdeasVacuum »

... sounds as though your best bet is to re-install OpenSuse :?
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
gerd
User
User
Posts: 94
Joined: Tue Feb 23, 2010 7:50 pm
Location: Germany

Re: PB 5.2 LTS (and 5.11), OpenSuse 12.3: IDE freezes on sta

Post by gerd »

Hello Manfred,

Sounds like your PB executables are not marked "executable".

Have you checked, that all PureBasic executable have the flag "executable" (ausführbar) set? This you find at "properties>permissions" after a right mouse click.

Regards

gerd
pbfan57
New User
New User
Posts: 8
Joined: Wed Oct 16, 2013 1:17 pm

Re: PB 5.2 LTS (and 5.11), OpenSuse 12.3: IDE freezes on sta

Post by pbfan57 »

Hallo Gerd,

I´m devasted! You are right and I overlooked such a simple matter. I just didn´t notice that the permissions were lost on the back-up files. I don´t know why that happened. But all the files I restored from the usb-disk don´t have the executable flag. Perhaps these flags were lost since the external disk has a NTFS-file-system, I am no expert in such things.

But now at least my old executables work again. Thank you!

I installed OpenSuse 12.3 from a DVD (from "Easy Linux". I have just tested a live-cd of OpenSuse and PB 5.2 LTS runs there! Now I´m downloading the OpenSuse DVD, since the live-cd wants to install OpenSuse as the sole OS on the pc, thus it would delete my Windows XP (perhaps an expert could change the partition proposal that the live-cd makes, but I´m not bold enough for doing that).

In some hours (I have only DSL 2000 kbit/s) the problem should be solved!#

Now, some hours have passed and some gigabytes rushed through my DSL-line, I have installed Opensuse 12.3 32 bit once again from an official Suse package and updated it emidiately. The result is devastating: Now the IDE freezes again. I´m now out of ideas what I can do to get PB 5.2 (or 5.11) running on OpenSuse (the version for Windows runs well).

Greetings,

Manfred
pbfan57
New User
New User
Posts: 8
Joined: Wed Oct 16, 2013 1:17 pm

Re: PB 5.2 LTS: OpenSuse 12.3: IDE freezes

Post by pbfan57 »

Hallo,

I made some progress. The compiler works now (started from command line) and creates executables. But I can´t yet start the IDE. It still freezes.
That is not very comfortable. I can edit the sourcefiles with i.e. kwrite and then compile them with the compiler started from a shell. Or I can edit the sourcefiles using windows and then compile them using OpenSuse. That´s just some makeshift solution.

Is there anyone who has a good idea?

Greetings,

Manfred
pbfan57
New User
New User
Posts: 8
Joined: Wed Oct 16, 2013 1:17 pm

Re: PB 5.2 LTS: OpenSuse 12.3: IDE freezes

Post by pbfan57 »

Hallo,

further progress: The IDE can be started when using a shell in supervisor mode! Then it doesn´t freeze and runs fine. But how can I start it as a normal user? I have been checking the permissions of purebasic and pb-folder.

Greetings,

Manfred
gerd
User
User
Posts: 94
Joined: Tue Feb 23, 2010 7:50 pm
Location: Germany

Re: PB 5.2 LTS: OpenSuse 12.3: IDE freezes

Post by gerd »

Hello again,

could it be that you installed (unpacked) PureBasic as root or installed it in a folder which belongs to root?
This is what your latest description of the problem is telling me.

Check properties of the folder and all the executables of PureBasic, whether the owner is root. If this is the case, delete PureBasic and set it up as user in a folder which is not owned by root (or change the owner).

regards

gerd
pbfan57
New User
New User
Posts: 8
Joined: Wed Oct 16, 2013 1:17 pm

Re: PB 5.2 LTS: OpenSuse 12.3: IDE freezes

Post by pbfan57 »

Hallo Gerd,

no, I didn´t install PB as root. And I checked all the permissions and ownership of the IDE, Compiler and all of PB-folders. I even re-installed PB 5.2 LTS and 5.11, but it was all in vain. I did this before I discovered that the IDE runs as root. My gut feeling is, that something else that has nothing to do with PB is not correctly installed and I hope someone might read this and have the right idea.

Greetings,

Manfred
User avatar
macros
User
User
Posts: 92
Joined: Wed Mar 15, 2006 1:47 pm
Location: Munich

Re: PB 5.2 LTS: OpenSuse 12.3: IDE freezes

Post by macros »

Hello Manfred,

I am suffering from a similar problem. I upgraded to Kubuntu 13.10 x64 and at the same time to PB 5.2 LTS.
The IDE comes up, I can even click into my most recent sourcecode and type, access the menu but non of my actions trigger anything.
The Purebasic is loading splashscreen is still open.Is this what you observe too?
Permissions and executable flags are ok.

I remeber there was a similar problem with the same bad solution "run as root" some versions before. It got fixed.
My google fu doesn't help me to find the old threads at the moment.

Differences to your case:
Even runnig as root doesn't help.
PB 4.61 and 5.11 are also affected (which did well under previous versions of Kubuntu)
pbfan57
New User
New User
Posts: 8
Joined: Wed Oct 16, 2013 1:17 pm

Re: PB 5.2 LTS: OpenSuse 12.3: IDE freezes

Post by pbfan57 »

Hello,
The Purebasic is loading splashscreen is still open.Is this what you observe too?
That´s exactly what I observe. It never stops, I have to take the taskmanager to kill purebasic. It´s quite strange. PB can be started as root, though I am the "owner" of PB and the group is "users" and all permissions are o.k.

Greetings,

Manfred
User avatar
macros
User
User
Posts: 92
Joined: Wed Mar 15, 2006 1:47 pm
Location: Munich

Re: PB 5.2 LTS: OpenSuse 12.3: IDE freezes

Post by macros »

Update:
I just noticed, that every time I minimize the IDE window the last action is carried out.
So if I want to write a hello world programm steps are:
-start IDE +minimize+restore
-press STRG+N +minimize+restore
-type code in Scintilla, press F5 +minimize+restore
-press F5 again +minimize+restore a second time
Now the code is executed. Of course this makes PB unusable :(
Maybe it helps to track down the problem.

I am willing to try a debug build or give a member from the development team supervised access to my computer trough teamviewer for an hour if that helps to trace the problem.
Fred
Administrator
Administrator
Posts: 18349
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PB 5.2 LTS: OpenSuse 12.3: IDE freezes

Post by Fred »

I just installed OpenSuse 12.3 x86 in VMWare, but all seems to work correctly here, any chance to get more info ?
User avatar
macros
User
User
Posts: 92
Joined: Wed Mar 15, 2006 1:47 pm
Location: Munich

Re: PB 5.2 LTS: OpenSuse 12.3: IDE freezes

Post by macros »

Purebasic doesn't crash so I cannot provide much information.
- no lines are printed on the Console
- Purebasic inside an emulated live cd system (Kubuntu 13.10 as my system) does work
- minimize/maximize helps on my system to let it compute single steps

Ah just found an temporary solution:
KDE allows to select the appearence of GTK applications.
On my system "oxygen-gtk" ist the default for gtk2 and gtk3. Changing gtk2 to "Raleigh" allows Purebasic to load.
Settings in the VM are similar to my system regarding this, so I don't understand why PB works there with oxygen-gtk.
Even if purebasic is stuck at the loading screen and I change this setting it continues to load and work properly. Just looks ugly ;)

@pbfan57
As Suse relies on KDE I am almost certain this solution will work for you too.
Post Reply