← Back to team overview

python-jenkins-developers team mailing list archive

[Bug 1829043] [NEW] AttributeError: module 'jenkins' has no attribute 'Jenkins'

 

Public bug reported:

/usr/local/bin/python3.7 /Users/ramalp01/PycharmProjects/test1/jenkins.py
Traceback (most recent call last):
  File "/Users/ramalp01/PycharmProjects/test1/jenkins.py", line 1, in <module>
    import jenkins
  File "/Users/ramalp01/PycharmProjects/test1/jenkins.py", line 4, in <module>
    server = jenkins.Jenkins('http://ci-jenkins.*****.com:8080/jenkins', username='*****', password='****')
AttributeError: module 'jenkins' has no attribute 'Jenkins'

Process finished with exit code 1

Python version 3.7
pbr	5.2.0	5.2.0
pip	19.1.1	19.1.1
python-jenkins	1.4.0	1.4.0
requests	2.21.0	2.21.0
setuptools	39.0.1	41.0.1
six	1.12.0	1.12.0
urllib3	1.24.2	1.25.2


python version 2.7
jenkinsapi	0.3.9	0.3.9
pbr	5.2.0	5.2.0
pip	19.1.1	19.1.1
python-jenkins	1.4.0	1.4.0
pytz	2019.1	2019.1
requests	2.21.0	2.21.0
setuptools	41.0.0	41.0.1
six	1.12.0	1.12.0
urllib3	1.24.2	1.25.2

** Affects: python-jenkins
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Python
Jenkins Developers, which is subscribed to Python Jenkins.
https://bugs.launchpad.net/bugs/1829043

Title:
  AttributeError: module 'jenkins' has no attribute 'Jenkins'

Status in Python Jenkins:
  New

Bug description:
  /usr/local/bin/python3.7 /Users/ramalp01/PycharmProjects/test1/jenkins.py
  Traceback (most recent call last):
    File "/Users/ramalp01/PycharmProjects/test1/jenkins.py", line 1, in <module>
      import jenkins
    File "/Users/ramalp01/PycharmProjects/test1/jenkins.py", line 4, in <module>
      server = jenkins.Jenkins('http://ci-jenkins.*****.com:8080/jenkins', username='*****', password='****')
  AttributeError: module 'jenkins' has no attribute 'Jenkins'

  Process finished with exit code 1

  Python version 3.7
  pbr	5.2.0	5.2.0
  pip	19.1.1	19.1.1
  python-jenkins	1.4.0	1.4.0
  requests	2.21.0	2.21.0
  setuptools	39.0.1	41.0.1
  six	1.12.0	1.12.0
  urllib3	1.24.2	1.25.2

  
  python version 2.7
  jenkinsapi	0.3.9	0.3.9
  pbr	5.2.0	5.2.0
  pip	19.1.1	19.1.1
  python-jenkins	1.4.0	1.4.0
  pytz	2019.1	2019.1
  requests	2.21.0	2.21.0
  setuptools	41.0.0	41.0.1
  six	1.12.0	1.12.0
  urllib3	1.24.2	1.25.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-jenkins/+bug/1829043/+subscriptions