Generator.groovy*
import jenkins.model.Jenkins
import javaposse.jobdsl.dsl.DslFactory
import com.cs.folderCreation
//Normal code
.............................
EndOfFile*********
----------Error log--------------------------
Generator.groovy: 5: unable to resolve class com.cs.folderCreation
# line 5, column 1.
import com.bmw.cs.folderCreation
^
1 error
Finished: FAILURE
Resloved!
It was just a plugin issue.
Improper configuration can lead to unknown issues.
Related
I encountered an error while importing pdfplumber in Python3, indicating module chardet is missing. However, running pip list from the cmd confirms that the package is installed, version 3.0.4. Anyone had similar experience? Any resolution?
Error Message:
~\AppData\Roaming\Python\Python37\site-packages\pdfminer\utils.py in <module>
3 """
4 import struct
----> 5 import chardet # For str encoding detection
6
7 # from sys import maxint as INF doesn't work anymore under Python3, but PDF
ModuleNotFoundError: No module named 'chardet'
Error: No module named chardet
I tried to import in purescript repl the Data.Path module but got following error
Error found:
in module $PSCI
at <internal> line 0, column 0 - line 0, column 0
Unknown module Data.Path
See https://github.com/purescript/documentation/blob/master/errors/UnknownName.md
for more information, or to contribute content related to this error.enter code here
Which packages should I install to be able to issue following commands:
$ pulp repl
> import Data.Path
> root
/
> isDirectory root
true
> ls root
[/bin/,/etc/,/home/]
thanks in advance.
In Spark, I import MultiClassMetrics using this command from pyspark.mllib.evaluation import MulticlassMetrics but get below error:
ImportError: No module named evaluation
How can i resolve this problem?
Thanks
I recently made an update of IPython to 4.0.0 and installed Jupyter 4.0.6.
I wanted to use Ipython parallel, and after starting the engines in the notebook, I imported:
from IPython import parallel
And it fails:
~/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/IPython/utils/traitlets.py:5: UserWarning: IPython.utils.traitlets has moved to a top-level traitlets package.
warn("IPython.utils.traitlets has moved to a top-level traitlets package.")
~/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/IPython/utils/pickleutil.py:3: UserWarning: IPython.utils.pickleutil has moved to ipykernel.pickleutil
warn("IPython.utils.pickleutil has moved to ipykernel.pickleutil")
~/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/IPython/utils/jsonutil.py:3: UserWarning: IPython.utils.jsonutil has moved to jupyter_client.jsonutil
warn("IPython.utils.jsonutil has moved to jupyter_client.jsonutil")
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-5652e9e33a4d> in <module>()
----> 1 from IPython import parallel
~/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/IPython/parallel/__init__.py in <module>()
31
32 from .client.asyncresult import *
---> 33 from .client.client import Client
34 from .client.remotefunction import *
35 from .client.view import *
~/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/IPython/parallel/client/client.py in <module>()
38 from IPython.utils.capture import RichOutput
39 from IPython.utils.coloransi import TermColors
---> 40 from IPython.utils.jsonutil import rekey, extract_dates, parse_date
41 from IPython.utils.localinterfaces import localhost, is_local_ip
42 from IPython.utils.path import get_ipython_dir
ImportError: cannot import name rekey
So I tried:
pip install rekey
But no distribution were found.
Note that it fails the same way in the notebook, be it open with ipython notebook or jupyter notebook, and in the console.
Also note that there is a warning:
UserWarning: IPython.utils.jsonutil has moved to jupyter_client.jsonutil
But rekey does not exist in the module jupyter_client.jsonutil
Question: How can I have IPython parallel to work within Jupyter ?
What am I missing ?
I found the problem I think (at least it works):
First, I had to import ipyparallel instead of IPython.parallel
See here: http://jupyter.readthedocs.org/en/latest/migrating.html#imports
EDIT: I get this OSError, but the fix was apparently useless, and it works without. I still don't get why I had this error, though.
Then, I had another error, when starting the client:
OSError: Connection file '~/.ipython/profile_default/security/ipcontroller-client.json' not found.
You have attempted to connect to an IPython Cluster but no Controller could be found.
Please double-check your configuration and ensure that a cluster is running.
So I just copy the directory ~/.ipython/profile_default to ~/.jupyter/profile_default
And it works!
I added org.grails.plugins: spring-security-facebook: 0.15.3-Core2
During compilation I have error:
[groovyc] org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
[groovyc]C:\probionet2\target\work\plugins\spring-security-facebook-0.15.3-CORE2\src\groovy\com\the6hours\grails\springsecurity\facebook\DefaultFacebookAuthDao.groovy: 12: unable to resolve class org.apache.log4j.Logger
[groovyc] # line 12, column 1.
[groovyc] import org.apache.log4j.Logger
[groovyc] ^
and etc...
Can help me?
I greet.
Adam