-
Notifications
You must be signed in to change notification settings - Fork 63
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
"NoSuchFieldError: HTTP_URI_OGC" When creating an alignment #176
Comments
Check my ticket #169 same issue and maybe same solution |
Ah, thanks for the tip, I did this:
I still get the same error. I'm going to wipe the database ( :'( ) and see if that helps. |
I tested my installation instructions on Ubuntu 14.10 64bit with success :/ |
How did you configure your database? I did |
But What version of java have you installed? I tried Oracle Java 8 but it's didn't work, i currently use OpenJDK 7 |
OpenJDK 7, but I'm running on PosgreSQL 9.3. (Ubuntu 14.04 btw) Trying to reproduce with a fresh database but now postgis isn't being installed properly. Lawl. I'll try to get more feedback soon. |
The path for the postgis.sql depend of you postgis version and postgresql version. |
Wiped everything as best I could and I still get the Exception. Can you identify the postgis packages you installed?
(from the stock Ubuntu repo) |
Ubuntu 14.10 (i can try with 14.04 if you want) openjdk-7-jre:amd64 install |
Tried to do If we verify having the same postgis problems then I'm going to go back to assuming its some wonky jar file stuff, here is what I get from |
This is my dependencies output, could you please run yours again and I can compare?
|
|
Jar files are the same |
I didn't know what to do for your problem :/ i got the same and with clean install and wget for missing jar it's worked... |
I'm stumped too. Do you think the |
I think it's more likely an jar stuff issue because i already exactly the same issue and i resolved many weird problem with jar downloads. But you have the same setup as me... |
Aight, lets get dirty:
|
|
They all match... hookayy... gonna get someone else to try this too to make sure its not a ghost in the machine. |
Was able to repro on a fresh 14.04 machine. Dunno what else I'm missing at this stage.. |
You right i can reproduce this bug on an VPS with Ubuntu 14.04 64bit |
Maybe the difference is in |
I just tried with another VPS on digital ocean with the same error. I didn't understand i downloaded Ubuntu Iso 14.10 64 bits and create a local VM and it's work... Same ubuntu version, same commands line and different results... I will try to create another local vm... |
I suspect it has something to do with /tmp/Geotools and HSQLDB/EPSG dependencies. The only material I could find on this bug said "You need and epsg jar" and one of them was a jar that would open a hsql db in a temporary folder. Looking at your working machine, I'd doublecheck the classpath and see what other java libraries might be in your install of openjdk. Maybe in 14.10 they added some libraries that aren't in the 14.04 package |
I install a new Ubuntu VM 14.10 with VirtualBox and i can create alignment... I didn't understand the difference between digital ocean ubuntu 14.10 and my local ubuntu 14.10. What is your vm provider? |
They're just stock Ubuntu installs. Can you list the jars distributed with your 14.10 jdk? -----Original Message----- damien@ubuntu-gtfseditor:~$ ls /tmp/Geotools/Databases/HSQL/v7.9.0/ |
Where can i found this jar (i'm not an java expert) |
Probably somewhere in /usr/lib/jvm/java-7-openjdk-amd64 (you can also do On 17 February 2015 at 18:00, Damien Goujard [email protected]
|
There's something wonky with this system: http://docs.geotools.org/stable/userguide/library/referencing/index.html missing jar file or some dependency of an epsg plugin... |
I exported my working VirtualBox VM on an harddrive and at noon i will host the OVA on my NAS (i have an fiber connexion), so you can download it and try to understand the difference between your setup and my setup. |
Cool, I'll probably be able to take a look next week. |
+1 for me too, I've followed all the instructions in here and #169 but I still get
Am going to see if there is anything I can do to fix this morning & will update if any progress. |
Tried a few fairly heavy-handed and unintelligent dumps of different JARs into the |
Here my OVA file : http://gofile.me/27P7X/vGksyZgH Or https://mega.co.nz/#!C8o3TZIT!grcnFyjlAha9b1VkXHh1oVvST5-HIcDi3ARzRyY7OHc ssh login : damien GTFSEditor Login : test |
I enjoy how a lot of this issue is just random stuff that we're hoping is the problem ^^ Welcome to the issue mark 😊 -----Original Message----- Tried a few fairly heavy-handed and unintelligent dumps of different JARs into the lib/ folder from geotools-8.0.bin.zip. Had no reason to think that might work but worth a try. It didn't work anyway. |
@medwards
My other VM with trouble, with the same Ubuntu version and same package name return
|
Yes this looks to be related: Ubuntu 12.04 on the machine where it wasn't working. However, still can't export GTFS (see #168) so will update there if any progress with that. |
@medwards I think i found a solution for this error (HTTP_URI_OGC), i download geotools-12.2 and
Still |
@dgoujard haven't really tested in ram-constrained environments (I have 16GB), but it should work. Are you using 0.2.1? The export code used to use the OneBusAway GTFS exporter which holds an entire GTFS feed in RAM; now it uses the Conveyal GTFS exporter which uses a disk-backed scratch file to generate the feed. |
@mattwigway I'm using current master branch, tested with 4Go of Ram and the same issue, but with the same code with my local vm and the same amount of Ram work. I try to understand why it's work with VM but not on digital ocean with more or less same ubuntu version. I'm not the only one with install/export issues. |
Just to confirm, the installation I have is from @dgoujard (thanks!) and running branch It all works great, and I no longer get the Cheers for continued help guys. |
@markjd84 i upgraded my cloud ocean server Ram to 4Go and still have the issue but with 8go of Ram it work (with just one line). I think there are some Ram management issue. Try to upgrade with more Ram you VM. I will import one GTFS file and try to export it to see if it generate all routes |
Yeah it shouldn't take that much ram. I'm rewriting the entire backend right now (see #166), so hopefully that will solve this issue. |
I think this should be fixed with latest master, which does not use Postgres at all. Note that there currently isn't a migration tool other than exporting and reimporting GTFS (or just reimporting the GTFS you started with). |
Feel free to reopen if it isn't. |
Im using a digitaloceans account with 512 MB and getting the OutofMemory:Java Heap space error. Im new to ubuntu and conveyal. could you explain if its a RAM issue or if I should try to fix the dependencies? if the latter how do i do that? |
It's definitely a memory issue, 512mb isn't much. |
How much would you recommend? I get this error when trying to import a gtfs
|
Added a sequence of stops by hand to the map, added them to a new pattern (did not enter any travel time or dwell information, I was going to use calculate times for this), click "Create Alignment" and the geometry appears but the follow stacktrace is produced:
The text was updated successfully, but these errors were encountered: