Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy pasting Fittings doesn't work #474

Closed
SpeedProg opened this issue Dec 12, 2015 · 6 comments
Closed

Copy pasting Fittings doesn't work #474

SpeedProg opened this issue Dec 12, 2015 · 6 comments
Labels
fixed This issue has been fixed! Oh joy!

Comments

@SpeedProg
Copy link
Contributor

with the current version 1.17.1 I can't copy&past fittings into it

@SpeedProg
Copy link
Contributor Author

okay, nvm I thought it was a problem with the version since it didn't work after reinstalling 1.17.1 but it worked after going back to 1.17.0
But now I went back to 1.17.1 from 1.17.0 and it works again.
No idea what happened but I am gonna close this.

@blitzmann
Copy link
Collaborator

Just for reference, which OS are you using? But glad it's working again =)

@SpeedProg
Copy link
Contributor Author

was windows 10, installed with the -win.exe version in a none C:\Program Files dir.

@blitzmann
Copy link
Collaborator

I'm going to reopen this as a friend has talk be that he is having problems as well, specifically with this fit (although I have been able to reproduce with other fits as well):

[Cormorant, Cormorant]
Tracking Enhancer II
Magnetic Field Stabilizer II

Tracking Computer II
Sensor Booster II
5MN Y-T8 Compact Microwarpdrive

150mm Railgun II
150mm Railgun II
150mm Railgun II
150mm Railgun II
[Empty High slot]
150mm Railgun II
150mm Railgun II
150mm Railgun II

Small Ancillary Current Router I
Small Hybrid Burst Aerator I
Small Ionic Field Projector I



Tracking Speed Script x1
Nanite Repair Paste x20
Scan Resolution Script x1

@blitzmann blitzmann reopened this Dec 12, 2015
@SpeedProg
Copy link
Contributor Author

Reappeared for me too
Fit I have problem with is this:

[Vindicator, HQ]
Damage Control II
Drone Damage Amplifier II
Drone Damage Amplifier II
Federation Navy Magnetic Field Stabilizer
Federation Navy Magnetic Field Stabilizer
Federation Navy Magnetic Field Stabilizer
Federation Navy Magnetic Field Stabilizer

Pithum C-Type Adaptive Invulnerability Field
True Sansha Stasis Webifier
Pithum C-Type Adaptive Invulnerability Field
Core C-Type 500MN Microwarpdrive
Federation Navy Stasis Webifier

Neutron Blaster Cannon II
Neutron Blaster Cannon II
Neutron Blaster Cannon II
Neutron Blaster Cannon II
Neutron Blaster Cannon II
Neutron Blaster Cannon II
Neutron Blaster Cannon II
Neutron Blaster Cannon II

Large Hybrid Burst Aerator II
[Empty Rig slot]
Large Anti-EM Screen Reinforcer I


Ogre II x5

Null L x10464
Void L x10792

@blitzmann
Copy link
Collaborator

here's the error:

Traceback (most recent call last):
  File "C:\Users\Ryan\Copy\Git\blitzmann\Pyfa\gui\mainFrame.py", line 667, in importFromClipboard
    fits = sFit.importFitFromBuffer(fromClipboard(), self.getActiveFit())
  File "C:\Users\Ryan\Copy\Git\blitzmann\Pyfa\service\fit.py", line 914, in importFitFromBuffer
    _, fits = Port.importAuto(bufferStr, activeFit=activeFit)
  File "C:\Users\Ryan\Copy\Git\blitzmann\Pyfa\service\port.py", line 122, in importAuto
    return "EFT", (cls.importEft(string),)
  File "C:\Users\Ryan\Copy\Git\blitzmann\Pyfa\service\port.py", line 273, in importEft
    if item.category.name == "Drone":
AttributeError: 'NoneType' object has no attribute 'category'

This happens with any kind of [Empty * Slot].

To fix another bug, I changed the way some items might be returned from the database if they do not exist. I did not think to check how it's handling in the import/export code.

For now I will revert part of the changes that caused this bug.

@blitzmann blitzmann added the fixed This issue has been fixed! Oh joy! label Jan 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed This issue has been fixed! Oh joy!
Projects
None yet
Development

No branches or pull requests

2 participants