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

modify_texturepath error #73

Open
malonn23 opened this issue Jul 1, 2020 · 0 comments
Open

modify_texturepath error #73

malonn23 opened this issue Jul 1, 2020 · 0 comments
Labels
Milestone

Comments

@malonn23
Copy link

malonn23 commented Jul 1, 2020

@niftools/pyffi-reviewers

Issue Overview

Spell "modify_texturepath" fails with error that requires a bytes-like object not string.

Version Information

Pyffi Version Info

PyFFI 2.2.3

Platform information

W10 x64 Latest revision
Python 3.8.2

Context

Just trying to mass-change a bunch of texture paths.

Steps to Reproduce

*I ran the following line from the cmd:
python.exe scripts\niftoaster.py -a "new\texturepath" modify_texturepath "path\to\nifs"

  • it asked if I wanted to proceed, and then error'd out

Expected Result

new paths

Actual Result

error

Possible Fix

[Optional, suggest fixes, improvement or reasons for the bug might have occurred]

Screenshot

[If relevant, include a screenshot]

Logs and Files

[Provide the generated log output and any accompanying files for the format related to the issue]

Console Output

[Set the logging level to 'Debug' and attach the output of the console. ]

pyffi.toaster:1076:ERROR:FAILED ON C:\Users\MaLonn\Downloads\Autumn_Trees_V1_1\LEAF_FREQUENCY_VARIATIONS\4_ULTRA_HIGH_FREQUENCY\VaPER - FallingLeavesQuakingAspenYoungLight.nif - with the follow exception
pyffi.toaster:1076:ERROR:EXPT MSG : a bytes-like object is required, not 'str'
pyffi.toaster:1076:ERROR:If you were running a spell that came with PyFFI
pyffi.toaster:1076:ERROR:Please report this issue - https://github.com/niftools/pyffi/issues

Similar Known Issues

[Reference any known issues - https://github.com/niftools/pyffi/issues]

Additional Information

[Anything else you feel is relevant]

@neomonkeus neomonkeus added the bug label Jul 19, 2020
@neomonkeus neomonkeus added this to the Version 2.2.5 milestone Jul 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants