Hi Diogo,
Let's keep the discussion the list please.
On 04/23/2014 02:19 AM, Diogo Vieira wrote:
>>> Sorry to bother once again about this but I installed the 2.8.1
>>> version in my machine (so far I was working with 2.7 version on a
>>> folder on my home directory) but even after I edited the
>>> __init__.py and added my custom backend to the library's
>>> backends folderI still get "No such backend" when trying to mount
>>> a filesystem.
>>>
>>> Already tried to remove the __pycache__ folders but it seems to
>>> have made no effect. Am I missing something here?
>>
>> The usual things: exact error message, the commands you entered,
>> the changes that you made to the code, etc.
>
> Well, the error message is the one I mentioned "No such backend:
> <backend_name>". The command used was "mount.s3ql
> <backend_name>://<bucket>/<prefix>/ <mountpoint>" and the only change
> I made in the code was in
> /usr/lib64/python3.3/site-packages/s3ql/backends/__init__.py (added
> my backend name). The only thing I did then was to put my backend in
> /usr/lib64/python3.3/site-packages/s3ql/backends/.
>
> So far I've been working with the source code downloaded from the
> website in a folder on my home directory and I was able to add it
> without any issues, even tough it was version 2.7.
I don't believe this is due to the upgrade to 2.7. Can you confirm that
it still works if you install S3QL 2.7 in
/usr/lib64/python3.3/site-packages/ instead?
My guess is that, in addition to upgrading, you also changed your
backend, and now it cannot be imported anymore. What happens if you run
'python3 -c 'import s3ql.backends.yourmodule'?
Best,
-Nikolaus
--
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F
»Time flies like an arrow, fruit flies like a Banana.«
--
You received this message because you are subscribed to the Google Groups
"s3ql" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.