Comment 3 for bug 793524

Revision history for this message
Philipp C. Heckel (binwiederhier) wrote : Re: [Bug 793524] Re: InitializationException: java.lang.NumberFormatException: For input string: \"Traceback (most recent call last):\"

Just uncomment it. The script doesnt use it anyway.
I'll push a fix right away.

On Mon, Jun 6, 2011 at 9:34 PM, Jan-Erik Mai <email address hidden> wrote:
> Traceback (most recent call last):
>  File "./native.py", line 44, in <module>
>    import gobject
> ImportError: No module named gobject
>
> :) arch linux i686
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/793524
>
> Title:
>  InitializationException: java.lang.NumberFormatException: For input
>  string: \"Traceback (most recent call last):\"
>
> Status in Syncany:
>  Fix Committed
>
> Bug description:
>  I received this crash report via the Syncany report functionality.
>  Thanks for reporting @anonymous!
>
>  org.syncany.exceptions.InitializationException: java.lang.NumberFormatException: For input string: \"Traceback (most recent call last):\"
>         at org.syncany.gui.linux.LinuxNativeClient.startService(LinuxNativeClient.java:290)
>         at org.syncany.gui.linux.LinuxNativeClient.init(LinuxNativeClient.java:84)
>         at org.syncany.gui.tray.linux.LinuxTray.init(LinuxTray.java:51)
>         at org.syncany.Application.initUI(Application.java:175)
>         at org.syncany.Application.start(Application.java:105)
>         at org.syncany.Syncany.start(Syncany.java:92)
>         at org.syncany.Syncany.main(Syncany.java:49)
>  Caused by: java.lang.NumberFormatException: For input string: \"Traceback (most recent call last):\"
>         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
>         at java.lang.Integer.parseInt(Integer.java:481)
>         at java.lang.Integer.parseInt(Integer.java:514)
>         at org.syncany.gui.linux.LinuxNativeClient.startService(LinuxNativeClient.java:263)
>         ... 6 more
>
>
>  This  has to do with the new python script which is meant to show the tray icon. Instead of starting properly, the python script crashes. If other people have this problem, please do the following and post the results:
>
>  $ cd dist/bin
>  $ ./native.py /absolute/path/to/the/syncany/res/directory abc123
>
>  For me that would be
>  $ ./native.py /home/pheckel/Code/syncany/syncany/dist/res abc123
>
>  Thanks!
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/syncany/+bug/793524/+subscribe
>