when a file got removed - internal

calmar <[email protected]> Wed, 4 Jan 2006 04:13:27 +0100
Newsgroups gmane.comp.tools.aap.devel
Message-ID <[email protected]>
Hi all and good new year to all,

I think its ok so, but still it's an internal error. I have no
idea if 'internal errors' are ok or not.

anyway, when I upload files with the publish flagged, and when I
delete a file of that list during the upload that I get:

,--------
| Aap: Internal Error
| Aap: Traceback (most recent call last):
|    File "/usr/local/lib/aap/Exec-1.080/Process.py", line 1166, in Process
|     exec script_string in recdict, recdict
|    File "<string>", line 16, in ?
|    File "/usr/local/lib/aap/Exec-1.080/Commands.py", line 2764, in aap_publish
|     verscont_cmd(line_nr, recdict, arg, "publish")
|    File "/usr/local/lib/aap/Exec-1.080/Commands.py", line 2739, in verscont_cmd
|     do_verscont_cmd(rpstack, recdict, action, attrdict, varlist)
|    File "/usr/local/lib/aap/Exec-1.080/Commands.py", line 2728, in do_verscont_cmd
|     failed = publish_nodelist(rpstack, recdict, nodelist, 1)
|    File "/usr/local/lib/aap/Exec-1.080/VersCont.py", line 309, in publish_nodelist
|     "publish", [ "publish", "commit" ]))
|    File "/usr/local/lib/aap/Exec-1.080/VersCont.py", line 174, in handle_nodelist
|     this_use_cache, action)
|    File "/usr/local/lib/aap/Exec-1.080/VersCont.py", line 75, in verscont_command
|     return upload_file(recdict, dict, nodelist)
|    File "/usr/local/lib/aap/Exec-1.080/Remote.py", line 385, in upload_file
|     { "name" : to_item }, {"mkdir": 1}, 0, errmsg = 0)
|    File "/usr/local/lib/aap/Exec-1.080/CopyMove.py", line 597, in remote_copy_move
|     error = store_file(ftp, fromfile, destpath)
|    File "/usr/local/lib/aap/Exec-1.080/CopyMove.py", line 589, in store_file
|     f = open(fromfile, "rb")
|  IOError: [Errno 2] No such file or directory: '/var/www/bonazuens/gallery/schnappschuesse/bilder/small-11_11.jpg'
|
| Aap: Aborted
| Aap: More info in the logfile: /var/www/bonazuens/AAPDIR/log
`--

Cheers
marco

-- 
  calmar

          (o_  It rocks: LINUX + Command-Line-Interface
          //\
          V_/_                     http://www.calmar.ws


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click