Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure to open wheels. #16

Open
gl-yziquel opened this issue Sep 7, 2024 · 0 comments
Open

Failure to open wheels. #16

gl-yziquel opened this issue Sep 7, 2024 · 0 comments

Comments

@gl-yziquel
Copy link

gl-yziquel commented Sep 7, 2024

After having upgraded to the latest ubuntu (noble), I found that midnight commander is not able to dive into compressed archived files anymore. So I turned to unp for a quick fix. And tried opening up a wheel. It failed.

mini-me@virtucon ~/h/b/h/S/o/p/dist (development)> unp soar-0.1-py3-none-any.whl                                        
Unpacking "/home/mini-me/home/backyard/hephaestus/Soar-development/out/python/dist/soar-0.1-py3-none-any.whl" with unzip
Traceback (most recent call last):
  File "/home/mini-me/.pyenv/versions/3.12.2/bin/unp", line 8, in <module>                                             
    sys.exit(cli())                                        
             ^^^^^                                         
  File "/home/mini-me/.pyenv/versions/3.12.2/lib/python3.12/site-packages/click/core.py", line 1157, in __call__       
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/mini-me/.pyenv/versions/3.12.2/lib/python3.12/site-packages/click/core.py", line 1078, in main           
 (warning) cannot set modif./access times
          No such file or directorycheckdir error:  cannot create soar                                                 
                 No such file or directory
                 unable to process soar/_Python_sml_ClientInterface.so.                                                
checkdir error:  cannot create soar-0.1.dist-info
                 No such file or directory
                 unable to process soar-0.1.dist-info/METADATA.                                                        
checkdir error:  cannot create soar-0.1.dist-info
                 No such file or directory
                 unable to process soar-0.1.dist-info/WHEEL.                                                           
checkdir error:  cannot create soar-0.1.dist-info
                 No such file or directory
                 unable to process soar-0.1.dist-info/top_level.txt.                                                   
checkdir error:  cannot create soar-0.1.dist-info
                 No such file or directory
                 unable to process soar-0.1.dist-info/RECORD.                                                          
    rv = self.invoke(ctx)                                  
         ^^^^^^^^^^^^^^^^                                  
  File "/home/mini-me/.pyenv/versions/3.12.2/lib/python3.12/site-packages/click/core.py", line 1434, in invoke         
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/mini-me/.pyenv/versions/3.12.2/lib/python3.12/site-packages/click/core.py", line 783, in invoke          
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/mini-me/.pyenv/versions/3.12.2/lib/python3.12/site-packages/unp.py", line 565, in cli                    
    unpacker.unpack(output)                                
  File "/home/mini-me/.pyenv/versions/3.12.2/lib/python3.12/site-packages/unp.py", line 210, in unpack                 
    if self.real_unpack(tmp_dir) != 0:
       ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/mini-me/.pyenv/versions/3.12.2/lib/python3.12/site-packages/unp.py", line 243, in real_unpack            
    for filename in self.stream_processor.process(c):
  File "/home/mini-me/.pyenv/versions/3.12.2/lib/python3.12/site-packages/unp.py", line 71, in process                 
    match = self.regex.search(line)
            ^^^^^^^^^^^^^^^^^^^^^^^
TypeError: cannot use a string pattern on a bytes-like object
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant