Recent

Author Topic: An unhandled exception occurred  (Read 7522 times)

perlang

  • Newbie
  • Posts: 4
An unhandled exception occurred
« on: November 15, 2018, 05:29:46 am »
I can't start  the IDE on my windows10 x64 system,
the lastes version 3.0.4
Thanks in advanced !


Microsoft Windows [版本 10.0.17134.407]
(c) 2018 Microsoft Corporation。保留所有权利。

C:\WINDOWS\system32>fp
?Free Pascal IDE Version 1.0.12 [2017/10/06]
An unhandled exception occurred at $006DDFBB:
EInOutError: Disk Full
  $006DDFBB

Best Regards,

440bx

  • Hero Member
  • *****
  • Posts: 3944
Re: An unhandled exception occurred
« Reply #1 on: November 15, 2018, 05:52:30 am »
EInOutError: Disk Full
If the message is right, there is no more space on disk for the IDE to start.   Are you sure there is free space on your disk ?
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

jamie

  • Hero Member
  • *****
  • Posts: 6090
Re: An unhandled exception occurred
« Reply #2 on: November 15, 2018, 11:09:43 pm »
its in the wrong folder anyways and most like read only.
The only true wisdom is knowing you know nothing

440bx

  • Hero Member
  • *****
  • Posts: 3944
Re: An unhandled exception occurred
« Reply #3 on: November 15, 2018, 11:26:43 pm »
its in the wrong folder anyways and most like read only.
Good point, almost certain it is read only.  The IDE won't be able to create any temporary files resulting in its belief that the disk is full.
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

perlang

  • Newbie
  • Posts: 4
Re: An unhandled exception occurred
« Reply #4 on: November 16, 2018, 07:15:53 am »
Thank jamie and 440bx for your reply !

I open one cmd shell with administrator , but no matter in what level subdirectory, it always get the same "Disk Full" message.

D:\
D:\FPC\
D:\FPC\3.0.4\
D:\FPC\3.0.4\bin\
D:\FPC\3.0.4\bin\i386-win32\
C:\
C;\Users\Administrator\

but I can always run "mkdir aaa" and "rmdir aaa" on all of these path in the same cmd shell.

on another path,
C;\Users\
which  I CANNAT run "mkdir aaa".

C:\Users>mkdir aaa
Refuse access

then I get the output,
C:\Users>fp
Runtime error 216 at $0046AE90
  $0046AE90
  $0041ADB0
  $00419C34
  $006F1AF4
  $00710DF2
  $006FE0A1


P.S. the disk is not full.

Best Regards,
perlang

440bx

  • Hero Member
  • *****
  • Posts: 3944
Re: An unhandled exception occurred
« Reply #5 on: November 16, 2018, 07:32:06 am »
Thank jamie and 440bx for your reply !

I open one cmd shell with administrator , but no matter in what level subdirectory, it always get the same "Disk Full" message.

D:\
D:\FPC\
D:\FPC\3.0.4\
D:\FPC\3.0.4\bin\
D:\FPC\3.0.4\bin\i386-win32\
C:\
C;\Users\Administrator\

but I can always run "mkdir aaa" and "rmdir aaa" on all of these path in the same cmd shell.

on another path,
C;\Users\
which  I CANNAT run "mkdir aaa".

C:\Users>mkdir aaa
Refuse access

then I get the output,
C:\Users>fp
Runtime error 216 at $0046AE90
  $0046AE90
  $0041ADB0
  $00419C34
  $006F1AF4
  $00710DF2
  $006FE0A1


P.S. the disk is not full.

Best Regards,
perlang
Try this:

1. Make a directory, call it "test" (without quotes, of course)
2. cd to test
3. try to copy any file you want from anywhere into test

does that work ?

How much free disk space do you have on your drives C and D ?

« Last Edit: November 16, 2018, 07:34:03 am by 440bx »
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

perlang

  • Newbie
  • Posts: 4
Re: An unhandled exception occurred
« Reply #6 on: November 16, 2018, 07:47:15 am »
It works.

C:\test>xcopy /s d:\fpc fpc
目标 fpc 是文件名
还是目录名
(F = 文件,D = 目录)? d
D:\fpc\3.0.2\Free Pascal.url
D:\fpc\3.0.2\unins000.dat
D:\fpc\3.0.2\unins000.exe
D:\fpc\3.0.2\bin\i386-win32\ar.exe
...
D:\fpc\3.0.4\units\i386-win32\zorba\zorbadyn.ppu
D:\fpc\3.0.4\units\i386-win32\zorba\zorbadyn.rsj
复制了 6885 个文件

C:\test\fpc\3.0.4\bin\i386-win32>.\fp
?Free Pascal IDE Version 1.0.12 [2017/10/06]
An unhandled exception occurred at $006DDFBB:
EInOutError: Disk Full
  $006DDFBB

c:     165GB available/255GB  total
d:     123GB available/600GB  total

440bx

  • Hero Member
  • *****
  • Posts: 3944
Re: An unhandled exception occurred
« Reply #7 on: November 16, 2018, 07:53:49 am »
My _guess_ is that there may be one or more files that are set as read-only which may be causing the problem.

from Windows explorer you can right click on the "test" directory, look at  its properties and ensure there are no files in "test" nor in any subdirectories that are marked as "read only".  If there are any marked as "read-only" remove the "read only" attribute on all files then try starting the IDE again.

HTH.
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

perlang

  • Newbie
  • Posts: 4
Re: An unhandled exception occurred
« Reply #8 on: November 16, 2018, 08:53:13 am »

Yes. I find the read only can't be removed. It can't unselect it on the check box, but when I re-open the property, It is still read only checked.

I must solve this "read only" problem before.

Thanks for your help very much !

440bx

  • Hero Member
  • *****
  • Posts: 3944
Re: An unhandled exception occurred
« Reply #9 on: November 16, 2018, 09:15:44 am »
Thanks for your help very much !
You're welcome.
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

 

TinyPortal © 2005-2018