WizMac v0.7 and 280 firmware - New issue?

Advanced Discussions on Programing for & Modifying Beyonwiz Products.

Moderators: Gully, peteru

Post Reply
User avatar
Vatoe
Master
Posts: 140
Joined: Thu May 31, 2007 15:30

WizMac v0.7 and 280 firmware - New issue?

Post by Vatoe » Thu Dec 11, 2008 12:02

Can any other fellow Mac users let me know if they are still able to connect to the Wizzy with the latest WizMac (v0.7) and Wizzy (280) firmware? I had previous nil problems, but now with the latest firmware installed WizMac 'stalls' on retrieving file list. I used to be able to retrieve the file list in about 1-2 seconds, now I can't even do that?
So many gadgets, so little time...

User avatar
Gully
Moderator
Posts: 7736
Joined: Thu Aug 30, 2007 22:08
Location: Melbourne

Post by Gully » Thu Dec 11, 2008 12:17

There have been some changes I believe in the index.txt file and Peter had to update utils to deal with that, so that might be why.
Cheers
Gully
_____________
Beyonwiz U4
Logitech Harmony Elite
Google Pixel 6 Pro

prl
Wizard God
Posts: 32705
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Post by prl » Thu Dec 11, 2008 13:55

The structure of the names inside the index.txt file have changed, but fetching index.txt should take no longer. I can't think of anything in the changes to index.txt that would break getWizPnP. The changes I made to it were to take advantage of new information encoded in what I had been treating as simple strings up to .261. This allowed me to do folder selection and sorting by name. I don't know why WizMac would have problems, but I've never looked closely at the code. If Eric (efry) doesn't respond here, try PMing him.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

em5500
Apprentice
Posts: 30
Joined: Sun Jan 27, 2008 18:29

Re: WizMac v0.7 and 280 firmware - New issue?

Post by em5500 » Thu Dec 11, 2008 20:24

Vatoe wrote:Can any other fellow Mac users let me know if they are still able to connect to the Wizzy with the latest WizMac (v0.7) and Wizzy (280) firmware? I had previous nil problems, but now with the latest firmware installed WizMac 'stalls' on retrieving file list. I used to be able to retrieve the file list in about 1-2 seconds, now I can't even do that?
I have problems too, using WizMac v0.7 on OS X 10.4.11 (PPC), connecting to a P1 running firmware 280. It hangs for a while at "Retrieving file list. (58/61)", then crashes.

Code: Select all

Thread 0 Crashed:
0   <<00000000>> 	0xffff8a50 __memcpy + 688 (cpu_capabilities.h:189)
1   com.apple.CoreFoundation 	0x907bcea0 __CFStringCreateImmutableFunnel3 + 1896
2   com.apple.CoreFoundation 	0x907c772c CFStringCreateWithSubstring + 564
3   com.apple.Foundation     	0x92bff308 -[NSCFString substringWithRange:] + 172
4   org.openwiz.WizMac       	0x000048d4 -[WizIndex loadNextWizFile] + 192
5   org.openwiz.WizMac       	0x00005b08 -[WizConnectDownload connectionDidFinishLoading:] + 108
6   com.apple.Foundation     	0x92c27870 -[NSURLConnection(NSURLConnectionInternal) _sendDidFinishLoadingCallback] + 188
7   com.apple.Foundation     	0x92c25adc -[NSURLConnection(NSURLConnectionInternal) _sendCallbacks] + 556
8   com.apple.Foundation     	0x92c25834 _sendCallbacks + 156
9   com.apple.CoreFoundation 	0x907df300 __CFRunLoopDoSources0 + 384
10  com.apple.CoreFoundation 	0x907de830 __CFRunLoopRun + 452
11  com.apple.CoreFoundation 	0x907de2b0 CFRunLoopRunSpecific + 268
12  com.apple.HIToolbox      	0x932adb20 RunCurrentEventLoopInMode + 264
13  com.apple.HIToolbox      	0x932ad1b4 ReceiveNextEventCommon + 380
14  com.apple.HIToolbox      	0x932ad020 BlockUntilNextEventMatchingListInMode + 96
15  com.apple.AppKit         	0x93792734 _DPSNextEvent + 384
16  com.apple.AppKit         	0x937923f8 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 116
17  com.apple.AppKit         	0x9378e93c -[NSApplication run] + 472
18  com.apple.AppKit         	0x9387f458 NSApplicationMain + 452
19  org.openwiz.WizMac       	0x00002914 _start + 760
20  org.openwiz.WizMac       	0x00002618 start + 48

armiller45
Apprentice
Posts: 61
Joined: Sat Feb 16, 2008 13:56
Location: Wollongong, NSW

Post by armiller45 » Fri Dec 12, 2008 06:13

Hmmm! Just tried mine which was previously working fine. It starts retrieving file list, gets to 42/45 and then crashes.
BW DP P1 + LiDiC
BW to Sony LCD Bravia X via HDMI
Austar to LiDiC via S-Video
Intel iMac: 2 GHz/Core 2 Duo/1 GB Ram/Mac OS X 10.4

efry
Master
Posts: 150
Joined: Thu Aug 30, 2007 22:01
Location: Sydney
Contact:

Post by efry » Fri Dec 12, 2008 06:49

Hi Guys,

I've found the issue. There was a slight change to the index file format in this firmware release which adds directory support.

This is currently causing wizmac to crash. :( I've got a fix for the problem but I'm in the middle of changing computers so my files are all over the place. I'll try to commit it to openwiz and make a new release either tonight or over the weekend.

If you're in a super hurry to get it working and can compile from source then just add the following if statement

Code: Select all

			if(range.location == NSNotFound) //skip directories
				continue;
after the line

Code: Select all

			range = [line rangeOfCharacterFromSet: [NSCharacterSet characterSetWithCharactersInString: @"|"]];
in WizIndex.m

This will filter out the new directories in the listing.

Regards,
Eric

armiller45
Apprentice
Posts: 61
Joined: Sat Feb 16, 2008 13:56
Location: Wollongong, NSW

Post by armiller45 » Fri Dec 12, 2008 07:23

Thanks Eric. No great hurry - I'm happy to wait until you get around to it. Well done!
BW DP P1 + LiDiC
BW to Sony LCD Bravia X via HDMI
Austar to LiDiC via S-Video
Intel iMac: 2 GHz/Core 2 Duo/1 GB Ram/Mac OS X 10.4

User avatar
Vatoe
Master
Posts: 140
Joined: Thu May 31, 2007 15:30

Post by Vatoe » Fri Dec 12, 2008 08:50

armiller45 wrote:Thanks Eric. No great hurry - I'm happy to wait until you get around to it. Well done!
Ditto here. While your at it, add that delete file function :wink:
So many gadgets, so little time...

prl
Wizard God
Posts: 32705
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Post by prl » Fri Dec 12, 2008 09:28

Vatoe wrote:
armiller45 wrote:Thanks Eric. No great hurry - I'm happy to wait until you get around to it. Well done!
Ditto here. While your at it, add that delete file function :wink:
Eric, feel free to look at the code for that in getWizPnP.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

efry
Master
Posts: 150
Joined: Thu Aug 30, 2007 22:01
Location: Sydney
Contact:

Post by efry » Tue Dec 16, 2008 22:28

Hi Guys,

I've released wizmac v0.8 which should fix this issue. It also displays directories. :)

Delete support isn't in yet but it is on my todo list.

Regards,
Eric

armiller45
Apprentice
Posts: 61
Joined: Sat Feb 16, 2008 13:56
Location: Wollongong, NSW

Post by armiller45 » Wed Dec 17, 2008 04:14

Thank Eric. Works great - well done!
BW DP P1 + LiDiC
BW to Sony LCD Bravia X via HDMI
Austar to LiDiC via S-Video
Intel iMac: 2 GHz/Core 2 Duo/1 GB Ram/Mac OS X 10.4

Post Reply

Return to “Software Developers”