-
Notifications
You must be signed in to change notification settings - Fork 12
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
password after import statement #22
Comments
You run both those import statements from the same directory, and one asks
for a password and the other doesn't?
The statement `from pynapl import APL` runs the code in `APL.py` (which
will run code in other files, in turn) whereas the statement `import
pynapl` doesn't, so the file `APL.py` (or some other, imported by it) is
probably running something that requires some level of privilege...
I'll venture a wild guess and say it's the code that tries to locate the
Dyalog app...
Have you tried typing your password? If so, did Py'n'APL start correctly?
…On Sat, 30 Jul 2022, 00:34 Ramin, ***@***.***> wrote:
import pyapl works by from pynapl import APL asks for password. What am I
doing wrong? What password is it asking for. I'm on Mac. Thanks!
—
Reply to this email directly, view it on GitHub
<#22>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABK4OZJ2XJEO7STR4LSF6UDVWRTARANCNFSM55CH2LWQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
You are right; |
I have this same issue, running under WSL2. Why is this module even asking for a password on import? |
It is highly likely that the issue is coming from the fact that the current pynapl will use a temporary auxiliary file when starting the connection between APL and Python, and it must be trying to write that file to a folder it doesn't have access to. This is the temporary auxiliary file: Lines 18 to 26 in 7e47c04
And this is where it's being written: Line 181 in 7e47c04
|
I think the issue is not with the actual There is a risk that this other module could be modified to do something malicious, and people attempting to interface Python and APL will install this other module. It's recommended that this project either attempt to gain ownership of the |
Excellent investigation. I see @rawmean this might've been your issue as well. |
import pyapl
works byfrom pynapl import APL
asks for password. What am I doing wrong? What password is it asking for. I'm on Mac. Thanks!The text was updated successfully, but these errors were encountered: