Recent

Author Topic: idemake.cfg not found if accute in file path  (Read 3909 times)

regent@air-g.net

  • Newbie
  • Posts: 1
idemake.cfg not found if accute in file path
« on: May 09, 2019, 02:39:07 am »
With lazarus 2.0.0 RC3 and below all was working fine whwn rebuilding IDE after adding package

with 2.0.0 finale and 2.0.2 install goes well and IDE opens, but if i add a package and try to rebuild IDE i get

C:\Users\RÙgent\AppData\Local\lazarus\idemake.cfg is missing

it should be:
C:\Users\Régent\AppData\Local\lazarus\idemake.cfg

If i un-install all and re-install 2.0.0 RC3 all is working again when i rebuild
« Last Edit: May 09, 2019, 02:40:46 am by regent@air-g.net »

khoward

  • New Member
  • *
  • Posts: 39
Re: idemake.cfg not found if accute in file path
« Reply #1 on: May 15, 2019, 03:49:23 pm »
Hi Regent,
I can confirm similar behavior, except, with mine, it removes all of the slashes from the directory path! :(
It worked in 2.0, but 2.0.2 does not work. 
I get: 
Fatal: Unable to open file C:UserskhowardAppDataLocallazarusidemake.cfg -dx86_64
If you should find a solution, I'm most interested.I'll let you know if I learn anything as well.
Thanks!
Keith

af0815

  • Hero Member
  • *****
  • Posts: 1284
Re: idemake.cfg not found if accute in file path
« Reply #2 on: May 16, 2019, 07:33:53 am »
it should be:
C:\Users\Régent\AppData\Local\lazarus\idemake.cfg
It looks you have a special character in your path, this (can) make troubles.
regards
Andreas

khoward

  • New Member
  • *
  • Posts: 39
Re: idemake.cfg not found if accute in file path
« Reply #3 on: May 16, 2019, 04:48:07 pm »
Hi Andreas,
As Regent and myself pointed out, though, it used to work in an earlier version.I suppose we are looking for confirmation and, perhaps if enough other people experience this, file a bug report.My situation is really weird though.....no directory slashes for some reason.I installed Laz 2.0.2 on a spare laptop and I can rebuild the IDE....no problem.I don't know what the difference could be.
Thanks.
Keith

ducagheorghe

  • Newbie
  • Posts: 4
Re: idemake.cfg not found if accute in file path
« Reply #4 on: August 21, 2019, 01:24:38 pm »
Hi, I'm a beginner in Lazarus and I have a problem starting with version 2.0.2. If I try to install a new component I receive the following error message:
Build IDE: Exit code 2, Errors: 1, Warnings: 1
Warning: svn not in path.
Fatal: Unable to open file C: LazarusConfigidemake.cfg -di386
The real parh is
  C: \ LazarusConfig \ idemake.cfg -di386
I use windows 8.1 and Lazarus 2.0 works well. Lazarus 2.0.2 and 2.0.4 displays the above error.
Do you have any answers?

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11351
  • FPC developer.
Re: idemake.cfg not found if accute in file path
« Reply #5 on: August 21, 2019, 03:24:04 pm »
Problems with backslashes is typically something with non lazarus provided make/binutils/shellutils in the path. (e.g. mingw or cygwin).

Accents is a different matter, but could be related also.

mattias

  • Administrator
  • Full Member
  • *
  • Posts: 184
    • http://www.lazarus.freepascal.org
Re: idemake.cfg not found if accute in file path
« Reply #6 on: November 06, 2019, 05:25:10 pm »
The bug appears only on some systems. It seems there is a conflict with some tools in PATH.

Lazarus trunk and fixes now adds " quotes around idemake.cfg only if there are spaces.

bhreis88

  • New Member
  • *
  • Posts: 27
Re: idemake.cfg not found if accute in file path
« Reply #7 on: January 20, 2020, 09:08:56 am »
Hi mattias,

thank you for the fix in buildlazdialog.pas (revision 62209). Having experienced the same issue (#36261) myself on Windows 7 32bit, I can see the problem is now fixed in trunk and I am glad to get rid of it.

However, I don't see this fix in the list of merged revisions for the next release 2.0.8 (https://wiki.freepascal.org/Lazarus_2.0_fixes_branch#Merged_revisions_for_2.0.8).

Do you know if it will be part of 2.0.8 or maybe 2.2.0?

wp

  • Hero Member
  • *****
  • Posts: 11830
Re: idemake.cfg not found if accute in file path
« Reply #8 on: January 20, 2020, 09:59:54 am »
Mattias had applied it to fixes directly (r62210 - https://svn.freepascal.org/cgi-bin/viewvc.cgi/branches/fixes_2_0/ide/buildlazdialog.pas?root=lazarus&view=log) -- it will be included in v2.0.8.

bhreis88

  • New Member
  • *
  • Posts: 27
Re: idemake.cfg not found if accute in file path
« Reply #9 on: January 20, 2020, 11:04:59 am »
Great to know! Thanks, wp!

 

TinyPortal © 2005-2018