Giter Club home page Giter Club logo

opencache-manager's Introduction

Build Status Donate

Dies ist ein Fork der eingestellen Geocaching Software "OpenCacheManager" (http://opencachemanage.sourceforge.net/).
User Ziel ist die Weiterentwickligung der Software. Hierfuer benoetigen wir jedoch Eure Unterstuetzung. Bitte testet die Software, benutzt sie, oeffnet Feature-Requests und spendet auch etwas. Denn wie auch der Entwickler vor uns, so haben auch wir Familie! Wenn genug Geld zusammen kommt, kann für bestimmte Tätigkeiten einen externer Entwickler beauftragen. :-)

Kompilieren/Installieren

Archlinux:

yaourt opencachemanager-git

Debian (bis 9.x)/Ubuntu:

sudo apt-get install libwebkit-cil-dev libwebkit1.1-cil \
	gtk-sharp2 libgtk2.0-cil libgtk2.0-cil-dev \
	libgconf2.0-cil libgconf2.0-cil-dev \
	libdbus2.0-cil libdbus2.0-cil-dev libdbus-glib2.0-cil libdbus-glib2.0-cil-dev

./configure
make
make install

Debian 10 (Buster) / Ubuntu 18.04

Neuere Linux-Distributionen liefern die Pakete libwebkit-cil-dev und libwebkit1.1-cil nicht mehr aus, da die Software nicht länger gepflegt wird. Bis zur Umstellung auf libwebkit2 ist daher die Installation der Pakete aus anderen Quellen erforderlich.

Doch zunächst:

sudo apt-get install  gettext gtk-sharp2 libgtk2.0-cil libgtk2.0-cil-dev \
	libgconf2.0-cil libgconf2.0-cil-dev \
	libdbus2.0-cil libdbus2.0-cil-dev libdbus-glib2.0-cil libdbus-glib2.0-cil-dev \
	libwebkitgtk-1.0.0 libjavascriptcoregtk-1.0.0

Unter Debian ist explizit noch erforderlich:

sudo apt-get install geoclue-2.0 libgeoclue-2.0 libegl1-mesa

Optional unter Ubuntu:

sudo apt-get install libcanberra-gtk-module

Installation der entfallenen Bibliotheken:

wget http://ftp.debian.org/debian/pool/main/w/webkit-sharp/libwebkit1.1-cil_0.3-7_all.deb
wget http://ftp.debian.org/debian/pool/main/w/webkit-sharp/libwebkit-cil-dev_0.3-7_all.deb
dpkg -i libwebkit1.1-cil_0.3-7_all.deb libwebkit-cil-dev_0.3-7_all.deb

Es folgt der klassische Dreisatz:

./configure
make
make install
sudo make install
osm

Anschliessend kann man es mit dem Befehl "ocm-gtk" starten.

Anmerkungen/Probleme

  • Die Fedora 27, CentOS 7.4 und RHEL 7.4 liefern webkitgtk ebenfalls bereits nicht mehr.
  • Unter SuSE Leap 42.3 ist die Erstellung bislang problemlos

opencache-manager's People

Contributors

andreaspeters avatar j-u-b avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

opencache-manager's Issues

Kartenanzeige funktioniert nicht mehr

Hallo,
heute musste ich überrascht feststellen, dass in OCM 1.0.16b keine Karte mehr angezeigt wird.
Meldung im Kartenbereich:
503 Service Unavailable
No server is available to handle this request.

Vielleicht hat der Kartenserver seine Adresse gewechselt?

Grüße
Ralf

Unhandled Exception at ocmgtk.OCMMainWindow..ctor

Das aus dem aktuellen Commit 4c8e865 vom 02.10.2016 erzeugte Binary liefert beim Start eine Unhandled Exception

./locale

(ocm-gtk:19348): Gtk-CRITICAL **: IA__gtk_container_add: assertion 'GTK_IS_WIDGET (widget)' failed

(ocm-gtk:19348): Gtk-CRITICAL **: IA__gtk_container_child_set_property: assertion 'GTK_IS_WIDGET (child)' failed

(ocm-gtk:19348): Gtk-CRITICAL **: IA__gtk_container_add: assertion 'GTK_IS_WIDGET (widget)' failed

(ocm-gtk:19348): Gtk-CRITICAL **: IA__gtk_container_child_set_property: assertion 'GTK_IS_WIDGET (child)' failed

(ocm-gtk:19348): Gtk-CRITICAL **: IA__gtk_container_add: assertion 'GTK_IS_WIDGET (widget)' failed

(ocm-gtk:19348): Gtk-CRITICAL **: IA__gtk_container_child_set_property: assertion 'GTK_IS_WIDGET (child)' failed

Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object
  at ocmgtk.OCMMainWindow..ctor (ocmgtk.OCMApp app) [0x00023] in <9febfa12829a4dbdb2b11e29b42298aa>:0 
  at ocmgtk.OCMApp.InitializeApp (System.String filename, System.Boolean quitAfterImport) [0x00088] in <9febfa12829a4dbdb2b11e29b42298aa>:0 
  at ocmgtk.OCMApp.Start (System.String filename) [0x00043] in <9febfa12829a4dbdb2b11e29b42298aa>:0 
  at ocmgtk.OCMApp.Start () [0x00001] in <9febfa12829a4dbdb2b11e29b42298aa>:0 
  at ocmgtk.OCMApp.Main (System.String[] args) [0x000e6] in <9febfa12829a4dbdb2b11e29b42298aa>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
  at ocmgtk.OCMMainWindow..ctor (ocmgtk.OCMApp app) [0x00023] in <9febfa12829a4dbdb2b11e29b42298aa>:0 
  at ocmgtk.OCMApp.InitializeApp (System.String filename, System.Boolean quitAfterImport) [0x00088] in <9febfa12829a4dbdb2b11e29b42298aa>:0 
  at ocmgtk.OCMApp.Start (System.String filename) [0x00043] in <9febfa12829a4dbdb2b11e29b42298aa>:0 
  at ocmgtk.OCMApp.Start () [0x00001] in <9febfa12829a4dbdb2b11e29b42298aa>:0 
  at ocmgtk.OCMApp.Main (System.String[] args) [0x000e6] in <9febfa12829a4dbdb2b11e29b42298aa>:0 

Das Ergebnis ist identisch unter:

  • Ubuntu 14.04 LTS, mono 4.8.0
  • Arch Linux, mono 4.6.1

Das Problem besteht erst seit Commit 4c8e865.

SHAMROCK_EXPAND_LIBDIR / @expanded_libdir@ - Ersetzung erfolgt nicht

Das configure-Script gibt u.a. die Meldung:

./configure: line 2467: SHAMROCK_EXPAND_LIBDIR: command not found
./configure: line 2468: SHAMROCK_EXPAND_BINDIR: command not found
./configure: line 2469: SHAMROCK_EXPAND_DATADIR: command not found

Die Variablen in ocm-gtk werden letztendlich nicht auf gelöst:

#!/bin/sh
cd "@expanded_libdir@/opencachemanager"
exec mono "@expanded_libdir@/opencachemanager/ocm-gtk.exe" "$@"

Das Problem besteht seit commit d003b49.

[Opensuse Leap-15] Workaround für fehlendes Paket: webkit-sharp

Das Paket 'webkit-sharp' wird mit OpenSuse Leap-15 nicht mehr ausgeliefert.
Man kann es aus der Vorgängerversion installieren:

$ wget http://download.opensuse.org/repositories/openSUSE:/Leap:/42.3/standard/noarch/webkit-sharp-0.3-16.1.noarch.rpm
$ sudo zypper in webkit-sharp-0.3-16.1.noarch.rpm

Sollte ggf. in die README aufgenommen werden.

Grüße!
astrapp

map is not displayed

Arch Linux and the opencachemanager-git:

/usr/share/locale
myPosition = [lat=xxx&lon=xxx]
localSite = [file:///usr/lib/opencachemanager/web/]
** Message: 16:54:19.073: console message: file:///usr/lib/opencachemanager/web/wpt_viewer.html?lat=xxx&lon=xxx @556: ReferenceError: Can't find variable: init

** Message: 16:54:19.076: console message: file:///usr/lib/opencachemanager/web/wpt_viewer.html?lat=xxx&lon=xxx @1: ReferenceError: Can't find variable: clearExtraMarkers

** Message: 16:54:19.076: console message: file:///usr/lib/opencachemanager/web/wpt_viewer.html?lat=xxx&lon=xxx @1: ReferenceError: Can't find variable: clearActiveMarkers

** Message: 16:54:19.076: console message: file:///usr/lib/opencachemanager/web/wpt_viewer.html?lat=xxx&lon=xxx @1: ReferenceError: Can't find variable: clearExtraMarkers

** Message: 16:54:19.076: console message: file:///usr/lib/opencachemanager/web/wpt_viewer.html?lat=xxx&lon=xxx @1: ReferenceError: Can't find variable: addMapRenderer

** Message: 16:54:19.077: console message: file:///usr/lib/opencachemanager/web/wpt_viewer.html?lat=xxx&lon=xxx @1: ReferenceError: Can't find variable: addMapRenderer

** Message: 16:54:19.077: console message: file:///usr/lib/opencachemanager/web/wpt_viewer.html?lat=xxx&lon=xxx @1: ReferenceError: Can't find variable: addMapRenderer

** Message: 16:54:19.077: console message: file:///usr/lib/opencachemanager/web/wpt_viewer.html?lat=xxx&lon=xxx @1: ReferenceError: Can't find variable: addMapRenderer

** Message: 16:54:19.077: console message: file:///usr/lib/opencachemanager/web/wpt_viewer.html?lat=xxx&lon=xxx @1: ReferenceError: Can't find variable: addMapRenderer

** Message: 16:54:19.077: console message: file:///usr/lib/opencachemanager/web/wpt_viewer.html?lat=xxx&lon=xxx @1: ReferenceError: Can't find variable: addMapRenderer

** Message: 16:54:19.077: console message: undefined @0: TypeError: undefined is not a function

webkit package: webkitgtk2 3:2.4.11-18

OCM auf Debian 10 Buster (testing)

Hallo Andreas,

lange Zeit hat OCM treu seine Dienste geleistet, doch jetzt kriege ich es einfach nicht zum Laufen. Gestern habe ich Debian neu installiert (testing), um danach OCM zu compilieren, was auch ohne Fehlermeldungen geklappt hat.
Wenn ich aber OCM im Terminal starte, bekomme ich eine Reihe von Fehlermeldungen, die ich aber nicht deuten kann:

`(ocm-gtk:11315): Gtk-WARNING **: Im Modulpfad »smooth« konnte keine Themen-Engine gefunden werden,
(ocm-gtk:11315): Gtk-WARNING **: Im Modulpfad »smooth« konnte keine Themen-Engine gefunden werden,
(ocm-gtk:11315): Gtk-WARNING **: Im Modulpfad »smooth« konnte keine Themen-Engine gefunden werden,
(ocm-gtk:11315): Gtk-WARNING **: Im Modulpfad »smooth« konnte keine Themen-Engine gefunden werden,
(ocm-gtk:11315): Gtk-WARNING **: Im Modulpfad »smooth« konnte keine Themen-Engine gefunden werden,
(ocm-gtk:11315): Gtk-WARNING **: Im Modulpfad »smooth« konnte keine Themen-Engine gefunden werden,
(ocm-gtk:11315): Gtk-WARNING **: Im Modulpfad »smooth« konnte keine Themen-Engine gefunden werden,
(ocm-gtk:11315): Gtk-WARNING **: Im Modulpfad »smooth« konnte keine Themen-Engine gefunden werden,
(ocm-gtk:11315): Gtk-WARNING **: Im Modulpfad »smooth« konnte keine Themen-Engine gefunden werden,
(ocm-gtk:11315): Gtk-WARNING **: Im Modulpfad »smooth« konnte keine Themen-Engine gefunden werden,

(ocm-gtk:11315): Gtk-CRITICAL **: IA__gtk_container_add: assertion 'GTK_IS_WIDGET (widget)' failed
(ocm-gtk:11315): Gtk-CRITICAL **: IA__gtk_container_child_set_property: assertion 'GTK_IS_WIDGET (child)' failed
(ocm-gtk:11315): Gtk-CRITICAL **: IA__gtk_container_add: assertion 'GTK_IS_WIDGET (widget)' failed
(ocm-gtk:11315): Gtk-CRITICAL **: IA__gtk_container_child_set_property: assertion 'GTK_IS_WIDGET (child)' failed
(ocm-gtk:11315): Gtk-CRITICAL **: IA__gtk_container_add: assertion 'GTK_IS_WIDGET (widget)' failed
(ocm-gtk:11315): Gtk-CRITICAL **: IA__gtk_container_child_set_property: assertion 'GTK_IS_WIDGET (child)' failed

Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object
at ocmgtk.OCMMainWindow..ctor (ocmgtk.OCMApp app) [0x00022] in <31d1ed11914a4e95b3170d07c09311db>:0
at ocmgtk.OCMApp.InitializeApp (System.String filename, System.Boolean quitAfterImport) [0x00087] in <31d1ed11914a4e95b3170d07c09311db>:0
at ocmgtk.OCMApp.Start (System.String filename) [0x0003b] in <31d1ed11914a4e95b3170d07c09311db>:0
at ocmgtk.OCMApp.Start () [0x00000] in <31d1ed11914a4e95b3170d07c09311db>:0
at ocmgtk.OCMApp.Main (System.String[] args) [0x000da] in <31d1ed11914a4e95b3170d07c09311db>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
at ocmgtk.OCMMainWindow..ctor (ocmgtk.OCMApp app) [0x00022] in <31d1ed11914a4e95b3170d07c09311db>:0
at ocmgtk.OCMApp.InitializeApp (System.String filename, System.Boolean quitAfterImport) [0x00087] in <31d1ed11914a4e95b3170d07c09311db>:0
at ocmgtk.OCMApp.Start (System.String filename) [0x0003b] in <31d1ed11914a4e95b3170d07c09311db>:0
at ocmgtk.OCMApp.Start () [0x00000] in <31d1ed11914a4e95b3170d07c09311db>:0
at ocmgtk.OCMApp.Main (System.String[] args) [0x000da] in <31d1ed11914a4e95b3170d07c09311db>:0
`

Dier ersten GTK-Warnungen lassen sich umgehen, indem ich ein anderes Desktop-Thema wähle (ich arbeite mit xfce4). Der Rest bleibt.

Hast du vielleicht eine Idee, was dahinter stecken könnte? Das einzige, was mir spontan einfallen würde, wäre ein älteres Linux in einer VM für OCM zu benutzen.

Grüße
Ralf

ocm lässt sich nicht starten

Ocm lässt sich nicht starten und schmeißt dann folgende Meldung:

/usr/share/locale

(ocm-gtk:12354): Gtk-CRITICAL **: IA__gtk_container_add: assertion 'GTK_IS_WIDGET (widget)' failed

(ocm-gtk:12354): Gtk-CRITICAL **: IA__gtk_container_child_set_property: assertion 'GTK_IS_WIDGET (child)' failed

(ocm-gtk:12354): Gtk-CRITICAL **: IA__gtk_container_add: assertion 'GTK_IS_WIDGET (widget)' failed

(ocm-gtk:12354): Gtk-CRITICAL **: IA__gtk_container_child_set_property: assertion 'GTK_IS_WIDGET (child)' failed

(ocm-gtk:12354): Gtk-CRITICAL **: IA__gtk_container_add: assertion 'GTK_IS_WIDGET (widget)' failed

(ocm-gtk:12354): Gtk-CRITICAL **: IA__gtk_container_child_set_property: assertion 'GTK_IS_WIDGET (child)' failed

Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object
  at ocmgtk.OCMMainWindow..ctor (ocmgtk.OCMApp app) [0x00022] in <85b7e7a1bc914fe8895d474da63bda3d>:0 
  at ocmgtk.OCMApp.InitializeApp (System.String filename, System.Boolean quitAfterImport) [0x00087] in <85b7e7a1bc914fe8895d474da63bda3d>:0 
  at ocmgtk.OCMApp.Start (System.String filename) [0x0003b] in <85b7e7a1bc914fe8895d474da63bda3d>:0 
  at ocmgtk.OCMApp.Start () [0x00000] in <85b7e7a1bc914fe8895d474da63bda3d>:0 
  at ocmgtk.OCMApp.Main (System.String[] args) [0x000da] in <85b7e7a1bc914fe8895d474da63bda3d>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
  at ocmgtk.OCMMainWindow..ctor (ocmgtk.OCMApp app) [0x00022] in <85b7e7a1bc914fe8895d474da63bda3d>:0 
  at ocmgtk.OCMApp.InitializeApp (System.String filename, System.Boolean quitAfterImport) [0x00087] in <85b7e7a1bc914fe8895d474da63bda3d>:0 
  at ocmgtk.OCMApp.Start (System.String filename) [0x0003b] in <85b7e7a1bc914fe8895d474da63bda3d>:0 
  at ocmgtk.OCMApp.Start () [0x00000] in <85b7e7a1bc914fe8895d474da63bda3d>:0 
  at ocmgtk.OCMApp.Main (System.String[] args) [0x000da] in <85b7e7a1bc914fe8895d474da63bda3d>:0

Ich habe es unter Manjaro (basiert auf Arch) und Ubuntu 16.04 probiert, sowohl mit dem master als auch mit dem 0.1.17 Zweig.

Hast du ein Idee?

make clean und distclean zu rabiat

Ich bin unter Debian (stretch) gerade über issue #2 gestolpert. Um den Trick mit dem Zurücksetzen der Versionsnummern auszuprobieren habe ich im ausgecheckten branch (master) make distclean gesagt – danach wird nicht mehr richtig gebaut: config.status: error: cannot find input file: Translations/Makefile.in'Offenbar wirdTranslations/Makefile.in` entweder ohne Not entsorgt oder es fehlt eine Regel zum (Neu)bauen der Datei.

Broken matrix federation

Hey,
I've tried to join your matrix chat from another instance, but I can't join them.
After a quick troubleshooting, I found a broken matrix federation... :(

Cheers,
ChaosRambo

[opensuse 42.2] Unhandled Exception

mono --version
Mono JIT compiler version 4.6.1 (Stable 4.6.1.3/abb06f1 Thu Oct 20 14:33:14 UTC 2016)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen

Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object
at ocmgtk.OCMMainWindow..ctor (ocmgtk.OCMApp app) [0x00022] in <3887e6a1b52942d8b2d07b5a32708d22>:0
at ocmgtk.OCMApp.InitializeApp (System.String filename, System.Boolean quitAfterImport) [0x00087] in <3887e6a1b52942d8b2d07b5a32708d22>:0
at ocmgtk.OCMApp.Start (System.String filename) [0x0003b] in <3887e6a1b52942d8b2d07b5a32708d22>:0
at ocmgtk.OCMApp.Start () [0x00000] in <3887e6a1b52942d8b2d07b5a32708d22>:0
at ocmgtk.OCMApp.Main (System.String[] args) [0x000da] in <3887e6a1b52942d8b2d07b5a32708d22>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
at ocmgtk.OCMMainWindow..ctor (ocmgtk.OCMApp app) [0x00022] in <3887e6a1b52942d8b2d07b5a32708d22>:0
at ocmgtk.OCMApp.InitializeApp (System.String filename, System.Boolean quitAfterImport) [0x00087] in <3887e6a1b52942d8b2d07b5a32708d22>:0
at ocmgtk.OCMApp.Start (System.String filename) [0x0003b] in <3887e6a1b52942d8b2d07b5a32708d22>:0
at ocmgtk.OCMApp.Start () [0x00000] in <3887e6a1b52942d8b2d07b5a32708d22>:0
at ocmgtk.OCMApp.Main (System.String[] args) [0x000da] in <3887e6a1b52942d8b2d07b5a32708d22>:0

any idea ?

Kartenanzeige funktioniert wieder nicht

Hallo Andreas,

OCM ist mal wieder ohne Karte. Auf der Konsole kommen Fehlermeldungen folgender Art:

** Message: console message: http://andreas-peters.net/ocm/web/wpt_viewer.html?lat=52.9858166666667&lon=10.0885333333333 @1: ReferenceError: Can't find variable: addMapRenderer

Ist das ein Kartenserver, der bei dir läuft und uns die Karten liefert? Oder wie muss man sich das vorstellen? Gibt es nicht die Möglichkeit, die Karten direkt z.B. von OSM abzurufen? Oder kann ich mit einfachen Mitteln sowas lokal bei mir laufen lassen?

Grüße
Ralf

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.