kartaview / upload-scripts

Uploader tools for KartaView
MIT License
61 stars 30 forks source link

[FIX AVAILABLE] Nonetype object has no attribute alias #101

Closed ghost closed 2 years ago

ghost commented 4 years ago

I am having a problem with OSCs uploader today. Took some sequences and resulted in this message image When looking at the track.txt which is attached, it shows this new blurb of text METADATA:2.0 HEADER ALIAS:d;DEVICE;1;1 ALIAS:g;GPS;1;1 ALIAS:o;OBD;1;1 ALIAS:cam;CAMERA;2;2 ALIAS:exif;EXIF;2;2 ALIAS:p;PRESSURE;1;1 ALIAS:c;COMPASS;1;1 ALIAS:f;PHOTO;1;1 ALIAS:a;ACCELERATION;1;1 ALIAS:y;ATTITUDE;1;1 ALIAS:x;GRAVITY;1;1 BODY @salabogdan can you please update this to accomodate the New OSC requirements? Thanks track.txt.gz EDIT: A fix is now available, thanks to the one and only @jose1711 ! The link can be retrieved jose1711/upload-scripts/

ghost commented 4 years ago

@salabogdan @chip-grab This bug is still happening even after restarting computer, upgrading python.

ghost commented 4 years ago

@salabogdan @chip-grab I need to upload these sequences, and its still providing me the error. No response since yesterday. Please fix the metadata 2.0 for this reason.

thatoneiowan commented 4 years ago

I am having the same or similar issue. I have 315gb worth of tracks from a vacation I took and would like them off my hard drive.

https://i.imgur.com/TiGp4Ht.png

This also shows up when I put the flag on for debugging messages, but I don't know what any of it means. It looks like I get the "does not conform to this discoverer" for all tracks except one.

https://i.imgur.com/5ucT3qt.png

jose1711 commented 4 years ago

I am not familiar with OSC (don't even have account created) but maybe this quickfix in https://github.com/jose1711/upload-scripts/tree/metadata2 helps

thatoneiowan commented 4 years ago

Looks like a promising fix!!

https://i.imgur.com/sfFVDqo.png

https://openstreetcam.org/details/2867422/0/track-info

jose1711 commented 4 years ago

Looks like a promising fix!!

https://i.imgur.com/sfFVDqo.png

https://openstreetcam.org/details/2867422/0/track-info

not sure about that. is that arrow on map supposed to always point to north?

thatoneiowan commented 4 years ago

No but it does on all of my tracks……….I am certain that is my phone doing that. Lol. U can take a look at anything within the past few months. I spot checked a handful and it is like that for all of them lol https://openstreetcam.org/user/thatoneiowan

From: Jose Riha notifications@github.com Sent: Wednesday, August 05, 2020 09:08 To: openstreetcam/upload-scripts upload-scripts@noreply.github.com Cc: thatoneiowan nglenn@gmx.com; Comment comment@noreply.github.com Subject: Re: [openstreetcam/upload-scripts] Nonetype object has no attribute alias (#101)

Looks like a promising fix!!

https://i.imgur.com/sfFVDqo.png

https://openstreetcam.org/details/2867422/0/track-info

not sure about that. is that arrow on map supposed to always point to north?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/openstreetcam/upload-scripts/issues/101#issuecomment-669214585 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AQENHQM5MVJW4M7V2QIC4N3R7FRTVANCNFSM4NR3DUNQ . https://github.com/notifications/beacon/AQENHQNMJSABKLEP4RSUADTR7FRTVA5CNFSM4NR3DUN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOE7RWO6I.gif

jose1711 commented 4 years ago

Ok, thanks for sharing. I was not able to find the specs of the new format so that's why I am suspicious.

ghost commented 4 years ago

Ok, so It looks like @jose1711 has a solution that may be the fix. Will rename the issue. Still keeping it open, regardless. Fingers crossed! 🤞🏻

ghost commented 4 years ago

Looks like a promising fix!! https://i.imgur.com/sfFVDqo.png https://openstreetcam.org/details/2867422/0/track-info

not sure about that. is that arrow on map supposed to always point to north?

Agree with you all. The arrow is up instead of pointing toward the road.

salabogdan commented 3 years ago

i think this was addressed in the latest commit on master but since this was a very active issue i will wait for a reply.

salabogdan commented 2 years ago

Closed the issue since it seems there is no activity anymore here.