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

only exports jpeg #7

Open
cronos45 opened this issue Oct 27, 2018 · 2 comments
Open

only exports jpeg #7

cronos45 opened this issue Oct 27, 2018 · 2 comments

Comments

@cronos45
Copy link

/Volumes/Pennyworth1/do3d\ fileupdate/mviewer-1.0/extract_mview.py /Volumes/Pennyworth1/do3d\ fileupdate/mviewer-1.0/test_data/test_file1.mview
('thumbnail.jpg', 'image/jpeg')
Traceback (most recent call last):
File "/Volumes/Pennyworth1/do3d fileupdate/mviewer-1.0/extract_mview.py", line 117, in
main(sys.argv[1])
File "/Volumes/Pennyworth1/do3d fileupdate/mviewer-1.0/extract_mview.py", line 26, in main
data = decompress(data, e)
File "/Volumes/Pennyworth1/do3d fileupdate/mviewer-1.0/extract_mview.py", line 58, in decompress
p = (m << 4 | n >> 4) if r & 1 else ((m & 15) << 8 | n)
TypeError: unsupported operand type(s) for <<: 'str' and 'int'

@gormlykeep
Copy link

Same thing

C:\mview\windows\Fury.mview
('thumbnail.jpg', 'image/jpeg')
Traceback (most recent call last):
File "C:\mview\windows\extract_mview.py", line 117, in
main(sys.argv[1])
File "C:\mview\windows\extract_mview.py", line 26, in main
data = decompress(data, e)
File "C:\mview\windows\extract_mview.py", line 58, in decompress
p = (m << 4 | n >> 4) if r & 1 else ((m & 15) << 8 | n)
TypeError: unsupported operand type(s) for <<: 'str' and 'int'

@Mactastic1-5
Copy link

Mactastic1-5 commented Dec 2, 2020

Are you using Python 3? python --version

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

3 participants