Hi Eduard,

yes, please file a bug report. Thanks for taking such a detailed look at 
this.

Regards,
Daniel

On 06/22/2011 01:36 PM, Eduard Gamonal wrote:
> Hi, (qooxdoo 1.3.x)
> I tried to build an app with
> generate.py build
> where build is a job defined in our (eyeOS) custom config.json
>
> I'm running linux and it failed with a "windowsError is not defined"
> error.  I attempted to copy files and the destination folder's owner
> was somebody with higher privileges.
>
> Looks like in qooxdoo-sdk/tool/pylib/misc/copytool.py there is one
> line which is operating system dependant:
>
> line 77:
>                  if not os.access(targetPath, os.W_OK):
>                      self.__console.debug("Removing write-protected
> target File %s prior to copy." %targetPath)
>                      try:
>                          os.remove(targetPath)
>                      except WindowsError:
>                          try:
>                              os.chmod(targetPath, stat.S_IWUSR)
>                          except Exception, e:
>                              self.__console.error("Unable to overwrite
> read-only file %s: %s" %(str(e), targetPath))
>
> this WindowsError derives from OSError is only defined on a windows system.
>
> I never coded anything in python before, but it seems to me that
> "WindowsError" should be "OSError".
>
> shall I file a bug for that?
>
>
> Edu
>
> ------------------------------------------------------------------------------
> Simplify data backup and recovery for your virtual environment with vRanger.
> Installation's a snap, and flexible recovery options mean your data is safe,
> secure and there when you need it. Data protection magic?
> Nope - It's vRanger. Get your free trial download today.
> http://p.sf.net/sfu/quest-sfdev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to