Recent

Author Topic: I get this error since i remove 1.2.2  (Read 12655 times)

Stygian

  • Jr. Member
  • **
  • Posts: 90
I get this error since i remove 1.2.2
« on: June 24, 2014, 09:13:08 am »
Hello Everyone,

I never get this error before. Can someone help me?

Back story:
I removed Lazarus 1.2.2 and I want to install 1.2.4. After I install I get this error "TFPCUnitToSrcCache.GetConfigCache missing TestFilename"

System: Windows Server 2008 R2 x64

I Tried to install: "lazarus-1.2.4-fpc-2.6.4-win32"

Thank You,
Sty

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11452
  • FPC developer.
Re: I get this error since i remove 1.2.2
« Reply #1 on: June 24, 2014, 11:57:58 am »
Sometimes things like this happen because the deinstaller leaves the configuration files. Recent lazaruses improve on this, but not all packages might do this properly.

Try to
  • deinstall everything
  • backup and delete %userprofile%\AppData\Local\lazarus
  • reinstall lazarus

Stygian

  • Jr. Member
  • **
  • Posts: 90
Re: I get this error since i remove 1.2.2
« Reply #2 on: June 24, 2014, 12:30:06 pm »
Already tried that :(.

The only problem I can't uninstall it because i get an error message:
"Unable to create a temporary file. Setp aborted
Error 5: Access deined"

So I delete it from C root, remove user profile settins, remove from registry.

I already run a CCleaner, but the error won't gone.

Regards,
Sty

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11452
  • FPC developer.
Re: I get this error since i remove 1.2.2
« Reply #3 on: June 24, 2014, 03:41:02 pm »
maybe there is another such dir in the "all users" profile?

Stygian

  • Jr. Member
  • **
  • Posts: 90
Re: I get this error since i remove 1.2.2
« Reply #4 on: June 25, 2014, 11:40:04 am »
There is not any other dir anywhere.
Try reinstall it again but the error is the same.

Regards,
Sty

MicroTec

  • New Member
  • *
  • Posts: 10
    • PC based Oscilloscopes and data acquisition (DAQ)
Re: I get this error since i remove 1.2.2
« Reply #5 on: August 21, 2014, 11:39:38 pm »
I has the exact same problem.
Does anyone have a solution?

MicroTec

  • New Member
  • *
  • Posts: 10
    • PC based Oscilloscopes and data acquisition (DAQ)
Re: I get this error since i remove 1.2.2
« Reply #6 on: August 27, 2014, 03:23:37 pm »
Does nobody have a solution to this problem?
I simply can not get Lazarus IDE working on my Windows 7 computer.

Works great on my little Raspberry Pi board with Raspbian "wheezy"

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11452
  • FPC developer.
Re: I get this error since i remove 1.2.2
« Reply #7 on: August 27, 2014, 05:28:28 pm »
If I read this thread again it sounds like Lazarus isn't allowed to write in the %TEMP% directory for its temporary files.

Is there anything special about these machines? Corporate machines that are connected to a domain with atypical permissions?

MicroTec

  • New Member
  • *
  • Posts: 10
    • PC based Oscilloscopes and data acquisition (DAQ)
Re: I get this error since i remove 1.2.2
« Reply #8 on: August 27, 2014, 08:14:48 pm »
I have noticed that teh path %userprofile%\AppData\Local\lazarus is not created during installation.

I have considered the problem may be that the installer can not handle the Danish letters in my user profile.
My name is Allan Lund Sørensen, so the path will be:

     C:\Users\Allan Lund Sørensen\AppData\Local\lazarus

The same applies to %TEMP% which is:

     C:\Users\Allan Lund Sørensen\AppData\Local\Temp
« Last Edit: August 27, 2014, 08:26:46 pm by MicroTec »

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11452
  • FPC developer.
Re: I get this error since i remove 1.2.2
« Reply #9 on: August 27, 2014, 09:45:20 pm »
I have noticed that teh path %userprofile%\AppData\Local\lazarus is not created during installation.

I have considered the problem may be that the installer can not handle the Danish letters in my user profile.

My guess that depends on your locale. If you have a locale where ø is part of the 1-byte OEM codepage, it should work.

If you have e.g. an US locale, it might not.

MicroTec

  • New Member
  • *
  • Posts: 10
    • PC based Oscilloscopes and data acquisition (DAQ)
Re: I get this error since i remove 1.2.2
« Reply #10 on: August 28, 2014, 10:09:09 am »
I have an DA locale (Danish).
I just wonder why the path %userprofile%\AppData\Local\lazarus is not created during installation.

If I try to uninstall lazarus uninstaller can not find %TEMP%

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: I get this error since i remove 1.2.2
« Reply #11 on: August 28, 2014, 07:29:48 pm »
default locale for ansi applications what is it?
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

MicroTec

  • New Member
  • *
  • Posts: 10
    • PC based Oscilloscopes and data acquisition (DAQ)
Re: I get this error since i remove 1.2.2
« Reply #12 on: September 02, 2014, 01:51:33 pm »
default locale for ansi applications what is it?

I do not understand your question

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: I get this error since i remove 1.2.2
« Reply #13 on: September 02, 2014, 02:16:53 pm »
I do not understand your question

In my windows 8 I open "control panel\Language" in there I press the "change date time and number formats" link on the right which opens the region dialog and in the adminitration tab I can set the locale for none unicode programs. see attachment.

Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

MicroTec

  • New Member
  • *
  • Posts: 10
    • PC based Oscilloscopes and data acquisition (DAQ)
Re: I get this error since i remove 1.2.2
« Reply #14 on: September 02, 2014, 02:51:26 pm »
Quote
In my windows 8 I open "control panel\Language" in there I press the "change date time and number formats" link on the right which opens the region dialog and in the adminitration tab I can set the locale for none unicode programs. see attachment.

OK.
As mentioned earlier, I have a Danish Windows so "Current system locale" is Danmark.
« Last Edit: September 02, 2014, 03:00:09 pm by MicroTec »

 

TinyPortal © 2005-2018