Hi Edwin,

> Hi all,
> I've installed pytrainer 1.7.0 using the ubuntu rep. for 10.04 Lucid Lynx.
> However after doing some reading I wanted to upgrade to version 1.8.0 and
> install a few patches.

1.7.0? This is really old stuff!

> What did do (good or bad I don't know, but I did what any newby would do)
> 1. downloaded 1.8.0 and patched with
> changeset_pytrainer_trunk_pytrainer_lib_gpx.py_r761.zip.
> 2. Ran the setup. -> It worked
> 3. removed the ubuntu version 1.7.0
> Result:
> -> broken setup and I don't know how to upgrade decently.
> Any help is appreciated.

Sorry to hear (read) you have trouble using pytrainer.

> I'm seeing these messages
> ~/Software/pytrainer-1.8.0/bin$ pytrainer
> running pytrainer from egg installation
> data_path: /usr/local/share/pytrainer/
> gettext_path: /usr/local/share/locale
> site_path: /usr/local/lib/python2.6/site-packages
> Traceback (most recent call last):
>   File "/usr/local/bin/pytrainer", line 96, in <module>
>     from pytrainer.main import pyTrainer
>   File "/usr/local/lib/python2.6/dist-packages/pytrainer/main.py", line 37,
> in <module>
>     from record import Record
>   File "/usr/local/lib/python2.6/dist-packages/pytrainer/record.py", line
> 25, in <module>
>     from gui.windowrecord import WindowRecord
>   File
> "/usr/local/lib/python2.6/dist-packages/pytrainer/gui/windowrecord.py", line
> 27, in <module>
>     from pytrainer.lib.date import Date
>   File "/usr/local/lib/python2.6/dist-packages/pytrainer/lib/date.py", line
> 25, in <module>
>     import dateutil.parser
> ImportError: No module named dateutil.parser

It looks like you miss some package like python-dateutil. That's
package name on Fedora, it may change (or not) in Ubuntu

It's quite difficult to provide accurate answer because we just
provide source files, so packages are built by volunteers from each
GNU/Linux distribution. Maybe them can help better than me.

Anyway, if you overcome package related issues, newer versions of
pytrainer provide one feature that checks current status and try to
fix sqlite based (default ones) instalations no matter which version
you are executing. Just type following on console:

$ pytrainer --check

Hope it helps!

David

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Pytrainer-devel mailing list
Pytrainer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytrainer-devel

Reply via email to