murano.cmd.api: Unable to import 'paste'

Bug #1476595 reported by xiangxinyong
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
Low
xiangxinyong

Bug Description

when i used pylint to check murano[master] code, in pylint throw a fatal error as follows:

(F) murano.cmd.api [39]: Unable to import 'paste'

Code File: murano\murano\cmd\api.py
Line Number:39

If this line code are replaced by import paste.deploy as deploy,It works.

Revision history for this message
xiangxinyong (xiangxinyong) wrote :
Changed in murano:
importance: Undecided → Medium
milestone: none → liberty-3
Changed in murano:
assignee: nobody → xiangxinyong (xiangxinyong)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano (master)

Fix proposed to branch: master
Review: https://review.openstack.org/204519

Changed in murano:
status: New → In Progress
Revision history for this message
Kirill Zaitsev (kzaitsev) wrote :

How do you reproduce the error? I sure can't.

Do you have Paste and PasteDeploy installed?

Revision history for this message
xiangxinyong (xiangxinyong) wrote :

@Kirill Zaitsev (kzaitsev)

Hi zaitsev, thank your reply.

I have installed Paste and PasteDeploy in the Windows.

The pylint check result is in the attachment.png.

If i replace the code line by 'import paste.deploy as deploy', the pylint has no fatal error.

It may prove that Paste and PasteDeploy are installed correctly.

Waiting for you advice.

Changed in murano:
importance: Medium → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano (master)

Reviewed: https://review.openstack.org/204519
Committed: https://git.openstack.org/cgit/openstack/murano/commit/?id=00cd77aeba43e167ee859d26d01f4bd6920dad3d
Submitter: Jenkins
Branch: master

commit 00cd77aeba43e167ee859d26d01f4bd6920dad3d
Author: xiangxinyong <email address hidden>
Date: Wed Jul 22 17:16:50 2015 +0800

    murano.cmd.api: Unable to import 'paste'

    when used pylint to check murano[master] code, in pylint throw a fatal error as follows:
    (F) murano.cmd.api [39]: Unable to import 'paste'
    Code File: murano\murano\cmd\api.py
    Line Number:39
    If this line code are replaced by import paste.deploy as deploy,It works.

    Closes-Bug: #1476595
    Change-Id: Ide7c22b94f78c6abb9446703105c72bc7e30924b

Changed in murano:
status: In Progress → Fix Committed
Changed in murano:
milestone: liberty-3 → liberty-2
status: Fix Committed → Fix Released
Changed in murano:
milestone: liberty-2 → 1.0.0
Changed in murano:
milestone: 1.0.0 → 1.0.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.