Comments (3)
Do you have spaces in the path to current directory?
from gnatstudio.
Hello Maxim,
No, I haven't any spaces in the path of the current directory.
But I reproduced the error when gps is started in a read only directory.
In addition, here is the end of gps logs when I want to exit:
[GPS.LANGUAGE.TREE_DATABASE] File's tree is already up-to-date: /usr/local/adacore/2018/share/gps/readonly.gpr (19:27:40.390)
[GPS.PRJ_EDITOR.OUTLINE] Time elapsed to compute outline: 0.000026000 (19:27:40.390)
[DISPATCHING] recompute_refs exception unexpected internal exception raised CONSTRAINT_ERROR : gnatcoll-sql-exec.adb:415 access check failed
DISPATCHING 0x000000010C6B964C 0x000000010C6BA46D 0x000000010C44FCEB 0x0000000105C3A2EC 0x0000000105CE6109 0x000000010C39BA0E 0x000000010C39CE53 0x0000000111945442 0x0000000111940B83 0x0000000111947F84 0x00000001119441F1 0x0000000111948060 0x00000001119441F1 0x0000000111940B83 0x0000000111947F84 0x00000001119441F1 0x0000000111940B83 0x00000001118C49F9 0x000000011189DAF2 0x00000001118ABC73 0x000000011189DAF2 0x000000010C3A8493 0x000000010C3A944D 0x000000010CC84E02 0x0000000105F8EF89 0x0000000106E5AAB3 0x0000000106E5E97C 0x0000000105F9F2FD 0x0000000106B0256D 0x0000000105DB528A 0x0000000105DB5886 0x0000000105DB61B6 0x0000000105DB702A 0x0000000105DB7C29 0x0000000105E44036 0x0000000105FDFF0A 0x0000000105FDB290 0x0000000112570970 0x0000000112581D0A 0x00000001125829C6 0x0000000112583034 0x0000000111D687A7 0x0000000111C480A6 0x0000000111C49247 0x0000000111C2A1AC 0x0000000112570B86 0x000000011258270F 0x0000000112583034 0x0000000111D67F43 0x0000000111C2911E (19:27:40.481)
[GPS.KERNEL.MDI] Update file info /usr/local/adacore/2018/share/gps/readonly.gpr (19:27:40.481)
[GPS.KERNEL.GPS_KERNEL] Refresh_Context /usr/local/adacore/2018/share/gps/readonly.gpr (19:27:40.485)
[GPS.SOURCE_EDITOR.VIEW] Build_Editor_Context (19:27:40.485)
[GPS.KERNEL.ACTIONS] Leaving GPS.Kernel.Actions.Execute_Action:gps-kernel-actions.adb:711 (19:27:40.488)
[GPS.LANGUAGE.TREE_DATABASE] File's tree is already up-to-date: /usr/local/adacore/2018/share/gps/readonly.gpr (19:27:41.406)
[GPS.PRJ_EDITOR.OUTLINE] Time elapsed to compute outline: 0.000012000 (19:27:41.406)
[GPS.KERNEL.GPS_KERNEL] Refresh_Context Messages (19:28:04.083)
[GPS.COMMON.TOOLTIPS] No tooltip to display at this location (19:28:25.159)
[GPS.COMMON.TOOLTIPS] No tooltip to display at this location (19:28:28.847)
[GPS.COMMON.TOOLTIPS] No tooltip to display at this location (19:30:50.272)
[GPS.KERNEL.ACTIONS] Entering GPS.Kernel.Actions.Execute_Action:gps-kernel-actions.adb:711 Execute action exit 1 times synchronous=FALSE (19:30:50.411)
[GPS.DEBUGGING.BREAKPOINTS] No persistent breakpoint to save (19:30:50.411)
[GPS.MAIN.WINDOW] Requesting application quit (19:30:50.412)
[GPS.KERNEL.ACTIONS] Leaving GPS.Kernel.Actions.Execute_Action:gps-kernel-actions.adb:711 (19:30:50.412)
[GPS.KERNEL.ACTIONS] Entering GPS.Kernel.Actions.Execute_Action:gps-kernel-actions.adb:711 Execute action No casing/indentation on next key 1 times synchronous=FALSE (19:30:50.412)
[GPS.KERNEL.ACTIONS] Leaving GPS.Kernel.Actions.Execute_Action:gps-kernel-actions.adb:711 (19:30:50.412)
[GPS.MAIN.GPS] Shutdown (19:30:50.412)
[GPS.MAIN.GTK.EXCEPTIONS] Unexpected exception: raised GNATCOLL.VFS.VFS_INVALID_FILE_ERROR : gnatcoll-vfs.adb:312
GPS.MAIN.GTK.EXCEPTIONS 0x000000010CCC2DE2 0x0000000105EBBD19 0x0000000105EEB248 0x00000001054BE652 0x000000010E523CBD 0x0000000112570970 0x0000000112581D0A 0x00000001125829C6 0x0000000112583034 0x00000001122F3229 0x00000001054D4124 0x0000000107013D51 (19:30:50.412)
HTH, Pascal.
from gnatstudio.
Hello,
This exception seems to happen when the cross-references database (i.e: the gnatinspect.db file present in your object's directory) can't be written.
We plan to get rid of this database in the coming year so I am closing that issue, since the workaround is acceptable IMO (i.e: not work on a read-only directory).
Thanks for reporting this though!
from gnatstudio.
Related Issues (20)
- Scroll bar colors not consistent HOT 1
- Auto-fix for a -gnatwk warning hit applies wrong indentation HOT 2
- Outline and browser views not working HOT 1
- GNAT Studio 23.0w (20220512) crash when a signed integer is entered in the search box, and we click on the Calculator context search result line HOT 1
- How to change project search path with GUI? HOT 1
- Unable to build - python error with newline HOT 1
- Drag & Drop from File Explorer to GNAT Studio doesn't do anything HOT 5
- With binder shared, unable to automatically set exception breakpoint HOT 1
- Gnat Studio and the language server processes saturate a core for minutes with large arrays HOT 5
- Where's the Macintosh release? HOT 1
- Improvement of mouse-over message for inherited subprogram call HOT 1
- Idea: split comments and literal strings on Return keypress HOT 2
- Feature Suggestion: Alire Support
- Dependency List Out of Date HOT 2
- Latests release (20230501) crashes at start-up on Windows 11; libglib2.0-0.dll with exception 0x400000015 HOT 3
- gnatdoc: Unexpected reappearance of previous parameter for custom tags present in the same line HOT 2
- Unable to build gnatstudio - several HOT 1
- macOS Sonoma 14.1 version | M2 gnat is not working
- Installing newer version of GNATSTUDIO, now I cannot build anything HOT 6
- Idea: suggestion for missing "with Ada.Strings.Fixed" and "Ada.Characters.Handling" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gnatstudio.