[Bug 876091] [NEW] Ubuntu ant alters the SAX configuration

2011-10-16 Thread jsalvata
Public bug reported:

The ant launch script (ant-1.8.1-1) contains these Debian-specific
lines, which alter the environment enough for some tests which pass in
other environments to fail in Ubuntu:

if [ -z $LOCALCLASSPATH ] ; then
  
LOCALCLASSPATH=/usr/share/java/xmlParserAPIs.jar:/usr/share/java/xercesImpl.jar
else
  
LOCALCLASSPATH=/usr/share/java/xmlParserAPIs.jar:/usr/share/java/xercesImpl.jar:$LOCALCLASSPATH
fi

In my case, the Scala compiler build was failing (at target
test.scaladoc). It worked after commenting out these lines.

** Affects: ant (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/876091

Title:
  Ubuntu ant alters the SAX configuration

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ant/+bug/876091/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 565481] Re: PHP preg_match doesn't match matching string

2010-08-20 Thread jsalvata
The conversation around the upstream bug report continued... it was a
PHP error, as the docs in http://php.net/manual/en/function.preg-
match.php read: preg_match() returns FALSE if an error occurred. --
but it was returning 0 for this error.

According to bjori at php.net in http://bugs.php.net/bug.php?id=51741,
it has already been fixed upstream.


** Bug watch added: bugs.php.net/ #51741
   http://bugs.php.net/bug.php?id=51741

-- 
PHP preg_match doesn't match matching string
https://bugs.launchpad.net/bugs/565481
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 565481] Re: PHP preg_match doesn't match matching string

2010-08-20 Thread jsalvata
The conversation around the upstream bug report continued... it was a
PHP error, as the docs in http://php.net/manual/en/function.preg-
match.php read: preg_match() returns FALSE if an error occurred. --
but it was returning 0 for this error.

According to bjori at php.net in http://bugs.php.net/bug.php?id=51741,
it has already been fixed upstream.


** Bug watch added: bugs.php.net/ #51741
   http://bugs.php.net/bug.php?id=51741

-- 
PHP preg_match doesn't match matching string
https://bugs.launchpad.net/bugs/565481
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 565481] Re: PHP preg_match doesn't match matching string

2010-04-25 Thread jsalvata
We've verified this bug occurs on the latest PHP version, 5.3.2

I will report it upstream.

di...@telemaco:~/Desktop/php-5.3.2/sapi/cli$ ./php --version
PHP 5.3.2 (cli) (built: Apr 25 2010 23:58:33)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
di...@telemaco:~/Desktop/php-5.3.2/sapi/cli$ ./php __END__

?= preg_match(/^(?:[^\[\]{}']+|'[^']*')+:(?:[^\[\]{}']+|'[^']*')+$/,
a:b) ?

__END__
0

-- 
PHP preg_match doesn't match matching string
https://bugs.launchpad.net/bugs/565481
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 565481] Re: PHP preg_match doesn't match matching string

2010-04-25 Thread jsalvata
The upstream bug report is here: http://bugs.php.net/bug.php?id=51663


** Bug watch added: bugs.php.net/ #51663
   http://bugs.php.net/bug.php?id=51663

-- 
PHP preg_match doesn't match matching string
https://bugs.launchpad.net/bugs/565481
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 565481] Re: PHP preg_match doesn't match matching string

2010-04-25 Thread jsalvata
We've verified this bug occurs on the latest PHP version, 5.3.2

I will report it upstream.

di...@telemaco:~/Desktop/php-5.3.2/sapi/cli$ ./php --version
PHP 5.3.2 (cli) (built: Apr 25 2010 23:58:33)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
di...@telemaco:~/Desktop/php-5.3.2/sapi/cli$ ./php __END__

?= preg_match(/^(?:[^\[\]{}']+|'[^']*')+:(?:[^\[\]{}']+|'[^']*')+$/,
a:b) ?

__END__
0

-- 
PHP preg_match doesn't match matching string
https://bugs.launchpad.net/bugs/565481
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 565481] Re: PHP preg_match doesn't match matching string

2010-04-25 Thread jsalvata
The upstream bug report is here: http://bugs.php.net/bug.php?id=51663


** Bug watch added: bugs.php.net/ #51663
   http://bugs.php.net/bug.php?id=51663

-- 
PHP preg_match doesn't match matching string
https://bugs.launchpad.net/bugs/565481
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 565481] [NEW] PHP preg_match doesn't match matching string

2010-04-17 Thread jsalvata
Public bug reported:

Binary package hint: php5

This regular expression: /^(?:[^\[\]{}']+|'[^']*')+:(?:[^\[\]{}']+|'[^']*')+$/
matches this string: a:bbb
in Perl (5.10.0-24ubuntu4):

perl __END__
print 'a:b' =~ 
q/^(?:[^\[\]{}']+|'[^']*')+:(?:[^\[\]{}']+|'[^']*')+$/;
print \n;
__END__
1

and pcretest (libpcre3 7.8-3):

pcretest __END__
/^(?:[^\[\]{}']+|'[^']*')+:(?:[^\[\]{}']+|'[^']*')+$/
a:bbb
__END__
PCRE version 7.8 2008-09-05

  re data  0: a:bbb
data 

Not, however, in PHP (php5-common 5.2.10.dfsg.1-2ubuntu6.4):

php __END__
?= preg_match(/^(?:[^\[\]{}']+|'[^']*')+:(?:[^\[\]{}']+|'[^']*')+$/, 
a:b) ?
 
__END__
0

The bug is pretty sensible to changes in the input. Removing a couple of
bs makes it match. I don't know which aspects of the regexp cause it
to fail.

For confirmation that this is indeed a bug without having to decypher
the regexp, here's proof:

?php
$A='(?:[^\[\]{}\']+|\'[^\']*\')+';
$a= 'a';
$B=:$A;
$b= ':bbb';
print_r(preg_match(/^$A$/, $a));
print_r(preg_match(/^$B$/, $b));
print_r(preg_match(/^$A$B$/, $a$b));
print_r(\n);

This outputs 110, which is impossible since if /^$A$/ matches $a and
/^$B$/ matches $b, /^$A$B$/ should definitely match $a$b.

I tried reporting this upstream, but bugs.php.net doesn't allow
reporting bugs for versions earlier than 5.2.13.

ProblemType: Bug
Architecture: i386
Date: Sat Apr 17 19:11:27 2010
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia wl
Package: php5-common 5.2.10.dfsg.1-2ubuntu6.4
ProcEnviron:
 LANGUAGE=ca_ES.UTF-8
 PATH=(custom, user)
 LANG=ca_ES.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-20.58-generic
SourcePackage: php5
Uname: Linux 2.6.31-20-generic i686

** Affects: php5 (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: apport-bug i386

-- 
PHP preg_match doesn't match matching string
https://bugs.launchpad.net/bugs/565481
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 565481] Re: PHP preg_match doesn't match matching string

2010-04-17 Thread jsalvata

** Attachment added: Dependencies.txt
   http://launchpadlibrarian.net/44609087/Dependencies.txt

** Attachment added: XsessionErrors.txt
   http://launchpadlibrarian.net/44609088/XsessionErrors.txt

-- 
PHP preg_match doesn't match matching string
https://bugs.launchpad.net/bugs/565481
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 565481] [NEW] PHP preg_match doesn't match matching string

2010-04-17 Thread jsalvata
Public bug reported:

Binary package hint: php5

This regular expression: /^(?:[^\[\]{}']+|'[^']*')+:(?:[^\[\]{}']+|'[^']*')+$/
matches this string: a:bbb
in Perl (5.10.0-24ubuntu4):

perl __END__
print 'a:b' =~ 
q/^(?:[^\[\]{}']+|'[^']*')+:(?:[^\[\]{}']+|'[^']*')+$/;
print \n;
__END__
1

and pcretest (libpcre3 7.8-3):

pcretest __END__
/^(?:[^\[\]{}']+|'[^']*')+:(?:[^\[\]{}']+|'[^']*')+$/
a:bbb
__END__
PCRE version 7.8 2008-09-05

  re data  0: a:bbb
data 

Not, however, in PHP (php5-common 5.2.10.dfsg.1-2ubuntu6.4):

php __END__
?= preg_match(/^(?:[^\[\]{}']+|'[^']*')+:(?:[^\[\]{}']+|'[^']*')+$/, 
a:b) ?
 
__END__
0

The bug is pretty sensible to changes in the input. Removing a couple of
bs makes it match. I don't know which aspects of the regexp cause it
to fail.

For confirmation that this is indeed a bug without having to decypher
the regexp, here's proof:

?php
$A='(?:[^\[\]{}\']+|\'[^\']*\')+';
$a= 'a';
$B=:$A;
$b= ':bbb';
print_r(preg_match(/^$A$/, $a));
print_r(preg_match(/^$B$/, $b));
print_r(preg_match(/^$A$B$/, $a$b));
print_r(\n);

This outputs 110, which is impossible since if /^$A$/ matches $a and
/^$B$/ matches $b, /^$A$B$/ should definitely match $a$b.

I tried reporting this upstream, but bugs.php.net doesn't allow
reporting bugs for versions earlier than 5.2.13.

ProblemType: Bug
Architecture: i386
Date: Sat Apr 17 19:11:27 2010
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia wl
Package: php5-common 5.2.10.dfsg.1-2ubuntu6.4
ProcEnviron:
 LANGUAGE=ca_ES.UTF-8
 PATH=(custom, user)
 LANG=ca_ES.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-20.58-generic
SourcePackage: php5
Uname: Linux 2.6.31-20-generic i686

** Affects: php5 (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: apport-bug i386

-- 
PHP preg_match doesn't match matching string
https://bugs.launchpad.net/bugs/565481
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 565481] Re: PHP preg_match doesn't match matching string

2010-04-17 Thread jsalvata

** Attachment added: Dependencies.txt
   http://launchpadlibrarian.net/44609087/Dependencies.txt

** Attachment added: XsessionErrors.txt
   http://launchpadlibrarian.net/44609088/XsessionErrors.txt

-- 
PHP preg_match doesn't match matching string
https://bugs.launchpad.net/bugs/565481
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 313040] Re: blueproximity calls the proximity command twice each interval

2009-05-23 Thread jsalvata
The problem (which is minor) will happen on any environment, even with only
one device. Detailed steps to reproduce are in the bug report -- no special
configurations needed as far as I can tell.

The code seemed to have two or three places where the proximity command was
handled... I just shuffled the existing code around a little to put
everything in the proximityCommand and go_proximity methods without
repetitions. Check the patch -- the new code is shorter than the old, so it
shouldn't be difficult to follow.

-- 
Jordi Salvat i Alabart


On Tue, May 12, 2009 at 5:32 PM, Lars Friedrichs larsfriedri...@gmx.dewrote:

 @jsalvata:
 oh, and could you tell me in what environment this error popped up? were
 you checking presence of multiple devices? I'd like to reproduce that bug
 later at home.

 --
 blueproximity calls the proximity command twice each interval
 https://bugs.launchpa https://bugs.launchpad.net/bugs/313040

 --
 Jordi Salvat i Alabart
 CTO  Project Manager
 Salir.com
 +34 676 49 86 00
 d.net/bugs/313040 https://bugs.launchpad.net/bugs/313040
 You received this bug notification because you are a direct subscriber
 of the bug.

 Status in BlueProximity: New
 Status in “blueproximity” source package in Ubuntu: New

 Bug description:
 Binary package hint: blueproximity

 While investigating an unrelated issue, I found that blueproximity calls
 the proximity command twice as often as configured.

 Steps to reproduce:
 - In Preferences  Locking enter this Proximity command:
   date/tmp/proximity-runs.log
 - Set the Command Interval to a small value (e.g. 60 seconds)
 - Watch that log file

 I would expect to see a timestamp every ~50 seconds... instead I see two.
 Here's my specific result:

 Fri Jan  2 01:52:07 CET 2009
 Fri Jan  2 01:52:25 CET 2009
 Fri Jan  2 01:53:07 CET 2009
 Fri Jan  2 01:53:25 CET 2009
 Fri Jan  2 01:54:08 CET 2009
 Fri Jan  2 01:54:24 CET 2009
 Fri Jan  2 01:55:08 CET 2009


-- 
blueproximity calls the proximity command twice each interval
https://bugs.launchpad.net/bugs/313040
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 357538] Re: otrs2 should depend on xml-parser-lite-tree-perl

2009-04-09 Thread jsalvata
Sorry -- I don't have a Jaunty system or the means to set it up right
now.

--

Jordi Salvat i Alabart

-- 
otrs2 should depend on xml-parser-lite-tree-perl
https://bugs.launchpad.net/bugs/357538
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357538] [NEW] otrs2 should depend on xml-parser-lite-tree-perl

2009-04-08 Thread jsalvata
Public bug reported:

Binary package hint: otrs2

Steps to reproduce:

- Install otrs2 w/. default configuration
- Connect to otrs2 as r...@localhost
- Go to admin  package manager
- Upload package file

Result:

Error indicating that module XML/Parse/Lite.pm can't be loaded.

Solution:

apt-get install xml-parser-lite-tree-perl resolved the problem

** Affects: otrs2 (Ubuntu)
 Importance: Undecided
 Status: New

-- 
otrs2 should depend on xml-parser-lite-tree-perl
https://bugs.launchpad.net/bugs/357538
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 313040] [NEW] blueproximity calls the proximity command twice each interval

2009-01-01 Thread jsalvata
Public bug reported:

Binary package hint: blueproximity

While investigating an unrelated issue, I found that blueproximity calls
the proximity command twice as often as configured.

Steps to reproduce:
- In Preferences  Locking enter this Proximity command:
   date/tmp/proximity-runs.log
- Set the Command Interval to a small value (e.g. 60 seconds)
- Watch that log file

I would expect to see a timestamp every ~50 seconds... instead I see
two. Here's my specific result:

Fri Jan  2 01:52:07 CET 2009
Fri Jan  2 01:52:25 CET 2009
Fri Jan  2 01:53:07 CET 2009
Fri Jan  2 01:53:25 CET 2009
Fri Jan  2 01:54:08 CET 2009
Fri Jan  2 01:54:24 CET 2009
Fri Jan  2 01:55:08 CET 2009

** Affects: blueproximity (Ubuntu)
 Importance: Undecided
 Status: New

-- 
blueproximity calls the proximity command twice each interval
https://bugs.launchpad.net/bugs/313040
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 313040] Re: blueproximity calls the proximity command twice each interval

2009-01-01 Thread jsalvata

** Attachment added: patch
   http://launchpadlibrarian.net/20852042/patch

-- 
blueproximity calls the proximity command twice each interval
https://bugs.launchpad.net/bugs/313040
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs