havardgulldahl / jottalib

A library to access files stored at jottacloud.com.
GNU General Public License v3.0
83 stars 19 forks source link

jotta-ls AttributeError #134

Open Cubox opened 7 years ago

Cubox commented 7 years ago

Hi,

<root@Lif>-<~> λ jotta-ls /Jotta                                                                                                                                                  Traceback (most recent call last):
  File "/usr/local/bin/jotta-ls", line 11, in <module>
    load_entry_point('jottalib==0.5.1', 'console_scripts', 'jotta-ls')()
  File "/usr/local/lib/python2.7/site-packages/jottalib/cli.py", line 260, in ls
    print(' '.join([str(item.created), print_size(item.size, humanize=args.humanize), item.name]))
  File "src/lxml/lxml.objectify.pyx", line 229, in lxml.objectify.ObjectifiedElement.__getattr__ (src/lxml/lxml.objectify.c:4279)
  File "src/lxml/lxml.objectify.pyx", line 450, in lxml.objectify._lookupChildOrRaise (src/lxml/lxml.objectify.c:7059)
AttributeError: no such child: created

and

<root@Lif>-<~> λ jotta-ls /Jotta
Traceback (most recent call last):
  File "/usr/local/bin/jotta-ls", line 11, in <module>
    load_entry_point('jottalib==0.5.1', 'console_scripts', 'jotta-ls')()
  File "/usr/local/lib/python2.7/site-packages/jottalib/cli.py", line 260, in ls
    print(' '.join([str(item.created), print_size(item.size, humanize=args.humanize), item.name]))
AttributeError: 'JFSDevice' object has no attribute 'created'

I also have:

<root@Lif>-<~> λ jotta-ls /Jotta/Archive
                           Lif

Using FreeBSD with Python 2.7.12

If you need more information, or logs, tell me where to find them and I will send them to you.

Thanks for the lib (awesome lib, the fuse function works flawlessly) !