Menu

#32 Cannot open xfig-full-3.2.7a.tar.xz

closed
nobody
None
2019-10-30
2018-08-31
No

From
https://sourceforge.net/projects/mcj/files/
I downloaded
xfig-full-3.2.7a.tar.xz
to my macOS 10.12.6. I double clicked on the icon and it created
a new file. Clicking on that I got another ... the series is:
xfig-full-3.2.7a.tar.xz.cpgz
xfig-full-3.2.7a.tar\ 2.xz
xfig-full-3.2.7a.tar\ 2.xz.cpgz
xfig-full-3.2.7a.tar\ 2\ 2.xz
xfig-full-3.2.7a.tar\ 2\ 2.xz.cpgz

Using my diffall script
https://alum.mit.edu/www/toms/ftp/diffall
to compare all the files

I found:

% diffall xfig*
version = 1.28 of diffall 2017 Jul 14
2018Aug31_18:18:40

file

1 xfig-full-3.2.7a.tar 2 2.xz
2 xfig-full-3.2.7a.tar 2 2.xz.cpgz
3 xfig-full-3.2.7a.tar 2.xz
4 xfig-full-3.2.7a.tar 2.xz.cpgz
5 xfig-full-3.2.7a.tar.xz
6 xfig-full-3.2.7a.tar.xz.cpgz


123456
1 .=.=.
2 .....
3 =..=.
4 .....
5 =.=..
6 .....\
number of pairings equal 3
number of pairings not equal 12

The '=' signs show that I'm going in circles and never untar the file!
Help!!!

Thomas D. Schneider, Ph.D.
Senior Investigator
National Institutes of Health
National Cancer Institute
Center for Cancer Research
RNA Biology Laboratory
Biological Information Theory Group
Frederick, Maryland 21702-1201
schneidt@mail.nih.gov

Related

Tickets: #32

Discussion

  • Roland Rosenfeld

    I don't know, what "clicking on an icon" in macOS means, nor do I understand what all these freshly created files come from.

    I just downloaded xfig-full-3.2.7a.tar.xz from the NetCologne SourceForge mirror. It has the following md5sum: 3019d82efaa1277493bd42e1970897af
    Please check this to prove, that we are talking about the same file.

    If I unpack this file with tar xvfJ, this results in two directories (fig2dev-3.2.7a and xfig-3.2.7a), which contain the sources of fig2dev and xfig.

    Maybe your system doesn't support xz compression (https://en.wikipedia.org/wiki/Xz) and creates the above mentioned fragments on trying to first unxz and than untar the file?

     

    Last edit: Roland Rosenfeld 2018-09-01
    • Tom Schneider

      Tom Schneider - 2018-09-01

      Roland:

      Thanks for the quick response.

      I don't know, what "clicking on an icon" in macOS means, nor do I
      understand what all these freshly created files come from.

      That's odd! I've met many people who don't know what the command line
      is, but never ones who don't know about the modern graphical
      interfaces! Or maybe it's a matter of English descriptions of things?
      (I'm guessing from your download that you are in Germany.) Anyway,
      for your information (FYI) ... "clicking on an icon" means to move
      (using a physical mouse device - you know what that is?) the mouse
      pointer over the graphical symbol representing a file and then
      depressing the (usually left) mouse button twice rapidly. This causes
      the object to open (tar xvf in this case).

      I just downloaded xfig-full-3.2.7a.tar.xz from the NetCologne
      SourceForge mirror. It has the following md5sum:
      3019d82efaa1277493bd42e1970897af
      Please check this to prove, that we are talking about the same file.

      % md5sum xfig-full-3.2.7a.tar.xz
      3019d82efaa1277493bd42e1970897af xfig-full-3.2.7a.tar.xz
      % md5sum xfig-full-3.2.7a.tar.xz | grep 3019d82efaa1277493bd42e1970897af
      3019d82efaa1277493bd42e1970897af xfig-full-3.2.7a.tar.xz

      I grepped using your string so the file we are discussing is (almost
      certainly) the same.

      If I unpack this file with tar xvfJ, this results in two directories
      (fig2dev-3.2.7a and xfig-3.2.7a), which contain the sources of
      fig2dev and xfig.

      That worked! My tar knows xvf but J is not listed in the man page;
      but it does unpack both directories.

      Maybe your system doesn't support xz compression and creates the
      above mentioned fragments on trying to first unxz and than untar the
      file?

      Apparently macOS does not support the usual graphical click method but
      it works from the command line. By the way, I tried 'tar xvf' and
      that works. It seems that tar (here?) ignored the J.

      [tickets:#32] https://sourceforge.net/p/mcj/tickets/32/ Cannot open xfig-full-3.2.7a.tar.xz

      THANKS!!!

      Tom

      Thomas D. Schneider, Ph.D.
      Senior Investigator
      National Institutes of Health
      National Cancer Institute
      Center for Cancer Research
      RNA Biology Laboratory
      Biological Information Theory Group
      Frederick, Maryland 21702-1201
      schneidt@mail.nih.gov
      https://schneider.ncifcrf.gov (current link)
      https://alum.mit.edu/www/toms (permanent link)

       

      Related

      Tickets: #32

  • Roland Rosenfeld

    I know, what klicking on an icon means, but I still do not know what it means on macOS.
    Seems that for tar.xz files it means to create some unusable files...

     
    • Tom Schneider

      Tom Schneider - 2018-09-01

      I know, what klicking on an icon means, but I still do not know what
      it means on macOS.

      It "opens" the file - if it is compressed it will uncompress. a
      tar.gz file would first be ungz'd and then untar'd. - one can see it
      doing that graphically and it's convenient and fast.

      Seems that for tar.xz files it means to create
      some unusable files...

      It's a bug in Apple code.

       
  • Roland Rosenfeld

    Since it's not an xfig bug an macOS issue, I close this ticket.

     
  • Roland Rosenfeld

    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB