RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1440129 - Error message after copy-paste same file to Win Guest
Summary: Error message after copy-paste same file to Win Guest
Keywords:
Status: CLOSED DUPLICATE of bug 1410181
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: spice-vdagent
Version: 7.4
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Default Assignee for SPICE Bugs
QA Contact: SPICE QE bug list
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-07 11:03 UTC by Radek Duda
Modified: 2017-04-07 11:34 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-04-07 11:34:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Radek Duda 2017-04-07 11:03:47 UTC
Description of problem:
After file with the same name to Win Guest (which is already on Guest's desktop), ugly error meassage dialog appears.

Version-Release number of selected component (if applicable):
Client (rhel7.4):
virt-viewer-5.0-2.el7.x86_64
spice-gtk3-0.33-2.el7.x86_64

Guest - Win10/Win7 tested
vdagent 1.1.4.1002

How reproducible:
always

Steps to Reproduce:
1.Start Win Guest (win7/10 tested)
2.Copy some $file_1 from Client to Guest (drag&drop), or crate any $file_1 in guest (Desktop directory)
3. Copy $file_2 with the same filename as $file_1 from Client to Guest (drag&drop) (does not have to be the same file, only must have the same filename)

Actual results:
Error message dialog window appears with text: "An error caused the following file transfers to fail: $filename".

and in the spice-debug log:

(remote-viewer:22566): GSpice-DEBUG: spice-widget.c:539 drag_data_received_callback: drag a file
(remote-viewer:22566): GSpice-DEBUG: spice-file-transfer-task.c:675 transfer of file 1595_001.pdf has started
(remote-viewer:22566): GSpice-DEBUG: channel-main.c:3104 Insert a xfer task:4 to task list
(remote-viewer:22566): GSpice-DEBUG: channel-main.c:1845 xfer-task 4 received response 2
(remote-viewer:22566): GSpice-DEBUG: spice-file-transfer-task.c:303 File /home/rduda/Downloads/1595_001.pdf xfer failed: The spice agent reported an error during the file transfer
(remote-viewer:22566): GSpice-DEBUG: channel-main.c:2885 Transfer failed (0x55ad17c8aec0) Transferring 1 files: 0 succeed, 0 cancelled, 1 failed

(remote-viewer:22566): GSpice-WARNING **: File transfer failed with error: Transferring 1 files: 0 succeed, 0 cancelled, 1 failed
(remote-viewer:22566): Spice-DEBUG: channel-main.c:2904:file_transfer_operation_free: Freeing file-transfer-operation 0x55ad17c8aec0

(remote-viewer:22566): virt-viewer-WARNING **: File transfer task 0x55ad1810d580 failed: The spice agent reported an error during the file transfer


Expected results:
The best would be to unify the behaviour of Win guests with rhel guests: new file is created with filename suffix: "($number_of_same_filenames_in_folder)".

Comment 2 Pavel Grunt 2017-04-07 11:08:05 UTC
> 
> Expected results:
> The best would be to unify the behaviour of Win guests with rhel guests: new
> file is created with filename suffix:
> "($number_of_same_filenames_in_folder)".
>
cannot be done by the client - you should move it to windows agent

Comment 3 Andrei Stepanov 2017-04-07 11:34:44 UTC

*** This bug has been marked as a duplicate of bug 1410181 ***


Note You need to log in before you can comment on or make changes to this bug.