Jump to content

Advanced calculator with fast off-line unit converter


Recommended Posts

I am using it a lot for short numerical calculations.  But it fails for me for unit conversions, debugging it says (for an input '32 to') :

 

 

 

[11:03:48.586] Logging Started...
[11:03:53.909] Unit converter[Script Filter] Queuing argument ''
[11:03:54.054] Unit converter[Script Filter] Script with argv '(null)' finished
[11:03:54.056] ERROR: Unit converter[Script Filter] Code 1: Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/me/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.0D0EC597-7062-40C6-8022-79EE69E51574/converter/main.py", line 3, in <module>
    import constants
ModuleNotFoundError: No module named 'constants'
[11:03:54.117] Unit converter[Script Filter] Queuing argument '4'
[11:03:54.227] Unit converter[Script Filter] Script with argv '(null)' finished
[11:03:54.229] ERROR: Unit converter[Script Filter] Code 1: Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/me/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.0D0EC597-7062-40C6-8022-79EE69E51574/converter/main.py", line 3, in <module>
    import constants
ModuleNotFoundError: No module named 'constants'
[11:03:54.468] Unit converter[Script Filter] Queuing argument '4 '
[11:03:54.509] Unit converter[Script Filter] Script with argv '(null)' finished
[11:03:54.514] ERROR: Unit converter[Script Filter] Code 1: Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/me/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.0D0EC597-7062-40C6-8022-79EE69E51574/converter/main.py", line 3, in <module>
    import constants
ModuleNotFoundError: No module named 'constants'
[11:03:55.018] Unit converter[Script Filter] Queuing argument '4 t'
[11:03:55.134] Unit converter[Script Filter] Script with argv '(null)' finished
[11:03:55.141] ERROR: Unit converter[Script Filter] Code 1: Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/me/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.0D0EC597-7062-40C6-8022-79EE69E51574/converter/main.py", line 3, in <module>
    import constants
ModuleNotFoundError: No module named 'constants'
[11:03:55.326] Unit converter[Script Filter] Queuing argument '4 to'
[11:03:55.374] Unit converter[Script Filter] Script with argv '(null)' finished
[11:03:55.380] ERROR: Unit converter[Script Filter] Code 1: Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/me/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.0D0EC597-7062-40C6-8022-79EE69E51574/converter/main.py", line 3, in <module>
    import constants
ModuleNotFoundError: No module named 'constants'

 

Link to comment
  • 11 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...