Jump to content


p4python p4.run_opened("-c", changenum)

p4python API scripting python automation error

  • Please log in to reply
1 reply to this topic

#1 mikiss

mikiss

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 07 October 2017 - 09:31 AM

Hi guys, I am relatively new to useing p4python, I made a script that uses p4.run_opened(). So my problem is that the whole script works fine , does everything right when I run it on my computer.
However if I try to run it on an other computer I get this Error message:

P4.P4Exception: [P4#run] Errors during command execution( "p4 opened -c 1061387" )

        [Error]: "Client 'kiss-mi-w10' unknown - use 'client' command to create it."

Thanks for your help,

Miklós

#2 P4Reg

P4Reg

    Advanced Member

  • Staff Moderators
  • 40 posts

Posted 09 October 2017 - 02:00 PM

Hi Miklos

Try using the -a flag to opened to report files open on all clients::

p4 opened -ac 1061387


For a particular client you can use the -C client-name option:

p4 opened -C clientname -c 1061387



You can see the help for "opened " by running "p4 help opened"





Also tagged with one or more of these keywords: p4python, API, scripting, python, automation, error

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users