mapilio / MapSyncer

MIT License
7 stars 0 forks source link

MapSyncer Fails with errors #43

Open chrisdebian opened 6 months ago

chrisdebian commented 6 months ago

Linux- MapSyncer 0.9

Problem Definition Briefly (might be explained in steps)

Authentication succeeds, it appears that image sequences are downloaded, then an error is produced.

Expected Output

Not known

Actual Output

Enter your username: cjhandrew@gmail.com Enter your email: cjhandrew@gmail.com Enter mapilio user password: Authentication successfully done. Traceback (most recent call last): File "/home/chris/.local/bin/RunMapSyncer", line 8, in <module> sys.exit(main()) File "/home/chris/.local/lib/python3.10/site-packages/MapSyncer/run.py", line 55, in main check_authenticate = check_auth() File "/home/chris/.local/lib/python3.10/site-packages/MapSyncer/run.py", line 96, in check_auth check_authenticate = authenticator().perform_task(args) File "/home/chris/.local/lib/python3.10/site-packages/mapilio_kit/base/authenticate.py", line 63, in perform_task return edit_config(**valid_args) File "/home/chris/.local/lib/python3.10/site-packages/mapilio_kit/components/edit_config.py", line 85, in edit_config upload_token = data["token"] KeyError: 'token'

chrisdebian commented 6 months ago

i don't recall this prompting me to log into KartaView, as part of the process, unlike previous versions. Also, I can confirm that when I clicked on the 'web view' link, it didn't work. I forget the exact response, but I suspect the service wasn't running.

Thanks,

Chris.

chrisdebian commented 6 months ago

Upgraded to MapSyncer v0.0.10

`Installing collected packages: mapsyncer Attempting uninstall: mapsyncer Found existing installation: mapsyncer 0.0.9 Uninstalling mapsyncer-0.0.9: Successfully uninstalled mapsyncer-0.0.9 Successfully installed mapsyncer-0.0.10 chris@UM700:~$ RunMapSyncer You have the latest MapSyncer version (0.0.10) installed.

Please enter your mapilio account information to continue. If you don't have a mapilio account, please create one at https://mapilio.com/

Enter your username: cjhandrew@gmail.com Enter your email: cjhandrew@gmail.com Enter mapilio user password: Authentication successfully done. Traceback (most recent call last): File "/home/chris/.local/bin/RunMapSyncer", line 8, in sys.exit(main()) File "/home/chris/.local/lib/python3.10/site-packages/MapSyncer/run.py", line 41, in main check_authenticate = check_auth() File "/home/chris/.local/lib/python3.10/site-packages/MapSyncer/run.py", line 92, in check_auth check_authenticate = authenticator().perform_task(args) File "/home/chris/.local/lib/python3.10/site-packages/mapilio_kit/base/authenticate.py", line 63, in perform_task return edit_config(**valid_args) File "/home/chris/.local/lib/python3.10/site-packages/mapilio_kit/components/edit_config.py", line 85, in edit_config upload_token = data["token"] KeyError: 'token' chris@UM700:~$ `

Same problem for me, as 0.0.9.

Chris

yusufesatt commented 6 months ago

Hi Chris,

You may be experiencing this error if you enter your Mapilio account incorrectly, I will ask you to try again with MapSyncer after confirming by entering your Mapilio login information correctly on our website

In addition, it seems that you entered your e-mail address in the input where you need to enter user name, which may also be part of the error.

We will be waiting for your feedback.

Best Regards.

chrisdebian commented 6 months ago

Thanks for the advice. I've given that a try,

image

`chris@UM700:~$ RunMapSyncer You have the latest MapSyncer version (0.0.10) installed.

Please enter your mapilio account information to continue. If you don't have a mapilio account, please create one at https://mapilio.com/

Enter your username: chris_debian Enter your email: cjhandrew@gmail.com Enter mapilio user password: Authentication successfully done. Traceback (most recent call last): File "/home/chris/.local/bin/RunMapSyncer", line 8, in sys.exit(main()) File "/home/chris/.local/lib/python3.10/site-packages/MapSyncer/run.py", line 41, in main check_authenticate = check_auth() File "/home/chris/.local/lib/python3.10/site-packages/MapSyncer/run.py", line 92, in check_auth check_authenticate = authenticator().perform_task(args) File "/home/chris/.local/lib/python3.10/site-packages/mapilio_kit/base/authenticate.py", line 63, in perform_task return edit_config(**valid_args) File "/home/chris/.local/lib/python3.10/site-packages/mapilio_kit/components/edit_config.py", line 85, in edit_config upload_token = data["token"] KeyError: 'token' `

I noticed from the Mapilio login page, that my Mapilio username has some digits following it, so I tried with that amended:

`chris@UM700:~$ RunMapSyncer You have the latest MapSyncer version (0.0.10) installed.

Please enter your mapilio account information to continue. If you don't have a mapilio account, please create one at https://mapilio.com/

Enter your username: chris_debian90943 Enter your email: cjhandrew@gmail.com Enter mapilio user password: Authentication successfully done. Traceback (most recent call last): File "/home/chris/.local/bin/RunMapSyncer", line 8, in sys.exit(main()) File "/home/chris/.local/lib/python3.10/site-packages/MapSyncer/run.py", line 41, in main check_authenticate = check_auth() File "/home/chris/.local/lib/python3.10/site-packages/MapSyncer/run.py", line 92, in check_auth check_authenticate = authenticator().perform_task(args) File "/home/chris/.local/lib/python3.10/site-packages/mapilio_kit/base/authenticate.py", line 63, in perform_task return edit_config(**valid_args) File "/home/chris/.local/lib/python3.10/site-packages/mapilio_kit/components/edit_config.py", line 85, in edit_config upload_token = data["token"] KeyError: 'token' chris@UM700:~$ `

yusufesatt commented 6 months ago

Hi Chris,

Thank you for your feedback.

Which login method do you use to log in to Mapilio?

Best Regards.

chrisdebian commented 6 months ago

When I logged into the website, I used my OSM account. I hope that helps.

Chris

yusufesatt commented 6 months ago

Hello Chris,

Our MapSyncer tool utilizes our Mapilio Kit tool for Mapilio login, and currently, Mapilio Kit does not support alternative login methods.

Here's a suggested solution: Please register via this link without utilizing alternative registration methods, and then attempt authentication within MapSyncer using the account you registered with.

Best Regards.

chrisdebian commented 5 months ago

I've upgraded to 0.0.11, and logged out of the website. When I try to log in with my Mapilio account, I get an error:

Installing collected packages: mapsyncer Attempting uninstall: mapsyncer Found existing installation: mapsyncer 0.0.10 Uninstalling mapsyncer-0.0.10: Successfully uninstalled mapsyncer-0.0.10 Successfully installed mapsyncer-0.0.11 chris@UM700:~$ RunMapSyncer Traceback (most recent call last): File "/home/chris/.local/bin/RunMapSyncer", line 5, in <module> from MapSyncer.run import main File "/home/chris/.local/lib/python3.10/site-packages/MapSyncer/run.py", line 7, in <module> from .components.download import download_user_images,flask_app File "/home/chris/.local/lib/python3.10/site-packages/MapSyncer/components/download.py", line 24, in <module> from parsers.exif.exif import ExifParser ModuleNotFoundError: No module named 'parsers' chris@UM700:~$

When I try to log back in to the Mapilio website, I see this:

image

chrisdebian commented 5 months ago

I've upgraded to 0.0.14, and logged out of the website. When I try to log in with my Mapilio account, I get an error:

`chris@UM700:~$ RunMapSyncer You have the latest MapSyncer version (0.0.14) installed.

Please enter your mapilio account information to continue. If you don't have a mapilio account, please create one at https://mapilio.com/

Enter your username: chris_debian Enter your email: cjhandrew@gmail.com Enter mapilio user password: Authentication successfully done. Traceback (most recent call last): File "/home/chris/.local/bin/RunMapSyncer", line 8, in sys.exit(main()) File "/home/chris/.local/lib/python3.10/site-packages/MapSyncer/run.py", line 44, in main check_authenticate = check_auth() File "/home/chris/.local/lib/python3.10/site-packages/MapSyncer/run.py", line 95, in check_auth check_authenticate = authenticator().perform_task(args) File "/home/chris/.local/lib/python3.10/site-packages/mapilio_kit/base/authenticate.py", line 63, in perform_task return edit_config(**valid_args) File "/home/chris/.local/lib/python3.10/site-packages/mapilio_kit/components/edit_config.py", line 85, in edit_config upload_token = data["token"] KeyError: 'token' chris@UM700:~$ `

I get the same website login error, as the screenshot, above.

Thanks,

Chris.

yusufesatt commented 5 months ago

Hello Chris,

There may be a misunderstanding about the authentication phase. You can upload your uploads by logging in with the e-mail address that you have previously registered to the system.

MapSyncer can currently provide login via email with alternative authentication methods (Google, Apple, Facebook), but this is unfortunately not the case for OSM as OpenStreetMap does not provide email.

Best Regards.

chrisdebian commented 5 months ago

Hi,

I'm totally confused and at the point of not transferring my images. I know that people are working hard on this process, but it shouldn't be this difficult for a user. I know it's easy for a non-developer to say, but when the imagery was transferred from Mapillary to KartaView, all that was required was for the user to enter the credentials for each service, then just wait 4 days for the sequences to be transferred directly from one to the other, without downloading locally.

Sorry if I sound annoyed. OSM gets the use of my uploaded imagery, whether they are stored at KartaView, or Mapilio, so at the moment it's very difficult to justify why i'd spend a lot of time trying to get this to work, when the only perceived advantage to anybody, is that Mapilio has more imagery/ POIs to potentially sell.

I will keep trying, but at the moment, OSM can see my 1.5tb of imagery, so I am not worried about a detrimental impact on OSM.

Thanks,

Chris.

image

bonj4 commented 5 months ago

Dear Chris,

Thank you for bringing the email issue to our attention. We're actively engaged with Osm to resolve this matter swiftly. We understand the frustration it may cause and assure you that we're committed to addressing it as soon as possible. Rest assured, we are diligently working on implementing new solutions to prevent similar issues in the future. Your patience and understanding are greatly appreciated as we work through this challenge. If there's anything else we can assist you with in the meantime, please don't hesitate to let us know.

Best regards.

ozcan-durak commented 5 months ago

We truly appreciate your persistence and efforts from the very beginning with MapSyncer. We're on it and striving to fix the issue swiftly. Your patience and continued support mean a lot to us. We'll reach out with updates as soon as we can. Thank you for being such a valuable part of our community.

chrisdebian commented 5 months ago

Thank you :-(

Chris

ozcan-durak commented 5 months ago
Screenshot 2024-03-20 at 17 52 56

The issue is that even if you enter your login details incorrectly, it still displays "Authentication successfully done." We are also addressing other potential errors. We expect to release a proper version by Friday.

chrisdebian commented 5 months ago

Brilliant! Thank you.

Chris

yusufesatt commented 5 months ago

Hi Chris,

After it has passed all tests, we will be rolling out the web interface design for our MapSyncer tool.

As a preview, you can see the new design of MapSyncer in the attached image.

MapSyncer-WebInterface

Thank you for your patience and effort with MapSyncer from the very beginning.

chrisdebian commented 5 months ago

@yusufesatt Wow, good work. I look forward to testing this :-)

chrisdebian commented 5 months ago

We then need to mention this in the KartaView community :-)