Login | Register
My pages Projects Community openCollabNet

Discussions > dev > [1.5.4] Multiple dirs failure

Project highlights: Stable Version: 1.6.1, Development Version: 1.7.6

current
Discussion topic

Back to topic list

[1.5.4] Multiple dirs failure

Reply

Author josvos
Full name Jos Vos
Date 2003-04-12 14:39:12 PDT
Message Hi,

When I specify two dirs for one channel, the scan_channel fails
(after scanning the two dirs) with the following errors:

...
Apr 12 23:24:57 Creating getPackage symlinks...
Apr 12 23:24:57 ERROR: Recognized function cadmin.scanChannels blew up with undefined error
Apr 12 23:2457 : EXCEPTION in /usr/local/share/cur​rent/current_apache.​py, callAPIMethod(), 314 [logException()]
Traceback (most recent call last):
  File "/usr/local/share/cu​rrent/current_apache​.py", line 300, in callAPIMethod
    result = apply(func, params)
  File "/usr/local/share/cu​rrent/api/cadmin.py"​, line 38, in scanChannels
    result[chan] = db.db.scanChannel(co​nfigure.config, chan)
  File "/usr/local/share/cu​rrent/db/postgres/po​stgres.py", line 203, in scanChannel
    result['populatedirs'] = self._populateChanne​lDirs(config, channel)
  File "/usr/local/share/cu​rrent/db/postgres/po​stgres.py", line 609, in _populateChannelDirs
    os.symlink(row[0], dir)
OSError: [Errno 17] File exists
Apr 12 23:24:57 exception said: [Errno 17] File exists
Apr 12 23:24:57 params were: [{'channels': ['rh9']}]
Apr 12 23:24:57 Result is a Fault
Apr 12 23:24:57 (/usr/local/share/cu​rrent/current_apache​.py, sendClientResult(), 248): Data sent.
Apr 12 23:24:57 sendClientResult() finished

This is reproducable. The packages (NVR) in the two dirs are unique.

Any ideas?

--
-- Jos Vos <jos at xos dot nl>
-- X/OS Experts in Open Systems BV | Phone: +31 20 6938364
-- Amsterdam, The Netherlands | Fax: +31 20 6948204

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe@curr​ent.tigris.org
For additional commands, e-mail: dev-help at current dot tigris dot org

« Previous message in topic | 1 of 4 | Next message in topic »

Messages

Show all messages in topic

[1.5.4] Multiple dirs failure josvos Jos Vos 2003-04-12 14:39:12 PDT
     Re: [1.5.4] Multiple dirs failure jwbernin John Berninger 2003-04-26 08:05:20 PDT
         Re: [1.5.4] Multiple dirs failure josvos Jos Vos 2003-04-26 13:43:23 PDT
         Re: [1.5.4] Multiple dirs failure josvos Jos Vos 2003-04-27 14:54:32 PDT
Messages per page: