Michael J Rubinsky | 18 May 19:17 2015

Fwd: Still Failing: horde/horde#5927 (master - f11823d)

Mostly for Michael S., any idea what's causing the autoloading to fail  
for StringPrep on Travis?

-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
From: Travis CI <builds <at> travis-ci.org>
Subject: Still Failing: horde/horde#5927 (master - f11823d)
Date: 2015-05-18 17:11:09 GMT
Build Update for horde/horde
-------------------------------------

Build: #5927
Status: Still Failing

Duration: 37 minutes and 2 seconds
Commit: f11823d (master)
Author: Michael J Rubinsky
Message: Ensure we don't attempt to fetch the same change twice.

View the changeset: https://github.com/horde/horde/compare/b6e2e9c0c223...f11823de17bc
(Continue reading)

Vilius Sumskas/LNK | 13 May 12:25 2015
Picon

Re: horde-translation complains about missing Console_Table

> 2015-05-13 10:28 GMT+02:00 Vilius Sumskas/LNK <vilius <at> lnk.lt>:
> > Despite my best efforts get my PHP installation real, real clean 
(using
> PHP
> > 5.5 now), the horde-translation script keeps dumping a lot of 
warnings.
> > Additionally, it complains about a missing Console_Table. I
> double-checked
> > my pear-installation, everything seems fine. I even went through the
> steps
> > on http://www.horde.org/apps/horde/docs/INSTALL#installing-with-pear 
to
> > make sure everything is nice and clean. The error (and the warnings)
> > persist.
> >
> > I am not sure where the Console_Tables reside, could they be part of a
> PECL
> > package?
> 
> Have you tried Google? 
https://www.google.lt/search?hl=en&q=Console_Table
> 
> Good point. However:
> 
> # pear install Console_Table
> pear/Console_Table is already installed and is the same as the 
> released version 1.2.1
> install failed

And is it actually installed in one of the include_paths?
(Continue reading)

Sebastian Birnbach | 13 May 10:18 2015
Picon

horde-translation complains about missing Console_Table

Despite my best efforts get my PHP installation real, real clean (using PHP
5.5 now), the horde-translation script keeps dumping a lot of warnings.
Additionally, it complains about a missing Console_Table. I double-checked
my pear-installation, everything seems fine. I even went through the steps
on http://www.horde.org/apps/horde/docs/INSTALL#installing-with-pear to
make sure everything is nice and clean. The error (and the warnings)
persist.

I am not sure where the Console_Tables reside, could they be part of a PECL
package?

Another thing: when I run the same script under user permissions, the
script fails right after all the warnings with an error trying to open
/usr/local/lib/php/pear/www/horde/lib/core.php:

PHP Fatal error:  require_once(): Failed opening required
'/usr/local/lib/php/pear/www/horde/lib/core.php'
(include_path='.:/usr/local/share/pear') in
/usr/local/bin/horde-translation on line 1575

This file does not exist but user root is never confronted with that
message.

Kind regards

  Sebastian

root <at> luna:/ # horde-translation help
PHP Deprecated:  Assigning the return value of new by reference is
deprecated in /usr/local/share/pear/PEAR/Config.php on line 650
(Continue reading)

Sebastian Birnbach | 13 May 10:05 2015
Picon

Horde slooooow

For those who followed my last message: reinstallation of the mySQL
database was a success. However, I needed to re-define the root user and
any other SQL user I need.

Now, the reason why I wanted to restart the DB in the first was that Horde
was way too slow. It feels faster now but still has a long way to go. Some
observations about it:

1.) other horde installations appear to go slow, too:
http://wiki.horde.org/Doc/Dev/Horde_View took me about 30 seconds to load
today

2.) listing all user sessions in the console takes in the range of minutes
and shows only stale sessions. In my case, the session time is limited to 1
day (86400 sec) and the 24 sessions I got in the listing were all 4-6 days
old. (Also I am missing a possibility to kill a session)

3.) switching between turba, nag and kronolith takes about 7 seconds each.
During this time, 'top -s1' shows that the machine is mostly idle and the
httpd never eats up more than 3% CPU time, the rest is idle time.

Kind regards

  Sebastian
--

-- 
dev mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: dev-unsubscribe <at> lists.horde.org

(Continue reading)

Luis Felipe Marzagao | 13 May 04:52 2015
Picon

Autoloading problems when running tests inside horde git tree

Hello:

I cannot run framework packages tests under a cloned horde git tree.

This install is web-accessible under /var/www/html/horde and is working.

I do not have any pear horde package installed globally, except horde_role.

All the framework packages live inside the cloned horde git tree and are 
linked to /var/www/html/horde/libs via install_dev script.

If I try to run the tests I get, for example:

duli <at> i5:~/NetBeansProjects/horde/framework/Rdo/test/Horde/Rdo$ phpunit 
AllTests.php

PHP Warning:  require_once(Horde/Test/Bootstrap.php): failed to open 
stream: No such file or directory in 
/home/duli/NetBeansProjects/horde/framework/Rdo/test/Horde/Rdo/bootstrap.php 
on line 2
PHP Stack trace:
PHP   1. {main}() /usr/bin/phpunit:0
PHP   2. PHPUnit_TextUI_Command::main() /usr/bin/phpunit:46
PHP   3. PHPUnit_TextUI_Command->run() 
/usr/share/php/PHPUnit/TextUI/Command.php:129
PHP   4. PHPUnit_TextUI_Command->handleArguments() 
/usr/share/php/PHPUnit/TextUI/Command.php:138
PHP   5. PHPUnit_TextUI_Command->handleBootstrap() 
/usr/share/php/PHPUnit/TextUI/Command.php:606
PHP   6. PHPUnit_Util_Fileloader::checkAndLoad() 
(Continue reading)

Sebastian Birnbach | 9 May 17:18 2015
Picon

oops - unintentionally uninstalled mysql-server

All,

thanks for bearing with me so far. Starting from a small problem I see
myself ending up redoing a major part of the horde installation.

Now, while getting my PHP installation real clean I seem to have also
uninstalled the mysql-server56. I noticed this as the currently running
server behaves strangely in taking way too long to answer requests. In
other words, the database files are still there, the SQL server process is
still running and all my data apparently is - yet - present.

I am hesitant to simply reinstall the package as I don't quite know what
files may be overwritten. As far as I can see the data files *should* not
get changed, should they?

But will I stay with the same database accounts and passwords?

And how can I make sure that the server is brought down gracefully (and
writes to disk all the pending information), now that I don't have the
start/stop scripts? Will a simple SIGHUN (i.e. a kill command) do the trick?

Thanks for all responses

  Sebastian
--

-- 
dev mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: dev-unsubscribe <at> lists.horde.org

(Continue reading)

Michael M Slusarz | 7 May 06:52 2015

Horde Project: A Case Study in EAI implementation

Forgot about this.  Was asked to write this a few months ago and, lo  
and behold, I discovered it actually exists

http://ua.thedna.org/the-horde-project/

For the record, IMP 7/Horde 6 should be EAI compliant.  UI needs work  
- part of what that article is about - but the backend tools (IMAP,  
SMTP, MIME, Mail parsing) shouldn't be a limiting issue.

michael

___________________________________
Michael Slusarz [slusarz <at> horde.org]

--

-- 
dev mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: dev-unsubscribe <at> lists.horde.org

Sebastian Birnbach | 6 May 08:51 2015
Picon

wrecking my installation through PHP upgrade

All,

trying to get my PHP installation straight got me into a lot of trouble. I
meanwhile reverted PHP to 5.4.40 after experiencing verious problems with
PHP5.6. (Looking back the downgrading solved no problem though)

Currently the biggest problem is that users cannot log in any more. What
they get is a message essentially saying "User foo is not authorized for
Horde (Host: 192.168.0.202)."

The syslog shows:

May  6 08:26:59 luna HORDE: [horde] Login success for foo to horde
(192.168.0.202) [pid 89884 on line 164 of
"/usr/local/www/apache24/data/login.php"]
May  6 08:27:09 luna HORDE: User foo is not authorized for Horde (Host:
192.168.0.202). [pid 89884 on line 340 of
"/usr/local/share/pear/Horde/Registry.php"]

(Notice how slow the server is, 10 seconds for a rejection. APC is
disabled, I am working on it.)

After such an unsuccessful login, the admin user can still see the session
of that user through the console. The session also proves that the user in
question does have permission to use Horde. Creating a new user did noch
change a thing.

It seems to me that the upgrading of Horde is causing the problems but I am
out of ideas. Must slow down my fixing attempts such as not to make any
more anti-progress.
(Continue reading)

Michael J Rubinsky | 5 May 16:31 2015

Imap_Client / streams.

I'm having a hard time trying to track down some memory usage issues  
I'm seeing and in doing so, I'm trying to better understand what is  
going on in HIC;  When fetching a specific mime part, like e.g. an  
attachment, does HIC always use streams, or does it put the entire  
part's contents in memory at some point? E.g:

$bodypart_params = array(
   'decode' => true,
   'peek' => true
);
$query->bodyPart($mime_id, $bodypart_params);

$fetch_res = $this->_imap->fetch(
   $this->_mbox,
   $query,
   array('ids' => new Horde_Imap_Client_Ids(array($uid)))
);

If $mime_id is some large attachment, will it ever be placed  
completely in memory or is at contained in a temporary stream at all  
times?

--

-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
Attachment (smime.p7s): application/pkcs7-signature, 7930 bytes
(Continue reading)

Sebastian Birnbach | 5 May 10:30 2015
Picon

installation of APC fails and fails and fails

Dear all,

in the course of getting my PHP installation straight I notice that just
about every PHP-related command appears to use the apc.so extension, which
is missing:

devel <at> luna:~/pecl-development # pecl list
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/local/lib/php/20131226/apc.so' - Cannot open
"/usr/local/lib/php/20131226/apc.so" in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library
'/usr/local/lib/php/20131226/apc.so' - Cannot open
"/usr/local/lib/php/20131226/apc.so" in Unknown on line 0
Installed packages, channel pecl.php.net:
=========================================
Package   Version State
LZF       1.6.2   stable
geoip     1.0.8   stable
igbinary  1.2.1   stable
imagick   3.1.2   stable
intl      3.0.0   stable
memcache  2.2.7   stable
mongo     1.5.8   stable
pam       1.0.3   stable
pecl_http 2.1.3   stable
propro    1.0.0   stable
raphf     1.0.4   stable
xdiff     1.4.1   stable
devel <at> luna:~/pecl-development #
(Continue reading)

Jason Keltz | 22 Apr 03:14 2015
Picon

script for regenerate and activate all filters

Hi.

I hope I'm writing to the right list.    I'm switching our mail format 
from mbox to maildir, and I need to regenerate the Ingo procmail filters 
on my system.  I'm close coming up with a basic script to do this, but 
having some trouble, and hoping for some advice..

This part is fine..

#!/usr/bin/php
<?php

 <at> define('HORDE_BASE', '/local/horde');

set_include_path(get_include_path() . PATH_SEPARATOR . HORDE_BASE . 
"/pear/php");

require_once HORDE_BASE . '/lib/Application.php';

Horde_Registry::appInit('ingo', array('cli' => true));

$user="jas";

   echo "$user";
   $registry->setAuth($user, array());
   $session->set('ingo', 'current_share', ':' . $user);
   $ingo_storage = $injector->getInstance('Ingo_Factory_Storage')->create();
print_r($ingo_storage->retrieve(Ingo_Storage::ACTION_WHITELIST)->getWhitelist());

   ^--- since this prints my whitelist, I know I'm close...
(Continue reading)


Gmane