Bug 1459497

Summary: [abrt] fabric: main.py:167:load_fabfile: File "/media/Multimedia/Programmazione/PYTHON/software/monitoring/fabfile.py", line 43
Product: [Fedora] Fedora Reporter: bitchecker <ciro.deluca>
Component: fabricAssignee: Othman Madjoudj <athmanem>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: athmanem, silas
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/c255dda1b373ce274ab180c2cbf70cccbf2663a1
Whiteboard: abrt_hash:90631e6f5f026c69f1a96e19e8c19b2c06074f6f;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-29 17:49:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description bitchecker 2017-06-07 09:59:26 UTC
Version-Release number of selected component:
fabric-1.12.1-0.fc25

Additional info:
reporter:       libreport-2.8.0
cmdline:        /usr/bin/python2 /usr/bin/fab -R cliente1 package
executable:     /usr/bin/fab
kernel:         4.11.3-200.fc25.x86_64
pkg_fingerprint: 4089 D8F2 FDB1 9C98
pkg_vendor:     Fedora Project
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
main.py:167:load_fabfile:  File "/media/Multimedia/Programmazione/PYTHON/software/monitoring/fabfile.py", line 43

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/fabric/main.py", line 666, in main
    docstring, callables, default = load_fabfile(fabfile)
  File "/usr/lib/python2.7/site-packages/fabric/main.py", line 167, in load_fabfile
    imported = importer(os.path.splitext(fabfile)[0])
  File "/media/Multimedia/Programmazione/PYTHON/software/monitoring/fabfile.py", line 43
    def package(package="bash")
                              ^
SyntaxError: invalid syntax

Local variables in innermost frame:
index: None
importer: <built-in function __import__>
directory: '/media/Multimedia/Programmazione/PYTHON/software/monitoring'
path: '/media/Multimedia/Programmazione/PYTHON/software/monitoring/fabfile.py'
fabfile: 'fabfile.py'
added_to_path: True

Comment 1 bitchecker 2017-06-07 09:59:32 UTC
Created attachment 1285734 [details]
File: backtrace

Comment 2 bitchecker 2017-06-07 09:59:34 UTC
Created attachment 1285735 [details]
File: environ

Comment 3 Othman Madjoudj 2017-07-29 17:49:18 UTC
It seems to be error in the script (syntax / runtime / etc...)
Closing for now, if you think that it a real bug, please attach a reproducible code snippet.