ULX

Author Topic: ULX Not Working For Linux  (Read 4441 times)

0 Members and 2 Guests are viewing this topic.

Offline BLEEP_BLOOP

  • Newbie
  • *
  • Posts: 14
  • Karma: 1
ULX Not Working For Linux
« on: July 06, 2016, 08:21:03 PM »
I recently installed ULX/ULib from the latest releases section on the downloads page. I extracted both addons and put them both in the addons folder. When I tested my server on a Windows machine, it worked just fine. But, when I put it on Linux (Ubuntu), no commands worked, the menu wouldn't open, and my HUD was glitching out. When I removed ULX and ULib, the HUD worked just fine. I have never had a problem with ULX before on a Windows machine.
« Last Edit: July 06, 2016, 08:23:36 PM by BLEEP_BLOOP »

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: ULX Not Working For Linux
« Reply #1 on: July 07, 2016, 12:02:51 AM »
Were you getting any errors in your server or client console? I know Megiddo just tested the latest (Github) ULX/ULib on Ubuntu last week and it was working fine, but that was before the latest Gmod update was released.
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline BLEEP_BLOOP

  • Newbie
  • *
  • Posts: 14
  • Karma: 1
Re: ULX Not Working For Linux
« Reply #2 on: July 07, 2016, 12:07:43 AM »
I wasn't getting any errors related to ULX in the server or the client. But, the HUD was glitching out which spammed the client's console. It said that floor expected a number, but got nil. I don't have the actual error because I don't have access to my other computer.

Offline roastchicken

  • Respected Community Member
  • Sr. Member
  • *****
  • Posts: 476
  • Karma: 84
  • I write code
Re: ULX Not Working For Linux
« Reply #3 on: July 07, 2016, 05:11:26 AM »
Could you try to get the specific error? It would help greatly.

What folders are ULX and ULib in? Linux, unlike Windows, has a case-sensitive file system, so that may be causing some issues.

I can confirm that the latest (Git) versions of ULX and ULib work with the latest version of Garry's Mod on a Linux (Ubuntu) server.
Give a man some code and you help him for a day; teach a man to code and you help him for a lifetime.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: ULX Not Working For Linux
« Reply #4 on: July 07, 2016, 02:02:34 PM »
I also just confirmed that the latest GMod works on Ubuntu. Please share the error you are getting.
Experiencing God's grace one day at a time.

Offline BLEEP_BLOOP

  • Newbie
  • *
  • Posts: 14
  • Karma: 1
Re: ULX Not Working For Linux
« Reply #5 on: July 07, 2016, 06:47:04 PM »
It turns out Linux hates capital letters. :P I renamed the folders to be lowercase. When downloading ULib, the folder name is capitalized.

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: ULX Not Working For Linux
« Reply #6 on: July 07, 2016, 06:54:16 PM »
It turns out Linux hates capital letters. :P I renamed the folders to be lowercase. When downloading ULib, the folder name is capitalized.
ext* filesystems are case-sensitive. Garry's Mod (for whatever reason) doesn't respect case, even though NTFS stores case data.
10/10
bw81@ulysses-forums ~ % whoami
Homepage

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: ULX Not Working For Linux
« Reply #7 on: July 07, 2016, 11:52:01 PM »
I just confirmed that the folder structure in our official downloads as well as the git repositories are all lower case specifically for this reason. When you downloaded it, you might have saved it to a folder with an upper case letter? Either way, glad you got it working.

Offline BLEEP_BLOOP

  • Newbie
  • *
  • Posts: 14
  • Karma: 1
Re: ULX Not Working For Linux
« Reply #8 on: July 07, 2016, 11:56:10 PM »
When downloading ULib from the latest releases section on the downloads page, it downloads with the U and the L uppercase. That's what was causing my problem.

EDIT:

Screenshot: https://www.dropbox.com/s/uscj69wll4eyhyj/Screenshot%202016-07-07%2023.57.37.png?dl=0
« Last Edit: July 07, 2016, 11:58:29 PM by BLEEP_BLOOP »

Offline roastchicken

  • Respected Community Member
  • Sr. Member
  • *****
  • Posts: 476
  • Karma: 84
  • I write code
Re: ULX Not Working For Linux
« Reply #9 on: July 08, 2016, 04:34:15 AM »
Ah, that explains it.

It might be a good idea to compress the ulib folder itself and not just its contents.
Give a man some code and you help him for a day; teach a man to code and you help him for a lifetime.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: ULX Not Working For Linux
« Reply #10 on: July 08, 2016, 10:26:04 AM »
Ahh.. you're supposed to extract the contents into a new folder, not the one the zip is named.
Compressing the ulx/ulib folders led to people having 1 folder too deep and wondering why it wasn't working.

Maybe it would be worth renaming the zip files on our downloads page to prevent this from happening again.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: ULX Not Working For Linux
« Reply #11 on: July 09, 2016, 07:18:59 AM »
Renamed the zips
Experiencing God's grace one day at a time.