This doesnt get easier with all the distros :-d
Do you have an idea how to do that? Is there a way to make the script
work on python3 as well?
The only option I see for this is to make a wrapper script that tests
the distro... but that would be ugly^2 ... Java calls Bash calls
Python. I don't even like the "Java calls Python" version ...
On Tue, Jun 7, 2011 at 12:25 AM, isakkarlsson <email address hidden> wrote:
> You also need to run the script with "python2" instead of "python"
> (which is python3) on arch linux.
>
> --
> 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
>
Hi Isaak,
This doesnt get easier with all the distros :-d
Do you have an idea how to do that? Is there a way to make the script
work on python3 as well?
The only option I see for this is to make a wrapper script that tests
the distro... but that would be ugly^2 ... Java calls Bash calls
Python. I don't even like the "Java calls Python" version ...
On Tue, Jun 7, 2011 at 12:25 AM, isakkarlsson <email address hidden> wrote: /bugs.launchpad .net/bugs/ 793524 xception: java.lang. NumberFormatExc eption: For input exceptions. InitializationE xception: java.lang. NumberFormatExc eption: For input string: \"Traceback (most recent call last):\" gui.linux. LinuxNativeClie nt.startService (LinuxNativeCli ent.java: 290) gui.linux. LinuxNativeClie nt.init( LinuxNativeClie nt.java: 84) gui.tray. linux.LinuxTray .init(LinuxTray .java:51) Application. initUI( Application. java:175) Application. start(Applicati on.java: 105) Syncany. start(Syncany. java:92) Syncany. main(Syncany. java:49) NumberFormatExc eption: For input string: \"Traceback (most recent call last):\" NumberFormatExc eption. forInputString( NumberFormatExc eption. java:65) Integer. parseInt( Integer. java:481) Integer. parseInt( Integer. java:514) gui.linux. LinuxNativeClie nt.startService (LinuxNativeCli ent.java: 263) path/to/ the/syncany/ res/directory abc123 Code/syncany/ syncany/ dist/res abc123 /bugs.launchpad .net/syncany/ +bug/793524/ +subscribe
> You also need to run the script with "python2" instead of "python"
> (which is python3) on arch linux.
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https:/
>
> Title:
> InitializationE
> 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.
> at org.syncany.
> at org.syncany.
> at org.syncany.
> at org.syncany.
> at org.syncany.
> at org.syncany.
> at org.syncany.
> Caused by: java.lang.
> at java.lang.
> at java.lang.
> at java.lang.
> at org.syncany.
> ... 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/
>
> For me that would be
> $ ./native.py /home/pheckel/
>
> Thanks!
>
> To unsubscribe from this bug, go to:
> https:/
>