 |
Larkin Wizard

Joined: 25 Mar 2003 Posts: 1113 Location: USA
|
Posted: Wed Dec 13, 2006 2:47 pm
[1.23] No install from package library |
I removed 1.22 and deleted the directory before installing 1.23. No registry keys were harmed in the process. I have a single package uploaded to the server, just created yesterday with 1.22.
1. Opened CMUD and edited Lusternia session to change the name and password.
2. Opened session offline.
3. Opened package library window.
4. Used the 'Get latest from server' button.
5. Clicked the install link for Palisade Gear Tracking package. CMUD then told me in the status bar that the installation was successful (and I know that the synchronizing of the install/uninstall link is on the todo list already).
6. Closed package library and opened package editor. No new package shown.
7. Closed package editor and opened sessions window. No new package on the files list.
8. Tried to add the package manually to the session, but no package was found anywhere on the drive. It appears that nothing was downloaded from the server.
This isn't a crash report, obviously, but this would be a showstopper thing for me. One of the greatest features in CMUD is the package library. I don't want to miss out on such a great opportunity to publish my code. |
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Wed Dec 13, 2006 6:20 pm |
I'll take a look at your package to see why it's not working. I confirmed that it doesn't create a file for the Palisade Gear Tracking, although it works fine when I install other packages in the library.
My guess is that there was a problem uploading the package to the library, although the data in the library database seems to look ok. But I'll definitely look into this before the public release. I definitely want the package library to be working. |
|
|
 |
Larkin Wizard

Joined: 25 Mar 2003 Posts: 1113 Location: USA
|
Posted: Wed Dec 13, 2006 6:44 pm |
Thanks! Greatly appreciated. 
|
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Thu Dec 14, 2006 8:51 pm |
Larkin: the problem seems to be a bad character in your Rift variable. It has the value:
Code: |
%if(%iskey(@rift_count, %1), Û(@rift_count, %1), 0) |
and XML doesn't like that Û character. Not sure what you are trying to do in this variable, but it doesn't look right. I'll see if I can fix XML to allow special characters like this. |
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Thu Dec 14, 2006 9:04 pm |
I have updated the package library so that it can handle downloaded upper-byte characters like Û. So at least it should create a package file now.
But you should be careful when uploading packages to the library. I ran the Compatibility Report on your package and it identified lots of problems. In general, you should only upload a package after it has been syntax checked. |
|
|
 |
Larkin Wizard

Joined: 25 Mar 2003 Posts: 1113 Location: USA
|
Posted: Thu Dec 14, 2006 9:26 pm |
Weird. I didn't put that character in there intentionally. I wonder if something happened in the transfer of the package. The script I used to build the package checks out fine in the CMUD editor and compiler, so I'm not sure what you found in the compatibility report. I swear I checked it and even tested it before I uploaded it!
|
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Thu Dec 14, 2006 10:29 pm |
OK, that's really wierd. I think you might have uploaded the wrong package somehow. The Compatibility Report shows several problems that seem related to indentation, and I can't see how CMUD would have inserted these extra characters. The wierd characters are definitely stored in the database record, so it must be a problem with uploading rather than with downloading.
Try uploading the package again and then download it and check it to see if something changed. If something is changing, then send me the package you are uploading so that I can try it here.
But I'm not sure I'm going to be able to fix this for the public release, because I'm in the final stages of preparing the release. |
|
|
 |
Larkin Wizard

Joined: 25 Mar 2003 Posts: 1113 Location: USA
|
Posted: Thu Dec 14, 2006 10:40 pm |
I did upload the package twice. I found a couple minor errors in the #SUB I had for my pocketbelts trigger. I uploaded the second one with the same details (name, comment) from a different .pkg (obviously, right?) and a higher version (1.00 -> 1.01), and I was glad that it was so easy! The problem might be in the overwriting of the subsequent downloads, or maybe it's just a problem with the uploading in general. I can wait patiently for the fix, and I know it'll all be taken care of eventually. Thanks again.
|
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Thu Dec 14, 2006 11:03 pm |
Well, I'm a bit more worried that you are about this because I'm concerned that either CMUD or the server scripts are doing something to change your package data. Can you still send me the *.pkg file that you are uploading so that I can look at it here? Even if I don't fix this for the public release, I'm still going to need to fix it eventually. But I'd sleep better knowing if the package library was really working.
|
|
|
 |
Larkin Wizard

Joined: 25 Mar 2003 Posts: 1113 Location: USA
|
Posted: Thu Dec 14, 2006 11:31 pm |
I can e-mail you the package I just created from the same script, but I deleted the original package file when I re-installed CMUD, unfortunately.
|
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Thu Dec 14, 2006 11:33 pm |
Well, if you have uploaded this package to the library, the library still contains the bad characters, so I think it would still be useful. If you haven't loaded the new package into the library, double check it using the Compatibility Report and then upload it and let me know and I'll check the database for the bad characters again.
|
|
|
 |
Larkin Wizard

Joined: 25 Mar 2003 Posts: 1113 Location: USA
|
Posted: Fri Dec 15, 2006 2:17 am |
I ran into a problem or two in getting it uploaded again, but I have created a separate entry in the library for it. I opened a new session (offline) and tried to download and install the second package entry, but it had the same result as the first. Downloaded and said "Package installed successfully," but nothing saved to disk or showing up in the settings.
|
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Fri Dec 15, 2006 2:19 am |
Yep, I see the new package. The Belt and Rift variables have the same wierd characters in them. Did you send me your *.pkg file?
|
|
|
 |
Larkin Wizard

Joined: 25 Mar 2003 Posts: 1113 Location: USA
|
Posted: Fri Dec 15, 2006 2:24 am |
I sent one version. I'll send this second one, also. Thanks for reminding me.
|
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Fri Dec 15, 2006 2:29 am |
Yep, got it. Looking at it now.
|
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Fri Dec 15, 2006 2:52 am |
Found it! There was an extra urldecode being done, so the %db function call in CMUD was getting converted to the Û character (hex DB char value). Thanks for reporting this...it was both a problem on the server *and* within CMUD itself, so I was able to fix it in the 1.24 version.
|
|
|
 |
|
|