[Bug 558520] [NEW] libawl-php uses syntax deprecated in PHP 5.3

2010-04-08 Thread David O'Callaghan
Public bug reported:

After upgrading to Lucid, I found my davical service stopped working.
Visiting a calendar URL in the browser I saw:

Deprecated: Assigning the return value of new by reference is deprecated in 
/usr/share/awl/inc/XMLElement.php on line 217
Warning: Cannot modify header information - headers already sent by (output 
started at /usr/share/awl/inc/XMLElement.php:217) in 
/usr/share/davical/inc/CalDAVRequest.php on line 256

and serveral more similar errors.

I looked at the function in question and, indeed, it was using
deprecated assignment syntax:

   $element = new XMLElement($tagname,$content,$attributes,$xmlns);
   $this-content[] = $element;

I replaced = with = in each case and this allowed davical to start
working.

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

-- 
libawl-php uses syntax deprecated in PHP 5.3
https://bugs.launchpad.net/bugs/558520
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 368683] Re: Openct needs to be restarted when inserting an eToken

2009-04-29 Thread David O'Callaghan
Hi Andreas,

On 29/04/09 07:58, Andreas Jellinghaus wrote:
  /lib/udev/rules.d/40-openct.rules
 replace
 ENV{MODALIAS}==usb:v0529p0514, RUN+=/lib/udev/openct_usb
 with
 ENV{MODALIAS}==usb:v0529p0514*, RUN+=/lib/udev/openct_usb
 
 and it should work.

I made the change but it didn't work for me, possibly because I'm using
an eToken 64 (sorry for any confusion).

When I plug in my token I see the following in /var/log/daemon:

  Apr 29 09:41:03 toad ifdhandler[13251]: ifd_open: trying to open
etoke...@usb:/dev/
  Apr 29 09:41:03 toad ifdhandler[13251]: Unable to open USB device
/dev/: Is a directory
  Apr 29 09:41:03 toad ifdhandler[13251]: usb:/dev/: initialization
failed (driver etoken64)
  Apr 29 09:41:03 toad ifdhandler[13251]: unable to open reader etoken64
usb /dev/

so it's not getting /dev/ as a device name.

Whereas, if I run /etc/init.d/openct restart I see:

  Apr 29 09:44:50 toad ifdhandler[13320]: ifd_open: trying to open
etoke...@usb:/dev/bus/usb/004/015
  Apr 29 09:44:50 toad ifdhandler[13320]: usb_set_params: called. config
x ifc x00 eps x/x
  Apr 29 09:44:50 toad ifdhandler[13320]: ifdhandler_poll_presence: card
status change: 0 - 1

I will respond to your previous message shortly.

Thanks,

David

-- 
Openct needs to be restarted when inserting an eToken
https://bugs.launchpad.net/bugs/368683
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 368683] Re: Openct needs to be restarted when inserting an eToken

2009-04-29 Thread David O'Callaghan
On 28/04/09 22:06, Andreas Jellinghaus wrote:
 can you check which configuration the ubuntu package has?
 a hal file (official suggestion), an udev rule or a hotplug map file?

It seems to use a udev rule file, /lib/udev/rules.d/40-openct.rules

 if so, what is the usb vendor and product id, and are those matched
 in that file? what script is configured to be triggered by that file?
 
 can you check if that script is run? (e.g. insert a line
 touch /tmp/openct-script-is-run and see if it created
 that file).

It runs /lib/udev/openct_usb and the file is touched.

 if that script is run, can you try inserting these commands:
 exec 2 /tmp/openct-script.log 21
 set -x

 re-insert the token and if that log file is created,
 copy it aside and attach it later to this bug.

I added these lines at the top of /lib/udev/openct_usb. The log file was
created but was empty.

 if that script seems to work (no errors etc.)
 check if openct-control/ifdhandler is started by
 the script. you can simply increase debug level
 in openct.conf to 5 or 6 or so, and make sure
 syslog logs them (usualy does, see /var/log/messages
 or something like that), and check if openct is started
 (e.g. messages from openct-control or ifdhandler).

As my previous report showed, I am seeing messages from ifdhandler, but
udev doesn't seem to be giving it a valid device name.

-- 
Openct needs to be restarted when inserting an eToken
https://bugs.launchpad.net/bugs/368683
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 368683] Re: Openct needs to be restarted when inserting an eToken

2009-04-29 Thread David O'Callaghan
Hi Andreas,

On 29/04/09 11:05, Andreas Jellinghaus wrote:
 thanks to a huge amount of work by  Stanislav Brabec from suse, openct
 has even much better hal setup now, and I created a pre-release from svn
 trunk and packaged it for ubuntu, and it works on my machine. can you
 give it a try?
 
 http://www.opensc-project.org/debian/openct/
 has the source and diff.gz and amd64 binaries.
 
 if it works I will release openct 0.6.16 soon and hope that both debian and
 ubuntu can pick it up to close bugs (or backport the fixes if they prefer 
 that).

Fantastic! This works perfectly for me: the device is recognised when it
is plugged in and I can use pkcs11-tool to list the slots. And Firefox
can now recognise the device without a restart.

I hope you find that magic key you were looking for... :)

-- 
Openct needs to be restarted when inserting an eToken
https://bugs.launchpad.net/bugs/368683
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 353064] Re: sqlite3 3.6.10 doesn't work with objects named release keyword, breaks yum

2009-04-16 Thread David O'Callaghan
Workaround: install sqlite3_3.6.12-1 from sid. Yum now works as
expected.

-- 
sqlite3 3.6.10 doesn't work with objects named release keyword, breaks yum
https://bugs.launchpad.net/bugs/353064
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 353064] [NEW] sqlite3 3.6.10 doesn't work with objects named release keyword, breaks yum

2009-04-01 Thread David O'Callaghan
Public bug reported:

Binary package hint: sqlite3

Hi,

I hit the bug described at https://bugzilla.redhat.com/show_bug.cgi?id=481189 
and in this thread
http://www.mail-archive.com/sqlite-us...@sqlite.org/msg39664.html

In short, if you try to create a table with a release column it fails
as this has been made a keyword since 3.6.8. This is a problem when
using yum (I manage Redhat boxes from my Ubuntu desktop...)

This bug has previously been reported and fixed by sqlite and fedora. It
would be great if the fix could be incorporated in Ubuntu too.

Kind regards,

David

 * * *

Description:Ubuntu jaunty (development branch)
Release:9.04
sqlite3:
  Installed: 3.6.10-1
  Candidate: 3.6.10-1
  Version table:
 *** 3.6.10-1 0
500 http://ie.archive.ubuntu.com jaunty/main Packages
100 /var/lib/dpkg/status
yum:
  Installed: 3.2.21-1
  Candidate: 3.2.21-1
  Version table:
 *** 3.2.21-1 0
500 http://ie.archive.ubuntu.com jaunty/universe Packages
100 /var/lib/dpkg/status

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

-- 
sqlite3 3.6.10 doesn't work with objects named release keyword, breaks yum
https://bugs.launchpad.net/bugs/353064
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 274360] Re: Browser and system proxy settings are ignored

2009-01-06 Thread David O'Callaghan
I don't believe the fix works: see my comment from 2008-11-03.

-- 
Browser and system proxy settings are ignored
https://bugs.launchpad.net/bugs/274360
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 274360] Re: Browser and system proxy settings are ignored

2008-11-03 Thread David O'Callaghan
Not working for me with icedtea6-plugin from the openjdk PPA or the
latest release in Intrepid.

I can't use applets through proxy settings configured in browser/system.
I've tested this with firefox in a clean profile in safe mode. It only
works if I set up squid as a transparent proxy and set iptables to
redirect traffic on port 80 to the proxy. http_proxy env variable is set
and proxy is also config'd for Gnome.

I'm happy to supply more information on request.

Tested with:
icedtea6-plugin
6b12-1ubuntu1~ppa10
6b12-0ubuntu6

firefox
3.0.3+nobinonly-0ubuntu2

-- 
Browser and system proxy settings are ignored
https://bugs.launchpad.net/bugs/274360
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 261721] Re: X never sees brightness key release events

2008-10-27 Thread David O'Callaghan
I'd like to confirm of this bug with gnome-power-manager 2.24.0-0ubuntu8
on kernel 2.6.27-7 on a Dell XPS M1330.  I've tested this in a guest
account and both with and without visual effects (compiz). Killing
gnome-power-manager makes the brightness controls work correctly but is
not optimal.

Like Joakim Andersson above I had previously added blacklist video to
/etc/modprobe.d/blacklist and removing this solves the immediate problem
of losing keyboard focus (but removes a workaround for bug 207473).

-- 
X never sees brightness key release events
https://bugs.launchpad.net/bugs/261721
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 274360] [NEW] Browser and system proxy settings are ignored

2008-09-25 Thread David O'Callaghan
Public bug reported:

Binary package hint: icedtea-gcjwebplugin

Package: icedtea-gcjwebplugin   1.0-0ubuntu5
Description:Ubuntu 8.04.1
Release:8.04

My desktop PC is behind a non-transparent web proxy and I have this
configured in my browser and system preferences.

When attempting to load an applet (e.g. from
http://www.java.com/en/download/help/testvm.xml) the browser status
changes to starting applet... but I see only a grey box. The log shows
netx: Initialization Error: Could not initialize applet.
(java.lang.ClassNotFoundException testvmDynamicJavaComPopUp819)

To work around this I set up Squid as a transparent proxy and configured
iptables to redirect web traffic to it. When this is enabled the applet
loads successfully.

I would expect the plugin to use the system or browser proxy settings
for downloading class files. Instead it assumes a direct connection to
the web.

** Affects: icedtea-gcjwebplugin (Ubuntu)
 Importance: Undecided
 Status: New

-- 
Browser and system proxy settings are ignored
https://bugs.launchpad.net/bugs/274360
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 220676] Re: Eclipse may need libxpcom.so from libxul-dev

2008-04-23 Thread David O'Callaghan
Never mind. I found that if I removed the bundle directory
(/home/ocalladw/.eclipse/org.eclipse.platform_3.2.0/configuration/org.eclipse.osgi/bundles/44)
I could then also remove libxul-dev and eclipse works fine.

-- 
Eclipse may need libxpcom.so from libxul-dev
https://bugs.launchpad.net/bugs/220676
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 220676] [NEW] Eclipse may need libxpcom.so from libxul-dev

2008-04-22 Thread David O'Callaghan
Public bug reported:

Binary package hint: eclipse

I have upgraded from Gutsy to Hardy (while it was still in beta).

Eclipse crashes in various cases with the error:

/usr/lib/jvm/java-1.5.0-sun/bin/java: symbol lookup error:
/home/ocalladw/.eclipse/org.eclipse.platform_3.2.0/configuration/org.eclipse.osgi/bundles/44/1/.cp
/libswt-mozilla-gtk-3236.so: undefined symbol: NS_StringContainerInit2

This occurs with both java-1.5.0-sun and java-6-sun (and possibly other
JVMs).

ldd on libswt-mozilla-gtk-3236.so gives

linux-gate.so.1 =  (0xb7faf000)
libxpcom.so = not found
libplds4.so.0d = /usr/lib/libplds4.so.0d (0xb7f84000)
libplc4.so.0d = /usr/lib/libplc4.so.0d (0xb7f7f000)
libnspr4.so.0d = /usr/lib/libnspr4.so.0d (0xb7f4c000)
libpthread.so.0 = /lib/tls/i686/cmov/libpthread.so.0 (0xb7f34000)
libdl.so.2 = /lib/tls/i686/cmov/libdl.so.2 (0xb7f3)
libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0xb7e3d000)
libm.so.6 = /lib/tls/i686/cmov/libm.so.6 (0xb7e18000)
libgcc_s.so.1 = /lib/libgcc_s.so.1 (0xb7e0c000)
libc.so.6 = /lib/tls/i686/cmov/libc.so.6 (0xb7cbd000)
/lib/ld-linux.so.2 (0xb7fb)

Note: libxpcom.so not found

libxul0d provides /usr/lib/libxpcom.so.0d (so I guess this is related to bug 
199271) but not /usr/lib/libxpcom.so.
I installed libxul-dev and this provided /usr/lib/libxpcom.so. Eclipse now runs 
without these previous crashes.

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

-- 
Eclipse may need libxpcom.so from libxul-dev
https://bugs.launchpad.net/bugs/220676
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