Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 181938
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Web Application Packages Maintainers <web-apps@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: James Ausmus <james.ausmus@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 181938 depends on: Show dependency tree
Bug 181938 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-06-13 18:35 0000
If htdocs is a symlink to another directory, and you have installed a web-app
directly into htdocs (no subdir - haven't tested subdir of symlink scenario),
then, at the (apparently) very end of using webapp-config to uninstall the
web-app, you get the following output:

!empty /var/www/localhost/cgi-bin
!empty /var/www/localhost/error
!empty /var/www/localhost/icons
* Any files or directories listed above must be removed by hand
Traceback (most recent call last):
  File "/usr/sbin/webapp-config", line 44, in ?
    main()
  File "/usr/sbin/webapp-config", line 41, in main
    config.run()
  File "/usr/lib/python2.4/site-packages/WebappConfig/config.py", line 1140, in
run
    old['WEB_PN'], old['WEB_PVR']).clean()
  File "/usr/lib/python2.4/site-packages/WebappConfig/server.py", line 163, in
clean
    os.rmdir(self.__destd)
OSError: [Errno 20] Not a directory: '/var/www/localhost/htdocs'


Reproducible: Always

Steps to Reproduce:
1. cd /var/www/localhost
2. mv htdocs htdocs.orig
3. mkdir htdocs.webapps
4. ln -s htdocs.webapps htdocs
5. emerge egroupware
6. webapp-config -I egroupware 1.4.001
7. webapp-config -C egroupware 1.4.001

------- Comment #1 From Benedikt Böhm 2008-02-17 18:07:04 0000 -------
fixed in 1.50.16-r3

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug