<div dir="ltr"><div dir="ltr">Hi Martin,<div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 27, 2021 at 6:35 PM Martin Weis via Users <<a href="mailto:users@lists.qfield.org">users@lists.qfield.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
I cannot pack a project for qfield, since the entry is disabled/greyed out.<br>
It may be that I opened a packed one (the project name is set and<br>
contains _qfield) and saved that as qgz.<br>
Export options are OK, as far as I can see (lots of things not going<br>
into export).<br>
Can a certain layer or setting be the culprit?<br>
I currently have created a new project, from where export to qfield is<br>
possible after moving layers into it.<br></blockquote><div><br></div><div><div><br></div><div>It sounds like you already did the analysis of the issue:</div><div>A project that has already been packaged for QField cannot be packaged again.</div><div>Therefore, when the current project is an already packaged project the package button is disabled.</div><div><br></div><div>If you have lost the main project and want to make this one the new main project.</div><div>You can create a new project with the layers you want to keep.</div><div>Or you can try to call this from the python console: `QgsProject.instance().removeEntry('OfflineEditingPlugin', '/OfflineDbPath')` (just a guess, completely untested).</div><div></div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
* is it possible to work on with qfield projects in qgis in general?<br></blockquote><div>Yes, it is possible to work on packaged qfield projects in QGIS in general and e.g. modify project settings before working on them with QField. In this case no second package operation is needed.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
* Is it possible to get a hint what is blocking export?<br></blockquote><div><br></div><div>See above.</div><div><br></div><div><div dir="ltr"><div>Matthias</div></div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Thank you<br>
Martin<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.qfield.org" target="_blank">Users@lists.qfield.org</a><br>
<a href="http://lists.qfield.org/listinfo.cgi/users-qfield.org" rel="noreferrer" target="_blank">http://lists.qfield.org/listinfo.cgi/users-qfield.org</a><br>
</blockquote></div></div>