Re: chksystemd Re: SystemD - F-16

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

 



On Sun, Nov 13, 2011 at 6:46 AM, suvayu ali <fatkasuvayu+linux@xxxxxxxxx> wrote:
> I can't seem to pipe the output or redirect it to a file. Try either
> of those gives me this backtrace:
>
> graphical.target
> Traceback (most recent call last):
>  File "/usr/bin/chksystemd", line 241, in <module>
>    main()
>  File "/usr/bin/chksystemd", line 92, in main
>    list_deps(args.unit, targets)
>  File "/usr/bin/chksystemd", line 180, in list_deps
>    print_deps(target, False)
>  File "/usr/bin/chksystemd", line 203, in print_deps
>    print_dep(prefix, unit, True, by)
>  File "/usr/bin/chksystemd", line 210, in print_dep
>    print_deps(unit, by, prefix=''.join(['│ ', prefix]), required=required)
>  File "/usr/bin/chksystemd", line 195, in print_deps
>    print prefix,
> UnicodeEncodeError: 'ascii' codec can't encode character u'\u2502' in
> position 0: ordinal not in range(128)

Yay for unicode bugs!  Fixed in chksystemd-2 (along with a brown paper
bag bug that made the "reset" action not work), which is now available
at http://tchol.org/chksystemd/

>
> Hope this helps.
>
> PS: I think this is a very useful utility, maybe its worthwhile
> submitting this for inclusion?

I definitely will once it's got some more testing.

-T.C.
-- 
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