Re: when a file got removed - internal

Bram Moolenaar <[email protected]> Wed, 04 Jan 2006 11:10:51 +0100
Newsgroups gmane.comp.tools.aap.devel
Message-ID <[email protected]>
Marco wrote:

> Hi all and good new year to all,
>=20
> I think its ok so, but still it's an internal error. I have no
> idea if 'internal errors' are ok or not.
>=20
> anyway, when I upload files with the publish flagged, and when I
> delete a file of that list during the upload that I get:
>=20
> ,--------
> | Aap: Internal Error
[...]
> |    File "/usr/local/lib/aap/Exec-1.080/CopyMove.py", line 597, in rem=
ote_copy_move
> |     error =3D store_file(ftp, fromfile, destpath)
> |    File "/usr/local/lib/aap/Exec-1.080/CopyMove.py", line 589, in sto=
re_file
> |     f =3D open(fromfile, "rb")
> |  IOError: [Errno 2] No such file or directory: '/var/www/bonazuens/ga=
llery/schnappschuesse/bilder/small-11_11.jpg'

Thanks for reporting this problem.

I'll handle the exception, just like the ftp failure is already handled.

I've now uploaded version 1.084 with this fix included.

--=20
hundred-and-one symptoms of being an internet addict:
22. You've already visited all the links at Yahoo and you're halfway thro=
ugh
    Lycos.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \=
\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ =
\\\
\\\        download, build and distribute -- http://www.A-A-P.org        =
///
 \\\            help me help AIDS victims -- http://www.ICCF.nl         /=
//


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi=
les
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=3D7637&alloc_id=3D16865&op=3Dclick