Repository

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
siphonex
Posts: 62
Joined: Wed Apr 16, 2014 6:42 pm

Repository

Post by siphonex »

If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision Number: Latest BETA
L2JDP Revision Number: Latest BETA

Hello, using eclipse I am unable to checkout the Datapack from your SVN BETA repository branch. I am able to checkout the server pack however.

I receive this error message about 200mb into checking out the Datapack:

APR does not understand this error code
svn: ra_serf: The server sent a truncated HTTP response body.

Here is the full console output:
http://pastebin.com/4GXzPCT0

Thanks!
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7005
Joined: Tue Aug 11, 2009 3:36 am

Re: Repository

Post by Zoey76 »

Try using the https:// instead of http://
Powered by Eclipse 4.30 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.3.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
siphonex
Posts: 62
Joined: Wed Apr 16, 2014 6:42 pm

Re: Repository

Post by siphonex »

Thanks for the quick reply Zoey, however attempting to change from http:// to https:// results in this error:

http://pastebin.com/ALv6x3N1

And

http://pastebin.com/pniYe7Uc

I'm quite stumped as I'm able to checkout the server pack just fine, its the datapack that seems to elude me.

Thanks.
siphonex
Posts: 62
Joined: Wed Apr 16, 2014 6:42 pm

Re: Repository

Post by siphonex »

After paying a visit to the community portal on your wiki it clearly states that your repository is not compatible with the latest versions of SlikSVN. After installing the 1.7.9 version I tried again but was still unsuccessful.

Edit: I'm using the latest subclipse installed from eclipse marketplace, could this be an issue?

Edit2: I reverted back to subclipse 1.8 and I now receive this error:

RA layer request failed
svn: REPORT of '/!svn/me': Could not read response body: connection was closed by server (http://svn.l2jdp.com)

Edit 3: Also recieved error using https:// on subclipse 1.8
RA layer request failed
svn: REPORT of '/!svn/me': Could not read response body: Secure connection truncated (https://svn.l2jdp.com)

Edit4: Changed my SVN Interface from JavaHL (JNI) to SVN Kit (Pure Java) and managed to get a little further in the download but I received this error

svn: E175002: Processing REPORT request response failed: Premature end of file. (/!svn/vcc/default)
svn: E175002: REPORT request failed on '/!svn/vcc/default'

Full error log:

http://pastebin.com/q4XE2T4F

Any help would be appreciated!
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Repository

Post by jurchiks »

It has nothing to do with Subversion, I'm working with SVN 1.8 for a long time now. The only thing you have to do when you download the pack is upgrade the local copy to SVN 1.8 (right-click on project -> upgrade). I should probably remove that notice...

Those errors occur if you take too much time to download.
I'd suggest you do the following:
  1. go to http://trac.l2jdp.com/browser/branches/ ... aPack_BETA
  2. click on "Download in other formats: Zip Archive" at the bottom
  3. when it is downloaded, extract the archive and copy the folder into your Eclipse workspace
  4. open Eclipse, File > Import > Existing project from sources > choose the newly extracted folder
  5. after that, right-click the project and choose Team -> Share, SVN, choose the DP SVN that you've already added in Eclipse, next next and you're done
That might work, though it also downloads SVN info so it could get stuck. But at least you'll get the code.
I'm also guessing there is a connection timeout or something like that on the datapack's SVN host, that's set to a too low value.

To be honest, using the https connection should slow things down, not speed them up, since all the communication is encrypted and that takes additional time.
I'm also guessing there is a connection timeout that's set too low on the dp SVN host.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
siphonex
Posts: 62
Joined: Wed Apr 16, 2014 6:42 pm

Re: Repository

Post by siphonex »

Thank you sir for the suggestion, I thought it was going to work until I sadly received another error. The server just does not seem to like me for some reason I guess.

Image

This is pretty frustrating, I managed to get a server up and running a year ago but that was on a different machine and a different operating system.

Since SVN 1.8 is viable I'm going to reinstall this and start troubleshooting from there.
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Repository

Post by jurchiks »

Ok, you could also try downloading the pack via command line by typing svn checkout http://svn.l2jdp.com/branches/unstable/ ... aPack_BETA
I'm not 100% sure, but if I remember correctly, that always worked and was way faster than Eclipse.
If that succeeds, just copy the folder to workspace and import.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
siphonex
Posts: 62
Joined: Wed Apr 16, 2014 6:42 pm

Re: Repository

Post by siphonex »

Ok, you could also try downloading the pack via command line by typing svn checkout http://svn.l2jdp.com/branches/unstable/ ... aPack_BETA
Thanks!

It did indeed go much faster as opposed to eclipse. However, I still ended up receiving the error.
Doing some research though I discovered the svn cleanup command and ran this on the L2J_DataPack_BETA, I was then able to re-checkout the datapack starting from where it failed and was able complete the download and import it into eclipse.

After doing the "upgrade" you mentioned in a previous post the red exclamation point disappeared and everything seems to be ready to build, hopefully this works out.

I appreciate your assistance jurchiks.
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Repository

Post by jurchiks »

You're welcome :)
Didn't know about the cleanup thing. So you just cleanup the downloaded files, run the same checkout command and it continues from where it failed?
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
siphonex
Posts: 62
Joined: Wed Apr 16, 2014 6:42 pm

Re: Repository

Post by siphonex »

That is indeed what it seemed to do. As it turns out I was very close to the end of the checkout (only about 50-100 files left) when I got the error.

I tried to run svn checkout again after the error occured but it mentioned that the file had been locked and I believe it mentioned something about the cleanup command. After the command completed I was able to run svn checkout once again and it finished the last of the files.

Both the datapack and the server have successfully been built, but I have yet to install the database files and start the server.

I will edit this post on my success or failure to start the server.

Edit: I'm able to start the server just fine and log in! Thanks again.

There are 2 "Fatal Errors" I see when I start up both the login server and the game server but they do not seem to effect the performance from what I can tell.

[Fatal Error] :1:1 Content is not allowed in prolog.
[Fatal Error] :1:1 Content is not allowed in prolog.

The error does not seem to show up in the logs.
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Repository

Post by jurchiks »

I tried to run svn checkout again after the error occured but it mentioned that the file had been locked and I believe it mentioned something about the cleanup command. After the command completed I was able to run svn checkout once again and it finished the last of the files.
That's valuable info for the next unfortunate person :)

http://stackoverflow.com/questions/1157 ... -in-prolog
I'm pretty sure it means some XML file that the server is loading has UTF-8 BOM. UTF-8 files should be saved without BOM, it changes nothing for the XML, but leaving it there can break many programs that read XML.
Perhaps you can see which files exactly get this error? Maybe enable debug option in the server configs.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
siphonex
Posts: 62
Joined: Wed Apr 16, 2014 6:42 pm

Re: Repository

Post by siphonex »

I'm pretty sure it means some XML file that the server is loading has UTF-8 BOM. UTF-8 files should be saved without BOM, it changes nothing for the XML, but leaving it there can break many programs that read XML.
I see.

I managed to come across that same link when researching, but I was unsure as to what it meant.

I can not tell if its a problem with the current L2J BETA packs or if its a problem that arose from the improper building of the server files.

I will try enabling debug mode to see if I can find the source of the issue.
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Repository

Post by jurchiks »

That's definitely not from the build process, it simply copies all dp files to the build directory and then zips them.
If you find that it's a bug in clean files, you should post about it in viewforum.php?f=77
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
siphonex
Posts: 62
Joined: Wed Apr 16, 2014 6:42 pm

Re: Repository

Post by siphonex »

I performed another build to be sure and still received the error messeges, I will post a bug report and see what the Devs have to say.

Thank you for the clarification.
Post Reply