Bug 752586

Summary: askbot-setup looks for upfiles directory in non-existent location
Product: [Fedora] Fedora Reporter: Rob Gilton <rob>
Component: askbotAssignee: Rahul Sundaram <metherid>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 16CC: metherid, pj.pandit
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-05 23:19:54 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:

Description Rob Gilton 2011-11-09 22:37:20 UTC
Description of problem:
When one runs askbot-setup, it attempts to copy a directory 'upfiles' from /usr/lib/python2.7/site-packages/askbot.  Unfortunately this directory does not exist, and it bails.

Version-Release number of selected component (if applicable):
0.7.23-1

How reproducible:
Always.

Steps to Reproduce:
1. Run askbot-setup
2. Tell it a place to install
  
Actual results:

* upfiles
Traceback (most recent call last):
  File "/usr/bin/askbot-setup", line 9, in <module>
    load_entry_point('askbot==0.7.23', 'console_scripts', 'askbot-setup')()
  File "/usr/lib/python2.7/site-packages/askbot/deployment/__init__.py", line 99, in askbot_setup
    path_utils.deploy_into(directory, new_project = True)
  File "/usr/lib/python2.7/site-packages/askbot/deployment/path_utils.py", line 169, in deploy_into
    shutil.copytree(src, dst)
  File "/usr/lib/python2.7/shutil.py", line 168, in copytree
    names = os.listdir(src)
OSError: [Errno 2] No such file or directory: '/usr/lib/python2.7/site-packages/askbot/upfiles'


Expected results:
No error...

Additional info:
Could it be after the upfiles that is /var/lib/askbot/upfiles?

Comment 1 Fedora End Of Life 2013-01-16 15:35:23 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping