GithubHelp home page GithubHelp logo

serg-norseman / gkcommunicator Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 4.0 5.2 MB

This is a distributed, decentralized, serverless, peer-to-peer (P2P) communication plugin for GEDKeeper.

License: GNU General Public License v3.0

C# 99.74% Batchfile 0.20% Shell 0.06%

gkcommunicator's People

Contributors

serg-norseman avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

gkcommunicator's Issues

На Linux нужно, чтоб AppDataPath был ~/.config/gedkeeper/appdata/

Иначе при установке в систему начинается вот такое вот:

Marshaling activate signal
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.UnauthorizedAccessException: Access to the path '/usr/lib/gedkeeper/appdata/' is denied.
 ---> System.IO.IOException: Отказано в доступе
   --- End of inner exception stack trace ---
   at System.IO.FileSystem.CreateDirectory(String fullPath)
   at System.IO.Directory.CreateDirectory(String path)
   at GKNet.Utilities.GetAppDataPath() in /home/rilian/Projects/archlinux/gedkeeper-git/src/GEDKeeper/projects/GKCommunicator/GKNetCore/Utilities.cs:line 118
   at GKNet.Database.GKNetDatabase.GetBaseName() in /home/rilian/Projects/archlinux/gedkeeper-git/src/GEDKeeper/projects/GKCommunicator/GKNetCore/Database/GKNetDatabase.cs:line 74
   at GKNet.Database.GKNetDatabase.get_IsExists() in /home/rilian/Projects/archlinux/gedkeeper-git/src/GEDKeeper/projects/GKCommunicator/GKNetCore/Database/GKNetDatabase.cs:line 55
   at GKNet.Database.GKNetDatabase.Connect() in /home/rilian/Projects/archlinux/gedkeeper-git/src/GEDKeeper/projects/GKCommunicator/GKNetCore/Database/GKNetDatabase.cs:line 82
   at GKNet.CommunicatorCore..ctor(IChatForm form) in /home/rilian/Projects/archlinux/gedkeeper-git/src/GEDKeeper/projects/GKCommunicator/GKNetCore/CommunicatorCore.cs:line 170
   at GKNetUI.ChatForm..ctor() in /home/rilian/Projects/archlinux/gedkeeper-git/src/GEDKeeper/projects/GKCommunicator/GKNetUI.EtoForms/ChatForm.cs:line 120
   at GKCommunicatorPlugin.Plugin.Execute() in /home/rilian/Projects/archlinux/gedkeeper-git/src/GEDKeeper/projects/GKCommunicator/GKCommunicatorPlugin/GKCommunicatorPlugin.cs:line 74
   at GKCore.Controllers.BaseWinController.Plugin_Click(IMenuItem sender)
   at GKUI.Platform.MenuItemEx.Item_Click(Object sender, EventArgs e)
   at Eto.Forms.MenuItem.OnClick(EventArgs e)
   at Eto.Forms.MenuItem.Callback.OnClick(MenuItem widget, EventArgs e)
   at Eto.GtkSharp.Forms.Menu.ButtonMenuItemHandler`2.ButtonMenuItemConnector.HandleActivated(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at System.Delegate.DynamicInvoke(Object[] args)
   at GLib.Signal.ClosureInvokedCB(Object o, ClosureInvokedArgs args)
   at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data)
   at GLib.ExceptionManager.RaiseUnhandledException(Exception e, Boolean is_terminal)
   at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data)
   at Eto.GtkSharp.Forms.ApplicationHandler.Run()
   at Eto.Forms.Application.Run()
   at GEDKeeper3.GKProgram.Main(String[] args)

Да, этот баг проявляется только в случае, если GEDKeeper установлен в систему и пытаемся запустить коммуникатор.

Unix builds are broken

Commit eb5f45a changed one include reference from "System" to "System.XML" in GKNetCore/GKNetCore.csproj file which causes a build failure on Unix-like systems:

error CS0234: The type or namespace name 'Xml' does not exist in the namespace 'System' (are you missing an assembly reference?)

Correct spelling is "System.Xml". I guess it went unnoticed on Windows due to case-insensitivity.

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.