Giter VIP home page Giter VIP logo

Comments (3)

reznikmm avatar reznikmm commented on August 27, 2024

Do you have spaces in the path to current directory?

from gnatstudio.

Blady-Com avatar Blady-Com commented on August 27, 2024

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.

AnthonyLeonardoGracio avatar AnthonyLeonardoGracio commented on August 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.