Giter Club home page Giter Club logo

arsoft-python's People

Contributors

aroth-arsoft avatar aroth-fastprotect avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

arsoft-python's Issues

arsoft-backup: exception when udisks2 service is unavailable or not running

Start at 2017-04-04 07:23:08.981805 local time (120 minutes UTC diff)
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 175, in activate_name_owner
return self.get_name_owner(bus_name)
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 361, in get_name_owner
's', (bus_name,), **keywords)
File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.freedesktop.UDisks2': no such name

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "./arsoft-backup", line 396, in
sys.exit(app.main(sys.argv))
File "./arsoft-backup", line 379, in main
ret = self._perform_backup()
File "./arsoft-backup", line 117, in _perform_backup
if not BackupApp.prepare_destination(self, True):
File "/root/arsoft-python/python3/arsoft/backup/BackupApp.py", line 444, in prepare_destination
ret = self._prepare_backup_dir()
File "/root/arsoft-python/python3/arsoft/backup/BackupApp.py", line 379, in _prepare_backup_dir
backup_disk = self._diskmgr.get_disk_for_directory(backup_dir)
File "/root/arsoft-python/python3/arsoft/backup/diskmgr.py", line 53, in get_disk_for_directory
return self._mgr.get_disk_for_file(dir)
File "/root/arsoft-python/python3/arsoft/disks/edskmgr.py", line 260, in get_disk_for_file
disk_mgr = Disks()
File "/root/arsoft-python/python3/arsoft/disks/disk.py", line 572, in init
self.rescan()
File "/root/arsoft-python/python3/arsoft/disks/disk.py", line 627, in rescan
if not Disks._dbus_connect():
File "/root/arsoft-python/python3/arsoft/disks/disk.py", line 578, in _dbus_connect
Disks._udisks_manager_obj = Disks._dbus_system_bus.get_object(Disks.SERVICE_NAME, "/org/freedesktop/UDisks2")
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 241, in get_object
follow_name_owner_changes=follow_name_owner_changes)
File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 248, in init
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 180, in activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 278, in start_service_by_name
'su', (bus_name, flags)))
File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UDisks2 was not provided by any .service files

dns-update SyntaxError

dns-update --server 192.168.1.1 -a 't01.example.net.=192.168.1.1/A'
Traceback (most recent call last):
File "/usr/sbin/dns-update", line 386, in
sys.exit(app.main())
File "/usr/sbin/dns-update", line 328, in main
if not self._add_record(dns_update_app._split_args(args.add)):
File "/usr/sbin/dns-update", line 76, in _add_record
update.add(name, self.ttl, self.rrtype, payload)
File "/usr/lib/python2.7/dist-packages/dns/update.py", line 128, in add
self._add(False, self.authority, name, *args)
File "/usr/lib/python2.7/dist-packages/dns/update.py", line 116, in _add
self.origin)
File "/usr/lib/python2.7/dist-packages/dns/rdata.py", line 428, in from_text
return cls.from_text(rdclass, rdtype, tok, origin, relativize)
File "/usr/lib/python2.7/dist-packages/dns/rdtypes/IN/A.py", line 44, in from_text
return cls(rdclass, rdtype, address)
File "/usr/lib/python2.7/dist-packages/dns/rdtypes/IN/A.py", line 34, in init
dns.ipv4.inet_aton(address)
File "/usr/lib/python2.7/dist-packages/dns/ipv4.py", line 51, in inet_aton
raise dns.exception.SyntaxError
dns.exception.SyntaxError: Text input is malformed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.