[SOLVED] perl 5.16.3 + imapsync + Gmail

hello, does anybody use this combination? is it working for you?
it stopped working for me somehow after perl upgrade it hangs on "Calling configure", i just made a modification in imapsync and set "SSL_verify_mode => 0"
please help, thank you
edit://
resolv.conf was the problem there was a not-responding nameserver on first place, after i changed nameserver to functional one, it worked again
Last edited by michi (2013-04-11 14:45:09)

Juster - Thanks in advance for your help
the trace for Encode::Locale; goes like this:
$ perl -d
Loading DB routines from perl5db.pl version 1.37
Editor support available.
Enter h or 'h h' for help, or 'man perldebug' for more help.
use Encode::Locale;
Signal SEGV at /usr/lib/perl5/site_perl/Encode.pm line 10.
    require Encode.pm called at /usr/share/perl5/site_perl/Encode/Locale.pm line 13
    Encode::Locale::BEGIN() called at /usr/lib/perl5/site_perl/Encode.pm line 0
    eval {...} called at /usr/lib/perl5/site_perl/Encode.pm line 0
    require Encode/Locale.pm called at - line 1
    main::BEGIN() called at /usr/lib/perl5/site_perl/Encode.pm line 0
    eval {...} called at /usr/lib/perl5/site_perl/Encode.pm line 0
Aborted
And the load list looks like
$ perl -E 'BEGIN { unshift @INC, sub { say $_[1] }} use Encode::Locale;'
Encode/Locale.pm
strict.pm
base.pm
vars.pm
warnings/register.pm
warnings.pm
Exporter.pm
Encode.pm
XSLoader.pm
Encode/Alias.pm
bytes.pm
Encode/Config.pm
Encode/ConfigLocal.pm
Encode/Encoding.pm
I18N/Langinfo.pm
Carp.pm
(Please understand that I'm not trying to place blame anywhere, I just want to fix whatever broke. And it's probably upgrade I missed somewhere)
Again, thanks in advance,
Mike
Last edited by mmoser (2012-06-08 01:05:14)

Similar Messages

  • [SOLVED] Perl refuses to run certain utilities

    [Aside: Sorry, not really an Arch newbie, but I am a forum and Perl newbie; not sure where else to post this.]
    I am the current maintainer of the AUR package called mesa-demos-git; it was flagged out-of-date, and I was going to examine the problem (and throw in the new VCS syntax for good measure) when I was greeted with this fun little error:
    ==> Starting build()...
    autoreconf: Entering directory `.'
    autoreconf: configure.ac: not using Gettext
    autoreconf: running: aclocal -I m4
    Attempt to reload Scalar/Util.pm aborted.
    Compilation failed in require at /usr/lib/perl5/site_perl/Data/Dumper.pm line 297.
    aclocal: error: echo failed with exit status: 1
    autoreconf: aclocal failed with exit status: 1
    Running aclocal by itself in a directory with a configure.ac fails, as one would expect from the above error (even though it has worked in the past on other packages I've updated in the last couple weeks).
    I also wasn't thinking for a while and thought it was a missing module, so I ran cpan to try to install it, but cpan fails with the same error.
    Yeah, so something's wrong with the perl configuration on my system; I tried a `pacman -Rnsdd perl` and a reinstall, but to no avail. Actually, since no package seems to own /usr/lib/perl5/site_perl/Scalar/Util.pm, I have no idea where to start.
    What's going on here and how can I even begin to solve this?
    Last edited by luolimao (2013-05-28 03:03:46)

    Does any package own anything in site_perl? I ask because that directory is empty on my system. I'm wondering if those files have been installed manually and are being used instead of the versions in core_perl/vendor_perl such as /usr/lib/perl5/core_perl/Scalar/Util.pm, for example.

  • [SOLVED] Perl tainting check problem

    Hi,
    I'm having an issue using the perl date-manip libraries. To be precise Date::Manip::UnixDate doesn't seem to work.
    My system is x86_64 with latest -Syu
    $ perl -v
    This is perl 5, version 14, subversion 2 (v5.14.2) built for x86_64-linux-thread-multi
    $ perl -MDate::Manip -e 'print DateManipVersion()."\n";'
    6.30
    Libraries are installed...
    Now to the problem
    $ perl -w -MDate::Manip -e 'print DateManipVersion()."\n"; my $date = UnixDate("now", "%y"); print $date ."\n"'
    6.30
    12
    $ perl -wT -MDate::Manip -e 'print DateManipVersion()."\n"; my $date = UnixDate("now", "%y"); print $date ."\n"'
    Undefined subroutine &Date::Manip::UnixDate called at /home/saiko/test.pl line 5, <DATA> line 496.
    Apparently it works without the tainting check (-T).
    How come?
    What am I missing?
    Thanks
    Last edited by _saiko (2012-04-21 02:27:15)

    Solved...
    The error message was so misleading.
    In the end tried to use the -MDate::Manip::DM6 to define the exact location of the subroutine in question.
    Only then I got the familiar error:
    $ perl -wT -MDate::Manip::DM6 -e 'print DateManipVersion() . "\n";'
    Insecure $ENV{PATH} while running with -T switch at /usr/share/perl5/vendor_perl/Date/Manip/TZ.pm line 615, <DATA> line 429.
    Compilation failed in require, <DATA> line 429.
    BEGIN failed--compilation aborted, <DATA> line 429.
    This made me remember a similar thread: https://bbs.archlinux.org/viewtopic.php?id=91981
    Anyhow defining the /etc/timezone solves the problem.

  • [SOLVED] (Perl) Help Modifying Conky Weather Script

    I'm using buttons' excellent Conky weather script, but it has more information than I need. It displays both the current weather condition and the temperature:
    [condition]:[temperature]F
    so right now it's
    Clear: 46F
    All I need is for it to display the temperature, without the current condition, colon, and letter 'F' (for Fahrenheit).
    the script:
    METRIC=0 #Should be 0 or 1; 0 for F, 1 for C
    if [ -z $1 ]; then
    echo
    echo "USAGE: weather.sh <locationcode>"
    echo
    exit 0;
    fi
    curl -s http://rss.accuweather.com/rss/liveweather_rss.asp\?metric\=${METRIC}\&locCode\=$1 | perl -ne 'if (/Currently/) {chomp;/\<title\>Currently: (.*)?\<\/title\>/; print "$1"; }'
    In Conky:
    {execi 300 /home/hex/.conky/weather.sh <zip code>}
    I'm not familiar with Perl yet so any help is much appreciated
    Last edited by Olson (2011-02-17 07:06:10)

    Try this
    curl ... | perl -ne 'if (/Currently/) {chomp;/\<title\>.*: (\d*).\<\/title\>/; print "$1"; }'

  • [SOLVED] Mutt having problem connecting to gmail imap

    Just yesterday my mutt email was fine connecting to gmail via imap. I didn't touch .muttrc at all. Now when I run mutt it gives the "Connecting to imap.gmail.com ..." message and then times out with the "Connection to imap.gmail.com closed" error and I get an empty inbox. Any ideas on what I should be looking at?
    Last edited by mutaphore (2015-01-18 19:19:22)

    Offlineimap doesn't get your mail to you quicker - but it definitely does save mutt loading time.  Offlineimap runs as a daemon and keeps a local maildir copy of all your mail.  The main purpose for this is so you can read your mail while offline (hence the name), but an added bonus is that whenever you open mutt, mutt doesn't need to wait for the imap connection/download/sync/whatever - it just reads from the local maildir which is effectively instantaneous*.
    EDIT: *often that is.  I do have a 'storage' mailbox with ~5000 emails in it.  When I swtich to that mailbox mutt still takes a second to read the maildir folder.  But if this were in online form only it could take a minute or more.  My inbox which  often holds 50-100 emails loads instantly.

  • [SOLVED] Perl has screwed up rather nicely.

    After today's update:
    [crew@myhost ~]$ kildclient
    (I attempt to connect to a server)
    Perl lib version (5.10.1) doesn't match executable version (v5.10.0) at /usr/lib/perl5/core_perl/Config.pm line 50.
    Compilation failed in require at /usr/lib/perl5/core_perl/DynaLoader.pm line 25.
    BEGIN failed--compilation aborted at /usr/lib/perl5/core_perl/DynaLoader.pm line 25.
    Compilation failed in require at /usr/lib/perl5/vendor_perl/Locale/gettext.pm line 37.
    Compilation failed in require at /usr/share/kildclient/kildclient.pl line 32.
    BEGIN failed--compilation aborted at /usr/share/kildclient/kildclient.pl line 32.
    Undefined subroutine &main::__sethelpfile called at (eval 3) line 1.
    [crew@myhost ~]$
    Kildclient then closes itself.
    Last edited by SomeGuyDude (2009-10-04 20:25:09)

    SomeGuyDude wrote:Rebuilding it worked, but I'm not sure that's exactly a "solution". I mean, it made it WORK, but if every time there's a perl upgrade I gotta reinstall EVERY app I have that uses per, that's a bit of a PITA.
    I hear ya'. If the Perl devs want to change the API on every update, it's going to keep Arch users swimming upstream.

  • [SOLVED] perl 5.16-2 breaks LWP

    ... or actually, some dependencies of LWP.
    I have some scripts that use LWP (perl-libwww) to process web pages (old school, I know, but I wrote them long ago).
    After running pacman -Syu yesterday I noticed that my scripts were generating 'Segmentation fault' messages.  After some digging, I ran perl interactively and entered several 'use' statements for each dependency. I found the perl module Encode::Locale is where the segfault seems to be happening, but CPAN shows that module last updated in February.  Digging further, HTTP::Message has the same issue (it's another dependency of LWP.
    I'm betting there are other perl modules involved as well, because another system that has a 2-day old Arch install showed the same symptoms, but LWP was not installed there.  I had to fix that one by rolling perl back to 5.14.
    Any clues, hints, fixes?
    Thanks in advance.
    Mike
    Last edited by mmoser (2012-06-08 17:11:47)

    Juster - Thanks in advance for your help
    the trace for Encode::Locale; goes like this:
    $ perl -d
    Loading DB routines from perl5db.pl version 1.37
    Editor support available.
    Enter h or 'h h' for help, or 'man perldebug' for more help.
    use Encode::Locale;
    Signal SEGV at /usr/lib/perl5/site_perl/Encode.pm line 10.
        require Encode.pm called at /usr/share/perl5/site_perl/Encode/Locale.pm line 13
        Encode::Locale::BEGIN() called at /usr/lib/perl5/site_perl/Encode.pm line 0
        eval {...} called at /usr/lib/perl5/site_perl/Encode.pm line 0
        require Encode/Locale.pm called at - line 1
        main::BEGIN() called at /usr/lib/perl5/site_perl/Encode.pm line 0
        eval {...} called at /usr/lib/perl5/site_perl/Encode.pm line 0
    Aborted
    And the load list looks like
    $ perl -E 'BEGIN { unshift @INC, sub { say $_[1] }} use Encode::Locale;'
    Encode/Locale.pm
    strict.pm
    base.pm
    vars.pm
    warnings/register.pm
    warnings.pm
    Exporter.pm
    Encode.pm
    XSLoader.pm
    Encode/Alias.pm
    bytes.pm
    Encode/Config.pm
    Encode/ConfigLocal.pm
    Encode/Encoding.pm
    I18N/Langinfo.pm
    Carp.pm
    (Please understand that I'm not trying to place blame anywhere, I just want to fix whatever broke. And it's probably upgrade I missed somewhere)
    Again, thanks in advance,
    Mike
    Last edited by mmoser (2012-06-08 01:05:14)

  • [SOLVED] Perl updated to 5.20: Should I pacman -Syu?

    Hi all,
    In the arch home page one reads:
    Perl updated to 5.20
    2014-06-04
    Perl 5.20, as any other new perl version, requires all modules that are not purely perl code to be rebuilt. We did that for all packages in our repos.
    The last couple major updates printed an error message when trying to load modules built against the wrong version, 5.20 seems to cause segfaults. Please make sure to rebuild all custom installed CPAN modules and binaries that link to libperl.so.
    Refer to my post on arch-dev-public for a script that helps to find those packages.
    I executed the script and I got this:
    $cd /tmp/find-broken-perl-package.22jFUOeh
    $ls *
    pacman.txt perl-dists.txt perl-modules.txt raw.txt
    $cat *
    libproxy
    Net::Libproxy
    /usr/lib/perl5/vendor_perl/auto/Net/Libproxy/Libproxy.so
    I read the announcement, but I'm not sure what to do next.. What should I rebuild and how?
    Or am I good to just go on and pacman -Syu? I'm a bit extra cautious as I had problems in
    the past when I wasn't.
    Thanks in advance
    EDIT: perl-dists.txt was empty, so the output of cat * is for pacman.txt, perl-modules.txt, and raw.txt, respectively.
    Last edited by geo909 (2014-06-17 01:43:51)

    tomk wrote:I guess it might be helpful to add that in the news item, the word "custom" essentially means "installed from source(s) other than the official Arch repos", since the devs have taken care of any official packages. So you just need to determine the source of that libproxy package, and then rebuild or not as required.
    Thanks.. I think I'll be safe to upgrade. Just one more question: while trying to figure out who is using the libproxy package
    I did the following:
    jorge@flamingo:~$ sudo pacman -Qo /usr/lib/perl5/vendor_perl/auto/Net/Libproxy/Libproxy.so
    /usr/lib/perl5/vendor_perl/auto/Net/Libproxy/Libproxy.so is owned by libproxy 0.4.11-2
    Ok, so sure enough Libproxy.so is used by libproxy. Then I'm not sure how to find out
    who is using libproxy as a dependency. I did
    pacman -Si libproxy
    but that didn't give any information about that. So I had to pretend that I'm
    uninstalling things to get to what is using libproxy:
    jorge@flamingo:~$ sudo pacman -R libproxy
    checking dependencies...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: glib-networking: requires libproxy
    jorge@flamingo:~$ sudo pacman -R glib-networking
    checking dependencies...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: libsoup: requires glib-networking
    jorge@flamingo:~$ sudo pacman -R libsoup
    checking dependencies...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: abiword-plugins: requires libsoup
    :: darktable: requires libsoup
    :: gst-plugins-good: requires libsoup
    :: gstreamer0.10-good-plugins: requires libsoup-gnome
    :: gvfs: requires libsoup
    :: webkitgtk2: requires libsoup
    Is there a more proper way of obtaining those packages?

  • [SOLVED] Perl problem (in myth)

    I am trying to run a simple script that fetches info from themoviedb.org, here's the MythTV wiki for it: http://www.mythtv.org/wiki/Tmdb.pl
    All permissions are correct, files are in the right places, the problem seems to be with my perl setup. On running the script in the Mythfrontend, I get this: click for error png
    I have been corresponding on the Mythtv mailing list, and they asked if I'm using SELinux which I am not, of course. I don't know hardly anything about perl, so any help is appreciated. Any more info needed I will surely provide.
    Thanks
    Last edited by colbert (2009-04-06 04:44:14)

    What about the setgid permission?  That really seems the cause of the problem, the -Uw was just a hackish workaround.  List the files with 'ls -l' to see if the script (or the .pm module file) are setgid.  If they are an s will show up in the group field, like this:
    -rwxr-sr-x 1 justin users 11327 2009-04-05 12:41 tmdb.pl*
    This is also highlighted in yellow for me, I'm not sure if you have ls colors working.  Also check the directory they are in using 'ls -ld <dirpath>'.
    If you find it, try unsetting the setgid bit using chmod like: 'chmod g-s <target>'.  Google setuid or see the chmod manpage to learn more about it.
    Edit:
    As soon as I posted this I remember you can find files with certain permissions.  If you type this on the shell it should print any files/dirs with setgid on:
    find /MythTV's/Base/Directory/ -perm /2000
    Last edited by juster (2009-04-06 00:02:47)

  • How to solve the too slow reponse of gmail on ios 6 running iPad?

    I got the very slow response problem of mail program of ios6 while using GMAIL.
    Also i met the problem too slow response of Safari whlie using Google search engine.

    It sounds more like the type of problem caused by "throttling" which might happen because of google's download limits, or local network problems.
    But there are other potential causes.
    1. What folders are downloading? (see the activity in Tools | activity manager)
    2. Is the gmail account set up as imap? or pop?
    3. what antivirus software are you running?

  • [solved] Perl script for pacman updates in Conky

    Hi
    I've been using this script in Perl Conky to check on updates. It works well.
    It's not mine - I got it here;
    http://bbs.archlinux.org/viewtopic.php?id=57291
    #!/usr/bin/perl
    ## script by Xyne
    ## http://bbs.archlinux.org/viewtopic.php?id=57291
    use strict;
    use warnings;
    my $n = (`pacman -Qu | wc -l`);
    chomp ($n);
    if ($n == 0)
    print "System up to date"
    elsif($n == 1)
    print "1 new package"
    else
    print "$n new packages (inc. IgnorePkg) "
    I have some packages listed in IgnorePkg in pacman.conf - is there a way to exclude them from the packages counted in $n?
    I thought something like this would help but I don't see how to take only part of a line from IgnorePkg
    http://www.perlfect.com/articles/perlfile.shtml
    Thanks for any help
    EDIT I added a --ignore clause to the pacman query. Seems to have worked. Sorry to waste your time.
    Last edited by Bazzaah (2012-07-04 09:25:46)

    bump...
    Edit: Finally figured it out. My router assigns IP adresses dynamically on each reboot. When my IP adress changed from 192.169.1.2 to 192.168.1.3 the hellaconk script got all confused. Ahh...
    Last edited by Perre (2009-03-12 18:59:40)

  • (SOLVED)Perl.... shifting ascii values?

    I was curious about Perl today so I started reading a tutorial and before you knew it I had pretty much wrote a small Caeser Cipher program. The only thing I can't figure out is how to shift the ascii characters in the array.
    I tried to do it "C" style by adding +1 to the character array index for a +1 shift ("a" +1 = "b"), but apparently Perl doesn't like it, or I didn't use the correct syntax.
    Is there any way to do this or am I going to have to use another method? I don't really need to do this program or anything, but trying to get some of the quirks down,
    I really like what I have seen so far, really quick to pick up and feels very powerful.
    Last edited by Google (2010-12-09 17:38:05)

    There's probably a better way (i.e.  a method that involves less typing on your part) but you could implement a hash that reads the input string 1 character at a time and outputs the corrected letter, and for any other non shifted input (whitespace and punctuations) just return themselves as values.
    example:
    my %cypher = (
    "a" => "c",
    "b" => "d",
    "c" => "e",
    "y" => "a",
    "z" => "b",
    " " => " ",
    "." => ".");
    Last edited by Cyrusm (2010-12-09 17:18:56)

  • [SOLVED] Gmail-plasmoid doesn't stop fetching

    Hi!
    I have a problem with gmail-notifier plasmoid. Until now, I was able to keep it working, by downgrading sip to an older version (4.10.2), and adding it to ignored packages in pacman.conf. But with KDE 4.5.2 arriving, gmail plasmoid wasn't able to launch, it had script engine errors, so I upgraded to sip 4.11.1 . Now gmail-notifier is able to launch, but it doesn't display my unread messages in my gmail account, because it doesn't stop fetching. Is there anyone who uses this plasmoid and was able to solve this problem (if it's a wide-spread problem, and it doesn't affect only my pc)? Or anyone who has n idea how to solve this?
    Thanks in advance!
    Balazs
    Last edited by Ben_the1st (2010-10-24 16:29:40)

    Hi!
    I was able to solve this problem. Uninstalling the gmail-plasmoid and reinstalling it with plasmapkg -i made it work.
    Balazs
    Last edited by Ben_the1st (2010-10-24 16:27:34)

  • Gmail App for BB Curve 9320

    I'm trying to find Gmail app client on BB curve 9320 for some reason this app cannot be found on BB App World, HELP PLZ!
    Solved!
    Go to Solution.

    The Gmail client was never available in App World, but rather directly from Google. However, they have now withdrawn the app as most functions provided by it are available via the built in email client and the enhanced Gmail plugin pushed to your device when you setup a gmail account via BIS 

  • Setting up Gmail on iPad2

    I have tried to set up my gmail account on the ipad 2 I put in the correct credentials yet I get a pop up that says that the user name and password are not correct.  I have logged on from another iPad and a computer to verify that the settings are correct.  Pop and imap are enabled

    I had the same problem and I think I just solved it.
    I used the Gmail configuration (not Exchange), with [email protected] as username. But instead of my regular password, I used a Application-specific password.
    Go to https://accounts.google.com/IssuedAuthSubTokens#accesscodeshttps://accounts.google.com/IssuedAuthSubTokens#accesscodes :
    Generate a new application specific password by choosing a name (like IPAD2) and click on the icon.
    You will get a 16 digit code:
    Use this new code as your gmail password while configuring your account on the ipad and it will work!!
    More info: http://support.google.com/accounts/bin/static.py?hl=en&page=guide.cs&guide=10562 83&answer=185833&rd=3
    I hope that works for you guys! Happy new year!

Maybe you are looking for

  • How to refresh a region during tab change

    Hi All, In my page I have two tabs.There is one region each in each tab. Tab 1 region is on top of Parent View Object and Tab 2 region is on top of Child view object. Relationship is one-to-one. In tab 1 region, If populate some attributes <of Parent

  • Time capsule and external hard drives

    Good morning support group! I have a new Macbook and time capsule. My iPhoto library and iTunes are on external hard drives and are (gulp) not backed up properly. Can I set up the TC to back up the external hard drives and the macbook. If I set it up

  • Error 0xE0000235 when trying to download a driver onto Windows SBS 2008 64-bit Standard FE.

    Unfortunately, Error 0xE0000235 occurs when trying to download a driver onto Windows SBS 2008 64-bit Standard FE. I am installing the GV 800 GeoVision 32/64Bit 16CH Video Capture Card onto the server. Please urgently assist. Answer in clear English.

  • Using exchange rate in summary queries

    Hi, The data in the cube contains the order amount in order currency and the exchange rate.  When the query contains the order number and I multiply the amt in order currency with the exchange rate, each line is correct and when I set the result to s

  • Windows XP SP3 on a T420 Type 4238-A21. Issues with Intel AMT

    I am attempting to install XPSP3 on a T420 and using System Update to get the drivers it refuses to install the AMT software. When I attempt to run manually it creates an error "The setup program failed to install one or more device drivers. Setup wi