Bug#674415: Fwd: Bug#674415: arduino: Cannot start arduino IDE, java.lang.IllegalArgumentException: Illegal pattern character 'r'

2012-06-04 Thread Witold Baryluk
On 06-03 12:25, Scott Howard wrote:
 tags 674415 - unreproducible + upstream
 forwarded 674415 http://code.google.com/p/arduino/issues/detail?id=944
 Thank you
 
 
 Thanks for the testing [1], it appears to be a bug in the upstream
 code. I have forwarded a bug to:
 http://code.google.com/p/arduino/issues/detail?id=944
 
 Please check out that bug, add additional info there. Communications
 about fixing the bug will move over to the above link so we can fix
 this for Arduino users everywhere.
 
 Thank you again!
 Cheers,
 Scott
 
 
 
 [1]
 -- Forwarded message --
 From: Dariusz Bandzarewicz da...@bonzo.lublin.pl
 Date: Sun, Jun 3, 2012 at 7:57 AM
 Subject: Re: Bug#674415: arduino: Cannot start arduino IDE,
 java.lang.IllegalArgumentException: Illegal pattern character 'r'
 To: Scott Howard showard...@gmail.com
 
 
 Dnia sobota, 2 czerwca 2012 o 22:59:00 napisałeś:
  Thank you! I know upstream has implemented new language support in
  this release. Do you get this error with the upstream code from
  arduino.cc? (i.e. is this bug in Debian changes or in the original
  code?)
 Yes, arduino-1.0.1 from arduino.cc also does not work in Polish locale.
 
 --
 Darek


Hi,

thanks at looking at this problem.

You are right that it is connected to polish locale, and I can connfirm
that this is locale dependent.

'env LC_ALL=C arduino' starts just fine, but 'arduino (with my default
LC_ALL=pl_PL.UTF-8), shows error and doesn't starts.

Any idea what this 'r' in patterns is, and why it is different in Polish
locale?

Regards,
Witek

-- 
Witold Baryluk



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#674415: Fwd: Bug#674415: arduino: Cannot start arduino IDE, java.lang.IllegalArgumentException: Illegal pattern character 'r'

2012-06-04 Thread Scott Howard
On Mon, Jun 4, 2012 at 11:39 PM, Witold Baryluk
bary...@smp.if.uj.edu.pl wrote:
 Hi,

 thanks at looking at this problem.

 You are right that it is connected to polish locale, and I can connfirm
 that this is locale dependent.

 'env LC_ALL=C arduino' starts just fine, but 'arduino (with my default
 LC_ALL=pl_PL.UTF-8), shows error and doesn't starts.

 Any idea what this 'r' in patterns is, and why it is different in Polish
 locale?

The string was mmddyy standing for two digit month, day, and year.
The polish translator translated the string into: rrmmdd where r =
rok. Java couldn't match r (rok) to month day or year, so it just
crashed.

mmddyy shouldn't have been translated, so they just removed the
translation to fix it.

~Scott



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#674415: Fwd: Bug#674415: arduino: Cannot start arduino IDE, java.lang.IllegalArgumentException: Illegal pattern character 'r'

2012-06-04 Thread Witold Baryluk
On 06-05 00:35, Scott Howard wrote:
 On Mon, Jun 4, 2012 at 11:39 PM, Witold Baryluk
 bary...@smp.if.uj.edu.pl wrote:
  Hi,
 
  thanks at looking at this problem.
 
  You are right that it is connected to polish locale, and I can connfirm
  that this is locale dependent.
 
  'env LC_ALL=C arduino' starts just fine, but 'arduino (with my default
  LC_ALL=pl_PL.UTF-8), shows error and doesn't starts.
 
  Any idea what this 'r' in patterns is, and why it is different in Polish
  locale?
 
 The string was mmddyy standing for two digit month, day, and year.
 The polish translator translated the string into: rrmmdd where r =
 rok. Java couldn't match r (rok) to month day or year, so it just
 crashed.
 
 mmddyy shouldn't have been translated, so they just removed the
 translation to fix it.
 
 ~Scott
Hi,

Ah, so simple. Good to know problem is solved upstream and thanks for
your explanation. But I think in Polish locale it should be changed to
yymmdd anyway - English way of writing dates is akward ;)

BTW. java-hatingC-ish strfmtime with its %m%d%y would be much safer
probably - it would have smaller change of getting incidently
translated, due presence of % signs ;D/off

Kindly regards,
Witek

-- 
Witold Baryluk
pe



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#674415: Fwd: Bug#674415: arduino: Cannot start arduino IDE, java.lang.IllegalArgumentException: Illegal pattern character 'r'

2012-06-03 Thread Scott Howard
tags 674415 - unreproducible + upstream
forwarded 674415 http://code.google.com/p/arduino/issues/detail?id=944
Thank you


Thanks for the testing [1], it appears to be a bug in the upstream
code. I have forwarded a bug to:
http://code.google.com/p/arduino/issues/detail?id=944

Please check out that bug, add additional info there. Communications
about fixing the bug will move over to the above link so we can fix
this for Arduino users everywhere.

Thank you again!
Cheers,
Scott



[1]
-- Forwarded message --
From: Dariusz Bandzarewicz da...@bonzo.lublin.pl
Date: Sun, Jun 3, 2012 at 7:57 AM
Subject: Re: Bug#674415: arduino: Cannot start arduino IDE,
java.lang.IllegalArgumentException: Illegal pattern character 'r'
To: Scott Howard showard...@gmail.com


Dnia sobota, 2 czerwca 2012 o 22:59:00 napisałeś:
 Thank you! I know upstream has implemented new language support in
 this release. Do you get this error with the upstream code from
 arduino.cc? (i.e. is this bug in Debian changes or in the original
 code?)
Yes, arduino-1.0.1 from arduino.cc also does not work in Polish locale.

--
Darek



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#674415: Fwd: Bug#674415: arduino: Cannot start arduino IDE, java.lang.IllegalArgumentException: Illegal pattern character 'r'

2012-06-03 Thread Scott Howard
Here's a temporary fix:
http://rc-fpv.pl/viewtopic.php?t=8044sid=8b7d268f7065b2e8c1e9398c5064ec15

And another bug report:
http://code.google.com/p/arduino/issues/detail?id=942sort=-id%20type



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#674415: arduino: Cannot start arduino IDE, java.lang.IllegalArgumentException: Illegal pattern character 'r'

2012-06-02 Thread Scott Howard
On Sat, Jun 2, 2012 at 3:22 PM, Dariusz Bandzarewicz
da...@bonzo.lublin.pl wrote:
 Dnia piątek, 25 maja 2012 o 23:40:37 napisałeś:
 tags 674415 unreproducible
 thanks
 I have the same error.
 It is reproducible in Polish locale. In English work OK.

 --
 Darek

Thank you! I know upstream has implemented new language support in
this release. Do you get this error with the upstream code from
arduino.cc? (i.e. is this bug in Debian changes or in the original
code?)



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#674415: arduino: Cannot start arduino IDE, java.lang.IllegalArgumentException: Illegal pattern character 'r'

2012-05-25 Thread Scott Howard
tags 674415 unreproducible
thanks



On Thu, May 24, 2012 at 9:32 AM, Witold Baryluk
bary...@smp.if.uj.edu.pl wrote:

 I just installed arduino and few other tools using apt-get and this is what I
 get


 And nothing happens. No CPU or disk activity, no windows showing up. Nothing.


I can't reproduce this on a debian wheezy machine (using the sid
package), ubuntu 11.10, or 11.04. All machines start the IDE and add
the correct permissions, if necessary. I'd like to get to the bottom
of this, but don't know where it has gone wrong. I'll try to set up
sid machine to see what's up, perhaps a bug in another package that
hasn't transitioned to testing yet?
Thanks.
~Scott



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#674415: arduino: Cannot start arduino IDE, java.lang.IllegalArgumentException: Illegal pattern character 'r'

2012-05-24 Thread Witold Baryluk
Package: arduino
Version: 1:1.0.1+dfsg-1
Severity: important

I just installed arduino and few other tools using apt-get and this is what I
get

baryluk@sredniczarny ~/  arduino
java.lang.IllegalArgumentException: Illegal pattern character 'r'
at java.text.SimpleDateFormat.compile(SimpleDateFormat.java:769)
at java.text.SimpleDateFormat.initialize(SimpleDateFormat.java:576)
at java.text.SimpleDateFormat.init(SimpleDateFormat.java:501)
at java.text.SimpleDateFormat.init(SimpleDateFormat.java:476)
at processing.app.tools.Archiver.init(Archiver.java:59)
at processing.app.Editor.createToolMenuItem(Editor.java:859)
at processing.app.Editor.addInternalTools(Editor.java:885)
at processing.app.Editor.buildToolsMenu(Editor.java:660)
at processing.app.Editor.buildMenuBar(Editor.java:476)
at processing.app.Editor.init(Editor.java:205)
at processing.app.Base.handleOpen(Base.java:704)
at processing.app.Base.handleOpen(Base.java:669)
at processing.app.Base.handleNew(Base.java:565)
at processing.app.Base.init(Base.java:305)
at processing.app.Base.main(Base.java:194)
Exception in thread main java.lang.NullPointerException
at java.awt.Container.addImpl(Container.java:1045)
at java.awt.Container.add(Container.java:365)
at javax.swing.JPopupMenu.add(JPopupMenu.java:264)
at javax.swing.JMenu.add(JMenu.java:562)
at processing.app.Editor.addInternalTools(Editor.java:885)
at processing.app.Editor.buildToolsMenu(Editor.java:660)
at processing.app.Editor.buildMenuBar(Editor.java:476)
at processing.app.Editor.init(Editor.java:205)
at processing.app.Base.handleOpen(Base.java:704)
at processing.app.Base.handleOpen(Base.java:669)
at processing.app.Base.handleNew(Base.java:565)
at processing.app.Base.init(Base.java:305)
at processing.app.Base.main(Base.java:194)



And nothing happens. No CPU or disk activity, no windows showing up. Nothing.

baryluk@sredniczarny$  ps aux | egrep 'java|ardu'
baryluk   4389  0.0  0.0   4332  1304 pts/2S+   14:18   0:00 /bin/bash
/usr/bin/arduino
baryluk   4393  0.6  1.4 437872 29640 pts/2Sl+  14:18   0:02 java
-Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
processing.app.Base


It is sid, and I have nothing custom installed releated to the arduino.

baryluk@sredniczarny ~/  java -version
java version 1.6.0_26
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)
baryluk@sredniczarny ~/ 


The same happens after uninstalling sun-java6-jre (and all sun-* packages), and
using openjdk-6-jre.

baryluk@sredniczarny ~/  java -version
java version 1.6.0_24
OpenJDK Runtime Environment (IcedTea6 1.11.1) (6b24-1.11.1-6)
OpenJDK Client VM (build 20.0-b12, mixed mode, sharing)


Regards,
Witek



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/1 CPU core)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to pl_PL.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages arduino depends on:
ii  arduino-core   1:1.0.1+dfsg-1
ii  default-jre [java6-runtime]1:1.6-47
ii  libjna-java3.2.7-4
ii  librxtx-java   2.2pre2-10
ii  openjdk-6-jre [java6-runtime]  6b24-1.11.1-6
ii  sun-java6-jre [java6-runtime]  6.26-3

Versions of packages arduino recommends:
ii  extra-xdg-menus  1.0-4
ii  policykit-1  0.105-1

arduino suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org