plainblack.com
Username Password
search
Bookmark and Share
View All Tickets
Polls not working on OS X Intel  (#3180)
IssueI migrated a 7.3.18 WebGUI from a G4 to an Intel Xserve (still on Mac OS X). I downloaded the Intel OS X WRE on the new server and followed the instructions on docs/upgrade.txt Imported the sql dump and everything seems ok except from Polls. Existing polls were all using the Graph module (specifically the Pie chart). Now if I try to access them or even to modify them using ?func=edit, a blank page is shown and this error gets displayed on webgui.log (also available at http://paste.biz/paste-2348.html ): main::[[undef]] - Couldn't call method view on asset for url: home/homepoll Root cause: Byte order is not compatible at ../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/thaw.al) line 366, at /data/WebGUI/lib/WebGUI/Asset/Wobject/Poll.pm line 392 I found that newly crated Polls display the same error if using the Graph module but they work with the old-style graph. Also I don't think it can be Image Magick as thumbnails work when uploading new images. Searching on plainblack.com I found that thread http://www.plainblack.com/etcetera/byte_ordering_problem_with_theme_files/re_byte_ordering_problem_with_theme_files3 A user says: "WebGUI uses Storable for storing / retrieving data. The store method is not platform-independent. This is a known issue, and planned to be fixed somewhere during the 6.x
Solution Summary
Comments
fathertorque
0
6/20/2007 4:41 pm
The captcha on registration doesn't work anymore too. I had to remove it since the captcha image doesn't display (src is not found in the /uploads
Graham
0
7/23/2007 9:49 am

Are you certain you are getting the exact same errors when creating a new graph?

The captcha problem is probably due to the issue with png images on OSX Intel.  That would also prevent the graph generation from working.

As far as the Storable problem, there isn't going to be a way to retrieve that data on the Intel machine.  We do need to remove the use of storable.

fathertorque
0
7/23/2007 3:15 pm
[quote]

Are you certain you are getting the exact same errors when creating a new graph?[/quote] Yes I'm 100% sure. Do you think this will get fixed in

fathertorque
0
7/24/2007 2:12 am
or maybe with the next release of the WRE? Could you anticipate me when it will be available more or less? Thank
JT
0
7/24/2007 12:43 pm
My best estimate at this point is that WRE 0.8.0 will be out in August, which will have a fix for the PNG problem, but there is also a problem with the graph itself in that it uses Storable to store it's graph properties, which is not portable between architectures (PPC to Intel 32 for example). The Storable problem needs to be fixed in WebGUI itself, and regardless of when that is fixed, you'll need to fix your graph properties manually because you have already made the switch between the two platforms, so there is no way to go back and fix the problem in the
fathertorque
0
7/25/2007 3:52 am
Thanks for the reply. actually I had to delete those polls and recreate them using the normal 2D graph. But that is blowing off my page design so I really need to enable 3D graphs (pie charts) again. I hope the Storable thing will be fixed
preaction
0
8/14/2007 10:19 am
I'm working on this bug: Is the proposed solution to stop using Storable as a serializer and use something else (like
preaction
0
8/14/2007 12:19 pm

This has been fixed in 7.4.3.

You will still need to re-create your Graph configurations if they're broken though, but now they will actually stay stored.

Closing as resolved. 

fathertorque
0
8/15/2007 9:25 am
Great thanks! So no more storable? Smile
Graham
0
8/15/2007 11:13 am
Storable isn't used in the poll anymore, but it hasn't been removed from a couple other places
preaction
0
8/15/2007 4:26 pm

If the only problem is the byte-order problem, then using "nfreeze" instead of "freeze" with Storable should work fine (rather than re-writing the serialization to use JSON).

I'm not sure how that would work during an upgrade, though. 

Details
Ticket Status Closed  
Rating0.0 
Submitted Byfathertorque 
Date Submitted2007-06-07 
Assigned To unassigned  
Date Assigned2010-09-02 
Assigned By 
Severity Fatal (can't continue until this is resolved)  
What's the bug in?  
WebGUI / WRE Version 7.3.18  
URLbugs/tracker/polls-not-working-on-os-x-intel
Keywords
Ticket History
© 2010 Plain Black Corporation | All Rights Reserved