Re: script to create dvd sized folders for backup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 9, 2011 at 6:16 PM, Antonio Olivares
<olivares14031@xxxxxxxxx> wrote:
> Thank you Richard.  Had tried to run it, but got dbus error messages :(  I was not sure to send this, but I believe that without proof it does no good.  Here's what I get:
>
> [olivares@GHSE213-033561 ~]$ discspan.py --dir=~/Music/ --volume-name=MUSIC --iso-dir=~/tmp/
> Using /etc/discspan.ini as config file.
> You must enter a valid directory.
> Directory option is not valid.
> Which directory would you like to backup? (Or Q to quit)
> ~/Music
> You must enter a valid directory.
> Which directory would you like to backup? (Or Q to quit)
> Music
> Traceback (most recent call last):
>  File "/usr/bin/discspan.py", line 383, in <module>
>    iso = Iso(interface, s)
>  File "/usr/bin/discspan.py", line 193, in __init__
>    self.drive = self.system.wait_for_media()
>  File "/usr/bin/discspan.py", line 125, in wait_for_media
>    drive = self.find_drives()
>  File "/usr/bin/discspan.py", line 76, in find_drives
>    hal_obj = bus.get_object('org.freedesktop.Hal', '/org/freedesktop/Hal/Manager')
>  File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 244, in get_object
>    follow_name_owner_changes=follow_name_owner_changes)
>  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 241, in __init__
>    self._named_service = conn.activate_name_owner(bus_name)
>  File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 183, in activate_name_owner
>    self.start_service_by_name(bus_name)
>  File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 281, in start_service_by_name
>    'su', (bus_name, flags)))
>  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 630, in call_blocking
>    message, timeout)
> dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Hal was not provided by any .service files

Ok, first the easy part... Try adding the options without the '='. If
that works then I need to update the help :) I can't believe I missed
that! Or else something has changed with the optparse module in
python, which could be.

Second, I'm guessing you pulled the archive from SF and not my rpm.
You're probably missing the dbus-python package. I know it works for
me on F15 (at least with --test, which really tests ALL of discspan
and just passes test to growisofs).

I would delete the archive and install the rpm I linked to previously.
NOTE: This also gets rid of the .py extension since it's installed
system wide as a "binary".

Richard
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux