Skip to content

rezutil returning errors #149

Description

@tlhommeperso

Hello me again,
on the fresh install i tried using the little mojo lib you wrote rezutil to build and install but it always complains about the missing build.rxt which you obtain when using your other example of install.py here https://allzpark.com/rez/#payload

================================================================================                                                                          
Building blender-3.2...                                                                                                                                   
================================================================================                                                                          
Resolving build environment: rezutil-1                                                                                                                    
resolved by tlhomme@AVFX-RS-001, on Wed Apr 12 08:56:10 2023, using Rez v2.112.0                                                                          
                                                                                                                                                          
requested packages:                                                                                                                                       
rezutil-1                                                                                                                                                 
~platform==windows           (implicit)                                                                                                                   
~arch==AMD64                 (implicit)                                                                                                                   
~os==windows-10.0.19045.SP0  (implicit)                                                                                                                   
                                                                                                                                                          
resolved packages:                                                                                                                                        
arch-AMD64                 c:\users\tlhomme\packages\arch\AMD64                                                           (local)                         
os-windows-10.0.19045.SP0  c:\users\tlhomme\packages\os\windows-10.0.19045.SP0                                            (local)                         
platform-windows           c:\users\tlhomme\packages\platform\windows                                                     (local)                         
python-3.9.13              c:\users\tlhomme\packages\python\3.9.13\platform-windows\arch-AMD64\os-windows-10.0.19045.SP0  (local)                         
rezutil-1.3.5              c:\users\tlhomme\packages\rezutil\1.3.5                                                        (local)                         
                                                                                                                                                          
Invoking custom build system...                                                                                                                           
Running build command: python -m rezutil build C:\Users\tlhomme\Documents\dev\avfx-env-manager\avfx_packages\blender                                      
C:\Users\tlhomme\Documents\dev\avfx-env-manager\avfx_packages\blender                                                                                     
C:\Users\tlhomme\Documents\dev\avfx-env-manager\avfx_packages\blender\build                                                                               
c:\users\tlhomme\packages\blender\3.2                                                                                                                     
['install']                                                                                                                                               
   b'Cleaning previous build..'                                                                                                                           
      b'Removing file build.rxt'                                                                                                                          
   b'Writing resources\\icon_64.png'                                                                                                                      
   b'Writing resources\\readme.txt'                                                                                                                       
   b'Cleaning previous install..'                                                                                                                         
      b'Removing dir resources'                                                                                                                           
   b'Installing resources\\icon_64.png'                                                                                                                   
   b'Installing resources\\readme.txt'                                                                                                                    
Traceback (most recent call last):                                                                                                                        
  File "C:\Program Files\Python39\lib\runpy.py", line 197, in _run_module_as_main                                                                         
    return _run_code(code, main_globals, None,                                                                                                            
  File "C:\Program Files\Python39\lib\runpy.py", line 87, in _run_code                                                                                    
    exec(code, run_globals)                                                                                                                               
  File "C:\opt\rez\Scripts\rez\rez.exe\__main__.py", line 7, in <module>                                                                                  
  File "c:\opt\rez\lib\site-packages\rez\cli\_entry_points.py", line 69, in run_rez                                                                       
    return run()                                                                                                                                          
  File "c:\opt\rez\lib\site-packages\rez\cli\_main.py", line 191, in run                                                                                  
    returncode = run_cmd()                                                                                                                                
  File "c:\opt\rez\lib\site-packages\rez\cli\_main.py", line 183, in run_cmd                                                                              
    return func(opts, opts.parser, extra_arg_groups)                                                                                                      
  File "c:\opt\rez\lib\site-packages\rez\cli\build.py", line 158, in command                                                                              
    builder.build(install_path=opts.prefix,                                                                                                               
  File "c:\opt\rez\lib\site-packages\rezplugins\build_process\local.py", line 52, in build                                                                
    num_visited, build_env_scripts = self.visit_variants(                                                                                                 
  File "c:\opt\rez\lib\site-packages\rez\build_process.py", line 208, in visit_variants                                                                   
    result = func(variant, **kwargs)                                                                                                                      
  File "c:\opt\rez\lib\site-packages\rezplugins\build_process\local.py", line 336, in _build_variant                                                      
    build_result = self._build_variant_base(                                                                                                              
  File "c:\opt\rez\lib\site-packages\rezplugins\build_process\local.py", line 278, in _build_variant_base                                                 
    copy_or_replace(file_, variant_install_path)                                                                                                          
  File "c:\opt\rez\lib\site-packages\rez\utils\filesystem.py", line 390, in copy_or_replace                                                               
    shutil.copy(src, dst)                                                                                                                                 
  File "C:\Program Files\Python39\lib\shutil.py", line 427, in copy                                                                                       
    copyfile(src, dst, follow_symlinks=follow_symlinks)                                                                                                   
  File "C:\Program Files\Python39\lib\shutil.py", line 264, in copyfile                                                                                   
    with open(src, 'rb') as fsrc:                                                                                                                         
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\tlhomme\\Documents\\dev\\avfx-env-manager\\avfx_packages\\blender\\build\\build.rxt

Still investigating though :) `

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions