Skip to content

Tar ASCII translation does not work #27

Closed

Description

@dgrunwald

SD-744, originally created on 4/2/2006 22:23:38 by John Reilly

I have met just a little prbl whith TAR.GZ files when I set the
asciiTranslate option on "true". When this option is set on false,
everything works great, but when it is on true, an IOException appears
:(

Here is the full error message :


Une exception non gérée du type 'System.IO.IOException' s'est produite
dans mscorlib.dll

Informations supplémentaires : Le processus ne peut pas accéder au
fichier "C:\Documents and Settings\Jeje\Mes documents\Visual Studio
Projects\TestXLAccess\bin\Debug\Test\batchs\purge.sh", car il est
en cours d'utilisation par un autre processus.


I guess you prefer in English ;-)


A non handeled exception of  'System.IO.IOException' type has occured in
mscorlib.dll

Further information : The process cannot access to the file
"C:\Documents and Settings\Jeje\Mes documents\Visual Studio
Projects\TestXLAccess\bin\Debug\Test\batchs\purge.sh", because it
is being used by an other process


So, I think SharpZipLib might create a new process to write into text
files but there is a colision with the main process which has created
the file or something like that.

If you have any idea about how this little bug could be resolved, I
would be glad to hear it :)

Thx again for your work.
Jerome

Activity

  1. self-assigned this
    on Apr 14, 2016
  2. modified the milestone: post 1.0 on Aug 14, 2016
  3. added and removed
    enhancement
    on Jun 18, 2019
  4. changed the title [-]IO exception when ascii translate is turned on.[/-] [+]Tar ASCII translation does not work[/+] on Jun 18, 2019
  5. added
    tar
    on Jun 18, 2019
  6. piksel commented on Nov 22, 2020

    @piksel
    Member

    This should have been fixed by #326

  7. Numpsy commented on Dec 6, 2020

    @Numpsy
    Contributor

    was the translate option on extract actually fixed? I had a recollection that there was still an issue with it trying to read a file that it had locked for write, though I might be misremembering.

  8. piksel commented on Dec 6, 2020

    @piksel
    Member

    Well, both yes and no :3

    It was fixed as it is no longer trying to open the file twice, so no exception.
    But it's still checking if the destionation file is ASCII, which will never be true, so that part is still wrong (which simply means that we don't do any translation).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugtar

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions