-
Notifications
You must be signed in to change notification settings - Fork 40
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
mETL tutorial example 18_new_transformation.yml not works #22
Comments
Did you check the run.sh file for the correct command? In that example you need to execute like this: metl -p . [config.yaml] -p parameter will add the given route to the path. This is necessary when you write your own scripts that are not installed packages. |
i tried using -p parameter like the example in the run.sh, but throw the same error. |
The 18th example requires the Please execute the following command:
If you get an exception like this,
please install the package.
After that it have to work. (If you use the mETL's |
Hi, I'm practicing with the examples of the tutorials, but the file 18_new_transformation.yml throws me the following error, thanks:
Traceback (most recent call last):
File "/ usr / local / bin / metl", line 9, in
load_entry_point ('Metl 1.0.1dev ==', 'console_scripts', 'metl') ()
File "/usr/local/lib/python2.7/dist-packages/mETL-1.0.1dev-py2.7.egg/metl/script.py", line 101, in main
source_resource = options.source
File "/usr/local/lib/python2.7/dist-packages/mETL-1.0.1dev-py2.7.egg/metl/configparser.py", line 61, in init
self.init ()
File "/usr/local/lib/python2.7/dist-packages/mETL-1.0.1dev-py2.7.egg/metl/configparser.py", line 65, in init
self.loadSource ()
File "/usr/local/lib/python2.7/dist-packages/mETL-1.0.1dev-py2.7.egg/metl/configparser.py", line 155, in loadSource
self.readers = [self.loadSourceObject (self.config.get ('source'), base = True)]
File "/usr/local/lib/python2.7/dist-packages/mETL-1.0.1dev-py2.7.egg/metl/configparser.py", line 191, in loadSourceObject
transforms = self.loadTransforms (fcfg.get ('transforms', []))
File "/usr/local/lib/python2.7/dist-packages/mETL-1.0.1dev-py2.7.egg/metl/configparser.py", line 319, in loadTransforms
transforms.append (self.getObject (ttype, transform_config))
File "/usr/local/lib/python2.7/dist-packages/mETL-1.0.1dev-py2.7.egg/metl/configparser.py", line 214, in getObject
obj = self.lookupClass (transformConfig [transformType.lower ()], transformType)
File "/usr/local/lib/python2.7/dist-packages/mETL-1.0.1dev-py2.7.egg/metl/configparser.py", line 90, in lookupClass
'Not found class:% s or% s'% (inner_path, name)
metl.exception.ClassNotFoundException: Not found class: metl.transform.formatphonenumbertransform.formatPhoneNumberTransform or formatPhoneNumber
The text was updated successfully, but these errors were encountered: