Skip to content
This repository has been archived by the owner on Apr 16, 2019. It is now read-only.

TabError on startup #39

Open
HazWard opened this issue Mar 19, 2016 · 2 comments
Open

TabError on startup #39

HazWard opened this issue Mar 19, 2016 · 2 comments

Comments

@HazWard
Copy link

HazWard commented Mar 19, 2016

After a fresh install on GMusicFS with all the dependencies, I get an error when executing gmusicfs ~/google_music

The full output of the command is this :

Traceback (most recent call last):
  File "/usr/bin/gmusicfs", line 9, in <module>
    load_entry_point('GMusicFS==0.1', 'console_scripts', 'gmusicfs')()
  File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 549, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2542, in load_entry_point
    return ep.load()
  File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2202, in load
    return self.resolve()
  File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2208, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3.5/site-packages/gmusicfs/gmusicfs.py", line 95
    if self.library.true_file_size:
                                  ^
TabError: inconsistent use of tabs and spaces in indentation
@HazWard
Copy link
Author

HazWard commented Mar 19, 2016

After changing some lines in gmusicfs.py file, I get this error :
(The changes I've made are in my fork)

Traceback (most recent call last):
  File "/usr/bin/gmusicfs", line 9, in <module>
    load_entry_point('GMusicFS==0.1', 'console_scripts', 'gmusicfs')()
  File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 549, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2542, in load_entry_point
    return ep.load()
  File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2202, in load
    return self.resolve()
  File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2208, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3.5/site-packages/gmusicfs/gmusicfs.py", line 412
    print '%s : %s' % (device['name'], device['id'])
                  ^
SyntaxError: invalid syntax

@michael-stevenson
Copy link

@HazWard - I ran into that also. For me, I switched my active interpreter (gentoo) from python 3.4 -> 2.7 and it did the trick. Hope that helps.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants