yoichiro / chromeos-filesystem-cifs

BSD 3-Clause "New" or "Revised" License
56 stars 21 forks source link

Can't save files using the "save as" dialog box #60

Open petekl opened 9 years ago

petekl commented 9 years ago

When I click on a file from a website (e.g. a pdf file) and try to download it to a cifs folder, the download fails with a "Failed - Download error" message. I have no problem saving the same file to either Drive or local storage. Once downloaded to either Drive or local storage, I can easily transfer the file to a cifs folder using the "Files" application.

This only seems to be an issue when I am using the "save as" dialog box to save files. Using just the "Files" application work fine. Problem is the same on both an ARM based chromebook and an Intel based chromebox.

This is also a problem with the SFTP extension.

fast-hedgehog commented 9 years ago

I also have this issue. When trying to save an image from this webpage to my nas via smb, there is the following error in your console: " 3221225524: NT_STATUS_OBJECT_NAME_NOT_FOUNDDebug.error @ background.js:6180handleError @ background.js:13952(anonymous function) @ background.js:13355(anonymous function) @ background.js:14098(anonymous function) @ background.js:12135checkError @ background.js:12352(anonymous function) @ background.js:12661(anonymous function) @ background.js:11537ChromeSocket2.fetch @ background.js:11765ChromeSocket2.fetch @ background.js:11767_appendReceivedData @ background.js:11650ChromeSocket2.onReceive @ background.js:11724(anonymous function) @ background.js:11709target.(anonymous function) @ extensions::SafeBuiltins:19EventImpl.dispatchToListener @ extensions::eventbindings:395target.(anonymous function) @ extensions::SafeBuiltins:19publicClass.(anonymous function) @ extensions::utils:94EventImpl.dispatch @ extensions::event_bindings:379dispatchArgs @ extensions::event_bindings:247dispatchEvent @ extensions::event_bindings:256 "

The entire console log for this event is as follows: " background.js:6162 TaskQueue: addTask - Call consume task: length=1 background.js:6162 TaskQueue: consumeTask - execute task: length=1 background.js:6162 onReadDirectoryRequested background.js:6162 Object {directoryPath: "/", fileSystemId: "cifsfs://192.168.1.4:445/undefined@admin/Share", requestId: 309} background.js:6162 Client#readDirectory: \ background.js:6169 Packet {types: Types, data: ArrayBuffer, dataLength_: 86} background.js:6162 writePacket background.js:6162 readPacket background.js:6162 _readPacketSize background.js:6162 readPacketSize - 2 background.js:6162 readPacket: 1064 background.js:6169 Header {types: Types, protocol: "SMB", command: 50, errorClass: 0, errorCode: 0…} background.js:6169 FindFirst2Response {types: Types, responseUtils: ResponseUtils, searchId: 256, searchCount: 9, endOfSearch_: 0…} background.js:6162 writePacket background.js:6162 readPacket background.js:6162 _readPacketSize background.js:6162 readPacketSize - 2 background.js:6162 readPacket: 1040 background.js:6169 Header {types: Types, protocol: "SMB", command: 50, errorClass: 0, errorCode: 0…} background.js:6169 FindNext2Response {types: Types, responseUtils: ResponseUtils, searchCount: 6, endOfSearch: 0, lastNameOffset_: 864…} background.js:6162 writePacket background.js:6162 readPacket background.js:6162 _readPacketSize background.js:6162 readPacketSize - 2 background.js:6162 readPacket: 416 background.js:6169 Header {types: Types, protocol: "SMB", command: 50, errorClass: 0, errorCode: 0…} background.js:6169 FindNext2Response {types: Types, responseUtils: ResponseUtils, searchCount: 2, endOfSearch: 1, lastNameOffset_: 204…} background.js:6162 writePacket background.js:6162 readPacket background.js:6162 _readPacketSize background.js:6162 readPacketSize - 2 background.js:6162 readPacket: 35 background.js:6162 Object {metadataList: Array[15]} background.js:6162 TaskQueue: consumeTask - queue: empty background.js:6162 TaskQueue: addTask - Call consume task: length=1 background.js:6162 TaskQueue: consumeTask - execute task: length=1 background.js:6162 onGetMetadataRequested: thumbnail=false background.js:6162 Object {entryPath: "/13166938.png", fileSystemId: "cifsfs://192.168.1.4:445/undefined@admin/Share", requestId: 320, thumbnail: false} background.js:6162 Client#getMetadata background.js:6169 Packet {types: Types, data: ArrayBuffer, dataLength: 100} background.js:6162 writePacket background.js:6162 readPacket background.js:6162 _readPacketSize background.js:6162 _readPacketSize - 2 background.js:6162 readPacket: 35 background.js:6180 3221225524: NT_STATUS_OBJECT_NAME_NOT_FOUNDDebug.error @ background.js:6180handleError @ background.js:13952(anonymous function) @ background.js:13355(anonymous function) @ background.js:14098(anonymous function) @ background.js:12135checkError @ background.js:12352(anonymous function) @ background.js:12661(anonymous function) @ background.js:11537ChromeSocket2.fetch @ background.js:11765ChromeSocket2.fetch @ background.js:11767_appendReceivedData @ background.js:11650ChromeSocket2.onReceive @ background.js:11724(anonymous function) @ background.js:11709target.(anonymous function) @ extensions::SafeBuiltins:19EventImpl.dispatchToListener @ extensions::eventbindings:395target.(anonymous function) @ extensions::SafeBuiltins:19publicClass.(anonymous function) @ extensions::utils:94EventImpl.dispatch @ extensions::event_bindings:379dispatchArgs @ extensions::event_bindings:247dispatchEvent @ extensions::event_bindings:256 background.js:6181 console.trace()Debug.error @ background.js:6181handleError @ background.js:13952(anonymous function) @ background.js:13355(anonymous function) @ background.js:14098(anonymous function) @ background.js:12135checkError @ background.js:12352(anonymous function) @ background.js:12661(anonymous function) @ background.js:11537ChromeSocket2.fetch @ background.js:11765ChromeSocket2.fetch @ background.js:11767_appendReceivedData @ background.js:11650ChromeSocket2.onReceive @ background.js:11724(anonymous function) @ background.js:11709target.(anonymous function) @ extensions::SafeBuiltins:19EventImpl.dispatchToListener @ extensions::eventbindings:395target.(anonymous function) @ extensions::SafeBuiltins:19publicClass.(anonymous function) @ extensions::utils:94EventImpl.dispatch @ extensions::event_bindings:379dispatchArgs @ extensions::event_bindings:247dispatchEvent @ extensions::event_bindings:256 background.js:6176 NOT_FOUND background.js:6162 TaskQueue: consumeTask - queue: empty " Hope this helps

yoichiro commented 8 years ago

This is NOT a bug of this app. I have already reported this issue to crbug: https://code.google.com/p/chromium/issues/detail?id=458757 This issue should be fixed by improving of Chrome.