You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting a stream transfer, it seems that if the file name has a # in the name it is interpreted as a version number.
Python 3.11.4 on windows.
Log Tail:
2023-06-21 11:35:43,506:P4Transfer:ERROR: [P4#run] Errors during command execution( "p4 sync -k e:\p4transfer\XXXX_SW_stream\master\PC\Test\Reference Documents\Master PDFs\XXXXSendProt BBBBB-#2 Protocol Sent to CCCC.pdf" )
[Error]: "Invalid revision number '2 Protocol Sent to CCCC.pdf'."
Traceback (most recent call last):
File "C:\Users\Administrator\Documents\p4transfer\P4Transfer.py", line 2632, in replicate
num_changes = self.replicate_changes()
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\Documents\p4transfer\P4Transfer.py", line 2449, in replicate_changes
targetChange = self.target.replicateChange(fileRevs, specialMoveRevs, srcFileLogs, change, self.source.p4.port)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\Documents\p4transfer\P4Transfer.py", line 1556, in replicateChange
self.processChangeRevs(fileRevs, specialMoveRevs, srcFileLogs)
File "C:\Users\Administrator\Documents\p4transfer\P4Transfer.py", line 1494, in processChangeRevs
self.replicateBranch(f, dirty=False)
File "C:\Users\Administrator\Documents\p4transfer\P4Transfer.py", line 1872, in replicateBranch
self.p4cmd('sync', '-k', file.fixedLocalFile)
File "C:\Users\Administrator\Documents\p4transfer\P4Transfer.py", line 1024, in p4cmd
output = self.p4.run(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\P4.py", line 617, in run
raise e
File "C:\Python311\Lib\site-packages\P4.py", line 611, in run
result = P4API.P4Adapter.run(self, *flatArgs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
P4.P4Exception: [P4#run] Errors during command execution( "p4 sync -k e:\p4transfer\XXXX_SW_stream\master\PC\Test\Reference Documents\Master PDFs\XXXXSendProt BBBBB-#2 Protocol Sent to CCCC.pdf" )
[Error]: "Invalid revision number '2 Protocol Sent to CCCC.pdf'."
The text was updated successfully, but these errors were encountered:
Attempting a stream transfer, it seems that if the file name has a # in the name it is interpreted as a version number.
Python 3.11.4 on windows.
Log Tail:
2023-06-21 11:35:43,506:P4Transfer:ERROR: [P4#run] Errors during command execution( "p4 sync -k e:\p4transfer\XXXX_SW_stream\master\PC\Test\Reference Documents\Master PDFs\XXXXSendProt BBBBB-#2 Protocol Sent to CCCC.pdf" )
Traceback (most recent call last):
File "C:\Users\Administrator\Documents\p4transfer\P4Transfer.py", line 2632, in replicate
num_changes = self.replicate_changes()
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\Documents\p4transfer\P4Transfer.py", line 2449, in replicate_changes
targetChange = self.target.replicateChange(fileRevs, specialMoveRevs, srcFileLogs, change, self.source.p4.port)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\Documents\p4transfer\P4Transfer.py", line 1556, in replicateChange
self.processChangeRevs(fileRevs, specialMoveRevs, srcFileLogs)
File "C:\Users\Administrator\Documents\p4transfer\P4Transfer.py", line 1494, in processChangeRevs
self.replicateBranch(f, dirty=False)
File "C:\Users\Administrator\Documents\p4transfer\P4Transfer.py", line 1872, in replicateBranch
self.p4cmd('sync', '-k', file.fixedLocalFile)
File "C:\Users\Administrator\Documents\p4transfer\P4Transfer.py", line 1024, in p4cmd
output = self.p4.run(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\P4.py", line 617, in run
raise e
File "C:\Python311\Lib\site-packages\P4.py", line 611, in run
result = P4API.P4Adapter.run(self, *flatArgs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
P4.P4Exception: [P4#run] Errors during command execution( "p4 sync -k e:\p4transfer\XXXX_SW_stream\master\PC\Test\Reference Documents\Master PDFs\XXXXSendProt BBBBB-#2 Protocol Sent to CCCC.pdf" )
The text was updated successfully, but these errors were encountered: