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

对部分csb文件无法转换 #16

Open
ZzzzHhhhao opened this issue May 11, 2024 · 1 comment
Open

对部分csb文件无法转换 #16

ZzzzHhhhao opened this issue May 11, 2024 · 1 comment

Comments

@ZzzzHhhhao
Copy link

我对test文件夹下的csb进行测试,可以正确转换,然而在对我想要的csb文件进行转换时发生了错误

D:\csb2csd\csb2csd-master>python convert.py csd csd
Traceback (most recent call last):
  File "D:\csb2csd\csb2csd-master\convert.py", line 477, in <module>
    main()
  File "D:\csb2csd\csb2csd-master\convert.py", line 468, in main
    dealWithCsbFile(p,outfile)
  File "D:\csb2csd\csb2csd-master\convert.py", line 446, in dealWithCsbFile
    startConvert(csbPath, csparsebinary, targetPath)
  File "D:\csb2csd\csb2csd-master\convert.py", line 433, in startConvert
    writeAction(csparsebinary.Action())
  File "D:\csb2csd\csb2csd-master\convert.py", line 192, in writeAction
    duration = actionData.Duration()
               ^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'Duration'
@l5276261
Copy link

你这是cocosstudio 2.x发布的csb文件吧

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

2 participants