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

unmodified recent master crashes on add oneway quest #1096

Closed
matkoniecz opened this issue Jun 6, 2018 · 2 comments
Closed

unmodified recent master crashes on add oneway quest #1096

matkoniecz opened this issue Jun 6, 2018 · 2 comments
Assignees
Labels

Comments

@matkoniecz
Copy link
Member

matkoniecz commented Jun 6, 2018

Tested with 6b6af98

I suspect that it may crash if no quests are found in a given scan but it is just a wild guess

Device: Xiaomi prada, Android 6.0.1
de.westnordost.osmapi.common.errors.OsmBadUserInputException: Bad Request
(400) - <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8"
lang="en"/>  
  <title>OSM3S Response</title>
</head>
<body>

<p>The data included in this document is from www.openstreetmap.org. The
data is made available under ODbL.</p>
<p><strong style="color:#FF0000">Error</strong>: line 1: static error: For
the attribute "ref" of the element "id-query" the only allowed values are
positive integers. </p>

</body>
</html>

at
de.westnordost.osmapi.OsmApiErrorFactory.createError(OsmApiErrorFactory.java:37)
at
de.westnordost.osmapi.OsmConnection.handleResponseCode(OsmConnection.java:343)
at de.westnordost.osmapi.OsmConnection.makeRequest(OsmConnection.java:189)
at
de.westnordost.streetcomplete.data.osm.download.OverpassMapDataDao.get(OverpassMapDataDao.java:60)
at
de.westnordost.streetcomplete.data.osm.download.OverpassMapDataDao.getAndHandleQuota(OverpassMapDataDao.java:84)
at
de.westnordost.streetcomplete.quests.oneway.AddOneway.download(AddOneway.java:61)
at
de.westnordost.streetcomplete.data.osm.download.OsmQuestDownload.download(OsmQuestDownload.java:76)
at
de.westnordost.streetcomplete.data.download.QuestDownload.downloadQuestTypes(QuestDownload.java:200)
at
de.westnordost.streetcomplete.data.download.QuestDownload.download(QuestDownload.java:124)
at
de.westnordost.streetcomplete.data.download.QuestDownloadService$ServiceHandler.handleMessage(QuestDownloadService.java:185)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.os.HandlerThread.run(HandlerThread.java:61) P9
@westnordost
Copy link
Member

Can you give the location where you scanned for quests?

@westnordost westnordost self-assigned this Jun 6, 2018
@westnordost westnordost added the bug label Jun 6, 2018
@matkoniecz
Copy link
Member Author

matkoniecz commented Jun 7, 2018

south of Kraków and Zakopane, both in Poland (if that is not enough, ping me - I may give more exact location in the evening, I have no access to this StreetComplete version at this moment).

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

No branches or pull requests

2 participants