[Bug 908856] Re: Error: Unpack requires a string argument of length 4

2013-04-23 Thread wvengen
** Changed in: disper Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/908856 Title: Error: Unpack requires a string argument of length 4 To manage

[Bug 908856] Re: Error: Unpack requires a string argument of length 4

2013-04-04 Thread Mike Cook
I've since updated from F16 to F18 (and all the kernel/driver updates that entails) on the same hardware, and it appears the problem no longer occurs for me. I verified it works with or without the workaround in place. -- You received this bug notification because you are a member of Ubuntu

[Bug 908856] Re: Error: Unpack requires a string argument of length 4

2013-04-04 Thread wvengen
Thanks, Mike, for checking! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/908856 Title: Error: Unpack requires a string argument of length 4 To manage notifications about this bug go to:

[Bug 908856] Re: Error: Unpack requires a string argument of length 4

2013-04-02 Thread wvengen
Is this still an issue? Could you please verify that it is an issue with 0.3.0, and if the current disper bzr trunk solves it? I've committed the workaround as mentioned in comment #14. ** Changed in: disper Status: Triaged = Fix Committed ** Changed in: disper Assignee: (unassigned)

[Bug 908856] Re: Error: Unpack requires a string argument of length 4

2012-11-20 Thread Roger Preece
I used the python fix from Mike Cook in comment #14. It works fine now. I'm wondering if it's related to some python updates that I've received within the last couple of weeks. I'm on Linux Mint 13 KDE which is based on Ubuntu 12.04 (if I remember correctly). -- You received this bug

[Bug 908856] Re: Error: Unpack requires a string argument of length 4

2012-06-07 Thread Ted
I've got the same problem, and I'm willing to try the workaround in #14. Okay, stupid question: I've made the changes in the minx.py. What do I do next? How do I compile it? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 908856] Re: Error: Unpack requires a string argument of length 4

2012-06-07 Thread wvengen
Thanks, Mike, for getting to the cause of the problem! This might be a bug in X (especially if a protocol detail differs between i386 and x86_64), but at least we can workaround it. I'll look into this in more detail later. ** Changed in: disper Importance: Undecided = High ** Changed in:

[Bug 908856] Re: Error: Unpack requires a string argument of length 4

2012-06-07 Thread Phil
just another me 2... Inspiron E6400 Nvidia Quadro NVS 160M Driver Version 295.40 After rebooting switching profiles works fine - however auto-disper seems to be always get broken (showing the stated error message) after the system resumes from standby. -- You received this bug notification

[Bug 908856] Re: Error: Unpack requires a string argument of length 4

2012-05-11 Thread ed thompson
Just a me-too on this - NVIDIA Corporation GT218 [NVS 3100M] - Thinkpad T510 - Driver 295.40 - Ubuntu 12.04 64-bit -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/908856 Title: Error: Unpack

[Bug 908856] Re: Error: Unpack requires a string argument of length 4

2012-05-09 Thread Ilya Kolpakov
Had the same problem on my Dell laptop with Quadro NVS 160M running Ubuntu 12.04. The workaround in #14 fixed the problem so now I can switch between profiles. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 908856] Re: Error: Unpack requires a string argument of length 4

2012-04-27 Thread Dave Lauer
FWIW, I had the exact same problem and your python edit has fixed it. I'm on a Lenovo Thinkpad W520 with an Nvidia Quadro 1000M in Discrete Mode. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/908856

[Bug 908856] Re: Error: Unpack requires a string argument of length 4

2012-04-26 Thread Mike Cook
Same problem on F16 (x86_64) with Thinkpad W520 (set to discrete, using 2 external and internal off)... After playing around a bit I found in my case decode (in minx.py) is getting down to the unpack call with s0I format and 4 null bytes of data, but the sz is being set to 1. So, the unpack

[Bug 908856] Re: Error: Unpack requires a string argument of length 4

2012-04-26 Thread Mike Cook
Er, so, for a quick workaround I stuck a sanity check to reset sz to the necessary format size if it was too low, and then things seem to consistently work for me (sorry, not a python guy)... --- /usr/share/disper/src/nvidia/minx.py2012-01-17 14:13:47.0 -0700 +++

[Bug 908856] Re: Error: Unpack requires a string argument of length 4

2012-04-26 Thread Mike Cook
Now, that's not a proper solution (should check the data length is long enough), but hopefully it helps identify the issue of why sz isn't getting set properly. (And sorry for the comment spam, as edit would be nice.) -- You received this bug notification because you are a member of Ubuntu

[Bug 908856] Re: Error: Unpack requires a string argument of length 4

2012-04-24 Thread Martin Henze
After reading a bit about what unpack is doing: At least I'm running on 64 bit. If this holds for the others as well, this might help in figuring out what's going on. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 908856] Re: Error: Unpack requires a string argument of length 4

2012-04-23 Thread Martin Henze
Same issue on Ubuntu 12.04 Beta 2 with disper 0.3.0-1 and a GeForce 320M on a MacBook Pro. I'm using autorandr/autodisper to control disper. The first switch worked fine, after that the problem occured. ** Also affects: disper (Ubuntu) Importance: Undecided Status: New -- You

[Bug 908856] Re: Error: Unpack requires a string argument of length 4

2012-04-23 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: disper (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/908856 Title:

[Bug 908856] Re: Error: Unpack requires a string argument of length 4

2012-04-23 Thread wvengen
Thanks everyone for adding your debug information! It seems to be a fairly hard problem. I'll try to look into it when I have the time. Please feel free to add more debugging info when you think it would be useful. -- You received this bug notification because you are a member of Ubuntu Bugs,