Menu

#6 ArgumentError: invalid byte sequence in US-ASCII:

v1.0_(example)
closed-fixed
nobody
None
5
2014-11-10
2014-11-10
No

on ubuntu 14.04
probably due to ruby version?
Nov 10 14:53:06 society milter-manager[1788]: ArgumentError: invalid byte sequence in US-ASCII:
Nov 10 14:53:06 society milter-manager[1788]: /usr/lib/milter-manager/binding/lib/milter/manager/detector.rb:139:in sub' Nov 10 14:53:06 society milter-manager[1788]: /usr/lib/milter-manager/binding/lib/milter/manager/detector.rb:139:inblock in extract_variables'
Nov 10 14:53:06 society milter-manager[1788]: /usr/lib/milter-manager/binding/lib/milter/manager/detector.rb:138:in each_line' Nov 10 14:53:06 society milter-manager[1788]: /usr/lib/milter-manager/binding/lib/milter/manager/detector.rb:138:inextract_variables'
Nov 10 14:53:06 society milter-manager[1788]: /usr/lib/milter-manager/binding/lib/milter/manager/debian-init-detector.rb:70:in block in parse_default_conf' Nov 10 14:53:06 society milter-manager[1788]: /usr/lib/milter-manager/binding/lib/milter/manager/debian-init-detector.rb:69:inopen'
Nov 10 14:53:06 society milter-manager[1788]: /usr/lib/milter-manager/binding/lib/milter/manager/debian-init-detector.rb:69:in parse_default_conf' Nov 10 14:53:06 society milter-manager[1788]: /usr/lib/milter-manager/binding/lib/milter/manager/debian-init-detector.rb:51:inparse_custom_conf'
Nov 10 14:53:06 society milter-manager[1788]: /usr/lib/milter-manager/binding/lib/milter/manager/init-detector.rb:28:in detect' Nov 10 14:53:06 society milter-manager[1788]: /etc/milter-manager/defaults/debian.conf:25:inblock in load_configuration'
Nov 10 14:53:06 society milter-manager[1788]: /etc/milter-manager/defaults/debian.conf:23:in each' Nov 10 14:53:06 society milter-manager[1788]: /etc/milter-manager/defaults/debian.conf:23:inload_configuration'
Nov 10 14:53:06 society milter-manager[1788]: /usr/lib/milter-manager/binding/lib/milter/manager.rb:383:in instance_eval' Nov 10 14:53:06 society milter-manager[1788]: /usr/lib/milter-manager/binding/lib/milter/manager.rb:383:inload_configuration'
Nov 10 14:53:06 society milter-manager[1788]: /usr/lib/milter-manager/binding/lib/milter/manager.rb:415:in block in load' Nov 10 14:53:06 society milter-manager[1788]: /usr/lib/milter-manager/binding/lib/milter/manager.rb:414:ineach'
Nov 10 14:53:06 society milter-manager[1788]: /usr/lib/milter-manager/binding/lib/milter/manager.rb:414:in load' Nov 10 14:53:06 society milter-manager[1788]: /usr/lib/milter-manager/binding/lib/milter/manager.rb:420:inload_if_exist'
Nov 10 14:53:06 society milter-manager[1788]: /usr/lib/milter-manager/binding/lib/milter/manager.rb:428:in load_default' Nov 10 14:53:06 society milter-manager[1788]: /etc/milter-manager/milter-manager.conf:4:inload_configuration'
Nov 10 14:53:06 society milter-manager[1788]: /usr/lib/milter-manager/binding/lib/milter/manager.rb:383:in instance_eval' Nov 10 14:53:06 society milter-manager[1788]: /usr/lib/milter-manager/binding/lib/milter/manager.rb:383:inload_configuration'
Nov 10 14:53:06 society milter-manager[1788]: /usr/lib/milter-manager/binding/lib/milter/manager.rb:344:in block in load' Nov 10 14:53:06 society milter-manager[1788]: /usr/lib/milter-manager/binding/lib/milter/core/callback.rb:20:inguard'
Nov 10 14:53:06 society milter-manager[1788]: /usr/lib/milter-manager/binding/lib/milter/manager.rb:343:in `load'

Discussion

  • Kouhei Sutou

    Kouhei Sutou - 2014-11-10
    • status: open --> closed-fixed
     
    • Panagiotis Skarvelis

      Thanks,
      but there not any non ascci on any file 

      grep -R --color='auto' -P -n "[\x80-\xFF]" /etc/default/

      returns nothing

      i will wait for  new release
      Best regards, 
      Panagiotis
      !

       

      Last edit: Panagiotis Skarvelis 2014-11-19
      • Kouhei Sutou

        Kouhei Sutou - 2014-11-19

        but there not any non ascci on any file

        Really!? Try the following again:

        % LANG=C grep -R --color='auto' -P -n "[\x80-\xFF]" /etc/default/

         
        • Panagiotis Skarvelis

          WoW you are right! Thanks!!!

          LANG=C grep -R --color='auto' -P -n "[\x80-\xFF]" /etc/default/

          /etc/default/spamass-milter:20:#Add ��-m�� so it won��t change the subject header.
          /etc/default/spamass-milter:21:#Add ��-r -1�� so Postfix rejects what SpamAssassin flags as spam.
          /etc/default/spamass-milter:22:#Add ��-I�� to avoid scanning e-mails sent by logged in users.

           
          • Kouhei Sutou

            Kouhei Sutou - 2014-11-19

            No problem. :-)

             
  • Kouhei Sutou

    Kouhei Sutou - 2014-11-10

    Thanks for your report!
    It'll be fixed in master.

    Workaround: Don't use non US-ASCII characters in /etc/default/*.

     

Log in to post a comment.