Discuss Scratch

davidkt
Scratcher
1000+ posts

M30W - Code Scratch with Scratchblocks!

blob8108 wrote:

davidkt wrote:

blob8108 wrote:

davidkt wrote:

Okay, does anyone agree with this syntax: […]
No.
Not that…
I mean: No, I don't agree with your syntax.
I know. But I don't agree with yours. And does anyone else agree?
Magnie
Scratcher
100+ posts

M30W - Code Scratch with Scratchblocks!

davidkt wrote:

blob8108 wrote:

davidkt wrote:

blob8108 wrote:

davidkt wrote:

Okay, does anyone agree with this syntax: […]
No.
Not that…
I mean: No, I don't agree with your syntax.
I know. But I don't agree with yours. And does anyone else agree?
I agree with blob8108's.
davidkt
Scratcher
1000+ posts

M30W - Code Scratch with Scratchblocks!

Magnie wrote:

davidkt wrote:

blob8108 wrote:

davidkt wrote:

blob8108 wrote:

davidkt wrote:

Okay, does anyone agree with this syntax: […]
No.
Not that…
I mean: No, I don't agree with your syntax.
I know. But I don't agree with yours. And does anyone else agree?
I agree with blob8108's.
Anyone else?
MrFlash67
Scratcher
500+ posts

M30W - Code Scratch with Scratchblocks!

davidkt wrote:

Magnie wrote:

davidkt wrote:

blob8108 wrote:

davidkt wrote:

blob8108 wrote:

davidkt wrote:

Okay, does anyone agree with this syntax: […]
No.
Not that…
I mean: No, I don't agree with your syntax.
I know. But I don't agree with yours. And does anyone else agree?
I agree with blob8108's.
Anyone else?
Yes. You might want to have indentation count, but I can't make decisions. (Does editing one line in a config file count? )
davidkt
Scratcher
1000+ posts

M30W - Code Scratch with Scratchblocks!

OK, now that Scratch 2.0 is here with its custom block definitions, I have to agree with blob8108.
cocolover76
Scratcher
100+ posts

M30W - Code Scratch with Scratchblocks!

I tried to install it…
(I did the install again just for this snippet)
coco@CocosBuntu:~$ pip install M30W
Downloading/unpacking M30W
Running setup.py egg_info for package M30W

Downloading/unpacking kurt (from M30W)
Running setup.py egg_info for package kurt

Downloading/unpacking PIL (from M30W)
Running setup.py egg_info for package PIL
WARNING: '' not a valid package name; please use only.-separated package names in setup.py

Requirement already satisfied (use --upgrade to upgrade): wxpython in /usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode (from M30W)
Downloading/unpacking construct==2.0.6 (from kurt->M30W)
Running setup.py egg_info for package construct

Requirement already satisfied (use --upgrade to upgrade): pillow>=2.0 in /usr/lib/python2.7/dist-packages (from kurt->M30W)
Installing collected packages: M30W, kurt, PIL, construct
Running setup.py install for M30W
error: could not create '/usr/local/lib/python2.7/dist-packages/M30W': Permission denied
Complete output from command /usr/bin/python -c "import setuptools;__file__='/tmp/pip-build-coco/M30W/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-CLu4St-record/install-record.txt --single-version-externally-managed:
running install

running build

running build_py

running build_scripts

running install_lib

creating /usr/local/lib/python2.7/dist-packages/M30W

error: could not create '/usr/local/lib/python2.7/dist-packages/M30W': Permission denied

----------------------------------------
Command /usr/bin/python -c "import setuptools;__file__='/tmp/pip-build-coco/M30W/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-CLu4St-record/install-record.txt --single-version-externally-managed failed with error code 1 in /tmp/pip-build-coco/M30W
Storing complete log in /home/coco/.pip/pip.log
coco@CocosBuntu:~$ M30W
M30W: command not found
coco@CocosBuntu:~$
davidkt
Scratcher
1000+ posts

M30W - Code Scratch with Scratchblocks!

Are you an admin?
cocolover76
Scratcher
100+ posts

M30W - Code Scratch with Scratchblocks!

davidkt wrote:

Are you an admin?
Oh. Using sudo to both install and run it fixed it.
EDIT: Nope. Starting scripts does this:

Last edited by cocolover76 (Aug. 30, 2013 21:26:01)

davidkt
Scratcher
1000+ posts

M30W - Code Scratch with Scratchblocks!

cocolover76 wrote:

davidkt wrote:

Are you an admin?
Oh. Using sudo to both install and run it fixed it.
EDIT: Nope. Starting scripts does this:
You need Kurt. Try sudo pip install kurt. (assuming you have pip)
cocolover76
Scratcher
100+ posts

M30W - Code Scratch with Scratchblocks!

davidkt wrote:

cocolover76 wrote:

davidkt wrote:

Are you an admin?
Oh. Using sudo to both install and run it fixed it.
EDIT: Nope. Starting scripts does this:
<snip>
You need Kurt. Try sudo pip install kurt. (assuming you have pip)
Now, it says
M30W encountered an error:
Traceback (most recent call last):

File "/usr/local/lib/python2.7/dist-packages/M30W/GUI/menu.py", line 149, in OnStart
runtime.project.compile_scripts()

File "/usr/local/lib/python2.7/dist-packages/M30W/project.py", line 146, in compile_scripts
self.stage.compile_scripts()

File "/usr/local/lib/python2.7/dist-packages/M30W/sprites/base.py", line 102, in compile_scripts
parsed_scripts = map(kurt.parse_block_plugin, code)

AttributeError: 'module' object has no attribute 'parse_block_plugin'

Do You want to abort?
davidkt
Scratcher
1000+ posts

M30W - Code Scratch with Scratchblocks!

cocolover76 wrote:

davidkt wrote:

cocolover76 wrote:

davidkt wrote:

Are you an admin?
Oh. Using sudo to both install and run it fixed it.
EDIT: Nope. Starting scripts does this:
<snip>
You need Kurt. Try sudo pip install kurt. (assuming you have pip)
Now, it says
M30W encountered an error:
Traceback (most recent call last):

File "/usr/local/lib/python2.7/dist-packages/M30W/GUI/menu.py", line 149, in OnStart
runtime.project.compile_scripts()

File "/usr/local/lib/python2.7/dist-packages/M30W/project.py", line 146, in compile_scripts
self.stage.compile_scripts()

File "/usr/local/lib/python2.7/dist-packages/M30W/sprites/base.py", line 102, in compile_scripts
parsed_scripts = map(kurt.parse_block_plugin, code)

AttributeError: 'module' object has no attribute 'parse_block_plugin'

Do You want to abort?
You don't have PLY.
blob8108
Scratcher
1000+ posts

M30W - Code Scratch with Scratchblocks!

davidkt wrote:

You don't have PLY.
No, the error's more fun than that! That means you're using the wrong version of Kurt. M30W still isn't updated for Kurt 2.0 AFAIK, so you'll need to `pip install kurt==1.4.7`.
davidkt
Scratcher
1000+ posts

M30W - Code Scratch with Scratchblocks!

blob8108 wrote:

davidkt wrote:

You don't have PLY.
No, the error's more fun than that! That means you're using the wrong version of Kurt. M30W still isn't updated for Kurt 2.0 AFAIK, so you'll need to `pip install kurt==1.4.7`.
Oh, we'd better update it!
blob8108
Scratcher
1000+ posts

M30W - Code Scratch with Scratchblocks!

davidkt wrote:

Oh, we'd better update it!
Yes, indeed! Start here: http://kurt.readthedocs.org/en/latest/changes-1.4.html
davidkt
Scratcher
1000+ posts

M30W - Code Scratch with Scratchblocks!

blob8108 wrote:

davidkt wrote:

Oh, we'd better update it!
Yes, indeed! Start here: http://kurt.readthedocs.org/en/latest/changes-1.4.html
Thanks! That's just what I was looking for! I'll start right away!
davidkt
Scratcher
1000+ posts

M30W - Code Scratch with Scratchblocks!

If you're having problems with installation, follow these steps:
  1. Go to Start > Run. On Win 8 right-click the left corner of the screen and click Run.
  2. Type in regedit.exe
  3. In the window, go to HKEY_LOCAL_MACHINE/SOFTWARE/Python/PythonCore/2.7/InstallPath
  4. Right-click on the InstallPath folder and click Export
  5. Make sure Selected branch is selected, then save it where you can find it
  6. Navigate to where you saved the file, right-click and click Edit.
  7. On every line, put Wow6432Node/ in between SOFTWARE/ and Python
  8. Save the file
  9. Double-click the file
  10. Click OK
  11. Click OK
  12. You're done!
roijac
Scratcher
100+ posts

M30W - Code Scratch with Scratchblocks!

I'm not active any more (neither developing M30W or being around on Scratch) so if anybody feels like he wants to code it I'm still available through sourceforge messages so I can make you admin.

Anyway, you'll need to update to wxPython 3.0 and kurt2, good luck and enjoy

Goodbye.
MrFlash67
Scratcher
500+ posts

M30W - Code Scratch with Scratchblocks!

I'd really like to continue, but unfortunately I just don't have the skills to do so.
Perhaps learning some wxpython would be a good holiday project.

EDIT: No chance of GitHub? I don't think you can fork/pullreq on source forge.

Last edited by MrFlash67 (April 18, 2014 21:00:01)

docaiden
Scratcher
100+ posts

M30W - Code Scratch with Scratchblocks!

I cant get it to work this is the error:

Collecting m30w
Using cached M30W-0.2.3.tar.gz
Requirement already satisfied (use –upgrade to upgrade): kurt in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (from m30w)
Collecting PIL (from m30w)
Could not find a version that satisfies the requirement PIL (from m30w) (from versions: )
No matching distribution found for PIL (from m30w)
Aidens-iMac:~ aiden$
NickyNouse
Scratcher
1000+ posts

M30W - Code Scratch with Scratchblocks!

docaiden wrote:

I cant get it to work this is the error:

Collecting m30w
Using cached M30W-0.2.3.tar.gz
Requirement already satisfied (use –upgrade to upgrade): kurt in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (from m30w)
Collecting PIL (from m30w)
Could not find a version that satisfies the requirement PIL (from m30w) (from versions: )
No matching distribution found for PIL (from m30w)
Aidens-iMac:~ aiden$
This post is so old. But I guess this isn't a necro tho since there's no-where better to ask your question.

I can't help you with this problem, but there's a Scratch 2.0 adaptation of this in the works if you're willing to wait for it. It's called tosh and I believe it'll run in your web browser, so you won't run into these kinds of issues.

Powered by DjangoBB