Am 26.09.2011 17:31, schrieb David García Granda:
> Hi,
> 
> 2011/9/24 Jan-Friso Evers-Senne <fr...@evers-senne.de>:
>> Am 20.09.2011 23:04, schrieb Nathan Jones:
>>> On 21 September 2011 06:06, Jan-Friso Evers-Senne <fr...@evers-senne.de> 
>>> wrote:
>>>> Hi all,
>>>>
>>>> the current trunk-version complains about a missing image:
>>>>
>>>> glib.GError: Failed to open file
>>>> '/home/friso/src/pytrainer-trunk/glade/trigger_laptrigger.png': No such
>>>> file or directory
>>>>
>>>
>>> That file is definitely not in source. I've never seen this error
>>> though. Can you describe the steps to reproduce?
>>
>>
>> Ok, today I had time to dig a bit.
>> First of all, I removed all fragments from any install version of
>> pytrainer (dpkg, /usr/local/...)
>> Second, check sources:
>>
>> ----------------------------------------------------
>> friso@rimski:~/src/pytrainer-trunk$ svn up
>> Revision 884.
>>
>> friso@rimski:~/src/pytrainer-trunk$ svn diff
>> Index: pytrainer/extensions/osm.py
>> ===================================================================
>> --- pytrainer/extensions/osm.py (Revision 884)
>> +++ pytrainer/extensions/osm.py (Arbeitskopie)
>> @@ -363,7 +363,7 @@
>>
>>                 // Track painting style
>>                 var trackStyle = {
>> -                    strokeColor: "#33DDDD",
>> +                    strokeColor: "#3355DD",
>>                     strokeWidth: 3,
>>                     strokeDashstyle: "solid",
>>                     strokeOpacity: 0.6,
>> -----------------------------------------------
>> I only changed the color of the track on the OSM.
>>
>>
>> Third, start pytrainer with bin/pytrainer, import the attaxhed TCX-file,
>> select 2011-09-17 and click the "Record"-tab.
>> Thats all.
>>
>> In pytrainer/gui/windowmain.py:464 the file is referenced some how:
>>  pic =
>> gtk.gdk.pixbuf_new_from_file(self.data_path+"glade/trigger_%s.png" %
>> lap['laptrigger'])
>>
>> What is the expect value of "lap['laptrigger']" ?
> 
> As far as I know either manual, distance, hr, location or time. They
> should match with what triggers laps in ForeRunner watches.
> 
> Can you please check and post what you have stored in laptrigger field
> in laps table?


All rows (1-464) contain the word 'laptrigger'. Some of them should be
'manual' and most should be 'distance'.
First action could be that I replace all 'laptrigger' entires with
'manual'. But second action will be to investigate, where that
'laptrigger' word is introduced.
All tracks are imported via the TCX2-plugin.




-- 
viele Grüße,
   Jan-Friso Evers-Senne


Dr.-Ing. Jan-Friso Evers-Senne
Bonndorfer Str. 22
79853 Lenzkirch
07653-9648053
0179-1499217
fr...@evers-senne.de

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Pytrainer-devel mailing list
Pytrainer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytrainer-devel

Reply via email to