RE: om-manager 0.1.0 released

2008-12-22 Thread KaZeR
 


  _  

De : community-boun...@lists.openmoko.org
[mailto:community-boun...@lists.openmoko.org] De la part de Ilja O.
Envoyé : samedi 20 décembre 2008 16:53
À : List for Openmoko community discussion
Objet : om-manager 0.1.0 released


Hello.

I'm happy to announce that I've finally managed to push out 0.1.0 version of
om-manager.

Om-manager is host computer-based Freerunner controlling utility. Currently
it's able to flash Freeruner smartphone (dfu-util required), get logs,
backup filesystem parts (to archive file on host computer) also it
implements simple opkg package manager and remote control via VNC (x11vnc
package on phone is required). All functionality (except Flashing) is
implemented trough SSH connection and does not require any extra programs
installed on phone itself (except ones that are needed to perform specefied
tasks, e.g. vnc server or opkg utility). Whole application is pure Python.


Project home: http://code.google.com/p/om-manager/

Please, if somebody is willing to check it -- do it. I would be really happy
to see any feedback from any other people -- about usability, functionality
or coding style.

It took me quite a while to do it, but have a mercy -- I'm doing it alone.

I've personally used it on Windows, Linux and OSX. So I guess they can be
defined as officially supported operating systems.

Thank you.
  

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


RE: om-manager 0.1.0 released

2008-12-22 Thread KaZeR
Woopsie. Looks like i sent a blank mail, apologies.
 
I tried it under windows : i had to create the app\log directory, or it
would fail. ( IOError: [Errno 2] No such file or directory:
'D:\\OM\\om-manager_00.01.00.tar\\dist\\om-manager\\app\\log\\program.log' )
 
Now, it fails probably because of a path setting : ImportError: No module
named wx
 
I have installed wxwidgets-2.8.9, from the MSI file. What did i miss? Looks
like i need to export  a path, but which?
 
Thanks in advance, this apps looks interesting!
 

  _  

De : community-boun...@lists.openmoko.org
[mailto:community-boun...@lists.openmoko.org] De la part de Ilja O.
Envoyé : samedi 20 décembre 2008 16:53
À : List for Openmoko community discussion
Objet : om-manager 0.1.0 released


Hello.

I'm happy to announce that I've finally managed to push out 0.1.0 version of
om-manager.

Om-manager is host computer-based Freerunner controlling utility. Currently
it's able to flash Freeruner smartphone (dfu-util required), get logs,
backup filesystem parts (to archive file on host computer) also it
implements simple opkg package manager and remote control via VNC (x11vnc
package on phone is required). All functionality (except Flashing) is
implemented trough SSH connection and does not require any extra programs
installed on phone itself (except ones that are needed to perform specefied
tasks, e.g. vnc server or opkg utility). Whole application is pure Python.


Project home: http://code.google.com/p/om-manager/

Please, if somebody is willing to check it -- do it. I would be really happy
to see any feedback from any other people -- about usability, functionality
or coding style.

It took me quite a while to do it, but have a mercy -- I'm doing it alone.

I've personally used it on Windows, Linux and OSX. So I guess they can be
defined as officially supported operating systems.

Thank you.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: om-manager 0.1.0 released

2008-12-22 Thread Ilja O.
On Mon, Dec 22, 2008 at 10:46 AM, KaZeR ka...@altern.org wrote:

  Woopsie. Looks like i sent a blank mail, apologies.

 I tried it under windows : i had to create the app\log directory, or it
 would fail. ( IOError: [Errno 2] No such file or directory:
 'D:\\OM\\om-manager_00.01.00.tar\\dist\\om-manager\\app\\log\\program.log'
 )

 Now, it fails probably because of a path setting : ImportError: No module
 named wx

 I have installed wxwidgets-2.8.9, from the MSI file. What did i miss? Looks
 like i need to export  a path, but which?

 Thanks in advance, this apps looks interesting!



First of all, there is wxWidgets (http://www.wxwidgets.org/) and wxPython (
http://wxpython.org/) wxPython is basically Python bindings to wxwdgets
(since wxWidgets is the C++ Library, it can't be used directly by Python).
So, if you have installed wxWidgets (that is C++ library), you should insall
wxPython and should feel free to remove wxWidgets (if You don't use it for
something else, of course).

If You have installed wxPython and have several Python versions installed,
you could check that you're installed wxPython for same Python interpriter
that you have in `PATH` (that python that is executed by 'python' command in
shell).

For my Windows installations I've always used wxPython from installer andit
worked fine.

And thank You for report. Haven't checked this one. Fill fix soon (0.1.1
will contain some fixes inspired by this mailing list plus py2exe wrap of
program itself).
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


RE: om-manager 0.1.0 released

2008-12-22 Thread KaZeR
   First of all, there is wxWidgets (http://www.wxwidgets.org/) and
wxPython (http://wxpython.org/) wxPython is basically  Python bindings to
wxwdgets (since wxWidgets is the C++ Library, it can't be used directly by
Python). So, if you have installed wxWidgets (that is C++ library), you
should insall wxPython and should feel free to remove wxWidgets (if You
don't use it for something else, of course).

   If You have installed wxPython and have several Python versions
installed, you could check that you're installed wxPython for same Python
interpriter that you have in `PATH` (that python that is executed by
'python' command in shell).

   For my Windows installations I've always used wxPython from
installer andit worked fine.

   And thank You for report. Haven't checked this one. Fill fix soon
(0.1.1 will contain some fixes inspired by this mailing list plus py2exe
wrap of program itself).
 


Thanks for the clarification. I installed wxPython, but now it complains
about yaml. Would you happen to have a full list of what's needed to use
om-manager? About Yaml, is it this one? http://pyyaml.org/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: om-manager 0.1.0 released

2008-12-22 Thread Ilja O.


 Thanks for the clarification. I installed wxPython, but now it complains
 about yaml. Would you happen to have a full list of what's needed to use
 om-manager? About Yaml, is it this one? http://pyyaml.org/

 You can find full list at the main page of project (
http://code.google.com/p/om-manager/ ).
With links to download pages of given projects (see 'Links' section at right
on the main page of project).

And yes, its http://pyyaml.org/ .
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


RE: om-manager 0.1.0 released

2008-12-22 Thread KaZeR
 


   You can find full list at the main page of project (
http://code.google.com/p/om-manager/ ).
   With links to download pages of given projects (see 'Links' section
at right on the main page of project).

   And yes, its http://pyyaml.org/ .


Uh, right.

Three comments, after 10 seconds of use :
- nice
- detect user's homedir, instead of defaulting to /Users/ilya/Documents ?
- what about proposing links to distro / kernels downloads? With maybe
download of rootfs/kernel from the app?



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: om-manager 0.1.0 released

2008-12-22 Thread Ilja O.




 Uh, right.

 Three comments, after 10 seconds of use :
 - nice



Thanks! [grin]



 - detect user's homedir, instead of defaulting to /Users/ilya/Documents ?



Sorry, distro wrapper didn't erase plugin configs before er... creating
distribution. (I only use svn checkout, really). Its pointed to user's
'Documents' folder by default (home dir on my Debian box).



 - what about proposing links to distro / kernels downloads? With maybe
 download of rootfs/kernel from the app?


This cold be nice. Currently I'm fixing distro wrapping script and trying to
add windows executable to distributions. I'll add Your proposal to
Suggestion/Issue list ( http://code.google.com/p/om-manager/issues/list ).
Hopefully I or someone else will have time to implement it [I am currently
considering about possibility of starting another om-related proect, now on
the phone itself]. You can join too, of course. [grin]
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: om-manager 0.1.0 released

2008-12-21 Thread Ilja O.
On Sat, Dec 20, 2008 at 8:46 PM, Yorick Moko yorickm...@gmail.com wrote:

 I installed python 3.0 on windows xp (sp3) from
 http://www.python.org/ftp/python/3.0/python-3.0.msi
 but when i try to run it I get

 F:\temp\dist\om-manager\apprun.py
  File F:\temp\dist\om-manager\app\run.py, line 78
print usage
  ^
 SyntaxError: invalid syntax

 I'm probably doing something wrong.


No, you're doing everything right. It's just that I haven't any time to run
it on different Python major versions. It should be easy enough to adapt
code to Python 3k. Quite likely it all adaptation will likely to consist of
replacing print ... statements with print(...). And it's likely that
there one or two places where print is used at all.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: om-manager 0.1.0 released

2008-12-21 Thread Ilja O.
On Sat, Dec 20, 2008 at 10:22 PM, Lech Karol Pawłaszek i...@szluug.orgwrote:

 Bernd (Jesus McCloud) Prünster wrote:
 [...]
  Not that i think it has much to do with your error, but you do know how
  windows handles ssh?
  (the answer is: not at all, because windows doesn't know ssh or anything
  alse that is absolutely fundemantal regarding networking, so you have to
  use puTTY, although, the program should at least start..)
  i goint to try it out tomorrow under vista and under debian

 The program uses paramiko library so one doesn't need ssh client binary.

 om-manager is nice. I was about to write something similar - like a
 host computer utility in python (but using Tkinter instead of wx)
 which connects to Freerunner and executes commands however mine was
 intended to mimic Debian's reportbug utility. Right now we have so many
 distributions, bootloaders and kernels that sometimes it's hard to
 reproduce the environment. I'm thinking about automation of gathering
 informations about a bug process. `uname -a`, `opkg list_installed` `cat
 /sys/magic/something`. If you don't mind Ilja I'll try to use your
 om-manager as a base for my work.

 As I see om-manager is plugins-capable so I hope all I want to achieve
 will be only a plugin for your program.

 ;-) Well. That's just a plan for Christmas holidays...


I would be happy to see anyone contributing. As far as I can see,
LogRetreiver plugin could be nice basis for developing such functionality
(currently it acquires verious log files/outputs. such as dmesg and
/var/log/syslog).

Feel free to contact me for any kind of help or support (and inclusion of
you into project itself).
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: om-manager 0.1.0 released

2008-12-21 Thread Ilja O.
On Sat, Dec 20, 2008 at 9:05 PM, Yorick Moko yorickm...@gmail.com wrote:

 downloaded the 2.6.1 and now i get:

 F:\temp\dist\om-manager\apprun.py
 Traceback (most recent call last):
  File F:\temp\dist\om-manager\app\run.py, line 7, in module
from app import logger, gui
 ImportError: No module named app


On windows use run.bat in the root\om-manager
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: om-manager 0.1.0 released

2008-12-21 Thread Ilja O.
On Sun, Dec 21, 2008 at 10:44 PM, Ilja O. vrgh...@gmail.com wrote:



 On Sat, Dec 20, 2008 at 10:22 PM, Lech Karol Pawłaszek i...@szluug.orgwrote:

 Bernd (Jesus McCloud) Prünster wrote:
 [...]
  Not that i think it has much to do with your error, but you do know how
  windows handles ssh?
  (the answer is: not at all, because windows doesn't know ssh or anything
  alse that is absolutely fundemantal regarding networking, so you have to
  use puTTY, although, the program should at least start..)
  i goint to try it out tomorrow under vista and under debian

 The program uses paramiko library so one doesn't need ssh client binary.

 om-manager is nice. I was about to write something similar - like a
 host computer utility in python (but using Tkinter instead of wx)
 which connects to Freerunner and executes commands however mine was
 intended to mimic Debian's reportbug utility. Right now we have so many
 distributions, bootloaders and kernels that sometimes it's hard to
 reproduce the environment. I'm thinking about automation of gathering
 informations about a bug process. `uname -a`, `opkg list_installed` `cat
 /sys/magic/something`. If you don't mind Ilja I'll try to use your
 om-manager as a base for my work.

 As I see om-manager is plugins-capable so I hope all I want to achieve
 will be only a plugin for your program.

 ;-) Well. That's just a plan for Christmas holidays...


 I would be happy to see anyone contributing. As far as I can see,
 LogRetreiver plugin could be nice basis for developing such functionality
 (currently it acquires verious log files/outputs. such as dmesg and
 /var/log/syslog).

 Feel free to contact me for any kind of help or support (and inclusion of
 you into project itself).



In fact, I'll really look forward to you questions. It would allow me to
start writing developer documentation (I haven't done it until now and hence
have hard time imagining what should be written and what could be omitted.
Since I'm not capable writing everything)
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: om-manager 0.1.0 released

2008-12-21 Thread Petr Vanek
I'm happy to announce that I've finally managed to push out 0.1.0
version of om-manager.

Wanted to try but:

van...@laptop-vanek:~/FreeRunner/manager/dist/om-manager$ ./run.sh
= UNHALTED EXCEPTION =
Traceback (most recent call last):
  File ./app/run.py, line 92, in module
run(sys.argv[1:])
  File ./app/run.py, line 86, in run
_app.run()
  File
/home/vanous/FreeRunner/manager/dist/om-manager/app/appRoot.py, line
79, in run self.showMainWindow() File
/home/vanous/FreeRunner/manager/dist/om-manager/app/appRoot.py, line
97, in showMainWindow from .gui import main as mainForm File
/home/vanous/FreeRunner/manager/dist/om-manager/app/gui/main.py, line
3, in module from .xrc.main_xrc import xrcMain File
/home/vanous/FreeRunner/manager/dist/om-manager/app/gui/xrc/__init__.py,
line 15, in module initAllMainModules() File
/home/vanous/FreeRunner/manager/dist/om-manager/app/gui/xrc/__init__.py,
line 13, in initAllMainModules utils.initModule(_modName % _name,
os.path.join(_curDir, _file)) File
/home/vanous/FreeRunner/manager/dist/om-manager/app/util/xrc/__init__.py,
line 49, in initModule _res = loadXrcFile(_xrcfile) File
/home/vanous/FreeRunner/manager/dist/om-manager/app/util/xrc/__init__.py,
line 26, in loadXrcFile _res.InsertHandler(_handle()) File
/home/vanous/FreeRunner/manager/dist/om-manager/app/util/side/xh_gizmos.py,
line 94, in __init__ self.AddStyle('wxDEFAULT_COL_WIDTH',
gizmos.DEFAULT_COL_WIDTH) AttributeError: 'module' object has no
attribute 'DEFAULT_COL_WIDTH' = END =---


van...@laptop-vanek:~/FreeRunner/manager/dist/om-manager$ python
--version Python 2.5.2

van...@laptop-vanek:~/FreeRunner/manager/dist/om-manager$ aptitude show
python-wxgtk2.6 Package: python-wxgtk2.6
State: installed
Automatically installed: no
Version: 2.6.3.2.2-3

van...@laptop-vanek:~/FreeRunner/manager/dist/om-manager$ uname -a
Linux laptop-vanek 2.6.27-7-generic #1 SMP Thu Oct 30 04:18:38 UTC 2008
i686 GNU/Linux

van...@laptop-vanek:~/FreeRunner/manager/dist/om-manager$
cat /etc/debian_version 
5.0

Any idea what's wrong here?


--
Petr Vanek



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: om-manager 0.1.0 released

2008-12-21 Thread Ilja O.
On Sun, Dec 21, 2008 at 11:02 PM, Petr Vanek van...@penguin.cz wrote:

 I'm happy to announce that I've finally managed to push out 0.1.0
 version of om-manager.

 Wanted to try but:

 van...@laptop-vanek:~/FreeRunner/manager/dist/om-manager$ ./run.sh
 = UNHALTED EXCEPTION =
 Traceback (most recent call last):
   File ./app/run.py, line 92, in module
run(sys.argv[1:])
  File ./app/run.py, line 86, in run
_app.run()
  File
 /home/vanous/FreeRunner/manager/dist/om-manager/app/appRoot.py, line
 79, in run self.showMainWindow() File
 /home/vanous/FreeRunner/manager/dist/om-manager/app/appRoot.py, line
 97, in showMainWindow from .gui import main as mainForm File
 /home/vanous/FreeRunner/manager/dist/om-manager/app/gui/main.py, line
 3, in module from .xrc.main_xrc import xrcMain File
 /home/vanous/FreeRunner/manager/dist/om-manager/app/gui/xrc/__init__.py,
 line 15, in module initAllMainModules() File
 /home/vanous/FreeRunner/manager/dist/om-manager/app/gui/xrc/__init__.py,
 line 13, in initAllMainModules utils.initModule(_modName % _name,
 os.path.join(_curDir, _file)) File
 /home/vanous/FreeRunner/manager/dist/om-manager/app/util/xrc/__init__.py,
 line 49, in initModule _res = loadXrcFile(_xrcfile) File
 /home/vanous/FreeRunner/manager/dist/om-manager/app/util/xrc/__init__.py,
 line 26, in loadXrcFile _res.InsertHandler(_handle()) File

 /home/vanous/FreeRunner/manager/dist/om-manager/app/util/side/xh_gizmos.py,
 line 94, in __init__ self.AddStyle('wxDEFAULT_COL_WIDTH',
 gizmos.DEFAULT_COL_WIDTH) AttributeError: 'module' object has no
 attribute 'DEFAULT_COL_WIDTH' = END =---


 van...@laptop-vanek:~/FreeRunner/manager/dist/om-manager$ python
 --version Python 2.5.2

 van...@laptop-vanek:~/FreeRunner/manager/dist/om-manager$ aptitude show
 python-wxgtk2.6 Package: python-wxgtk2.6
 State: installed
 Automatically installed: no
 Version: 2.6.3.2.2-3

 van...@laptop-vanek:~/FreeRunner/manager/dist/om-manager$ uname -a
 Linux laptop-vanek 2.6.27-7-generic #1 SMP Thu Oct 30 04:18:38 UTC 2008
 i686 GNU/Linux

 van...@laptop-vanek:~/FreeRunner/manager/dist/om-manager$
 cat /etc/debian_version
 5.0

 Any idea what's wrong here?




Try to upgrade to latest wx (2.8.*). Just checked from my debian box --
program starts up nicely.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: om-manager 0.1.0 released

2008-12-21 Thread Petr Vanek
 van...@laptop-vanek:~/FreeRunner/manager/dist/om-manager$ aptitude
 show python-wxgtk2.6 Package: python-wxgtk2.6
 State: installed
 Automatically installed: no
 Version: 2.6.3.2.2-3

Try to upgrade to latest wx (2.8.*). Just checked from my debian box --
program starts up nicely.


thank you, that was it.

--
Petr Vanek


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


om-manager 0.1.0 released

2008-12-20 Thread Ilja O.
Hello.

I'm happy to announce that I've finally managed to push out 0.1.0 version of
om-manager.

Om-manager is host computer-based Freerunner controlling utility. Currently
it's able to flash Freeruner smartphone (dfu-util required), get logs,
backup filesystem parts (to archive file on host computer) also it
implements simple opkg package manager and remote control via VNC (x11vnc
package on phone is required). All functionality (except Flashing) is
implemented trough SSH connection and does not require any extra programs
installed on phone itself (except ones that are needed to perform specefied
tasks, e.g. vnc server or opkg utility). Whole application is pure Python.


Project home: http://code.google.com/p/om-manager/

Please, if somebody is willing to check it -- do it. I would be really happy
to see any feedback from any other people -- about usability, functionality
or coding style.

It took me quite a while to do it, but have a mercy -- I'm doing it alone.

I've personally used it on Windows, Linux and OSX. So I guess they can be
defined as officially supported operating systems.

Thank you.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: om-manager 0.1.0 released

2008-12-20 Thread Yorick Moko
I installed python 3.0 on windows xp (sp3) from
http://www.python.org/ftp/python/3.0/python-3.0.msi
but when i try to run it I get

F:\temp\dist\om-manager\apprun.py
  File F:\temp\dist\om-manager\app\run.py, line 78
print usage
  ^
SyntaxError: invalid syntax

I'm probably doing something wrong.

y

On Sat, Dec 20, 2008 at 4:53 PM, Ilja O. vrgh...@gmail.com wrote:
 Hello.

 I'm happy to announce that I've finally managed to push out 0.1.0 version of
 om-manager.

 Om-manager is host computer-based Freerunner controlling utility. Currently
 it's able to flash Freeruner smartphone (dfu-util required), get logs,
 backup filesystem parts (to archive file on host computer) also it
 implements simple opkg package manager and remote control via VNC (x11vnc
 package on phone is required). All functionality (except Flashing) is
 implemented trough SSH connection and does not require any extra programs
 installed on phone itself (except ones that are needed to perform specefied
 tasks, e.g. vnc server or opkg utility). Whole application is pure Python.


 Project home: http://code.google.com/p/om-manager/

 Please, if somebody is willing to check it -- do it. I would be really happy
 to see any feedback from any other people -- about usability, functionality
 or coding style.

 It took me quite a while to do it, but have a mercy -- I'm doing it alone.

 I've personally used it on Windows, Linux and OSX. So I guess they can be
 defined as officially supported operating systems.

 Thank you.

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: om-manager 0.1.0 released

2008-12-20 Thread Al Johnson
You probably need Python 2.x as 3.0 has some major changes which cause code 
written for 2.x to fail. IIRC the print syntax is one of those changes. 
Follow the link if you want to see the details.

http://docs.python.org/3.0/whatsnew/3.0.html

On Saturday 20 December 2008, Yorick Moko wrote:
 I installed python 3.0 on windows xp (sp3) from
 http://www.python.org/ftp/python/3.0/python-3.0.msi
 but when i try to run it I get

 F:\temp\dist\om-manager\apprun.py
   File F:\temp\dist\om-manager\app\run.py, line 78
 print usage
   ^
 SyntaxError: invalid syntax

 I'm probably doing something wrong.

 y

 On Sat, Dec 20, 2008 at 4:53 PM, Ilja O. vrgh...@gmail.com wrote:
  Hello.
 
  I'm happy to announce that I've finally managed to push out 0.1.0 version
  of om-manager.
 
  Om-manager is host computer-based Freerunner controlling utility.
  Currently it's able to flash Freeruner smartphone (dfu-util required),
  get logs, backup filesystem parts (to archive file on host computer) also
  it implements simple opkg package manager and remote control via VNC
  (x11vnc package on phone is required). All functionality (except
  Flashing) is implemented trough SSH connection and does not require any
  extra programs installed on phone itself (except ones that are needed to
  perform specefied tasks, e.g. vnc server or opkg utility). Whole
  application is pure Python.
 
 
  Project home: http://code.google.com/p/om-manager/
 
  Please, if somebody is willing to check it -- do it. I would be really
  happy to see any feedback from any other people -- about usability,
  functionality or coding style.
 
  It took me quite a while to do it, but have a mercy -- I'm doing it
  alone.
 
  I've personally used it on Windows, Linux and OSX. So I guess they can be
  defined as officially supported operating systems.
 
  Thank you.
 
  ___
  Openmoko community mailing list
  community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: om-manager 0.1.0 released

2008-12-20 Thread Yorick Moko
downloaded the 2.6.1 and now i get:

F:\temp\dist\om-manager\apprun.py
Traceback (most recent call last):
  File F:\temp\dist\om-manager\app\run.py, line 7, in module
from app import logger, gui
ImportError: No module named app

On Sat, Dec 20, 2008 at 7:58 PM, Al Johnson
openm...@mazikeen.demon.co.uk wrote:
 You probably need Python 2.x as 3.0 has some major changes which cause code
 written for 2.x to fail. IIRC the print syntax is one of those changes.
 Follow the link if you want to see the details.

 http://docs.python.org/3.0/whatsnew/3.0.html

 On Saturday 20 December 2008, Yorick Moko wrote:
 I installed python 3.0 on windows xp (sp3) from
 http://www.python.org/ftp/python/3.0/python-3.0.msi
 but when i try to run it I get

 F:\temp\dist\om-manager\apprun.py
   File F:\temp\dist\om-manager\app\run.py, line 78
 print usage
   ^
 SyntaxError: invalid syntax

 I'm probably doing something wrong.

 y

 On Sat, Dec 20, 2008 at 4:53 PM, Ilja O. vrgh...@gmail.com wrote:
  Hello.
 
  I'm happy to announce that I've finally managed to push out 0.1.0 version
  of om-manager.
 
  Om-manager is host computer-based Freerunner controlling utility.
  Currently it's able to flash Freeruner smartphone (dfu-util required),
  get logs, backup filesystem parts (to archive file on host computer) also
  it implements simple opkg package manager and remote control via VNC
  (x11vnc package on phone is required). All functionality (except
  Flashing) is implemented trough SSH connection and does not require any
  extra programs installed on phone itself (except ones that are needed to
  perform specefied tasks, e.g. vnc server or opkg utility). Whole
  application is pure Python.
 
 
  Project home: http://code.google.com/p/om-manager/
 
  Please, if somebody is willing to check it -- do it. I would be really
  happy to see any feedback from any other people -- about usability,
  functionality or coding style.
 
  It took me quite a while to do it, but have a mercy -- I'm doing it
  alone.
 
  I've personally used it on Windows, Linux and OSX. So I guess they can be
  defined as officially supported operating systems.
 
  Thank you.
 
  ___
  Openmoko community mailing list
  community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community



 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: om-manager 0.1.0 released

2008-12-20 Thread Bernd (Jesus McCloud) Prünster
Yorick Moko schrieb:
 downloaded the 2.6.1 and now i get:

 F:\temp\dist\om-manager\apprun.py
 Traceback (most recent call last):
   File F:\temp\dist\om-manager\app\run.py, line 7, in module
 from app import logger, gui
 ImportError: No module named app

 On Sat, Dec 20, 2008 at 7:58 PM, Al Johnson
 openm...@mazikeen.demon.co.uk wrote:
   
 You probably need Python 2.x as 3.0 has some major changes which cause code
 written for 2.x to fail. IIRC the print syntax is one of those changes.
 Follow the link if you want to see the details.

 http://docs.python.org/3.0/whatsnew/3.0.html

 On Saturday 20 December 2008, Yorick Moko wrote:
 
 I installed python 3.0 on windows xp (sp3) from
 http://www.python.org/ftp/python/3.0/python-3.0.msi
 but when i try to run it I get

 F:\temp\dist\om-manager\apprun.py
   File F:\temp\dist\om-manager\app\run.py, line 78
 print usage
   ^
 SyntaxError: invalid syntax

 I'm probably doing something wrong.

 y

 On Sat, Dec 20, 2008 at 4:53 PM, Ilja O. vrgh...@gmail.com wrote:
   
 Hello.

 I'm happy to announce that I've finally managed to push out 0.1.0 version
 of om-manager.

 Om-manager is host computer-based Freerunner controlling utility.
 Currently it's able to flash Freeruner smartphone (dfu-util required),
 get logs, backup filesystem parts (to archive file on host computer) also
 it implements simple opkg package manager and remote control via VNC
 (x11vnc package on phone is required). All functionality (except
 Flashing) is implemented trough SSH connection and does not require any
 extra programs installed on phone itself (except ones that are needed to
 perform specefied tasks, e.g. vnc server or opkg utility). Whole
 application is pure Python.


 Project home: http://code.google.com/p/om-manager/

 Please, if somebody is willing to check it -- do it. I would be really
 happy to see any feedback from any other people -- about usability,
 functionality or coding style.

 It took me quite a while to do it, but have a mercy -- I'm doing it
 alone.

 I've personally used it on Windows, Linux and OSX. So I guess they can be
 defined as officially supported operating systems.

 Thank you.

 
Not that i think it has much to do with your error, but you do know how 
windows handles ssh?
(the answer is: not at all, because windows doesn't know ssh or anything 
alse that is absolutely fundemantal regarding networking, so you have to 
use puTTY, although, the program should at least start..)
i goint to try it out tomorrow under vista and under debian

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: om-manager 0.1.0 released

2008-12-20 Thread Lech Karol Pawłaszek
Bernd (Jesus McCloud) Prünster wrote:
[...]
 Not that i think it has much to do with your error, but you do know how 
 windows handles ssh?
 (the answer is: not at all, because windows doesn't know ssh or anything 
 alse that is absolutely fundemantal regarding networking, so you have to 
 use puTTY, although, the program should at least start..)
 i goint to try it out tomorrow under vista and under debian

The program uses paramiko library so one doesn't need ssh client binary.

om-manager is nice. I was about to write something similar - like a
host computer utility in python (but using Tkinter instead of wx)
which connects to Freerunner and executes commands however mine was
intended to mimic Debian's reportbug utility. Right now we have so many
distributions, bootloaders and kernels that sometimes it's hard to
reproduce the environment. I'm thinking about automation of gathering
informations about a bug process. `uname -a`, `opkg list_installed` `cat
/sys/magic/something`. If you don't mind Ilja I'll try to use your
om-manager as a base for my work.

As I see om-manager is plugins-capable so I hope all I want to achieve
will be only a plugin for your program.

;-) Well. That's just a plan for Christmas holidays...

Kind regards,

-- 
Lech Karol Pawłaszek ike
You will never see me fall from grace [KoRn]

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community