Skip to content
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

Error reported for temp data.npy file #41

Open
aidanacquah opened this issue Jul 16, 2024 · 2 comments
Open

Error reported for temp data.npy file #41

aidanacquah opened this issue Jul 16, 2024 · 2 comments

Comments

@aidanacquah
Copy link

When running actipy.read_device() an error is reported:

"Error: path/to/data.npy - The process cannot access the file because it is being used by another process."

It should be noted that this is a non breaking error and actipy continues to work as expected when ignoring this error.

@chanshing
Copy link
Member

Can you share the details of the machine you used to reproduce this error? First time seeing it

@aidanacquah
Copy link
Author

Produced when running actipy on Windows 11 machine.
Reproduced on several different machines.

Conda environment set up with:
Python = 3.9
openjdk = 11.0.13
pip = 24.0

actipy=3.0.8

Using ipython, I run the commands:

import actipy
data, info = actipy.read_device("C:/path/to/file.cwa")

This produces the error message:

Decompressing... Done! (1.19s)
Reading file... Done! (16.32s)
Converting to dataframe... Done! (4.87s)
Error: C:\path\to\AppData\Local\Temp\tmpndeeot4f\data.npy - The process cannot access the file because it is being used by another process.
Lowpass filter... Done! (13.14s)
Gravity calibration... Done! (18.21s)
Nonwear detection... Done! (6.73s)
Resampling... Done! (19.21s)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants