Re: [gentoo-user] [OT] Help with Perl Datetime + Epoch

2007-08-13 Thread Ow Mun Heng
On Mon, 2007-08-13 at 00:25 -0700, Alan wrote: On Mon, Aug 13, 2007 at 02:43:04PM +0800, Ow Mun Heng wrote: Been struggling with a new script I'm porting over from bash because perl's DBI is much more elegant than my previous usage of sqsh. I'm having trouble converting from a datetime

Re: [gentoo-user] [OT] Help with Perl Datetime + Epoch

2007-08-13 Thread Alan
On Mon, Aug 13, 2007 at 02:43:04PM +0800, Ow Mun Heng wrote: Been struggling with a new script I'm porting over from bash because perl's DBI is much more elegant than my previous usage of sqsh. I'm having trouble converting from a datetime into a unix epoch timestamp. under bash

[gentoo-user] [OT] Help with Perl Datetime + Epoch

2007-08-13 Thread Ow Mun Heng
Been struggling with a new script I'm porting over from bash because perl's DBI is much more elegant than my previous usage of sqsh. I'm having trouble converting from a datetime into a unix epoch timestamp. under bash, this is done. date = -MM-DD HH:MM:SS epoch_date = date -d $date +%s

Re: [gentoo-user] [OT] Help with Perl Datetime + Epoch

2007-08-13 Thread Tim
Ow Mun Heng wrote: Been struggling with a new script I'm porting over from bash because perl's DBI is much more elegant than my previous usage of sqsh. I'm having trouble converting from a datetime into a unix epoch timestamp. under bash, this is done. date = -MM-DD HH:MM:SS epoch_date

[gentoo-user] emerge --depclean -p long list of packages

2013-04-19 Thread Joseph
-extra/tumbler-0.1.25 pulled in by: @selected requires xfce-extra/tumbler xfce-extra/xfce4-datetime-plugin-0.6.2 pulled in by: @selected requires xfce-extra/xfce4-datetime-plugin They are not selected for removal, they are just listed. -- Joseph

[gentoo-user] psycopg package broken

2005-09-06 Thread Erik
-pthread -E -I/usr/include/postgresql/server -I/usr/lib/python2.3/site-packages/mx/DateTime/mxDateTime conftest.c conftest.c:10:24: mxDateTime.h: No such file or directory configure:3019: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME psycopg | #define

[gentoo-user] trying to track down broken dependency

2009-09-18 Thread kashani
/DateTime-TimeZone-0.98 [ebuild]) (dependency required by www-apps/bugzilla-3.4.1-r1 [ebuild]) (dependency required by bugzilla [argument]) I don't see anything in man emerge that would help me track down the missing dependency. Is there any easy way to do this or do I have to track it down

Re: [gentoo-user] trying to track down broken dependency

2009-09-18 Thread kashani
. (dependency required by perl-core/Module-Build-0.35 [ebuild]) (dependency required by dev-perl/DateTime-TimeZone-0.98 [ebuild]) (dependency required by www-apps/bugzilla-3.4.1-r1 [ebuild]) (dependency required by bugzilla [argument]) I don't see anything in man emerge that would help me track

Re: [gentoo-user] Cellphone VFAT datestamps versus linux datestamps

2018-08-27 Thread R0b0t1
drivers. --- #!/usr/bin/env python3 import sys, os, struct from datetime import datetime from pprint import pprint def main(): for line in open(sys.argv[1], 'r'): date = ' '.join(line.strip().split()[3:6]) dt = datetime.strptime(date, '%b %d %Y') pprint(dt) ts

Re: [gentoo-user] big problem with emerge

2006-01-18 Thread David Morgan
a couple of minutes if you have a lot of binary packages.) .='update pass' *='binary update' @='/var/db move' s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*' KeyError: Specific key requires an operator (dev-perl/DateTime-0.2901) (try adding

Re: [gentoo-user] trying to track down broken dependency

2009-09-18 Thread Paul Hartman
required by perl-core/Module-Build-0.35 [ebuild]) (dependency required by dev-perl/DateTime-TimeZone-0.98 [ebuild]) (dependency required by www-apps/bugzilla-3.4.1-r1 [ebuild]) (dependency required by bugzilla [argument]) I don't see anything in man emerge that would help me track down

Re: [gentoo-user] OT: Extracting year from data, but honour empty lines

2018-05-11 Thread Andrew Udvare
one < input_file I would consider using a human date string parsing library in another language, such as Python’s datetime where you can specify the formats, loop to check for any and if nothing matches output a blank line. Andrew

[gentoo-user] cant use portage since last nights sync

2006-01-18 Thread Jean Blignaut
(mykey,use_cache=use_cache)) File /usr/lib/portage/pym/portage.py, line 4134, in match_from_list raise KeyError, Specific key requires an operator (%s) (try adding an '=') % (mydep) KeyError: Specific key requires an operator (dev-perl/DateTime-0.2901) (try adding an '=') What do I do to fix

[gentoo-user] big problem with emerge

2006-01-18 Thread Manuel Pérez López
match_from_list(mydep,self.cp_list(mykey,use_cache=use_cache)) File /usr/lib/portage/pym/portage.py, line 4134, in match_from_list raise KeyError, Specific key requires an operator (%s) (try adding an '=') % (mydep) KeyError: Specific key requires an operator (dev-perl/DateTime-0.2901) (try

Re: [gentoo-user] xfce4 upgrade

2007-02-19 Thread doug asherman
-extra/xfce4-mount xfce-extra/xfce4-dict xfce-extra/xfce4-taskmanager xfce-extra/xfce4-screenshooter xfce-extra/xfce4-quicklauncher xfce-extra/xfce4-xkb xfce-extra/xfce4-datetime xfce-extra/xfce4-notes xfce-extra/xfce4-fsguard xfce-extra/xfce4-systemload xfce-extra/xfce4-netload xfce-extra/xfce4

Re: [gentoo-user] Date and time reset randomly.

2007-06-12 Thread Redouane Boumghar
Hello Bernard and Co :) Are you using dual boot with another OS ? In that case, maybe you're using your other OS every 15 boots and maybe it has a wrong datetime and sets it to the hardware at every shutdown. Thus while you are rebooting on your Gentoo the hardware clock is wrong. Check your

Re: [gentoo-user] trying to track down broken dependency

2009-09-18 Thread Paul Hartman
! emerge: there are no ebuilds to satisfy ~dev-lang/perl-5.10.1. (dependency required by perl-core/Module-Build-0.35 [ebuild]) (dependency required by dev-perl/DateTime-TimeZone-0.98 [ebuild]) (dependency required by www-apps/bugzilla-3.4.1-r1 [ebuild]) (dependency required by bugzilla [argument

Re: [gentoo-user] emerge --update behavior

2012-01-02 Thread Neil Bothwick
a perl script called zenus (specific to my ISP) and /etc/portage/sets/zenus-deps contains dev-perl/SOAP-Lite perl-gcpan/SOAP-DateTime dev-perl/Class-Inspector dev-perl/Data-Dumper-Concise Those packages may or may not be needed by anything else, but a set means I keep them installed without

Re: [gentoo-user] OT crontab not understood

2012-01-09 Thread Alan McKinnon
not run sundays. Can someone please explain me what I'm doing wrong? You are combining fields 3 and 5, those two work funny. Unlike the other datetime specs, they are not ANDed, they are ORed. Taking the first one, you obviously want the cron to run at 3 am between the 2nd and 31st of the month

Re: [gentoo-user] aggregate logs into Elasticsearch

2020-04-09 Thread Stefan G. Weichinger
gt; uri("mongodb://user:pw@hostname:27017/syslog?authSource=admin=true") > collection("messages") > value-pairs( > scope("selected-macros" "nv-pairs") > pair("DATE", datetime("$UNIXTIME")) >

Re: [gentoo-user] aggregate logs into Elasticsearch

2020-04-04 Thread Ralph Seichter
scope("selected-macros" "nv-pairs") pair("DATE", datetime("$UNIXTIME")) pair("PID", int64("$PID")) pair("SEQNUM", int64("$SEQNUM")) exclude("HOST*") exclude("LEGACY*&quo

[gentoo-user] The Grand Remerge

2006-01-06 Thread Matthias Bethke
/gpdf-2.10.0-r2 [ebuild R ] xfce-extra/xfce4-datetime-0.3.1-r1 [ebuild R ] gnome-base/gdm-2.8.0.3 [nomerge ] net-analyzer/nessus-2.2.6 [nomerge ] net-analyzer/nessus-plugins-2.2.6 [ebuild R ] net-analyzer/nessus-core-2.2.6 [ebuild R ] media-gfx/eog-2.10.2 [ebuild R

Re: [gentoo-user] trying to track down broken dependency

2009-09-19 Thread Michael Higgins
dependencies... done! emerge: there are no ebuilds to satisfy ~dev-lang/perl-5.10.1. (dependency required by perl-core/Module-Build-0.35 [ebuild]) (dependency required by dev-perl/DateTime-TimeZone-0.98 [ebuild]) (dependency required by www-apps/bugzilla-3.4.1-r1 [ebuild]) (dependency

Re: [gentoo-user] OT crontab not understood

2012-01-09 Thread Daniel Troeder
, and the 1st line (inc) should not run sundays. Can someone please explain me what I'm doing wrong? You are combining fields 3 and 5, those two work funny. Unlike the other datetime specs, they are not ANDed, they are ORed. Taking the first one, you obviously want the cron to run at 3

Re: [gentoo-user] Automated emerge -e world

2007-09-11 Thread Albert Hopkins
script, but more reliable and written in Python. import datetime import os import sys import time import portage LOGDIR = '/var/log/emptytree' PKGLIST = LOGDIR + '/packages' FAILED = LOGDIR + '/failed' EMERGE_FLAGS = '--oneshot --nodeps' TCOLS = 80 def get_list_of_packages(args=None): Get

Re: [gentoo-user] trying to track down broken dependency

2009-09-19 Thread kashani
deps. Hard mask that crap next time. 4. Add the needed packages in portage.keywords and make it pretty and organized. # bugzilla and deps for bugzilla-3.4.1-r1, added 20090919 www-apps/bugzilla dev-perl/Daemon-Generic dev-perl/DateTime-TimeZone dev-perl/Data-ObjectDriver dev-perl/File-Flock dev

Re: [gentoo-user] OT crontab not understood

2012-01-09 Thread Alan McKinnon
datetime specs, they are not ANDed, they are ORed. Taking the first one, you obviously want the cron to run at 3 am between the 2nd and 31st of the month AND if the day is Mon-Sat. What it is doing is running at 3am every day between the 2nd and 31st and also every day Mon-Sat (even

Re: [gentoo-user] emerge xfce-base/thunar: lobotomy needed

2012-09-10 Thread Mark Knecht
): Panel for the Xfce desktop environment [I] xfce-base/xfce4-session (4.10.0{tbz2}@05/22/12): A session manager for the Xfce desktop environment [I] xfce-base/xfce4-settings (4.10.0{tbz2}@05/22/12): Configuration system for the Xfce desktop environment [I] xfce-extra/xfce4-datetime-plugin (0.6.1

[gentoo-user] So emerge spoke ...

2015-02-10 Thread Meino . Cramer
USE={-test} [nomerge ] dev-perl/DateTime-1.030.0 USE={-test} [nomerge ] dev-perl/Params-Validate-1.70.0-r1 USE={-test} [ebuild U ]virtual/perl-Attribute-Handlers-0.960.0 [0.940.0-r1] 0 KiB [nomerge ] mail-filter/spamassassin-3.3.2-r5 USE=berkdb ipv6 ssl -doc

Re: [gentoo-user] Unwelcomed non-native language support

2015-05-30 Thread gevisz
-datetime-plugin-0.6.2 (sys-devel/gettext) xfce-extra/xfce4-netspeed-plugin-0.3 (sys-devel/gettext) xfce-extra/xfce4-xkb-plugin-0.5.6 (sys-devel/gettext) In my case, firefox does *not* show up, despite me using nls (neither does adobe-flash, in case you're using that). In my case, the Firefox

[gentoo-user] Program: Python C Header file Generator for GNU C

2022-04-07 Thread Attila Boczkó
Dear Gentoo Users, Developers! I would like to share my little program that does header file generation from GNU C file. See attached file. Sincerely xbx. #!/usr/bin/env python import os import sys import re import shutil import datetime class ConfigMain(object): def __init__(self

[gentoo-user] Re: update brings no recognition of tty hence no login

2009-01-04 Thread Harry Putnam
-extra/xfce4-timer-0.6.1 Sun Jan 4 07:41:39 2009 xfce-extra/xfce4-mailwatch-1.1.0 Sun Jan 4 07:42:49 2009 xfce-extra/xfce4-mount-0.5.5 Sun Jan 4 07:44:12 2009 xfce-extra/xfce4-datetime-0.6.1 Sun Jan 4 07:45:18 2009 xfce-extra/xfce4-fsguard-0.4.2 Sun Jan 4 07:46:24 2009 xfce-extra/xfce4-clipman

[gentoo-user] Code Sharing: Python Simple Build

2022-04-01 Thread Attila Boczkó
Dear Gentoo Users, Developers! I would like to share my little program. Help in compiling programs. See attached python files. sincerely xbx. simplebuild.build Description: Binary data #!/usr/bin/env python import os import sys import subprocess import datetime import shutil class