Texture writePages [SOLVED]

I tried running the code from http://www.panda3d.org/manual/index.php/Woodgrain_Example but it gives me the following error:

AttributeError: 'libpanda.Texture' object has no attribute 'writePages'

Is this method no longer supported? Is that example not updated?


It actually seems that the method writePages no longer exists. I accomplished the same by using:

tex.write(Filename('woodgrain_#.png'), 0, 0, True, False)

Can I update the Woodgrain_Example? I read somewhere that the manual pages were actually wikis…


Yes, please do, thanks! You can log into the wiki by clicking on the tiny dot below the page. It gives you an error message, but you’re logged in anyway. Go back to the page and you have an edit button on the button.


I tried login in and it didn’t let me to, as you said. Went back to the page, and I don’t see and “edit” button :cry:

I have same issue, i cant log into the wiki any more.

Are you sure? Once you click “log on” and see the error message, the colored bar at the bottom of the frame should change to a line of links, including “Edit”. You can then navigate to any of the manual pages and edit them.

It still works for me. Granted, the error message is confusing and annoying.


No, it’s not working for me…

The procedure for editing the wiki is confusing because one page in the login process is worded incorrectly. Until it is fixed, follow this advice: in the manual, if you want to edit a page, click the “.” at the bottom left of the page. This takes you to a log-in page. Enter your information, AND be sure that you are allowing cookies from panda3d.org for the procedure to work. I just tested this successfully with both a newly created user and an old user name on Firefox and Internet Explorer 8.

One communication problem: once you log in, the page wiki/index.php?title=Special:Userlogin&wpCookieCheck=login presents you with this text:

Login error:
Panda3D Manual uses cookies to log in users. You have cookies disabled. Please enable them and try again.

Of course, if you have cookies enabled, this text is incorrect. You will see that you are actually logged in with permissions to edit pages because even on that login page you’ll see a colored bottom menu bar with the text “special prefs whatlinks upload logout main history move edit” on the line. Of course you don’t want to edit this login page (not even sure such special pages can be edited in this way), but either click “main” to go to Manual TOC or otherwise navigate to the page you want to edit. That page, too, will have this bottom menu bar line allowing edits now that you are logged in.

As to the reported problem earlier in this thread, that users formerly logged in can no longer log in: perhaps flush your Panda3D.org cookies in your browser cache and then see if you can log in once more using the above process. If it does not work under Firefox or IE8, perhaps I can immediately help debug the issue. Post your results here and we can work through this issue. Thanks!

I tried all the steps described and I still can’t log in. The error message I get is the following:

Login error:
There is no user by the name "PSBT". Check your spelling, or create a new account.
Log in

Don't have a login? Create an account.

Please read the editing guidelines before editing the manual.

Note: it is not necessary to log in to read the manual. It is only necessary to log in to edit the manual.

You must have cookies enabled to log in to Panda3D Manual. 

The url of the page I get after trying to log in, looks like this:


Is it normal that the error tells me that my user name does not exist?

Yesterday I tried to log-in using Chrome, and later I tried using Firefox. Today after reading the previous reply, I only tried in Firefox, cleaned my private data from the browser, and added a cookies exception for panda3d.org. Even then, it gives me the error I described above, and I don’t see any menu bar at the bottom.


You’re not trying to log in using your forum account, are you? It’s a separate login system - you need to register a new account at the manual if you haven’t already done so.

Ohhh! Sorry! What an idiot I am, haha! I thought I had to use the same account I use in the forums.

I’m terribly sorry for making you all lose your time. I’ll create a new special account then…


I’ve created a new account for editing the wiki, and now I can log-in and I see the menu bar at the bottom.

I’ve updated the page http://www.panda3d.org/manual/index.php/Woodgrain_Example

And the line:


Now looks like this:

tex.write(Filename('woodgrain_#.png'), 0, 0, True, False)

Thank you all for your help!