question

keepcoding avatar image
keepcoding asked keepcoding published

PermissionError: [WinError 32] The process cannot access the file because it is being used by another process

Hello,

I'm trying to set up an emulator for my Clover Marchant by following this tutorial from the official documentation, and everything works fine until I have to run the install_apps.py script.

Below, you can see that some packages are updating, but after some point, the error always apper.

python .\install_apps.py
Getting installed versions...
Getting current app data...
Updating package: com.clover.apps from version: ?, to version: 1402...
Updating package: com.clover.appupdater from version: ?, to version: 1197...
Updating package: com.clover.auths from version: ?, to version: 205...
Updating package: com.getperka.clover.feedback from version: ?, to version: 50...
Updating package: com.clover.cashmanagement from version: ?, to version: 1161...
Updating package: com.clover.remote.protocol.local from version: ?, to version: 472...
Updating package: com.clover.closeout from version: ?, to version: 180...
Updating package: com.clover.connmon from version: ?, to version: 106...
Updating package: com.clover.crypt from version: ?, to version: 2195...
Updating package: com.clover.customers from version: ?, to version: 1252...
Updating package: com.clover.discounts from version: ?, to version: 1180...
Updating package: com.clover.employees from version: ?, to version: 1254...
Updating package: com.clover.figleaf from version: ?, to version: 1405...
Updating package: com.clover.help from version: ?, to version: 1261...
Updating package: com.clover.inventory from version: ?, to version: 1250...
Updating package: com.clover.launcher from version: ?, to version: 1316...
Updating package: com.clover.manualtransaction from version: ?, to version: 1147...
Updating package: com.clover.star from version: ?, to version: 2195...
Updating package: com.clover.metrics from version: ?, to version: 199...
Updating package: com.clover.orders from version: ?, to version: 1246...
Updating package: com.clover.payment.builder.billsplit from version: ?, to version: 143...
Updating package: com.clover.payment.builder.pay from version: ?, to version: 577...
Updating package: com.clover.printers from version: ?, to version: 1211...
Updating package: com.clover.register from version: ?, to version: 1586...
Updating package: com.clover.remote.terminal.kiosk from version: ?, to version: 472...
Updating package: com.clover.payment.executor.station.secure from version: ?, to version: 577...
Updating package: com.clover.reporting from version: ?, to version: 1231...
Updating package: com.clover.setup from version: ?, to version: 1397...
Updating package: org.mozilla.focus from version: ?, to version: 20641411...
Updating package: com.clover.shifts from version: ?, to version: 1219...
Updating package: com.getperka.clover.validator.promos from version: ?, to version: 173...
Updating package: com.clover.terminal.refund from version: ?, to version: 290...
Updating package: com.clover.tips from version: ?, to version: 1228...
Updating package: com.clover.transactions from version: ?, to version: 294...
Updating package: com.getperka.clover.validator from version: ?, to version: 259...
Updating package: com.getperka.clover.validator.ce from version: ?, to version: 120...
Updating package: com.opensource.clover.browser from version: ?, to version: 2015388560...
Updating package: com.clover.ga.app from version: ?, to version: 2195...
Updating package: com.clover.payment.executor.station from version: ?, to version: 577...
Traceback (most recent call last):
  File "C:\Users\user\AndroidStudioProjects\cloverapp\install_apps.py", line 190, in <module>
    main(sys.argv[1:])
  File "C:\Users\user\AndroidStudioProjects\cloverapp\install_apps.py", line 187, in main
    else :os.remove(appinfo_db_file)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\USER\\AppData\\Local\\Temp/appinfo.db'
Clover Android SDKClover StationEmulator
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community