summaryrefslogtreecommitdiff
path: root/doc/bugs/importfeed_fails_with_local_file_urls.mdwn
blob: 932848ddfb9a058d4f142c3544d6b66df13439c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Hi,

I've a script which generates .rss files which reference local files with the file:// scheme. I can import the file:// urls with git annex addurl, but it fails with git annex importfeed:


`$ git annex importfeed --fast file:///path/to/local/rss/file.rss`

`(checking known urls...)`

`importfeed file:///path/to/local/rss/file.rss`

`git-annex: /tmp/feed6757: openFile: resource busy (file is locked)`

If I try to import it with `$ git annex importfeed --fast /path/to/local/rss/file.rss` I get

`importfeed /path/to/local/rss/file.rss`

`  warning: bad feed content`

`ok`

But the directory stays empty.


Is it possible to use local files in rss format with items which reference local files using the file:// scheme as input for importfeed?

Cheers,
Marco

> I've fixed it with file:// urls. 
>
> Also made it error out on non-url feed inputs, which are not intended to be
> supported.
>
> [[done]] --[[Joey]]