by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    ChickenCoder
    @ChickenCoderGithub
    Probably you could clear your eclipse logs recreate the mistake and post the logs here
    coolian1223
    @coolian1223
    well i could if knew how to do that
    coolian1223
    @coolian1223
    acctually that seems easy
    coolian1223
    @coolian1223
    i probably wont be able to get the log until tomorrow
    thats the log
    Tobias Bouschen
    @tobous

    Could you provide the Saros log? It can be found in the workspace of the project: <workspace>/.metadata/.plugins/saros.eclipse/log/<date>/*.log

    Also, are you using any other IDE plugins (especially ones adding support for other programming languages; those have caused trouble in the past) in combination with Saros?

    thats probably the right thing
    i have only 1 other plugin installed and that plugin is json editor and i would be sad if it wouldnt be working with saros
    i instrcuted my friend to install the json plugin like 2 days ago
    and it didnt work with both of us having that plugin
    Tobias Bouschen
    @tobous
    @srossbach Any idea? The Saros log files also don't seem that informative as they also only state that the resource is locked. Seems very weird to me.
    that is another error log without clearing the log after start
    this is eclipse error log from my friend probably without clearing the log first
    coolian1223
    @coolian1223
    if i create anew project and try to share it does work
    so it has something todo with the project
    ill send it to ya in a bit
    i hope that helps
    Kelvin Glaß
    @m273d15
    My first assumption was that you are using windows and the gradle daemon would lock your file (as in gradle/gradle#937 issue), but I was not able to reproduce the issue with eclipse and your project. I installed Eclipse 2019-09 with Saros 15.0.0 and the JSON Editor, removed your .classpath and .gradle dir (because of the system specific content of the .classpath file),imported the project as gradle project and shared it via Saros (without the exception). Could you provide further information (which OS you use), how we could reproduce the issue?
    Stefan Rossbach
    @srossbach
    You can open the Resource Monitor switch to the Disk tab and go through the processes to see which process is currently using the affected files. Your issue is clearly not caused by Saros but a common problem when you want to access files under Windows that are (partially) locked by a specific process.
    coolian1223
    @coolian1223
    im using windows 10 newest version idk how to reproduce
    @srossbach i dont get it like how do i tell wich process is using affected files
    Stefan Rossbach
    @srossbach
    You can also use https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer to find the process. The tool has a search option for file handles.
    coolian1223
    @coolian1223
    the files of the project are only accesed by eclipse and explorer.exe
    coolian1223
    @coolian1223
    even while sharing but not sharing with someone
    SparkOfYT
    @SparkOfYT
    I cant login or register in Saros? WHats the problem
    Tobias Bouschen
    @tobous
    @SparkOfYT both logging into Saros through the client and accessing the registration page work fine for me. Maybe this is an issue with your local network setup?
    nudelchef
    @nudelchef
    How can I build the saros server?
    nudelchef
    @nudelchef

    When building sarosServer from Source I receive the following error-message

    $ ./gradlew sarosServer

    Task :buildSrc:compileJava UP-TO-DATE
    Task :buildSrc:compileGroovy NO-SOURCE
    Task :buildSrc:pluginDescriptors UP-TO-DATE
    Task :buildSrc:processResources UP-TO-DATE
    Task :buildSrc:classes UP-TO-DATE
    Task :buildSrc:jar UP-TO-DATE
    Task :buildSrc:assemble UP-TO-DATE
    Task :buildSrc:pluginUnderTestMetadata UP-TO-DATE
    Task :buildSrc:compileTestJava NO-SOURCE
    Task :buildSrc:compileTestGroovy NO-SOURCE
    Task :buildSrc:processTestResources NO-SOURCE
    Task :buildSrc:testClasses UP-TO-DATE
    Task :buildSrc:test NO-SOURCE
    Task :buildSrc:validatePlugins UP-TO-DATE
    Task :buildSrc:check UP-TO-DATE
    Task :buildSrc:build UP-TO-DATE

    FAILURE: Build failed with an exception.

    • What went wrong:
      A problem occurred configuring project ':saros.eclipse'.

      Failed to notify project evaluation listener.
      Could not initialize class com.diffplug.gradle.FileMisc

    • Try:
      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

    • Get more help at https://help.gradle.org

    Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
    Use '--warning-mode all' to show the individual deprecation warnings.
    See https://docs.gradle.org/6.1/userguide/command_line_interface.html#sec:command_line_warnings

    BUILD FAILED in 2s

    Tobias Bouschen
    @tobous
    Hmm works for me. @nudelchef Have you followed the guidelines on our website on how to set up the project locally?
    Tobias Bouschen
    @tobous

    As an FYI if anybody to avoid any confusion: You do not need the Saros Server to use Saros.

    The server you need to use Saros is an XMPP server. You can either use our XMPP server (saros-con.imp.fu-berlin.de) or host your own (as described on our website).

    The Saros Server is a separate component that works as session host. The feature is meant to allow for longer living sessions with switching participants (i.e. to avoid the session ending because the user that started the session had to leave). But it is not necessary to use Saros.

    The name of the component might have lead to confusion as the concept of an XYZ Server is used differently by other applications, often meaning the server needed to use XYZ. So we are thinking about renaming the component to avoid such confusion in the future and will add a note the server description on our website.

    nudelchef
    @nudelchef
    I think that is very clear right now. I know that I don't need a Saros Server to use Saros but I'd would like to work with friends on a project, whenever everyone has time. And we don't want one person to have to latest project. We need the Server in order to keep everyone up to date with the latest version.
    Tobias Bouschen
    @tobous

    I just wanted to clarify it in general. :relaxed:

    We need the Server in order to keep everyone up to date with the latest version.

    Saros is generally not meant as a replacement for a version control system (like git) as it makes it hard to track changes over longer periods of time. But, if you still want to use it for code synchronization, don't let me keep you. :wink:

    @nudelchef Are you still having issues with building the server?

    Kim Kern
    @kiwikern
    Hi, thanks for the great project! :thumbsup: I wanted to try out the plugin in Webstorm, but I found it's officially disabled for other distributions than IntelliJ. Do I have to rebuild the project myself to allow Webstorm to work or can this be easily changed in the build artifact? This would be a great help for working in home office.
    Kelvin Glaß
    @m273d15

    Hi @kiwikern , thanks for trying our IntelliJ alpha.

    I wanted to try out the plugin in Webstorm, but I found it's officially disabled for other distributions than IntelliJ.

    It is currently disabled because we assume that there are subtle differences in the JetBrains IDEs. But in general, the plugin should be compatible with the other IDEs. If you try it, I would love to hear about your experiences (it would help to provide the plugin for all IntelliJ IDEs in the future).

    Do I have to rebuild the project myself to allow Webstorm to work or can this be easily changed in the build artifact?

    You can either:

    • Add the following lines to saros.intellij.zip/Saros/lib/saros.intellij.jar/META-INF/plugin.xml (you have to extract and re-zip the files) :

      <depends>com.intellij.modules.platform</depends>
      <depends>com.intellij.modules.lang</depends>
    • Or you use one of our nightly builds (not necessarily stable) which are installable in all IDEs. In order to find such a build, you can choose one build in our history (e.g. this).

    However, when using modified/nightly builds, please make sure that all of the session participants are using the same modified/nightly plugin version. In case you find a bug, please mention your modifications or the nightly version. BR

    Kelvin Glaß
    @m273d15
    Addition: here are the missing links: history and this (the example nightly build)
    Kim Kern
    @kiwikern
    Cool, thanks a lot, Kelvin! :thumbsup: I will give it a try!
    nudelchef
    @nudelchef
    @tobous sorry, didn't read my mails :p. Yes I'm still having issues building the server, but I think it's a raspberrypi related problem
    nudelchef
    @nudelchef
    "Saros is generally not meant as a replacement for a version control system (like git) as it makes it hard to track changes over longer periods of time" We are aware of that. But we also simply don't need any version control for what we are doing :)
    nudelchef
    @nudelchef
    @tobous could you send me a saros server jarfile, if you don't have any problems compiling it? That would be very kind.
    Kelvin Glaß
    @m273d15
    @nudelchef Hi, my previous answer should also work for you, we build all components for our current master branch. You can choose one build of our history e.g. this. However make sure that all users use the same nightly build (server and eclipse).
    nudelchef
    @nudelchef

    now I get the following error starting the server:

    INFORMATION: Loading providers for file [classpath:META-INF/extension.providers] DEBUG 16:01:52,894 [main] (XMPPConnectionService.java:424) started Socks5 proxy on port: 41827 [listening on all interfaces] DEBUG 16:01:52,898 [main] (XMPPConnectionService.java:441) using autodetected addresses: [192.168.99.15, fe80:0:0:0:24c9:9e5a:276e:6d35%eth0] DEBUG 16:01:52,912 [main] (XMPPConnectionService.java:384) new connection state == CONNECTING ERROR 16:01:53,702 [main] (XMPPConnectionService.java:386) new connection state == ERROR SASL authentication DIGEST-MD5 failed: not-authorized: at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:342) at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:243) at saros.net.xmpp.XMPPConnectionService.connect(XMPPConnectionService.java:266) at saros.communication.connection.ConnectionHandler.connectXMPPInternal(ConnectionHandler.java:219) at saros.communication.connection.ConnectionHandler.connect(ConnectionHandler.java:150) at saros.server.ServerLifecycle.connectToXMPPServer(ServerLifecycle.java:72) at saros.server.ServerLifecycle.initializeContext(ServerLifecycle.java:31) at saros.context.AbstractContextLifecycle.start(AbstractContextLifecycle.java:96) at saros.server.SarosServer.start(SarosServer.java:33) at saros.server.SarosServer.main(SarosServer.java:59) DEBUG 16:01:53,714 [saros-XMPPContactService-ContactsThread] (XMPPContactsService.java:432) updated null - NOT_CONNECTED DEBUG 16:01:53,859 [main] (XMPPConnectionService.java:384) new connection state == NOT_CONNECTED Exception in thread "main" java.lang.NullPointerException at java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1011) at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1006) at saros.session.internal.SarosSession.<init>(SarosSession.java:805) at saros.session.internal.SarosSession.<init>(SarosSession.java:210) at saros.session.SarosSessionManager.startSession(SarosSessionManager.java:260) at saros.server.ServerLifecycle.initializeContext(ServerLifecycle.java:32) at saros.context.AbstractContextLifecycle.start(AbstractContextLifecycle.java:96) at saros.server.SarosServer.start(SarosServer.java:33) at saros.server.SarosServer.main(SarosServer.java:59)

    the credentials should be right, as I just created the account
    Tobias Bouschen
    @tobous

    @nudelchef I just tried it with the most recent nightly and I am able to start the server without an issue. I am using the default command java -Dsaros.server.jid=max@mustermann.de -Dsaros.server.password=1234 -jar saros.server.jar (replacing the placeholder credentials) given in the guide for the Saros server on our website.

    Are you using our XMPP server (saros-con.imp.fu-berlin.de) or a different server?

    Tobias Bouschen
    @tobous
    If you are using our XMPP server, could you make sure that the account works (i.e. by connecting to it with a different Saros client or any XMPP client) and that you typed in the credentials correctly and then report back if the issue still persists? That would narrow down the potential causes of the issue.
    nudelchef
    @nudelchef
    I'm using the saros-con.imp.fu-berlin.de xmpp server.