There is the option of running agent without using gtk. Make sure you build
it so that it always use that option, and gtk won't be a problem.
On Fri, Jun 7, 2013 at 9:57 AM, Narendran Thangarajan <
narendran.thangara...@gmail.com> wrote:
> The gtk dependency is pulled in by
> SoftwareUpdate.py<https://github.com/umitproject/openmonitor-desktop-agent/blob/master/umit/icm/agent/gui/SoftwareUpdate.py#L20>during
> the the check version flow in
> aggregator.py<https://github.com/umitproject/openmonitor-desktop-agent/blob/master/umit/icm/agent/rpc/aggregator.py#L505>.
> Should we just conditionally drop the gtk dependency only on Windows, in
> which case we need some code changes to be done wherever gtk is pulled in..
> Alternatively, we can ignore this error and go ahead with bundling since
> it doesn't affect the functionality of the desktop agent. ie. the reports
> are sent to aggregator and I can see the alert on east1.
>
> Thanks,
> Narendran.
>
>
> On Thu, Jun 6, 2013 at 6:40 PM, Adriano Marques <py.adri...@gmail.com>wrote:
>
>> Try to drop the gtk dependency. Trying to get gtk on windows, and in a
>> bundle is a huge PAIN.
>>
>>
>> On Thu, Jun 6, 2013 at 6:21 AM, Narendran Thangarajan <
>> narendran.thangara...@gmail.com> wrote:
>>
>>> Adriano and Luis,
>>> Based on the stats from
>>> wikipedia<http://en.wikipedia.org/wiki/Usage_share_of_operating_systems> and
>>> w3schools <http://www.w3schools.com/browsers/browsers_os.asp>, I feel
>>> Windows 7 will be the best choice as it is holds the largest usage share.
>>> So I am starting with the Windows 7 VM. Currently I have setup a Win7 VM in
>>> VMWare, installed the required dependencies and have the desktop agent
>>> working talking to the east1 instance. But I see a couple of issues while
>>> running the desktop agent :
>>>
>>> * 1. Aggregator failure: [Failure instance: Traceback: <type
>>> 'exceptions.ImportError'>: No module named gtk (Happens just once during
>>> the desktop agent startup)*
>>> [ERROR] - 2013-06-06 16:33:04,125 - Aggregator failure: [Failure
>>> instance: Traceback: <type 'exceptions.ImportError'>: No module named gtk
>>> C:\Python27\lib\site-packages\twisted\internet\tcp.py:299:connectionLost
>>> C:\Python27\lib\site-packages\twisted\web\client.py:206:connectionLost
>>> C:\Python27\lib\site-packages\twisted\internet\defer.py:380:callback
>>>
>>> C:\Python27\lib\site-packages\twisted\internet\defer.py:488:_startRunCallbacks
>>> --- <exception caught here> ---
>>> C:\Python27\lib\site-packages\twisted\internet\defer.py:575:_runCallbacks
>>>
>>> C:\Users\narendran\Downloads\openmonitor-desktop-agent\openmonitor-desktop-agent\umit\icm\agent\rpc\aggregator.py:505:_handle_check_version_response
>>>
>>> C:\Users\narendran\Downloads\openmonitor-desktop-agent\openmonitor-desktop-agent\umit\icm\agent\gui\SoftwareUpdate.py:20:<module>
>>> ]
>>>
>>> 2. *Malformed message received. Connection tear down. (Multiple
>>> occurrences after the AuthenticatePeer phase)*
>>> [WARNING] - 2013-06-06 16:33:05,608 - Malformed message received.
>>> Connection tear down. IPv4Address(TCP, u'210.210.41.202', 80)
>>> HTTP/1.1 400 Bad Request
>>> Cache-Control: no-cache
>>> Pragma: no-cache
>>> Content-Type: text/html; charset=utf-8
>>> Connection: close
>>> Content-Length: 713
>>>
>>> Once we solve these two issues, the Windows snapshot VM will be usable.
>>>
>>> Thanks,
>>> Narendran.
>>>
>>>
>>> On Wed, Jun 5, 2013 at 7:06 PM, Adriano Marques <py.adri...@gmail.com>wrote:
>>>
>>>> Great idea Narendran! What windows version are you going to use?
>>>>
>>>>
>>>> On Wed, Jun 5, 2013 at 8:33 AM, Luis A. Bastiao Silva <
>>>> luis....@gmail.com> wrote:
>>>>
>>>>> Hi Narendran,
>>>>>
>>>>> Did you get any progress with it? Probably during the bundling there
>>>>> are several issues that will raise. Please, keep us posted and keep the
>>>>> discussion in the loop.
>>>>>
>>>>> On Tue, Jun 4, 2013 at 8:19 PM, Narendran Thangarajan <
>>>>> narendran.thangara...@gmail.com> wrote:
>>>>>
>>>>>> Hi,
>>>>>> I discussed with Luis regarding bundling of desktop agent so that
>>>>>> its easier to use for our users. Following are the steps which I have
>>>>>> identified as the top level activities involved in bundling.
>>>>>>
>>>>>> 1. Create a plain Windows VM.
>>>>>> 2. Install the required dependencies for OpenMonitor desktop
>>>>>> agent.
>>>>>> 3. Get the desktop agent to run on the VM.
>>>>>> 4. Prepare a vdx or vdmk file so that end-users can use it like a
>>>>>> snapshot.
>>>>>>
>>>>>> Let me know if you have suggestions around this.
>>>>>>
>>>>>> Thanks,
>>>>>> Narendran Thangarajan.
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> How ServiceNow helps IT people transform IT departments:
>>>>>> 1. A cloud service to automate IT design, transition and operations
>>>>>> 2. Dashboards that offer high-level views of enterprise services
>>>>>> 3. A single system of record for all IT processes
>>>>>> http://p.sf.net/sfu/servicenow-d2d-j
>>>>>> _______________________________________________
>>>>>> Umit-devel mailing list
>>>>>> Umit-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/umit-devel
>>>>>>
>>>>>>
>>>>>
>>>>> Best Regards,
>>>>> --
>>>>> Luís A. Bastião Silva
>>>>> Skype: koplabs
>>>>> http://www.bastiao.org
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> How ServiceNow helps IT people transform IT departments:
>>>>> 1. A cloud service to automate IT design, transition and operations
>>>>> 2. Dashboards that offer high-level views of enterprise services
>>>>> 3. A single system of record for all IT processes
>>>>> http://p.sf.net/sfu/servicenow-d2d-j
>>>>> _______________________________________________
>>>>> Umit-devel mailing list
>>>>> Umit-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/umit-devel
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Adriano Monteiro Marques
>>>> http://about.me/adrianommarques
>>>>
>>>
>>>
>>
>>
>> --
>> Adriano Monteiro Marques
>> http://about.me/adrianommarques
>>
>
>
--
Adriano Monteiro Marques
http://about.me/adrianommarques
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Umit-devel mailing list
Umit-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/umit-devel