-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Importing a file while being in the wrong working directory, which resulted in a stack overflow: #115
Comments
Expected outcome instead: We should print an error to stderr that the file wasnt found and return |
teh underlying bug (to @jazzbox35 or @AdrickTench) is that we accept non existent path as they might be a python or a class module that our virtual loader system is goign to finjd.. In the case of a file extension like |
Robert Haas:
A second but possibly related observation: I accidentally tried to import a file while being in the wrong working directory, which resulted in a stack overflow:
root@ca898574a16c:~/metta-wam# mettalog --repl
metta+>!(import! &hald hald_spo.metta)
[
(error
(resource_error stack) stack_overflow{choicepoints:1314916,depth:4930906,environments:3287263,globalused:3
The text was updated successfully, but these errors were encountered: