Welcome, Guest
Submit ComicRack bugs to get them squashed

TOPIC: Standard Python Libraries missing from .115

Standard Python Libraries missing from .115 7 years 10 months ago #5271

  • cbanack
  • cbanack's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 1328
  • Thank you received: 508
  • Karma: 182
I mistakenly posted this bug in a different part of the forum.

See my comments here:

comicrack.cyolito.com/user-forum/13-scri...7-ironpython-26#5237
The administrator has disabled public write access.

Re: Standard Python Libraries missing from .115 7 years 10 months ago #5423

  • cbanack
  • cbanack's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 1328
  • Thank you received: 508
  • Karma: 182
Also, I just realized that in addition to not having the "Lib" directory, the IronPython 2.6 dll files are out of date (and an important one, "Microsoft.Scripting.Debugging.dll", is missing.)
The administrator has disabled public write access.

Re: Standard Python Libraries missing from .115 7 years 9 months ago #6049

  • cbanack
  • cbanack's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 1328
  • Thank you received: 508
  • Karma: 182
Bump!

Hey cYo, do you have any plans with regards to this issue?
The administrator has disabled public write access.

Re: Standard Python Libraries missing from .115 7 years 9 months ago #6062

  • cYo
  • cYo's Avatar
  • Offline
  • Moderator
  • Posts: 3476
  • Thank you received: 676
  • Karma: 182
You mean the sys from an extra Python install?
The administrator has disabled public write access.

Re: Standard Python Libraries missing from .115 7 years 9 months ago #6066

  • cbanack
  • cbanack's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 1328
  • Thank you received: 508
  • Karma: 182
No, there is a "lib" directory in IronPython that is missing in ComicRack.

It looks like you've copied most of the other IronPython dll files from the standard IronPython installation (i.e. c:\ipy\*.dll) into the main comicrack install directory (alongside comicrack.exe, etc.)

But a standard IronPython installation also has c:\ipy\Lib, which contains all of the Standard Python Libraries. So if you try to run a comicrack script that imports and uses the standard python logging library( "from logging import *"), your script will crash.

But if you copy c:\ipy\Lib into the comicrack install directory, then your script won't crash anymore, and you can use "logging" (and all the other ironpython libraries).

This isn't a really big deal to me, since I am using .NET libraries for most things in my scripts...but it would be kinda cool to have access to python libraries too.
The administrator has disabled public write access.
Time to create page: 0.163 seconds

Who's Online

We have 268 guests and 3 members online