Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2024-03-28 15:09:29



Reply to topic  [ 7 posts ] 
[SOLVED] This day cycle file references a missing sky file 
Author Message

Joined: 2010-04-30 23:14:32
Posts: 24
Reply with quote
I just installed 1.28.2.27 and now I'm getting the error "This day cycle file references a missing sky file" repeated 8 times during startup. When I click through the errors and log on, the scene is completely black and no changes to my windlight settings have any effect. I have not changed any of the default app_settings/windlight/* files.
Steps to reproduce
  1. Install 1.28.2.27 to a clean directory
  2. Launch it

What I have tried
Since I don't know the full pathname to the files it claims it can't find (it just says A-12AM, A-9AM etc.) I tried providing multiple variants of the files:
  • Replace the %2D with a dash the same way days.xml has it
  • copy the sky files to the days folder in case it's trying to find them locally
  • omit the .xml extension since the error message doesn't show a file extension
  • replace all the sky file names in days.xml with a dummy name ("foo") and confirm that the error changes to "missing sky file foo"
I also read through the error log for references to /windlight/skies and found this:
Code:
Invalid path: /pub/games/SecondLife/app_settings/windlight/skies/

I literally copy-pasted the path out of the error message to ensure I was testing the same path that the error references:
Code:
> ls -l /pub/games/SecondLife/app_settings/windlight/skies/
total 64
-rw-r--r-- 1 pbs family 4386 Jun  1  2020 A%2D12AM.xml
-rw-r--r-- 1 pbs family 4386 Jun  1  2020 A%2D12PM.xml
-rw-r--r-- 1 pbs family 4386 Jun  1  2020 A%2D3AM.xml
-rw-r--r-- 1 pbs family 4386 Jun  1  2020 A%2D3PM.xml
-rw-r--r-- 1 pbs family 4386 Jun  1  2020 A%2D6AM.xml
-rw-r--r-- 1 pbs family 4386 Jun  1  2020 A%2D6PM.xml
-rw-r--r-- 1 pbs family 4386 Jun  1  2020 A%2D9AM.xml
-rw-r--r-- 1 pbs family 4386 Jun  1  2020 A%2D9PM.xml


About This Viewer output
Code:
CPU: AMD FX(tm)-6300 Six-Core Processor (2000 MHz)
Memory: 16008MB
OS version: Linux-x86_64 v4.9.0-15-amd64 #1 SMP Debian 4.9.258-1 (2021-03-08)
Memory manager: jemalloc v5.2.1-20210526
Graphics card vendor: NVIDIA Corporation
Graphics card: GeForce GTX 750/PCIe/SSE2
OpenGL version: 4.6.0 NVIDIA 390.116
Detected VRAM: 1024MB
J2C decoder: OpenJPEG: 1.4.0.635f
Audio driver: FMOD Studio v2.02.01 (ALSA)
Networking backend: libcurl/7.47.0 OpenSSL/1.0.2u zlib/1.2.11
Embedded browser: CEF3 plugin v90.6.7+g19ba721+chromium-90.0.4430.212

Built with: GCC v5.5.0
Compiler-generated maths: SSE2.

Compile flags used for this build:
-O3 -fno-delete-null-pointer-checks -fno-ipa-cp-clone -fno-align-labels -fno-align-loops -fsched-pressure -frename-registers -fweb -fira-hoist-pressure -DNDEBUG -std=c++14 -fno-stack-protector -fno-threadsafe-statics -fPIC -pipe -g -gdwarf-2 -gstrict-dwarf -fno-var-tracking-assignments -fexceptions -fno-strict-aliasing -fvisibility=hidden -fsigned-char -m64 -mfpmath=sse -fno-math-errno -fno-trapping-math -pthread -Wall -Wno-reorder -Werror -DLL_LINUX=1 -D_REENTRANT -DXML_STATIC -DLL_JEMALLOC=1 -DLL_ELFBIN=1 -DOV_EXCLUDE_STATIC_CALLBACKS -DLL_FMOD=1 -DLL_OPENAL=1 -DLL_SDL2=1 -DLL_X11=1 -DLL_NDOF=1


Attachments:
CoolVLViewer.zip [10.61 KiB]
Downloaded 98 times


Last edited by SegmentationFault on 2022-02-07 01:07:15, edited 1 time in total.

2021-06-18 19:30:25
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
Obviously, there is something wrong with your file system:
Code:
2021-06-18T18:55:34Z WARNING: LLDirIterator::LLDirIterator: Invalid path: /home/pbs/.secondlife/user_settings/dictionaries/
2021-06-18T18:55:34Z WARNING: LLDirIterator::LLDirIterator: Invalid path: /pub/games/SecondLife/app_settings/dictionaries/
2021-06-18T18:55:34Z WARNING: LLDirIterator::LLDirIterator: Invalid path: /dev/disk/by-id/
2021-06-18T18:55:34Z WARNING: LLDirIterator::LLDirIterator: Invalid path: /home/pbs/.secondlife/cache_coolvlviewer/assets/0
.../...
2021-06-18T18:55:34Z WARNING: LLDirIterator::LLDirIterator: Invalid path: /home/pbs/.secondlife/cache_coolvlviewer/assets/f
2021-06-18T18:55:35Z WARNING: LLDirIterator::LLDirIterator: Invalid path: /pub/games/SecondLife/app_settings/windlight/skies/
2021-06-18T18:55:35Z WARNING: LLDirIterator::LLDirIterator: Invalid path: /home/pbs/.secondlife/user_settings/windlight/skies/
2021-06-18T18:55:35Z WARNING: LLDirIterator::LLDirIterator: Invalid path: /pub/games/SecondLife/app_settings/windlight/water/
2021-06-18T18:55:35Z WARNING: LLDirIterator::LLDirIterator: Invalid path: /home/pbs/.secondlife/user_settings/windlight/water/
2021-06-18T18:55:40Z WARNING: LLDirIterator::LLDirIterator: Invalid path: /home/pbs/.secondlife/cache_coolvlviewer
2021-06-18T18:55:40Z WARNING: LLDirIterator::LLDirIterator: Invalid path: /home/pbs/.secondlife/cache_coolvlviewer (repeated 6 times)

Verify that you got the right read/write permissions...

In any case, this is certainly not a viewer bug...


2021-06-18 21:04:46
Profile WWW

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
In today's release, I improved error reporting, so the warning message might tell you more about the error being encountered when trying to access those directories on your file system...


2021-06-19 08:53:46
Profile WWW

Joined: 2010-04-30 23:14:32
Posts: 24
Reply with quote
Henri Beauchamp wrote:
In today's release, I improved error reporting, so the warning message might tell you more about the error being encountered when trying to access those directories on your file system...

Shame on me for reporting this and then getting lost in RL for three months without following up! I just installed your update with the improved error reporting (1.28.2.38) and it still has trouble navigating the windlight folders:

Code:
2021-09-09 03:56:58Z INFO: LLWLWaterParamMgr::loadAllPresets: Loading Default WindLight water settings from /pub/games/SecondLife/app_settings/windlight/water/
2021-09-09 03:56:58Z WARNING: LLDirIterator::LLDirIterator: Invalid path: /pub/games/SecondLife/app_settings/windlight/water/ - Error: Function not implemented
2021-09-09 03:56:58Z INFO: LLWLWaterParamMgr::loadAllPresets: Loading User WindLight water settings from /home/pbs/.secondlife/user_settings/windlight/water/
2021-09-09 03:56:58Z WARNING: LLDirIterator::LLDirIterator: Invalid path: /home/pbs/.secondlife/user_settings/windlight/water/ - Error: Function not implemented


To address your concerns that my filesystem may be broken, I made these changes:
Completely wiped out the old installation so the installer went to a clean directory
chmod -R 777 /pub/games/SecondLife
changed to a different user who has never run SL before (so no ~/.secondlife folder)
installed as root to a completely different partition (/usr/local instead of /pub/games)
copied all of the install path's app_settings/windlight and subdirectories into the new user's ~/.secondlife/user_settings folder in case it worked better to find the files locally

None of that helped. I agree that it must be something uniquely wrong with my system else you'd be hearing from thousands of other users... I'm just at a loss why it doesn't like those paths. I should also mention that I have been running Cool VL Viewer for at least five years, and only in June did I start seeing these errors. Every update I have always renamed the working folder to a new folder and installed fresh, so I wasn't conflicting with old files. Something must have changed.

Oh well, at least I can fall back to the previous version until I figure out what I broke.


2021-09-09 04:14:49
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
SegmentationFault wrote:
Code:
2021-09-09 03:56:58Z INFO: LLWLWaterParamMgr::loadAllPresets: Loading Default WindLight water settings from /pub/games/SecondLife/app_settings/windlight/water/
2021-09-09 03:56:58Z WARNING: LLDirIterator::LLDirIterator: Invalid path: /pub/games/SecondLife/app_settings/windlight/water/ - Error: Function not implemented
2021-09-09 03:56:58Z INFO: LLWLWaterParamMgr::loadAllPresets: Loading User WindLight water settings from /home/pbs/.secondlife/user_settings/windlight/water/
2021-09-09 03:56:58Z WARNING: LLDirIterator::LLDirIterator: Invalid path: /home/pbs/.secondlife/user_settings/windlight/water/ - Error: Function not implemented
There you go: you got the explanation. Somehow, the driver you are using for the filesystem of your /home and /pub directories is not implementing one of the functions used by the boost::filesystem library (and more precisely its is_directory() method)... What is 'mount' (or 'cat /proc/mounts') reporting ?

EDIT: doing a web search for "boost::filesystem::is_directory Function not implemented", I stumbled upon this issue. 'statx' is used by the boost build I am using for the viewer (since present on the build system), but is not available in Linux kernels before v4.11; what is your kernel version ?


2021-09-09 08:30:56
Profile WWW

Joined: 2010-04-30 23:14:32
Posts: 24
Reply with quote
Henri Beauchamp wrote:
EDIT: doing a web search for "boost::filesystem::is_directory Function not implemented", I stumbled upon this issue. 'statx' is used by the boost build I am using for the viewer (since present on the build system), but is not available in Linux kernels before v4.11; what is your kernel version ?


Mystery solved: I am way overdue to update my Debian system, which is still on kernel 4.9. Thank you for your insight!


2021-09-09 16:28:26
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
Next release will make use of boost v1.77.0 anyway. The latter implements "runtime detection of the statx and getrandom system calls on Linux. This can be useful if the syscall is present at compile time but fails with ENOSYS at run time". So, the next viewer release will work even on old kernels...


2021-09-09 17:25:35
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.