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

Getting TypeError in console when using the number inc/dec functions #31

Closed
alexilyaev opened this issue Dec 13, 2013 · 4 comments
Closed

Comments

@alexilyaev
Copy link

Using ST3:
e.g. Alt+Up on a number, doesn't matter in which context or file extension.

Traceback (most recent call last):
  File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 543, in run_
    return self.run(edit, **args)
  File "inc_dec_value in C:\Users\Alex\AppData\Roaming\Sublime Text 3\Installed Packages\Inc-Dec-Value.sublime-package", line 52, in run
  File "inc_dec_value in C:\Users\Alex\AppData\Roaming\Sublime Text 3\Installed Packages\Inc-Dec-Value.sublime-package", line 301, in apply_integer
TypeError: unorderable types: str() >= int()
@rmaksim
Copy link
Owner

rmaksim commented Dec 16, 2013

fixed

@rmaksim rmaksim closed this as completed Dec 16, 2013
@alexilyaev
Copy link
Author

Ahm, now I'm getting this:

Traceback (most recent call last):
  File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 543, in run_
    return self.run(edit, **args)
  File "inc_dec_value in C:\Users\Alex\AppData\Roaming\Sublime Text 3\Installed Packages\Inc-Dec-Value.sublime-package", line 52, in run
  File "inc_dec_value in C:\Users\Alex\AppData\Roaming\Sublime Text 3\Installed Packages\Inc-Dec-Value.sublime-package", line 301, in apply_integer
ValueError: invalid literal for int() with base 10: '21px'

Windows 8
ST3 Stable Channel build 3047

rmaksim added a commit that referenced this issue Dec 17, 2013
@rmaksim
Copy link
Owner

rmaksim commented Dec 17, 2013

Oh sorry, attempt number 2.
Please, try again.

@alexilyaev
Copy link
Author

Now good, thanks :-)

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