Rendering bugs & small talk

The official forum for ZSNES documentation. Discuss future changes, mistakes, etc...
You can also join us on IRC at irc.freenode.net in #zsnes-docs.

Moderators: ZSNES Mods, ZSNES Doc Team

Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

Here's some of our problems:

Code: Select all

[n-a-c-h@sc8-pr-shell1 ~]$ cd /home/groups/z/zs/zsnes-docs/htdocs/docs/wip/
[n-a-c-h@sc8-pr-shell1 wip]$ ls -la
total 12
drwxrwxr--  3 bassjpc zsnes-docs 4096 Oct 28 23:53 .
drwxrwxr-x  3 bassjpc zsnes-docs 4096 Dec 17 15:34 ..
drwxrwxr--  3 bassjpc users      4096 Oct 28 23:52 images
[n-a-c-h@sc8-pr-shell1 wip]$ ls -la images
total 12
drwxrwxr--  3 bassjpc users      4096 Oct 28 23:52 .
drwxrwxr--  3 bassjpc zsnes-docs 4096 Oct 28 23:53 ..
drwxr-xr-x  7 xamenus users      4096 Jul  6 21:47 .svn
[n-a-c-h@sc8-pr-shell1 wip]$ rmdir images
rmdir: `images': Directory not empty
[n-a-c-h@sc8-pr-shell1 wip]$ ls -la images/.svn
total 44
drwxr-xr-x  7 xamenus users 4096 Jul  6 21:47 .
drwxrwxr--  3 bassjpc users 4096 Oct 28 23:52 ..
-rw-rw-r--  1 xamenus users  102 Jun 13  2006 dir-wcprops
-rw-rw-r--  1 xamenus users    0 Jun 13  2006 empty-file
-rw-rw-r--  1 xamenus users 3156 Jul  3 21:10 entries
-rw-rw-r--  1 xamenus users    2 Jun 13  2006 format
drwxr-xr-x  2 xamenus users 4096 Jul  6 21:47 prop-base
drwxr-xr-x  2 xamenus users 4096 Jul  6 21:47 props
-rw-rw-r--  1 xamenus users  118 Jun 13  2006 README.txt
drwxr-xr-x  2 xamenus users 4096 Jul  6 21:47 text-base
drwxr-xr-x  6 xamenus users 4096 Jul  6 21:47 tmp
drwxr-xr-x  2 xamenus users 4096 Jul  6 21:47 wcprops
[n-a-c-h@sc8-pr-shell1 wip]$
/home/groups/z/zs/zsnes-docs/htdocs/docs/wip/images/.svn is owned by xamenus no group permissions and not group write. It has to be emptied before it can be deleted.
Once that's done, only Jipcy can delete images/.svn and images for the same reason.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

Okay, xamenus let me into his account, we're having some issues here, somehow xamenus is no longer in the zsnes-docs group, so he can't even access some directories, Jipcy, I need you to make all the directories you own leading to the problematic path to be marked executable to everyone.

Edit:
n/m, with some fancy tricks switching users in the middle of directory paths, I managed to delete the whole problematic wip/ set of directories. Thanks xamenus.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
xamenus
Veteran
Posts: 907
Joined: Fri Jul 30, 2004 12:26 am

Post by xamenus »

OK, great. Thanks for getting it fixed.
Jipcy
Veteran
Posts: 768
Joined: Thu Feb 03, 2005 8:18 pm
Contact:

Post by Jipcy »

Yes, thank you Nach. I deleted the docs/ folder now. I'm using a different system of folders now.
[url=http://zsnes-docs.sf.net]Official ZSNES Docs[/url] | [url=http://zsnes-docs.sf.net/nsrt]NSRT Guide[/url] | [url=http://endoftransmission.net/phpBB3/viewtopic.php?t=394]Using a Wiimote w/ emulators[/url]
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

Okay I looked over directions as requested.

Code: Select all


- Export the following folders to a folder outside your local copy of the repository:
    - chm
    - html
    - text
    - web
  THIS IS VERY IMPORTANT SO THAT YOU DON'T ACCIDENTALLY UPLOAD A BUNCH OF .svn FOLDERS!!
Not sure what you mean by export. But be very careful when making the copy. Furthermore any file/directory prefixed with a '.' becomes hidden under unix, so it may be hard to see the .svn directory.

Also in regards to all this, I'm a bit disturbed that xamenus isn't in our group. It is paramount that prior to setting the permissions to group readable that zsnes-docs is the groups, otherwise we could be giving write permission to our webpage to other people who have an account on the server.

In addition to all this, chmod 775 and 644 is very important too as if they're not set that way, people will have issues viewing the webpage. Meaning directories need o+rx and files need o+r.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Jipcy
Veteran
Posts: 768
Joined: Thu Feb 03, 2005 8:18 pm
Contact:

Post by Jipcy »

Nach wrote:Not sure what you mean by export.
TortoiseSVN has an "export" function which basically copies your working copy to another folder, without all the .svn folders.
Also in regards to all this, I'm a bit disturbed that xamenus isn't in our group. It is paramount that prior to setting the permissions to group readable that zsnes-docs is the groups, otherwise we could be giving write permission to our webpage to other people who have an account on the server.
Any thoughts on how to resolve these issues? I don't have a clue. How does one check to see what group they're in?

EDIT: I changed some permissions for the various zsnes-docs members. I gave xamenus and RichardC permission to access the shell server (according to the Members page). Maybe xamenus will be in our group now.
In addition to all this, chmod 775 and 644 is very important too as if they're not set that way, people will have issues viewing the webpage. Meaning directories need o+rx and files need o+r.
Ok, well do the directions make that clear enough?
Last edited by Jipcy on Wed Dec 27, 2006 9:43 am, edited 1 time in total.
[url=http://zsnes-docs.sf.net]Official ZSNES Docs[/url] | [url=http://zsnes-docs.sf.net/nsrt]NSRT Guide[/url] | [url=http://endoftransmission.net/phpBB3/viewtopic.php?t=394]Using a Wiimote w/ emulators[/url]
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

Jipcy wrote:
Also in regards to all this, I'm a bit disturbed that xamenus isn't in our group. It is paramount that prior to setting the permissions to group readable that zsnes-docs is the groups, otherwise we could be giving write permission to our webpage to other people who have an account on the server.
Any thoughts on how to resolve these issues? I don't have a clue. How does one check to see what group they're in?
You can see what groups a person is a member of by doing the following in the SSH terminal:
groups username
Example:

Code: Select all

/home/nach> groups nach grinvader jdratlif zones
nach : nach dialout cdrom floppy audio video plugdev nsrt nsrtother
grinvader : grinvader nsrt nsrtother
jdratlif : jdratlif nsrtother
zones : zones nsrt nsrtother
/home/nach>
For some reason though, it's taking forever to run on SF's server. Hopefully we'll all be able to move over to BS soon.
Jipcy wrote:
In addition to all this, chmod 775 and 644 is very important too as if they're not set that way, people will have issues viewing the webpage. Meaning directories need o+rx and files need o+r.
Ok, well do the directions make that clear enough?
Well, they're clear for me. I just worry that they may not be clear enough to someone who lacks understanding on unix permissions, and how they relate to group projects and webpages.

Edit:
Here's a page on unix permissions explained:
http://www.perlfect.com/articles/chmod.shtml

The page has minor typos and I think can be written a bit better, but if you're clueless this should provide you with all the basic must know info.

Just remember unless the file is owned by the webserver's user/group (which could be apache or www or http or something along those lines), you need to think of the 'other' permissions for stuff to be accessed by the web server.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

I'm not sure where the bug is, however history.htm still displays the background improperly at the very bottom of the page.

Edit: and it appears to be browser specific:
Image

It's bugging for me under:
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1) Gecko/20061024 Iceweasel/2.0 (Debian-2.0+dfsg-1)
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.0.8) Gecko/20061105 Iceape/1.0.6 (Debian-1.0.6-1)
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.1) Gecko/20061205 Iceweasel/2.0.0.1
Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1.1) Gecko/20061208 Firefox/2.0.0.1

Others seem fine.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Jipcy
Veteran
Posts: 768
Joined: Thu Feb 03, 2005 8:18 pm
Contact:

Post by Jipcy »

Nach wrote:Others seem fine.
Other browsers or the other pages, or both?

The page validates just fine, so the markup doesn't appear to be responsible.

History.htm is the largest page both in bytes and render size (length). Perhaps that browser has a problem with one or both of those things.

Other than that, I can't think of anything. I'll take a look sometime.
[url=http://zsnes-docs.sf.net]Official ZSNES Docs[/url] | [url=http://zsnes-docs.sf.net/nsrt]NSRT Guide[/url] | [url=http://endoftransmission.net/phpBB3/viewtopic.php?t=394]Using a Wiimote w/ emulators[/url]
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

See, the strange thing is that it works for me I've tested this under IE 5.01, Opera 9.10, and Firefox 2.0.1. I get no strangeness here.
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

Other pages and non Linux/Gecko browsers seem fine.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Jipcy
Veteran
Posts: 768
Joined: Thu Feb 03, 2005 8:18 pm
Contact:

Post by Jipcy »

Nach, I have no idea what the problem is. Let me know if you ever notice a change and we can narrow down what may have fixed it.
[url=http://zsnes-docs.sf.net]Official ZSNES Docs[/url] | [url=http://zsnes-docs.sf.net/nsrt]NSRT Guide[/url] | [url=http://endoftransmission.net/phpBB3/viewtopic.php?t=394]Using a Wiimote w/ emulators[/url]
Jipcy
Veteran
Posts: 768
Joined: Thu Feb 03, 2005 8:18 pm
Contact:

Post by Jipcy »

I just wanted to give an update to what I'm doing. I haven't been around much.

A new semester is starting for me. I'll be taking 15 credit hours (5 classes), which is three credit hours (1 class) more than I usually do. In addition, I plan on holding a job (the kind that pays money).

So, my time will be rather limited.

I am more than happy to offer all the help I can in regards to the HTML and CSS of the ZSNES Docs. In addition, I can continue to do any required maintenance on the NSRT Guide. However, I will not have the time or energy to work on much changes to the content of the ZSNES Docs.

xamenus, I greatly thank you for working on the docs lately.

Please let me know if there's anything else I can do to help, within the constraints I layed out above.
[url=http://zsnes-docs.sf.net]Official ZSNES Docs[/url] | [url=http://zsnes-docs.sf.net/nsrt]NSRT Guide[/url] | [url=http://endoftransmission.net/phpBB3/viewtopic.php?t=394]Using a Wiimote w/ emulators[/url]
xamenus
Veteran
Posts: 907
Joined: Fri Jul 30, 2004 12:26 am

Post by xamenus »

I've been busy with a semester as well. Sorry for not getting around to the updates.
Post Reply