Skip to content

paxton_clone.lua: Could not open the file (reading/writing log file Paxton_log.txt) #2919

@jamesmacwhite

Description

@jamesmacwhite

Hi @jareckib @doegox ,

I am trying to run the paxton_clone.lua script you created via: script run paxton_clone with a Proxmark 3 Easy running proxmark3-v4.20469

I get the following error when trying to read a tag.

----------------------------------------------------------------
  Select option:
  1 - Read Paxton blocks 4-7 to make a copy
  2 - Manually input data for Paxton blocks 4-7
  3 - Search in Paxton_log by name and use the data
----------------------------------------------------------------
  Your choice (1/2/3): 1
  Place the Paxton Fob on the coil to read..ENTER to continue..
----------------------------------------------------------------
[-] ⛔ error - .../jameswhite/proxmark3/client/luascripts/paxton_clone.lua:68:  Could not open the file

[+] finished paxton_clone

[usb] pm3 -->

It would appear to be something related to not being able to read the log file: https://github.com/RfidResearchGroup/proxmark3/blob/master/client/luascripts/paxton_clone.lua#L68

I tried creating it manually and set file permissions, but I continue to get the same error. I'm wondering if it is to do the path it is trying to read/write to?

My home directory is /home/jameswhite, the path /home/jameswhite/.proxmark3/logs exists.

Calling script run paxton_clone -h did not run the help info either. Ignore me, I was using the wrong help param.

I'm fairly new to running client scripts so if I'm doing something wrong, apologies.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions