Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synchornizing from Qfield is not working #528

Open
Ipickedausername opened this issue Jun 26, 2023 · 13 comments
Open

Synchornizing from Qfield is not working #528

Ipickedausername opened this issue Jun 26, 2023 · 13 comments

Comments

@Ipickedausername
Copy link

Hello,

After collecting data with Qfield, when I try to synchronize these data to my original project, I simply cannot.

I receive this message : QFieldSync: Opened original project (with the project path).

Since Qfieldsync is not working well since the beginning (or I cannot make it work), I used to manually extract data from the Qfield project and add it to my data.
But now, I can't see my data in the Qfield project (but it does exist in my phone).
Same issue with pictures. Before I could see them in the DCIM folder, but now this folder is empty (but the pictures are visible in my phone).

Is there something wrong I do ?

The picture can be taken and displayed on my phone:

image_2023-06-26_09-07-41-311

Pictures are well saved in the DCIM folder, on my phone (with a correct name):

image_2023-06-26_09-21-22-702

But doesn't exist in my phone's directories when opened on windows:

Sans titre2

The project is found in my phone from Qfield, but not when I'm searching for it on my phone.

thank you for your attention

@nirvn
Copy link
Member

nirvn commented Jun 26, 2023

@Ipickedausername , that is super odd. Have you tried to use the 'Send compressed folder to...' action when clicking on the DCIM folder's 3-dot menu in QField?

@nirvn
Copy link
Member

nirvn commented Jun 26, 2023

@Ipickedausername , could you try the APKs here with a project of yours: opengisch/QField#4402 -- photos should be visible there.

@Ipickedausername
Copy link
Author

Ipickedausername commented Jun 26, 2023

Hello,

that is super odd. Have you tried to use the 'Send compressed folder to...' action when clicking on the DCIM folder's 3-dot menu in QField?

This option works to extract pictures from the phone and send them to another app in order to open them on my computer.

could you try the APKs here with a project of yours: opengisch/QField#4402 -- photos should be visible there.

With these APKs, if I open my project, it is empty.
If I open the same path, it is empty too.

image_2023-06-26_14-51-43-349

Is there something we are supposed to do before synchronizing data ? Copy the folder somewhere, synchronizing inside the phone... I didn't find such options and I wasn't doing it before.

@nirvn
Copy link
Member

nirvn commented Jun 26, 2023

@Ipickedausername , right, it'd be empty because the APK has a different app name (i.e. ch.opengis.qfield_beta instead of ch.opengis.qfield). Can you take a few dummy photos and check if you see them when connecting with your USB cable?

When you confirm the test photos are visible, we can push an official QField 2.8.4 on the playstore, you'll be able to then see the photos in your main project.

@Ipickedausername
Copy link
Author

Ipickedausername commented Jun 26, 2023

I took 3 pictures. I can see them in the folder of the project:

image_2023-06-26_15-00-05-836

But empty on windows.

Vide

Is there something I'm missing ? Before the modifications related to google's policy changes, it was quite simple to get pictures from the phone. But maybe something has changed ?

It is like pictures are saved somewhere in Qfield, but without path. I check the whole phone to find these pictures. Nothing.. ^^'

@nirvn
Copy link
Member

nirvn commented Jun 26, 2023

@Ipickedausername , are you sure you are looking in the right directory? From the last windows explorer screenshot, it doesn't look like you are looking inside your Galaxy S9+, i.e.:

image

Your original explorer screenshot showed a Galaxy S9+ in the path here:

image

Are you using the all access APK or the play store version? If it's the latter, the photos should be somewhere in /Android/data/ch.opengis.qfield/files/Imported projects/Project_MSI/DCIM.

Also, do you have other folders in your project folder alongside DCIM? Can you check if photos are located somewhere else?

@Ipickedausername
Copy link
Author

Wrong image indeed. But empty.

vide2

I used the searching option in windows for all the folders.

@nirvn
Copy link
Member

nirvn commented Jun 26, 2023

@Ipickedausername , and you're 100% sure you are looking into ch.opengis.qfield_beta? sorry, just want to make sure our wires aren't crossing :)

@Ipickedausername
Copy link
Author

Ipickedausername commented Jun 26, 2023

I looked into : ch.opengis.qfield_beta
And YES, found the 3 pictures.

There is a bug with windows/my phone. I checked twice, and I did it again because of your message.
The folder was empty, but with an image of hard drive and windows logo.

imageddd

And now I can find all the projects from Qfield master-dev.

@Ipickedausername
Copy link
Author

Ipickedausername commented Jun 26, 2023

But I still cannot synchronize it with my original project using QfieldSync.
I can synchronize manually, which is already ok.

@nirvn
Copy link
Member

nirvn commented Jun 26, 2023

@Ipickedausername , by "now I can find all the projects from Qfield master-dev", you mean you can see the photos of your projects you took with QField master-dev?

@Ipickedausername
Copy link
Author

Ipickedausername commented Jun 26, 2023

Yes I can see them. Can copy them from windows.

@Ipickedausername
Copy link
Author

Ipickedausername commented Jun 27, 2023

When I try to synchronize for the first time, I always get this message:

msg

Nothing change for the project, I cannot access any data from the synchronization.

And then, when I try again, I get this message and no possibility to try synchronizing again:

lmsg2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants