pb420 from museum

Everything else that doesn't fall into one of the other PB categories.
#NULL
Addict
Addict
Posts: 1504
Joined: Thu Aug 30, 2007 11:54 pm
Location: right here

pb420 from museum

Post by #NULL »

i just downloaded pb420 (windows x86) from the museum.
if i
"[x] launch purebasic"
while the setup then everything is fine, but without or after that launch everytime i start purebasic i get a message

Code: Select all

---------------------------
PureBasic
---------------------------
Wrong compiler response. Probably not the correct compiler version.

Please reinstall PureBasic.
---------------------------
OK   
---------------------------
'restart compiler' neither works.
i tried to install again, but same result. downloaded again, but same result.
i also started purebasic.exe direclty / not from a link and removed the folder 'purebasic' from appdata.

somebody else with such a problem?
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: pb420 from museum

Post by IdeasVacuum »

Could it be that you already had a later-version PB installed? If so, then perhaps the PB4.20 install does not overwrite later files......
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
#NULL
Addict
Addict
Posts: 1504
Joined: Thu Aug 30, 2007 11:54 pm
Location: right here

Re: pb420 from museum

Post by #NULL »

i always use new/seperate directories for each pb-installation. in this case i even removed (renamed) the directory containing the prefs, templates and tools. so apart from registry entries the new installation should not have any clue about a previous one.
i find it strange that it actually works, but only at the first start done directly from the setup, so something must become corrupted from that point on.
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Re: pb420 from museum

Post by Trond »

What happens if you open a console and type pbcompiler /v? Maybe something is wrong with your PATH variable.
#NULL
Addict
Addict
Posts: 1504
Joined: Thu Aug 30, 2007 11:54 pm
Location: right here

Re: pb420 from museum

Post by #NULL »

i didn't know pb does anything with PATH, and in fact my PATH doesn't contain anything about pb so this command only works from within the compilers directory and says "PureBasic 4.20 (Windows - x86)". BTW i have installed pb 441, 450 and 451 and they are all working.

if i rename the PBCompiler.exe the error message doesn't show up. just on 'compile/run' i get the message "the compiler isn't loaded.." so i guess it's not the problem that the IDE doesn't find the compiler but their communication doesn't work. pb doesn't do anything fancy to find its compiler, does it? i think it's just looking into the compilers directory relative from the purebasic.exe

strange :?
User avatar
Vera
Addict
Addict
Posts: 858
Joined: Tue Aug 11, 2009 1:56 pm
Location: Essen (Germany)

Re: pb420 from museum

Post by Vera »

Hi #NULL,

I'm curious to know what might be the problem and also downloaded the current PB 4.20 version. This is how I installed it and it works fine:
- install PB & deny menuentry/desktoplink and finish without launching PB
- copy complete install-folder / uninstall PB / rename copied folder & delete the obsolete uninstall files
- create shortcut with /portable switch & start PB via this link [always*]
- a tiny white PB-GUI opens and e.g. setting the language evokes the creation of two *.pref files within the appfolder
- restart to ensure that these *.prefs are read and used
- set local source directory in editor preferences
- open a code & check / set compiler options [create temp exe in source dir]


(* otherwise you might corrupt your prefs, as they've become incompatible starting with PB 4.40)

Although I've left one PBversion properly installed PureBasic is neither in the PATH nor has one of it's own.

As there might be other nasty tiny reasons I would ensure that:
- the app doesn't have a 'fancy'-path with german umlauts or blanks etc.
- the code-file doesn't have a 'fancy' path
- the code-file doesn't contain (demand) special settings
- the app-folder has admin rights [outside of 'program files' or other sysfolders]


Well - don't know if this helps, but I bet renaming the compiler.exe won't do for good :mrgreen:

greetings ~ Vera
#NULL
Addict
Addict
Posts: 1504
Joined: Thu Aug 30, 2007 11:54 pm
Location: right here

Re: pb420 from museum

Post by #NULL »

i just did the renaming to see if the error message is different if the compiler is definitely not found.

i already tried almost all of this in any combination (except things like setting source directory or compiler option - the problem has nothing to do with source files - and you would have seen the problem before, that is to say when starting the IDE for the first time anyway). i also made a copy of the installation directory while the setup is waiting for the ''launch pb now?" but even that copy didn't work later (remember, the ''launch now" works).

maybe i will try other thing another time, like copying the pb dir to another computer and start it /portable there.
#NULL
Addict
Addict
Posts: 1504
Joined: Thu Aug 30, 2007 11:54 pm
Location: right here

Re: pb420 from museum

Post by #NULL »

i found it: comodo sandbox :oops:

of course i shut down comodo and tried to launch pb before, but it didn't work either, so i thought it's not comodo causing the problem. but either comodo actually isn't shut down by clicking 'beenden' (quit) in the systray, but only an agent or whatever, or the sandbox is still acting without comodo running. i had to switch sandbox off, but not shutting down comodo.

i found that out by launching that pb installation portable-wise on another computer, and there comodo asked about sandbox settings for pb trying to launch pbcompiler.exe because it did not yet have instructions about that exe on that computer (it did'nt ask anymore on my desktop).

so thank you three for posting, because at least it made me try more, i would have let the problem in peace otherwise.
Post Reply